summaryrefslogtreecommitdiffstats
path: root/common/partitions/Kconfig
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2013-02-17 16:39:51 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2013-02-18 09:11:37 +0100
commit760689e5ccf10c51988da2dd9277d716b47dfb53 (patch)
tree02ee0d29479c6a9966169d83ba14ec5f2e767d57 /common/partitions/Kconfig
parent86b3577a725a34160ec5ea60555abb7e4b330ad7 (diff)
downloadbarebox-760689e5ccf10c51988da2dd9277d716b47dfb53.tar.gz
barebox-760689e5ccf10c51988da2dd9277d716b47dfb53.tar.xz
disk: partitions: add EFI GUID Partition Table
form linux 3.8 so you can have part by num or name not by GUID as this is a non human reading name `---- ffe08000.sata `---- 0x00000000-0x3fffffff: /dev/ata0 `---- 0x00100000-0x063fffff: /dev/ata0.0 `---- 0x00100000-0x063fffff: /dev/ata0.boot `---- 0x06400000-0x3fefffff: /dev/ata0.1 `---- 0x06400000-0x3fefffff: /dev/ata0.linux Cc: Rob Herring <rob.herring@calxeda.com> Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'common/partitions/Kconfig')
-rw-r--r--common/partitions/Kconfig19
1 files changed, 19 insertions, 0 deletions
diff --git a/common/partitions/Kconfig b/common/partitions/Kconfig
index 3f81c2f922..077091cde2 100644
--- a/common/partitions/Kconfig
+++ b/common/partitions/Kconfig
@@ -11,3 +11,22 @@ config PARTITION_DISK_DOS
bool "DOS partition support"
help
Add support to handle partitions in DOS style.
+
+config PARTITION_DISK_EFI
+ depends on PARTITION_DISK
+ select CRC32
+ bool "EFI: GPT partition support"
+ help
+ Add support to handle partitions in GUID Partition Table style.
+
+config PARTITION_DISK_EFI_GPT_NO_FORCE
+ depends on PARTITION_DISK_EFI
+ default y
+ bool "EFI: GPT: force test Protective MBR for validity"
+ help
+ This will be added to the EFI Spec. per Intel after v1.02
+
+config PARTITION_DISK_EFI_GPT_COMPARE
+ depends on PARTITION_DISK_EFI
+ default y
+ bool "EFI: GPT: compare primary and Alternate GPT header for validity"