All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 0/6] at91: get rid of long standing work around CONFIG_AT91_LEGACY
@ 2013-10-30 14:18 Andreas Bießmann
  2013-10-30 14:18 ` [U-Boot] [PATCH 1/6] video: remove AT91 legacy API from bus_vcxk Andreas Bießmann
                   ` (5 more replies)
  0 siblings, 6 replies; 17+ messages in thread
From: Andreas Bießmann @ 2013-10-30 14:18 UTC (permalink / raw)
  To: u-boot

This series cleans up the CONFIG_AT91_LEGACY mess. It was introduced for
transition to C struct SoC peripheral access. The transision is almost done
but introduced another CONFIG_ATMEL_LEGACY define for some GPIO cleanup which
was never finished.
There are currently just two users of the CONFIG_AT91_LEGACY left, while they
doesn't need to define it cause in fact they just need the CONFIG_ATMEL_LEGACY
define.
Therefore remove first the not longer needed CONFIG_AT91_LEGACY define now and
in a second step also the CONFIG_ATMEL_LEGACY.

The CONFIG_ATMEL_LEGACY is mostly GPIO related. There is currently a dicussion
about new API for the at91 (g)pio accessors at in [1]. Please comment there.

[1] http://article.gmane.org/gmane.comp.boot-loaders.u-boot/172727


Andreas Bie?mann (6):
  video: remove AT91 legacy API from bus_vcxk
  i2c: switch from AT91 legacy to ATMEL legacy
  at91sam9m10g45ek: remove unused CONFIG_AT91_LEGACY
  snapper9260: remove unused AT91_LEGACY
  net: remove unused CONFIG_AT91_LEGACY
  at91: remove all occourances of CONFIG_AT91_LEGACY

 arch/arm/include/asm/arch-at91/at91_pio.h     |   33 ------------
 arch/arm/include/asm/arch-at91/at91_pit.h     |   16 ------
 arch/arm/include/asm/arch-at91/at91_pmc.h     |   51 ++----------------
 arch/arm/include/asm/arch-at91/at91_spi.h     |    2 +-
 arch/arm/include/asm/arch-at91/at91_wdt.h     |   21 --------
 arch/arm/include/asm/arch-at91/at91cap9.h     |   69 -------------------------
 arch/arm/include/asm/arch-at91/at91sam9_smc.h |   60 ---------------------
 doc/README.at91-soc                           |    7 +++
 drivers/i2c/soft_i2c.c                        |    2 +-
 drivers/net/at91_emac.c                       |    9 ----
 drivers/video/bus_vcxk.c                      |   15 ------
 include/configs/at91sam9m10g45ek.h            |    1 -
 include/configs/snapper9260.h                 |    1 -
 include/i2c.h                                 |    2 +-
 14 files changed, 15 insertions(+), 274 deletions(-)

-- 
1.7.10.4

^ permalink raw reply	[flat|nested] 17+ messages in thread

* [U-Boot] [PATCH 1/6] video: remove AT91 legacy API from bus_vcxk
  2013-10-30 14:18 [U-Boot] [PATCH 0/6] at91: get rid of long standing work around CONFIG_AT91_LEGACY Andreas Bießmann
@ 2013-10-30 14:18 ` Andreas Bießmann
  2013-11-04 15:12   ` Jens Scharsig
                     ` (2 more replies)
  2013-10-30 14:18 ` [U-Boot] [PATCH 2/6] i2c: switch from AT91 legacy to ATMEL legacy Andreas Bießmann
                   ` (4 subsequent siblings)
  5 siblings, 3 replies; 17+ messages in thread
From: Andreas Bießmann @ 2013-10-30 14:18 UTC (permalink / raw)
  To: u-boot

Signed-off-by: Andreas Bie?mann <andreas.devel@googlemail.com>
---
 drivers/video/bus_vcxk.c |   15 ---------------
 1 file changed, 15 deletions(-)

diff --git a/drivers/video/bus_vcxk.c b/drivers/video/bus_vcxk.c
index 0138bca..60a5cc5 100644
--- a/drivers/video/bus_vcxk.c
+++ b/drivers/video/bus_vcxk.c
@@ -20,7 +20,6 @@ vu_long  *vcxk_bws_long = ((vu_long *) (CONFIG_SYS_VCXK_BASE));
 	#ifndef VCBITMASK
 		#define VCBITMASK(bitno)	(0x0001 << (bitno % 16))
 	#endif
-#ifndef CONFIG_AT91_LEGACY
 at91_pio_t *pio = (at91_pio_t *) AT91_PIO_BASE;
 #define VCXK_INIT_PIN(PORT, PIN, DDR, I0O1) \
 	do { \
@@ -37,20 +36,6 @@ at91_pio_t *pio = (at91_pio_t *) AT91_PIO_BASE;
 #define VCXK_ACKNOWLEDGE	\
 	(!(readl(&pio->CONFIG_SYS_VCXK_ACKNOWLEDGE_PORT.pdsr) & \
 			CONFIG_SYS_VCXK_ACKNOWLEDGE_PIN))
-#else
-	#define VCXK_INIT_PIN(PORT, PIN, DDR, I0O1) \
-		((AT91PS_PIO) PORT)->PIO_PER = PIN; \
-		((AT91PS_PIO) PORT)->DDR = PIN; \
-		((AT91PS_PIO) PORT)->PIO_MDDR = PIN; \
-		if (!I0O1) ((AT91PS_PIO) PORT)->PIO_PPUER = PIN;
-
-	#define VCXK_SET_PIN(PORT, PIN)	((AT91PS_PIO) PORT)->PIO_SODR  = PIN;
-	#define VCXK_CLR_PIN(PORT, PIN)	((AT91PS_PIO) PORT)->PIO_CODR  = PIN;
-
-	#define VCXK_ACKNOWLEDGE	\
-		(!(((AT91PS_PIO) CONFIG_SYS_VCXK_ACKNOWLEDGE_PORT)->\
-			PIO_PDSR & CONFIG_SYS_VCXK_ACKNOWLEDGE_PIN))
-#endif
 #elif defined(CONFIG_MCF52x2)
 	#include <asm/m5282.h>
 	#ifndef VCBITMASK
-- 
1.7.10.4

^ permalink raw reply related	[flat|nested] 17+ messages in thread

* [U-Boot] [PATCH 2/6] i2c: switch from AT91 legacy to ATMEL legacy
  2013-10-30 14:18 [U-Boot] [PATCH 0/6] at91: get rid of long standing work around CONFIG_AT91_LEGACY Andreas Bießmann
  2013-10-30 14:18 ` [U-Boot] [PATCH 1/6] video: remove AT91 legacy API from bus_vcxk Andreas Bießmann
@ 2013-10-30 14:18 ` Andreas Bießmann
  2013-10-31  5:08   ` Heiko Schocher
  2013-11-13 21:21   ` [U-Boot] [U-Boot,2/6] " Andreas Bießmann
  2013-10-30 14:18 ` [U-Boot] [PATCH 3/6] at91sam9m10g45ek: remove unused CONFIG_AT91_LEGACY Andreas Bießmann
                   ` (3 subsequent siblings)
  5 siblings, 2 replies; 17+ messages in thread
From: Andreas Bießmann @ 2013-10-30 14:18 UTC (permalink / raw)
  To: u-boot

Since the required API is gpio which is enclosed with CONFIG_ATMEL_LEGACY use
that switch here.

Signed-off-by: Andreas Bie?mann <andreas.devel@googlemail.com>
---
 drivers/i2c/soft_i2c.c |    2 +-
 include/i2c.h          |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/i2c/soft_i2c.c b/drivers/i2c/soft_i2c.c
index 396fea8..dfea54a 100644
--- a/drivers/i2c/soft_i2c.c
+++ b/drivers/i2c/soft_i2c.c
@@ -25,7 +25,7 @@
 #include <asm/io.h>
 #include <asm/arch/hardware.h>
 #include <asm/arch/at91_pio.h>
-#ifdef CONFIG_AT91_LEGACY
+#ifdef CONFIG_ATMEL_LEGACY
 #include <asm/arch/gpio.h>
 #endif
 #endif
diff --git a/include/i2c.h b/include/i2c.h
index c1be533..f93a183 100644
--- a/include/i2c.h
+++ b/include/i2c.h
@@ -147,7 +147,7 @@ extern struct i2c_bus_hose	i2c_bus[];
 
 # elif (defined(CONFIG_AT91RM9200) || \
 	defined(CONFIG_AT91SAM9260) ||  defined(CONFIG_AT91SAM9261) || \
-	defined(CONFIG_AT91SAM9263)) && !defined(CONFIG_AT91_LEGACY)
+	defined(CONFIG_AT91SAM9263))
 #  define I2C_SOFT_DECLARATIONS	at91_pio_t *pio	= (at91_pio_t *) ATMEL_BASE_PIOA;
 # else
 #  define I2C_SOFT_DECLARATIONS
-- 
1.7.10.4

^ permalink raw reply related	[flat|nested] 17+ messages in thread

* [U-Boot] [PATCH 3/6] at91sam9m10g45ek: remove unused CONFIG_AT91_LEGACY
  2013-10-30 14:18 [U-Boot] [PATCH 0/6] at91: get rid of long standing work around CONFIG_AT91_LEGACY Andreas Bießmann
  2013-10-30 14:18 ` [U-Boot] [PATCH 1/6] video: remove AT91 legacy API from bus_vcxk Andreas Bießmann
  2013-10-30 14:18 ` [U-Boot] [PATCH 2/6] i2c: switch from AT91 legacy to ATMEL legacy Andreas Bießmann
@ 2013-10-30 14:18 ` Andreas Bießmann
  2013-10-31  3:18   ` Bo Shen
  2013-11-13 21:22   ` [U-Boot] [U-Boot,3/6] " Andreas Bießmann
  2013-10-30 14:18 ` [U-Boot] [PATCH 4/6] snapper9260: remove unused AT91_LEGACY Andreas Bießmann
                   ` (2 subsequent siblings)
  5 siblings, 2 replies; 17+ messages in thread
From: Andreas Bießmann @ 2013-10-30 14:18 UTC (permalink / raw)
  To: u-boot

Signed-off-by: Andreas Bie?mann <andreas.devel@googlemail.com>
---
 include/configs/at91sam9m10g45ek.h |    1 -
 1 file changed, 1 deletion(-)

diff --git a/include/configs/at91sam9m10g45ek.h b/include/configs/at91sam9m10g45ek.h
index fc4ecec..be9df74 100644
--- a/include/configs/at91sam9m10g45ek.h
+++ b/include/configs/at91sam9m10g45ek.h
@@ -15,7 +15,6 @@
 
 #define CONFIG_SYS_TEXT_BASE		0x73f00000
 
-#define CONFIG_AT91_LEGACY
 #define CONFIG_ATMEL_LEGACY		/* required until (g)pio is fixed */
 
 /* ARM asynchronous clock */
-- 
1.7.10.4

^ permalink raw reply related	[flat|nested] 17+ messages in thread

* [U-Boot] [PATCH 4/6] snapper9260: remove unused AT91_LEGACY
  2013-10-30 14:18 [U-Boot] [PATCH 0/6] at91: get rid of long standing work around CONFIG_AT91_LEGACY Andreas Bießmann
                   ` (2 preceding siblings ...)
  2013-10-30 14:18 ` [U-Boot] [PATCH 3/6] at91sam9m10g45ek: remove unused CONFIG_AT91_LEGACY Andreas Bießmann
@ 2013-10-30 14:18 ` Andreas Bießmann
  2013-11-13 21:22   ` [U-Boot] [U-Boot,4/6] " Andreas Bießmann
  2013-10-30 14:18 ` [U-Boot] [PATCH 5/6] net: remove unused CONFIG_AT91_LEGACY Andreas Bießmann
  2013-10-30 14:18 ` [U-Boot] [PATCH 6/6] at91: remove all occourances of CONFIG_AT91_LEGACY Andreas Bießmann
  5 siblings, 1 reply; 17+ messages in thread
From: Andreas Bießmann @ 2013-10-30 14:18 UTC (permalink / raw)
  To: u-boot

Signed-off-by: Andreas Bie?mann <andreas.devel@googlemail.com>
---
 include/configs/snapper9260.h |    1 -
 1 file changed, 1 deletion(-)

diff --git a/include/configs/snapper9260.h b/include/configs/snapper9260.h
index 17eb5f2..005931c 100644
--- a/include/configs/snapper9260.h
+++ b/include/configs/snapper9260.h
@@ -74,7 +74,6 @@
 #define CONFIG_USB_STORAGE
 
 /* GPIOs and IO expander */
-#define CONFIG_AT91_LEGACY
 #define CONFIG_ATMEL_LEGACY
 #define CONFIG_AT91_GPIO
 #define CONFIG_AT91_GPIO_PULLUP		1
-- 
1.7.10.4

^ permalink raw reply related	[flat|nested] 17+ messages in thread

* [U-Boot] [PATCH 5/6] net: remove unused CONFIG_AT91_LEGACY
  2013-10-30 14:18 [U-Boot] [PATCH 0/6] at91: get rid of long standing work around CONFIG_AT91_LEGACY Andreas Bießmann
                   ` (3 preceding siblings ...)
  2013-10-30 14:18 ` [U-Boot] [PATCH 4/6] snapper9260: remove unused AT91_LEGACY Andreas Bießmann
@ 2013-10-30 14:18 ` Andreas Bießmann
  2013-11-13 21:22   ` [U-Boot] [U-Boot,5/6] " Andreas Bießmann
  2013-10-30 14:18 ` [U-Boot] [PATCH 6/6] at91: remove all occourances of CONFIG_AT91_LEGACY Andreas Bießmann
  5 siblings, 1 reply; 17+ messages in thread
From: Andreas Bießmann @ 2013-10-30 14:18 UTC (permalink / raw)
  To: u-boot

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

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>
-- 
1.7.10.4

^ permalink raw reply related	[flat|nested] 17+ messages in thread

* [U-Boot] [PATCH 6/6] at91: remove all occourances of CONFIG_AT91_LEGACY
  2013-10-30 14:18 [U-Boot] [PATCH 0/6] at91: get rid of long standing work around CONFIG_AT91_LEGACY Andreas Bießmann
                   ` (4 preceding siblings ...)
  2013-10-30 14:18 ` [U-Boot] [PATCH 5/6] net: remove unused CONFIG_AT91_LEGACY Andreas Bießmann
@ 2013-10-30 14:18 ` Andreas Bießmann
  2013-11-13 21:22   ` [U-Boot] [U-Boot,6/6] " Andreas Bießmann
  5 siblings, 1 reply; 17+ messages in thread
From: Andreas Bießmann @ 2013-10-30 14:18 UTC (permalink / raw)
  To: u-boot

Signed-off-by: Andreas Bie?mann <andreas.devel@googlemail.com>
---
 arch/arm/include/asm/arch-at91/at91_pio.h     |   33 ------------
 arch/arm/include/asm/arch-at91/at91_pit.h     |   16 ------
 arch/arm/include/asm/arch-at91/at91_pmc.h     |   51 ++----------------
 arch/arm/include/asm/arch-at91/at91_spi.h     |    2 +-
 arch/arm/include/asm/arch-at91/at91_wdt.h     |   21 --------
 arch/arm/include/asm/arch-at91/at91cap9.h     |   69 -------------------------
 arch/arm/include/asm/arch-at91/at91sam9_smc.h |   60 ---------------------
 doc/README.at91-soc                           |    7 +++
 8 files changed, 13 insertions(+), 246 deletions(-)

diff --git a/arch/arm/include/asm/arch-at91/at91_pio.h b/arch/arm/include/asm/arch-at91/at91_pio.h
index 676f024..50464ff 100644
--- a/arch/arm/include/asm/arch-at91/at91_pio.h
+++ b/arch/arm/include/asm/arch-at91/at91_pio.h
@@ -151,37 +151,4 @@ int at91_get_pio_value(unsigned port, unsigned pin);
 #define	AT91_PIO_PORTD		0x3
 #define	AT91_PIO_PORTE		0x4
 
-#ifdef CONFIG_AT91_LEGACY
-
-#define PIO_PER		0x00	/* Enable Register */
-#define PIO_PDR		0x04	/* Disable Register */
-#define PIO_PSR		0x08	/* Status Register */
-#define PIO_OER		0x10	/* Output Enable Register */
-#define PIO_ODR		0x14	/* Output Disable Register */
-#define PIO_OSR		0x18	/* Output Status Register */
-#define PIO_IFER	0x20	/* Glitch Input Filter Enable */
-#define PIO_IFDR	0x24	/* Glitch Input Filter Disable */
-#define PIO_IFSR	0x28	/* Glitch Input Filter Status */
-#define PIO_SODR	0x30	/* Set Output Data Register */
-#define PIO_CODR	0x34	/* Clear Output Data Register */
-#define PIO_ODSR	0x38	/* Output Data Status Register */
-#define PIO_PDSR	0x3c	/* Pin Data Status Register */
-#define PIO_IER		0x40	/* Interrupt Enable Register */
-#define PIO_IDR		0x44	/* Interrupt Disable Register */
-#define PIO_IMR		0x48	/* Interrupt Mask Register */
-#define PIO_ISR		0x4c	/* Interrupt Status Register */
-#define PIO_MDER	0x50	/* Multi-driver Enable Register */
-#define PIO_MDDR	0x54	/* Multi-driver Disable Register */
-#define PIO_MDSR	0x58	/* Multi-driver Status Register */
-#define PIO_PUDR	0x60	/* Pull-up Disable Register */
-#define PIO_PUER	0x64	/* Pull-up Enable Register */
-#define PIO_PUSR	0x68	/* Pull-up Status Register */
-#define PIO_ASR		0x70	/* Peripheral A Select Register */
-#define PIO_BSR		0x74	/* Peripheral B Select Register */
-#define PIO_ABSR	0x78	/* AB Status Register */
-#define PIO_OWER	0xa0	/* Output Write Enable Register */
-#define PIO_OWDR	0xa4	/* Output Write Disable Register */
-#define PIO_OWSR	0xa8	/* Output Write Status Register */
-#endif
-
 #endif
diff --git a/arch/arm/include/asm/arch-at91/at91_pit.h b/arch/arm/include/asm/arch-at91/at91_pit.h
index d314b06..56724f1 100644
--- a/arch/arm/include/asm/arch-at91/at91_pit.h
+++ b/arch/arm/include/asm/arch-at91/at91_pit.h
@@ -25,20 +25,4 @@ typedef struct at91_pit {
 #define		AT91_PIT_MR_PIV_MASK(x)	(x & 0x000fffff)
 #define		AT91_PIT_MR_PIV(x)	(x & AT91_PIT_MR_PIV_MASK)
 
-#ifdef CONFIG_AT91_LEGACY
-
-#define AT91_PIT_MR		(AT91_PIT + 0x00)	/* Mode Register */
-#define		AT91_PIT_PITIEN		(1 << 25)		/* Timer Interrupt Enable */
-#define		AT91_PIT_PITEN		(1 << 24)		/* Timer Enabled */
-#define		AT91_PIT_PIV		(0xfffff)		/* Periodic Interval Value */
-
-#define AT91_PIT_SR		(AT91_PIT + 0x04)	/* Status Register */
-#define		AT91_PIT_PITS		(1 << 0)		/* Timer Status */
-
-#define AT91_PIT_PIVR		(AT91_PIT + 0x08)	/* Periodic Interval Value Register */
-#define AT91_PIT_PIIR		(AT91_PIT + 0x0c)	/* Periodic Interval Image Register */
-#define		AT91_PIT_PICNT		(0xfff << 20)		/* Interval Counter */
-#define		AT91_PIT_CPIV		(0xfffff)		/* Inverval Value */
-
-#endif /* CONFIG_AT91_LEGACY */
 #endif
diff --git a/arch/arm/include/asm/arch-at91/at91_pmc.h b/arch/arm/include/asm/arch-at91/at91_pmc.h
index 003920c..e4cd48a 100644
--- a/arch/arm/include/asm/arch-at91/at91_pmc.h
+++ b/arch/arm/include/asm/arch-at91/at91_pmc.h
@@ -14,13 +14,15 @@
 #ifndef AT91_PMC_H
 #define AT91_PMC_H
 
+#ifdef __ASSEMBLY__
+
 #define	AT91_ASM_PMC_MOR	(ATMEL_BASE_PMC + 0x20)
 #define	AT91_ASM_PMC_PLLAR	(ATMEL_BASE_PMC + 0x28)
 #define	AT91_ASM_PMC_PLLBR	(ATMEL_BASE_PMC + 0x2c)
 #define AT91_ASM_PMC_MCKR	(ATMEL_BASE_PMC + 0x30)
 #define AT91_ASM_PMC_SR		(ATMEL_BASE_PMC + 0x68)
 
-#ifndef __ASSEMBLY__
+#else
 
 #include <asm/types.h>
 
@@ -137,13 +139,6 @@ typedef struct at91_pmc {
 #define AT91_PMC_IXR_PCKRDY2		0x00000400
 #define AT91_PMC_IXR_PCKRDY3		0x00000800
 
-#ifdef CONFIG_AT91_LEGACY
-#define	AT91_PMC_SCER		(AT91_PMC + 0x00)	/* System Clock Enable Register */
-#define	AT91_PMC_SCDR		(AT91_PMC + 0x04)	/* System Clock Disable Register */
-
-#define	AT91_PMC_SCSR		(AT91_PMC + 0x08)	/* System Clock Status Register */
-#endif
-
 #define		AT91_PMC_PCK		(1 <<  0)		/* Processor Clock */
 #define		AT91RM9200_PMC_UDP	(1 <<  1)		/* USB Devcice Port Clock [AT91RM9200 only] */
 #define		AT91RM9200_PMC_MCKUDP	(1 <<  2)		/* USB Device Port Master Clock Automatic Disable on Suspend [AT91RM9200 only] */
@@ -159,34 +154,18 @@ typedef struct at91_pmc {
 #define		AT91_PMC_HCK0		(1 << 16)		/* AHB Clock (USB host) [AT91SAM9261 only] */
 #define		AT91_PMC_HCK1		(1 << 17)		/* AHB Clock (LCD) [AT91SAM9261 only] */
 
-#ifdef CONFIG_AT91_LEGACY
-#define	AT91_PMC_PCER		(AT91_PMC + 0x10)	/* Peripheral Clock Enable Register */
-#define	AT91_PMC_PCDR		(AT91_PMC + 0x14)	/* Peripheral Clock Disable Register */
-#define	AT91_PMC_PCSR		(AT91_PMC + 0x18)	/* Peripheral Clock Status Register */
-
-#define	AT91_CKGR_UCKR		(AT91_PMC + 0x1C)	/* UTMI Clock Register [SAM9RL, CAP9] */
-#endif
-
 #define		AT91_PMC_UPLLEN		(1   << 16)		/* UTMI PLL Enable */
 #define		AT91_PMC_UPLLCOUNT	(0xf << 20)		/* UTMI PLL Start-up Time */
 #define		AT91_PMC_BIASEN		(1   << 24)		/* UTMI BIAS Enable */
 #define		AT91_PMC_BIASCOUNT	(0xf << 28)		/* UTMI PLL Start-up Time */
 
-#ifdef CONFIG_AT91_LEGACY
-#define	AT91_CKGR_MOR		(AT91_PMC + 0x20)	/* Main Oscillator Register [not on SAM9RL] */
-#endif
 #define		AT91_PMC_MOSCEN		(1    << 0)		/* Main Oscillator Enable */
 #define		AT91_PMC_OSCBYPASS	(1    << 1)		/* Oscillator Bypass [SAM9x, CAP9] */
 #define		AT91_PMC_OSCOUNT	(0xff << 8)		/* Main Oscillator Start-up Time */
-#ifdef CONFIG_AT91_LEGACY
-#define	AT91_CKGR_MCFR		(AT91_PMC + 0x24)	/* Main Clock Frequency Register */
-#endif
+
 #define		AT91_PMC_MAINF		(0xffff <<  0)		/* Main Clock Frequency */
 #define		AT91_PMC_MAINRDY	(1	<< 16)		/* Main Clock Ready */
-#ifdef CONFIG_AT91_LEGACY
-#define	AT91_CKGR_PLLAR		(AT91_PMC + 0x28)	/* PLL A Register */
-#define	AT91_CKGR_PLLBR		(AT91_PMC + 0x2c)	/* PLL B Register */
-#endif
+
 #define		AT91_PMC_DIV		(0xff  <<  0)		/* Divider */
 #define		AT91_PMC_PLLCOUNT	(0x3f  <<  8)		/* PLL Counter */
 #define		AT91_PMC_OUT		(3     << 14)		/* PLL Clock Frequency Range */
@@ -198,9 +177,6 @@ typedef struct at91_pmc {
 #define		AT91_PMC_USB96M		(1     << 28)		/* Divider by 2 Enable (PLLB only) */
 #define		AT91_PMC_PLLA_WR_ERRATA	(1     << 29)		/* Bit 29 must always be set to 1 when programming the CKGR_PLLAR register */
 
-#ifdef CONFIG_AT91_LEGACY
-#define	AT91_PMC_MCKR		(AT91_PMC + 0x30)	/* Master Clock Register */
-#endif
 #define		AT91_PMC_CSS		(3 <<  0)		/* Master Clock Selection */
 #define			AT91_PMC_CSS_SLOW		(0 << 0)
 #define			AT91_PMC_CSS_MAIN		(1 << 0)
@@ -228,21 +204,11 @@ typedef struct at91_pmc {
 #define			AT91_PMC_PDIV_1			(0 << 12)
 #define			AT91_PMC_PDIV_2			(1 << 12)
 
-#ifdef CONFIG_AT91_LEGACY
-#define		AT91_PMC_USB			(AT91_PMC + 0x38)	/* USB Clock Register */
-#endif
 #define		AT91_PMC_USBS_USB_PLLA		(0x0)		/* USB Clock Input is PLLA */
 #define		AT91_PMC_USBS_USB_UPLL		(0x1)		/* USB Clock Input is UPLL */
 #define		AT91_PMC_USBDIV_8		(0x7 <<  8)	/* USB Clock divided by 8 */
 #define		AT91_PMC_USBDIV_10		(0x9 <<  8)	/* USB Clock divided by 10 */
 
-#ifdef CONFIG_AT91_LEGACY
-#define	AT91_PMC_PCKR(n)	(AT91_PMC + 0x40 + ((n) * 4))	/* Programmable Clock 0-3 Registers */
-
-#define	AT91_PMC_IER		(AT91_PMC + 0x60)	/* Interrupt Enable Register */
-#define	AT91_PMC_IDR		(AT91_PMC + 0x64)	/* Interrupt Disable Register */
-#define	AT91_PMC_SR		(AT91_PMC + 0x68)	/* Status Register */
-#endif
 #define		AT91_PMC_MOSCS		(1 <<  0)		/* MOSCS Flag */
 #define		AT91_PMC_LOCKA		(1 <<  1)		/* PLLA Lock */
 #define		AT91_PMC_LOCKB		(1 <<  2)		/* PLLB Lock */
@@ -253,13 +219,6 @@ typedef struct at91_pmc {
 #define		AT91_PMC_PCK1RDY	(1 <<  9)		/* Programmable Clock 1 */
 #define		AT91_PMC_PCK2RDY	(1 << 10)		/* Programmable Clock 2 */
 #define		AT91_PMC_PCK3RDY	(1 << 11)		/* Programmable Clock 3 */
-#ifdef CONFIG_AT91_LEGACY
-#define	AT91_PMC_IMR		(AT91_PMC + 0x6c)	/* Interrupt Mask Register */
 
-#define AT91_PMC_PROT		(AT91_PMC + 0xe4)	/* Protect Register [AT91CAP9 revC only] */
-#endif
 #define		AT91_PMC_PROTKEY	0x504d4301	/* Activation Code */
-#ifdef CONFIG_AT91_LEGACY
-#define AT91_PMC_VER		(AT91_PMC + 0xfc)	/* PMC Module Version [AT91CAP9 only] */
-#endif /* CONFIG_AT91_LEGACY */
 #endif
diff --git a/arch/arm/include/asm/arch-at91/at91_spi.h b/arch/arm/include/asm/arch-at91/at91_spi.h
index f44cf67..b18665b 100644
--- a/arch/arm/include/asm/arch-at91/at91_spi.h
+++ b/arch/arm/include/asm/arch-at91/at91_spi.h
@@ -118,6 +118,6 @@ typedef struct at91_spi {
 
 #define AT91_SPI_PTSR		0x0124			/* PDC Transfer Status Register */
 
-#endif /* CONFIG_AT91_LEGACY */
+#endif /* CONFIG_ATMEL_LEGACY */
 
 #endif
diff --git a/arch/arm/include/asm/arch-at91/at91_wdt.h b/arch/arm/include/asm/arch-at91/at91_wdt.h
index f0f4ed1..0644bbf 100644
--- a/arch/arm/include/asm/arch-at91/at91_wdt.h
+++ b/arch/arm/include/asm/arch-at91/at91_wdt.h
@@ -40,25 +40,4 @@ typedef struct at91_wdt {
 #define AT91_WDT_MR_WDDBGHLT		0x10000000
 #define AT91_WDT_MR_WDIDLEHLT		0x20000000
 
-#ifdef CONFIG_AT91_LEGACY
-
-#define AT91_WDT_CR		(AT91_WDT + 0x00)	/* Watchdog Control Register */
-#define		AT91_WDT_WDRSTT		(1    << 0)		/* Restart */
-#define		AT91_WDT_KEY		(0xa5 << 24)		/* KEY Password */
-
-#define AT91_WDT_MR		(AT91_WDT + 0x04)	/* Watchdog Mode Register */
-#define		AT91_WDT_WDV		(0xfff << 0)		/* Counter Value */
-#define		AT91_WDT_WDFIEN		(1     << 12)		/* Fault Interrupt Enable */
-#define		AT91_WDT_WDRSTEN	(1     << 13)		/* Reset Processor */
-#define		AT91_WDT_WDRPROC	(1     << 14)		/* Timer Restart */
-#define		AT91_WDT_WDDIS		(1     << 15)		/* Watchdog Disable */
-#define		AT91_WDT_WDD		(0xfff << 16)		/* Delta Value */
-#define		AT91_WDT_WDDBGHLT	(1     << 28)		/* Debug Halt */
-#define		AT91_WDT_WDIDLEHLT	(1     << 29)		/* Idle Halt */
-
-#define AT91_WDT_SR		(AT91_WDT + 0x08)	/* Watchdog Status Register */
-#define		AT91_WDT_WDUNF		(1 << 0)		/* Watchdog Underflow */
-#define		AT91_WDT_WDERR		(1 << 1)		/* Watchdog Error */
-
-#endif /* CONFIG_AT91_LEGACY */
 #endif
diff --git a/arch/arm/include/asm/arch-at91/at91cap9.h b/arch/arm/include/asm/arch-at91/at91cap9.h
index 7ac5bc1..63870bc 100644
--- a/arch/arm/include/asm/arch-at91/at91cap9.h
+++ b/arch/arm/include/asm/arch-at91/at91cap9.h
@@ -55,75 +55,6 @@
 #define AT91_RSTC_BASE	0xfffffd00
 #define AT91_PIT_BASE	0xfffffd30
 
-#ifdef CONFIG_AT91_LEGACY
-
-/*
- * User Peripheral physical base addresses.
- */
-#define AT91CAP9_BASE_UDPHS		0xfff78000
-#define AT91CAP9_BASE_TCB0		0xfff7c000
-#define AT91CAP9_BASE_TC0		0xfff7c000
-#define AT91CAP9_BASE_TC1		0xfff7c040
-#define AT91CAP9_BASE_TC2		0xfff7c080
-#define AT91CAP9_BASE_MCI0		0xfff80000
-#define AT91CAP9_BASE_MCI1		0xfff84000
-#define AT91CAP9_BASE_TWI		0xfff88000
-#define AT91CAP9_BASE_US0		0xfff8c000
-#define AT91CAP9_BASE_US1		0xfff90000
-#define AT91CAP9_BASE_US2		0xfff94000
-#define AT91CAP9_BASE_SSC0		0xfff98000
-#define AT91CAP9_BASE_SSC1		0xfff9c000
-#define AT91CAP9_BASE_AC97C		0xfffa0000
-#define AT91CAP9_BASE_SPI0		0xfffa4000
-#define AT91CAP9_BASE_SPI1		0xfffa8000
-#define AT91CAP9_BASE_CAN		0xfffac000
-#define AT91CAP9_BASE_PWMC		0xfffb8000
-#define AT91CAP9_BASE_EMAC		0xfffbc000
-#define AT91CAP9_BASE_ADC		0xfffc0000
-#define AT91CAP9_BASE_ISI		0xfffc4000
-#define AT91_BASE_SYS			0xffffe200
-
-/*
- * System Peripherals (offset from AT91_BASE_SYS)
- */
-#define AT91_ECC	(0xffffe200 - AT91_BASE_SYS)
-#define AT91_BCRAMC	(0xffffe400 - AT91_BASE_SYS)
-#define AT91_DDRSDRC	(0xffffe600 - AT91_BASE_SYS)
-#define AT91_SMC	(0xffffe800 - AT91_BASE_SYS)
-#define AT91_MATRIX	(0xffffea00 - AT91_BASE_SYS)
-#define AT91_CCFG	(0xffffeb10 - AT91_BASE_SYS)
-#define AT91_DMA	(0xffffec00 - AT91_BASE_SYS)
-#define AT91_DBGU	(0xffffee00 - AT91_BASE_SYS)
-#define AT91_AIC	(0xfffff000 - AT91_BASE_SYS)
-#define AT91_PIOA	(0xfffff200 - AT91_BASE_SYS)
-#define AT91_PIOB	(0xfffff400 - AT91_BASE_SYS)
-#define AT91_PIOC	(0xfffff600 - AT91_BASE_SYS)
-#define AT91_PIOD	(0xfffff800 - AT91_BASE_SYS)
-#define AT91_PMC	(0xfffffc00 - AT91_BASE_SYS)
-#define AT91_RSTC	(0xfffffd00 - AT91_BASE_SYS)
-#define AT91_SHDWC	(0xfffffd10 - AT91_BASE_SYS)
-#define AT91_RTT	(0xfffffd20 - AT91_BASE_SYS)
-#define AT91_PIT	(0xfffffd30 - AT91_BASE_SYS)
-#define AT91_WDT	(0xfffffd40 - AT91_BASE_SYS)
-#define AT91_SCKCR	(0xfffffd50 - AT91_BASE_SYS)
-#define AT91_GPBR_REVB	(0xfffffd50 - AT91_BASE_SYS)
-#define AT91_GPBR_REVC	(0xfffffd60 - AT91_BASE_SYS)
-
-#define AT91_USART0	AT91CAP9_BASE_US0
-#define AT91_USART1	AT91CAP9_BASE_US1
-#define AT91_USART2	AT91CAP9_BASE_US2
-
-/*
- * SCKCR flags
- */
-#define AT91CAP9_SCKCR_RCEN	(1 << 0)	/* RC Oscillator Enable */
-#define AT91CAP9_SCKCR_OSC32EN	(1 << 1)	/* 32kHz Oscillator Enable */
-#define AT91CAP9_SCKCR_OSC32BYP	(1 << 2)	/* 32kHz Oscillator Bypass */
-#define AT91CAP9_SCKCR_OSCSEL	(1 << 3)	/* Slow Clock Selector */
-#define		AT91CAP9_SCKCR_OSCSEL_RC	(0 << 3)
-#define		AT91CAP9_SCKCR_OSCSEL_32	(1 << 3)
-
-#endif /* CONFIG_AT91_LEGACY */
 /*
  * Internal Memory.
  */
diff --git a/arch/arm/include/asm/arch-at91/at91sam9_smc.h b/arch/arm/include/asm/arch-at91/at91sam9_smc.h
index ec5d797..d29e98e 100644
--- a/arch/arm/include/asm/arch-at91/at91sam9_smc.h
+++ b/arch/arm/include/asm/arch-at91/at91sam9_smc.h
@@ -73,64 +73,4 @@ typedef struct	at91_smc {
 #define AT91_SMC_MODE_PS_16		0x20000000
 #define AT91_SMC_MODE_PS_32		0x30000000
 
-#ifdef CONFIG_AT91_LEGACY
-
-#define AT91_SMC_SETUP(n)	(AT91_SMC + 0x00 + ((n)*0x10))	/* Setup Register for CS n */
-#define		AT91_SMC_NWESETUP	(0x3f << 0)			/* NWE Setup Length */
-#define			AT91_SMC_NWESETUP_(x)	((x) << 0)
-#define		AT91_SMC_NCS_WRSETUP	(0x3f << 8)			/* NCS Setup Length in Write Access */
-#define			AT91_SMC_NCS_WRSETUP_(x)	((x) << 8)
-#define		AT91_SMC_NRDSETUP	(0x3f << 16)			/* NRD Setup Length */
-#define			AT91_SMC_NRDSETUP_(x)	((x) << 16)
-#define		AT91_SMC_NCS_RDSETUP	(0x3f << 24)			/* NCS Setup Length in Read Access */
-#define			AT91_SMC_NCS_RDSETUP_(x)	((x) << 24)
-
-#define AT91_SMC_PULSE(n)	(AT91_SMC + 0x04 + ((n)*0x10))	/* Pulse Register for CS n */
-#define		AT91_SMC_NWEPULSE	(0x7f <<  0)			/* NWE Pulse Length */
-#define			AT91_SMC_NWEPULSE_(x)	((x) << 0)
-#define		AT91_SMC_NCS_WRPULSE	(0x7f <<  8)			/* NCS Pulse Length in Write Access */
-#define			AT91_SMC_NCS_WRPULSE_(x)((x) << 8)
-#define		AT91_SMC_NRDPULSE	(0x7f << 16)			/* NRD Pulse Length */
-#define			AT91_SMC_NRDPULSE_(x)	((x) << 16)
-#define		AT91_SMC_NCS_RDPULSE	(0x7f << 24)			/* NCS Pulse Length in Read Access */
-#define			AT91_SMC_NCS_RDPULSE_(x)((x) << 24)
-
-#define AT91_SMC_CYCLE(n)	(AT91_SMC + 0x08 + ((n)*0x10))	/* Cycle Register for CS n */
-#define		AT91_SMC_NWECYCLE	(0x1ff << 0 )			/* Total Write Cycle Length */
-#define			AT91_SMC_NWECYCLE_(x)	((x) << 0)
-#define		AT91_SMC_NRDCYCLE	(0x1ff << 16)			/* Total Read Cycle Length */
-#define			AT91_SMC_NRDCYCLE_(x)	((x) << 16)
-
-#define AT91_SMC_MODE(n)	(AT91_SMC + 0x0c + ((n)*0x10))	/* Mode Register for CS n */
-#define		AT91_SMC_READMODE	(1 <<  0)			/* Read Mode */
-#define		AT91_SMC_WRITEMODE	(1 <<  1)			/* Write Mode */
-#define		AT91_SMC_EXNWMODE	(3 <<  4)			/* NWAIT Mode */
-#define			AT91_SMC_EXNWMODE_DISABLE	(0 << 4)
-#define			AT91_SMC_EXNWMODE_FROZEN	(2 << 4)
-#define			AT91_SMC_EXNWMODE_READY		(3 << 4)
-#define		AT91_SMC_BAT		(1 <<  8)			/* Byte Access Type */
-#define			AT91_SMC_BAT_SELECT		(0 << 8)
-#define			AT91_SMC_BAT_WRITE		(1 << 8)
-#define		AT91_SMC_DBW		(3 << 12)			/* Data Bus Width */
-#define			AT91_SMC_DBW_8			(0 << 12)
-#define			AT91_SMC_DBW_16			(1 << 12)
-#define			AT91_SMC_DBW_32			(2 << 12)
-#define		AT91_SMC_TDF		(0xf << 16)			/* Data Float Time. */
-#define			AT91_SMC_TDF_(x)		((x) << 16)
-#define		AT91_SMC_TDFMODE	(1 << 20)			/* TDF Optimization - Enabled */
-#define		AT91_SMC_PMEN		(1 << 24)			/* Page Mode Enabled */
-#define		AT91_SMC_PS		(3 << 28)			/* Page Size */
-#define			AT91_SMC_PS_4			(0 << 28)
-#define			AT91_SMC_PS_8			(1 << 28)
-#define			AT91_SMC_PS_16			(2 << 28)
-#define			AT91_SMC_PS_32			(3 << 28)
-
-#if defined(AT91_SMC1)		/* The AT91SAM9263 has 2 Static Memory contollers */
-#define AT91_SMC1_SETUP(n)	(AT91_SMC1 + 0x00 + ((n)*0x10))	/* Setup Register for CS n */
-#define AT91_SMC1_PULSE(n)	(AT91_SMC1 + 0x04 + ((n)*0x10))	/* Pulse Register for CS n */
-#define AT91_SMC1_CYCLE(n)	(AT91_SMC1 + 0x08 + ((n)*0x10))	/* Cycle Register for CS n */
-#define AT91_SMC1_MODE(n)	(AT91_SMC1 + 0x0c + ((n)*0x10))	/* Mode Register for CS n */
-#endif
-
-#endif
 #endif
diff --git a/doc/README.at91-soc b/doc/README.at91-soc
index bed035c..ab3f713 100644
--- a/doc/README.at91-soc
+++ b/doc/README.at91-soc
@@ -39,3 +39,10 @@ The method for updating
 3. add new structures for SoC access
 4. Convert arch, driver and boards file to new SoC
 5. remove legacy code, if all boards and drives are ready
+
+2013-10-30 Andreas Bie?mann <andreas.devel@googlemail.com>:
+
+The goal is almost reached, we could remove the CONFIG_AT91_LEGACY switch but
+remain the CONFIG_ATMEL_LEGACY switch until the GPIO disaster is fixed. The
+AT91 spi driver has also some CONFIG_ATMEL_LEGACY stuff left, so another point
+to fix until this README can be removed.
-- 
1.7.10.4

^ permalink raw reply related	[flat|nested] 17+ messages in thread

* [U-Boot] [PATCH 3/6] at91sam9m10g45ek: remove unused CONFIG_AT91_LEGACY
  2013-10-30 14:18 ` [U-Boot] [PATCH 3/6] at91sam9m10g45ek: remove unused CONFIG_AT91_LEGACY Andreas Bießmann
@ 2013-10-31  3:18   ` Bo Shen
  2013-11-13 21:22   ` [U-Boot] [U-Boot,3/6] " Andreas Bießmann
  1 sibling, 0 replies; 17+ messages in thread
From: Bo Shen @ 2013-10-31  3:18 UTC (permalink / raw)
  To: u-boot

Hi Andreas,

On 10/30/2013 10:18 PM, Andreas Bie?mann wrote:
> Signed-off-by: Andreas Bie?mann <andreas.devel@googlemail.com>

Acked-by: Bo Shen <voice.shen@atmel.com>

> ---
>   include/configs/at91sam9m10g45ek.h |    1 -
>   1 file changed, 1 deletion(-)
>
> diff --git a/include/configs/at91sam9m10g45ek.h b/include/configs/at91sam9m10g45ek.h
> index fc4ecec..be9df74 100644
> --- a/include/configs/at91sam9m10g45ek.h
> +++ b/include/configs/at91sam9m10g45ek.h
> @@ -15,7 +15,6 @@
>
>   #define CONFIG_SYS_TEXT_BASE		0x73f00000
>
> -#define CONFIG_AT91_LEGACY
>   #define CONFIG_ATMEL_LEGACY		/* required until (g)pio is fixed */
>
>   /* ARM asynchronous clock */
>

Best Regards,
Bo Shen

^ permalink raw reply	[flat|nested] 17+ messages in thread

* [U-Boot] [PATCH 2/6] i2c: switch from AT91 legacy to ATMEL legacy
  2013-10-30 14:18 ` [U-Boot] [PATCH 2/6] i2c: switch from AT91 legacy to ATMEL legacy Andreas Bießmann
@ 2013-10-31  5:08   ` Heiko Schocher
  2013-11-13 21:21   ` [U-Boot] [U-Boot,2/6] " Andreas Bießmann
  1 sibling, 0 replies; 17+ messages in thread
From: Heiko Schocher @ 2013-10-31  5:08 UTC (permalink / raw)
  To: u-boot

Hello Andreas,

Am 30.10.2013 15:18, schrieb Andreas Bie?mann:
> Since the required API is gpio which is enclosed with CONFIG_ATMEL_LEGACY use
> that switch here.
>
> Signed-off-by: Andreas Bie?mann<andreas.devel@googlemail.com>
> ---
>   drivers/i2c/soft_i2c.c |    2 +-
>   include/i2c.h          |    2 +-
>   2 files changed, 2 insertions(+), 2 deletions(-)

Acked-by: Heiko Schocher <hs@denx.de>

bye,
Heiko
-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany

^ permalink raw reply	[flat|nested] 17+ messages in thread

* [U-Boot] [PATCH 1/6] video: remove AT91 legacy API from bus_vcxk
  2013-10-30 14:18 ` [U-Boot] [PATCH 1/6] video: remove AT91 legacy API from bus_vcxk Andreas Bießmann
@ 2013-11-04 15:12   ` Jens Scharsig
  2013-11-04 15:21   ` Anatolij Gustschin
  2013-11-13 21:21   ` [U-Boot] [U-Boot,1/6] " Andreas Bießmann
  2 siblings, 0 replies; 17+ messages in thread
From: Jens Scharsig @ 2013-11-04 15:12 UTC (permalink / raw)
  To: u-boot


Am 2013-10-30 15:18, schrieb Andreas Bie?mann:
> Signed-off-by: Andreas Bie?mann <andreas.devel@googlemail.com>
> ---
>  drivers/video/bus_vcxk.c |   15 ---------------
>  1 file changed, 15 deletions(-)
> 
> diff --git a/drivers/video/bus_vcxk.c b/drivers/video/bus_vcxk.c
> index 0138bca..60a5cc5 100644
> --- a/drivers/video/bus_vcxk.c
> +++ b/drivers/video/bus_vcxk.c
> @@ -20,7 +20,6 @@ vu_long  *vcxk_bws_long = ((vu_long *) (CONFIG_SYS_VCXK_BASE));
>  	#ifndef VCBITMASK
>  		#define VCBITMASK(bitno)	(0x0001 << (bitno % 16))
>  	#endif
> -#ifndef CONFIG_AT91_LEGACY
>  at91_pio_t *pio = (at91_pio_t *) AT91_PIO_BASE;
>  #define VCXK_INIT_PIN(PORT, PIN, DDR, I0O1) \
>  	do { \
> @@ -37,20 +36,6 @@ at91_pio_t *pio = (at91_pio_t *) AT91_PIO_BASE;
>  #define VCXK_ACKNOWLEDGE	\
>  	(!(readl(&pio->CONFIG_SYS_VCXK_ACKNOWLEDGE_PORT.pdsr) & \
>  			CONFIG_SYS_VCXK_ACKNOWLEDGE_PIN))
> -#else
> -	#define VCXK_INIT_PIN(PORT, PIN, DDR, I0O1) \
> -		((AT91PS_PIO) PORT)->PIO_PER = PIN; \
> -		((AT91PS_PIO) PORT)->DDR = PIN; \
> -		((AT91PS_PIO) PORT)->PIO_MDDR = PIN; \
> -		if (!I0O1) ((AT91PS_PIO) PORT)->PIO_PPUER = PIN;
> -
> -	#define VCXK_SET_PIN(PORT, PIN)	((AT91PS_PIO) PORT)->PIO_SODR  = PIN;
> -	#define VCXK_CLR_PIN(PORT, PIN)	((AT91PS_PIO) PORT)->PIO_CODR  = PIN;
> -
> -	#define VCXK_ACKNOWLEDGE	\
> -		(!(((AT91PS_PIO) CONFIG_SYS_VCXK_ACKNOWLEDGE_PORT)->\
> -			PIO_PDSR & CONFIG_SYS_VCXK_ACKNOWLEDGE_PIN))
> -#endif
>  #elif defined(CONFIG_MCF52x2)
>  	#include <asm/m5282.h>
>  	#ifndef VCBITMASK
> 

Acked-by: Jens Scharsig (BuS Elektronik) <esw@bus-elektronik.de>

^ permalink raw reply	[flat|nested] 17+ messages in thread

* [U-Boot] [PATCH 1/6] video: remove AT91 legacy API from bus_vcxk
  2013-10-30 14:18 ` [U-Boot] [PATCH 1/6] video: remove AT91 legacy API from bus_vcxk Andreas Bießmann
  2013-11-04 15:12   ` Jens Scharsig
@ 2013-11-04 15:21   ` Anatolij Gustschin
  2013-11-13 21:21   ` [U-Boot] [U-Boot,1/6] " Andreas Bießmann
  2 siblings, 0 replies; 17+ messages in thread
From: Anatolij Gustschin @ 2013-11-04 15:21 UTC (permalink / raw)
  To: u-boot

On Wed, 30 Oct 2013 15:18:17 +0100
Andreas Bie?mann <andreas.devel@googlemail.com> wrote:

> Signed-off-by: Andreas Bie?mann <andreas.devel@googlemail.com>
> ---
>  drivers/video/bus_vcxk.c |   15 ---------------
>  1 file changed, 15 deletions(-)

Acked-by: Anatolij Gustschin <agust@denx.de>

^ permalink raw reply	[flat|nested] 17+ messages in thread

* [U-Boot] [U-Boot,1/6] video: remove AT91 legacy API from bus_vcxk
  2013-10-30 14:18 ` [U-Boot] [PATCH 1/6] video: remove AT91 legacy API from bus_vcxk Andreas Bießmann
  2013-11-04 15:12   ` Jens Scharsig
  2013-11-04 15:21   ` Anatolij Gustschin
@ 2013-11-13 21:21   ` Andreas Bießmann
  2 siblings, 0 replies; 17+ messages in thread
From: Andreas Bießmann @ 2013-11-13 21:21 UTC (permalink / raw)
  To: u-boot

Dear Andreas Devel,

Andreas Devel <andreas.devel@googlemail.com> writes:
>Signed-off-by: Andreas Bie?mann <andreas.devel@googlemail.com>
>Acked-by: Jens Scharsig (BuS Elektronik) <esw@bus-elektronik.de>
>Acked-by: Anatolij Gustschin <agust@denx.de>
>
>---
>drivers/video/bus_vcxk.c |   15 ---------------
> 1 file changed, 15 deletions(-)

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

Best regards,
Andreas Bie?mann

^ permalink raw reply	[flat|nested] 17+ messages in thread

* [U-Boot] [U-Boot,2/6] i2c: switch from AT91 legacy to ATMEL legacy
  2013-10-30 14:18 ` [U-Boot] [PATCH 2/6] i2c: switch from AT91 legacy to ATMEL legacy Andreas Bießmann
  2013-10-31  5:08   ` Heiko Schocher
@ 2013-11-13 21:21   ` Andreas Bießmann
  1 sibling, 0 replies; 17+ messages in thread
From: Andreas Bießmann @ 2013-11-13 21:21 UTC (permalink / raw)
  To: u-boot

Dear Andreas Devel,

Andreas Devel <andreas.devel@googlemail.com> writes:
>Since the required API is gpio which is enclosed with CONFIG_ATMEL_LEGACY use
>that switch here.
>
>Signed-off-by: Andreas Bie?mann <andreas.devel@googlemail.com>
>Acked-by: Heiko Schocher <hs@denx.de>
>
>---
>drivers/i2c/soft_i2c.c |    2 +-
> include/i2c.h          |    2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)

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

Best regards,
Andreas Bie?mann

^ permalink raw reply	[flat|nested] 17+ messages in thread

* [U-Boot] [U-Boot,3/6] at91sam9m10g45ek: remove unused CONFIG_AT91_LEGACY
  2013-10-30 14:18 ` [U-Boot] [PATCH 3/6] at91sam9m10g45ek: remove unused CONFIG_AT91_LEGACY Andreas Bießmann
  2013-10-31  3:18   ` Bo Shen
@ 2013-11-13 21:22   ` Andreas Bießmann
  1 sibling, 0 replies; 17+ messages in thread
From: Andreas Bießmann @ 2013-11-13 21:22 UTC (permalink / raw)
  To: u-boot

Dear Andreas Devel,

Andreas Devel <andreas.devel@googlemail.com> writes:
>Signed-off-by: Andreas Bie?mann <andreas.devel@googlemail.com>
>Acked-by: Bo Shen <voice.shen@atmel.com>
>
>---
>include/configs/at91sam9m10g45ek.h |    1 -
> 1 file changed, 1 deletion(-)

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

Best regards,
Andreas Bie?mann

^ permalink raw reply	[flat|nested] 17+ messages in thread

* [U-Boot] [U-Boot,4/6] snapper9260: remove unused AT91_LEGACY
  2013-10-30 14:18 ` [U-Boot] [PATCH 4/6] snapper9260: remove unused AT91_LEGACY Andreas Bießmann
@ 2013-11-13 21:22   ` Andreas Bießmann
  0 siblings, 0 replies; 17+ messages in thread
From: Andreas Bießmann @ 2013-11-13 21:22 UTC (permalink / raw)
  To: u-boot

Dear Andreas Devel,

Andreas Devel <andreas.devel@googlemail.com> writes:
>Signed-off-by: Andreas Bie?mann <andreas.devel@googlemail.com>
>
>---
>include/configs/snapper9260.h |    1 -
> 1 file changed, 1 deletion(-)

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

Best regards,
Andreas Bie?mann

^ permalink raw reply	[flat|nested] 17+ messages in thread

* [U-Boot] [U-Boot,5/6] net: remove unused CONFIG_AT91_LEGACY
  2013-10-30 14:18 ` [U-Boot] [PATCH 5/6] net: remove unused CONFIG_AT91_LEGACY Andreas Bießmann
@ 2013-11-13 21:22   ` Andreas Bießmann
  0 siblings, 0 replies; 17+ messages in thread
From: Andreas Bießmann @ 2013-11-13 21:22 UTC (permalink / raw)
  To: u-boot

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

^ permalink raw reply	[flat|nested] 17+ messages in thread

* [U-Boot] [U-Boot,6/6] at91: remove all occourances of CONFIG_AT91_LEGACY
  2013-10-30 14:18 ` [U-Boot] [PATCH 6/6] at91: remove all occourances of CONFIG_AT91_LEGACY Andreas Bießmann
@ 2013-11-13 21:22   ` Andreas Bießmann
  0 siblings, 0 replies; 17+ messages in thread
From: Andreas Bießmann @ 2013-11-13 21:22 UTC (permalink / raw)
  To: u-boot

Dear Andreas Devel,

Andreas Devel <andreas.devel@googlemail.com> writes:
>Signed-off-by: Andreas Bie?mann <andreas.devel@googlemail.com>
>
>---
>arch/arm/include/asm/arch-at91/at91_pio.h     |   33 ------------
> arch/arm/include/asm/arch-at91/at91_pit.h     |   16 ------
> arch/arm/include/asm/arch-at91/at91_pmc.h     |   51 ++----------------
> arch/arm/include/asm/arch-at91/at91_spi.h     |    2 +-
> arch/arm/include/asm/arch-at91/at91_wdt.h     |   21 --------
> arch/arm/include/asm/arch-at91/at91cap9.h     |   69 -------------------------
> arch/arm/include/asm/arch-at91/at91sam9_smc.h |   60 ---------------------
> doc/README.at91-soc                           |    7 +++
> 8 files changed, 13 insertions(+), 246 deletions(-)

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

Best regards,
Andreas Bie?mann

^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2013-11-13 21:22 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-10-30 14:18 [U-Boot] [PATCH 0/6] at91: get rid of long standing work around CONFIG_AT91_LEGACY Andreas Bießmann
2013-10-30 14:18 ` [U-Boot] [PATCH 1/6] video: remove AT91 legacy API from bus_vcxk Andreas Bießmann
2013-11-04 15:12   ` Jens Scharsig
2013-11-04 15:21   ` Anatolij Gustschin
2013-11-13 21:21   ` [U-Boot] [U-Boot,1/6] " Andreas Bießmann
2013-10-30 14:18 ` [U-Boot] [PATCH 2/6] i2c: switch from AT91 legacy to ATMEL legacy Andreas Bießmann
2013-10-31  5:08   ` Heiko Schocher
2013-11-13 21:21   ` [U-Boot] [U-Boot,2/6] " Andreas Bießmann
2013-10-30 14:18 ` [U-Boot] [PATCH 3/6] at91sam9m10g45ek: remove unused CONFIG_AT91_LEGACY Andreas Bießmann
2013-10-31  3:18   ` Bo Shen
2013-11-13 21:22   ` [U-Boot] [U-Boot,3/6] " Andreas Bießmann
2013-10-30 14:18 ` [U-Boot] [PATCH 4/6] snapper9260: remove unused AT91_LEGACY Andreas Bießmann
2013-11-13 21:22   ` [U-Boot] [U-Boot,4/6] " Andreas Bießmann
2013-10-30 14:18 ` [U-Boot] [PATCH 5/6] net: remove unused CONFIG_AT91_LEGACY Andreas Bießmann
2013-11-13 21:22   ` [U-Boot] [U-Boot,5/6] " Andreas Bießmann
2013-10-30 14:18 ` [U-Boot] [PATCH 6/6] at91: remove all occourances of CONFIG_AT91_LEGACY Andreas Bießmann
2013-11-13 21:22   ` [U-Boot] [U-Boot,6/6] " Andreas Bießmann

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.