diff mbox series

[v3,27/38] ppc: qemu: Enable VirtIO BLK support

Message ID 1614244979-48216-28-git-send-email-bmeng.cn@gmail.com
State Accepted
Commit 843d9b8d03163d6e5f95cb1d1a9831b84861447c
Delegated to: Priyanka Jain
Headers show
Series ppc: qemu: Convert qemu-ppce500 to driver model and enable additional driver support | expand

Commit Message

Bin Meng Feb. 25, 2021, 9:22 a.m. UTC
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>

---

(no changes since v2)

Changes in v2:
- new patch: ppc: qemu: Enable VirtIO BLK support

 configs/qemu-ppce500_defconfig | 3 +++
 1 file changed, 3 insertions(+)
diff mbox series

Patch

diff --git a/configs/qemu-ppce500_defconfig b/configs/qemu-ppce500_defconfig
index 202e97e..b2510c8 100644
--- a/configs/qemu-ppce500_defconfig
+++ b/configs/qemu-ppce500_defconfig
@@ -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