* [PATCH v2 1/1] configs: qemu-riscvXX_spl_defconfig enable CMD_SBI
@ 2021-09-04 9:53 Heinrich Schuchardt
2021-09-04 13:25 ` Bin Meng
0 siblings, 1 reply; 2+ messages in thread
From: Heinrich Schuchardt @ 2021-09-04 9:53 UTC (permalink / raw)
To: Rick Chen, u-boot
Cc: Bin Meng, Simon Glass, Sean Anderson, Heinrich Schuchardt
Both for 64bit and 32bit at least on one board we should compile the sbi
command. Enabling it on QEMU will allow to write a test for it.
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
---
v2:
additionally enable 32bit
---
configs/qemu-riscv32_spl_defconfig | 1 +
configs/qemu-riscv64_spl_defconfig | 1 +
2 files changed, 2 insertions(+)
diff --git a/configs/qemu-riscv32_spl_defconfig b/configs/qemu-riscv32_spl_defconfig
index 28ac2b3b53..ee81e55272 100644
--- a/configs/qemu-riscv32_spl_defconfig
+++ b/configs/qemu-riscv32_spl_defconfig
@@ -10,6 +10,7 @@ CONFIG_FIT=y
CONFIG_SPL_LOAD_FIT_ADDRESS=0x80200000
CONFIG_DISPLAY_CPUINFO=y
CONFIG_DISPLAY_BOARDINFO=y
+CONFIG_CMD_SBI=y
# CONFIG_CMD_MII is not set
CONFIG_OF_PRIOR_STAGE=y
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
diff --git a/configs/qemu-riscv64_spl_defconfig b/configs/qemu-riscv64_spl_defconfig
index 78cfc410a3..429d4d814e 100644
--- a/configs/qemu-riscv64_spl_defconfig
+++ b/configs/qemu-riscv64_spl_defconfig
@@ -11,6 +11,7 @@ CONFIG_FIT=y
CONFIG_SPL_LOAD_FIT_ADDRESS=0x80200000
CONFIG_DISPLAY_CPUINFO=y
CONFIG_DISPLAY_BOARDINFO=y
+CONFIG_CMD_SBI=y
# CONFIG_CMD_MII is not set
CONFIG_OF_PRIOR_STAGE=y
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
--
2.30.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH v2 1/1] configs: qemu-riscvXX_spl_defconfig enable CMD_SBI
2021-09-04 9:53 [PATCH v2 1/1] configs: qemu-riscvXX_spl_defconfig enable CMD_SBI Heinrich Schuchardt
@ 2021-09-04 13:25 ` Bin Meng
0 siblings, 0 replies; 2+ messages in thread
From: Bin Meng @ 2021-09-04 13:25 UTC (permalink / raw)
To: Heinrich Schuchardt
Cc: Rick Chen, U-Boot Mailing List, Simon Glass, Sean Anderson
On Sat, Sep 4, 2021 at 5:53 PM Heinrich Schuchardt <xypron.glpk@gmx.de> wrote:
>
> Both for 64bit and 32bit at least on one board we should compile the sbi
> command. Enabling it on QEMU will allow to write a test for it.
>
> Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
> ---
> v2:
> additionally enable 32bit
> ---
> configs/qemu-riscv32_spl_defconfig | 1 +
> configs/qemu-riscv64_spl_defconfig | 1 +
> 2 files changed, 2 insertions(+)
>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-09-04 13:25 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-04 9:53 [PATCH v2 1/1] configs: qemu-riscvXX_spl_defconfig enable CMD_SBI Heinrich Schuchardt
2021-09-04 13:25 ` Bin Meng
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.