On Mon, Apr 07, 2014 at 04:41:48PM +0100, Paul Burton wrote: > The ordering of accesses to the rx & tx descriptors is important, yet > the send & recv functions accessed them via regular structure accesses. > This leaves the compiler with the opportunity to reorder those accesses > or to hoist them outside of loops. Prevent that from happening by using > readl & writel to access the descriptors. As a nice bonus, this removes > the need for the driver to care about endianness. > > Signed-off-by: Paul Burton <[email protected]>
Applied to u-boot/master, thanks! -- Tom
signature.asc
Description: Digital signature
_______________________________________________ U-Boot mailing list [email protected] http://lists.denx.de/mailman/listinfo/u-boot

