Merge pull request #1364 from Yann-lms/bl2_at_el3_mmu

BL2_AT_EL3: do not try to disable MMU twice on AARCH32
This commit is contained in:
danh-arm 2018-05-03 16:45:01 +01:00 committed by GitHub
commit bf0c112993
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -46,6 +46,7 @@ void bl2_main(void)
/* Load the subsequent bootloader images. */
next_bl_ep_info = bl2_load_images();
#if !BL2_AT_EL3
#ifdef AARCH32
/*
* For AArch32 state BL1 and BL2 share the MMU setup.
@ -55,8 +56,6 @@ void bl2_main(void)
disable_mmu_icache_secure();
#endif /* AARCH32 */
#if !BL2_AT_EL3
console_flush();
/*