summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Ziswiler <marcel.ziswiler@toradex.com>2013-05-01 18:02:46 +0200
committerMarcel Ziswiler <marcel.ziswiler@toradex.com>2013-05-01 18:02:46 +0200
commit9f8b30fcd1b9c36d180eb5a2fa208c0222154db5 (patch)
treec720db190ac31a7407fcbdc74acf2e732adb70cf
parentd77184121d068ba4b95358fb7fecdf71c3adefb8 (diff)
colibri_t20/30: efi: prepare for gpt offset integration
As the partition table parsing offset handling relies on the global data structure prepare the EFI GPT implementation for that.
-rw-r--r--disk/part_efi.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/disk/part_efi.c b/disk/part_efi.c
index 2d7a7b85d7..5ba443f41e 100644
--- a/disk/part_efi.c
+++ b/disk/part_efi.c
@@ -40,6 +40,8 @@
#define CACHE_LINE_SIZE __BIGGEST_ALIGNMENT__
#endif
+DECLARE_GLOBAL_DATA_PTR;
+
#if defined(CONFIG_CMD_IDE) || \
defined(CONFIG_CMD_MG_DISK) || \
defined(CONFIG_CMD_SATA) || \