diff options
author | Alistair Francis <alistair.francis@wdc.com> | 2019-08-13 16:32:30 -0700 |
---|---|---|
committer | Paul Walmsley <paul.walmsley@sifive.com> | 2019-08-13 19:26:42 -0700 |
commit | d568cb3f935123b4fb42b9029ebcfebc4e4533a2 (patch) | |
tree | 2acfb0b2edd61bd6c077285f6dffaae29e075a03 /arch/riscv/configs | |
parent | 500bc2c1f48aa6efad9474fdbe0c7cd8d600484c (diff) | |
download | lwn-d568cb3f935123b4fb42b9029ebcfebc4e4533a2.tar.gz lwn-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/configs')
-rw-r--r-- | arch/riscv/configs/defconfig | 2 |
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 |