Leo Yu-Chi Liang | 8900e2b | 2023-02-14 20:42:49 +0800 | [diff] [blame] | 1 | if TARGET_AE350 |
Rick Chen | 7885ea8 | 2017-12-26 13:55:53 +0800 | [diff] [blame] | 2 | |
3 | config SYS_CPU | ||||
Leo Yu-Chi Liang | 8900e2b | 2023-02-14 20:42:49 +0800 | [diff] [blame] | 4 | default "andesv5" |
Rick Chen | 7885ea8 | 2017-12-26 13:55:53 +0800 | [diff] [blame] | 5 | |
6 | config SYS_BOARD | ||||
Leo Yu-Chi Liang | 8900e2b | 2023-02-14 20:42:49 +0800 | [diff] [blame] | 7 | default "ae350" |
Rick Chen | 7885ea8 | 2017-12-26 13:55:53 +0800 | [diff] [blame] | 8 | |
9 | config SYS_VENDOR | ||||
10 | default "AndesTech" | ||||
11 | |||||
12 | config SYS_SOC | ||||
Rick Chen | 28c6cf2 | 2018-05-29 10:06:42 +0800 | [diff] [blame] | 13 | default "ae350" |
Rick Chen | 7885ea8 | 2017-12-26 13:55:53 +0800 | [diff] [blame] | 14 | |
15 | config SYS_CONFIG_NAME | ||||
Leo Yu-Chi Liang | 8900e2b | 2023-02-14 20:42:49 +0800 | [diff] [blame] | 16 | default "ae350" |
Rick Chen | 7885ea8 | 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 | cd61e86 | 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 | c5740bc | 2023-01-04 10:37:48 +0800 | [diff] [blame] | 28 | default 0x00000000 |
Rick Chen | cd61e86 | 2019-11-14 13:52:22 +0800 | [diff] [blame] | 29 | |
Tom Rini | 14b4817 | 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 | 44fe795 | 2018-12-12 06:12:28 -0800 | [diff] [blame] | 34 | config BOARD_SPECIFIC_OPTIONS # dummy |
35 | def_bool y | ||||
36 | select RISCV_NDS | ||||
Rick Chen | cd61e86 | 2019-11-14 13:52:22 +0800 | [diff] [blame] | 37 | select SUPPORT_SPL |
Bin Meng | cc269e1 | 2021-05-10 20:23:40 +0800 | [diff] [blame] | 38 | select BINMAN if SPL |
Rick Chen | 076b845 | 2019-04-02 15:56:44 +0800 | [diff] [blame] | 39 | imply SMP |
Rick Chen | cd61e86 | 2019-11-14 13:52:22 +0800 | [diff] [blame] | 40 | imply SPL_RAM_SUPPORT |
41 | imply SPL_RAM_DEVICE | ||||
Rick Chen | b277a95 | 2022-04-20 09:14:05 +0800 | [diff] [blame] | 42 | imply OF_HAS_PRIOR_STAGE |
Bin Meng | 44fe795 | 2018-12-12 06:12:28 -0800 | [diff] [blame] | 43 | |
Rick Chen | 7885ea8 | 2017-12-26 13:55:53 +0800 | [diff] [blame] | 44 | endif |