Randolph | 6c9c5ba | 2023-09-25 17:24:51 +0800 | [diff] [blame] | 1 | if TARGET_ANDES_AE350 |
Rick Chen | 36cb27c | 2017-12-26 13:55:53 +0800 | [diff] [blame] | 2 | |
3 | config SYS_CPU | ||||
Leo Yu-Chi Liang | 5d0bbea | 2024-05-14 17:50:11 +0800 | [diff] [blame] | 4 | default "andes" |
Rick Chen | 36cb27c | 2017-12-26 13:55:53 +0800 | [diff] [blame] | 5 | |
6 | config SYS_BOARD | ||||
Leo Yu-Chi Liang | 249ce73 | 2023-02-14 20:42:49 +0800 | [diff] [blame] | 7 | default "ae350" |
Rick Chen | 36cb27c | 2017-12-26 13:55:53 +0800 | [diff] [blame] | 8 | |
9 | config SYS_VENDOR | ||||
Leo Yu-Chi Liang | 5d0bbea | 2024-05-14 17:50:11 +0800 | [diff] [blame] | 10 | default "andestech" |
Rick Chen | 36cb27c | 2017-12-26 13:55:53 +0800 | [diff] [blame] | 11 | |
12 | config SYS_SOC | ||||
Rick Chen | 692e017 | 2018-05-29 10:06:42 +0800 | [diff] [blame] | 13 | default "ae350" |
Rick Chen | 36cb27c | 2017-12-26 13:55:53 +0800 | [diff] [blame] | 14 | |
15 | config SYS_CONFIG_NAME | ||||
Leo Yu-Chi Liang | 249ce73 | 2023-02-14 20:42:49 +0800 | [diff] [blame] | 16 | default "ae350" |
Rick Chen | 36cb27c | 2017-12-26 13:55:53 +0800 | [diff] [blame] | 17 | |
18 | config ENV_SIZE | ||||
19 | default 0x2000 if ENV_IS_IN_SPI_FLASH | ||||
20 | |||||
21 | config ENV_OFFSET | ||||
22 | default 0x140000 if ENV_IS_IN_SPI_FLASH | ||||
23 | |||||
Rick Chen | c3027d0 | 2019-11-14 13:52:22 +0800 | [diff] [blame] | 24 | config SPL_TEXT_BASE |
25 | default 0x800000 | ||||
26 | |||||
27 | config SPL_OPENSBI_LOAD_ADDR | ||||
Rick Chen | 1e5d809 | 2023-01-04 10:37:48 +0800 | [diff] [blame] | 28 | default 0x00000000 |
Rick Chen | c3027d0 | 2019-11-14 13:52:22 +0800 | [diff] [blame] | 29 | |
Tom Rini | 27f7dcf | 2022-05-28 09:13:59 -0400 | [diff] [blame] | 30 | config SYS_FDT_BASE |
31 | hex | ||||
32 | default 0x800f0000 if OF_SEPARATE | ||||
33 | |||||
Bin Meng | 4b284ad | 2018-12-12 06:12:28 -0800 | [diff] [blame] | 34 | config BOARD_SPECIFIC_OPTIONS # dummy |
35 | def_bool y | ||||
Leo Yu-Chi Liang | 5d0bbea | 2024-05-14 17:50:11 +0800 | [diff] [blame] | 36 | select RISCV_ANDES |
Rick Chen | c3027d0 | 2019-11-14 13:52:22 +0800 | [diff] [blame] | 37 | select SUPPORT_SPL |
Bin Meng | 6b977a4 | 2021-05-10 20:23:40 +0800 | [diff] [blame] | 38 | select BINMAN if SPL |
Rick Chen | f8512f7 | 2019-04-02 15:56:44 +0800 | [diff] [blame] | 39 | imply SMP |
Rick Chen | c3027d0 | 2019-11-14 13:52:22 +0800 | [diff] [blame] | 40 | imply SPL_RAM_SUPPORT |
41 | imply SPL_RAM_DEVICE | ||||
Rick Chen | 648b640 | 2022-04-20 09:14:05 +0800 | [diff] [blame] | 42 | imply OF_HAS_PRIOR_STAGE |
Bin Meng | 4b284ad | 2018-12-12 06:12:28 -0800 | [diff] [blame] | 43 | |
Rick Chen | 36cb27c | 2017-12-26 13:55:53 +0800 | [diff] [blame] | 44 | endif |