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:
|
||
|---|---|---|
| .. | ||
| ax25 | ||
| fu540 | ||
| fu740 | ||
| generic | ||
| Makefile | ||
| cpu.c | ||
| mtrap.S | ||
| start.S | ||
| u-boot-spl.lds | ||
| u-boot.lds | ||