On Sat, Apr 18, 2020 at 2:10 PM Atish Patra <atish.pa...@wdc.com> wrote:
>

nits: Device => device in the commit title

> Linux booting protocol mandates that register "a0" contains the hartid.
> However, U-boot can not pass the hartid via a0 during via standard UEFI

nits: U-boot => U-Boot

> protocol. DT nodes are commonly used to pass such information to the OS.
>
> Add a DT node under chosen node to indicate the boot hartid. EFI stub
> in Linux kernel will parse this node and pass it to the real kernel
> in "a0" before jumping to it.
>
> Signed-off-by: Atish Patra <atish.pa...@wdc.com>
> Reviewed-by: Rick Chen <r...@andestech.com>
> Tested-by: Heinrich Schuchardt <xypron.g...@gmx.de>
> ---
>  arch/riscv/lib/bootm.c | 22 ++++++++++++++++++++++
>  1 file changed, 22 insertions(+)
>

Reviewed-by: Bin Meng <bmeng...@gmail.com>

Reply via email to