From 06c7d64be9fa0355ed7cfc092db93963a254295a Mon Sep 17 00:00:00 2001 From: Patrick Rudolph Date: Mon, 26 Mar 2018 15:54:41 +0200 Subject: soc/cavium: Enable MMU * Configure and enable MMU. * Cover the whole I/O space. * A minimum of 512KB TTB space is required. * Use secure mem attribute as firmware is running in ARM TZ region. Tested on Cavium SoC. Change-Id: I969446da62b4cc7adf9393fab69ff84ebf49220d Signed-off-by: Patrick Rudolph Reviewed-on: https://review.coreboot.org/25371 Tested-by: build bot (Jenkins) Reviewed-by: David Hendricks --- src/mainboard/cavium/cn8100_sff_evb/romstage.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/mainboard') diff --git a/src/mainboard/cavium/cn8100_sff_evb/romstage.c b/src/mainboard/cavium/cn8100_sff_evb/romstage.c index c35d0b3876..e8e5cd6f90 100644 --- a/src/mainboard/cavium/cn8100_sff_evb/romstage.c +++ b/src/mainboard/cavium/cn8100_sff_evb/romstage.c @@ -19,6 +19,7 @@ #include #include #include +#include #include #include #include @@ -37,6 +38,7 @@ void main(void) bdk_config_set_fdt(devtree); sdram_init(); + soc_mmu_init(); watchdog_poke(0); -- cgit v1.2.3