summaryrefslogtreecommitdiff
path: root/disk/part_efi.h
diff options
context:
space:
mode:
authorMarcel Ziswiler <marcel.ziswiler@toradex.com>2012-08-22 16:16:26 +0200
committerMarcel Ziswiler <marcel.ziswiler@toradex.com>2012-08-22 16:16:26 +0200
commit2a1325206da5381292c2b268e248702c523cc927 (patch)
tree45d684a865eab51b0711d07782b1d8e8ae9d9932 /disk/part_efi.h
parent2f2f858faddd3cce54f7c64bc8fc8b596c1ddfaf (diff)
Initial Toradex Colibri T20 L4T R15 support.T20_LinuxImageV2.0Alpha1_20120808
Diffstat (limited to 'disk/part_efi.h')
-rw-r--r--disk/part_efi.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/disk/part_efi.h b/disk/part_efi.h
index 6bbb06bde9..adf4e55f3b 100644
--- a/disk/part_efi.h
+++ b/disk/part_efi.h
@@ -39,7 +39,11 @@
#define GPT_BLOCK_SIZE 512
#define GPT_HEADER_SIGNATURE 0x5452415020494645ULL
#define GPT_HEADER_REVISION_V1 0x00010000
+#ifndef GPT_PRIMARY_PARTITION_TABLE_LBA
+/* might be defined in colibri_t20.h when the device uses the nvidia partitioning
+ * and the GPT doesn't start at its default sector */
#define GPT_PRIMARY_PARTITION_TABLE_LBA 1ULL
+#endif
#define GPT_ENTRY_NAME "gpt"
#define EFI_GUID(a,b,c,d0,d1,d2,d3,d4,d5,d6,d7) \