]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - disk/Kconfig
core: add ofnode_get_by_phandle() api
[people/ms/u-boot.git] / disk / Kconfig
index 16ff52da3eb484939bc32443b7b47e286647e764..f3050cfde1381f5a69ea3d61abcf0e50cb678f89 100644 (file)
@@ -22,7 +22,6 @@ config PARTITIONS
 config MAC_PARTITION
        bool "Enable Apple's MacOS partition table"
        depends on PARTITIONS
-       default y if SPARC
        help
          Say Y here if you would like to use device under U-Boot which
          were partitioned on a Macintosh.
@@ -36,7 +35,7 @@ config DOS_PARTITION
        bool "Enable MS Dos partition table"
        depends on PARTITIONS
        default y if DISTRO_DEFAULTS
-       default y if x86 || SPARC || CMD_FAT || USB_STORAGE
+       default y if x86 || CMD_FAT || USB_STORAGE
        help
          traditional on the Intel architecture, USB sticks, etc.
 
@@ -49,7 +48,7 @@ config ISO_PARTITION
        bool "Enable ISO partition table"
        depends on PARTITIONS
        default y if DISTRO_DEFAULTS
-       default y if SPARC || MIPS || TEGRA
+       default y if MIPS || TEGRA
 
 config SPL_ISO_PARTITION
        bool "Enable ISO partition table for SPL"
@@ -73,12 +72,40 @@ config EFI_PARTITION
        depends on PARTITIONS
        default y if DISTRO_DEFAULTS
        default y if TEGRA
+       select LIB_UUID
        help
          Say Y here if you would like to use device under U-Boot which
          were partitioned using EFI GPT.
          common when EFI is the bootloader.  Note 2TB partition limit;
          see disk/part_efi.c
 
+config EFI_PARTITION_ENTRIES_NUMBERS
+       int "Number of the EFI partition entries"
+       depends on EFI_PARTITION
+       default 56 if ARCH_SUNXI
+       default 128
+       help
+         Specify the number of partition entries in the GPT. This is
+         meant to allow less than the standard specifies for devices
+         that might need to place their first-stage bootloader in the
+         middle of a regular GPT.
+
+         If unsure, leave at 128 entries, which is the standard
+         number.
+
+config EFI_PARTITION_ENTRIES_OFF
+        int "Offset (in bytes) of the EFI partition entries"
+       depends on EFI_PARTITION
+       default 0
+       help
+         Specify an earliest location (in bytes) where the partition
+         entries may be located. This is meant to allow "punching a
+         hole into a device" to create a gap for an SPL, its payload
+         and the U-Boot environment.
+
+         If unsure, leave at 0 (which will locate the partition
+         entries at the first possible LBA following the GPT header).
+
 config SPL_EFI_PARTITION
        bool "Enable EFI GPT partition table for SPL"
        depends on  SPL && PARTITIONS
@@ -89,6 +116,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