1if TARGET_SIFIVE_FU540
2
3config SYS_BOARD
4	default "fu540"
5
6config SYS_VENDOR
7	default "sifive"
8
9config SYS_CPU
10	default "fu540"
11
12config SYS_CONFIG_NAME
13	default "sifive-fu540"
14
15config SYS_TEXT_BASE
16	default 0x80200000 if SPL
17	default 0x80000000 if !RISCV_SMODE
18	default 0x80200000 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 SIFIVE_FU540
29	select ENV_IS_IN_SPI_FLASH
30	imply CMD_DHCP
31	imply CMD_EXT2
32	imply CMD_EXT4
33	imply CMD_FAT
34	imply CMD_FS_GENERIC
35	imply CMD_GPT
36	imply PARTITION_TYPE_GUID
37	imply CMD_NET
38	imply CMD_PING
39	imply CMD_SF
40	imply DOS_PARTITION
41	imply EFI_PARTITION
42	imply IP_DYN
43	imply ISO_PARTITION
44	imply PHY_LIB
45	imply PHY_MSCC
46	imply SPI_FLASH
47	imply SPI_FLASH_ISSI
48	imply SYSRESET
49	imply SYSRESET_GPIO
50	imply CMD_I2C
51
52endif
53