RISC-V: defconfig: enable MMC & SPI for RISC-V
authorAtish Patra <atish.patra@wdc.com>
Tue, 25 Jun 2019 22:56:36 +0000 (15:56 -0700)
committerPaul Walmsley <paul.walmsley@sifive.com>
Wed, 26 Jun 2019 17:27:49 +0000 (10:27 -0700)
commitff8391e1b7d2f04aa3e520b3e839fd202de7d9b3
tree0c9e7ecca76ac75d1bc4bac12415ebe91d60116d
parent4b972a01a7da614b4796475f933094751a295a2f
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>
arch/riscv/configs/defconfig