u-boot/board/emulation/qemu-arm/Kconfig
Sughosh Ganu cc02f15faa 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>
2020-12-31 14:41:31 +01:00

21 lines
390 B
Text

if TARGET_QEMU_ARM_32BIT || TARGET_QEMU_ARM_64BIT
config SYS_TEXT_BASE
default 0x00000000
config BOARD_SPECIFIC_OPTIONS # dummy
def_bool y
imply VIRTIO_MMIO
imply VIRTIO_PCI
imply VIRTIO_NET
imply VIRTIO_BLK
endif
if TARGET_QEMU_ARM_64BIT && !TFABOOT
config BOARD_SPECIFIC_OPTIONS
imply SYS_MTDPARTS_RUNTIME
imply SET_DFU_ALT_INFO
source "board/emulation/common/Kconfig"
endif