]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
RISC-V: CONFIG_SPL_OPENSBI_SCRATCH_OPTIONS description
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Tue, 4 Jul 2023 00:14:21 +0000 (02:14 +0200)
committerLeo Yu-Chi Liang <ycliang@andestech.com>
Thu, 6 Jul 2023 09:28:08 +0000 (17:28 +0800)
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>
common/spl/Kconfig

index 865571d4579cff8119d9bdf5ec524ec348a77e0d..bee231b583a3a7a1d6fe356eca267904f85554ee 100644 (file)
@@ -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'"