]> git.proxmox.com Git - mirror_qemu.git/commit
hw/arm: Wire up BMC boot flash for npcm750-evb and quanta-gsj
authorHavard Skinnemoen <hskinnemoen@google.com>
Fri, 11 Sep 2020 05:20:58 +0000 (22:20 -0700)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 14 Sep 2020 13:24:59 +0000 (14:24 +0100)
commit0eb73f23461fb468667b66de61632be1c2462a3a
treee9afe289c0381410caf909937a28607963d1092e
parentb821242c7b3b174bbf7c01a19c93c4e52fedab5d
hw/arm: Wire up BMC boot flash for npcm750-evb and quanta-gsj

This allows these NPCM7xx-based boards to boot from a flash image, e.g.
one built with OpenBMC. For example like this:

IMAGE=${OPENBMC}/build/tmp/deploy/images/gsj/image-bmc
qemu-system-arm -machine quanta-gsj -nographic \
-drive file=${IMAGE},if=mtd,bus=0,unit=0,format=raw,snapshot=on

Reviewed-by: Tyrone Ting <kfting@nuvoton.com>
Reviewed-by: Cédric Le Goater <clg@kaod.org>
Tested-by: Cédric Le Goater <clg@kaod.org>
Tested-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Havard Skinnemoen <hskinnemoen@google.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-id: 20200911052101.2602693-12-hskinnemoen@google.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/arm/npcm7xx_boards.c