[U-Boot] stm32: stm32_flash: add memory barrier during flash write

Tom Rini trini at konsulko.com
Tue Apr 12 04:29:51 CEST 2016


On Mon, Apr 04, 2016 at 04:49:02PM -0700, Vikas Manocha wrote:

> 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 at st.com>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160411/1566bedc/attachment.sig>


More information about the U-Boot mailing list