]> git.baikalelectronics.ru Git - uboot.git/commit
riscv: ae350: support OpenSBI 1.0+ which enable FW_PIC
authorRick Chen <rick@andestech.com>
Wed, 4 Jan 2023 02:37:48 +0000 (10:37 +0800)
committerLeo Yu-Chi Liang <ycliang@andestech.com>
Wed, 1 Feb 2023 08:17:53 +0000 (16:17 +0800)
commit115afef972daab548385844b5c3fd0483bdb8b9b
treed582a87302ddf3790def2954006b13d9011b8810
parent3a6d9afca0023d0cec0a55743deb571e02f35600
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 4573f6e735af
("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>
board/AndesTech/ax25-ae350/Kconfig