Add enable mmu platform porting interfaces
authorDan Handley <dan.handley@arm.com>
Fri, 16 May 2014 13:08:45 +0000 (14:08 +0100)
committerAchin Gupta <achin.gupta@arm.com>
Fri, 23 May 2014 17:02:01 +0000 (18:02 +0100)
commitdff8e47a4b6797e862a20559d34a9e2a056ab6e1
treefd45dd2d800a38803adf375243ba11261e9bbecd
parent17a387ad5af5beacd8406f3f35cbf697e4ac3698
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
bl32/tsp/aarch64/tsp_entrypoint.S
include/lib/aarch64/xlat_tables.h
include/plat/common/platform.h
lib/aarch64/xlat_tables.c
plat/common/aarch64/plat_common.c [new file with mode: 0644]
plat/fvp/aarch64/fvp_common.c
plat/fvp/platform.mk
services/std_svc/psci/psci_afflvl_on.c