diff options
author | Jon Medhurst <tixy@linaro.org> | 2014-02-26 16:27:53 +0000 |
---|---|---|
committer | Jon Medhurst <tixy@linaro.org> | 2014-02-27 15:51:35 +0000 |
commit | 82b0e95f1d86ecd550e08d8ee493fc290051a10d (patch) | |
tree | 9c8723b0412d9c64fe097b481e186cf45f73b239 /plat/fvp/platform.h | |
parent | ba6954eb3ef1092f9ed59ba8e2d9661e2c6113a5 (diff) |
fvp: Make use of the generic MMU translation table setup codetixy-issue-19
Signed-off-by: Jon Medhurst <tixy@linaro.org>
Diffstat (limited to 'plat/fvp/platform.h')
-rw-r--r-- | plat/fvp/platform.h | 19 |
1 files changed, 2 insertions, 17 deletions
diff --git a/plat/fvp/platform.h b/plat/fvp/platform.h index 375f595..6b915a8 100644 --- a/plat/fvp/platform.h +++ b/plat/fvp/platform.h @@ -243,20 +243,10 @@ /******************************************************************************* * Platform specific page table and MMU setup constants ******************************************************************************/ -#define EL3_ADDR_SPACE_SIZE (1ull << 32) -#define EL3_NUM_PAGETABLES 2 -#define EL3_TROM_PAGETABLE 0 -#define EL3_TRAM_PAGETABLE 1 - #define ADDR_SPACE_SIZE (1ull << 32) +#define MAX_XLAT_TABLES 3 +#define MAX_MMAP_REGIONS 16 -#define NUM_L2_PAGETABLES 2 -#define GB1_L2_PAGETABLE 0 -#define GB2_L2_PAGETABLE 1 - -#define NUM_L3_PAGETABLES 2 -#define TZRAM_PAGETABLE 0 -#define NSRAM_PAGETABLE 1 /******************************************************************************* * CCI-400 related constants @@ -345,11 +335,6 @@ extern void bl2_plat_arch_setup(void); extern void bl31_plat_arch_setup(void); extern int platform_setup_pm(plat_pm_ops **); extern unsigned int platform_get_core_pos(unsigned long mpidr); -extern unsigned long fill_xlation_tables(meminfo *memory_layout, - unsigned long ro_start, - unsigned long ro_limit, - unsigned long coh_start, - unsigned long coh_limit); extern void disable_mmu(void); extern void enable_mmu(void); extern void configure_mmu(meminfo *, |