summaryrefslogtreecommitdiffstats
path: root/arch/riscv
diff options
context:
space:
mode:
authorAlistair Francis2019-08-14 01:32:30 +0200
committerPaul Walmsley2019-08-14 04:26:42 +0200
commitd568cb3f935123b4fb42b9029ebcfebc4e4533a2 (patch)
tree2acfb0b2edd61bd6c077285f6dffaae29e075a03 /arch/riscv
parentriscv: rv32_defconfig: Update the defconfig (diff)
downloadkernel-qcow2-linux-d568cb3f935123b4fb42b9029ebcfebc4e4533a2.tar.gz
kernel-qcow2-linux-d568cb3f935123b4fb42b9029ebcfebc4e4533a2.tar.xz
kernel-qcow2-linux-d568cb3f935123b4fb42b9029ebcfebc4e4533a2.zip
riscv: defconfig: Update the defconfig
Update the defconfig: - Add CONFIG_HW_RANDOM=y and CONFIG_HW_RANDOM_VIRTIO=y to enable VirtIORNG when running on QEMU Signed-off-by: Alistair Francis <alistair.francis@wdc.com> Signed-off-by: Paul Walmsley <paul.walmsley@sifive.com>
Diffstat (limited to 'arch/riscv')
-rw-r--r--arch/riscv/configs/defconfig2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/riscv/configs/defconfig b/arch/riscv/configs/defconfig
index 93205c0bf71d..3efff552a261 100644
--- a/arch/riscv/configs/defconfig
+++ b/arch/riscv/configs/defconfig
@@ -54,6 +54,8 @@ CONFIG_SERIAL_8250_CONSOLE=y
CONFIG_SERIAL_OF_PLATFORM=y
CONFIG_SERIAL_EARLYCON_RISCV_SBI=y
CONFIG_HVC_RISCV_SBI=y
+CONFIG_HW_RANDOM=y
+CONFIG_HW_RANDOM_VIRTIO=y
CONFIG_SPI=y
CONFIG_SPI_SIFIVE=y
# CONFIG_PTP_1588_CLOCK is not set