blob: d7e8a7a7d78649a4876dcd496bed66bee317e1e0 [file] [log] [blame]
Yanhong Wang8a4b9972023-03-29 11:42:19 +08001if TARGET_STARFIVE_VISIONFIVE2
2
3config SYS_CPU
4 default "jh7110"
5
6config SYS_BOARD
7 default "visionfive2"
8
9config SYS_VENDOR
10 default "starfive"
11
12config SYS_CONFIG_NAME
13 default "starfive-visionfive2"
14
15config TEXT_BASE
16 default 0x40200000 if SPL
17 default 0x40000000 if !RISCV_SMODE
18 default 0x40200000 if RISCV_SMODE
19
20config SPL_TEXT_BASE
21 default 0x08000000
22
23config SPL_OPENSBI_LOAD_ADDR
24 default 0x80000000
25
26config BOARD_SPECIFIC_OPTIONS # dummy
27 def_bool y
28 select STARFIVE_JH7110
29 select SUPPORT_SPL
30 select BINMAN
31 imply CMD_CPU
32 imply CMD_DHCP
33 imply CMD_EXT2
34 imply CMD_EXT4
35 imply CMD_FAT
36 imply CMD_FS_GENERIC
37 imply CMD_GPIO
38 imply CMD_GPT
39 imply CMD_MMC
40 imply CMD_NET
41 imply CMD_PING
42 imply CMD_SF
43 imply DM_GPIO
44 imply DOS_PARTITION
45 imply EFI_PARTITION
46 imply MII
47 imply IP_DYN
48 imply ISO_PARTITION
49 imply PARTITION_TYPE_GUID
50 imply PHY_LIB
51 imply PHY_MSCC
52
Heinrich Schuchardt89ef0342024-05-12 06:25:22 +020053config STARFIVE_NO_EMMC
54 bool "Report eMMC size as zero"
55 help
56 The serial number string in the EEPROM is meant to report the
57 size of onboard eMMC. Unfortunately some Milk-V Mars CM Lite
58 modules without eMMC show a non-zero size here.
59
60 Set to 'Y' if you have a Mars CM Lite module.
61
Yanhong Wang8a4b9972023-03-29 11:42:19 +080062endif