Yixun Lan | 5dfa901 | 2023-07-08 19:24:32 +0800 | [diff] [blame] | 1 | if TARGET_TH1520_LPI4A |
| 2 | |
| 3 | config ARCH_THEAD |
| 4 | bool |
| 5 | default y |
| 6 | |
| 7 | config SYS_BOARD |
| 8 | default "th1520_lpi4a" |
| 9 | |
| 10 | config SYS_VENDOR |
| 11 | default "thead" |
| 12 | |
| 13 | config SYS_CPU |
| 14 | default "generic" |
| 15 | |
| 16 | config SYS_CONFIG_NAME |
| 17 | default "th1520_lpi4a" |
| 18 | |
| 19 | config TEXT_BASE |
| 20 | default 0x01b00000 if SPL |
| 21 | default 0x01c00000 if !RISCV_SMODE |
| 22 | default 0x01c00000 if RISCV_SMODE |
| 23 | |
| 24 | config SPL_TEXT_BASE |
| 25 | default 0x08000000 |
| 26 | |
| 27 | config SPL_OPENSBI_LOAD_ADDR |
| 28 | default 0x80000000 |
| 29 | |
| 30 | config BOARD_SPECIFIC_OPTIONS |
| 31 | def_bool y |
| 32 | select ARCH_EARLY_INIT_R |
| 33 | imply CPU |
| 34 | imply CPU_RISCV |
| 35 | imply RISCV_TIMER if RISCV_SMODE |
| 36 | imply CMD_CPU |
| 37 | imply SMP |
| 38 | imply SUPPORT_OF_CONTROL |
| 39 | imply OF_CONTROL |
| 40 | imply OF_REAL |
| 41 | |
| 42 | endif |