aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-arm/arch-realview
diff options
context:
space:
mode:
authorCatalin Marinas <catalin.marinas@arm.com>2008-04-18 17:43:11 -0400
committerCatalin Marinas <catalin.marinas@arm.com>2008-04-18 17:43:11 -0400
commit80192735e4b01a2e4d437699f2e9b5b93dfab13c (patch)
tree1096c3278bc60c925f1818c776e4b3e88c20a23c /include/asm-arm/arch-realview
parenta44ddfd5bf5354281eebd0f0ae0d6dcf8818fc5c (diff)
RealView: Move the timer definitions into the EB specific files
This patch moves the timer definitions from platform.h into board-eb.h as they are different on PB11MPCore and PB1176. It also adds timerX_va_base variables in core.c which are set by the realview_eb_timer_init function before invoking realview_timer_init. Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'include/asm-arm/arch-realview')
-rw-r--r--include/asm-arm/arch-realview/board-eb.h2
-rw-r--r--include/asm-arm/arch-realview/platform.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/asm-arm/arch-realview/board-eb.h b/include/asm-arm/arch-realview/board-eb.h
index 8adb81e7d1b9..142d77a72f39 100644
--- a/include/asm-arm/arch-realview/board-eb.h
+++ b/include/asm-arm/arch-realview/board-eb.h
@@ -26,6 +26,8 @@
26/* 26/*
27 * RealView EB + ARM11MPCore peripheral addresses 27 * RealView EB + ARM11MPCore peripheral addresses
28 */ 28 */
29#define REALVIEW_EB_TIMER0_1_BASE 0x10011000 /* Timer 0 and 1 */
30#define REALVIEW_EB_TIMER2_3_BASE 0x10012000 /* Timer 2 and 3 */
29#define REALVIEW_EB_GIC_CPU_BASE 0x10040000 /* Generic interrupt controller CPU interface */ 31#define REALVIEW_EB_GIC_CPU_BASE 0x10040000 /* Generic interrupt controller CPU interface */
30#define REALVIEW_EB_GIC_DIST_BASE 0x10041000 /* Generic interrupt controller distributor */ 32#define REALVIEW_EB_GIC_DIST_BASE 0x10041000 /* Generic interrupt controller distributor */
31 33
diff --git a/include/asm-arm/arch-realview/platform.h b/include/asm-arm/arch-realview/platform.h
index 08d6f05ce0a1..7aa78a5ebc88 100644
--- a/include/asm-arm/arch-realview/platform.h
+++ b/include/asm-arm/arch-realview/platform.h
@@ -190,8 +190,6 @@
190#define REALVIEW_SCI_BASE 0x1000E000 /* Smart card controller */ 190#define REALVIEW_SCI_BASE 0x1000E000 /* Smart card controller */
191 /* Reserved 0x1000F000 */ 191 /* Reserved 0x1000F000 */
192#define REALVIEW_WATCHDOG_BASE 0x10010000 /* watchdog interface */ 192#define REALVIEW_WATCHDOG_BASE 0x10010000 /* watchdog interface */
193#define REALVIEW_TIMER0_1_BASE 0x10011000 /* Timer 0 and 1 */
194#define REALVIEW_TIMER2_3_BASE 0x10012000 /* Timer 2 and 3 */
195#define REALVIEW_GPIO0_BASE 0x10013000 /* GPIO port 0 */ 193#define REALVIEW_GPIO0_BASE 0x10013000 /* GPIO port 0 */
196#define REALVIEW_GPIO1_BASE 0x10014000 /* GPIO port 1 */ 194#define REALVIEW_GPIO1_BASE 0x10014000 /* GPIO port 1 */
197#define REALVIEW_GPIO2_BASE 0x10015000 /* GPIO port 2 */ 195#define REALVIEW_GPIO2_BASE 0x10015000 /* GPIO port 2 */