]> granicus.if.org Git - esp-idf/commit
spi_flash: protect spi_flash_unlock
authorIvan Grokhotkov <ivan@espressif.com>
Wed, 22 Feb 2017 04:51:16 +0000 (12:51 +0800)
committerIvan Grokhotkov <ivan@espressif.com>
Wed, 22 Feb 2017 04:51:16 +0000 (12:51 +0800)
commitcbb71baca96d5f4c22be017dafef8d745834dac5
tree67fa00c463a10a5276a12ce5b983b7e98ca25725
parente76c187efb20facf8cad410aae5102a58d2e9145
spi_flash: protect spi_flash_unlock

spi_flash_unlock was missing spi_flash_guard_start, which caused cache
to be enabled during unlock operation, causing hard-to-trace crashes
and cache data corruption.
components/spi_flash/flash_ops.c