diff options
| author | kontais <[email protected]> | 2016-06-15 08:42:38 -0700 |
|---|---|---|
| committer | kontais <[email protected]> | 2016-06-15 08:42:38 -0700 |
| commit | c72433560d66ab58c92eaf86b75358c29fb9bea1 (patch) | |
| tree | 3779bf2aec40d2d426a9a48555974bbde2310842 /bsp/ls1bdev | |
| parent | b96f07e47712606b59b6165d3923406aef0f9db3 (diff) | |
flush cache after exception code install on ls1b
Diffstat (limited to 'bsp/ls1bdev')
| -rw-r--r-- | bsp/ls1bdev/applications/startup.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bsp/ls1bdev/applications/startup.c b/bsp/ls1bdev/applications/startup.c index f5c8eddc08..deedf962f6 100644 --- a/bsp/ls1bdev/applications/startup.c +++ b/bsp/ls1bdev/applications/startup.c @@ -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(); |
