]> git.dujemihanovic.xyz Git - u-boot.git/commit
qemu: common: Set dfu_alt_info variable for the platform
authorSughosh Ganu <sughosh.ganu@linaro.org>
Wed, 30 Dec 2020 13:57:03 +0000 (19:27 +0530)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Thu, 31 Dec 2020 13:41:31 +0000 (14:41 +0100)
commitcc02f15faabea7ab03af571e5869af1a8dbc7469
treee4ed16b325e627245ae5e5ed7b54e1947a675323
parentc89a9873fd782fde22c7158c1e37d5becab53e40
qemu: common: Set dfu_alt_info variable for the platform

The dfu framework uses the dfu_alt_info environment variable to get
information that is needed for performing the firmware update. Add
logic to set the dfu_alt_info for the qemu arm64 platform to reflect
the two mtd partitions created for the u-boot env and the firmware
image. This can be subsequently extended for other qemu architectures
which need this variable set.

Signed-off-by: Sughosh Ganu <sughosh.ganu@linaro.org>
board/emulation/common/Makefile
board/emulation/common/qemu_dfu.c [new file with mode: 0644]
board/emulation/qemu-arm/Kconfig