summaryrefslogtreecommitdiff
path: root/src/mainboard/sifive
diff options
context:
space:
mode:
authorPhilipp Hug <philipp@hug.cx>2018-09-15 15:34:53 +0200
committerRonald G. Minnich <rminnich@gmail.com>2018-09-15 13:54:57 +0000
commit4e7a47350da8452bb110968e1acd83baccca4e6f (patch)
treecb0dbc2fea1505d64a18c7bf10518631719add26 /src/mainboard/sifive
parent7c5acd494a4f49e3b5e83169577ec85ee0c05313 (diff)
downloadcoreboot-4e7a47350da8452bb110968e1acd83baccca4e6f.tar.xz
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>
Diffstat (limited to 'src/mainboard/sifive')
-rw-r--r--src/mainboard/sifive/hifive-unleashed/romstage.c2
1 files changed, 2 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();
}