mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-24 13:55:56 +00:00
feat(rcar3): add cache operations to boot process
Add cache operations because BL2 disabled MMU at the end of the boot process, but did not clean/invalidate for the cache used by MMU. Signed-off-by: Toshiyuki Ogasahara <toshiyuki.ogasahara.bo@hitachi.com> Signed-off-by: Yoshifumi Hosoya <yoshifumi.hosoya.wj@renesas.com> Change-Id: Id4070b46103ca2b50788b3a99f6961a35df24418
This commit is contained in:
parent
5e8c2d8e23
commit
7e06b06753
1 changed files with 8 additions and 0 deletions
|
@ -370,6 +370,14 @@ mmu:
|
||||||
|
|
||||||
/* Disable data cache (clean and invalidate) */
|
/* Disable data cache (clean and invalidate) */
|
||||||
disable_mmu_el3();
|
disable_mmu_el3();
|
||||||
|
#if RCAR_BL2_DCACHE == 1
|
||||||
|
dcsw_op_all(DCCISW);
|
||||||
|
#endif
|
||||||
|
tlbialle3();
|
||||||
|
disable_mmu_icache_el3();
|
||||||
|
plat_invalidate_icache();
|
||||||
|
dsbsy();
|
||||||
|
isb();
|
||||||
}
|
}
|
||||||
|
|
||||||
static uint32_t is_ddr_backup_mode(void)
|
static uint32_t is_ddr_backup_mode(void)
|
||||||
|
|
Loading…
Add table
Reference in a new issue