u-boot/board/emulation/common/Kconfig
Sughosh Ganu c89a9873fd qemu: common: Add support for dynamic mtdparts for the platform
Add support for setting the default values for mtd partitions on the
platform. This would be used for updating the firmware image using
uefi capsule update with the dfu mtd backend driver.

Currently, values have been defined for the qemu arm64 platform, with
default values defined for the mtd partitions based on the NOR
flash. This can be subsequently extended for other qemu architectures
which need mtdparts set.

Signed-off-by: Sughosh Ganu <sughosh.ganu@linaro.org>
2020-12-31 14:41:31 +01:00

15 lines
530 B
Text

config MTDPARTS_NOR0
string "mtd boot partition for nor0"
default "64m(u-boot)" if TARGET_QEMU_ARM_64BIT && !TFABOOT
depends on SYS_MTDPARTS_RUNTIME
help
This define the partition of nor0 used to build mtparts dynamically
for boot from nor0.
config MTDPARTS_NOR1
string "mtd u-boot env partition for nor1"
default "64m(u-boot-env)" if TARGET_QEMU_ARM_64BIT && !TFABOOT
depends on SYS_MTDPARTS_RUNTIME
help
This define the partition of nor1 used to build mtparts dynamically
for the u-boot env stored on nor1.