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
diff --git a/Makefile b/Makefile
index 83f6813..4d925b3 100644
--- a/Makefile
+++ b/Makefile
@@ -60,6 +60,7 @@
BL_COMMON_OBJS := misc_helpers.o \
cache_helpers.o \
tlb_helpers.o \
+ xlat_helpers.o \
std.o \
bl_common.o \
platform_helpers.o \