]>
Commit | Line | Data |
---|---|---|
e274ef6b PD |
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 | ||
f18fa31c PD |
22 | config MAC_PARTITION |
23 | bool "Enable Apple's MacOS partition table" | |
24 | depends on PARTITIONS | |
f18fa31c PD |
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 | ||
b0cf7339 PD |
34 | config DOS_PARTITION |
35 | bool "Enable MS Dos partition table" | |
36 | depends on PARTITIONS | |
37 | default y if DISTRO_DEFAULTS | |
936478e7 | 38 | default y if x86 || CMD_FAT || USB_STORAGE |
b0cf7339 PD |
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 | ||
1acc0087 PD |
47 | config ISO_PARTITION |
48 | bool "Enable ISO partition table" | |
49 | depends on PARTITIONS | |
50 | default y if DISTRO_DEFAULTS | |
936478e7 | 51 | default y if MIPS || TEGRA |
1acc0087 PD |
52 | |
53 | config SPL_ISO_PARTITION | |
54 | bool "Enable ISO partition table for SPL" | |
55 | depends on SPL && PARTITIONS | |
56 | default y if ISO_PARTITION | |
57 | ||
863c5b6c PD |
58 | config AMIGA_PARTITION |
59 | bool "Enable AMIGA partition table" | |
60 | depends on PARTITIONS | |
61 | help | |
62 | Say Y here if you would like to use device under U-Boot which | |
63 | were partitioned under AmigaOS. | |
64 | ||
65 | config SPL_AMIGA_PARTITION | |
66 | bool "Enable AMIGA partition table for SPL" | |
67 | depends on SPL && PARTITIONS | |
68 | default y if AMIGA_PARTITION | |
69 | ||
bd42a942 PD |
70 | config EFI_PARTITION |
71 | bool "Enable EFI GPT partition table" | |
72 | depends on PARTITIONS | |
73 | default y if DISTRO_DEFAULTS | |
74 | default y if TEGRA | |
a451bc27 | 75 | select LIB_UUID |
bd42a942 PD |
76 | help |
77 | Say Y here if you would like to use device under U-Boot which | |
78 | were partitioned using EFI GPT. | |
79 | common when EFI is the bootloader. Note 2TB partition limit; | |
80 | see disk/part_efi.c | |
81 | ||
4ce52197 MR |
82 | config EFI_PARTITION_ENTRIES_NUMBERS |
83 | int "Number of the EFI partition entries" | |
84 | depends on EFI_PARTITION | |
5dc0256d | 85 | default 56 if ARCH_SUNXI |
4ce52197 MR |
86 | default 128 |
87 | help | |
88 | Specify the number of partition entries in the GPT. This is | |
89 | meant to allow less than the standard specifies for devices | |
90 | that might need to place their first-stage bootloader in the | |
91 | middle of a regular GPT. | |
92 | ||
93 | If unsure, leave at 128 entries, which is the standard | |
94 | number. | |
95 | ||
02e43537 PT |
96 | config EFI_PARTITION_ENTRIES_OFF |
97 | int "Offset (in bytes) of the EFI partition entries" | |
98 | depends on EFI_PARTITION | |
99 | default 0 | |
100 | help | |
101 | Specify an earliest location (in bytes) where the partition | |
102 | entries may be located. This is meant to allow "punching a | |
103 | hole into a device" to create a gap for an SPL, its payload | |
104 | and the U-Boot environment. | |
105 | ||
106 | If unsure, leave at 0 (which will locate the partition | |
107 | entries at the first possible LBA following the GPT header). | |
108 | ||
bd42a942 PD |
109 | config SPL_EFI_PARTITION |
110 | bool "Enable EFI GPT partition table for SPL" | |
111 | depends on SPL && PARTITIONS | |
112 | default y if EFI_PARTITION | |
113 | ||
b331cd62 PD |
114 | config PARTITION_UUIDS |
115 | bool "Enable support of UUID for partition" | |
116 | depends on PARTITIONS | |
117 | default y if DISTRO_DEFAULTS | |
118 | default y if EFI_PARTITION | |
a451bc27 | 119 | select LIB_UUID |
b331cd62 PD |
120 | help |
121 | Activate the configuration of UUID for partition | |
122 | ||
123 | config SPL_PARTITION_UUIDS | |
124 | bool "Enable support of UUID for partition in SPL" | |
125 | depends on SPL && PARTITIONS | |
126 | default y if SPL_EFI_PARTITION | |
127 | ||
aed8fdaa PD |
128 | config PARTITION_TYPE_GUID |
129 | bool "Enable support of GUID for partition type" | |
130 | depends on PARTITIONS | |
131 | depends on EFI_PARTITION | |
132 | help | |
133 | Activate the configuration of GUID type | |
134 | for EFI partition | |
135 | ||
e274ef6b | 136 | endmenu |