]> git.baikalelectronics.ru Git - uboot.git/commit
spl: opensbi: convert scratch options to config
authorNikita Shubin <n.shubin@yadro.com>
Mon, 8 Aug 2022 10:28:52 +0000 (13:28 +0300)
committerLeo Yu-Chi Liang <ycliang@andestech.com>
Thu, 11 Aug 2022 10:46:41 +0000 (18:46 +0800)
commit482b5103e90feb30e3db80590d783b7e84cf93a5
tree6317ada727439315f77a8df999b5fd4d5bef5e35
parent25b473d0fe5816b93c1d9a86c21981ef49570657
spl: opensbi: convert scratch options to config

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@yadro.com>
Reviewed-by: Anup Patel <anup@brainfault.org>
Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>
common/spl/Kconfig
common/spl/spl_opensbi.c