summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorBin Meng <bmeng.cn@gmail.com>2021-08-07 08:00:02 +0300
committerStefan Roese <sr@denx.de>2021-08-11 11:36:10 +0300
commitd248627f9d4218688e7430bc714405a23885abfa (patch)
treef02fdc81d46d7a088da53526377c873ef1e48c57 /board
parent74773a4f85221dceccbe92b0b3ae6daef75a141c (diff)
downloadu-boot-d248627f9d4218688e7430bc714405a23885abfa.tar.xz
riscv: qemu: Enable MTD NOR flash support
Enable support to the 2 NOR flashes on the QEMU RISC-V virt machine. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'board')
-rw-r--r--board/emulation/qemu-riscv/Kconfig2
1 files changed, 2 insertions, 0 deletions
diff --git a/board/emulation/qemu-riscv/Kconfig b/board/emulation/qemu-riscv/Kconfig
index 0818048ba6..a7de82d3bf 100644
--- a/board/emulation/qemu-riscv/Kconfig
+++ b/board/emulation/qemu-riscv/Kconfig
@@ -64,5 +64,7 @@ config BOARD_SPECIFIC_OPTIONS # dummy
imply VIRTIO_PCI
imply VIRTIO_NET
imply VIRTIO_BLK
+ imply MTD_NOR_FLASH
+ imply CFI_FLASH
endif