]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
ppc: qemu: Enable VirtIO BLK support
authorBin Meng <bmeng.cn@gmail.com>
Thu, 25 Feb 2021 09:22:48 +0000 (17:22 +0800)
committerPriyanka Jain <priyanka.jain@nxp.com>
Fri, 5 Mar 2021 04:55:43 +0000 (10:25 +0530)
Enable VirtIO BLK driver so that we can store a kernel image to
a disk image and boot from there.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
configs/qemu-ppce500_defconfig

index 202e97e8ec55d58ac2325ea43bf5a4b1d92d27be..b2510c839070c684f55146edf930f483faf5fc1c 100644 (file)
@@ -26,6 +26,8 @@ CONFIG_OF_BOARD=y
 CONFIG_ENV_OVERWRITE=y
 CONFIG_SYS_RELOC_GD_ENV_ADDR=y
 CONFIG_DM=y
+CONFIG_BLK=y
+CONFIG_HAVE_BLOCK_DEVICE=y
 # CONFIG_MMC is not set
 CONFIG_DM_ETH=y
 CONFIG_E1000=y
@@ -35,5 +37,6 @@ CONFIG_DM_SERIAL=y
 CONFIG_SYS_NS16550=y
 CONFIG_VIRTIO_PCI=y
 CONFIG_VIRTIO_NET=y
+CONFIG_VIRTIO_BLK=y
 CONFIG_ADDR_MAP=y
 CONFIG_PANIC_HANG=y