plat/arm/common/arm_bl1_setup.c
/******************************************************************************
 * Perform the very early platform specific architecture setup shared between
 * ARM standard platforms. This only does basic initialization. Later
 * architectural setup (bl1_arch_setup()) does not do anything platform
 * specific.
 *****************************************************************************/
Perform the very early platform specific architecture setup shared between
ARM standard platforms. This only does basic initialization. Later
architectural setup (bl1_arch_setup()) does not do anything platform
specific.
Perform the very early platform specific architecture setup shared between ARM standard platforms . This only does basic initialization . Later architectural setup ( bl1_arch_setup () ) does not do anything platform specific .
void arm_bl1_plat_arch_setup(void)
{
#if USE_COHERENT_MEM
	assert((BL_COHERENT_RAM_END - BL_COHERENT_RAM_BASE) == 0U);
#endif
	const mmap_region_t bl_regions[] = {
		MAP_BL1_TOTAL,
		MAP_BL1_CODE,
		MAP_BL1_RO_DATA,
		{0}
	};
	arm_setup_page_tables(bl_regions, plat_arm_get_mmap());
#ifdef AARCH32
	enable_mmu_secure(0);
#else
	enable_mmu_el3(0);
#endif 
}
void arm_bl1_plat_arch_setup ( void ) { #if USE_COHERENT_MEM assert ( ( BL_COHERENT_RAM_END - BL_COHERENT_RAM_BASE ) == 0U ) ; #endif const mmap_region_t bl_regions [ ] = { MAP_BL1_TOTAL , MAP_BL1_CODE , MAP_BL1_RO_DATA , { 0 } } ; arm_setup_page_tables ( bl_regions , plat_arm_get_mmap ( ) ) ; #ifdef AARCH32 enable_mmu_secure ( 0 ) ; #else enable_mmu_el3 ( 0 ) ; #endif }
Perform the very early platform specific architecture setup shared between
 ARM standard platforms.
Perform the very early platform specific architecture setup shared between ARM standard platforms .
/* ARM platforms dont use coherent memory in BL1 */ /* AARCH32 */