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>
This commit is contained in:
Philipp Hug 2018-09-10 19:32:23 +02:00 committed by Patrick Georgi
parent 7f60d24fbd
commit 2cf9990ec8
3 changed files with 3 additions and 0 deletions

View File

@ -3,5 +3,6 @@ ifeq ($(CONFIG_SOC_LOWRISC_LOWRISC),y)
bootblock-y += mtime.c bootblock-y += mtime.c
romstage-y += cbmem.c romstage-y += cbmem.c
ramstage-y += cbmem.c ramstage-y += cbmem.c
ramstage-y += mtime.c
endif endif

View File

@ -24,6 +24,7 @@ romstage-y += sdram.c
romstage-y += otp.c romstage-y += otp.c
ramstage-y += uart.c ramstage-y += uart.c
ramstage-y += clint.c
ramstage-y += media.c ramstage-y += media.c
ramstage-y += sdram.c ramstage-y += sdram.c
ramstage-y += cbmem.c ramstage-y += cbmem.c

View File

@ -3,5 +3,6 @@ ifeq ($(CONFIG_SOC_UCB_RISCV),y)
bootblock-y += mtime.c bootblock-y += mtime.c
romstage-y += cbmem.c romstage-y += cbmem.c
ramstage-y += cbmem.c ramstage-y += cbmem.c
ramstage-y += mtime.c
endif endif