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

login
register
mail settings
Submitter Mike Frysinger
Date Oct. 16, 2011, 8:04 p.m.
Message ID <1318795453-18090-3-git-send-email-vapier@gentoo.org>
Download mbox | patch
Permalink /patch/120062/
State Accepted
Delegated to: Wolfgang Denk
Headers show

Comments

Mike Frysinger - Oct. 16, 2011, 8:04 p.m.
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@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/include/ns9750_eth.h b/include/ns9750_eth.h
deleted file mode 100644
index 80c721b..0000000
Wolfgang Denk - Oct. 23, 2011, 9:03 p.m.
Dear Mike Frysinger,

In message <1318795453-18090-3-git-send-email-vapier@gentoo.org> you wrote:
> 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@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

Applied, thanks.

Best regards,

Wolfgang Denk

Patch

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