summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2020-05-26 09:31:41 +0300
committerPatrick Georgi <pgeorgi@google.com>2020-05-28 09:30:51 +0000
commitbd4e6e38b4448aee815862ce8e4dc213ccd2a8cd (patch)
treee1d6a8a0fe7f8ce4e68c4c2e30f177240ae6fcc8 /src
parentde27499b520fb8bf5ec63da8dd582e7b1ef023c3 (diff)
soc/sifive/fu540: Add chip_operations stub
Change-Id: If06695745bb72f883314e5514c616223b0210a2f Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/41716 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Rudolph <siro@das-labor.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com> Reviewed-by: Philipp Hug <philipp@hug.cx>
Diffstat (limited to 'src')
-rw-r--r--src/soc/sifive/fu540/Makefile.inc1
-rw-r--r--src/soc/sifive/fu540/chip.c7
2 files changed, 8 insertions, 0 deletions
diff --git a/src/soc/sifive/fu540/Makefile.inc b/src/soc/sifive/fu540/Makefile.inc
index 734b4a258a..807c390bb3 100644
--- a/src/soc/sifive/fu540/Makefile.inc
+++ b/src/soc/sifive/fu540/Makefile.inc
@@ -23,6 +23,7 @@ ramstage-y += sdram.c
ramstage-y += cbmem.c
ramstage-y += otp.c
ramstage-y += clock.c
+ramstage-y += chip.c
CPPFLAGS_common += -Isrc/soc/sifive/fu540/include
diff --git a/src/soc/sifive/fu540/chip.c b/src/soc/sifive/fu540/chip.c
new file mode 100644
index 0000000000..6eab45c61c
--- /dev/null
+++ b/src/soc/sifive/fu540/chip.c
@@ -0,0 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
+#include <device/device.h>
+
+struct chip_operations soc_sifive_fu540_ops = {
+ CHIP_NAME("SIFIVE FU540")
+};