commit | 9082517a85930740f59966fcf13293c38792afe8 | [log] [tgz] |
---|---|---|
author | Vikas Manocha <vikas.manocha@st.com> | Mon Apr 04 16:49:02 2016 -0700 |
committer | Tom Rini <trini@konsulko.com> | Mon Apr 11 20:48:23 2016 -0400 |
tree | d8ad6f8b0c3b1d64edadd7291938f80019447f22 | |
parent | 3ba1352b97999546610cc9b8708281b60d660e48 [diff] |
stm32: stm32_flash: add memory barrier during flash write After writing data to flash space, next instruction is checking if flash controller is busy writing to the flash memory. Memory barrier is required here to avoid transaction re-ordering for data write and busy status check. Signed-off-by: Vikas Manocha <vikas.manocha@st.com>