sgi/mmap: Remove SGI specific MMAP functions
Remove the redundant SGI functions which map memory for BL1 and BL2. Change-Id: I651a06d0eb6d28263a56f59701bb3815f1ba93dc Signed-off-by: Chandni Cherukuri <chandni.cherukuri@arm.com>
This commit is contained in:
parent
ea3f1be5bd
commit
649b43f82d
|
@ -72,50 +72,3 @@ const mmap_region_t plat_arm_mmap[] = {
|
|||
#endif
|
||||
|
||||
ARM_CASSERT_MMAP
|
||||
|
||||
/*
|
||||
* Set up the page tables for the generic and platform-specific memory regions.
|
||||
* The extents of the generic memory regions are specified by the function
|
||||
* arguments and consist of:
|
||||
* - Trusted SRAM seen by the BL image;
|
||||
* - Code section;
|
||||
* - Read-only data section;
|
||||
* - Coherent memory region, if applicable.
|
||||
*/
|
||||
|
||||
#if IMAGE_BL1
|
||||
void bl1_plat_arch_setup(void)
|
||||
{
|
||||
arm_setup_page_tables(ARM_BL_RAM_BASE,
|
||||
ARM_BL_RAM_SIZE,
|
||||
BL_CODE_BASE,
|
||||
BL1_CODE_END,
|
||||
BL1_RO_DATA_BASE,
|
||||
BL1_RO_DATA_END
|
||||
#if USE_COHERENT_MEM
|
||||
, BL1_COHERENT_RAM_BASE,
|
||||
BL1_COHERENT_RAM_LIMIT
|
||||
#endif /* USE_COHERENT_MEM */
|
||||
);
|
||||
|
||||
enable_mmu_el3(0);
|
||||
}
|
||||
#endif /* IMAGE_BL1 */
|
||||
|
||||
#if IMAGE_BL2
|
||||
void bl2_plat_arch_setup(void)
|
||||
{
|
||||
arm_setup_page_tables(BL2_BASE,
|
||||
BL2_LIMIT-BL2_BASE,
|
||||
BL_CODE_BASE,
|
||||
BL_CODE_END,
|
||||
BL_RO_DATA_BASE,
|
||||
BL_RO_DATA_END
|
||||
#if USE_COHERENT_MEM
|
||||
, BL2_COHERENT_RAM_BASE,
|
||||
BL2_COHERENT_RAM_LIMIT
|
||||
#endif /* USE_COHERENT_MEM */
|
||||
);
|
||||
enable_mmu_el1(0);
|
||||
}
|
||||
#endif /* IMAGE_BL2 */
|
||||
|
|
Loading…
Reference in New Issue