[PATCH] spl: opensbi: convert scratch options to config

Leo Liang ycliang at andestech.com
Wed Aug 10 10:03:46 CEST 2022


On Mon, Aug 08, 2022 at 01:28:52PM +0300, Nikita Shubin wrote:
> From: Nikita Shubin <n.shubin at yadro.com>
> 
> Convert hardcoded "opensbi_info.options" to config provided value, this
> allows changing options passed to OpenSBI.
> 
> SPL_OPENSBI_SCRATCH_OPTIONS is defaulted to SBI_SCRATCH_NO_BOOT_PRINTS.
> 
> Link: https://github.com/riscv-software-src/opensbi/blob/master/docs/firmware/fw_dynamic.md
> Signed-off-by: Nikita Shubin <n.shubin at yadro.com>
> ---
>  common/spl/Kconfig       | 8 ++++++++
>  common/spl/spl_opensbi.c | 2 +-
>  2 files changed, 9 insertions(+), 1 deletion(-)

Reviewed-by: Leo Yu-Chi Liang <ycliang at andestech.com>


More information about the U-Boot mailing list