at91: USART3_BASE use AT91_DBGU_BASE instead of (AT91_BASE_SYS + AT91_DBGU)
Subsystems (2)
cover at91: USART3_BASE use AT91_DBGU_BASE instead of (AT91_BASE_SYS + AT91_DBGU)
--- arch/arm/include/asm/arch-at91/at91cap9.h | 1 + arch/arm/include/asm/arch-at91/at91sam9260.h | 1 + arch/arm/include/asm/arch-at91/at91sam9261.h | 1 + arch/arm/include/asm/arch-at91/at91sam9g45.h | 1 + arch/arm/include/asm/arch-at91/at91sam9rl.h | 1 + arch/arm/include/asm/arch-at91/memory-map.h | 5 ++++- 6 files changed, 9 insertions(+), 1 deletions(-)
arch/arm/include/asm/arch-at91/at91cap9.h +1 -0
@@ -53,6 +53,7 @@#define AT91CAP9_ID_IRQ0 30/* Advanced Interrupt Controller (IRQ0) */ #define AT91CAP9_ID_IRQ1 31/* Advanced Interrupt Controller (IRQ1) */ +#define AT91_DBGU_BASE 0xffffee00#define AT91_PIO_BASE 0xfffff200#define AT91_PMC_BASE 0xfffffc00#define AT91_RSTC_BASE 0xfffffd00
arch/arm/include/asm/arch-at91/at91sam9260.h +1 -0
@@ -53,6 +53,7 @@#define AT91_SDRAMC_BASE 0xffffea00#define AT91_SMC_BASE 0xffffec00#define AT91_MATRIX_BASE 0xffffee00 +#define AT91_DBGU_BASE 0xfffff200#define AT91_PIO_BASE 0xfffff400#define AT91_PMC_BASE 0xfffffc00#define AT91_RSTC_BASE 0xfffffd00
arch/arm/include/asm/arch-at91/at91sam9261.h +1 -0
@@ -46,6 +46,7 @@#define AT91_SDRAMC_BASE 0xffffea00#define AT91_SMC_BASE 0xffffec00#define AT91_MATRIX_BASE 0xffffee00 +#define AT91_DBGU_BASE 0xfffff200#define AT91_PIO_BASE 0xfffff400#define AT91_PMC_BASE 0xfffffc00#define AT91_RSTC_BASE 0xfffffd00
arch/arm/include/asm/arch-at91/at91sam9g45.h +1 -0
@@ -54,6 +54,7 @@#define AT91_EMAC_BASE 0xfffbc000#define AT91_SMC_BASE 0xffffe800#define AT91_MATRIX_BASE 0xffffea00 +#define AT91_DBGU_BASE 0xffffee00#define AT91_PIO_BASE 0xfffff200#define AT91_PMC_BASE 0xfffffc00#define AT91_RSTC_BASE 0xfffffd00
arch/arm/include/asm/arch-at91/at91sam9rl.h +1 -0
@@ -47,6 +47,7 @@#define AT91_SDRAMC_BASE 0xffffea00#define AT91_SMC_BASE 0xffffec00#define AT91_MATRIX_BASE 0xffffee00 +#define AT91_DBGU_BASE 0xfffff200#define AT91_PIO_BASE 0xfffff400#define AT91_PMC_BASE 0xfffffc00#define AT91_RSTC_BASE 0xfffffd00
arch/arm/include/asm/arch-at91/memory-map.h +4 -1
@@ -29,7 +29,10 @@#define USART0_BASE AT91_USART0#define USART1_BASE AT91_USART1#define USART2_BASE AT91_USART2 -#define USART3_BASE (AT91_BASE_SYS + AT91_DBGU) +/* +* The UART of DBGU is named USART3. +*/ +#define USART3_BASE AT91_DBGU_BASE#define SPI0_BASE AT91_BASE_SPI#define SPI1_BASE AT91_BASE_SPI1
Signature · 1 line
1.5.5.6
cover at91: USART3_BASE use AT91_DBGU_BASE instead of (AT91_BASE_SYS + AT91_DBGU)
Dear Asen Dimov,
Quoted 10 lines
Signed-off-by Asen Dimov<[email protected]>--- arch/arm/include/asm/arch-at91/at91cap9.h | 1 + arch/arm/include/asm/arch-at91/at91sam9260.h | 1 + arch/arm/include/asm/arch-at91/at91sam9261.h | 1 + arch/arm/include/asm/arch-at91/at91sam9g45.h | 1 + arch/arm/include/asm/arch-at91/at91sam9rl.h | 1 + arch/arm/include/asm/arch-at91/memory-map.h | 5 ++++- 6 files changed, 9 insertions(+), 1 deletions(-)
We are currently reworking the avr32 and at91 files.
Please rebase your work on top of the u-boot-atmel.git, rework101209 branch. You will find that most of your changes to common files are already done.
With best regards,
Reinhard
cover at91: USART3_BASE use AT91_DBGU_BASE instead of (AT91_BASE_SYS + AT91_DBGU)
Hello Reinhard,
Quoted 12 lines · Reinhard Meyer
Dear Asen Dimov,
Quoted 10 lines
Signed-off-by Asen Dimov<[email protected]>--- arch/arm/include/asm/arch-at91/at91cap9.h | 1 + arch/arm/include/asm/arch-at91/at91sam9260.h | 1 + arch/arm/include/asm/arch-at91/at91sam9261.h | 1 + arch/arm/include/asm/arch-at91/at91sam9g45.h | 1 + arch/arm/include/asm/arch-at91/at91sam9rl.h | 1 + arch/arm/include/asm/arch-at91/memory-map.h | 5 ++++- 6 files changed, 9 insertions(+), 1 deletions(-)
Quoted 6 lines
We are currently reworking the avr32 and at91 files.
Please rebase your work on top of the u-boot-atmel.git, rework101209 branch.
You will find that most of your changes to common files are already done.
in this case you can discard this patch.
Quoted 2 lines
With best regards,
Reinhard
Regards,
Asen