diff mbox series

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

Message ID 20220323214643.14874-1-heinrich.schuchardt@canonical.com
State Accepted
Commit 22e324c6381a7c59b3ae6e6bf860f34e4c7b3fe8
Delegated to: Andes
Headers show
Series [1/1] riscv: enable CONFIG_CMD_SBI for QEMU boards | expand

Commit Message

Heinrich Schuchardt March 23, 2022, 9:46 p.m. UTC
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@canonical.com>
---
 board/emulation/qemu-riscv/Kconfig | 1 +
 1 file changed, 1 insertion(+)

Comments

Bin Meng March 24, 2022, 12:56 a.m. UTC | #1
On Thu, Mar 24, 2022 at 5:46 AM Heinrich Schuchardt
<heinrich.schuchardt@canonical.com> wrote:
>
> 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@canonical.com>
> ---
>  board/emulation/qemu-riscv/Kconfig | 1 +
>  1 file changed, 1 insertion(+)
>

Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
diff mbox series

Patch

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