Patrick Delaunay | dc28060 | 2017-01-27 11:00:35 +0100 | [diff] [blame] | 1 | |
| 2 | menu "Partition Types" |
| 3 | |
| 4 | config PARTITIONS |
AKASHI Takahiro | 3202556 | 2022-04-19 10:01:58 +0900 | [diff] [blame] | 5 | bool |
Patrick Delaunay | dc28060 | 2017-01-27 11:00:35 +0100 | [diff] [blame] | 6 | help |
| 7 | Partition Labels (disklabels) Supported: |
| 8 | Zero or more of the following: |
| 9 | - CONFIG_MAC_PARTITION Apple's MacOS partition table. |
| 10 | - CONFIG_DOS_PARTITION MS Dos partition table, traditional on the |
| 11 | Intel architecture, USB sticks, etc. |
| 12 | - CONFIG_ISO_PARTITION ISO partition table, used on CDROM etc. |
| 13 | - CONFIG_EFI_PARTITION GPT partition table, common when EFI is the |
| 14 | bootloader. Note 2TB partition limit; see |
| 15 | disk/part_efi.c |
| 16 | - CONFIG_MTD_PARTITIONS Memory Technology Device partition table. |
| 17 | If IDE or SCSI support is enabled (CONFIG_CMD_IDE or CONFIG_SCSI) |
| 18 | you must configure support for at least one non-MTD partition type |
| 19 | as well. |
| 20 | |
Simon Glass | d202cce | 2022-03-11 12:10:01 -0700 | [diff] [blame] | 21 | config SPL_PARTITIONS |
AKASHI Takahiro | 3202556 | 2022-04-19 10:01:58 +0900 | [diff] [blame] | 22 | bool |
Simon Glass | d202cce | 2022-03-11 12:10:01 -0700 | [diff] [blame] | 23 | select SPL_SPRINTF |
| 24 | select SPL_STRTO |
| 25 | help |
| 26 | Enable this for base partition support in SPL. The required |
Simon Glass | 537075b | 2022-08-11 19:34:40 -0600 | [diff] [blame] | 27 | partition table types shold be enabled separately. This adds a |
Simon Glass | d202cce | 2022-03-11 12:10:01 -0700 | [diff] [blame] | 28 | small amount of size to SPL, typically 500 bytes. |
| 29 | |
| 30 | config TPL_PARTITIONS |
AKASHI Takahiro | 3202556 | 2022-04-19 10:01:58 +0900 | [diff] [blame] | 31 | bool |
Simon Glass | d202cce | 2022-03-11 12:10:01 -0700 | [diff] [blame] | 32 | select TPL_SPRINTF |
| 33 | select TPL_STRTO |
| 34 | help |
Simon Glass | 537075b | 2022-08-11 19:34:40 -0600 | [diff] [blame] | 35 | Enable this for base partition support in TPL. The required |
| 36 | partition table types shold be enabled separately. This adds a |
| 37 | small amount of size to TPL, typically 500 bytes. |
Simon Glass | d202cce | 2022-03-11 12:10:01 -0700 | [diff] [blame] | 38 | |
Patrick Delaunay | c4bbbec | 2017-01-27 11:00:36 +0100 | [diff] [blame] | 39 | config MAC_PARTITION |
| 40 | bool "Enable Apple's MacOS partition table" |
AKASHI Takahiro | 3202556 | 2022-04-19 10:01:58 +0900 | [diff] [blame] | 41 | select PARTITIONS |
Patrick Delaunay | c4bbbec | 2017-01-27 11:00:36 +0100 | [diff] [blame] | 42 | help |
| 43 | Say Y here if you would like to use device under U-Boot which |
| 44 | were partitioned on a Macintosh. |
| 45 | |
| 46 | config SPL_MAC_PARTITION |
| 47 | bool "Enable Apple's MacOS partition table for SPL" |
AKASHI Takahiro | 3202556 | 2022-04-19 10:01:58 +0900 | [diff] [blame] | 48 | depends on SPL |
Patrick Delaunay | c4bbbec | 2017-01-27 11:00:36 +0100 | [diff] [blame] | 49 | default y if MAC_PARTITION |
AKASHI Takahiro | 3202556 | 2022-04-19 10:01:58 +0900 | [diff] [blame] | 50 | select SPL_PARTITIONS |
Patrick Delaunay | c4bbbec | 2017-01-27 11:00:36 +0100 | [diff] [blame] | 51 | |
Patrick Delaunay | f7e0772 | 2017-01-27 11:00:37 +0100 | [diff] [blame] | 52 | config DOS_PARTITION |
| 53 | bool "Enable MS Dos partition table" |
Jonas Karlman | 0d53f32 | 2023-07-11 22:37:30 +0000 | [diff] [blame^] | 54 | default y if BOOT_DEFAULTS |
Tom Rini | fef2bd1 | 2017-03-14 11:08:11 -0400 | [diff] [blame] | 55 | default y if x86 || CMD_FAT || USB_STORAGE |
AKASHI Takahiro | 3202556 | 2022-04-19 10:01:58 +0900 | [diff] [blame] | 56 | select PARTITIONS |
Patrick Delaunay | f7e0772 | 2017-01-27 11:00:37 +0100 | [diff] [blame] | 57 | help |
| 58 | traditional on the Intel architecture, USB sticks, etc. |
| 59 | |
| 60 | config SPL_DOS_PARTITION |
| 61 | bool "Enable MS Dos partition table for SPL" |
AKASHI Takahiro | 3202556 | 2022-04-19 10:01:58 +0900 | [diff] [blame] | 62 | depends on SPL |
Pali Rohár | 3c5ce03 | 2022-05-24 10:58:42 +0200 | [diff] [blame] | 63 | default n if ARCH_MVEBU |
Andre Przywara | 3130df5 | 2020-02-20 17:51:14 +0000 | [diff] [blame] | 64 | default n if ARCH_SUNXI |
Patrick Delaunay | f7e0772 | 2017-01-27 11:00:37 +0100 | [diff] [blame] | 65 | default y if DOS_PARTITION |
AKASHI Takahiro | 3202556 | 2022-04-19 10:01:58 +0900 | [diff] [blame] | 66 | select SPL_PARTITIONS |
Patrick Delaunay | f7e0772 | 2017-01-27 11:00:37 +0100 | [diff] [blame] | 67 | |
Patrick Delaunay | 21d3bce | 2017-01-27 11:00:38 +0100 | [diff] [blame] | 68 | config ISO_PARTITION |
| 69 | bool "Enable ISO partition table" |
Jonas Karlman | 0d53f32 | 2023-07-11 22:37:30 +0000 | [diff] [blame^] | 70 | default y if BOOT_DEFAULTS |
Trevor Woerner | 513f640 | 2020-05-06 08:02:41 -0400 | [diff] [blame] | 71 | default y if MIPS || ARCH_TEGRA |
AKASHI Takahiro | 3202556 | 2022-04-19 10:01:58 +0900 | [diff] [blame] | 72 | select PARTITIONS |
Patrick Delaunay | 21d3bce | 2017-01-27 11:00:38 +0100 | [diff] [blame] | 73 | |
| 74 | config SPL_ISO_PARTITION |
| 75 | bool "Enable ISO partition table for SPL" |
AKASHI Takahiro | 3202556 | 2022-04-19 10:01:58 +0900 | [diff] [blame] | 76 | depends on SPL |
| 77 | select SPL_PARTITIONS |
Patrick Delaunay | 21d3bce | 2017-01-27 11:00:38 +0100 | [diff] [blame] | 78 | |
Patrick Delaunay | 1aa32a8 | 2017-01-27 11:00:39 +0100 | [diff] [blame] | 79 | config AMIGA_PARTITION |
| 80 | bool "Enable AMIGA partition table" |
AKASHI Takahiro | 3202556 | 2022-04-19 10:01:58 +0900 | [diff] [blame] | 81 | select PARTITIONS |
Patrick Delaunay | 1aa32a8 | 2017-01-27 11:00:39 +0100 | [diff] [blame] | 82 | help |
| 83 | Say Y here if you would like to use device under U-Boot which |
| 84 | were partitioned under AmigaOS. |
| 85 | |
| 86 | config SPL_AMIGA_PARTITION |
| 87 | bool "Enable AMIGA partition table for SPL" |
AKASHI Takahiro | 3202556 | 2022-04-19 10:01:58 +0900 | [diff] [blame] | 88 | depends on SPL |
Patrick Delaunay | 1aa32a8 | 2017-01-27 11:00:39 +0100 | [diff] [blame] | 89 | default y if AMIGA_PARTITION |
AKASHI Takahiro | 3202556 | 2022-04-19 10:01:58 +0900 | [diff] [blame] | 90 | select SPL_PARTITIONS |
Patrick Delaunay | 1aa32a8 | 2017-01-27 11:00:39 +0100 | [diff] [blame] | 91 | |
Patrick Delaunay | 8a4f2bd | 2017-01-27 11:00:41 +0100 | [diff] [blame] | 92 | config EFI_PARTITION |
| 93 | bool "Enable EFI GPT partition table" |
Jonas Karlman | 0d53f32 | 2023-07-11 22:37:30 +0000 | [diff] [blame^] | 94 | default y if BOOT_DEFAULTS |
Trevor Woerner | 513f640 | 2020-05-06 08:02:41 -0400 | [diff] [blame] | 95 | default y if ARCH_TEGRA |
AKASHI Takahiro | 3202556 | 2022-04-19 10:01:58 +0900 | [diff] [blame] | 96 | select PARTITIONS |
Adam Ford | 70c8f05 | 2018-02-06 12:14:28 -0600 | [diff] [blame] | 97 | select LIB_UUID |
Patrick Delaunay | 8a4f2bd | 2017-01-27 11:00:41 +0100 | [diff] [blame] | 98 | help |
| 99 | Say Y here if you would like to use device under U-Boot which |
| 100 | were partitioned using EFI GPT. |
| 101 | common when EFI is the bootloader. Note 2TB partition limit; |
| 102 | see disk/part_efi.c |
| 103 | |
Maxime Ripard | 1421079 | 2017-11-14 20:50:04 +0100 | [diff] [blame] | 104 | config EFI_PARTITION_ENTRIES_NUMBERS |
| 105 | int "Number of the EFI partition entries" |
| 106 | depends on EFI_PARTITION |
Maxime Ripard | 03252d4 | 2017-11-14 21:07:51 +0100 | [diff] [blame] | 107 | default 56 if ARCH_SUNXI |
Maxime Ripard | 1421079 | 2017-11-14 20:50:04 +0100 | [diff] [blame] | 108 | default 128 |
| 109 | help |
| 110 | Specify the number of partition entries in the GPT. This is |
| 111 | meant to allow less than the standard specifies for devices |
| 112 | that might need to place their first-stage bootloader in the |
| 113 | middle of a regular GPT. |
| 114 | |
| 115 | If unsure, leave at 128 entries, which is the standard |
| 116 | number. |
| 117 | |
Philipp Tomsich | a3da0e9 | 2017-03-01 21:10:39 +0100 | [diff] [blame] | 118 | config EFI_PARTITION_ENTRIES_OFF |
| 119 | int "Offset (in bytes) of the EFI partition entries" |
| 120 | depends on EFI_PARTITION |
| 121 | default 0 |
| 122 | help |
| 123 | Specify an earliest location (in bytes) where the partition |
| 124 | entries may be located. This is meant to allow "punching a |
| 125 | hole into a device" to create a gap for an SPL, its payload |
| 126 | and the U-Boot environment. |
| 127 | |
| 128 | If unsure, leave at 0 (which will locate the partition |
| 129 | entries at the first possible LBA following the GPT header). |
| 130 | |
Patrick Delaunay | 8a4f2bd | 2017-01-27 11:00:41 +0100 | [diff] [blame] | 131 | config SPL_EFI_PARTITION |
| 132 | bool "Enable EFI GPT partition table for SPL" |
AKASHI Takahiro | 3202556 | 2022-04-19 10:01:58 +0900 | [diff] [blame] | 133 | depends on SPL |
Pali Rohár | 3c5ce03 | 2022-05-24 10:58:42 +0200 | [diff] [blame] | 134 | default n if ARCH_MVEBU |
Andre Przywara | 3130df5 | 2020-02-20 17:51:14 +0000 | [diff] [blame] | 135 | default n if ARCH_SUNXI |
Patrick Delaunay | 8a4f2bd | 2017-01-27 11:00:41 +0100 | [diff] [blame] | 136 | default y if EFI_PARTITION |
AKASHI Takahiro | 3202556 | 2022-04-19 10:01:58 +0900 | [diff] [blame] | 137 | select SPL_PARTITIONS |
Patrick Delaunay | 8a4f2bd | 2017-01-27 11:00:41 +0100 | [diff] [blame] | 138 | |
Patrick Delaunay | 7328709 | 2017-01-27 11:00:42 +0100 | [diff] [blame] | 139 | config PARTITION_UUIDS |
| 140 | bool "Enable support of UUID for partition" |
| 141 | depends on PARTITIONS |
Jonas Karlman | 0d53f32 | 2023-07-11 22:37:30 +0000 | [diff] [blame^] | 142 | default y if BOOT_DEFAULTS |
Patrick Delaunay | 7328709 | 2017-01-27 11:00:42 +0100 | [diff] [blame] | 143 | default y if EFI_PARTITION |
Adam Ford | 70c8f05 | 2018-02-06 12:14:28 -0600 | [diff] [blame] | 144 | select LIB_UUID |
Patrick Delaunay | 7328709 | 2017-01-27 11:00:42 +0100 | [diff] [blame] | 145 | help |
| 146 | Activate the configuration of UUID for partition |
| 147 | |
| 148 | config SPL_PARTITION_UUIDS |
| 149 | bool "Enable support of UUID for partition in SPL" |
AKASHI Takahiro | 3202556 | 2022-04-19 10:01:58 +0900 | [diff] [blame] | 150 | depends on SPL_PARTITIONS |
Patrick Delaunay | 7328709 | 2017-01-27 11:00:42 +0100 | [diff] [blame] | 151 | default y if SPL_EFI_PARTITION |
Simon Glass | 8090d8d | 2023-02-22 09:34:11 -0700 | [diff] [blame] | 152 | select SPL_LIB_UUID |
Patrick Delaunay | 7328709 | 2017-01-27 11:00:42 +0100 | [diff] [blame] | 153 | |
Patrick Delaunay | 9ea13db | 2017-01-27 11:00:43 +0100 | [diff] [blame] | 154 | config PARTITION_TYPE_GUID |
| 155 | bool "Enable support of GUID for partition type" |
Patrick Delaunay | 9ea13db | 2017-01-27 11:00:43 +0100 | [diff] [blame] | 156 | depends on EFI_PARTITION |
| 157 | help |
| 158 | Activate the configuration of GUID type |
| 159 | for EFI partition |
| 160 | |
Simon Glass | 8090d8d | 2023-02-22 09:34:11 -0700 | [diff] [blame] | 161 | config SPL_PARTITION_TYPE_GUID |
| 162 | bool "Enable support of GUID for partition type (SPL)" |
| 163 | depends on SPL_EFI_PARTITION |
| 164 | help |
| 165 | Activate the configuration of GUID type |
| 166 | for EFI partition |
| 167 | |
Patrick Delaunay | dc28060 | 2017-01-27 11:00:35 +0100 | [diff] [blame] | 168 | endmenu |