mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-02 17:41:08 +00:00
cc02f15faa
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>
21 lines
390 B
Text
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
|