mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
[ion] Reset: factorize cache disabling
This commit is contained in:
committed by
LeaNumworks
parent
7b7447b110
commit
9fca8e8b8b
@@ -41,8 +41,7 @@ void __attribute__((noinline)) internalFlashJump(uint32_t jumpIsrVectorAddress)
|
||||
|
||||
void jump(uint32_t jumpIsrVectorAddress) {
|
||||
// Disable cache before reset
|
||||
Ion::Device::Cache::disableDCache();
|
||||
Ion::Device::Cache::disableICache();
|
||||
Ion::Device::Cache::disable();
|
||||
|
||||
/* Shutdown all clocks and periherals to mimic a hardware reset. */
|
||||
Board::shutdownPeripherals();
|
||||
|
||||
Reference in New Issue
Block a user