blob: f3217f62c43e0bfe81ca89c77a4e2e0da51d1f22 [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
Jagan Teki662d5182020-07-15 15:39:01 +053030 select ENV_IS_IN_SPI_FLASH
Pragnesh Patelc514a942020-05-29 11:33:26 +053031 select RAM
32 select SPL_RAM if SPL
Anup Patel3fda0262019-02-25 08:15:19 +000033 imply CMD_DHCP
34 imply CMD_EXT2
35 imply CMD_EXT4
36 imply CMD_FAT
37 imply CMD_FS_GENERIC
Jagan Teki085cb1d2020-05-29 11:33:36 +053038 imply CMD_GPT
39 imply PARTITION_TYPE_GUID
Anup Patel3fda0262019-02-25 08:15:19 +000040 imply CMD_NET
41 imply CMD_PING
Jagan Teki286bcdb2020-04-29 21:03:53 +053042 imply CMD_SF
Anup Patel3fda0262019-02-25 08:15:19 +000043 imply CLK_SIFIVE
44 imply CLK_SIFIVE_FU540_PRCI
45 imply DOS_PARTITION
46 imply EFI_PARTITION
47 imply IP_DYN
48 imply ISO_PARTITION
49 imply MACB
50 imply MII
51 imply NET_RANDOM_ETHADDR
52 imply PHY_LIB
53 imply PHY_MSCC
54 imply SIFIVE_SERIAL
Bhargav Shah0b96a762019-07-17 04:23:48 +000055 imply SPI
56 imply SPI_SIFIVE
Jagan Teki286bcdb2020-04-29 21:03:53 +053057 imply SPI_FLASH
58 imply SPI_FLASH_ISSI
Bhargav Shah0b96a762019-07-17 04:23:48 +000059 imply MMC
60 imply MMC_SPI
61 imply MMC_BROKEN_CD
62 imply CMD_MMC
Sagar Shrikant Kadamb332a892019-10-01 10:00:47 -070063 imply DM_GPIO
64 imply SIFIVE_GPIO
65 imply CMD_GPIO
Lukas Auer0ed93a82019-03-17 19:28:41 +010066 imply SMP
Pragnesh Patel88eec612020-05-29 11:33:22 +053067 imply MISC
68 imply SIFIVE_OTP
Pragnesh Patel3d5ac352020-05-29 12:14:52 +053069 imply DM_PWM
70 imply PWM_SIFIVE
Bin Meng265d46b2020-07-19 20:06:46 -070071 imply SYSRESET
72 imply SYSRESET_GPIO
Anup Patel3fda0262019-02-25 08:15:19 +000073
74endif