summaryrefslogtreecommitdiff
path: root/board/funkwerk/vovpn-gw/vovpn-gw.c
diff options
context:
space:
mode:
authorJon Loeliger <jdl@freescale.com>2007-07-09 18:31:28 -0500
committerJon Loeliger <jdl@freescale.com>2007-07-09 18:48:06 -0500
commitc508a4cefd8a953fc64957650506a035e6e3d9d1 (patch)
tree8d6dfc5e3cabb62bc916cc989a613aa3d3534396 /board/funkwerk/vovpn-gw/vovpn-gw.c
parentb9307262f8a9f3b5c9e15a6067eadc17407146f6 (diff)
downloadu-boot-imx-c508a4cefd8a953fc64957650506a035e6e3d9d1.zip
u-boot-imx-c508a4cefd8a953fc64957650506a035e6e3d9d1.tar.gz
u-boot-imx-c508a4cefd8a953fc64957650506a035e6e3d9d1.tar.bz2
board/[f-l]*: Remove obsolete references to CONFIG_COMMANDS
Signed-off-by: Jon Loeliger <jdl@freescale.com>
Diffstat (limited to 'board/funkwerk/vovpn-gw/vovpn-gw.c')
-rw-r--r--board/funkwerk/vovpn-gw/vovpn-gw.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/board/funkwerk/vovpn-gw/vovpn-gw.c b/board/funkwerk/vovpn-gw/vovpn-gw.c
index c9d10da..9b5429a 100644
--- a/board/funkwerk/vovpn-gw/vovpn-gw.c
+++ b/board/funkwerk/vovpn-gw/vovpn-gw.c
@@ -184,7 +184,7 @@ const iop_conf_t iop_conf_tab[4][32] = {
void reset_phy (void)
{
volatile ioport_t *iop;
-#if (CONFIG_COMMANDS & CFG_CMD_NET) || defined(CONFIG_CMD_NET)
+#if defined(CONFIG_CMD_NET)
int i;
unsigned short val;
#endif
@@ -193,7 +193,7 @@ void reset_phy (void)
/* Reset the PHY */
iop->pdat &= 0xfff7ffff; /* PA12 = |SWITCH_RESET */
-#if (CONFIG_COMMANDS & CFG_CMD_NET) || defined(CONFIG_CMD_NET)
+#if defined(CONFIG_CMD_NET)
udelay(20000);
iop->pdat |= 0x00080000;
for (i=0; i<100; i++) {