* [U-Boot] [PATCH v1] ARM : Remove unused CONFIG_DRIVER_SMC91111, CONFIG_DRIVER_LAN91C96
@ 2012-10-15 17:00 Ashok Kumar Reddy
2012-10-15 18:07 ` Tom Rini
2012-10-22 21:05 ` Tom Rini
0 siblings, 2 replies; 3+ messages in thread
From: Ashok Kumar Reddy @ 2012-10-15 17:00 UTC (permalink / raw)
To: u-boot
Remove unused CONFIG_DRIVER_SMC91111,CONFIG_DRIVER_LAN91C96,
if required implement smc_set_mac_addr() in board init.
Signed-off-by: Ashok Kumar Reddy <ashokkourla2000@gmail.com>
---
Changes from v1:
- Fixed typo
arch/arm/lib/board.c | 17 -----------------
1 file changed, 17 deletions(-)
diff --git a/arch/arm/lib/board.c b/arch/arm/lib/board.c
index 109a1ac..cb71b02 100644
--- a/arch/arm/lib/board.c
+++ b/arch/arm/lib/board.c
@@ -57,13 +57,6 @@
#include <miiphy.h>
#endif
-#ifdef CONFIG_DRIVER_SMC91111
-#include "../drivers/net/smc91111.h"
-#endif
-#ifdef CONFIG_DRIVER_LAN91C96
-#include "../drivers/net/lan91c96.h"
-#endif
-
DECLARE_GLOBAL_DATA_PTR;
ulong monitor_flash_len;
@@ -593,16 +586,6 @@ void board_init_r(gd_t *id, ulong dest_addr)
/* enable exceptions */
enable_interrupts();
- /* Perform network card initialisation if necessary */
-#if defined(CONFIG_DRIVER_SMC91111) || defined (CONFIG_DRIVER_LAN91C96)
- /* XXX: this needs to be moved to board init */
- if (getenv("ethaddr")) {
- uchar enetaddr[6];
- eth_getenv_enetaddr("ethaddr", enetaddr);
- smc_set_mac_addr(enetaddr);
- }
-#endif /* CONFIG_DRIVER_SMC91111 || CONFIG_DRIVER_LAN91C96 */
-
/* Initialize from environment */
load_addr = getenv_ulong("loadaddr", 16, load_addr);
--
1.7.9.5
^ permalink raw reply related [flat|nested] 3+ messages in thread* [U-Boot] [PATCH v1] ARM : Remove unused CONFIG_DRIVER_SMC91111, CONFIG_DRIVER_LAN91C96
2012-10-15 17:00 [U-Boot] [PATCH v1] ARM : Remove unused CONFIG_DRIVER_SMC91111, CONFIG_DRIVER_LAN91C96 Ashok Kumar Reddy
@ 2012-10-15 18:07 ` Tom Rini
2012-10-22 21:05 ` Tom Rini
1 sibling, 0 replies; 3+ messages in thread
From: Tom Rini @ 2012-10-15 18:07 UTC (permalink / raw)
To: u-boot
On Mon, Oct 15, 2012 at 10:30:14PM +0530, Ashok Kumar Reddy wrote:
> Remove unused CONFIG_DRIVER_SMC91111,CONFIG_DRIVER_LAN91C96,
> if required implement smc_set_mac_addr() in board init.
>
> Signed-off-by: Ashok Kumar Reddy <ashokkourla2000@gmail.com>
> ---
> Changes from v1:
> - Fixed typo
Note that you should change the subject to say 'v2' now. You don't need
to resend, just please keep this in mind for future patches.
Acked-by: Tom Rini <trini@ti.com>
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20121015/20d08e94/attachment.pgp>
^ permalink raw reply [flat|nested] 3+ messages in thread
* [U-Boot] [PATCH v1] ARM : Remove unused CONFIG_DRIVER_SMC91111, CONFIG_DRIVER_LAN91C96
2012-10-15 17:00 [U-Boot] [PATCH v1] ARM : Remove unused CONFIG_DRIVER_SMC91111, CONFIG_DRIVER_LAN91C96 Ashok Kumar Reddy
2012-10-15 18:07 ` Tom Rini
@ 2012-10-22 21:05 ` Tom Rini
1 sibling, 0 replies; 3+ messages in thread
From: Tom Rini @ 2012-10-22 21:05 UTC (permalink / raw)
To: u-boot
On Mon, Oct 15, 2012 at 10:30:14PM +0530, Ashok Kumar Reddy wrote:
> Remove unused CONFIG_DRIVER_SMC91111,CONFIG_DRIVER_LAN91C96,
> if required implement smc_set_mac_addr() in board init.
>
> Signed-off-by: Ashok Kumar Reddy <ashokkourla2000@gmail.com>
> ---
> Changes from v1:
> - Fixed typo
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20121022/fd4a6079/attachment-0001.pgp>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-10-22 21:05 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-15 17:00 [U-Boot] [PATCH v1] ARM : Remove unused CONFIG_DRIVER_SMC91111, CONFIG_DRIVER_LAN91C96 Ashok Kumar Reddy
2012-10-15 18:07 ` Tom Rini
2012-10-22 21:05 ` Tom Rini
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox