mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-11 23:47:24 +00:00
c89a9873fd
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>
15 lines
530 B
Text
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.
|