diff options
author | Patrick Delaunay <patrick.delaunay73@gmail.com> | 2017-01-27 11:00:35 +0100 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-01-28 08:47:30 -0500 |
commit | e274ef6b577deacd8bb3b38a52f0083a5f601ae8 (patch) | |
tree | ab4a85ef620f3e05e48987b4025fde8648f79c9d | |
parent | cf4128e53caa4f7b0a6586fc3f10690d5c05db31 (diff) | |
download | u-boot-e274ef6b577deacd8bb3b38a52f0083a5f601ae8.tar.gz u-boot-e274ef6b577deacd8bb3b38a52f0083a5f601ae8.tar.bz2 u-boot-e274ef6b577deacd8bb3b38a52f0083a5f601ae8.zip |
disk: convert CONFIG_PARTITIONS to Kconfig
Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
Signed-off-by: Patrick Delaunay <patrick.delaunay73@gmail.com>
-rw-r--r-- | Kconfig | 2 | ||||
-rw-r--r-- | disk/Kconfig | 22 | ||||
-rw-r--r-- | include/config_defaults.h | 1 | ||||
-rw-r--r-- | scripts/config_whitelist.txt | 1 |
4 files changed, 24 insertions, 2 deletions
@@ -311,6 +311,8 @@ source "common/Kconfig" source "cmd/Kconfig" +source "disk/Kconfig" + source "dts/Kconfig" source "net/Kconfig" diff --git a/disk/Kconfig b/disk/Kconfig new file mode 100644 index 0000000000..966553c36b --- /dev/null +++ b/disk/Kconfig @@ -0,0 +1,22 @@ + +menu "Partition Types" + +config PARTITIONS + bool "Enable Partition Labels (disklabels) support" + default y + help + Partition Labels (disklabels) Supported: + Zero or more of the following: + - CONFIG_MAC_PARTITION Apple's MacOS partition table. + - CONFIG_DOS_PARTITION MS Dos partition table, traditional on the + Intel architecture, USB sticks, etc. + - CONFIG_ISO_PARTITION ISO partition table, used on CDROM etc. + - CONFIG_EFI_PARTITION GPT partition table, common when EFI is the + bootloader. Note 2TB partition limit; see + disk/part_efi.c + - CONFIG_MTD_PARTITIONS Memory Technology Device partition table. + If IDE or SCSI support is enabled (CONFIG_CMD_IDE or CONFIG_SCSI) + you must configure support for at least one non-MTD partition type + as well. + +endmenu diff --git a/include/config_defaults.h b/include/config_defaults.h index ad08c1d335..7ef928bbe1 100644 --- a/include/config_defaults.h +++ b/include/config_defaults.h @@ -18,6 +18,5 @@ #define CONFIG_GZIP 1 #define CONFIG_ZLIB 1 -#define CONFIG_PARTITIONS 1 #endif diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt index b32c260d32..8e6d74c9e2 100644 --- a/scripts/config_whitelist.txt +++ b/scripts/config_whitelist.txt @@ -2264,7 +2264,6 @@ CONFIG_PALMAS_SMPS7_FPWM CONFIG_PALMAS_USB_SS_PWR CONFIG_PANIC_HANG CONFIG_PARAVIRT -CONFIG_PARTITIONS CONFIG_PARTITION_TYPE_GUID CONFIG_PARTITION_UUIDS CONFIG_PATA_BFIN |