efi_loader: type of efi_secure_mode
[oweals/u-boot.git] / disk / Kconfig
index 0446bb63ca7ee35bcb4cd3d698bfc10b35bddcbe..cee16a80bc2c3db6a4524659b16062b7f8b06ce1 100644 (file)
@@ -4,6 +4,10 @@ menu "Partition Types"
 config PARTITIONS
        bool "Enable Partition Labels (disklabels) support"
        default y
+       select SPL_SPRINTF if SPL
+       select TPL_SPRINTF if TPL
+       select SPL_STRTO if SPL
+       select TPL_STRTO if TPL
        help
          Partition Labels (disklabels) Supported:
          Zero or more of the following:
@@ -42,18 +46,18 @@ config DOS_PARTITION
 config SPL_DOS_PARTITION
        bool "Enable MS Dos partition table for SPL"
        depends on SPL && PARTITIONS
+       default n if ARCH_SUNXI
        default y if DOS_PARTITION
 
 config ISO_PARTITION
        bool "Enable ISO partition table"
        depends on PARTITIONS
        default y if DISTRO_DEFAULTS
-       default y if MIPS || TEGRA
+       default y if MIPS || ARCH_TEGRA
 
 config SPL_ISO_PARTITION
        bool "Enable ISO partition table for SPL"
        depends on SPL && PARTITIONS
-       default y if ISO_PARTITION
 
 config AMIGA_PARTITION
        bool "Enable AMIGA partition table"
@@ -71,7 +75,8 @@ config EFI_PARTITION
        bool "Enable EFI GPT partition table"
        depends on PARTITIONS
        default y if DISTRO_DEFAULTS
-       default y if TEGRA
+       default y if ARCH_TEGRA
+       select LIB_UUID
        help
          Say Y here if you would like to use device under U-Boot which
          were partitioned using EFI GPT.
@@ -108,6 +113,7 @@ config EFI_PARTITION_ENTRIES_OFF
 config SPL_EFI_PARTITION
        bool "Enable EFI GPT partition table for SPL"
        depends on  SPL && PARTITIONS
+       default n if ARCH_SUNXI
        default y if EFI_PARTITION
 
 config PARTITION_UUIDS
@@ -115,6 +121,7 @@ config PARTITION_UUIDS
        depends on PARTITIONS
        default y if DISTRO_DEFAULTS
        default y if EFI_PARTITION
+       select LIB_UUID
        help
          Activate the configuration of UUID for partition