Factor out translation table setup in ARM FVP port
This patch factors out the ARM FVP specific code to create MMU
translation tables so that it is possible for a boot loader stage to
create a different set of tables instead of using the default ones.
The default translation tables are created with the assumption that
the calling boot loader stage executes out of secure SRAM. This might
not be true for the BL3_2 stage in the future.

A boot loader stage can define the `fill_xlation_tables()` function as
per its requirements. It returns a reference to the level 1
translation table which is used by the common platform code to setup
the TTBR_EL3.

This patch is a temporary solution before a larger rework of
translation table creation logic is introduced.

Change-Id: I09a075d5da16822ee32a411a9dbe284718fb4ff6
1 parent 35ca351 commit a0cd989dd589acaa6cddaa6617bd59dde0b8ce26
@Achin Gupta Achin Gupta authored on 9 Feb 2014
Dan Handley committed on 20 Feb 2014
Showing 12 changed files
View
Makefile
View
bl1/bl1.ld.S
View
bl1/bl1.mk
View
bl2/bl2.ld.S
View
bl31/bl31.ld.S
View
include/aarch64/arch.h
View
include/aarch64/arch_helpers.h
View
lib/arch/aarch64/xlat_helpers.c 0 → 100644
View
plat/fvp/aarch64/plat_common.c
View
plat/fvp/aarch64/plat_setup_xlat.c 0 → 100644
View
plat/fvp/platform.h
View
plat/fvp/platform.mk