summaryrefslogtreecommitdiffstats
path: root/tools/testing/kunit
diff options
context:
space:
mode:
authorBrendan Higgins <brendanhiggins@google.com>2022-05-11 17:30:26 -0700
committerShuah Khan <skhan@linuxfoundation.org>2022-05-16 13:24:09 -0600
commit8a7ccad38f8b25c8202efd69371a022357286400 (patch)
tree5db1354d85314476b2b2757bf0dd244e64729786 /tools/testing/kunit
parent2434031c7cb4906be2d380981caa1f87d8899288 (diff)
downloadlinux-8a7ccad38f8b25c8202efd69371a022357286400.tar.bz2
kunit: tool: update riscv QEMU config with new serial dependency
The config for the serial console for riscv, CONFIG_SERIAL_EARLYCON_RISCV_SBI, added a dependency, CONFIG_RISCV_SBI_V01, at some point, so add that in to the base arch config. Signed-off-by: Brendan Higgins <brendanhiggins@google.com> Reviewed-by: David Gow <davidgow@google.com> Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to 'tools/testing/kunit')
-rw-r--r--tools/testing/kunit/qemu_configs/riscv.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/testing/kunit/qemu_configs/riscv.py b/tools/testing/kunit/qemu_configs/riscv.py
index b882fde39435..6207be146d26 100644
--- a/tools/testing/kunit/qemu_configs/riscv.py
+++ b/tools/testing/kunit/qemu_configs/riscv.py
@@ -21,6 +21,7 @@ CONFIG_SOC_VIRT=y
CONFIG_SERIAL_8250=y
CONFIG_SERIAL_8250_CONSOLE=y
CONFIG_SERIAL_OF_PLATFORM=y
+CONFIG_RISCV_SBI_V01=y
CONFIG_SERIAL_EARLYCON_RISCV_SBI=y''',
qemu_arch='riscv64',
kernel_path='arch/riscv/boot/Image',