[PATCH 1/2] riscv: defconfig: enable spi nor on Hifive Unleashed A00 board.
From: Sagar Shrikant Kadam
Date: Thu Apr 30 2020 - 05:59:38 EST
Enable MTD based SPI-NOR framework in order to use spi flash
available on HiFive Unleashed A00 board.
Signed-off-by: Sagar Shrikant Kadam <sagar.kadam@xxxxxxxxxx>
---
arch/riscv/configs/defconfig | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/riscv/configs/defconfig b/arch/riscv/configs/defconfig
index 4da4886..970580b 100644
--- a/arch/riscv/configs/defconfig
+++ b/arch/riscv/configs/defconfig
@@ -80,6 +80,8 @@ CONFIG_USB_STORAGE=y
CONFIG_USB_UAS=y
CONFIG_MMC=y
CONFIG_MMC_SPI=y
+CONFIG_MTD=y
+CONFIG_MTD_SPI_NOR=y
CONFIG_RTC_CLASS=y
CONFIG_VIRTIO_PCI=y
CONFIG_VIRTIO_BALLOON=y
--
2.7.4