igep00x0: Cleanup ethernet support
authorLadislav Michl <ladis@linux-mips.org>
Mon, 4 Jan 2016 22:07:59 +0000 (23:07 +0100)
committerTom Rini <trini@konsulko.com>
Wed, 20 Jan 2016 15:19:38 +0000 (10:19 -0500)
commit6ed75ba78b664c25d1a12312336fdb4a82b54359
tree5e3aa5b589903dec715996ab8a3f62bce7b76175
parent8a1c1043d5c842d4b6d206d09ac2b8875666dc1c
igep00x0: Cleanup ethernet support

- move chip reset to separate function
- use CONFIG_SMC911X_BASE instead of hardcoded value
- remove unneeded local variable from board_eth_init.

Signed-off-by: Ladislav Michl <ladis@linux-mips.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
Acked-by: Enric Balletbo Serra <enric.balletbo@collabora.com>
Reviewed-by: Heiko Schocher <hs@denx.de>
board/isee/igep00x0/igep00x0.c