[U-Boot] [PATCH 2/5] net: ns9750: drop !NET_MULTI driver

Mike Frysinger vapier at gentoo.org
Sun Oct 16 22:04:10 CEST 2011


Only one board uses this driver (ns9750dev), but the board doesn't seem
to have an entry to actually build it in the Makefile/boards.cfg, so just
delete net support from its board config.

Signed-off-by: Mike Frysinger <vapier at gentoo.org>
---
 drivers/net/Makefile        |    1 -
 drivers/net/ns9750_eth.c    |  789 -------------------------------------------
 include/configs/ns9750dev.h |    2 -
 include/ns9750_eth.h        |  298 ----------------
 4 files changed, 0 insertions(+), 1090 deletions(-)
 delete mode 100644 drivers/net/ns9750_eth.c
 delete mode 100644 include/ns9750_eth.h

diff --git a/drivers/net/Makefile b/drivers/net/Makefile
index a00c3ba..c885920 100644
--- a/drivers/net/Makefile
+++ b/drivers/net/Makefile
@@ -61,7 +61,6 @@ COBJS-$(CONFIG_DRIVER_AX88796L) += ax88796.o ne2000_base.o
 COBJS-$(CONFIG_DRIVER_NETARMETH) += netarm_eth.o
 COBJS-$(CONFIG_NETCONSOLE) += netconsole.o
 COBJS-$(CONFIG_NS8382X) += ns8382x.o
-COBJS-$(CONFIG_DRIVER_NS9750_ETHERNET) += ns9750_eth.o
 COBJS-$(CONFIG_PCNET) += pcnet.o
 COBJS-$(CONFIG_PLB2800_ETHER) += plb2800_eth.o
 COBJS-$(CONFIG_RTL8139) += rtl8139.o
diff --git a/drivers/net/ns9750_eth.c b/drivers/net/ns9750_eth.c
deleted file mode 100644
index 9899563..0000000
diff --git a/include/configs/ns9750dev.h b/include/configs/ns9750dev.h
index 8ecd2a9..c495423 100644
--- a/include/configs/ns9750dev.h
+++ b/include/configs/ns9750dev.h
@@ -55,7 +55,6 @@
  * Hardware drivers
  */
 #define CONFIG_NS9750_UART		1	/* use on-chip UART */
-#define CONFIG_DRIVER_NS9750_ETHERNET	1	/* use on-chip ethernet */
 
 /*
  * select serial console configuration
@@ -86,7 +85,6 @@
 #define CONFIG_CMD_LOADB
 #define CONFIG_CMD_LOADS
 #define CONFIG_CMD_MEMORY
-#define CONFIG_CMD_NET
 #define CONFIG_CMD_PING
 
 
diff --git a/include/ns9750_eth.h b/include/ns9750_eth.h
deleted file mode 100644
index 80c721b..0000000
-- 
1.7.6.1



More information about the U-Boot mailing list