diff options
author | Peter Tyser <ptyser@xes-inc.com> | 2009-09-16 22:03:08 -0500 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2009-09-22 23:05:29 +0200 |
commit | 004eca0c9ba328de457d5dc9ef8805639dfef893 (patch) | |
tree | 546b098739f4ac6abb59e1623857d5a4c3554492 /lib_ppc | |
parent | 3a8f28d0a6d9f8505017680233064c13e4587174 (diff) | |
download | bootable_bootloader_goldelico_gta04-004eca0c9ba328de457d5dc9ef8805639dfef893.zip bootable_bootloader_goldelico_gta04-004eca0c9ba328de457d5dc9ef8805639dfef893.tar.gz bootable_bootloader_goldelico_gta04-004eca0c9ba328de457d5dc9ef8805639dfef893.tar.bz2 |
ppc: Clean up calling of phy_reset() during init
Remove board-specific #ifdefs for calling phy_reset() during
initializtion
Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
Diffstat (limited to 'lib_ppc')
-rw-r--r-- | lib_ppc/board.c | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/lib_ppc/board.c b/lib_ppc/board.c index c6fb6fe..f9dbdb9 100644 --- a/lib_ppc/board.c +++ b/lib_ppc/board.c @@ -1000,22 +1000,7 @@ void board_init_r (gd_t *id, ulong dest_addr) eth_initialize (bd); #endif -#if defined(CONFIG_CMD_NET) && ( \ - defined(CONFIG_CCM) || \ - defined(CONFIG_ELPT860) || \ - defined(CONFIG_EP8260) || \ - defined(CONFIG_IP860) || \ - defined(CONFIG_IVML24) || \ - defined(CONFIG_IVMS8) || \ - defined(CONFIG_MPC8260ADS) || \ - defined(CONFIG_MPC8266ADS) || \ - defined(CONFIG_MPC8560ADS) || \ - defined(CONFIG_PCU_E) || \ - defined(CONFIG_RPXSUPER) || \ - defined(CONFIG_STXGP3) || \ - defined(CONFIG_SPD823TS) || \ - defined(CONFIG_RESET_PHY_R) ) - +#if defined(CONFIG_CMD_NET) && defined(CONFIG_RESET_PHY_R) WATCHDOG_RESET (); debug ("Reset Ethernet PHY\n"); reset_phy (); |