diff options
author | Philipp Hug <philipp@hug.cx> | 2018-09-15 15:34:53 +0200 |
---|---|---|
committer | Ronald G. Minnich <rminnich@gmail.com> | 2018-09-15 13:54:57 +0000 |
commit | 4e7a47350da8452bb110968e1acd83baccca4e6f (patch) | |
tree | cb0dbc2fea1505d64a18c7bf10518631719add26 | |
parent | 7c5acd494a4f49e3b5e83169577ec85ee0c05313 (diff) |
sifive/hifive-unleashed: enable CBMEM support
Change-Id: I3eacba9c1c20bbfa270dd7a9afabe48ed9092bcc
Signed-off-by: Philipp Hug <philipp@hug.cx>
Reviewed-on: https://review.coreboot.org/28622
Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
-rw-r--r-- | src/mainboard/sifive/hifive-unleashed/romstage.c | 2 | ||||
-rw-r--r-- | src/soc/sifive/fu540/Makefile.inc | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/src/mainboard/sifive/hifive-unleashed/romstage.c b/src/mainboard/sifive/hifive-unleashed/romstage.c index df4cf894b2..3767491a5e 100644 --- a/src/mainboard/sifive/hifive-unleashed/romstage.c +++ b/src/mainboard/sifive/hifive-unleashed/romstage.c @@ -42,5 +42,7 @@ void main(void) sdram_init(); + cbmem_initialize_empty(); + run_ramstage(); } diff --git a/src/soc/sifive/fu540/Makefile.inc b/src/soc/sifive/fu540/Makefile.inc index ed1836ed67..e2bdd03a00 100644 --- a/src/soc/sifive/fu540/Makefile.inc +++ b/src/soc/sifive/fu540/Makefile.inc @@ -21,6 +21,7 @@ bootblock-y += bootblock.c romstage-y += uart.c romstage-y += media.c romstage-y += sdram.c +romstage-y += cbmem.c romstage-y += otp.c romstage-y += clock.c |