xref: /openbmc/u-boot/disk/Kconfig (revision b331cd62)
1e274ef6bSPatrick Delaunay
2e274ef6bSPatrick Delaunaymenu "Partition Types"
3e274ef6bSPatrick Delaunay
4e274ef6bSPatrick Delaunayconfig PARTITIONS
5e274ef6bSPatrick Delaunay	bool "Enable Partition Labels (disklabels) support"
6e274ef6bSPatrick Delaunay	default y
7e274ef6bSPatrick Delaunay	help
8e274ef6bSPatrick Delaunay	  Partition Labels (disklabels) Supported:
9e274ef6bSPatrick Delaunay	  Zero or more of the following:
10e274ef6bSPatrick Delaunay	  - CONFIG_MAC_PARTITION   Apple's MacOS partition table.
11e274ef6bSPatrick Delaunay	  - CONFIG_DOS_PARTITION   MS Dos partition table, traditional on the
12e274ef6bSPatrick Delaunay	                           Intel architecture, USB sticks, etc.
13e274ef6bSPatrick Delaunay	  - CONFIG_ISO_PARTITION   ISO partition table, used on CDROM etc.
14e274ef6bSPatrick Delaunay	  - CONFIG_EFI_PARTITION   GPT partition table, common when EFI is the
15e274ef6bSPatrick Delaunay	                           bootloader.  Note 2TB partition limit; see
16e274ef6bSPatrick Delaunay	                           disk/part_efi.c
17e274ef6bSPatrick Delaunay	  - CONFIG_MTD_PARTITIONS  Memory Technology Device partition table.
18e274ef6bSPatrick Delaunay	  If IDE or SCSI support is enabled (CONFIG_CMD_IDE or CONFIG_SCSI)
19e274ef6bSPatrick Delaunay	  you must configure support for at least one non-MTD partition type
20e274ef6bSPatrick Delaunay	  as well.
21e274ef6bSPatrick Delaunay
22f18fa31cSPatrick Delaunayconfig MAC_PARTITION
23f18fa31cSPatrick Delaunay	bool "Enable Apple's MacOS partition table"
24f18fa31cSPatrick Delaunay	depends on PARTITIONS
25f18fa31cSPatrick Delaunay	default y if SPARC
26f18fa31cSPatrick Delaunay	help
27f18fa31cSPatrick Delaunay	  Say Y here if you would like to use device under U-Boot which
28f18fa31cSPatrick Delaunay	  were partitioned on a Macintosh.
29f18fa31cSPatrick Delaunay
30f18fa31cSPatrick Delaunayconfig SPL_MAC_PARTITION
31f18fa31cSPatrick Delaunay	bool "Enable Apple's MacOS partition table for SPL"
32f18fa31cSPatrick Delaunay	depends on SPL && PARTITIONS
33f18fa31cSPatrick Delaunay	default y if MAC_PARTITION
34f18fa31cSPatrick Delaunay
35b0cf7339SPatrick Delaunayconfig DOS_PARTITION
36b0cf7339SPatrick Delaunay	bool "Enable MS Dos partition table"
37b0cf7339SPatrick Delaunay	depends on PARTITIONS
38b0cf7339SPatrick Delaunay	default y if DISTRO_DEFAULTS
39b0cf7339SPatrick Delaunay	default y if x86 || SPARC || CMD_FAT || USB_STORAGE
40b0cf7339SPatrick Delaunay	help
41b0cf7339SPatrick Delaunay	  traditional on the Intel architecture, USB sticks, etc.
42b0cf7339SPatrick Delaunay
43b0cf7339SPatrick Delaunayconfig SPL_DOS_PARTITION
44b0cf7339SPatrick Delaunay	bool "Enable MS Dos partition table for SPL"
45b0cf7339SPatrick Delaunay	depends on SPL && PARTITIONS
46b0cf7339SPatrick Delaunay	default y if DOS_PARTITION
47b0cf7339SPatrick Delaunay
481acc0087SPatrick Delaunayconfig ISO_PARTITION
491acc0087SPatrick Delaunay	bool "Enable ISO partition table"
501acc0087SPatrick Delaunay	depends on PARTITIONS
511acc0087SPatrick Delaunay	default y if DISTRO_DEFAULTS
521acc0087SPatrick Delaunay	default y if SPARC || MIPS || TEGRA
531acc0087SPatrick Delaunay
541acc0087SPatrick Delaunayconfig SPL_ISO_PARTITION
551acc0087SPatrick Delaunay	bool "Enable ISO partition table for SPL"
561acc0087SPatrick Delaunay	depends on SPL && PARTITIONS
571acc0087SPatrick Delaunay	default y if ISO_PARTITION
581acc0087SPatrick Delaunay
59863c5b6cSPatrick Delaunayconfig AMIGA_PARTITION
60863c5b6cSPatrick Delaunay	bool "Enable AMIGA partition table"
61863c5b6cSPatrick Delaunay	depends on PARTITIONS
62863c5b6cSPatrick Delaunay	help
63863c5b6cSPatrick Delaunay	  Say Y here if you would like to use device under U-Boot which
64863c5b6cSPatrick Delaunay	  were partitioned under AmigaOS.
65863c5b6cSPatrick Delaunay
66863c5b6cSPatrick Delaunayconfig SPL_AMIGA_PARTITION
67863c5b6cSPatrick Delaunay	bool "Enable AMIGA partition table for SPL"
68863c5b6cSPatrick Delaunay	depends on SPL && PARTITIONS
69863c5b6cSPatrick Delaunay	default y if AMIGA_PARTITION
70863c5b6cSPatrick Delaunay
71bd42a942SPatrick Delaunayconfig EFI_PARTITION
72bd42a942SPatrick Delaunay	bool "Enable EFI GPT partition table"
73bd42a942SPatrick Delaunay	depends on PARTITIONS
74bd42a942SPatrick Delaunay	default y if DISTRO_DEFAULTS
75bd42a942SPatrick Delaunay	default y if TEGRA
76bd42a942SPatrick Delaunay	help
77bd42a942SPatrick Delaunay	  Say Y here if you would like to use device under U-Boot which
78bd42a942SPatrick Delaunay	  were partitioned using EFI GPT.
79bd42a942SPatrick Delaunay	  common when EFI is the bootloader.  Note 2TB partition limit;
80bd42a942SPatrick Delaunay	  see disk/part_efi.c
81bd42a942SPatrick Delaunay
82bd42a942SPatrick Delaunayconfig SPL_EFI_PARTITION
83bd42a942SPatrick Delaunay	bool "Enable EFI GPT partition table for SPL"
84bd42a942SPatrick Delaunay	depends on  SPL && PARTITIONS
85bd42a942SPatrick Delaunay	default y if EFI_PARTITION
86bd42a942SPatrick Delaunay
87*b331cd62SPatrick Delaunayconfig PARTITION_UUIDS
88*b331cd62SPatrick Delaunay	bool "Enable support of UUID for partition"
89*b331cd62SPatrick Delaunay	depends on PARTITIONS
90*b331cd62SPatrick Delaunay	default y if DISTRO_DEFAULTS
91*b331cd62SPatrick Delaunay	default y if EFI_PARTITION
92*b331cd62SPatrick Delaunay	help
93*b331cd62SPatrick Delaunay	  Activate the configuration of UUID for partition
94*b331cd62SPatrick Delaunay
95*b331cd62SPatrick Delaunayconfig SPL_PARTITION_UUIDS
96*b331cd62SPatrick Delaunay	bool "Enable support of UUID for partition in SPL"
97*b331cd62SPatrick Delaunay	depends on SPL && PARTITIONS
98*b331cd62SPatrick Delaunay	default y if SPL_EFI_PARTITION
99*b331cd62SPatrick Delaunay
100e274ef6bSPatrick Delaunayendmenu
101