Skip to content

Commit fc26f5b

Browse files
lbmengpalmer-dabbelt
authored andcommitted
riscv: Add SiFive drivers to rv32_defconfig
This adds SiFive drivers to rv32_defconfig, to keep in sync with the 64-bit config. This is useful when testing 32-bit kernel with QEMU 'sifive_u' 32-bit machine. Signed-off-by: Bin Meng <[email protected]> Reviewed-by: Anup Patel <[email protected]> Reviewed-by: Alistair Francis <[email protected]> Signed-off-by: Palmer Dabbelt <[email protected]>
1 parent a2770b5 commit fc26f5b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

arch/riscv/configs/rv32_defconfig

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ CONFIG_CHECKPOINT_RESTORE=y
1414
CONFIG_BLK_DEV_INITRD=y
1515
CONFIG_EXPERT=y
1616
CONFIG_BPF_SYSCALL=y
17+
CONFIG_SOC_SIFIVE=y
1718
CONFIG_SOC_VIRT=y
1819
CONFIG_ARCH_RV32I=y
1920
CONFIG_SMP=y
@@ -62,6 +63,8 @@ CONFIG_HVC_RISCV_SBI=y
6263
CONFIG_VIRTIO_CONSOLE=y
6364
CONFIG_HW_RANDOM=y
6465
CONFIG_HW_RANDOM_VIRTIO=y
66+
CONFIG_SPI=y
67+
CONFIG_SPI_SIFIVE=y
6568
# CONFIG_PTP_1588_CLOCK is not set
6669
CONFIG_POWER_RESET=y
6770
CONFIG_DRM=y
@@ -77,6 +80,8 @@ CONFIG_USB_OHCI_HCD=y
7780
CONFIG_USB_OHCI_HCD_PLATFORM=y
7881
CONFIG_USB_STORAGE=y
7982
CONFIG_USB_UAS=y
83+
CONFIG_MMC=y
84+
CONFIG_MMC_SPI=y
8085
CONFIG_RTC_CLASS=y
8186
CONFIG_VIRTIO_PCI=y
8287
CONFIG_VIRTIO_BALLOON=y

0 commit comments

Comments
 (0)