1e274ef6bSPatrick Delaunay 2e274ef6bSPatrick Delaunaymenu "Partition Types" 3e274ef6bSPatrick Delaunay 4e274ef6bSPatrick Delaunayconfig PARTITIONS 5e274ef6bSPatrick Delaunay bool "Enable Partition Labels (disklabels) support" 6e274ef6bSPatrick Delaunay default y 7*ab9e12f6SAlex Kiernan select SPL_SPRINTF if SPL 8*ab9e12f6SAlex Kiernan select TPL_SPRINTF if TPL 9*ab9e12f6SAlex Kiernan select SPL_STRTO if SPL 10*ab9e12f6SAlex Kiernan select TPL_STRTO if TPL 11e274ef6bSPatrick Delaunay help 12e274ef6bSPatrick Delaunay Partition Labels (disklabels) Supported: 13e274ef6bSPatrick Delaunay Zero or more of the following: 14e274ef6bSPatrick Delaunay - CONFIG_MAC_PARTITION Apple's MacOS partition table. 15e274ef6bSPatrick Delaunay - CONFIG_DOS_PARTITION MS Dos partition table, traditional on the 16e274ef6bSPatrick Delaunay Intel architecture, USB sticks, etc. 17e274ef6bSPatrick Delaunay - CONFIG_ISO_PARTITION ISO partition table, used on CDROM etc. 18e274ef6bSPatrick Delaunay - CONFIG_EFI_PARTITION GPT partition table, common when EFI is the 19e274ef6bSPatrick Delaunay bootloader. Note 2TB partition limit; see 20e274ef6bSPatrick Delaunay disk/part_efi.c 21e274ef6bSPatrick Delaunay - CONFIG_MTD_PARTITIONS Memory Technology Device partition table. 22e274ef6bSPatrick Delaunay If IDE or SCSI support is enabled (CONFIG_CMD_IDE or CONFIG_SCSI) 23e274ef6bSPatrick Delaunay you must configure support for at least one non-MTD partition type 24e274ef6bSPatrick Delaunay as well. 25e274ef6bSPatrick Delaunay 26f18fa31cSPatrick Delaunayconfig MAC_PARTITION 27f18fa31cSPatrick Delaunay bool "Enable Apple's MacOS partition table" 28f18fa31cSPatrick Delaunay depends on PARTITIONS 29f18fa31cSPatrick Delaunay help 30f18fa31cSPatrick Delaunay Say Y here if you would like to use device under U-Boot which 31f18fa31cSPatrick Delaunay were partitioned on a Macintosh. 32f18fa31cSPatrick Delaunay 33f18fa31cSPatrick Delaunayconfig SPL_MAC_PARTITION 34f18fa31cSPatrick Delaunay bool "Enable Apple's MacOS partition table for SPL" 35f18fa31cSPatrick Delaunay depends on SPL && PARTITIONS 36f18fa31cSPatrick Delaunay default y if MAC_PARTITION 37f18fa31cSPatrick Delaunay 38b0cf7339SPatrick Delaunayconfig DOS_PARTITION 39b0cf7339SPatrick Delaunay bool "Enable MS Dos partition table" 40b0cf7339SPatrick Delaunay depends on PARTITIONS 41b0cf7339SPatrick Delaunay default y if DISTRO_DEFAULTS 42936478e7STom Rini default y if x86 || CMD_FAT || USB_STORAGE 43b0cf7339SPatrick Delaunay help 44b0cf7339SPatrick Delaunay traditional on the Intel architecture, USB sticks, etc. 45b0cf7339SPatrick Delaunay 46b0cf7339SPatrick Delaunayconfig SPL_DOS_PARTITION 47b0cf7339SPatrick Delaunay bool "Enable MS Dos partition table for SPL" 48b0cf7339SPatrick Delaunay depends on SPL && PARTITIONS 49b0cf7339SPatrick Delaunay default y if DOS_PARTITION 50b0cf7339SPatrick Delaunay 511acc0087SPatrick Delaunayconfig ISO_PARTITION 521acc0087SPatrick Delaunay bool "Enable ISO partition table" 531acc0087SPatrick Delaunay depends on PARTITIONS 541acc0087SPatrick Delaunay default y if DISTRO_DEFAULTS 55936478e7STom Rini default y if MIPS || TEGRA 561acc0087SPatrick Delaunay 571acc0087SPatrick Delaunayconfig SPL_ISO_PARTITION 581acc0087SPatrick Delaunay bool "Enable ISO partition table for SPL" 591acc0087SPatrick Delaunay depends on SPL && PARTITIONS 601acc0087SPatrick Delaunay 61863c5b6cSPatrick Delaunayconfig AMIGA_PARTITION 62863c5b6cSPatrick Delaunay bool "Enable AMIGA partition table" 63863c5b6cSPatrick Delaunay depends on PARTITIONS 64863c5b6cSPatrick Delaunay help 65863c5b6cSPatrick Delaunay Say Y here if you would like to use device under U-Boot which 66863c5b6cSPatrick Delaunay were partitioned under AmigaOS. 67863c5b6cSPatrick Delaunay 68863c5b6cSPatrick Delaunayconfig SPL_AMIGA_PARTITION 69863c5b6cSPatrick Delaunay bool "Enable AMIGA partition table for SPL" 70863c5b6cSPatrick Delaunay depends on SPL && PARTITIONS 71863c5b6cSPatrick Delaunay default y if AMIGA_PARTITION 72863c5b6cSPatrick Delaunay 73bd42a942SPatrick Delaunayconfig EFI_PARTITION 74bd42a942SPatrick Delaunay bool "Enable EFI GPT partition table" 75bd42a942SPatrick Delaunay depends on PARTITIONS 76bd42a942SPatrick Delaunay default y if DISTRO_DEFAULTS 77bd42a942SPatrick Delaunay default y if TEGRA 78a451bc27SAdam Ford select LIB_UUID 79bd42a942SPatrick Delaunay help 80bd42a942SPatrick Delaunay Say Y here if you would like to use device under U-Boot which 81bd42a942SPatrick Delaunay were partitioned using EFI GPT. 82bd42a942SPatrick Delaunay common when EFI is the bootloader. Note 2TB partition limit; 83bd42a942SPatrick Delaunay see disk/part_efi.c 84bd42a942SPatrick Delaunay 854ce52197SMaxime Ripardconfig EFI_PARTITION_ENTRIES_NUMBERS 864ce52197SMaxime Ripard int "Number of the EFI partition entries" 874ce52197SMaxime Ripard depends on EFI_PARTITION 885dc0256dSMaxime Ripard default 56 if ARCH_SUNXI 894ce52197SMaxime Ripard default 128 904ce52197SMaxime Ripard help 914ce52197SMaxime Ripard Specify the number of partition entries in the GPT. This is 924ce52197SMaxime Ripard meant to allow less than the standard specifies for devices 934ce52197SMaxime Ripard that might need to place their first-stage bootloader in the 944ce52197SMaxime Ripard middle of a regular GPT. 954ce52197SMaxime Ripard 964ce52197SMaxime Ripard If unsure, leave at 128 entries, which is the standard 974ce52197SMaxime Ripard number. 984ce52197SMaxime Ripard 9902e43537SPhilipp Tomsichconfig EFI_PARTITION_ENTRIES_OFF 10002e43537SPhilipp Tomsich int "Offset (in bytes) of the EFI partition entries" 10102e43537SPhilipp Tomsich depends on EFI_PARTITION 10202e43537SPhilipp Tomsich default 0 10302e43537SPhilipp Tomsich help 10402e43537SPhilipp Tomsich Specify an earliest location (in bytes) where the partition 10502e43537SPhilipp Tomsich entries may be located. This is meant to allow "punching a 10602e43537SPhilipp Tomsich hole into a device" to create a gap for an SPL, its payload 10702e43537SPhilipp Tomsich and the U-Boot environment. 10802e43537SPhilipp Tomsich 10902e43537SPhilipp Tomsich If unsure, leave at 0 (which will locate the partition 11002e43537SPhilipp Tomsich entries at the first possible LBA following the GPT header). 11102e43537SPhilipp Tomsich 112bd42a942SPatrick Delaunayconfig SPL_EFI_PARTITION 113bd42a942SPatrick Delaunay bool "Enable EFI GPT partition table for SPL" 114bd42a942SPatrick Delaunay depends on SPL && PARTITIONS 115bd42a942SPatrick Delaunay default y if EFI_PARTITION 116bd42a942SPatrick Delaunay 117b331cd62SPatrick Delaunayconfig PARTITION_UUIDS 118b331cd62SPatrick Delaunay bool "Enable support of UUID for partition" 119b331cd62SPatrick Delaunay depends on PARTITIONS 120b331cd62SPatrick Delaunay default y if DISTRO_DEFAULTS 121b331cd62SPatrick Delaunay default y if EFI_PARTITION 122a451bc27SAdam Ford select LIB_UUID 123b331cd62SPatrick Delaunay help 124b331cd62SPatrick Delaunay Activate the configuration of UUID for partition 125b331cd62SPatrick Delaunay 126b331cd62SPatrick Delaunayconfig SPL_PARTITION_UUIDS 127b331cd62SPatrick Delaunay bool "Enable support of UUID for partition in SPL" 128b331cd62SPatrick Delaunay depends on SPL && PARTITIONS 129b331cd62SPatrick Delaunay default y if SPL_EFI_PARTITION 130b331cd62SPatrick Delaunay 131aed8fdaaSPatrick Delaunayconfig PARTITION_TYPE_GUID 132aed8fdaaSPatrick Delaunay bool "Enable support of GUID for partition type" 133aed8fdaaSPatrick Delaunay depends on PARTITIONS 134aed8fdaaSPatrick Delaunay depends on EFI_PARTITION 135aed8fdaaSPatrick Delaunay help 136aed8fdaaSPatrick Delaunay Activate the configuration of GUID type 137aed8fdaaSPatrick Delaunay for EFI partition 138aed8fdaaSPatrick Delaunay 139e274ef6bSPatrick Delaunayendmenu 140