xref: /openbmc/u-boot/disk/Kconfig (revision b0cf7339)
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
35*b0cf7339SPatrick Delaunayconfig DOS_PARTITION
36*b0cf7339SPatrick Delaunay	bool "Enable MS Dos partition table"
37*b0cf7339SPatrick Delaunay	depends on PARTITIONS
38*b0cf7339SPatrick Delaunay	default y if DISTRO_DEFAULTS
39*b0cf7339SPatrick Delaunay	default y if x86 || SPARC || CMD_FAT || USB_STORAGE
40*b0cf7339SPatrick Delaunay	help
41*b0cf7339SPatrick Delaunay	  traditional on the Intel architecture, USB sticks, etc.
42*b0cf7339SPatrick Delaunay
43*b0cf7339SPatrick Delaunayconfig SPL_DOS_PARTITION
44*b0cf7339SPatrick Delaunay	bool "Enable MS Dos partition table for SPL"
45*b0cf7339SPatrick Delaunay	depends on SPL && PARTITIONS
46*b0cf7339SPatrick Delaunay	default y if DOS_PARTITION
47*b0cf7339SPatrick Delaunay
48e274ef6bSPatrick Delaunayendmenu
49