blob: 193c890046e4cf5da235bc049de2bd5dc4635728 [file] [log] [blame]
Tianrui Wei8a44fe62021-07-01 12:54:19 +08001if TARGET_OPENPITON_RISCV64
2
3config SYS_BOARD
4 default "riscv64"
5
6config SYS_VENDOR
7 default "openpiton"
8
9config SYS_CPU
10 default "generic"
11
12config SYS_CONFIG_NAME
13 default "openpiton-riscv64"
14
15config SYS_TEXT_BASE
16 default 0x81000000 if SPL
17 default 0x80000000 if !RISCV_SMODE
18 default 0x81000000 if RISCV_SMODE
19
20config SPL_TEXT_BASE
21 default 0x82000000
22
23config SPL_OPENSBI_LOAD_ADDR
24 default 0x80000000
25
26config BOARD_SPECIFIC_OPTIONS # dummy
27 def_bool y
28 select ARCH_EARLY_INIT_R
29 select SUPPORT_SPL
30 imply CPU_RISCV
31 imply RISCV_TIMER
32 imply SPL_SIFIVE_CLINT
33 imply CMD_CPU
34 imply SPL_CPU_SUPPORT
35 imply SPL_SMP
36 imply SPL_MMC
37 imply SMP
38 imply SPL_RISCV_MMODE
39
40endif