summaryrefslogtreecommitdiff
path: root/src/mainboard/sifive/hifive-unmatched/Kconfig
diff options
context:
space:
mode:
authorron minnich <rminnich@gmail.com>2024-03-03 21:21:55 +0000
committerMartin L Roth <gaumless@gmail.com>2024-03-03 22:57:54 +0000
commitb44a388821fd5d75c9a86dae75dec23802da07d0 (patch)
treec1304871811a005aa92ff5e3457caf29c621b066 /src/mainboard/sifive/hifive-unmatched/Kconfig
parent2ccb8e7891f429c3b72773860521a2b943a049be (diff)
Revert "Revert "mb/sifive: Add Hifive Unmatched mainboard""
This reverts commit ec7b48076009cfe82e5ee91050f5fc66c4850193. Reason for revert: <Reland> I made the commit out of order with the fu740 commit; that's now merged so there should be no problem. Signed-off-by: ron minnich <rminnich@gmail.com> Change-Id: I2fb8c2e0a7fcd5f26f4a004e0949332b108b6fcf Reviewed-on: https://review.coreboot.org/c/coreboot/+/81052 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Martin L Roth <gaumless@gmail.com> Reviewed-by: Matt DeVillier <matt.devillier@gmail.com> Reviewed-by: ron minnich <rminnich@gmail.com>
Diffstat (limited to 'src/mainboard/sifive/hifive-unmatched/Kconfig')
-rw-r--r--src/mainboard/sifive/hifive-unmatched/Kconfig24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/mainboard/sifive/hifive-unmatched/Kconfig b/src/mainboard/sifive/hifive-unmatched/Kconfig
new file mode 100644
index 0000000000..a163911c93
--- /dev/null
+++ b/src/mainboard/sifive/hifive-unmatched/Kconfig
@@ -0,0 +1,24 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
+if BOARD_SIFIVE_HIFIVE_UNMATCHED
+
+config BOARD_SPECIFIC_OPTIONS
+ def_bool y
+ select SOC_SIFIVE_FU740
+ select BOARD_ROMSIZE_KB_32768
+ select MISSING_BOARD_RESET
+ select FLATTENED_DEVICE_TREE
+ select SPI_FLASH
+ select SPI_FLASH_ISSI
+ select SPI_SDCARD
+
+config HEAP_SIZE
+ default 0x10000 #TODO
+
+config MAINBOARD_DIR
+ default "sifive/hifive-unmatched"
+
+config MAINBOARD_PART_NUMBER
+ default "HiFive Unmatched"
+
+endif