u-boot/arch/riscv/cpu
Lukas Auer 5d8b2e7711 riscv: save hart ID and device tree passed by prior boot stage
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
with the configuration CONFIG_OF_PRIOR_STAGE.

Signed-off-by: Lukas Auer <lukas.auer@aisec.fraunhofer.de>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Rick Chen <rick@andestech.com>
2018-11-26 13:57:32 +08:00
..
ax25 riscv: Move do_reset() to a common place 2018-10-03 17:48:43 +08:00
qemu riscv: Move do_reset() to a common place 2018-10-03 17:48:43 +08:00
cpu.c riscv: save hart ID and device tree passed by prior boot stage 2018-11-26 13:57:32 +08:00
Makefile riscv: Make start.S available for all targets 2018-10-03 17:48:14 +08:00
start.S riscv: save hart ID and device tree passed by prior boot stage 2018-11-26 13:57:32 +08:00
u-boot.lds riscv: Make start.S available for all targets 2018-10-03 17:48:14 +08:00