2017-01-27 10:00:35 +00:00
|
|
|
|
|
|
|
menu "Partition Types"
|
|
|
|
|
|
|
|
config PARTITIONS
|
2022-04-19 01:01:58 +00:00
|
|
|
bool
|
2017-01-27 10:00:35 +00:00
|
|
|
help
|
|
|
|
Partition Labels (disklabels) Supported:
|
|
|
|
Zero or more of the following:
|
|
|
|
- CONFIG_MAC_PARTITION Apple's MacOS partition table.
|
|
|
|
- CONFIG_DOS_PARTITION MS Dos partition table, traditional on the
|
|
|
|
Intel architecture, USB sticks, etc.
|
|
|
|
- CONFIG_ISO_PARTITION ISO partition table, used on CDROM etc.
|
|
|
|
- CONFIG_EFI_PARTITION GPT partition table, common when EFI is the
|
|
|
|
bootloader. Note 2TB partition limit; see
|
|
|
|
disk/part_efi.c
|
|
|
|
- CONFIG_MTD_PARTITIONS Memory Technology Device partition table.
|
|
|
|
If IDE or SCSI support is enabled (CONFIG_CMD_IDE or CONFIG_SCSI)
|
|
|
|
you must configure support for at least one non-MTD partition type
|
|
|
|
as well.
|
|
|
|
|
2022-03-11 19:10:01 +00:00
|
|
|
config SPL_PARTITIONS
|
2022-04-19 01:01:58 +00:00
|
|
|
bool
|
2022-03-11 19:10:01 +00:00
|
|
|
select SPL_SPRINTF
|
|
|
|
select SPL_STRTO
|
|
|
|
help
|
|
|
|
Enable this for base partition support in SPL. The required
|
2022-08-12 01:34:40 +00:00
|
|
|
partition table types shold be enabled separately. This adds a
|
2022-03-11 19:10:01 +00:00
|
|
|
small amount of size to SPL, typically 500 bytes.
|
|
|
|
|
|
|
|
config TPL_PARTITIONS
|
2022-04-19 01:01:58 +00:00
|
|
|
bool
|
2022-03-11 19:10:01 +00:00
|
|
|
select TPL_SPRINTF
|
|
|
|
select TPL_STRTO
|
|
|
|
help
|
2022-08-12 01:34:40 +00:00
|
|
|
Enable this for base partition support in TPL. The required
|
|
|
|
partition table types shold be enabled separately. This adds a
|
|
|
|
small amount of size to TPL, typically 500 bytes.
|
2022-03-11 19:10:01 +00:00
|
|
|
|
2017-01-27 10:00:36 +00:00
|
|
|
config MAC_PARTITION
|
|
|
|
bool "Enable Apple's MacOS partition table"
|
2022-04-19 01:01:58 +00:00
|
|
|
select PARTITIONS
|
2017-01-27 10:00:36 +00:00
|
|
|
help
|
|
|
|
Say Y here if you would like to use device under U-Boot which
|
|
|
|
were partitioned on a Macintosh.
|
|
|
|
|
|
|
|
config SPL_MAC_PARTITION
|
|
|
|
bool "Enable Apple's MacOS partition table for SPL"
|
2022-04-19 01:01:58 +00:00
|
|
|
depends on SPL
|
2017-01-27 10:00:36 +00:00
|
|
|
default y if MAC_PARTITION
|
2022-04-19 01:01:58 +00:00
|
|
|
select SPL_PARTITIONS
|
2017-01-27 10:00:36 +00:00
|
|
|
|
2017-01-27 10:00:37 +00:00
|
|
|
config DOS_PARTITION
|
|
|
|
bool "Enable MS Dos partition table"
|
2023-07-11 22:37:30 +00:00
|
|
|
default y if BOOT_DEFAULTS
|
2017-03-14 15:08:11 +00:00
|
|
|
default y if x86 || CMD_FAT || USB_STORAGE
|
2022-04-19 01:01:58 +00:00
|
|
|
select PARTITIONS
|
2017-01-27 10:00:37 +00:00
|
|
|
help
|
|
|
|
traditional on the Intel architecture, USB sticks, etc.
|
|
|
|
|
|
|
|
config SPL_DOS_PARTITION
|
|
|
|
bool "Enable MS Dos partition table for SPL"
|
2022-04-19 01:01:58 +00:00
|
|
|
depends on SPL
|
2022-05-24 08:58:42 +00:00
|
|
|
default n if ARCH_MVEBU
|
sunxi: Move common defconfig options to Kconfig
Some config symbols are found in *almost* every _defconfig file for
Allwinner boards, because those options are actually a platform choice,
and not a per-board decision.
Some of these options are older, some have recently been added.
Move those options to be set for all Allwinner boards in their
respective Kconfig files.
The rationales are as follows:
- NR_DRAM_BANKS: All Allwinner SoC map DRAM at one contiguous region of
address space only, starting at 1 GB. So it's always one bank.
- SPL_{DOS,EFI}_PARTITION: The Allwinner SPL does only support raw MMC
accesses, we don't care about filesystems or partitions in there, so
there is no need to define those symbols at all.
- USE_PREBOOT: We start USB early when a keyboard is configured, using the
preboot env variable, so we need to set this variable.
- SYS_RELOC_GD_ENV_ADDR: We don't specify any ENV_ADDR, so need this
symbol to be set (according to 8d8ee47e03e).
- SYS_USB_EVENT_POLL_VIA_INT_QUEUE: According to commit eab9433aa55428,
specifying this reduces the latency of the USB keyboard handling, so
this was formerly enabled in config headers for all Allwinner boards.
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Acked-by: Maxime Ripard <mripard@kernel.org>
Tested-by: Jagan Teki <jagan@amarulasolutions.com> # Amarula A64-Relic
Reviewed-by: Jagan Teki <jagan@amarulasolutions.com>
2020-02-20 17:51:14 +00:00
|
|
|
default n if ARCH_SUNXI
|
2017-01-27 10:00:37 +00:00
|
|
|
default y if DOS_PARTITION
|
2022-04-19 01:01:58 +00:00
|
|
|
select SPL_PARTITIONS
|
2017-01-27 10:00:37 +00:00
|
|
|
|
2017-01-27 10:00:38 +00:00
|
|
|
config ISO_PARTITION
|
|
|
|
bool "Enable ISO partition table"
|
2023-07-11 22:37:30 +00:00
|
|
|
default y if BOOT_DEFAULTS
|
2020-05-06 12:02:41 +00:00
|
|
|
default y if MIPS || ARCH_TEGRA
|
2022-04-19 01:01:58 +00:00
|
|
|
select PARTITIONS
|
2017-01-27 10:00:38 +00:00
|
|
|
|
|
|
|
config SPL_ISO_PARTITION
|
|
|
|
bool "Enable ISO partition table for SPL"
|
2022-04-19 01:01:58 +00:00
|
|
|
depends on SPL
|
|
|
|
select SPL_PARTITIONS
|
2017-01-27 10:00:38 +00:00
|
|
|
|
2017-01-27 10:00:39 +00:00
|
|
|
config AMIGA_PARTITION
|
|
|
|
bool "Enable AMIGA partition table"
|
2022-04-19 01:01:58 +00:00
|
|
|
select PARTITIONS
|
2017-01-27 10:00:39 +00:00
|
|
|
help
|
|
|
|
Say Y here if you would like to use device under U-Boot which
|
|
|
|
were partitioned under AmigaOS.
|
|
|
|
|
|
|
|
config SPL_AMIGA_PARTITION
|
|
|
|
bool "Enable AMIGA partition table for SPL"
|
2022-04-19 01:01:58 +00:00
|
|
|
depends on SPL
|
2017-01-27 10:00:39 +00:00
|
|
|
default y if AMIGA_PARTITION
|
2022-04-19 01:01:58 +00:00
|
|
|
select SPL_PARTITIONS
|
2017-01-27 10:00:39 +00:00
|
|
|
|
2017-01-27 10:00:41 +00:00
|
|
|
config EFI_PARTITION
|
|
|
|
bool "Enable EFI GPT partition table"
|
2023-07-11 22:37:30 +00:00
|
|
|
default y if BOOT_DEFAULTS
|
2020-05-06 12:02:41 +00:00
|
|
|
default y if ARCH_TEGRA
|
2022-04-19 01:01:58 +00:00
|
|
|
select PARTITIONS
|
2018-02-06 18:14:28 +00:00
|
|
|
select LIB_UUID
|
2017-01-27 10:00:41 +00:00
|
|
|
help
|
|
|
|
Say Y here if you would like to use device under U-Boot which
|
|
|
|
were partitioned using EFI GPT.
|
|
|
|
common when EFI is the bootloader. Note 2TB partition limit;
|
|
|
|
see disk/part_efi.c
|
|
|
|
|
2017-11-14 19:50:04 +00:00
|
|
|
config EFI_PARTITION_ENTRIES_NUMBERS
|
|
|
|
int "Number of the EFI partition entries"
|
|
|
|
depends on EFI_PARTITION
|
2017-11-14 20:07:51 +00:00
|
|
|
default 56 if ARCH_SUNXI
|
2017-11-14 19:50:04 +00:00
|
|
|
default 128
|
|
|
|
help
|
|
|
|
Specify the number of partition entries in the GPT. This is
|
|
|
|
meant to allow less than the standard specifies for devices
|
|
|
|
that might need to place their first-stage bootloader in the
|
|
|
|
middle of a regular GPT.
|
|
|
|
|
|
|
|
If unsure, leave at 128 entries, which is the standard
|
|
|
|
number.
|
|
|
|
|
2017-03-01 20:10:39 +00:00
|
|
|
config EFI_PARTITION_ENTRIES_OFF
|
|
|
|
int "Offset (in bytes) of the EFI partition entries"
|
|
|
|
depends on EFI_PARTITION
|
|
|
|
default 0
|
|
|
|
help
|
|
|
|
Specify an earliest location (in bytes) where the partition
|
|
|
|
entries may be located. This is meant to allow "punching a
|
|
|
|
hole into a device" to create a gap for an SPL, its payload
|
|
|
|
and the U-Boot environment.
|
|
|
|
|
|
|
|
If unsure, leave at 0 (which will locate the partition
|
|
|
|
entries at the first possible LBA following the GPT header).
|
|
|
|
|
2017-01-27 10:00:41 +00:00
|
|
|
config SPL_EFI_PARTITION
|
|
|
|
bool "Enable EFI GPT partition table for SPL"
|
2022-04-19 01:01:58 +00:00
|
|
|
depends on SPL
|
2022-05-24 08:58:42 +00:00
|
|
|
default n if ARCH_MVEBU
|
sunxi: Move common defconfig options to Kconfig
Some config symbols are found in *almost* every _defconfig file for
Allwinner boards, because those options are actually a platform choice,
and not a per-board decision.
Some of these options are older, some have recently been added.
Move those options to be set for all Allwinner boards in their
respective Kconfig files.
The rationales are as follows:
- NR_DRAM_BANKS: All Allwinner SoC map DRAM at one contiguous region of
address space only, starting at 1 GB. So it's always one bank.
- SPL_{DOS,EFI}_PARTITION: The Allwinner SPL does only support raw MMC
accesses, we don't care about filesystems or partitions in there, so
there is no need to define those symbols at all.
- USE_PREBOOT: We start USB early when a keyboard is configured, using the
preboot env variable, so we need to set this variable.
- SYS_RELOC_GD_ENV_ADDR: We don't specify any ENV_ADDR, so need this
symbol to be set (according to 8d8ee47e03e).
- SYS_USB_EVENT_POLL_VIA_INT_QUEUE: According to commit eab9433aa55428,
specifying this reduces the latency of the USB keyboard handling, so
this was formerly enabled in config headers for all Allwinner boards.
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Acked-by: Maxime Ripard <mripard@kernel.org>
Tested-by: Jagan Teki <jagan@amarulasolutions.com> # Amarula A64-Relic
Reviewed-by: Jagan Teki <jagan@amarulasolutions.com>
2020-02-20 17:51:14 +00:00
|
|
|
default n if ARCH_SUNXI
|
2017-01-27 10:00:41 +00:00
|
|
|
default y if EFI_PARTITION
|
2022-04-19 01:01:58 +00:00
|
|
|
select SPL_PARTITIONS
|
2017-01-27 10:00:41 +00:00
|
|
|
|
2017-01-27 10:00:42 +00:00
|
|
|
config PARTITION_UUIDS
|
|
|
|
bool "Enable support of UUID for partition"
|
|
|
|
depends on PARTITIONS
|
2023-07-11 22:37:30 +00:00
|
|
|
default y if BOOT_DEFAULTS
|
2017-01-27 10:00:42 +00:00
|
|
|
default y if EFI_PARTITION
|
2018-02-06 18:14:28 +00:00
|
|
|
select LIB_UUID
|
2017-01-27 10:00:42 +00:00
|
|
|
help
|
|
|
|
Activate the configuration of UUID for partition
|
|
|
|
|
|
|
|
config SPL_PARTITION_UUIDS
|
|
|
|
bool "Enable support of UUID for partition in SPL"
|
2022-04-19 01:01:58 +00:00
|
|
|
depends on SPL_PARTITIONS
|
2017-01-27 10:00:42 +00:00
|
|
|
default y if SPL_EFI_PARTITION
|
2023-02-22 16:34:11 +00:00
|
|
|
select SPL_LIB_UUID
|
2017-01-27 10:00:42 +00:00
|
|
|
|
2017-01-27 10:00:43 +00:00
|
|
|
config PARTITION_TYPE_GUID
|
|
|
|
bool "Enable support of GUID for partition type"
|
|
|
|
depends on EFI_PARTITION
|
|
|
|
help
|
|
|
|
Activate the configuration of GUID type
|
|
|
|
for EFI partition
|
|
|
|
|
2023-02-22 16:34:11 +00:00
|
|
|
config SPL_PARTITION_TYPE_GUID
|
|
|
|
bool "Enable support of GUID for partition type (SPL)"
|
|
|
|
depends on SPL_EFI_PARTITION
|
|
|
|
help
|
|
|
|
Activate the configuration of GUID type
|
|
|
|
for EFI partition
|
|
|
|
|
2017-01-27 10:00:35 +00:00
|
|
|
endmenu
|