From: Heinrich Schuchardt Date: Sun, 2 Mar 2025 08:50:17 +0000 (+0100) Subject: riscv: qemu: imply CONFIG_RNG_RISCV_ZKR X-Git-Tag: v2025.07-rc1~18^2~16^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b438e849144181fb4408efde59e73817690a46d6;p=pandora-u-boot.git riscv: qemu: imply CONFIG_RNG_RISCV_ZKR The zkr ISA extension can be used to generate random numbers. Since RVA22 zkr is an optional ISA extension. It can be emulated by QEMU. Our RNG driver detects if the extension is usable during driver binding. Let's enable it by default on QEMU. Signed-off-by: Heinrich Schuchardt Reviewed-by: Leo Yu-Chi Liang --- diff --git a/board/emulation/qemu-riscv/Kconfig b/board/emulation/qemu-riscv/Kconfig index 012ac14a123..134dbfd7151 100644 --- a/board/emulation/qemu-riscv/Kconfig +++ b/board/emulation/qemu-riscv/Kconfig @@ -62,6 +62,7 @@ config BOARD_SPECIFIC_OPTIONS # dummy imply VIDEO_SIMPLE imply PCIE_ECAM_GENERIC imply DM_RNG + imply RNG_RISCV_ZKR imply DM_RTC imply RTC_GOLDFISH imply SCSI