Browse Source

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
pull/1999/merge
Toshiyuki Ogasahara 3 years ago
committed by Marek Vasut
parent
commit
7e06b06753
  1. 8
      plat/renesas/rcar/bl2_plat_setup.c

8
plat/renesas/rcar/bl2_plat_setup.c

@ -370,6 +370,14 @@ mmu:
/* Disable data cache (clean and invalidate) */
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)

Loading…
Cancel
Save