Anup Patel | 7a167f2 | 2019-02-25 08:15:19 +0000 | [diff] [blame] | 1 | if TARGET_SIFIVE_FU540 |
| 2 | |
| 3 | config SYS_BOARD |
| 4 | default "fu540" |
| 5 | |
| 6 | config SYS_VENDOR |
| 7 | default "sifive" |
| 8 | |
| 9 | config SYS_CPU |
Pragnesh Patel | 25269c0 | 2020-05-29 11:33:34 +0530 | [diff] [blame] | 10 | default "fu540" |
Anup Patel | 7a167f2 | 2019-02-25 08:15:19 +0000 | [diff] [blame] | 11 | |
| 12 | config SYS_CONFIG_NAME |
| 13 | default "sifive-fu540" |
| 14 | |
| 15 | config SYS_TEXT_BASE |
Pragnesh Patel | e00653c | 2020-05-29 11:33:35 +0530 | [diff] [blame] | 16 | default 0x80200000 if SPL |
Anup Patel | 7a167f2 | 2019-02-25 08:15:19 +0000 | [diff] [blame] | 17 | default 0x80000000 if !RISCV_SMODE |
| 18 | default 0x80200000 if RISCV_SMODE |
| 19 | |
Pragnesh Patel | e00653c | 2020-05-29 11:33:35 +0530 | [diff] [blame] | 20 | config SPL_TEXT_BASE |
| 21 | default 0x08000000 |
| 22 | |
| 23 | config SPL_OPENSBI_LOAD_ADDR |
| 24 | default 0x80000000 |
| 25 | |
Anup Patel | 7a167f2 | 2019-02-25 08:15:19 +0000 | [diff] [blame] | 26 | config BOARD_SPECIFIC_OPTIONS # dummy |
| 27 | def_bool y |
Pragnesh Patel | e00653c | 2020-05-29 11:33:35 +0530 | [diff] [blame] | 28 | select SIFIVE_FU540 |
| 29 | select SUPPORT_SPL |
Pragnesh Patel | 4cefe72 | 2020-05-29 11:33:26 +0530 | [diff] [blame] | 30 | select RAM |
| 31 | select SPL_RAM if SPL |
Anup Patel | 7a167f2 | 2019-02-25 08:15:19 +0000 | [diff] [blame] | 32 | imply CMD_DHCP |
| 33 | imply CMD_EXT2 |
| 34 | imply CMD_EXT4 |
| 35 | imply CMD_FAT |
| 36 | imply CMD_FS_GENERIC |
Jagan Teki | bc83d54 | 2020-05-29 11:33:36 +0530 | [diff] [blame] | 37 | imply CMD_GPT |
| 38 | imply PARTITION_TYPE_GUID |
Anup Patel | 7a167f2 | 2019-02-25 08:15:19 +0000 | [diff] [blame] | 39 | imply CMD_NET |
| 40 | imply CMD_PING |
Jagan Teki | 76c8522 | 2020-04-29 21:03:53 +0530 | [diff] [blame] | 41 | imply CMD_SF |
Anup Patel | 7a167f2 | 2019-02-25 08:15:19 +0000 | [diff] [blame] | 42 | imply CLK_SIFIVE |
| 43 | imply CLK_SIFIVE_FU540_PRCI |
| 44 | imply DOS_PARTITION |
| 45 | imply EFI_PARTITION |
| 46 | imply IP_DYN |
| 47 | imply ISO_PARTITION |
| 48 | imply MACB |
| 49 | imply MII |
| 50 | imply NET_RANDOM_ETHADDR |
| 51 | imply PHY_LIB |
| 52 | imply PHY_MSCC |
| 53 | imply SIFIVE_SERIAL |
Bhargav Shah | 44bb700 | 2019-07-17 04:23:48 +0000 | [diff] [blame] | 54 | imply SPI |
| 55 | imply SPI_SIFIVE |
Jagan Teki | 76c8522 | 2020-04-29 21:03:53 +0530 | [diff] [blame] | 56 | imply SPI_FLASH |
| 57 | imply SPI_FLASH_ISSI |
Bhargav Shah | 44bb700 | 2019-07-17 04:23:48 +0000 | [diff] [blame] | 58 | imply MMC |
| 59 | imply MMC_SPI |
| 60 | imply MMC_BROKEN_CD |
| 61 | imply CMD_MMC |
Sagar Shrikant Kadam | 259b51d | 2019-10-01 10:00:47 -0700 | [diff] [blame] | 62 | imply DM_GPIO |
| 63 | imply SIFIVE_GPIO |
| 64 | imply CMD_GPIO |
Lukas Auer | 9112caf | 2019-03-17 19:28:41 +0100 | [diff] [blame] | 65 | imply SMP |
Pragnesh Patel | 2a449a3 | 2020-05-29 11:33:22 +0530 | [diff] [blame] | 66 | imply MISC |
| 67 | imply SIFIVE_OTP |
Anup Patel | 7a167f2 | 2019-02-25 08:15:19 +0000 | [diff] [blame] | 68 | |
| 69 | endif |