Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

RISC-V: defconfig: enable MMC & SPI for RISC-V

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.

While here, enable automatic mounting of devtmpfs to simplify
kernel testing with minimal root filesystems. (pjw)

Signed-off-by: Atish Patra <atish.patra@wdc.com>
Reviewed-by: Palmer Dabbelt <palmer@sifive.com>
[paul.walmsley@sifive.com: mention the DEVTMPFS_MOUNT change in the
patch description]
Signed-off-by: Paul Walmsley <paul.walmsley@sifive.com>

authored by

Atish Patra and committed by
Paul Walmsley
ff8391e1 4b972a01

+5
+5
arch/riscv/configs/defconfig
··· 69 69 CONFIG_CLK_SIFIVE=y 70 70 CONFIG_CLK_SIFIVE_FU540_PRCI=y 71 71 CONFIG_SIFIVE_PLIC=y 72 + CONFIG_SPI_SIFIVE=y 72 73 CONFIG_EXT4_FS=y 73 74 CONFIG_EXT4_FS_POSIX_ACL=y 74 75 CONFIG_AUTOFS4_FS=y ··· 85 84 CONFIG_CRYPTO_USER_API_HASH=y 86 85 CONFIG_CRYPTO_DEV_VIRTIO=y 87 86 CONFIG_PRINTK_TIME=y 87 + CONFIG_SPI=y 88 + CONFIG_MMC_SPI=y 89 + CONFIG_MMC=y 90 + CONFIG_DEVTMPFS_MOUNT=y 88 91 # CONFIG_RCU_TRACE is not set