blob: 93965621206574056260c1f56870619372648ba9 [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
Patrick Delaunayc4bbbec2017-01-27 11:00:36 +010025 help
26 Say Y here if you would like to use device under U-Boot which
27 were partitioned on a Macintosh.
28
29config 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 Delaunayf7e07722017-01-27 11:00:37 +010034config DOS_PARTITION
35 bool "Enable MS Dos partition table"
36 depends on PARTITIONS
37 default y if DISTRO_DEFAULTS
Tom Rinifef2bd12017-03-14 11:08:11 -040038 default y if x86 || CMD_FAT || USB_STORAGE
Patrick Delaunayf7e07722017-01-27 11:00:37 +010039 help
40 traditional on the Intel architecture, USB sticks, etc.
41
42config 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 Delaunay21d3bce2017-01-27 11:00:38 +010047config ISO_PARTITION
48 bool "Enable ISO partition table"
49 depends on PARTITIONS
50 default y if DISTRO_DEFAULTS
Tom Rinifef2bd12017-03-14 11:08:11 -040051 default y if MIPS || TEGRA
Patrick Delaunay21d3bce2017-01-27 11:00:38 +010052
53config SPL_ISO_PARTITION
54 bool "Enable ISO partition table for SPL"
55 depends on SPL && PARTITIONS
56 default y if ISO_PARTITION
57
Patrick Delaunay1aa32a82017-01-27 11:00:39 +010058config 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
65config SPL_AMIGA_PARTITION
66 bool "Enable AMIGA partition table for SPL"
67 depends on SPL && PARTITIONS
68 default y if AMIGA_PARTITION
69
Patrick Delaunay8a4f2bd2017-01-27 11:00:41 +010070config EFI_PARTITION
71 bool "Enable EFI GPT partition table"
72 depends on PARTITIONS
73 default y if DISTRO_DEFAULTS
74 default y if TEGRA
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
Philipp Tomsicha3da0e92017-03-01 21:10:39 +010081config EFI_PARTITION_ENTRIES_OFF
82 int "Offset (in bytes) of the EFI partition entries"
83 depends on EFI_PARTITION
84 default 0
85 help
86 Specify an earliest location (in bytes) where the partition
87 entries may be located. This is meant to allow "punching a
88 hole into a device" to create a gap for an SPL, its payload
89 and the U-Boot environment.
90
91 If unsure, leave at 0 (which will locate the partition
92 entries at the first possible LBA following the GPT header).
93
Patrick Delaunay8a4f2bd2017-01-27 11:00:41 +010094config SPL_EFI_PARTITION
95 bool "Enable EFI GPT partition table for SPL"
96 depends on SPL && PARTITIONS
97 default y if EFI_PARTITION
98
Patrick Delaunay73287092017-01-27 11:00:42 +010099config PARTITION_UUIDS
100 bool "Enable support of UUID for partition"
101 depends on PARTITIONS
102 default y if DISTRO_DEFAULTS
103 default y if EFI_PARTITION
104 help
105 Activate the configuration of UUID for partition
106
107config SPL_PARTITION_UUIDS
108 bool "Enable support of UUID for partition in SPL"
109 depends on SPL && PARTITIONS
110 default y if SPL_EFI_PARTITION
111
Patrick Delaunay9ea13db2017-01-27 11:00:43 +0100112config PARTITION_TYPE_GUID
113 bool "Enable support of GUID for partition type"
114 depends on PARTITIONS
115 depends on EFI_PARTITION
116 help
117 Activate the configuration of GUID type
118 for EFI partition
119
Patrick Delaunaydc280602017-01-27 11:00:35 +0100120endmenu