Skip to content
Commit 42903365 authored by Andre Przywara's avatar Andre Przywara Committed by Tom Rini
Browse files

marvell: comphy_a3700: fix bitmask



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: default avatarAndre Przywara <andre.przywara@arm.com>
Reviewed-by: default avatarStefan Roese <sr@denx.de>
Reviewed-by: default avatarStefan Roese <sr@denx.de>
parent b8d4fad3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment