Patrick Georgi has submitted this change and it was merged. ( https://review.coreboot.org/28551 )
Change subject: soc/sifive/fu540: Makefile: include mtime_init in ramstage ......................................................................
soc/sifive/fu540: Makefile: include mtime_init in ramstage
Fix compilation issue clint.c/mtime.c is needed as well in ramstage due to CR 28372 and 28355
Change-Id: I7c7768744a165b97978bb8f7f95acf7b32ca4aa4 Signed-off-by: Philipp Hug philipp@hug.cx Reviewed-on: https://review.coreboot.org/28551 Tested-by: Patrick Georgi pgeorgi@google.com Reviewed-by: Patrick Georgi pgeorgi@google.com --- M src/soc/lowrisc/lowrisc/Makefile.inc M src/soc/sifive/fu540/Makefile.inc M src/soc/ucb/riscv/Makefile.inc 3 files changed, 3 insertions(+), 0 deletions(-)
Approvals: Patrick Georgi: Verified; Looks good to me, approved
diff --git a/src/soc/lowrisc/lowrisc/Makefile.inc b/src/soc/lowrisc/lowrisc/Makefile.inc index 9fc52da..ccd9a16 100644 --- a/src/soc/lowrisc/lowrisc/Makefile.inc +++ b/src/soc/lowrisc/lowrisc/Makefile.inc @@ -3,5 +3,6 @@ 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 12b814a..b991783 100644 --- a/src/soc/sifive/fu540/Makefile.inc +++ b/src/soc/sifive/fu540/Makefile.inc @@ -24,6 +24,7 @@ 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 16225c0..a10f3aa 100644 --- a/src/soc/ucb/riscv/Makefile.inc +++ b/src/soc/ucb/riscv/Makefile.inc @@ -3,5 +3,6 @@ bootblock-y += mtime.c romstage-y += cbmem.c ramstage-y += cbmem.c +ramstage-y += mtime.c
endif