All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/1] RISC-V: CONFIG_SPL_OPENSBI_SCRATCH_OPTIONS description
@ 2023-07-04  0:14 Heinrich Schuchardt
  2023-07-05  5:52 ` Leo Liang
  2023-07-05  6:28 ` Anup Patel
  0 siblings, 2 replies; 3+ messages in thread
From: Heinrich Schuchardt @ 2023-07-04  0:14 UTC (permalink / raw)
  To: Rick Chen, Leo Yu-Chi Liang
  Cc: Nikita Shubin, Anup Patel, u-boot, Heinrich Schuchardt

Describe which numeric values can be used for as scratch options for
OpenSBI.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
---
 common/spl/Kconfig | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/common/spl/Kconfig b/common/spl/Kconfig
index 2c042ad306..7f99889ec3 100644
--- a/common/spl/Kconfig
+++ b/common/spl/Kconfig
@@ -1524,8 +1524,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'"
-- 
2.40.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH 1/1] RISC-V: CONFIG_SPL_OPENSBI_SCRATCH_OPTIONS description
  2023-07-04  0:14 [PATCH 1/1] RISC-V: CONFIG_SPL_OPENSBI_SCRATCH_OPTIONS description Heinrich Schuchardt
@ 2023-07-05  5:52 ` Leo Liang
  2023-07-05  6:28 ` Anup Patel
  1 sibling, 0 replies; 3+ messages in thread
From: Leo Liang @ 2023-07-05  5:52 UTC (permalink / raw)
  To: Heinrich Schuchardt; +Cc: Rick Chen, Nikita Shubin, Anup Patel, u-boot

On Tue, Jul 04, 2023 at 02:14:21AM +0200, Heinrich Schuchardt wrote:
> Describe which numeric values can be used for as scratch options for
> OpenSBI.
> 
> Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
> ---
>  common/spl/Kconfig | 6 ++++--
>  1 file changed, 4 insertions(+), 2 deletions(-)
>

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH 1/1] RISC-V: CONFIG_SPL_OPENSBI_SCRATCH_OPTIONS description
  2023-07-04  0:14 [PATCH 1/1] RISC-V: CONFIG_SPL_OPENSBI_SCRATCH_OPTIONS description Heinrich Schuchardt
  2023-07-05  5:52 ` Leo Liang
@ 2023-07-05  6:28 ` Anup Patel
  1 sibling, 0 replies; 3+ messages in thread
From: Anup Patel @ 2023-07-05  6:28 UTC (permalink / raw)
  To: Heinrich Schuchardt; +Cc: Rick Chen, Leo Yu-Chi Liang, Nikita Shubin, u-boot

On Tue, Jul 4, 2023 at 5:44 AM Heinrich Schuchardt
<heinrich.schuchardt@canonical.com> wrote:
>
> Describe which numeric values can be used for as scratch options for
> OpenSBI.
>
> Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>

Looks good to me.

Reviewed-by: Anup Patel <anup@brainfault.org>

Regards,
Anup

> ---
>  common/spl/Kconfig | 6 ++++--
>  1 file changed, 4 insertions(+), 2 deletions(-)
>
> diff --git a/common/spl/Kconfig b/common/spl/Kconfig
> index 2c042ad306..7f99889ec3 100644
> --- a/common/spl/Kconfig
> +++ b/common/spl/Kconfig
> @@ -1524,8 +1524,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'"
> --
> 2.40.1
>

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-07-05  6:28 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-04  0:14 [PATCH 1/1] RISC-V: CONFIG_SPL_OPENSBI_SCRATCH_OPTIONS description Heinrich Schuchardt
2023-07-05  5:52 ` Leo Liang
2023-07-05  6:28 ` Anup Patel

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.