2019-08-13 23:37:13

by Alistair Francis

[permalink] [raw]
Subject: [PATCH 2/2] 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 <[email protected]>
---
arch/riscv/configs/defconfig | 2 ++
1 file changed, 2 insertions(+)

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
--
2.22.0


2019-08-14 02:25:49

by Paul Walmsley

[permalink] [raw]
Subject: Re: [PATCH 2/2] riscv: defconfig: Update the defconfig

On Tue, 13 Aug 2019, Alistair Francis wrote:

> 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 <[email protected]>

Thanks, queued for v5.3-rc.


- Paul