u-boot-brain/arch/riscv
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
..
cpu riscv: save hart ID and device tree passed by prior boot stage 2018-11-26 13:57:32 +08:00
dts riscv: ae350: Clean up mixed tabs and spaces in the dts 2018-10-03 17:48:19 +08:00
include/asm riscv: do not reimplement generic io functions 2018-11-26 13:57:30 +08:00
lib riscv: implement the invalidate_icache_* functions 2018-11-26 13:57:31 +08:00
config.mk riscv: enable -fdata-sections 2018-11-26 13:57:29 +08:00
Kconfig riscv: add Kconfig entries for the C and A ISA extensions 2018-11-26 13:57:29 +08:00
Makefile riscv: set -march and -mabi based on the Kconfig configuration 2018-11-26 13:57:29 +08:00