[U-Boot] gpio: stm32f7: replace ODR update by BSRR write

Tom Rini trini at konsulko.com
Tue Sep 11 12:25:28 UTC 2018


On Thu, Aug 09, 2018 at 11:57:57AM +0200, Patrice Chotard wrote:

> Replace clrsetbits on ODR register (2 operations: one read + one write)
> by writing on the correct bit (SET or RESET) of the BSRR register
> (only 1 write operation).
> 
> Moreover this register if safe for simultaneous access by 2 master on
> the bus.
> 
> Signed-off-by: Patrick Delaunay <patrick.delaunay at st.com>
> Signed-off-by: Patrice Chotard <patrice.chotard 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: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180911/4e74090a/attachment.sig>


More information about the U-Boot mailing list