]> git.baikalelectronics.ru Git - uboot.git/commit
net: macb: Fix ETH not found when clock not support
authorWenyou Yang <wenyou.yang@atmel.com>
Tue, 14 Feb 2017 08:24:40 +0000 (16:24 +0800)
committerTom Rini <trini@konsulko.com>
Thu, 2 Mar 2017 02:28:39 +0000 (21:28 -0500)
commit34ae57eaff318064654287fb01685f68c2052ea2
treedddf615ed71656de8d6215d66e32338a3c55de60
parent76721b4ec75d756e5a5508050df07f4df75485b2
net: macb: Fix ETH not found when clock not support

For the boards such as smartweb on which the clock driver isn't
supported, the ethernet fail to be found when booting up with
the below log.
---8<---
Net:   No ethernet found.
--->8---

Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com>
Tested-by: Heiko Schocher <hs@denx.de>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
drivers/net/macb.c