summaryrefslogtreecommitdiff
path: root/drivers/ks8695eth.c
diff options
context:
space:
mode:
authorwdenk <wdenk>2005-05-23 10:49:50 +0000
committerwdenk <wdenk>2005-05-23 10:49:50 +0000
commit2eab48f511b5445383009131c64141800720eb5e (patch)
tree84b3fbd7d4b4b5fbe4931c130990c4ebe39b5edb /drivers/ks8695eth.c
parent16b013e750345afdf73977be73eb046f2b476495 (diff)
downloadu-boot-imx-2eab48f511b5445383009131c64141800720eb5e.zip
u-boot-imx-2eab48f511b5445383009131c64141800720eb5e.tar.gz
u-boot-imx-2eab48f511b5445383009131c64141800720eb5e.tar.bz2
* Extend burst mode RAM test program to take a loop count
(0 = infinite) * Use CONFIG_DRIVER_KS8695ETH to enable KS8695 ethernet driver on those boards that use it.
Diffstat (limited to 'drivers/ks8695eth.c')
-rw-r--r--drivers/ks8695eth.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/ks8695eth.c b/drivers/ks8695eth.c
index 89c766b..a4b03ae 100644
--- a/drivers/ks8695eth.c
+++ b/drivers/ks8695eth.c
@@ -18,6 +18,8 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
+#ifdef CONFIG_DRIVER_KS8695ETH
+
/****************************************************************************/
#include <common.h>
@@ -233,4 +235,4 @@ int eth_send(volatile void *packet, int len)
return len;
}
-/****************************************************************************/
+#endif /* CONFIG_DRIVER_KS8695ETH */