forked from Imagelibrary/rtems
bsp/aarch64: Flush the cache before invalidating it
- Any page tables need to be flushed if the cache is enabled. Disabling the cache may only be available in secure mode.
This commit is contained in:
@@ -362,7 +362,8 @@ aarch64_mmu_enable( void )
|
||||
|
||||
/* CPUECTLR_EL1.SMPEN is already set on ZynqMP and is not writable */
|
||||
|
||||
/* Invalidate cache */
|
||||
/* Flush and invalidate cache */
|
||||
rtems_cache_flush_entire_data();
|
||||
rtems_cache_invalidate_entire_data();
|
||||
|
||||
/* Enable MMU and cache */
|
||||
|
||||
Reference in New Issue
Block a user