summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/soc/lowrisc/lowrisc/Makefile.inc1
-rw-r--r--src/soc/sifive/fu540/Makefile.inc1
-rw-r--r--src/soc/ucb/riscv/Makefile.inc1
3 files changed, 3 insertions, 0 deletions
diff --git a/src/soc/lowrisc/lowrisc/Makefile.inc b/src/soc/lowrisc/lowrisc/Makefile.inc
index 9fc52da776..ccd9a16945 100644
--- a/src/soc/lowrisc/lowrisc/Makefile.inc
+++ b/src/soc/lowrisc/lowrisc/Makefile.inc
@@ -3,5 +3,6 @@ ifeq ($(CONFIG_SOC_LOWRISC_LOWRISC),y)
bootblock-y += mtime.c
romstage-y += cbmem.c
ramstage-y += cbmem.c
+ramstage-y += mtime.c
endif
diff --git a/src/soc/sifive/fu540/Makefile.inc b/src/soc/sifive/fu540/Makefile.inc
index 12b814a6f7..b991783b6c 100644
--- a/src/soc/sifive/fu540/Makefile.inc
+++ b/src/soc/sifive/fu540/Makefile.inc
@@ -24,6 +24,7 @@ romstage-y += sdram.c
romstage-y += otp.c
ramstage-y += uart.c
+ramstage-y += clint.c
ramstage-y += media.c
ramstage-y += sdram.c
ramstage-y += cbmem.c
diff --git a/src/soc/ucb/riscv/Makefile.inc b/src/soc/ucb/riscv/Makefile.inc
index 16225c0968..a10f3aae4c 100644
--- a/src/soc/ucb/riscv/Makefile.inc
+++ b/src/soc/ucb/riscv/Makefile.inc
@@ -3,5 +3,6 @@ ifeq ($(CONFIG_SOC_UCB_RISCV),y)
bootblock-y += mtime.c
romstage-y += cbmem.c
ramstage-y += cbmem.c
+ramstage-y += mtime.c
endif