From: Łukasz Stelmach Date: Tue, 1 Aug 2023 13:03:49 +0000 (+0200) Subject: RISCV: config: Enable RAM and NBD block devices X-Git-Tag: accepted/tizen/unified/riscv/20230803.004140^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=318060a046ba65f7086477ffa799a23fb63dc005;p=platform%2Fkernel%2Flinux-starfive.git RISCV: config: Enable RAM and NBD block devices Devices are supported on VisionFive2. Enable them on QEMU to use the same boot procedures on both targets. Change-Id: I210141b471d718fec4286a7bb516751226756f96 Signed-off-by: Łukasz Stelmach --- diff --git a/arch/riscv/configs/tizen_qemu_defconfig b/arch/riscv/configs/tizen_qemu_defconfig index 3b66a9b07d67..78772752c03a 100644 --- a/arch/riscv/configs/tizen_qemu_defconfig +++ b/arch/riscv/configs/tizen_qemu_defconfig @@ -39,6 +39,9 @@ CONFIG_PCI_HOST_GENERIC=y CONFIG_PCIE_XILINX=y CONFIG_DEVTMPFS=y CONFIG_DEVTMPFS_MOUNT=y +CONFIG_BLK_DEV_NBD=m +CONFIG_BLK_DEV_RAM=y +CONFIG_BLK_DEV_RAM_SIZE=32768 CONFIG_BLK_DEV_LOOP=y CONFIG_VIRTIO_BLK=y CONFIG_BLK_DEV_SD=y