diff options
author | David Crocker <dcrocker@eschertech.com> | 2022-08-01 22:30:02 +0300 |
---|---|---|
committer | David Crocker <dcrocker@eschertech.com> | 2022-08-01 22:30:02 +0300 |
commit | c5ad761d14c8a1a07c344f15c57754bc276d274d (patch) | |
tree | 0dfa5179c40488eda898817c16d0976b6081c047 | |
parent | f3aa9825c67527a8ddfc2fb98c2f276e0751ac75 (diff) |
Don't disable cache when reading NVram (uses updated CoreN2G)
-rw-r--r-- | src/Hardware/NonVolatileMemory.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/Hardware/NonVolatileMemory.cpp b/src/Hardware/NonVolatileMemory.cpp index 2e19daab..cb6937b7 100644 --- a/src/Hardware/NonVolatileMemory.cpp +++ b/src/Hardware/NonVolatileMemory.cpp @@ -26,12 +26,7 @@ void NonVolatileMemory::EnsureRead() noexcept #elif defined(__LPC17xx__) # error //TODO #elif SAM4E || SAM4S || SAME70 - const bool cacheEnabled = Cache::Disable(); Flash::ReadUserSignature(reinterpret_cast<uint32_t*>(&buffer), sizeof(buffer)/sizeof(uint32_t)); - if (cacheEnabled) - { - Cache::Enable(); - } #else # error Unsupported processor #endif |