Patchwork [U-Boot,5/6] net: remove unused CONFIG_AT91_LEGACY

login
register
mail settings
Submitter Andreas Bießmann
Date Oct. 30, 2013, 2:18 p.m.
Message ID <1383142702-9782-6-git-send-email-andreas.devel@googlemail.com>
Download mbox | patch
Permalink /patch/287225/
State Accepted
Delegated to: Andreas Bießmann
Headers show

Comments

Andreas Bießmann - Oct. 30, 2013, 2:18 p.m.
Signed-off-by: Andreas Bießmann <andreas.devel@googlemail.com>
---
 drivers/net/at91_emac.c |    9 ---------
 1 file changed, 9 deletions(-)
Andreas Bießmann - Nov. 13, 2013, 9:22 p.m.
Dear Andreas Devel,

Andreas Devel <andreas.devel@googlemail.com> writes:
>Signed-off-by: Andreas Bießmann <andreas.devel@googlemail.com>
>
>---
>drivers/net/at91_emac.c |    9 ---------
> 1 file changed, 9 deletions(-)

applied to u-boot-atmel/master, thanks!

Best regards,
Andreas Bießmann

Patch

diff --git a/drivers/net/at91_emac.c b/drivers/net/at91_emac.c
index 73612ea..64d4c56 100644
--- a/drivers/net/at91_emac.c
+++ b/drivers/net/at91_emac.c
@@ -10,19 +10,10 @@ 
 
 #include <common.h>
 #include <asm/io.h>
-#ifndef CONFIG_AT91_LEGACY
 #include <asm/arch/hardware.h>
 #include <asm/arch/at91_emac.h>
 #include <asm/arch/at91_pmc.h>
 #include <asm/arch/at91_pio.h>
-#else
-/* remove next 5 lines, if all RM9200 boards convert to at91 arch */
-#include <asm/arch-at91/at91rm9200.h>
-#include <asm/arch-at91/hardware.h>
-#include <asm/arch-at91/at91_emac.h>
-#include <asm/arch-at91/at91_pmc.h>
-#include <asm/arch-at91/at91_pio.h>
-#endif
 #include <net.h>
 #include <netdev.h>
 #include <malloc.h>