mirror of
https://github.com/apache/nuttx.git
synced 2026-06-05 15:58:59 +08:00
Fixes to last SAMA5 PMIC checkin
This commit is contained in:
@@ -528,11 +528,13 @@ void up_irqinitialize(void)
|
||||
putreg32(AXIMX_REMAP_REMAP1, SAM_AXIMX_REMAP); /* Remap NOR FLASH on CS0 */
|
||||
#endif
|
||||
|
||||
/* Make sure that there is no trace of any previous mapping */
|
||||
/* Make sure that there is no trace of any previous mapping (here we
|
||||
* that the L2 cache has not yet been enabled.
|
||||
*/
|
||||
|
||||
vectorsize = sam_vectorsize();
|
||||
arch_invalidate_icache();
|
||||
arch_invalidate_dcache(0, vectorsize);
|
||||
cp15_invalidate_icache();
|
||||
cp15_invalidate_dcache(0, vectorsize);
|
||||
mmu_invalidate_region(0, vectorsize);
|
||||
|
||||
#if 0 /* Disabled on reset */
|
||||
|
||||
Reference in New Issue
Block a user