]> git.baikalelectronics.ru Git - uboot.git/commit
qemu: common: Add support for dynamic mtdparts for the platform
authorSughosh Ganu <sughosh.ganu@linaro.org>
Wed, 30 Dec 2020 13:57:02 +0000 (19:27 +0530)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Thu, 31 Dec 2020 13:41:31 +0000 (14:41 +0100)
commitf48885ff9c19db0c44fde36b0b851e7b835066c3
tree39e7d1fbe27ef834daa24e39e7bdb141425bbadb
parent37356cea1bc6a4bdfaa588dbf53c284d5df1e81e
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>
board/emulation/common/Kconfig [new file with mode: 0644]
board/emulation/common/Makefile [new file with mode: 0644]
board/emulation/common/qemu_mtdparts.c [new file with mode: 0644]
board/emulation/qemu-arm/Kconfig