mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-12 16:07:30 +00:00
c5740bc1b2
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>
44 lines
679 B
Text
44 lines
679 B
Text
if TARGET_AX25_AE350
|
|
|
|
config SYS_CPU
|
|
default "ax25"
|
|
|
|
config SYS_BOARD
|
|
default "ax25-ae350"
|
|
|
|
config SYS_VENDOR
|
|
default "AndesTech"
|
|
|
|
config SYS_SOC
|
|
default "ae350"
|
|
|
|
config SYS_CONFIG_NAME
|
|
default "ax25-ae350"
|
|
|
|
config ENV_SIZE
|
|
default 0x2000 if ENV_IS_IN_SPI_FLASH
|
|
|
|
config ENV_OFFSET
|
|
default 0x140000 if ENV_IS_IN_SPI_FLASH
|
|
|
|
config SPL_TEXT_BASE
|
|
default 0x800000
|
|
|
|
config SPL_OPENSBI_LOAD_ADDR
|
|
default 0x00000000
|
|
|
|
config SYS_FDT_BASE
|
|
hex
|
|
default 0x800f0000 if OF_SEPARATE
|
|
|
|
config BOARD_SPECIFIC_OPTIONS # dummy
|
|
def_bool y
|
|
select RISCV_NDS
|
|
select SUPPORT_SPL
|
|
select BINMAN if SPL
|
|
imply SMP
|
|
imply SPL_RAM_SUPPORT
|
|
imply SPL_RAM_DEVICE
|
|
imply OF_HAS_PRIOR_STAGE
|
|
|
|
endif
|