* [U-Boot] [PATCH 0/1] at91: USART3_BASE use AT91_DBGU_BASE instead of (AT91_BASE_SYS + AT91_DBGU)
@ 2010-12-12 10:40 Asen Dimov
2010-12-12 19:06 ` Reinhard Meyer
0 siblings, 1 reply; 3+ messages in thread
From: Asen Dimov @ 2010-12-12 10:40 UTC (permalink / raw)
To: u-boot
Signed-off-by: Asen Dimov <dimov@ronetix.at>
---
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(-)
diff --git a/arch/arm/include/asm/arch-at91/at91cap9.h b/arch/arm/include/asm/arch-at91/at91cap9.h
index 5af6fdc..19c280d 100644
--- a/arch/arm/include/asm/arch-at91/at91cap9.h
+++ b/arch/arm/include/asm/arch-at91/at91cap9.h
@@ -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
diff --git a/arch/arm/include/asm/arch-at91/at91sam9260.h b/arch/arm/include/asm/arch-at91/at91sam9260.h
index 7fd60b7..cc3adc3 100644
--- a/arch/arm/include/asm/arch-at91/at91sam9260.h
+++ b/arch/arm/include/asm/arch-at91/at91sam9260.h
@@ -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
diff --git a/arch/arm/include/asm/arch-at91/at91sam9261.h b/arch/arm/include/asm/arch-at91/at91sam9261.h
index 7ca0283..bd638f9 100644
--- a/arch/arm/include/asm/arch-at91/at91sam9261.h
+++ b/arch/arm/include/asm/arch-at91/at91sam9261.h
@@ -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
diff --git a/arch/arm/include/asm/arch-at91/at91sam9g45.h b/arch/arm/include/asm/arch-at91/at91sam9g45.h
index 445f4b2..32bddc9 100644
--- a/arch/arm/include/asm/arch-at91/at91sam9g45.h
+++ b/arch/arm/include/asm/arch-at91/at91sam9g45.h
@@ -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
diff --git a/arch/arm/include/asm/arch-at91/at91sam9rl.h b/arch/arm/include/asm/arch-at91/at91sam9rl.h
index 8eb0d4f..2e6be18 100644
--- a/arch/arm/include/asm/arch-at91/at91sam9rl.h
+++ b/arch/arm/include/asm/arch-at91/at91sam9rl.h
@@ -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
diff --git a/arch/arm/include/asm/arch-at91/memory-map.h b/arch/arm/include/asm/arch-at91/memory-map.h
index d489fa2..fb6d1d3 100644
--- a/arch/arm/include/asm/arch-at91/memory-map.h
+++ b/arch/arm/include/asm/arch-at91/memory-map.h
@@ -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
--
1.5.5.6
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [U-Boot] [PATCH 0/1] at91: USART3_BASE use AT91_DBGU_BASE instead of (AT91_BASE_SYS + AT91_DBGU)
2010-12-12 10:40 [U-Boot] [PATCH 0/1] at91: USART3_BASE use AT91_DBGU_BASE instead of (AT91_BASE_SYS + AT91_DBGU) Asen Dimov
@ 2010-12-12 19:06 ` Reinhard Meyer
2010-12-13 9:15 ` RONETIX - Asen Dimov
0 siblings, 1 reply; 3+ messages in thread
From: Reinhard Meyer @ 2010-12-12 19:06 UTC (permalink / raw)
To: u-boot
Dear Asen Dimov,
>
> Signed-off-by: Asen Dimov<dimov@ronetix.at>
> ---
> 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
^ permalink raw reply [flat|nested] 3+ messages in thread
* [U-Boot] [PATCH 0/1] at91: USART3_BASE use AT91_DBGU_BASE instead of (AT91_BASE_SYS + AT91_DBGU)
2010-12-12 19:06 ` Reinhard Meyer
@ 2010-12-13 9:15 ` RONETIX - Asen Dimov
0 siblings, 0 replies; 3+ messages in thread
From: RONETIX - Asen Dimov @ 2010-12-13 9:15 UTC (permalink / raw)
To: u-boot
Hello Reinhard,
Reinhard Meyer wrote:
> Dear Asen Dimov,
>>
>> Signed-off-by: Asen Dimov<dimov@ronetix.at>
>> ---
>> 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.
>
in this case you can discard this patch.
> With best regards,
> Reinhard
Regards,
Asen
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-12-13 9:15 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-12 10:40 [U-Boot] [PATCH 0/1] at91: USART3_BASE use AT91_DBGU_BASE instead of (AT91_BASE_SYS + AT91_DBGU) Asen Dimov
2010-12-12 19:06 ` Reinhard Meyer
2010-12-13 9:15 ` RONETIX - Asen Dimov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox