]> git.proxmox.com Git - mirror_qemu.git/commit
hw/arm: Allwinner A10 enable SPL load from MMC
authorStrahinja Jankovic <strahinjapjankovic@gmail.com>
Mon, 26 Dec 2022 22:03:02 +0000 (23:03 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 12 Jan 2023 16:50:19 +0000 (16:50 +0000)
commitbb9271cadb0d0b32d566619606fedc9c08f612cc
tree7ee654e350ec42e93b35a96d8b09489aae38f740
parent28057e490b970390e3a94fce1a36098ddeb0026d
hw/arm: Allwinner A10 enable SPL load from MMC

This patch enables copying of SPL from MMC if `-kernel` parameter is not
passed when starting QEMU. SPL is copied to SRAM_A.

The approach is reused from Allwinner H3 implementation.

Tested with Armbian and custom Yocto image.

Signed-off-by: Strahinja Jankovic <strahinja.p.jankovic@gmail.com>
Reviewed-by: Niek Linnenbank <nieklinnenbank@gmail.com>
Message-id: 20221226220303.14420-7-strahinja.p.jankovic@gmail.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/arm/allwinner-a10.c
hw/arm/cubieboard.c
include/hw/arm/allwinner-a10.h