blob: 8e328b47ef146da28955865077b366105add9532 [file] [log] [blame]
Patrick Delaunaydc280602017-01-27 11:00:35 +01001
2menu "Partition Types"
3
4config 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 Delaunayc4bbbec2017-01-27 11:00:36 +010022config MAC_PARTITION
23 bool "Enable Apple's MacOS partition table"
24 depends on PARTITIONS
25 default y if SPARC
26 help
27 Say Y here if you would like to use device under U-Boot which
28 were partitioned on a Macintosh.
29
30config SPL_MAC_PARTITION
31 bool "Enable Apple's MacOS partition table for SPL"
32 depends on SPL && PARTITIONS
33 default y if MAC_PARTITION
34
Patrick Delaunayf7e07722017-01-27 11:00:37 +010035config DOS_PARTITION
36 bool "Enable MS Dos partition table"
37 depends on PARTITIONS
38 default y if DISTRO_DEFAULTS
39 default y if x86 || SPARC || CMD_FAT || USB_STORAGE
40 help
41 traditional on the Intel architecture, USB sticks, etc.
42
43config SPL_DOS_PARTITION
44 bool "Enable MS Dos partition table for SPL"
45 depends on SPL && PARTITIONS
46 default y if DOS_PARTITION
47
Patrick Delaunay21d3bce2017-01-27 11:00:38 +010048config ISO_PARTITION
49 bool "Enable ISO partition table"
50 depends on PARTITIONS
51 default y if DISTRO_DEFAULTS
52 default y if SPARC || MIPS || TEGRA
53
54config SPL_ISO_PARTITION
55 bool "Enable ISO partition table for SPL"
56 depends on SPL && PARTITIONS
57 default y if ISO_PARTITION
58
Patrick Delaunay1aa32a82017-01-27 11:00:39 +010059config AMIGA_PARTITION
60 bool "Enable AMIGA partition table"
61 depends on PARTITIONS
62 help
63 Say Y here if you would like to use device under U-Boot which
64 were partitioned under AmigaOS.
65
66config SPL_AMIGA_PARTITION
67 bool "Enable AMIGA partition table for SPL"
68 depends on SPL && PARTITIONS
69 default y if AMIGA_PARTITION
70
Patrick Delaunay8a4f2bd2017-01-27 11:00:41 +010071config EFI_PARTITION
72 bool "Enable EFI GPT partition table"
73 depends on PARTITIONS
74 default y if DISTRO_DEFAULTS
75 default y if TEGRA
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
Philipp Tomsicha3da0e92017-03-01 21:10:39 +010082config EFI_PARTITION_ENTRIES_OFF
83 int "Offset (in bytes) of the EFI partition entries"
84 depends on EFI_PARTITION
85 default 0
86 help
87 Specify an earliest location (in bytes) where the partition
88 entries may be located. This is meant to allow "punching a
89 hole into a device" to create a gap for an SPL, its payload
90 and the U-Boot environment.
91
92 If unsure, leave at 0 (which will locate the partition
93 entries at the first possible LBA following the GPT header).
94
Patrick Delaunay8a4f2bd2017-01-27 11:00:41 +010095config SPL_EFI_PARTITION
96 bool "Enable EFI GPT partition table for SPL"
97 depends on SPL && PARTITIONS
98 default y if EFI_PARTITION
99
Patrick Delaunay73287092017-01-27 11:00:42 +0100100config PARTITION_UUIDS
101 bool "Enable support of UUID for partition"
102 depends on PARTITIONS
103 default y if DISTRO_DEFAULTS
104 default y if EFI_PARTITION
105 help
106 Activate the configuration of UUID for partition
107
108config SPL_PARTITION_UUIDS
109 bool "Enable support of UUID for partition in SPL"
110 depends on SPL && PARTITIONS
111 default y if SPL_EFI_PARTITION
112
Patrick Delaunay9ea13db2017-01-27 11:00:43 +0100113config PARTITION_TYPE_GUID
114 bool "Enable support of GUID for partition type"
115 depends on PARTITIONS
116 depends on EFI_PARTITION
117 help
118 Activate the configuration of GUID type
119 for EFI partition
120
Patrick Delaunaydc280602017-01-27 11:00:35 +0100121endmenu