From: Leo Liang <ycliang@andestech.com>
To: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Cc: Rick Chen <rick@andestech.com>, <u-boot@lists.denx.de>
Subject: Re: [PATCH 1/1] riscv: add RISC-V fields to bdinfo command
Date: Mon, 8 Jul 2024 19:56:12 +0800 [thread overview]
Message-ID: <ZovT3IcZYSgRx0qe@swlinux02> (raw)
In-Reply-To: <20240607084117.58837-1-heinrich.schuchardt@canonical.com>
On Fri, Jun 07, 2024 at 10:41:17AM +0200, Heinrich Schuchardt wrote:
> The firmware invoking main U-Boot uses
>
> * a0 to pass the boot hart
> * a1 to pass a device-tree
>
> Let the bdinfo command print this information, e.g.
>
> boot hart = 0x000000000000001b
> firmware fdt= 0x0000000087e00000
>
> The firmware fdt field will only be printed if it is non-zero.
>
> Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
> ---
> arch/riscv/lib/Makefile | 1 +
> arch/riscv/lib/bdinfo.c | 18 ++++++++++++++++++
> 2 files changed, 19 insertions(+)
> create mode 100644 arch/riscv/lib/bdinfo.c
Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>
prev parent reply other threads:[~2024-07-08 11:56 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-06-07 8:41 [PATCH 1/1] riscv: add RISC-V fields to bdinfo command Heinrich Schuchardt
2024-07-08 11:56 ` Leo Liang [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ZovT3IcZYSgRx0qe@swlinux02 \
--to=ycliang@andestech.com \
--cc=heinrich.schuchardt@canonical.com \
--cc=rick@andestech.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.