blob: a85e7d6351702861cb84ba0ff5687017adb7b197 [file] [log] [blame]
Randolph6c9c5ba2023-09-25 17:24:51 +08001if TARGET_ANDES_AE350
Rick Chen36cb27c2017-12-26 13:55:53 +08002
3config SYS_CPU
Leo Yu-Chi Liang249ce732023-02-14 20:42:49 +08004 default "andesv5"
Rick Chen36cb27c2017-12-26 13:55:53 +08005
6config SYS_BOARD
Leo Yu-Chi Liang249ce732023-02-14 20:42:49 +08007 default "ae350"
Rick Chen36cb27c2017-12-26 13:55:53 +08008
9config SYS_VENDOR
10 default "AndesTech"
11
12config SYS_SOC
Rick Chen692e0172018-05-29 10:06:42 +080013 default "ae350"
Rick Chen36cb27c2017-12-26 13:55:53 +080014
15config SYS_CONFIG_NAME
Leo Yu-Chi Liang249ce732023-02-14 20:42:49 +080016 default "ae350"
Rick Chen36cb27c2017-12-26 13:55:53 +080017
18config ENV_SIZE
19 default 0x2000 if ENV_IS_IN_SPI_FLASH
20
21config ENV_OFFSET
22 default 0x140000 if ENV_IS_IN_SPI_FLASH
23
Rick Chenc3027d02019-11-14 13:52:22 +080024config SPL_TEXT_BASE
25 default 0x800000
26
27config SPL_OPENSBI_LOAD_ADDR
Rick Chen1e5d8092023-01-04 10:37:48 +080028 default 0x00000000
Rick Chenc3027d02019-11-14 13:52:22 +080029
Tom Rini27f7dcf2022-05-28 09:13:59 -040030config SYS_FDT_BASE
31 hex
32 default 0x800f0000 if OF_SEPARATE
33
Bin Meng4b284ad2018-12-12 06:12:28 -080034config BOARD_SPECIFIC_OPTIONS # dummy
35 def_bool y
36 select RISCV_NDS
Rick Chenc3027d02019-11-14 13:52:22 +080037 select SUPPORT_SPL
Bin Meng6b977a42021-05-10 20:23:40 +080038 select BINMAN if SPL
Rick Chenf8512f72019-04-02 15:56:44 +080039 imply SMP
Rick Chenc3027d02019-11-14 13:52:22 +080040 imply SPL_RAM_SUPPORT
41 imply SPL_RAM_DEVICE
Rick Chen648b6402022-04-20 09:14:05 +080042 imply OF_HAS_PRIOR_STAGE
Bin Meng4b284ad2018-12-12 06:12:28 -080043
Rick Chen36cb27c2017-12-26 13:55:53 +080044endif