mx25: Define cpu_eth_init() only if needed
authorBenoît Thébaudeau <benoit.thebaudeau@advansee.com>
Thu, 27 Sep 2012 10:28:09 +0000 (10:28 +0000)
committerTom Rini <trini@ti.com>
Mon, 15 Oct 2012 18:54:13 +0000 (11:54 -0700)
commitf7542638c7ad3e2b98163f4b95a6d6f268c13a8b
tree8e5fbbf7b6aecfebee99b66a30d14346757cdb92
parent9baefa465d213330368b5cefcda3d5926351faa4
mx25: Define cpu_eth_init() only if needed

The FEC is the only SoC Ethernet support available on i.MX25, so define
cpu_eth_init() only for it instead of returning a misleading success code.

Signed-off-by: Benoît Thébaudeau <benoit.thebaudeau@advansee.com>
Cc: Stefano Babic <sbabic@denx.de>
arch/arm/cpu/arm926ejs/mx25/generic.c