]> git.sur5r.net Git - u-boot/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)
commit3fd2b3aa19b9479b5e785087e4951d3a7bbb87be
treedddf615ed71656de8d6215d66e32338a3c55de60
parent7a70c9985ccf2e7e0016b32c367a922e01b6c1fb
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