aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>2023-07-04 02:14:21 +0200
committerLeo Yu-Chi Liang <ycliang@andestech.com>2023-07-06 17:28:08 +0800
commit9eb0fc24c9804118e44b70851b1ad03aa1fc8cd4 (patch)
tree971d3516275a35b3fdfe6d2608f6c76dde45b523
parent422fc299df9b873e7e485db08621e5fb499c6a8f (diff)
downloadu-boot-9eb0fc24c9804118e44b70851b1ad03aa1fc8cd4.zip
u-boot-9eb0fc24c9804118e44b70851b1ad03aa1fc8cd4.tar.gz
u-boot-9eb0fc24c9804118e44b70851b1ad03aa1fc8cd4.tar.bz2
RISC-V: CONFIG_SPL_OPENSBI_SCRATCH_OPTIONS description
Describe which numeric values can be used for as scratch options for OpenSBI. Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com> Reviewed-by: Anup Patel <anup@brainfault.org>
-rw-r--r--common/spl/Kconfig6
1 files changed, 4 insertions, 2 deletions
diff --git a/common/spl/Kconfig b/common/spl/Kconfig
index 865571d..bee231b 100644
--- a/common/spl/Kconfig
+++ b/common/spl/Kconfig
@@ -1461,8 +1461,10 @@ config SPL_OPENSBI_SCRATCH_OPTIONS
default 0x1
depends on SPL_OPENSBI
help
- Options passed to fw_dynamic, for example SBI_SCRATCH_NO_BOOT_PRINTS or
- SBI_SCRATCH_DEBUG_PRINTS.
+ This bitmap of options is passed from U-Boot SPL to OpenSBI.
+ As of OpenSBI 1.3 the following bits are defined:
+ - SBI_SCRATCH_NO_BOOT_PRINTS = 0x1 (Disable prints during boot)
+ - SBI_SCRATCH_DEBUG_PRINTS = 0x2 (Enable runtime debug prints)
config SPL_TARGET
string "Addtional build targets for 'make'"