diff options
Diffstat (limited to 'arch/arm/mach-omap2')
31 files changed, 71 insertions, 97 deletions
diff --git a/arch/arm/mach-omap2/board-2430sdp.c b/arch/arm/mach-omap2/board-2430sdp.c index f79b7d2a8ed4..87f43ade4405 100644 --- a/arch/arm/mach-omap2/board-2430sdp.c +++ b/arch/arm/mach-omap2/board-2430sdp.c | |||
@@ -257,7 +257,7 @@ static void __init omap_2430sdp_map_io(void) | |||
257 | 257 | ||
258 | MACHINE_START(OMAP_2430SDP, "OMAP2430 sdp2430 board") | 258 | MACHINE_START(OMAP_2430SDP, "OMAP2430 sdp2430 board") |
259 | /* Maintainer: Syed Khasim - Texas Instruments Inc */ | 259 | /* Maintainer: Syed Khasim - Texas Instruments Inc */ |
260 | .boot_params = 0x80000100, | 260 | .atag_offset = 0x100, |
261 | .reserve = omap_reserve, | 261 | .reserve = omap_reserve, |
262 | .map_io = omap_2430sdp_map_io, | 262 | .map_io = omap_2430sdp_map_io, |
263 | .init_early = omap_2430sdp_init_early, | 263 | .init_early = omap_2430sdp_init_early, |
diff --git a/arch/arm/mach-omap2/board-3430sdp.c b/arch/arm/mach-omap2/board-3430sdp.c index bd600cfb7f80..2430531b2239 100644 --- a/arch/arm/mach-omap2/board-3430sdp.c +++ b/arch/arm/mach-omap2/board-3430sdp.c | |||
@@ -729,7 +729,7 @@ static void __init omap_3430sdp_init(void) | |||
729 | 729 | ||
730 | MACHINE_START(OMAP_3430SDP, "OMAP3430 3430SDP board") | 730 | MACHINE_START(OMAP_3430SDP, "OMAP3430 3430SDP board") |
731 | /* Maintainer: Syed Khasim - Texas Instruments Inc */ | 731 | /* Maintainer: Syed Khasim - Texas Instruments Inc */ |
732 | .boot_params = 0x80000100, | 732 | .atag_offset = 0x100, |
733 | .reserve = omap_reserve, | 733 | .reserve = omap_reserve, |
734 | .map_io = omap3_map_io, | 734 | .map_io = omap3_map_io, |
735 | .init_early = omap_3430sdp_init_early, | 735 | .init_early = omap_3430sdp_init_early, |
diff --git a/arch/arm/mach-omap2/board-3630sdp.c b/arch/arm/mach-omap2/board-3630sdp.c index e4f37b57a0c4..8b5b5aa751ed 100644 --- a/arch/arm/mach-omap2/board-3630sdp.c +++ b/arch/arm/mach-omap2/board-3630sdp.c | |||
@@ -215,7 +215,7 @@ static void __init omap_sdp_init(void) | |||
215 | } | 215 | } |
216 | 216 | ||
217 | MACHINE_START(OMAP_3630SDP, "OMAP 3630SDP board") | 217 | MACHINE_START(OMAP_3630SDP, "OMAP 3630SDP board") |
218 | .boot_params = 0x80000100, | 218 | .atag_offset = 0x100, |
219 | .reserve = omap_reserve, | 219 | .reserve = omap_reserve, |
220 | .map_io = omap3_map_io, | 220 | .map_io = omap3_map_io, |
221 | .init_early = omap_sdp_init_early, | 221 | .init_early = omap_sdp_init_early, |
diff --git a/arch/arm/mach-omap2/board-4430sdp.c b/arch/arm/mach-omap2/board-4430sdp.c index c7cef44c75d4..be931105d681 100644 --- a/arch/arm/mach-omap2/board-4430sdp.c +++ b/arch/arm/mach-omap2/board-4430sdp.c | |||
@@ -838,7 +838,7 @@ static void __init omap_4430sdp_map_io(void) | |||
838 | 838 | ||
839 | MACHINE_START(OMAP_4430SDP, "OMAP4430 4430SDP board") | 839 | MACHINE_START(OMAP_4430SDP, "OMAP4430 4430SDP board") |
840 | /* Maintainer: Santosh Shilimkar - Texas Instruments Inc */ | 840 | /* Maintainer: Santosh Shilimkar - Texas Instruments Inc */ |
841 | .boot_params = 0x80000100, | 841 | .atag_offset = 0x100, |
842 | .reserve = omap_reserve, | 842 | .reserve = omap_reserve, |
843 | .map_io = omap_4430sdp_map_io, | 843 | .map_io = omap_4430sdp_map_io, |
844 | .init_early = omap_4430sdp_init_early, | 844 | .init_early = omap_4430sdp_init_early, |
diff --git a/arch/arm/mach-omap2/board-am3517crane.c b/arch/arm/mach-omap2/board-am3517crane.c index 933e9353cb37..db110fdb8b2c 100644 --- a/arch/arm/mach-omap2/board-am3517crane.c +++ b/arch/arm/mach-omap2/board-am3517crane.c | |||
@@ -98,7 +98,7 @@ static void __init am3517_crane_init(void) | |||
98 | } | 98 | } |
99 | 99 | ||
100 | MACHINE_START(CRANEBOARD, "AM3517/05 CRANEBOARD") | 100 | MACHINE_START(CRANEBOARD, "AM3517/05 CRANEBOARD") |
101 | .boot_params = 0x80000100, | 101 | .atag_offset = 0x100, |
102 | .reserve = omap_reserve, | 102 | .reserve = omap_reserve, |
103 | .map_io = omap3_map_io, | 103 | .map_io = omap3_map_io, |
104 | .init_early = am3517_crane_init_early, | 104 | .init_early = am3517_crane_init_early, |
diff --git a/arch/arm/mach-omap2/board-am3517evm.c b/arch/arm/mach-omap2/board-am3517evm.c index f3006c304150..1325085e453d 100644 --- a/arch/arm/mach-omap2/board-am3517evm.c +++ b/arch/arm/mach-omap2/board-am3517evm.c | |||
@@ -490,7 +490,7 @@ static void __init am3517_evm_init(void) | |||
490 | } | 490 | } |
491 | 491 | ||
492 | MACHINE_START(OMAP3517EVM, "OMAP3517/AM3517 EVM") | 492 | MACHINE_START(OMAP3517EVM, "OMAP3517/AM3517 EVM") |
493 | .boot_params = 0x80000100, | 493 | .atag_offset = 0x100, |
494 | .reserve = omap_reserve, | 494 | .reserve = omap_reserve, |
495 | .map_io = omap3_map_io, | 495 | .map_io = omap3_map_io, |
496 | .init_early = am3517_evm_init_early, | 496 | .init_early = am3517_evm_init_early, |
diff --git a/arch/arm/mach-omap2/board-apollon.c b/arch/arm/mach-omap2/board-apollon.c index 70211703ff9f..67800e647d7a 100644 --- a/arch/arm/mach-omap2/board-apollon.c +++ b/arch/arm/mach-omap2/board-apollon.c | |||
@@ -350,7 +350,7 @@ static void __init omap_apollon_map_io(void) | |||
350 | 350 | ||
351 | MACHINE_START(OMAP_APOLLON, "OMAP24xx Apollon") | 351 | MACHINE_START(OMAP_APOLLON, "OMAP24xx Apollon") |
352 | /* Maintainer: Kyungmin Park <kyungmin.park@samsung.com> */ | 352 | /* Maintainer: Kyungmin Park <kyungmin.park@samsung.com> */ |
353 | .boot_params = 0x80000100, | 353 | .atag_offset = 0x100, |
354 | .reserve = omap_reserve, | 354 | .reserve = omap_reserve, |
355 | .map_io = omap_apollon_map_io, | 355 | .map_io = omap_apollon_map_io, |
356 | .init_early = omap_apollon_init_early, | 356 | .init_early = omap_apollon_init_early, |
diff --git a/arch/arm/mach-omap2/board-cm-t35.c b/arch/arm/mach-omap2/board-cm-t35.c index 3af8aab435b5..38179c175503 100644 --- a/arch/arm/mach-omap2/board-cm-t35.c +++ b/arch/arm/mach-omap2/board-cm-t35.c | |||
@@ -634,7 +634,7 @@ static void __init cm_t3730_init(void) | |||
634 | } | 634 | } |
635 | 635 | ||
636 | MACHINE_START(CM_T35, "Compulab CM-T35") | 636 | MACHINE_START(CM_T35, "Compulab CM-T35") |
637 | .boot_params = 0x80000100, | 637 | .atag_offset = 0x100, |
638 | .reserve = omap_reserve, | 638 | .reserve = omap_reserve, |
639 | .map_io = omap3_map_io, | 639 | .map_io = omap3_map_io, |
640 | .init_early = cm_t35_init_early, | 640 | .init_early = cm_t35_init_early, |
@@ -644,7 +644,7 @@ MACHINE_START(CM_T35, "Compulab CM-T35") | |||
644 | MACHINE_END | 644 | MACHINE_END |
645 | 645 | ||
646 | MACHINE_START(CM_T3730, "Compulab CM-T3730") | 646 | MACHINE_START(CM_T3730, "Compulab CM-T3730") |
647 | .boot_params = 0x80000100, | 647 | .atag_offset = 0x100, |
648 | .reserve = omap_reserve, | 648 | .reserve = omap_reserve, |
649 | .map_io = omap3_map_io, | 649 | .map_io = omap3_map_io, |
650 | .init_early = cm_t35_init_early, | 650 | .init_early = cm_t35_init_early, |
diff --git a/arch/arm/mach-omap2/board-cm-t3517.c b/arch/arm/mach-omap2/board-cm-t3517.c index 05c72f4c1b57..aed9c29f9fae 100644 --- a/arch/arm/mach-omap2/board-cm-t3517.c +++ b/arch/arm/mach-omap2/board-cm-t3517.c | |||
@@ -299,7 +299,7 @@ static void __init cm_t3517_init(void) | |||
299 | } | 299 | } |
300 | 300 | ||
301 | MACHINE_START(CM_T3517, "Compulab CM-T3517") | 301 | MACHINE_START(CM_T3517, "Compulab CM-T3517") |
302 | .boot_params = 0x80000100, | 302 | .atag_offset = 0x100, |
303 | .reserve = omap_reserve, | 303 | .reserve = omap_reserve, |
304 | .map_io = omap3_map_io, | 304 | .map_io = omap3_map_io, |
305 | .init_early = cm_t3517_init_early, | 305 | .init_early = cm_t3517_init_early, |
diff --git a/arch/arm/mach-omap2/board-devkit8000.c b/arch/arm/mach-omap2/board-devkit8000.c index b6002ec31c6a..99a42432ac93 100644 --- a/arch/arm/mach-omap2/board-devkit8000.c +++ b/arch/arm/mach-omap2/board-devkit8000.c | |||
@@ -667,7 +667,7 @@ static void __init devkit8000_init(void) | |||
667 | } | 667 | } |
668 | 668 | ||
669 | MACHINE_START(DEVKIT8000, "OMAP3 Devkit8000") | 669 | MACHINE_START(DEVKIT8000, "OMAP3 Devkit8000") |
670 | .boot_params = 0x80000100, | 670 | .atag_offset = 0x100, |
671 | .reserve = omap_reserve, | 671 | .reserve = omap_reserve, |
672 | .map_io = omap3_map_io, | 672 | .map_io = omap3_map_io, |
673 | .init_early = devkit8000_init_early, | 673 | .init_early = devkit8000_init_early, |
diff --git a/arch/arm/mach-omap2/board-generic.c b/arch/arm/mach-omap2/board-generic.c index bb4af05c7f0a..4431ad364565 100644 --- a/arch/arm/mach-omap2/board-generic.c +++ b/arch/arm/mach-omap2/board-generic.c | |||
@@ -65,7 +65,7 @@ static void __init omap_generic_map_io(void) | |||
65 | /* XXX This machine entry name should be updated */ | 65 | /* XXX This machine entry name should be updated */ |
66 | MACHINE_START(OMAP_GENERIC, "Generic OMAP24xx") | 66 | MACHINE_START(OMAP_GENERIC, "Generic OMAP24xx") |
67 | /* Maintainer: Paul Mundt <paul.mundt@nokia.com> */ | 67 | /* Maintainer: Paul Mundt <paul.mundt@nokia.com> */ |
68 | .boot_params = 0x80000100, | 68 | .atag_offset = 0x100, |
69 | .reserve = omap_reserve, | 69 | .reserve = omap_reserve, |
70 | .map_io = omap_generic_map_io, | 70 | .map_io = omap_generic_map_io, |
71 | .init_early = omap_generic_init_early, | 71 | .init_early = omap_generic_init_early, |
diff --git a/arch/arm/mach-omap2/board-h4.c b/arch/arm/mach-omap2/board-h4.c index 95319e761802..82421a4cfa92 100644 --- a/arch/arm/mach-omap2/board-h4.c +++ b/arch/arm/mach-omap2/board-h4.c | |||
@@ -381,7 +381,7 @@ static void __init omap_h4_map_io(void) | |||
381 | 381 | ||
382 | MACHINE_START(OMAP_H4, "OMAP2420 H4 board") | 382 | MACHINE_START(OMAP_H4, "OMAP2420 H4 board") |
383 | /* Maintainer: Paul Mundt <paul.mundt@nokia.com> */ | 383 | /* Maintainer: Paul Mundt <paul.mundt@nokia.com> */ |
384 | .boot_params = 0x80000100, | 384 | .atag_offset = 0x100, |
385 | .reserve = omap_reserve, | 385 | .reserve = omap_reserve, |
386 | .map_io = omap_h4_map_io, | 386 | .map_io = omap_h4_map_io, |
387 | .init_early = omap_h4_init_early, | 387 | .init_early = omap_h4_init_early, |
diff --git a/arch/arm/mach-omap2/board-igep0020.c b/arch/arm/mach-omap2/board-igep0020.c index 35be778caf1b..7040352b16b4 100644 --- a/arch/arm/mach-omap2/board-igep0020.c +++ b/arch/arm/mach-omap2/board-igep0020.c | |||
@@ -672,7 +672,7 @@ static void __init igep_init(void) | |||
672 | } | 672 | } |
673 | 673 | ||
674 | MACHINE_START(IGEP0020, "IGEP v2 board") | 674 | MACHINE_START(IGEP0020, "IGEP v2 board") |
675 | .boot_params = 0x80000100, | 675 | .atag_offset = 0x100, |
676 | .reserve = omap_reserve, | 676 | .reserve = omap_reserve, |
677 | .map_io = omap3_map_io, | 677 | .map_io = omap3_map_io, |
678 | .init_early = igep_init_early, | 678 | .init_early = igep_init_early, |
@@ -682,7 +682,7 @@ MACHINE_START(IGEP0020, "IGEP v2 board") | |||
682 | MACHINE_END | 682 | MACHINE_END |
683 | 683 | ||
684 | MACHINE_START(IGEP0030, "IGEP OMAP3 module") | 684 | MACHINE_START(IGEP0030, "IGEP OMAP3 module") |
685 | .boot_params = 0x80000100, | 685 | .atag_offset = 0x100, |
686 | .reserve = omap_reserve, | 686 | .reserve = omap_reserve, |
687 | .map_io = omap3_map_io, | 687 | .map_io = omap3_map_io, |
688 | .init_early = igep_init_early, | 688 | .init_early = igep_init_early, |
diff --git a/arch/arm/mach-omap2/board-ldp.c b/arch/arm/mach-omap2/board-ldp.c index ddff45c1688c..abe8c7e496a2 100644 --- a/arch/arm/mach-omap2/board-ldp.c +++ b/arch/arm/mach-omap2/board-ldp.c | |||
@@ -332,7 +332,7 @@ static void __init omap_ldp_init(void) | |||
332 | } | 332 | } |
333 | 333 | ||
334 | MACHINE_START(OMAP_LDP, "OMAP LDP board") | 334 | MACHINE_START(OMAP_LDP, "OMAP LDP board") |
335 | .boot_params = 0x80000100, | 335 | .atag_offset = 0x100, |
336 | .reserve = omap_reserve, | 336 | .reserve = omap_reserve, |
337 | .map_io = omap3_map_io, | 337 | .map_io = omap3_map_io, |
338 | .init_early = omap_ldp_init_early, | 338 | .init_early = omap_ldp_init_early, |
diff --git a/arch/arm/mach-omap2/board-n8x0.c b/arch/arm/mach-omap2/board-n8x0.c index e11f0c5d608a..6ce748154f24 100644 --- a/arch/arm/mach-omap2/board-n8x0.c +++ b/arch/arm/mach-omap2/board-n8x0.c | |||
@@ -695,7 +695,7 @@ static void __init n8x0_init_machine(void) | |||
695 | } | 695 | } |
696 | 696 | ||
697 | MACHINE_START(NOKIA_N800, "Nokia N800") | 697 | MACHINE_START(NOKIA_N800, "Nokia N800") |
698 | .boot_params = 0x80000100, | 698 | .atag_offset = 0x100, |
699 | .reserve = omap_reserve, | 699 | .reserve = omap_reserve, |
700 | .map_io = n8x0_map_io, | 700 | .map_io = n8x0_map_io, |
701 | .init_early = n8x0_init_early, | 701 | .init_early = n8x0_init_early, |
@@ -705,7 +705,7 @@ MACHINE_START(NOKIA_N800, "Nokia N800") | |||
705 | MACHINE_END | 705 | MACHINE_END |
706 | 706 | ||
707 | MACHINE_START(NOKIA_N810, "Nokia N810") | 707 | MACHINE_START(NOKIA_N810, "Nokia N810") |
708 | .boot_params = 0x80000100, | 708 | .atag_offset = 0x100, |
709 | .reserve = omap_reserve, | 709 | .reserve = omap_reserve, |
710 | .map_io = n8x0_map_io, | 710 | .map_io = n8x0_map_io, |
711 | .init_early = n8x0_init_early, | 711 | .init_early = n8x0_init_early, |
@@ -715,7 +715,7 @@ MACHINE_START(NOKIA_N810, "Nokia N810") | |||
715 | MACHINE_END | 715 | MACHINE_END |
716 | 716 | ||
717 | MACHINE_START(NOKIA_N810_WIMAX, "Nokia N810 WiMAX") | 717 | MACHINE_START(NOKIA_N810_WIMAX, "Nokia N810 WiMAX") |
718 | .boot_params = 0x80000100, | 718 | .atag_offset = 0x100, |
719 | .reserve = omap_reserve, | 719 | .reserve = omap_reserve, |
720 | .map_io = n8x0_map_io, | 720 | .map_io = n8x0_map_io, |
721 | .init_early = n8x0_init_early, | 721 | .init_early = n8x0_init_early, |
diff --git a/arch/arm/mach-omap2/board-omap3beagle.c b/arch/arm/mach-omap2/board-omap3beagle.c index 3ae16b4e3f52..1fde8a0474bb 100644 --- a/arch/arm/mach-omap2/board-omap3beagle.c +++ b/arch/arm/mach-omap2/board-omap3beagle.c | |||
@@ -557,7 +557,7 @@ static void __init omap3_beagle_init(void) | |||
557 | 557 | ||
558 | MACHINE_START(OMAP3_BEAGLE, "OMAP3 Beagle Board") | 558 | MACHINE_START(OMAP3_BEAGLE, "OMAP3 Beagle Board") |
559 | /* Maintainer: Syed Mohammed Khasim - http://beagleboard.org */ | 559 | /* Maintainer: Syed Mohammed Khasim - http://beagleboard.org */ |
560 | .boot_params = 0x80000100, | 560 | .atag_offset = 0x100, |
561 | .reserve = omap_reserve, | 561 | .reserve = omap_reserve, |
562 | .map_io = omap3_map_io, | 562 | .map_io = omap3_map_io, |
563 | .init_early = omap3_beagle_init_early, | 563 | .init_early = omap3_beagle_init_early, |
diff --git a/arch/arm/mach-omap2/board-omap3evm.c b/arch/arm/mach-omap2/board-omap3evm.c index c452b3f3331a..15c69a0c1ce5 100644 --- a/arch/arm/mach-omap2/board-omap3evm.c +++ b/arch/arm/mach-omap2/board-omap3evm.c | |||
@@ -681,7 +681,7 @@ static void __init omap3_evm_init(void) | |||
681 | 681 | ||
682 | MACHINE_START(OMAP3EVM, "OMAP3 EVM") | 682 | MACHINE_START(OMAP3EVM, "OMAP3 EVM") |
683 | /* Maintainer: Syed Mohammed Khasim - Texas Instruments */ | 683 | /* Maintainer: Syed Mohammed Khasim - Texas Instruments */ |
684 | .boot_params = 0x80000100, | 684 | .atag_offset = 0x100, |
685 | .reserve = omap_reserve, | 685 | .reserve = omap_reserve, |
686 | .map_io = omap3_map_io, | 686 | .map_io = omap3_map_io, |
687 | .init_early = omap3_evm_init_early, | 687 | .init_early = omap3_evm_init_early, |
diff --git a/arch/arm/mach-omap2/board-omap3logic.c b/arch/arm/mach-omap2/board-omap3logic.c index 703aeb5b8fd4..01354a214caf 100644 --- a/arch/arm/mach-omap2/board-omap3logic.c +++ b/arch/arm/mach-omap2/board-omap3logic.c | |||
@@ -209,7 +209,7 @@ static void __init omap3logic_init(void) | |||
209 | } | 209 | } |
210 | 210 | ||
211 | MACHINE_START(OMAP3_TORPEDO, "Logic OMAP3 Torpedo board") | 211 | MACHINE_START(OMAP3_TORPEDO, "Logic OMAP3 Torpedo board") |
212 | .boot_params = 0x80000100, | 212 | .atag_offset = 0x100, |
213 | .map_io = omap3_map_io, | 213 | .map_io = omap3_map_io, |
214 | .init_early = omap3logic_init_early, | 214 | .init_early = omap3logic_init_early, |
215 | .init_irq = omap3_init_irq, | 215 | .init_irq = omap3_init_irq, |
@@ -218,7 +218,7 @@ MACHINE_START(OMAP3_TORPEDO, "Logic OMAP3 Torpedo board") | |||
218 | MACHINE_END | 218 | MACHINE_END |
219 | 219 | ||
220 | MACHINE_START(OMAP3530_LV_SOM, "OMAP Logic 3530 LV SOM board") | 220 | MACHINE_START(OMAP3530_LV_SOM, "OMAP Logic 3530 LV SOM board") |
221 | .boot_params = 0x80000100, | 221 | .atag_offset = 0x100, |
222 | .map_io = omap3_map_io, | 222 | .map_io = omap3_map_io, |
223 | .init_early = omap3logic_init_early, | 223 | .init_early = omap3logic_init_early, |
224 | .init_irq = omap3_init_irq, | 224 | .init_irq = omap3_init_irq, |
diff --git a/arch/arm/mach-omap2/board-omap3pandora.c b/arch/arm/mach-omap2/board-omap3pandora.c index 080d7bd6795e..ace56938dd3b 100644 --- a/arch/arm/mach-omap2/board-omap3pandora.c +++ b/arch/arm/mach-omap2/board-omap3pandora.c | |||
@@ -606,7 +606,7 @@ static void __init omap3pandora_init(void) | |||
606 | } | 606 | } |
607 | 607 | ||
608 | MACHINE_START(OMAP3_PANDORA, "Pandora Handheld Console") | 608 | MACHINE_START(OMAP3_PANDORA, "Pandora Handheld Console") |
609 | .boot_params = 0x80000100, | 609 | .atag_offset = 0x100, |
610 | .reserve = omap_reserve, | 610 | .reserve = omap_reserve, |
611 | .map_io = omap3_map_io, | 611 | .map_io = omap3_map_io, |
612 | .init_early = omap3pandora_init_early, | 612 | .init_early = omap3pandora_init_early, |
diff --git a/arch/arm/mach-omap2/board-omap3stalker.c b/arch/arm/mach-omap2/board-omap3stalker.c index 8e104980ea26..ba13e1d5d0ab 100644 --- a/arch/arm/mach-omap2/board-omap3stalker.c +++ b/arch/arm/mach-omap2/board-omap3stalker.c | |||
@@ -494,7 +494,7 @@ static void __init omap3_stalker_init(void) | |||
494 | 494 | ||
495 | MACHINE_START(SBC3530, "OMAP3 STALKER") | 495 | MACHINE_START(SBC3530, "OMAP3 STALKER") |
496 | /* Maintainer: Jason Lam -lzg@ema-tech.com */ | 496 | /* Maintainer: Jason Lam -lzg@ema-tech.com */ |
497 | .boot_params = 0x80000100, | 497 | .atag_offset = 0x100, |
498 | .map_io = omap3_map_io, | 498 | .map_io = omap3_map_io, |
499 | .init_early = omap3_stalker_init_early, | 499 | .init_early = omap3_stalker_init_early, |
500 | .init_irq = omap3_stalker_init_irq, | 500 | .init_irq = omap3_stalker_init_irq, |
diff --git a/arch/arm/mach-omap2/board-omap3touchbook.c b/arch/arm/mach-omap2/board-omap3touchbook.c index 852ea0464057..49e4bd207cb6 100644 --- a/arch/arm/mach-omap2/board-omap3touchbook.c +++ b/arch/arm/mach-omap2/board-omap3touchbook.c | |||
@@ -404,7 +404,7 @@ static void __init omap3_touchbook_init(void) | |||
404 | 404 | ||
405 | MACHINE_START(TOUCHBOOK, "OMAP3 touchbook Board") | 405 | MACHINE_START(TOUCHBOOK, "OMAP3 touchbook Board") |
406 | /* Maintainer: Gregoire Gentil - http://www.alwaysinnovating.com */ | 406 | /* Maintainer: Gregoire Gentil - http://www.alwaysinnovating.com */ |
407 | .boot_params = 0x80000100, | 407 | .atag_offset = 0x100, |
408 | .reserve = omap_reserve, | 408 | .reserve = omap_reserve, |
409 | .map_io = omap3_map_io, | 409 | .map_io = omap3_map_io, |
410 | .init_early = omap3_touchbook_init_early, | 410 | .init_early = omap3_touchbook_init_early, |
diff --git a/arch/arm/mach-omap2/board-omap4panda.c b/arch/arm/mach-omap2/board-omap4panda.c index 9aaa96057666..683bede73d54 100644 --- a/arch/arm/mach-omap2/board-omap4panda.c +++ b/arch/arm/mach-omap2/board-omap4panda.c | |||
@@ -583,7 +583,7 @@ static void __init omap4_panda_map_io(void) | |||
583 | 583 | ||
584 | MACHINE_START(OMAP4_PANDA, "OMAP4 Panda board") | 584 | MACHINE_START(OMAP4_PANDA, "OMAP4 Panda board") |
585 | /* Maintainer: David Anders - Texas Instruments Inc */ | 585 | /* Maintainer: David Anders - Texas Instruments Inc */ |
586 | .boot_params = 0x80000100, | 586 | .atag_offset = 0x100, |
587 | .reserve = omap_reserve, | 587 | .reserve = omap_reserve, |
588 | .map_io = omap4_panda_map_io, | 588 | .map_io = omap4_panda_map_io, |
589 | .init_early = omap4_panda_init_early, | 589 | .init_early = omap4_panda_init_early, |
diff --git a/arch/arm/mach-omap2/board-overo.c b/arch/arm/mach-omap2/board-overo.c index f949a9954d76..e592fb134c4e 100644 --- a/arch/arm/mach-omap2/board-overo.c +++ b/arch/arm/mach-omap2/board-overo.c | |||
@@ -561,7 +561,7 @@ static void __init overo_init(void) | |||
561 | } | 561 | } |
562 | 562 | ||
563 | MACHINE_START(OVERO, "Gumstix Overo") | 563 | MACHINE_START(OVERO, "Gumstix Overo") |
564 | .boot_params = 0x80000100, | 564 | .atag_offset = 0x100, |
565 | .reserve = omap_reserve, | 565 | .reserve = omap_reserve, |
566 | .map_io = omap3_map_io, | 566 | .map_io = omap3_map_io, |
567 | .init_early = overo_init_early, | 567 | .init_early = overo_init_early, |
diff --git a/arch/arm/mach-omap2/board-rm680.c b/arch/arm/mach-omap2/board-rm680.c index 7dfed24ee12e..9a8ce239ba9e 100644 --- a/arch/arm/mach-omap2/board-rm680.c +++ b/arch/arm/mach-omap2/board-rm680.c | |||
@@ -153,7 +153,7 @@ static void __init rm680_map_io(void) | |||
153 | } | 153 | } |
154 | 154 | ||
155 | MACHINE_START(NOKIA_RM680, "Nokia RM-680 board") | 155 | MACHINE_START(NOKIA_RM680, "Nokia RM-680 board") |
156 | .boot_params = 0x80000100, | 156 | .atag_offset = 0x100, |
157 | .reserve = omap_reserve, | 157 | .reserve = omap_reserve, |
158 | .map_io = rm680_map_io, | 158 | .map_io = rm680_map_io, |
159 | .init_early = rm680_init_early, | 159 | .init_early = rm680_init_early, |
diff --git a/arch/arm/mach-omap2/board-rx51.c b/arch/arm/mach-omap2/board-rx51.c index 5ea142f9bc97..a6c473bbb3d6 100644 --- a/arch/arm/mach-omap2/board-rx51.c +++ b/arch/arm/mach-omap2/board-rx51.c | |||
@@ -156,7 +156,7 @@ static void __init rx51_reserve(void) | |||
156 | 156 | ||
157 | MACHINE_START(NOKIA_RX51, "Nokia RX-51 board") | 157 | MACHINE_START(NOKIA_RX51, "Nokia RX-51 board") |
158 | /* Maintainer: Lauri Leukkunen <lauri.leukkunen@nokia.com> */ | 158 | /* Maintainer: Lauri Leukkunen <lauri.leukkunen@nokia.com> */ |
159 | .boot_params = 0x80000100, | 159 | .atag_offset = 0x100, |
160 | .reserve = rx51_reserve, | 160 | .reserve = rx51_reserve, |
161 | .map_io = rx51_map_io, | 161 | .map_io = rx51_map_io, |
162 | .init_early = rx51_init_early, | 162 | .init_early = rx51_init_early, |
diff --git a/arch/arm/mach-omap2/board-ti8168evm.c b/arch/arm/mach-omap2/board-ti8168evm.c index a85d5b0b11da..e41958acb6b6 100644 --- a/arch/arm/mach-omap2/board-ti8168evm.c +++ b/arch/arm/mach-omap2/board-ti8168evm.c | |||
@@ -48,7 +48,7 @@ static void __init ti8168_evm_map_io(void) | |||
48 | 48 | ||
49 | MACHINE_START(TI8168EVM, "ti8168evm") | 49 | MACHINE_START(TI8168EVM, "ti8168evm") |
50 | /* Maintainer: Texas Instruments */ | 50 | /* Maintainer: Texas Instruments */ |
51 | .boot_params = 0x80000100, | 51 | .atag_offset = 0x100, |
52 | .map_io = ti8168_evm_map_io, | 52 | .map_io = ti8168_evm_map_io, |
53 | .init_early = ti8168_init_early, | 53 | .init_early = ti8168_init_early, |
54 | .init_irq = ti816x_init_irq, | 54 | .init_irq = ti816x_init_irq, |
diff --git a/arch/arm/mach-omap2/board-zoom.c b/arch/arm/mach-omap2/board-zoom.c index 8a98c3c303fc..72f1db4863e5 100644 --- a/arch/arm/mach-omap2/board-zoom.c +++ b/arch/arm/mach-omap2/board-zoom.c | |||
@@ -133,7 +133,7 @@ static void __init omap_zoom_init(void) | |||
133 | } | 133 | } |
134 | 134 | ||
135 | MACHINE_START(OMAP_ZOOM2, "OMAP Zoom2 board") | 135 | MACHINE_START(OMAP_ZOOM2, "OMAP Zoom2 board") |
136 | .boot_params = 0x80000100, | 136 | .atag_offset = 0x100, |
137 | .reserve = omap_reserve, | 137 | .reserve = omap_reserve, |
138 | .map_io = omap3_map_io, | 138 | .map_io = omap3_map_io, |
139 | .init_early = omap_zoom_init_early, | 139 | .init_early = omap_zoom_init_early, |
@@ -143,7 +143,7 @@ MACHINE_START(OMAP_ZOOM2, "OMAP Zoom2 board") | |||
143 | MACHINE_END | 143 | MACHINE_END |
144 | 144 | ||
145 | MACHINE_START(OMAP_ZOOM3, "OMAP Zoom3 board") | 145 | MACHINE_START(OMAP_ZOOM3, "OMAP Zoom3 board") |
146 | .boot_params = 0x80000100, | 146 | .atag_offset = 0x100, |
147 | .reserve = omap_reserve, | 147 | .reserve = omap_reserve, |
148 | .map_io = omap3_map_io, | 148 | .map_io = omap3_map_io, |
149 | .init_early = omap_zoom_init_early, | 149 | .init_early = omap_zoom_init_early, |
diff --git a/arch/arm/mach-omap2/include/mach/debug-macro.S b/arch/arm/mach-omap2/include/mach/debug-macro.S index 48adfe9fe4f3..13f98e59cfef 100644 --- a/arch/arm/mach-omap2/include/mach/debug-macro.S +++ b/arch/arm/mach-omap2/include/mach/debug-macro.S | |||
@@ -13,15 +13,10 @@ | |||
13 | 13 | ||
14 | #include <linux/serial_reg.h> | 14 | #include <linux/serial_reg.h> |
15 | 15 | ||
16 | #include <asm/memory.h> | ||
17 | |||
18 | #include <plat/serial.h> | 16 | #include <plat/serial.h> |
19 | 17 | ||
20 | #define UART_OFFSET(addr) ((addr) & 0x00ffffff) | 18 | #define UART_OFFSET(addr) ((addr) & 0x00ffffff) |
21 | 19 | ||
22 | #define omap_uart_v2p(x) ((x) - PAGE_OFFSET + PLAT_PHYS_OFFSET) | ||
23 | #define omap_uart_p2v(x) ((x) - PLAT_PHYS_OFFSET + PAGE_OFFSET) | ||
24 | |||
25 | .pushsection .data | 20 | .pushsection .data |
26 | omap_uart_phys: .word 0 | 21 | omap_uart_phys: .word 0 |
27 | omap_uart_virt: .word 0 | 22 | omap_uart_virt: .word 0 |
@@ -34,26 +29,25 @@ omap_uart_lsr: .word 0 | |||
34 | * the desired UART phys and virt addresses temporarily into | 29 | * the desired UART phys and virt addresses temporarily into |
35 | * the omap_uart_phys and omap_uart_virt above. | 30 | * the omap_uart_phys and omap_uart_virt above. |
36 | */ | 31 | */ |
37 | .macro addruart, rp, rv | 32 | .macro addruart, rp, rv, tmp |
38 | 33 | ||
39 | /* Use omap_uart_phys/virt if already configured */ | 34 | /* Use omap_uart_phys/virt if already configured */ |
40 | 10: mrc p15, 0, \rp, c1, c0 | 35 | 10: adr \rp, 99f @ get effective addr of 99f |
41 | tst \rp, #1 @ MMU enabled? | 36 | ldr \rv, [\rp] @ get absolute addr of 99f |
42 | ldreq \rp, =omap_uart_v2p(omap_uart_phys) @ MMU disabled | 37 | sub \rv, \rv, \rp @ offset between the two |
43 | ldrne \rp, =omap_uart_phys @ MMU enabled | 38 | ldr \rp, [\rp, #4] @ abs addr of omap_uart_phys |
44 | add \rv, \rp, #4 @ omap_uart_virt | 39 | sub \tmp, \rp, \rv @ make it effective |
45 | ldr \rp, [\rp, #0] | 40 | ldr \rp, [\tmp, #0] @ omap_uart_phys |
46 | ldr \rv, [\rv, #0] | 41 | ldr \rv, [\tmp, #4] @ omap_uart_virt |
47 | cmp \rp, #0 @ is port configured? | 42 | cmp \rp, #0 @ is port configured? |
48 | cmpne \rv, #0 | 43 | cmpne \rv, #0 |
49 | bne 99f @ already configured | 44 | bne 100f @ already configured |
50 | 45 | ||
51 | /* Check the debug UART configuration set in uncompress.h */ | 46 | /* Check the debug UART configuration set in uncompress.h */ |
52 | mrc p15, 0, \rp, c1, c0 | 47 | mov \rp, pc |
53 | tst \rp, #1 @ MMU enabled? | 48 | ldr \rv, =OMAP_UART_INFO_OFS |
54 | ldreq \rp, =OMAP_UART_INFO @ MMU not enabled | 49 | and \rp, \rp, #0xff000000 |
55 | ldrne \rp, =omap_uart_p2v(OMAP_UART_INFO) @ MMU enabled | 50 | ldr \rp, [\rp, \rv] |
56 | ldr \rp, [\rp, #0] | ||
57 | 51 | ||
58 | /* Select the UART to use based on the UART1 scratchpad value */ | 52 | /* Select the UART to use based on the UART1 scratchpad value */ |
59 | cmp \rp, #0 @ no port configured? | 53 | cmp \rp, #0 @ no port configured? |
@@ -106,50 +100,47 @@ omap_uart_lsr: .word 0 | |||
106 | b 98f | 100 | b 98f |
107 | 83: mov \rp, #UART_OFFSET(TI816X_UART3_BASE) | 101 | 83: mov \rp, #UART_OFFSET(TI816X_UART3_BASE) |
108 | b 98f | 102 | b 98f |
103 | |||
109 | 95: ldr \rp, =ZOOM_UART_BASE | 104 | 95: ldr \rp, =ZOOM_UART_BASE |
110 | mrc p15, 0, \rv, c1, c0 | 105 | str \rp, [\tmp, #0] @ omap_uart_phys |
111 | tst \rv, #1 @ MMU enabled? | ||
112 | ldreq \rv, =omap_uart_v2p(omap_uart_phys) @ MMU disabled | ||
113 | ldrne \rv, =omap_uart_phys @ MMU enabled | ||
114 | str \rp, [\rv, #0] | ||
115 | ldr \rp, =ZOOM_UART_VIRT | 106 | ldr \rp, =ZOOM_UART_VIRT |
116 | add \rv, \rv, #4 @ omap_uart_virt | 107 | str \rp, [\tmp, #4] @ omap_uart_virt |
117 | str \rp, [\rv, #0] | ||
118 | mov \rp, #(UART_LSR << ZOOM_PORT_SHIFT) | 108 | mov \rp, #(UART_LSR << ZOOM_PORT_SHIFT) |
119 | add \rv, \rv, #4 @ omap_uart_lsr | 109 | str \rp, [\tmp, #8] @ omap_uart_lsr |
120 | str \rp, [\rv, #0] | ||
121 | b 10b | 110 | b 10b |
122 | 111 | ||
123 | /* Store both phys and virt address for the uart */ | 112 | /* Store both phys and virt address for the uart */ |
124 | 98: add \rp, \rp, #0x48000000 @ phys base | 113 | 98: add \rp, \rp, #0x48000000 @ phys base |
125 | mrc p15, 0, \rv, c1, c0 | 114 | str \rp, [\tmp, #0] @ omap_uart_phys |
126 | tst \rv, #1 @ MMU enabled? | ||
127 | ldreq \rv, =omap_uart_v2p(omap_uart_phys) @ MMU disabled | ||
128 | ldrne \rv, =omap_uart_phys @ MMU enabled | ||
129 | str \rp, [\rv, #0] | ||
130 | sub \rp, \rp, #0x48000000 @ phys base | 115 | sub \rp, \rp, #0x48000000 @ phys base |
131 | add \rp, \rp, #0xfa000000 @ virt base | 116 | add \rp, \rp, #0xfa000000 @ virt base |
132 | add \rv, \rv, #4 @ omap_uart_virt | 117 | str \rp, [\tmp, #4] @ omap_uart_virt |
133 | str \rp, [\rv, #0] | ||
134 | mov \rp, #(UART_LSR << OMAP_PORT_SHIFT) | 118 | mov \rp, #(UART_LSR << OMAP_PORT_SHIFT) |
135 | add \rv, \rv, #4 @ omap_uart_lsr | 119 | str \rp, [\tmp, #8] @ omap_uart_lsr |
136 | str \rp, [\rv, #0] | ||
137 | 120 | ||
138 | b 10b | 121 | b 10b |
139 | 99: | 122 | |
123 | .align | ||
124 | 99: .word . | ||
125 | .word omap_uart_phys | ||
126 | .ltorg | ||
127 | |||
128 | 100: /* Pass the UART_LSR reg address */ | ||
129 | ldr \tmp, [\tmp, #8] @ omap_uart_lsr | ||
130 | add \rp, \rp, \tmp | ||
131 | add \rv, \rv, \tmp | ||
140 | .endm | 132 | .endm |
141 | 133 | ||
142 | .macro senduart,rd,rx | 134 | .macro senduart,rd,rx |
143 | strb \rd, [\rx] | 135 | orr \rd, \rd, \rx, lsl #24 @ preserve LSR reg offset |
136 | bic \rx, \rx, #0xff @ get base (THR) reg address | ||
137 | strb \rd, [\rx] @ send lower byte of rd | ||
138 | orr \rx, \rx, \rd, lsr #24 @ restore original rx (LSR) | ||
139 | bic \rd, \rd, #(0xff << 24) @ restore original rd | ||
144 | .endm | 140 | .endm |
145 | 141 | ||
146 | .macro busyuart,rd,rx | 142 | .macro busyuart,rd,rx |
147 | 1001: mrc p15, 0, \rd, c1, c0 | 143 | 1001: ldrb \rd, [\rx] @ rx contains UART_LSR address |
148 | tst \rd, #1 @ MMU enabled? | ||
149 | ldreq \rd, =omap_uart_v2p(omap_uart_lsr) @ MMU disabled | ||
150 | ldrne \rd, =omap_uart_lsr @ MMU enabled | ||
151 | ldr \rd, [\rd, #0] | ||
152 | ldrb \rd, [\rx, \rd] | ||
153 | and \rd, \rd, #(UART_LSR_TEMT | UART_LSR_THRE) | 144 | and \rd, \rd, #(UART_LSR_TEMT | UART_LSR_THRE) |
154 | teq \rd, #(UART_LSR_TEMT | UART_LSR_THRE) | 145 | teq \rd, #(UART_LSR_TEMT | UART_LSR_THRE) |
155 | bne 1001b | 146 | bne 1001b |
diff --git a/arch/arm/mach-omap2/include/mach/entry-macro.S b/arch/arm/mach-omap2/include/mach/entry-macro.S index ceb8b7e593d7..feb90a10945a 100644 --- a/arch/arm/mach-omap2/include/mach/entry-macro.S +++ b/arch/arm/mach-omap2/include/mach/entry-macro.S | |||
@@ -78,7 +78,7 @@ | |||
78 | 4401: ldr \irqstat, [\base, #GIC_CPU_INTACK] | 78 | 4401: ldr \irqstat, [\base, #GIC_CPU_INTACK] |
79 | ldr \tmp, =1021 | 79 | ldr \tmp, =1021 |
80 | bic \irqnr, \irqstat, #0x1c00 | 80 | bic \irqnr, \irqstat, #0x1c00 |
81 | cmp \irqnr, #29 | 81 | cmp \irqnr, #15 |
82 | cmpcc \irqnr, \irqnr | 82 | cmpcc \irqnr, \irqnr |
83 | cmpne \irqnr, \tmp | 83 | cmpne \irqnr, \tmp |
84 | cmpcs \irqnr, \irqnr | 84 | cmpcs \irqnr, \irqnr |
@@ -101,18 +101,6 @@ | |||
101 | it cs | 101 | it cs |
102 | cmpcs \irqnr, \irqnr | 102 | cmpcs \irqnr, \irqnr |
103 | .endm | 103 | .endm |
104 | |||
105 | /* As above, this assumes that irqstat and base are preserved */ | ||
106 | |||
107 | .macro test_for_ltirq, irqnr, irqstat, base, tmp | ||
108 | bic \irqnr, \irqstat, #0x1c00 | ||
109 | mov \tmp, #0 | ||
110 | cmp \irqnr, #29 | ||
111 | itt eq | ||
112 | moveq \tmp, #1 | ||
113 | streq \irqstat, [\base, #GIC_CPU_EOI] | ||
114 | cmp \tmp, #0 | ||
115 | .endm | ||
116 | #endif /* CONFIG_SMP */ | 104 | #endif /* CONFIG_SMP */ |
117 | 105 | ||
118 | #else /* MULTI_OMAP2 */ | 106 | #else /* MULTI_OMAP2 */ |
diff --git a/arch/arm/mach-omap2/include/mach/memory.h b/arch/arm/mach-omap2/include/mach/memory.h deleted file mode 100644 index ca6d32a917dd..000000000000 --- a/arch/arm/mach-omap2/include/mach/memory.h +++ /dev/null | |||
@@ -1,5 +0,0 @@ | |||
1 | /* | ||
2 | * arch/arm/mach-omap2/include/mach/memory.h | ||
3 | */ | ||
4 | |||
5 | #include <plat/memory.h> | ||
diff --git a/arch/arm/mach-omap2/io.c b/arch/arm/mach-omap2/io.c index 2ce1ce6fb4db..d6d01cb7f28a 100644 --- a/arch/arm/mach-omap2/io.c +++ b/arch/arm/mach-omap2/io.c | |||
@@ -16,7 +16,6 @@ | |||
16 | * it under the terms of the GNU General Public License version 2 as | 16 | * it under the terms of the GNU General Public License version 2 as |
17 | * published by the Free Software Foundation. | 17 | * published by the Free Software Foundation. |
18 | */ | 18 | */ |
19 | |||
20 | #include <linux/module.h> | 19 | #include <linux/module.h> |
21 | #include <linux/kernel.h> | 20 | #include <linux/kernel.h> |
22 | #include <linux/init.h> | 21 | #include <linux/init.h> |
@@ -250,6 +249,7 @@ static void __init _omap2_map_common_io(void) | |||
250 | 249 | ||
251 | omap2_check_revision(); | 250 | omap2_check_revision(); |
252 | omap_sram_init(); | 251 | omap_sram_init(); |
252 | omap_init_consistent_dma_size(); | ||
253 | } | 253 | } |
254 | 254 | ||
255 | #ifdef CONFIG_SOC_OMAP2420 | 255 | #ifdef CONFIG_SOC_OMAP2420 |