bios/boot: flush all caches before running from ram
This commit is contained in:
parent
650ac18685
commit
cb5b4ac468
|
@ -26,6 +26,8 @@ static void __attribute__((noreturn)) boot(unsigned int r1, unsigned int r2, uns
|
||||||
irq_setmask(0);
|
irq_setmask(0);
|
||||||
irq_setie(0);
|
irq_setie(0);
|
||||||
flush_cpu_icache();
|
flush_cpu_icache();
|
||||||
|
flush_cpu_dcache();
|
||||||
|
flush_l2_cache();
|
||||||
boot_helper(r1, r2, r3, addr);
|
boot_helper(r1, r2, r3, addr);
|
||||||
while(1);
|
while(1);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue