1e274ef6bSPatrick Delaunay 2e274ef6bSPatrick Delaunaymenu "Partition Types" 3e274ef6bSPatrick Delaunay 4e274ef6bSPatrick Delaunayconfig PARTITIONS 5e274ef6bSPatrick Delaunay bool "Enable Partition Labels (disklabels) support" 6e274ef6bSPatrick Delaunay default y 7310695f3SAlex Kiernan select SPL_SPRINTF if SPL 8310695f3SAlex Kiernan select TPL_SPRINTF if TPL 9310695f3SAlex Kiernan select SPL_STRTO if SPL 10310695f3SAlex 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 default y if ISO_PARTITION 611acc0087SPatrick Delaunay 62863c5b6cSPatrick Delaunayconfig AMIGA_PARTITION 63863c5b6cSPatrick Delaunay bool "Enable AMIGA partition table" 64863c5b6cSPatrick Delaunay depends on PARTITIONS 65863c5b6cSPatrick Delaunay help 66863c5b6cSPatrick Delaunay Say Y here if you would like to use device under U-Boot which 67863c5b6cSPatrick Delaunay were partitioned under AmigaOS. 68863c5b6cSPatrick Delaunay 69863c5b6cSPatrick Delaunayconfig SPL_AMIGA_PARTITION 70863c5b6cSPatrick Delaunay bool "Enable AMIGA partition table for SPL" 71863c5b6cSPatrick Delaunay depends on SPL && PARTITIONS 72863c5b6cSPatrick Delaunay default y if AMIGA_PARTITION 73863c5b6cSPatrick Delaunay 74bd42a942SPatrick Delaunayconfig EFI_PARTITION 75bd42a942SPatrick Delaunay bool "Enable EFI GPT partition table" 76bd42a942SPatrick Delaunay depends on PARTITIONS 77bd42a942SPatrick Delaunay default y if DISTRO_DEFAULTS 78bd42a942SPatrick Delaunay default y if TEGRA 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 85025e2e5aSMaxime Ripardconfig EFI_PARTITION_ENTRIES_NUMBERS 86025e2e5aSMaxime Ripard int "Number of the EFI partition entries" 87025e2e5aSMaxime Ripard depends on EFI_PARTITION 8800ac81b9SMaxime Ripard default 56 if ARCH_SUNXI 89025e2e5aSMaxime Ripard default 128 90025e2e5aSMaxime Ripard help 91025e2e5aSMaxime Ripard Specify the number of partition entries in the GPT. This is 92025e2e5aSMaxime Ripard meant to allow less than the standard specifies for devices 93025e2e5aSMaxime Ripard that might need to place their first-stage bootloader in the 94025e2e5aSMaxime Ripard middle of a regular GPT. 95025e2e5aSMaxime Ripard 96025e2e5aSMaxime Ripard If unsure, leave at 128 entries, which is the standard 97025e2e5aSMaxime Ripard number. 98025e2e5aSMaxime 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 122b331cd62SPatrick Delaunay help 123b331cd62SPatrick Delaunay Activate the configuration of UUID for partition 124b331cd62SPatrick Delaunay 125b331cd62SPatrick Delaunayconfig SPL_PARTITION_UUIDS 126b331cd62SPatrick Delaunay bool "Enable support of UUID for partition in SPL" 127b331cd62SPatrick Delaunay depends on SPL && PARTITIONS 128b331cd62SPatrick Delaunay default y if SPL_EFI_PARTITION 129b331cd62SPatrick Delaunay 130aed8fdaaSPatrick Delaunayconfig PARTITION_TYPE_GUID 131aed8fdaaSPatrick Delaunay bool "Enable support of GUID for partition type" 132aed8fdaaSPatrick Delaunay depends on PARTITIONS 133aed8fdaaSPatrick Delaunay depends on EFI_PARTITION 134aed8fdaaSPatrick Delaunay help 135aed8fdaaSPatrick Delaunay Activate the configuration of GUID type 136aed8fdaaSPatrick Delaunay for EFI partition 137aed8fdaaSPatrick Delaunay 138d8db5367SJoseph Chenconfig ENV_PARTITION 139d8db5367SJoseph Chen bool "Enable ENV partition table support" 140*edafafc4SJoseph Chen depends on PARTITIONS 141*edafafc4SJoseph Chen default y if ENVF 142d8db5367SJoseph Chen help 143d8db5367SJoseph Chen Say Y here if you would like to use ENV partition table. 144d8db5367SJoseph Chen 145d8db5367SJoseph Chenconfig SPL_ENV_PARTITION 146d8db5367SJoseph Chen bool "Enable ENV partition table support in SPL" 147*edafafc4SJoseph Chen depends on SPL && PARTITIONS 148*edafafc4SJoseph Chen default y if SPL_ENVF 149d8db5367SJoseph Chen help 150d8db5367SJoseph Chen Say Y here if you would like to use ENV partition table in SPL. 151d8db5367SJoseph Chen 15282198b5cSKever Yangconfig RKPARM_PARTITION 15382198b5cSKever Yang bool "Enable Rockchip parameter partition table" 15482198b5cSKever Yang depends on PARTITIONS 15582198b5cSKever Yang help 15682198b5cSKever Yang Say Y here if you would like to use device under U-Boot which 15782198b5cSKever Yang were partitioned using Rockchip parameter. 15882198b5cSKever Yang 15918ed0023SJoseph Chenconfig RKRAM_PARTITION 16018ed0023SJoseph Chen bool "Enable Rockchip ram partition table" 16118ed0023SJoseph Chen depends on PARTITIONS && DM_RAMDISK 16218ed0023SJoseph Chen depends on ROCKCHIP_PRELOADER_ATAGS 16318ed0023SJoseph Chen help 16418ed0023SJoseph Chen Say Y here if you would like to use device under U-Boot which 16518ed0023SJoseph Chen were partitioned using Rockchip atags. 16618ed0023SJoseph Chen 16782198b5cSKever Yangconfig SPL_ROCKCHIP_PARTITION 16882198b5cSKever Yang bool "Enable Rockchip partition table for SPL" 16982198b5cSKever Yang 170e274ef6bSPatrick Delaunayendmenu 171