mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-15 17:28:15 +00:00
cd61e86e6d
This patch provides four configurations which can support U-Boot SPL to boot from RAM or FLASH and then boot FIT image including OpenSBI FW_DYNAMIC firmware and U-Boot proper images from RAM or MMC boot devices. With ae350_rv[32|64]_spl_defconfigs: U-Boot SPL will be loaded by gdb or FSBL and runs in RAM in machine mode and then load FIT image from RAM device on AE350. With ae350_rv[32|64]_spl_xip_defconfigs: U-Boot SPL can be burned into SPI flash and run in flash in machine mode and then load FIT image from SPI flash or MMC device on AE350. Signed-off-by: Rick Chen <rick@andestech.com> Cc: KC Lin <kclin@andestech.com> Cc: Alan Kao <alankao@andestech.com>
38 lines
570 B
Text
38 lines
570 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 0x01000000
|
|
|
|
config BOARD_SPECIFIC_OPTIONS # dummy
|
|
def_bool y
|
|
select RISCV_NDS
|
|
select SUPPORT_SPL
|
|
imply SMP
|
|
imply SPL_RAM_SUPPORT
|
|
imply SPL_RAM_DEVICE
|
|
|
|
endif
|