[U-Boot] [PATCH 24/30] riscv: save hart ID and device tree passed by prior boot stage
Bin Meng
bmeng.cn at gmail.com
Mon Oct 22 09:19:55 UTC 2018
On Sat, Oct 20, 2018 at 6:11 AM Lukas Auer
<lukas.auer at aisec.fraunhofer.de> wrote:
>
> Store the hart ID and device tree passed by the prior boot stage (in a0
> and a1) in registers s0 and s1. Replace one use of s1 in start.S to
> avoid overwriting it.
>
> The device tree is also stored in memory to make it available to u-boot
nits: U-Boot
> with the configuration CONFIG_OF_PRIOR_STAGE.
>
> Signed-off-by: Lukas Auer <lukas.auer at aisec.fraunhofer.de>
> ---
>
> arch/riscv/cpu/cpu.c | 6 ++++++
> arch/riscv/cpu/start.S | 12 ++++++++++--
> 2 files changed, 16 insertions(+), 2 deletions(-)
>
Reviewed-by: Bin Meng <bmeng.cn at gmail.com>
More information about the U-Boot
mailing list