diff options
author | Patrick Rudolph <patrick.rudolph@9elements.com> | 2018-03-26 15:54:41 +0200 |
---|---|---|
committer | Patrick Rudolph <siro@das-labor.org> | 2018-07-10 07:03:29 +0000 |
commit | 06c7d64be9fa0355ed7cfc092db93963a254295a (patch) | |
tree | 3082efb85b5e6b0f3c67be16818524039fdea84e /src/mainboard/cavium | |
parent | 8cbd569f74d8929387730e45b0d6e993b1365c02 (diff) |
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 <patrick.rudolph@9elements.com>
Reviewed-on: https://review.coreboot.org/25371
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: David Hendricks <david.hendricks@gmail.com>
Diffstat (limited to 'src/mainboard/cavium')
-rw-r--r-- | src/mainboard/cavium/cn8100_sff_evb/romstage.c | 2 |
1 files changed, 2 insertions, 0 deletions
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 <romstage_handoff.h> #include <soc/sdram.h> #include <soc/timer.h> +#include <soc/mmu.h> #include <stdlib.h> #include <console/console.h> #include <program_loading.h> @@ -37,6 +38,7 @@ void main(void) bdk_config_set_fdt(devtree); sdram_init(); + soc_mmu_init(); watchdog_poke(0); |