u-boot/board/AndesTech/ax25-ae350
Leo Yu-Chi Liang f4512618ca riscv: ae350: Fix XIP config boot failure
The booting flow is SPL -> OpenSBI -> U-Boot.
The boot hart may change after OpenSBI and may not always be hart0,
so wrap the related branch instruction with M-MODE.

Current DTB setup for XIP is not valid.
There is no chance for CONFIG_SYS_FDT_BASE, the DTB address used
in XIP mode, to be returned. Fix this.

Fixes: 2e8d2f8843 ("riscv: Remove OF_PRIOR_STAGE from RISC-V boards")
Signed-off-by: Rick Chen <rick@andestech.com>
Signed-off-by: Leo Yu-Chi Liang <ycliang@andestech.com>
2022-08-11 18:46:07 +08:00
..
ax25-ae350.c riscv: ae350: Fix XIP config boot failure 2022-08-11 18:46:07 +08:00
Kconfig ax25-ae350: Move CONFIG_SYS_FDT_BASE to Kconfig 2022-06-06 12:09:29 -04:00
MAINTAINERS riscv: ax25-ae350: add SPL configuration 2019-12-10 08:23:10 +08:00
Makefile board: nx25-ae250: Rename as ax25-ae350 2018-05-29 14:45:02 +08:00