blob: 75815bf99aa58c62abcb3ea0de80d5196ac5abe5 [file] [log] [blame]
Leo Yu-Chi Liang8900e2b2023-02-14 20:42:49 +08001if TARGET_AE350
Rick Chen7885ea82017-12-26 13:55:53 +08002
3config SYS_CPU
Leo Yu-Chi Liang8900e2b2023-02-14 20:42:49 +08004 default "andesv5"
Rick Chen7885ea82017-12-26 13:55:53 +08005
6config SYS_BOARD
Leo Yu-Chi Liang8900e2b2023-02-14 20:42:49 +08007 default "ae350"
Rick Chen7885ea82017-12-26 13:55:53 +08008
9config SYS_VENDOR
10 default "AndesTech"
11
12config SYS_SOC
Rick Chen28c6cf22018-05-29 10:06:42 +080013 default "ae350"
Rick Chen7885ea82017-12-26 13:55:53 +080014
15config SYS_CONFIG_NAME
Leo Yu-Chi Liang8900e2b2023-02-14 20:42:49 +080016 default "ae350"
Rick Chen7885ea82017-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 Chencd61e862019-11-14 13:52:22 +080024config SPL_TEXT_BASE
25 default 0x800000
26
27config SPL_OPENSBI_LOAD_ADDR
Rick Chenc5740bc2023-01-04 10:37:48 +080028 default 0x00000000
Rick Chencd61e862019-11-14 13:52:22 +080029
Tom Rini14b48172022-05-28 09:13:59 -040030config SYS_FDT_BASE
31 hex
32 default 0x800f0000 if OF_SEPARATE
33
Bin Meng44fe7952018-12-12 06:12:28 -080034config BOARD_SPECIFIC_OPTIONS # dummy
35 def_bool y
36 select RISCV_NDS
Rick Chencd61e862019-11-14 13:52:22 +080037 select SUPPORT_SPL
Bin Mengcc269e12021-05-10 20:23:40 +080038 select BINMAN if SPL
Rick Chen076b8452019-04-02 15:56:44 +080039 imply SMP
Rick Chencd61e862019-11-14 13:52:22 +080040 imply SPL_RAM_SUPPORT
41 imply SPL_RAM_DEVICE
Rick Chenb277a952022-04-20 09:14:05 +080042 imply OF_HAS_PRIOR_STAGE
Bin Meng44fe7952018-12-12 06:12:28 -080043
Rick Chen7885ea82017-12-26 13:55:53 +080044endif