Patrick Delaunay | dc28060 | 2017-01-27 11:00:35 +0100 | [diff] [blame] | 1 | |
| 2 | menu "Partition Types" |
| 3 | |
| 4 | config PARTITIONS |
| 5 | bool "Enable Partition Labels (disklabels) support" |
| 6 | default y |
| 7 | help |
| 8 | Partition Labels (disklabels) Supported: |
| 9 | Zero or more of the following: |
| 10 | - CONFIG_MAC_PARTITION Apple's MacOS partition table. |
| 11 | - CONFIG_DOS_PARTITION MS Dos partition table, traditional on the |
| 12 | Intel architecture, USB sticks, etc. |
| 13 | - CONFIG_ISO_PARTITION ISO partition table, used on CDROM etc. |
| 14 | - CONFIG_EFI_PARTITION GPT partition table, common when EFI is the |
| 15 | bootloader. Note 2TB partition limit; see |
| 16 | disk/part_efi.c |
| 17 | - CONFIG_MTD_PARTITIONS Memory Technology Device partition table. |
| 18 | If IDE or SCSI support is enabled (CONFIG_CMD_IDE or CONFIG_SCSI) |
| 19 | you must configure support for at least one non-MTD partition type |
| 20 | as well. |
| 21 | |
Patrick Delaunay | c4bbbec | 2017-01-27 11:00:36 +0100 | [diff] [blame] | 22 | config MAC_PARTITION |
| 23 | bool "Enable Apple's MacOS partition table" |
| 24 | depends on PARTITIONS |
Patrick Delaunay | c4bbbec | 2017-01-27 11:00:36 +0100 | [diff] [blame] | 25 | help |
| 26 | Say Y here if you would like to use device under U-Boot which |
| 27 | were partitioned on a Macintosh. |
| 28 | |
| 29 | config SPL_MAC_PARTITION |
| 30 | bool "Enable Apple's MacOS partition table for SPL" |
| 31 | depends on SPL && PARTITIONS |
| 32 | default y if MAC_PARTITION |
| 33 | |
Patrick Delaunay | f7e0772 | 2017-01-27 11:00:37 +0100 | [diff] [blame] | 34 | config DOS_PARTITION |
| 35 | bool "Enable MS Dos partition table" |
| 36 | depends on PARTITIONS |
| 37 | default y if DISTRO_DEFAULTS |
Tom Rini | fef2bd1 | 2017-03-14 11:08:11 -0400 | [diff] [blame] | 38 | default y if x86 || CMD_FAT || USB_STORAGE |
Patrick Delaunay | f7e0772 | 2017-01-27 11:00:37 +0100 | [diff] [blame] | 39 | help |
| 40 | traditional on the Intel architecture, USB sticks, etc. |
| 41 | |
| 42 | config SPL_DOS_PARTITION |
| 43 | bool "Enable MS Dos partition table for SPL" |
| 44 | depends on SPL && PARTITIONS |
| 45 | default y if DOS_PARTITION |
| 46 | |
Patrick Delaunay | 21d3bce | 2017-01-27 11:00:38 +0100 | [diff] [blame] | 47 | config ISO_PARTITION |
| 48 | bool "Enable ISO partition table" |
| 49 | depends on PARTITIONS |
| 50 | default y if DISTRO_DEFAULTS |
Tom Rini | fef2bd1 | 2017-03-14 11:08:11 -0400 | [diff] [blame] | 51 | default y if MIPS || TEGRA |
Patrick Delaunay | 21d3bce | 2017-01-27 11:00:38 +0100 | [diff] [blame] | 52 | |
| 53 | config SPL_ISO_PARTITION |
| 54 | bool "Enable ISO partition table for SPL" |
| 55 | depends on SPL && PARTITIONS |
Patrick Delaunay | 21d3bce | 2017-01-27 11:00:38 +0100 | [diff] [blame] | 56 | |
Patrick Delaunay | 1aa32a8 | 2017-01-27 11:00:39 +0100 | [diff] [blame] | 57 | config AMIGA_PARTITION |
| 58 | bool "Enable AMIGA partition table" |
| 59 | depends on PARTITIONS |
| 60 | help |
| 61 | Say Y here if you would like to use device under U-Boot which |
| 62 | were partitioned under AmigaOS. |
| 63 | |
| 64 | config SPL_AMIGA_PARTITION |
| 65 | bool "Enable AMIGA partition table for SPL" |
| 66 | depends on SPL && PARTITIONS |
| 67 | default y if AMIGA_PARTITION |
| 68 | |
Patrick Delaunay | 8a4f2bd | 2017-01-27 11:00:41 +0100 | [diff] [blame] | 69 | config EFI_PARTITION |
| 70 | bool "Enable EFI GPT partition table" |
| 71 | depends on PARTITIONS |
| 72 | default y if DISTRO_DEFAULTS |
| 73 | default y if TEGRA |
Adam Ford | 70c8f05 | 2018-02-06 12:14:28 -0600 | [diff] [blame] | 74 | select LIB_UUID |
Patrick Delaunay | 8a4f2bd | 2017-01-27 11:00:41 +0100 | [diff] [blame] | 75 | help |
| 76 | Say Y here if you would like to use device under U-Boot which |
| 77 | were partitioned using EFI GPT. |
| 78 | common when EFI is the bootloader. Note 2TB partition limit; |
| 79 | see disk/part_efi.c |
| 80 | |
Maxime Ripard | 1421079 | 2017-11-14 20:50:04 +0100 | [diff] [blame] | 81 | config EFI_PARTITION_ENTRIES_NUMBERS |
| 82 | int "Number of the EFI partition entries" |
| 83 | depends on EFI_PARTITION |
Maxime Ripard | 03252d4 | 2017-11-14 21:07:51 +0100 | [diff] [blame] | 84 | default 56 if ARCH_SUNXI |
Maxime Ripard | 1421079 | 2017-11-14 20:50:04 +0100 | [diff] [blame] | 85 | default 128 |
| 86 | help |
| 87 | Specify the number of partition entries in the GPT. This is |
| 88 | meant to allow less than the standard specifies for devices |
| 89 | that might need to place their first-stage bootloader in the |
| 90 | middle of a regular GPT. |
| 91 | |
| 92 | If unsure, leave at 128 entries, which is the standard |
| 93 | number. |
| 94 | |
Philipp Tomsich | a3da0e9 | 2017-03-01 21:10:39 +0100 | [diff] [blame] | 95 | config EFI_PARTITION_ENTRIES_OFF |
| 96 | int "Offset (in bytes) of the EFI partition entries" |
| 97 | depends on EFI_PARTITION |
| 98 | default 0 |
| 99 | help |
| 100 | Specify an earliest location (in bytes) where the partition |
| 101 | entries may be located. This is meant to allow "punching a |
| 102 | hole into a device" to create a gap for an SPL, its payload |
| 103 | and the U-Boot environment. |
| 104 | |
| 105 | If unsure, leave at 0 (which will locate the partition |
| 106 | entries at the first possible LBA following the GPT header). |
| 107 | |
Patrick Delaunay | 8a4f2bd | 2017-01-27 11:00:41 +0100 | [diff] [blame] | 108 | config SPL_EFI_PARTITION |
| 109 | bool "Enable EFI GPT partition table for SPL" |
| 110 | depends on SPL && PARTITIONS |
| 111 | default y if EFI_PARTITION |
| 112 | |
Patrick Delaunay | 7328709 | 2017-01-27 11:00:42 +0100 | [diff] [blame] | 113 | config PARTITION_UUIDS |
| 114 | bool "Enable support of UUID for partition" |
| 115 | depends on PARTITIONS |
| 116 | default y if DISTRO_DEFAULTS |
| 117 | default y if EFI_PARTITION |
Adam Ford | 70c8f05 | 2018-02-06 12:14:28 -0600 | [diff] [blame] | 118 | select LIB_UUID |
Patrick Delaunay | 7328709 | 2017-01-27 11:00:42 +0100 | [diff] [blame] | 119 | help |
| 120 | Activate the configuration of UUID for partition |
| 121 | |
| 122 | config SPL_PARTITION_UUIDS |
| 123 | bool "Enable support of UUID for partition in SPL" |
| 124 | depends on SPL && PARTITIONS |
| 125 | default y if SPL_EFI_PARTITION |
| 126 | |
Patrick Delaunay | 9ea13db | 2017-01-27 11:00:43 +0100 | [diff] [blame] | 127 | config PARTITION_TYPE_GUID |
| 128 | bool "Enable support of GUID for partition type" |
| 129 | depends on PARTITIONS |
| 130 | depends on EFI_PARTITION |
| 131 | help |
| 132 | Activate the configuration of GUID type |
| 133 | for EFI partition |
| 134 | |
Patrick Delaunay | dc28060 | 2017-01-27 11:00:35 +0100 | [diff] [blame] | 135 | endmenu |