[PATCH 5/5] riscv: select OF_HAS_PRIOR_STAGE by default if SBI is enabled
Leo Liang
ycliang at andestech.com
Thu Mar 6 12:09:06 CET 2025
On Thu, Feb 27, 2025 at 02:47:33PM +0000, Yao Zi wrote:
> Availability of RISC-V SBI service implies a prior stage exists. As SBI
> firmware usually passes a FDT to the loaded program, let's select
> OF_HAS_PRIOR_STAGE if SBI is enabled.
>
> With previously added fallback version of board_fdt_blob_setup, S-Mode
> RISC-V ports use the SBI-provided FDT by default. This covers the most
> common usecase, where a SPL (probably the U-Boot one) selects proper
> devicetree, loads SBI and U-Boot then invokes SBI with the devicetree.
>
> Signed-off-by: Yao Zi <ziyao at disroot.org>
> Reviewed-by: Leo Yu-Chi Liang <ycliang at andestech.com>
> ---
> arch/riscv/Kconfig | 1 +
> 1 file changed, 1 insertion(+)
Hi Yao,
This patch would fail some of the CI tests.
I will take other patches from this patchset first,
and could you take a look at the CI tests issue ?
(https://source.denx.de/u-boot/custodians/u-boot-riscv/-/jobs/1049827)
Best regards,
Leo
More information about the U-Boot
mailing list