[U-Boot] [U-Boot,06/12] marvell: comphy_a3700: fix bitmask

Tom Rini trini at konsulko.com
Mon Dec 5 00:02:42 CET 2016


On Wed, Nov 16, 2016 at 12:50:10AM +0000, Andre Przywara wrote:

> Obviously the mask for the rx and tx select field cannot be right,
> as it would overlap in one and exceed the 32-bit register in the other
> case. From looking at the neighbouring bits it looks like the mask
> should be really 4 bits wide instead of 8.
> 
> Pointed out by a GCC 6.2 (default) warning.
> 
> Signed-off-by: Andre Przywara <andre.przywara at arm.com>
> Reviewed-by: Stefan Roese <sr at denx.de>
> Reviewed-by: Stefan Roese <sr at denx.de>

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/20161204/d24a48bd/attachment.sig>


More information about the U-Boot mailing list