[U-Boot] [U-Boot, v3] net: macb: Not all the GEM are gigabit capable

Andreas Bießmann andreas.devel at googlemail.com
Wed Jan 27 14:00:11 CET 2016


Dear Gregory CLEMENT,

Gregory CLEMENT <gregory.clement at free-electrons.com> writes:
>During the initialization of PHY the gigabit bit capable is set if the
>controller is a GEM. However, for sama5d2 and sama5d4, the GEM is
>configured to support only 10/100.
>
>Improperly setting the GBE capability leads to an unresponsive MAC
>controller. This patch fixes this behavior allowing using the gmac with
>these SoCs.
>
>Suggested-by: Nicolas Ferre <nicolas.ferre at atmel.com>
>Signed-off-by: Gregory CLEMENT <gregory.clement at free-electrons.com>
>Acked-by: Nicolas Ferre <nicolas.ferre at atmel.com>
>Acked-by: Joe Hershberger <joe.hershberger at ni.com>
>Reviewed-by: Andreas Bießmann <andreas.devel at googlemail.com>
>[fixed minor checkpatch warning]
>Signed-off-by: Andreas Bießmann <andreas.devel at googlemail.com>
>---
>Hi,
>
>in this v3, I fixed the sama5d2 typo and the missing brace.
>
>I also took care of the cpu_is_* symbols which may not be defined
>depending of the choice of the SoC.
>
>Gregory
>
>drivers/net/macb.c | 21 +++++++++++++++++++--
> 1 file changed, 19 insertions(+), 2 deletions(-)

applied to u-boot-atmel/master, thanks!

Best regards,
Andreas Bießmann


More information about the U-Boot mailing list