flush cache after exception code install on ls1b

This commit is contained in:
kontais 2016-06-15 08:42:38 -07:00
parent b96f07e477
commit c72433560d

View File

@ -54,6 +54,9 @@ void rtthread_startup(void)
rt_memcpy((void *)(A_K0BASE + 0x180), general_exception, 0x20);
rt_memcpy((void *)(A_K0BASE + 0x200), irq_exception, 0x20);
invalidate_writeback_dcache_all();
invalidate_icache_all();
/* init board */
rt_hw_board_init();