mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-07-24 03:49:43 +09:00
![Sughosh Ganu](/assets/img/avatar_default.png)
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>
21 lines
366 B
Plaintext
21 lines
366 B
Plaintext
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
|
|
|
|
source "board/emulation/common/Kconfig"
|
|
endif
|