blob: 622246127c1f3a5fa83238217668ff3211fe12ed [file] [log] [blame]
Yixun Lan5f3a7fd2023-07-08 19:24:32 +08001if TARGET_TH1520_LPI4A
2
3config ARCH_THEAD
4 bool
5 default y
6
7config SYS_BOARD
8 default "th1520_lpi4a"
9
10config SYS_VENDOR
11 default "thead"
12
13config SYS_CPU
14 default "generic"
15
16config SYS_CONFIG_NAME
17 default "th1520_lpi4a"
18
19config TEXT_BASE
20 default 0x01b00000 if SPL
21 default 0x01c00000 if !RISCV_SMODE
22 default 0x01c00000 if RISCV_SMODE
23
24config SPL_TEXT_BASE
25 default 0x08000000
26
27config SPL_OPENSBI_LOAD_ADDR
28 default 0x80000000
29
30config 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
42endif