[PATCH 1/1] riscv: enable CONFIG_CMD_SBI for QEMU boards

Heinrich Schuchardt heinrich.schuchardt at canonical.com
Wed Mar 23 22:46:43 CET 2022


Let CONFIG_TARGET_QEMU_VIRT imply CONFIG_CMD_SBI.

The sbi command provides detailed information about the SBI.
It is useful to test the discovery of extensions.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt at canonical.com>
---
 board/emulation/qemu-riscv/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/board/emulation/qemu-riscv/Kconfig b/board/emulation/qemu-riscv/Kconfig
index 02bf84725b..d8c57e6bb0 100644
--- a/board/emulation/qemu-riscv/Kconfig
+++ b/board/emulation/qemu-riscv/Kconfig
@@ -37,6 +37,7 @@ config BOARD_SPECIFIC_OPTIONS # dummy
 	imply SPL_RAM_DEVICE
 	imply CMD_PCI
 	imply CMD_POWEROFF
+	imply CMD_SBI
 	imply CMD_SCSI
 	imply CMD_PING
 	imply CMD_EXT2
-- 
2.34.1



More information about the U-Boot mailing list