blob: 4a77a2a37b128d2852f36676c6d78d2c4492d247 [file] [log] [blame]
Anup Patel3fda0262019-02-25 08:15:19 +00001if TARGET_SIFIVE_FU540
2
3config SYS_BOARD
4 default "fu540"
5
6config SYS_VENDOR
7 default "sifive"
8
9config SYS_CPU
Pragnesh Patel7c45fc92020-05-29 11:33:34 +053010 default "fu540"
Anup Patel3fda0262019-02-25 08:15:19 +000011
12config SYS_CONFIG_NAME
13 default "sifive-fu540"
14
15config SYS_TEXT_BASE
Pragnesh Patel01cdef22020-05-29 11:33:35 +053016 default 0x80200000 if SPL
Anup Patel3fda0262019-02-25 08:15:19 +000017 default 0x80000000 if !RISCV_SMODE
18 default 0x80200000 if RISCV_SMODE
19
Pragnesh Patel01cdef22020-05-29 11:33:35 +053020config SPL_TEXT_BASE
21 default 0x08000000
22
23config SPL_OPENSBI_LOAD_ADDR
24 default 0x80000000
25
Anup Patel3fda0262019-02-25 08:15:19 +000026config BOARD_SPECIFIC_OPTIONS # dummy
27 def_bool y
Pragnesh Patel01cdef22020-05-29 11:33:35 +053028 select SIFIVE_FU540
29 select SUPPORT_SPL
Pragnesh Patelc514a942020-05-29 11:33:26 +053030 select RAM
31 select SPL_RAM if SPL
Anup Patel3fda0262019-02-25 08:15:19 +000032 imply CMD_DHCP
33 imply CMD_EXT2
34 imply CMD_EXT4
35 imply CMD_FAT
36 imply CMD_FS_GENERIC
37 imply CMD_NET
38 imply CMD_PING
Jagan Teki286bcdb2020-04-29 21:03:53 +053039 imply CMD_SF
Anup Patel3fda0262019-02-25 08:15:19 +000040 imply CLK_SIFIVE
41 imply CLK_SIFIVE_FU540_PRCI
42 imply DOS_PARTITION
43 imply EFI_PARTITION
44 imply IP_DYN
45 imply ISO_PARTITION
46 imply MACB
47 imply MII
48 imply NET_RANDOM_ETHADDR
49 imply PHY_LIB
50 imply PHY_MSCC
51 imply SIFIVE_SERIAL
Bhargav Shah0b96a762019-07-17 04:23:48 +000052 imply SPI
53 imply SPI_SIFIVE
Jagan Teki286bcdb2020-04-29 21:03:53 +053054 imply SPI_FLASH
55 imply SPI_FLASH_ISSI
Bhargav Shah0b96a762019-07-17 04:23:48 +000056 imply MMC
57 imply MMC_SPI
58 imply MMC_BROKEN_CD
59 imply CMD_MMC
Sagar Shrikant Kadamb332a892019-10-01 10:00:47 -070060 imply DM_GPIO
61 imply SIFIVE_GPIO
62 imply CMD_GPIO
Lukas Auer0ed93a82019-03-17 19:28:41 +010063 imply SMP
Pragnesh Patel88eec612020-05-29 11:33:22 +053064 imply MISC
65 imply SIFIVE_OTP
Anup Patel3fda0262019-02-25 08:15:19 +000066
67endif