riscv: qemu: imply CONFIG_RNG_RISCV_ZKR
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Sun, 2 Mar 2025 08:50:17 +0000 (09:50 +0100)
committerLeo Yu-Chi Liang <ycliang@andestech.com>
Tue, 25 Mar 2025 08:00:13 +0000 (16:00 +0800)
commitb438e849144181fb4408efde59e73817690a46d6
treebc02ca5e179e54752958457ea1b32a810778a5f8
parentf1ba590136bd76c2a746bb8fe3d8dbc2b3f36e5f
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 <heinrich.schuchardt@canonical.com>
Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>
board/emulation/qemu-riscv/Kconfig