summaryrefslogtreecommitdiff
path: root/lib_ppc
diff options
context:
space:
mode:
authorPeter Tyser <ptyser@xes-inc.com>2009-09-16 22:03:08 -0500
committerTom Rix <Tom.Rix@windriver.com>2009-10-03 09:04:31 -0500
commit81e60235bd207bcd2856b0dfae9138a62ebae794 (patch)
tree5f2c6dd7e0a19a14c1298c1f0914f877b0d217e6 /lib_ppc
parentb3ab9dfd497e19c0f92f21a420d323a978e5f863 (diff)
downloadu-boot-imx-81e60235bd207bcd2856b0dfae9138a62ebae794.zip
u-boot-imx-81e60235bd207bcd2856b0dfae9138a62ebae794.tar.gz
u-boot-imx-81e60235bd207bcd2856b0dfae9138a62ebae794.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.c17
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 ();