summaryrefslogtreecommitdiff
path: root/board/xilinx/xilinx_enet/emac_adapter.c
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2008-09-10 22:48:00 +0200
committerJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2008-09-10 22:48:00 +0200
commit93f6d72544da4510a146bc4c93d609b0116cde37 (patch)
tree5295b96f23662d7cf889a2c929fef8b2567710cc /board/xilinx/xilinx_enet/emac_adapter.c
parent2556ef78113b5f089dfcac5da90bf31dd568397b (diff)
downloadu-boot-imx-93f6d72544da4510a146bc4c93d609b0116cde37.zip
u-boot-imx-93f6d72544da4510a146bc4c93d609b0116cde37.tar.gz
u-boot-imx-93f6d72544da4510a146bc4c93d609b0116cde37.tar.bz2
rename CFG_ENV_IS_NOWHERE in CONFIG_ENV_IS_NOWHERE
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Diffstat (limited to 'board/xilinx/xilinx_enet/emac_adapter.c')
-rw-r--r--board/xilinx/xilinx_enet/emac_adapter.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/board/xilinx/xilinx_enet/emac_adapter.c b/board/xilinx/xilinx_enet/emac_adapter.c
index d340303..0b100d2 100644
--- a/board/xilinx/xilinx_enet/emac_adapter.c
+++ b/board/xilinx/xilinx_enet/emac_adapter.c
@@ -56,7 +56,7 @@ static XEmac Emac;
static char etherrxbuff[PKTSIZE_ALIGN]; /* Receive buffer */
/* hardcoded MAC address for the Xilinx EMAC Core when env is nowhere*/
-#ifdef CFG_ENV_IS_NOWHERE
+#ifdef CONFIG_ENV_IS_NOWHERE
static u8 EMACAddr[ENET_ADDR_LENGTH] = { 0x00, 0x0a, 0x35, 0x00, 0x22, 0x01 };
#endif
@@ -87,7 +87,7 @@ eth_init(bd_t * bis)
/* make sure the Emac is stopped before it is started */
(void) XEmac_Stop(&Emac);
-#ifdef CFG_ENV_IS_NOWHERE
+#ifdef CONFIG_ENV_IS_NOWHERE
memcpy(bis->bi_enetaddr, EMACAddr, 6);
#endif