diff options
author | Jon Loeliger <jdl@freescale.com> | 2007-07-09 18:31:28 -0500 |
---|---|---|
committer | Jon Loeliger <jdl@freescale.com> | 2007-07-09 18:48:06 -0500 |
commit | c508a4cefd8a953fc64957650506a035e6e3d9d1 (patch) | |
tree | 8d6dfc5e3cabb62bc916cc989a613aa3d3534396 /board/funkwerk/vovpn-gw | |
parent | b9307262f8a9f3b5c9e15a6067eadc17407146f6 (diff) | |
download | u-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')
-rw-r--r-- | board/funkwerk/vovpn-gw/m88e6060.c | 2 | ||||
-rw-r--r-- | board/funkwerk/vovpn-gw/vovpn-gw.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/board/funkwerk/vovpn-gw/m88e6060.c b/board/funkwerk/vovpn-gw/m88e6060.c index 8035ca4..58b5b6e 100644 --- a/board/funkwerk/vovpn-gw/m88e6060.c +++ b/board/funkwerk/vovpn-gw/m88e6060.c @@ -31,7 +31,7 @@ #include "m88e6060.h" -#if (CONFIG_COMMANDS & CFG_CMD_NET) || defined(CONFIG_CMD_NET) +#if defined(CONFIG_CMD_NET) static int prtTab[M88X_PRT_CNT] = { 8, 9, 10, 11, 12, 13 }; static int phyTab[M88X_PHY_CNT] = { 0, 1, 2, 3, 4 }; 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++) { |