diff options
author | Santosh Shilimkar <santosh.shilimkar@ti.com> | 2009-10-19 20:25:55 -0400 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2009-10-19 20:25:55 -0400 |
commit | b4224b236b0325ae678fa6b70bd3798dbd93a475 (patch) | |
tree | 3f849dbca0f06414515ca86a81adf19279a55404 /arch/arm | |
parent | e49b824480bdc2b95764d65ea2ef2176a355fdd4 (diff) |
omap: Fix DEBUG_LL UART io address
This patch fixes the low level debug UART io address as per this series.
The change is essential to have CONFIG_DEBUG_LL working.
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/mach-omap2/board-2430sdp.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-omap2/board-3430sdp.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-omap2/board-4430sdp.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-omap2/board-apollon.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-omap2/board-generic.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-omap2/board-h4.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-omap2/board-ldp.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-omap2/board-n8x0.c | 6 | ||||
-rw-r--r-- | arch/arm/mach-omap2/board-omap3beagle.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-omap2/board-omap3evm.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-omap2/board-omap3pandora.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-omap2/board-overo.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-omap2/board-rx51.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-omap2/board-zoom2.c | 2 | ||||
-rw-r--r-- | arch/arm/plat-omap/include/mach/debug-macro.S | 4 |
15 files changed, 18 insertions, 18 deletions
diff --git a/arch/arm/mach-omap2/board-2430sdp.c b/arch/arm/mach-omap2/board-2430sdp.c index 42217b32f835..e032a33406a7 100644 --- a/arch/arm/mach-omap2/board-2430sdp.c +++ b/arch/arm/mach-omap2/board-2430sdp.c | |||
@@ -221,7 +221,7 @@ static void __init omap_2430sdp_map_io(void) | |||
221 | MACHINE_START(OMAP_2430SDP, "OMAP2430 sdp2430 board") | 221 | MACHINE_START(OMAP_2430SDP, "OMAP2430 sdp2430 board") |
222 | /* Maintainer: Syed Khasim - Texas Instruments Inc */ | 222 | /* Maintainer: Syed Khasim - Texas Instruments Inc */ |
223 | .phys_io = 0x48000000, | 223 | .phys_io = 0x48000000, |
224 | .io_pg_offst = ((0xd8000000) >> 18) & 0xfffc, | 224 | .io_pg_offst = ((0xfa000000) >> 18) & 0xfffc, |
225 | .boot_params = 0x80000100, | 225 | .boot_params = 0x80000100, |
226 | .map_io = omap_2430sdp_map_io, | 226 | .map_io = omap_2430sdp_map_io, |
227 | .init_irq = omap_2430sdp_init_irq, | 227 | .init_irq = omap_2430sdp_init_irq, |
diff --git a/arch/arm/mach-omap2/board-3430sdp.c b/arch/arm/mach-omap2/board-3430sdp.c index efaf053eba85..364ce7e4c7c3 100644 --- a/arch/arm/mach-omap2/board-3430sdp.c +++ b/arch/arm/mach-omap2/board-3430sdp.c | |||
@@ -511,7 +511,7 @@ static void __init omap_3430sdp_map_io(void) | |||
511 | MACHINE_START(OMAP_3430SDP, "OMAP3430 3430SDP board") | 511 | MACHINE_START(OMAP_3430SDP, "OMAP3430 3430SDP board") |
512 | /* Maintainer: Syed Khasim - Texas Instruments Inc */ | 512 | /* Maintainer: Syed Khasim - Texas Instruments Inc */ |
513 | .phys_io = 0x48000000, | 513 | .phys_io = 0x48000000, |
514 | .io_pg_offst = ((0xd8000000) >> 18) & 0xfffc, | 514 | .io_pg_offst = ((0xfa000000) >> 18) & 0xfffc, |
515 | .boot_params = 0x80000100, | 515 | .boot_params = 0x80000100, |
516 | .map_io = omap_3430sdp_map_io, | 516 | .map_io = omap_3430sdp_map_io, |
517 | .init_irq = omap_3430sdp_init_irq, | 517 | .init_irq = omap_3430sdp_init_irq, |
diff --git a/arch/arm/mach-omap2/board-4430sdp.c b/arch/arm/mach-omap2/board-4430sdp.c index 1035b22441ba..763055ef4b54 100644 --- a/arch/arm/mach-omap2/board-4430sdp.c +++ b/arch/arm/mach-omap2/board-4430sdp.c | |||
@@ -93,7 +93,7 @@ static void __init omap_4430sdp_map_io(void) | |||
93 | MACHINE_START(OMAP_4430SDP, "OMAP4430 4430SDP board") | 93 | MACHINE_START(OMAP_4430SDP, "OMAP4430 4430SDP board") |
94 | /* Maintainer: Santosh Shilimkar - Texas Instruments Inc */ | 94 | /* Maintainer: Santosh Shilimkar - Texas Instruments Inc */ |
95 | .phys_io = 0x48000000, | 95 | .phys_io = 0x48000000, |
96 | .io_pg_offst = ((0xd8000000) >> 18) & 0xfffc, | 96 | .io_pg_offst = ((0xfa000000) >> 18) & 0xfffc, |
97 | .boot_params = 0x80000100, | 97 | .boot_params = 0x80000100, |
98 | .map_io = omap_4430sdp_map_io, | 98 | .map_io = omap_4430sdp_map_io, |
99 | .init_irq = omap_4430sdp_init_irq, | 99 | .init_irq = omap_4430sdp_init_irq, |
diff --git a/arch/arm/mach-omap2/board-apollon.c b/arch/arm/mach-omap2/board-apollon.c index a1132288c701..e8a0e56ce2a0 100644 --- a/arch/arm/mach-omap2/board-apollon.c +++ b/arch/arm/mach-omap2/board-apollon.c | |||
@@ -333,7 +333,7 @@ static void __init omap_apollon_map_io(void) | |||
333 | MACHINE_START(OMAP_APOLLON, "OMAP24xx Apollon") | 333 | MACHINE_START(OMAP_APOLLON, "OMAP24xx Apollon") |
334 | /* Maintainer: Kyungmin Park <kyungmin.park@samsung.com> */ | 334 | /* Maintainer: Kyungmin Park <kyungmin.park@samsung.com> */ |
335 | .phys_io = 0x48000000, | 335 | .phys_io = 0x48000000, |
336 | .io_pg_offst = ((0xd8000000) >> 18) & 0xfffc, | 336 | .io_pg_offst = ((0xfa000000) >> 18) & 0xfffc, |
337 | .boot_params = 0x80000100, | 337 | .boot_params = 0x80000100, |
338 | .map_io = omap_apollon_map_io, | 338 | .map_io = omap_apollon_map_io, |
339 | .init_irq = omap_apollon_init_irq, | 339 | .init_irq = omap_apollon_init_irq, |
diff --git a/arch/arm/mach-omap2/board-generic.c b/arch/arm/mach-omap2/board-generic.c index 2e09a1c444cb..1a139c097f66 100644 --- a/arch/arm/mach-omap2/board-generic.c +++ b/arch/arm/mach-omap2/board-generic.c | |||
@@ -56,7 +56,7 @@ static void __init omap_generic_map_io(void) | |||
56 | MACHINE_START(OMAP_GENERIC, "Generic OMAP24xx") | 56 | MACHINE_START(OMAP_GENERIC, "Generic OMAP24xx") |
57 | /* Maintainer: Paul Mundt <paul.mundt@nokia.com> */ | 57 | /* Maintainer: Paul Mundt <paul.mundt@nokia.com> */ |
58 | .phys_io = 0x48000000, | 58 | .phys_io = 0x48000000, |
59 | .io_pg_offst = ((0xd8000000) >> 18) & 0xfffc, | 59 | .io_pg_offst = ((0xfa000000) >> 18) & 0xfffc, |
60 | .boot_params = 0x80000100, | 60 | .boot_params = 0x80000100, |
61 | .map_io = omap_generic_map_io, | 61 | .map_io = omap_generic_map_io, |
62 | .init_irq = omap_generic_init_irq, | 62 | .init_irq = omap_generic_init_irq, |
diff --git a/arch/arm/mach-omap2/board-h4.c b/arch/arm/mach-omap2/board-h4.c index eaa02d012c5c..86f78f3d045a 100644 --- a/arch/arm/mach-omap2/board-h4.c +++ b/arch/arm/mach-omap2/board-h4.c | |||
@@ -376,7 +376,7 @@ static void __init omap_h4_map_io(void) | |||
376 | MACHINE_START(OMAP_H4, "OMAP2420 H4 board") | 376 | MACHINE_START(OMAP_H4, "OMAP2420 H4 board") |
377 | /* Maintainer: Paul Mundt <paul.mundt@nokia.com> */ | 377 | /* Maintainer: Paul Mundt <paul.mundt@nokia.com> */ |
378 | .phys_io = 0x48000000, | 378 | .phys_io = 0x48000000, |
379 | .io_pg_offst = ((0xd8000000) >> 18) & 0xfffc, | 379 | .io_pg_offst = ((0xfa000000) >> 18) & 0xfffc, |
380 | .boot_params = 0x80000100, | 380 | .boot_params = 0x80000100, |
381 | .map_io = omap_h4_map_io, | 381 | .map_io = omap_h4_map_io, |
382 | .init_irq = omap_h4_init_irq, | 382 | .init_irq = omap_h4_init_irq, |
diff --git a/arch/arm/mach-omap2/board-ldp.c b/arch/arm/mach-omap2/board-ldp.c index d110a7fdfbd8..4ccc01a1e8c8 100644 --- a/arch/arm/mach-omap2/board-ldp.c +++ b/arch/arm/mach-omap2/board-ldp.c | |||
@@ -399,7 +399,7 @@ static void __init omap_ldp_map_io(void) | |||
399 | 399 | ||
400 | MACHINE_START(OMAP_LDP, "OMAP LDP board") | 400 | MACHINE_START(OMAP_LDP, "OMAP LDP board") |
401 | .phys_io = 0x48000000, | 401 | .phys_io = 0x48000000, |
402 | .io_pg_offst = ((0xd8000000) >> 18) & 0xfffc, | 402 | .io_pg_offst = ((0xfa000000) >> 18) & 0xfffc, |
403 | .boot_params = 0x80000100, | 403 | .boot_params = 0x80000100, |
404 | .map_io = omap_ldp_map_io, | 404 | .map_io = omap_ldp_map_io, |
405 | .init_irq = omap_ldp_init_irq, | 405 | .init_irq = omap_ldp_init_irq, |
diff --git a/arch/arm/mach-omap2/board-n8x0.c b/arch/arm/mach-omap2/board-n8x0.c index 8341632d260b..2f6ccba5bb3b 100644 --- a/arch/arm/mach-omap2/board-n8x0.c +++ b/arch/arm/mach-omap2/board-n8x0.c | |||
@@ -121,7 +121,7 @@ static void __init n8x0_init_machine(void) | |||
121 | 121 | ||
122 | MACHINE_START(NOKIA_N800, "Nokia N800") | 122 | MACHINE_START(NOKIA_N800, "Nokia N800") |
123 | .phys_io = 0x48000000, | 123 | .phys_io = 0x48000000, |
124 | .io_pg_offst = ((0xd8000000) >> 18) & 0xfffc, | 124 | .io_pg_offst = ((0xfa000000) >> 18) & 0xfffc, |
125 | .boot_params = 0x80000100, | 125 | .boot_params = 0x80000100, |
126 | .map_io = n8x0_map_io, | 126 | .map_io = n8x0_map_io, |
127 | .init_irq = n8x0_init_irq, | 127 | .init_irq = n8x0_init_irq, |
@@ -131,7 +131,7 @@ MACHINE_END | |||
131 | 131 | ||
132 | MACHINE_START(NOKIA_N810, "Nokia N810") | 132 | MACHINE_START(NOKIA_N810, "Nokia N810") |
133 | .phys_io = 0x48000000, | 133 | .phys_io = 0x48000000, |
134 | .io_pg_offst = ((0xd8000000) >> 18) & 0xfffc, | 134 | .io_pg_offst = ((0xfa000000) >> 18) & 0xfffc, |
135 | .boot_params = 0x80000100, | 135 | .boot_params = 0x80000100, |
136 | .map_io = n8x0_map_io, | 136 | .map_io = n8x0_map_io, |
137 | .init_irq = n8x0_init_irq, | 137 | .init_irq = n8x0_init_irq, |
@@ -141,7 +141,7 @@ MACHINE_END | |||
141 | 141 | ||
142 | MACHINE_START(NOKIA_N810_WIMAX, "Nokia N810 WiMAX") | 142 | MACHINE_START(NOKIA_N810_WIMAX, "Nokia N810 WiMAX") |
143 | .phys_io = 0x48000000, | 143 | .phys_io = 0x48000000, |
144 | .io_pg_offst = ((0xd8000000) >> 18) & 0xfffc, | 144 | .io_pg_offst = ((0xfa000000) >> 18) & 0xfffc, |
145 | .boot_params = 0x80000100, | 145 | .boot_params = 0x80000100, |
146 | .map_io = n8x0_map_io, | 146 | .map_io = n8x0_map_io, |
147 | .init_irq = n8x0_init_irq, | 147 | .init_irq = n8x0_init_irq, |
diff --git a/arch/arm/mach-omap2/board-omap3beagle.c b/arch/arm/mach-omap2/board-omap3beagle.c index 70df6b4dbcd4..7db803d6c629 100644 --- a/arch/arm/mach-omap2/board-omap3beagle.c +++ b/arch/arm/mach-omap2/board-omap3beagle.c | |||
@@ -429,7 +429,7 @@ static void __init omap3_beagle_map_io(void) | |||
429 | MACHINE_START(OMAP3_BEAGLE, "OMAP3 Beagle Board") | 429 | MACHINE_START(OMAP3_BEAGLE, "OMAP3 Beagle Board") |
430 | /* Maintainer: Syed Mohammed Khasim - http://beagleboard.org */ | 430 | /* Maintainer: Syed Mohammed Khasim - http://beagleboard.org */ |
431 | .phys_io = 0x48000000, | 431 | .phys_io = 0x48000000, |
432 | .io_pg_offst = ((0xd8000000) >> 18) & 0xfffc, | 432 | .io_pg_offst = ((0xfa000000) >> 18) & 0xfffc, |
433 | .boot_params = 0x80000100, | 433 | .boot_params = 0x80000100, |
434 | .map_io = omap3_beagle_map_io, | 434 | .map_io = omap3_beagle_map_io, |
435 | .init_irq = omap3_beagle_init_irq, | 435 | .init_irq = omap3_beagle_init_irq, |
diff --git a/arch/arm/mach-omap2/board-omap3evm.c b/arch/arm/mach-omap2/board-omap3evm.c index e4ec0c591216..72f0b1eef86e 100644 --- a/arch/arm/mach-omap2/board-omap3evm.c +++ b/arch/arm/mach-omap2/board-omap3evm.c | |||
@@ -324,7 +324,7 @@ static void __init omap3_evm_map_io(void) | |||
324 | MACHINE_START(OMAP3EVM, "OMAP3 EVM") | 324 | MACHINE_START(OMAP3EVM, "OMAP3 EVM") |
325 | /* Maintainer: Syed Mohammed Khasim - Texas Instruments */ | 325 | /* Maintainer: Syed Mohammed Khasim - Texas Instruments */ |
326 | .phys_io = 0x48000000, | 326 | .phys_io = 0x48000000, |
327 | .io_pg_offst = ((0xd8000000) >> 18) & 0xfffc, | 327 | .io_pg_offst = ((0xfa000000) >> 18) & 0xfffc, |
328 | .boot_params = 0x80000100, | 328 | .boot_params = 0x80000100, |
329 | .map_io = omap3_evm_map_io, | 329 | .map_io = omap3_evm_map_io, |
330 | .init_irq = omap3_evm_init_irq, | 330 | .init_irq = omap3_evm_init_irq, |
diff --git a/arch/arm/mach-omap2/board-omap3pandora.c b/arch/arm/mach-omap2/board-omap3pandora.c index 7f6bf8772af7..12d2381b1b7a 100644 --- a/arch/arm/mach-omap2/board-omap3pandora.c +++ b/arch/arm/mach-omap2/board-omap3pandora.c | |||
@@ -412,7 +412,7 @@ static void __init omap3pandora_map_io(void) | |||
412 | 412 | ||
413 | MACHINE_START(OMAP3_PANDORA, "Pandora Handheld Console") | 413 | MACHINE_START(OMAP3_PANDORA, "Pandora Handheld Console") |
414 | .phys_io = 0x48000000, | 414 | .phys_io = 0x48000000, |
415 | .io_pg_offst = ((0xd8000000) >> 18) & 0xfffc, | 415 | .io_pg_offst = ((0xfa000000) >> 18) & 0xfffc, |
416 | .boot_params = 0x80000100, | 416 | .boot_params = 0x80000100, |
417 | .map_io = omap3pandora_map_io, | 417 | .map_io = omap3pandora_map_io, |
418 | .init_irq = omap3pandora_init_irq, | 418 | .init_irq = omap3pandora_init_irq, |
diff --git a/arch/arm/mach-omap2/board-overo.c b/arch/arm/mach-omap2/board-overo.c index 9917d2fddc2f..c5e0da92e50f 100644 --- a/arch/arm/mach-omap2/board-overo.c +++ b/arch/arm/mach-omap2/board-overo.c | |||
@@ -451,7 +451,7 @@ static void __init overo_map_io(void) | |||
451 | 451 | ||
452 | MACHINE_START(OVERO, "Gumstix Overo") | 452 | MACHINE_START(OVERO, "Gumstix Overo") |
453 | .phys_io = 0x48000000, | 453 | .phys_io = 0x48000000, |
454 | .io_pg_offst = ((0xd8000000) >> 18) & 0xfffc, | 454 | .io_pg_offst = ((0xfa000000) >> 18) & 0xfffc, |
455 | .boot_params = 0x80000100, | 455 | .boot_params = 0x80000100, |
456 | .map_io = overo_map_io, | 456 | .map_io = overo_map_io, |
457 | .init_irq = overo_init_irq, | 457 | .init_irq = overo_init_irq, |
diff --git a/arch/arm/mach-omap2/board-rx51.c b/arch/arm/mach-omap2/board-rx51.c index f9196c3b1a7b..c973812d33ab 100644 --- a/arch/arm/mach-omap2/board-rx51.c +++ b/arch/arm/mach-omap2/board-rx51.c | |||
@@ -85,7 +85,7 @@ static void __init rx51_map_io(void) | |||
85 | MACHINE_START(NOKIA_RX51, "Nokia RX-51 board") | 85 | MACHINE_START(NOKIA_RX51, "Nokia RX-51 board") |
86 | /* Maintainer: Lauri Leukkunen <lauri.leukkunen@nokia.com> */ | 86 | /* Maintainer: Lauri Leukkunen <lauri.leukkunen@nokia.com> */ |
87 | .phys_io = 0x48000000, | 87 | .phys_io = 0x48000000, |
88 | .io_pg_offst = ((0xd8000000) >> 18) & 0xfffc, | 88 | .io_pg_offst = ((0xfa000000) >> 18) & 0xfffc, |
89 | .boot_params = 0x80000100, | 89 | .boot_params = 0x80000100, |
90 | .map_io = rx51_map_io, | 90 | .map_io = rx51_map_io, |
91 | .init_irq = rx51_init_irq, | 91 | .init_irq = rx51_init_irq, |
diff --git a/arch/arm/mach-omap2/board-zoom2.c b/arch/arm/mach-omap2/board-zoom2.c index fd3369d5e5cb..48bd2af3387e 100644 --- a/arch/arm/mach-omap2/board-zoom2.c +++ b/arch/arm/mach-omap2/board-zoom2.c | |||
@@ -283,7 +283,7 @@ static void __init omap_zoom2_map_io(void) | |||
283 | 283 | ||
284 | MACHINE_START(OMAP_ZOOM2, "OMAP Zoom2 board") | 284 | MACHINE_START(OMAP_ZOOM2, "OMAP Zoom2 board") |
285 | .phys_io = 0x48000000, | 285 | .phys_io = 0x48000000, |
286 | .io_pg_offst = ((0xd8000000) >> 18) & 0xfffc, | 286 | .io_pg_offst = ((0xfa000000) >> 18) & 0xfffc, |
287 | .boot_params = 0x80000100, | 287 | .boot_params = 0x80000100, |
288 | .map_io = omap_zoom2_map_io, | 288 | .map_io = omap_zoom2_map_io, |
289 | .init_irq = omap_zoom2_init_irq, | 289 | .init_irq = omap_zoom2_init_irq, |
diff --git a/arch/arm/plat-omap/include/mach/debug-macro.S b/arch/arm/plat-omap/include/mach/debug-macro.S index ac24050e3416..63bb06d43255 100644 --- a/arch/arm/plat-omap/include/mach/debug-macro.S +++ b/arch/arm/plat-omap/include/mach/debug-macro.S | |||
@@ -27,7 +27,7 @@ | |||
27 | 27 | ||
28 | #elif CONFIG_ARCH_OMAP2 | 28 | #elif CONFIG_ARCH_OMAP2 |
29 | moveq \rx, #0x48000000 @ physical base address | 29 | moveq \rx, #0x48000000 @ physical base address |
30 | movne \rx, #0xd8000000 @ virtual base | 30 | movne \rx, #0xfa000000 @ virtual base |
31 | orr \rx, \rx, #0x0006a000 | 31 | orr \rx, \rx, #0x0006a000 |
32 | #ifdef CONFIG_OMAP_LL_DEBUG_UART2 | 32 | #ifdef CONFIG_OMAP_LL_DEBUG_UART2 |
33 | add \rx, \rx, #0x00002000 @ UART 2 | 33 | add \rx, \rx, #0x00002000 @ UART 2 |
@@ -38,7 +38,7 @@ | |||
38 | 38 | ||
39 | #elif defined(CONFIG_ARCH_OMAP3) || defined(CONFIG_ARCH_OMAP4) | 39 | #elif defined(CONFIG_ARCH_OMAP3) || defined(CONFIG_ARCH_OMAP4) |
40 | moveq \rx, #0x48000000 @ physical base address | 40 | moveq \rx, #0x48000000 @ physical base address |
41 | movne \rx, #0xd8000000 @ virtual base | 41 | movne \rx, #0xfa000000 @ virtual base |
42 | orr \rx, \rx, #0x0006a000 | 42 | orr \rx, \rx, #0x0006a000 |
43 | #ifdef CONFIG_OMAP_LL_DEBUG_UART2 | 43 | #ifdef CONFIG_OMAP_LL_DEBUG_UART2 |
44 | add \rx, \rx, #0x00002000 @ UART 2 | 44 | add \rx, \rx, #0x00002000 @ UART 2 |