commit | 7ea40fe55cf6d17d13031ec094b1e33b1fce3d43 | [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 | 6596e035047dd546d1eb58be500841d2985eb344 [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>