All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] RISC-V: defconfig: enable MMC & SPI for RISC-V
@ 2019-06-25 22:56 ` Atish Patra
  0 siblings, 0 replies; 12+ messages in thread
From: Atish Patra @ 2019-06-25 22:56 UTC (permalink / raw)
  To: linux-kernel
  Cc: Atish Patra, Albert Ou, Alistair Francis, Anup Patel,
	linux-riscv, Olof Johansson, Palmer Dabbelt, Thomas Gleixner

Currently, riscv upstream defconfig doesn't let you boot
through userspace if rootfs is on the SD card.

Let's enable MMC & SPI drivers as well so that one can boot
to the user space using default config in upstream kernel.

Signed-off-by: Atish Patra <atish.patra@wdc.com>
---
 arch/riscv/configs/defconfig | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/arch/riscv/configs/defconfig b/arch/riscv/configs/defconfig
index 4f02967e55de..04944fb4fa7a 100644
--- a/arch/riscv/configs/defconfig
+++ b/arch/riscv/configs/defconfig
@@ -69,6 +69,7 @@ CONFIG_VIRTIO_MMIO=y
 CONFIG_CLK_SIFIVE=y
 CONFIG_CLK_SIFIVE_FU540_PRCI=y
 CONFIG_SIFIVE_PLIC=y
+CONFIG_SPI_SIFIVE=y
 CONFIG_EXT4_FS=y
 CONFIG_EXT4_FS_POSIX_ACL=y
 CONFIG_AUTOFS4_FS=y
@@ -84,4 +85,8 @@ CONFIG_ROOT_NFS=y
 CONFIG_CRYPTO_USER_API_HASH=y
 CONFIG_CRYPTO_DEV_VIRTIO=y
 CONFIG_PRINTK_TIME=y
+CONFIG_SPI=y
+CONFIG_MMC_SPI=y
+CONFIG_MMC=y
+CONFIG_DEVTMPFS_MOUNT=y
 # CONFIG_RCU_TRACE is not set
-- 
2.21.0


^ permalink raw reply related	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2019-06-27  9:15 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-25 22:56 [PATCH] RISC-V: defconfig: enable MMC & SPI for RISC-V Atish Patra
2019-06-25 22:56 ` Atish Patra
2019-06-25 23:58 ` Troy Benjegerdes
2019-06-25 23:58   ` Troy Benjegerdes
2019-06-27  9:15   ` Andreas Schwab
2019-06-27  9:15     ` Andreas Schwab
2019-06-26  7:58 ` Palmer Dabbelt
2019-06-26  7:58   ` Palmer Dabbelt
2019-06-26 16:00 ` Paul Walmsley
2019-06-26 16:00   ` Paul Walmsley
2019-06-26 17:19   ` Atish Patra
2019-06-26 17:19     ` Atish Patra

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.