]> git.dujemihanovic.xyz Git - u-boot.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)
commitc89a9873fd782fde22c7158c1e37d5becab53e40
tree39e7d1fbe27ef834daa24e39e7bdb141425bbadb
parent4366a2440ae141c44d2041c92f3662016c6869e6
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