mirror of
https://github.com/u-boot/u-boot.git
synced 2024-12-05 18:43:27 +08:00
riscv: ae350: support OpenSBI 1.0+ which enable FW_PIC
Original OpenSBI (without FW_PIC) will relocate itself
from 0x1000000 to 0x0. After OpenSBI added FW_PIC codes,
it will not relocate any more and always run at 0x1000000.
Hence, it may overlap with Kernel memory region. So it is
necessary to change OpenSBI address from 0x1000000 to 0x0.
More details can refer to commit cb052d7712
("riscv: qemu: spl: Fix booting Linux kernel with OpenSBI 1.0+")
Signed-off-by: Rick Chen <rick@andestech.com>
Reviewed-by: Samuel Holland <samuel@sholland.org>
Reviewed-by: Bin Meng <bmeng@tinylab.org>
This commit is contained in:
parent
3c60e59a4f
commit
c5740bc1b2
@ -25,7 +25,7 @@ config SPL_TEXT_BASE
|
|||||||
default 0x800000
|
default 0x800000
|
||||||
|
|
||||||
config SPL_OPENSBI_LOAD_ADDR
|
config SPL_OPENSBI_LOAD_ADDR
|
||||||
default 0x01000000
|
default 0x00000000
|
||||||
|
|
||||||
config SYS_FDT_BASE
|
config SYS_FDT_BASE
|
||||||
hex
|
hex
|
||||||
|
Loading…
Reference in New Issue
Block a user