diff options
author | Dan Handley <dan.handley@arm.com> | 2014-05-16 14:08:45 +0100 |
---|---|---|
committer | Achin Gupta <achin.gupta@arm.com> | 2014-05-23 18:02:01 +0100 |
commit | dff8e47a4b6797e862a20559d34a9e2a056ab6e1 (patch) | |
tree | fd45dd2d800a38803adf375243ba11261e9bbecd /services | |
parent | 17a387ad5af5beacd8406f3f35cbf697e4ac3698 (diff) |
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
Diffstat (limited to 'services')
-rw-r--r-- | services/std_svc/psci/psci_afflvl_on.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/services/std_svc/psci/psci_afflvl_on.c b/services/std_svc/psci/psci_afflvl_on.c index 1e5828ca..e3a1831c 100644 --- a/services/std_svc/psci/psci_afflvl_on.c +++ b/services/std_svc/psci/psci_afflvl_on.c @@ -363,7 +363,7 @@ static unsigned int psci_afflvl0_on_finish(unsigned long mpidr, /* * Arch. management: Turn on mmu & restore architectural state */ - enable_mmu_el3(); + bl31_plat_enable_mmu(); /* * All the platform specific actions for turning this cpu |