u-boot/arch/riscv/cpu
Bin Meng 51ab4570f3 riscv: Save boot hart id to the global data
At present the hart id passed via a0 in the U-Boot entry is saved
to s0 at the beginning but does not preserve later. Save it to the
global data structure so that it can be used later.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Lukas Auer <lukas.auer@aisec.fraunhofer.de>
Reviewed-by: Anup Patel <anup@brainfault.org>
2018-12-18 09:56:27 +08:00
..
ax25 riscv: ax25: Hide the ax25-specific Kconfig option 2018-12-18 09:56:26 +08:00
qemu riscv: Probe cpus during boot 2018-12-18 09:56:27 +08:00
cpu.c riscv: Do some basic architecture level cpu initialization 2018-12-18 09:56:27 +08:00
Makefile riscv: Move trap handler codes to mtrap.S 2018-12-18 09:56:27 +08:00
mtrap.S riscv: Return to previous privilege level after trap handling 2018-12-18 09:56:27 +08:00
start.S riscv: Save boot hart id to the global data 2018-12-18 09:56:27 +08:00
u-boot.lds riscv: Make start.S available for all targets 2018-10-03 17:48:14 +08:00