Add enable mmu platform porting interfaces
Previously, the enable_mmu_elX() functions were implicitly part of
the platform porting layer since they were included by generic
code. These functions have been placed behind 2 new platform
functions, bl31_plat_enable_mmu() and bl32_plat_enable_mmu().
These are weakly defined so that they can be optionally overridden
by platform ports.

Also, the enable_mmu_elX() functions have been moved to
lib/aarch64/xlat_tables.c for optional re-use by platform ports.
These functions are tightly coupled with the translation table
initialization code.

Fixes ARM-software/tf-issues#152

Change-Id: I0a2251ce76acfa3c27541f832a9efaa49135cc1c
1 parent 9e9ab9f commit 65e196b7593d028929f7b70339565153f0862575
@Dan Handley Dan Handley authored on 16 May 2014
Andrew Thoelke committed on 22 May 2014
Showing 8 changed files
View
bl32/tsp/aarch64/tsp_entrypoint.S
View
include/lib/aarch64/xlat_tables.h
View
include/plat/common/platform.h
View
lib/aarch64/xlat_tables.c
View
plat/common/aarch64/plat_common.c 0 → 100644
View
plat/fvp/aarch64/fvp_common.c
View
plat/fvp/platform.mk
View
services/std_svc/psci/psci_afflvl_on.c