From 6ef242472b2c8f4a710c65069815908882ca2992 Mon Sep 17 00:00:00 2001 From: GIT Repo Date: Mon, 21 Nov 2011 14:39:07 -0800 Subject: [PATCH] Revert "Xilinx: ARM: GEM PHY address update for silicon." This reverts commit 90a036349c6ad4e69fd9c3b7cce19c037eefbd48. The new board has only 2 choices for PHY addresses, 0x7 and 0x17 which are based on the jumpers. 0x17 was what was being used on EP107 so assuming we set the jumpers we shouldn't need this change which would not have worked (0x16 phy addr). --- board/xilinx/dfe/xgmac.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/board/xilinx/dfe/xgmac.c b/board/xilinx/dfe/xgmac.c index 79a941845eb..1b53baaf763 100644 --- a/board/xilinx/dfe/xgmac.c +++ b/board/xilinx/dfe/xgmac.c @@ -18,12 +18,7 @@ int Xgmac_phy_mgmt_idle(XEmacPss * EmacPssInstancePtr); /*************************** Constant Definitions ***************************/ #define EMACPSS_DEVICE_ID 0 - -#if defined(CONFIG_EP107) -# define PHY_ADDR 0x17 -#else -# define PHY_ADDR 0x10 -#endif +#define PHY_ADDR 0x17 #define RXBD_CNT 8 /* Number of RxBDs to use */ #define TXBD_CNT 8 /* Number of TxBDs to use */ -- 2.47.3