[coreboot-gerrit] Change in coreboot[master]: soc/sifive/fu540: Makefile: include mtime_init in ramstage

Patrick Georgi (Code Review) gerrit at coreboot.org
Mon Sep 10 22:36:51 CEST 2018


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 at hug.cx>
Reviewed-on: https://review.coreboot.org/28551
Tested-by: Patrick Georgi <pgeorgi at google.com>
Reviewed-by: Patrick Georgi <pgeorgi at 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

-- 
To view, visit https://review.coreboot.org/28551
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I7c7768744a165b97978bb8f7f95acf7b32ca4aa4
Gerrit-Change-Number: 28551
Gerrit-PatchSet: 5
Gerrit-Owner: Philipp Hug <philipp at hug.cx>
Gerrit-Reviewer: Patrick Georgi <pgeorgi at google.com>
Gerrit-Reviewer: Philipp Hug <philipp at hug.cx>
Gerrit-Reviewer: Xiang Wang <wxjstz at 126.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply at coreboot.org>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20180910/e35c7687/attachment.html>


More information about the coreboot-gerrit mailing list