[U-Boot] [PATCH] qemu-arm: Enable VirtIO distro target
Sumit Garg
sumit.garg at linaro.org
Mon Nov 12 09:59:08 UTC 2018
With -device virtio-blk-device,drive=hd0, it could detect distro boot
target.
Signed-off-by: Sumit Garg <sumit.garg at linaro.org>
---
Depends on https://patchwork.ozlabs.org/patch/995524/ which adds VirtIO
distro boot command.
include/configs/qemu-arm.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/include/configs/qemu-arm.h b/include/configs/qemu-arm.h
index fedc466..437c3ae 100644
--- a/include/configs/qemu-arm.h
+++ b/include/configs/qemu-arm.h
@@ -25,7 +25,8 @@
#define BOOT_TARGET_DEVICES(func) \
func(SCSI, scsi, 0) \
- func(DHCP, dhcp, na)
+ func(DHCP, dhcp, na) \
+ func(VIRTIO, virtio, 0)
#include <config_distro_bootcmd.h>
--
2.7.4
More information about the U-Boot
mailing list