diff options
author | Arnd Bergmann <arnd@arndb.de> | 2011-10-31 09:08:10 -0400 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2011-10-31 09:08:10 -0400 |
commit | 08cab72f91c8b28ffabfd143119bccdd4a115ad7 (patch) | |
tree | ccd5583971caecd82bf2d1e62691bf6e0362d650 /arch/arm/mach-omap2 | |
parent | 86c1e5a74af11e4817ffa6d7748d9ac1353b5b53 (diff) | |
parent | f37a53cc5d8a8fb199e41386d125d8c2ed9e54ef (diff) |
Merge branch 'dt/gic' into next/dt
Conflicts:
arch/arm/include/asm/localtimer.h
arch/arm/mach-msm/board-msm8x60.c
arch/arm/mach-omap2/board-generic.c
Diffstat (limited to 'arch/arm/mach-omap2')
32 files changed, 78 insertions, 102 deletions
diff --git a/arch/arm/mach-omap2/board-2430sdp.c b/arch/arm/mach-omap2/board-2430sdp.c index d934169d6553..638cecb9ea1a 100644 --- a/arch/arm/mach-omap2/board-2430sdp.c +++ b/arch/arm/mach-omap2/board-2430sdp.c | |||
@@ -246,7 +246,7 @@ static void __init omap_2430sdp_init(void) | |||
246 | 246 | ||
247 | MACHINE_START(OMAP_2430SDP, "OMAP2430 sdp2430 board") | 247 | MACHINE_START(OMAP_2430SDP, "OMAP2430 sdp2430 board") |
248 | /* Maintainer: Syed Khasim - Texas Instruments Inc */ | 248 | /* Maintainer: Syed Khasim - Texas Instruments Inc */ |
249 | .boot_params = 0x80000100, | 249 | .atag_offset = 0x100, |
250 | .reserve = omap_reserve, | 250 | .reserve = omap_reserve, |
251 | .map_io = omap243x_map_io, | 251 | .map_io = omap243x_map_io, |
252 | .init_early = omap2430_init_early, | 252 | .init_early = omap2430_init_early, |
diff --git a/arch/arm/mach-omap2/board-3430sdp.c b/arch/arm/mach-omap2/board-3430sdp.c index 9bb48eaa4381..5b5999caf71d 100644 --- a/arch/arm/mach-omap2/board-3430sdp.c +++ b/arch/arm/mach-omap2/board-3430sdp.c | |||
@@ -724,7 +724,7 @@ static void __init omap_3430sdp_init(void) | |||
724 | 724 | ||
725 | MACHINE_START(OMAP_3430SDP, "OMAP3430 3430SDP board") | 725 | MACHINE_START(OMAP_3430SDP, "OMAP3430 3430SDP board") |
726 | /* Maintainer: Syed Khasim - Texas Instruments Inc */ | 726 | /* Maintainer: Syed Khasim - Texas Instruments Inc */ |
727 | .boot_params = 0x80000100, | 727 | .atag_offset = 0x100, |
728 | .reserve = omap_reserve, | 728 | .reserve = omap_reserve, |
729 | .map_io = omap3_map_io, | 729 | .map_io = omap3_map_io, |
730 | .init_early = omap3430_init_early, | 730 | .init_early = omap3430_init_early, |
diff --git a/arch/arm/mach-omap2/board-3630sdp.c b/arch/arm/mach-omap2/board-3630sdp.c index 94febc85d805..f552305162fc 100644 --- a/arch/arm/mach-omap2/board-3630sdp.c +++ b/arch/arm/mach-omap2/board-3630sdp.c | |||
@@ -210,7 +210,7 @@ static void __init omap_sdp_init(void) | |||
210 | } | 210 | } |
211 | 211 | ||
212 | MACHINE_START(OMAP_3630SDP, "OMAP 3630SDP board") | 212 | MACHINE_START(OMAP_3630SDP, "OMAP 3630SDP board") |
213 | .boot_params = 0x80000100, | 213 | .atag_offset = 0x100, |
214 | .reserve = omap_reserve, | 214 | .reserve = omap_reserve, |
215 | .map_io = omap3_map_io, | 215 | .map_io = omap3_map_io, |
216 | .init_early = omap3630_init_early, | 216 | .init_early = omap3630_init_early, |
diff --git a/arch/arm/mach-omap2/board-4430sdp.c b/arch/arm/mach-omap2/board-4430sdp.c index a97c29a73edd..6d2b61409c1b 100644 --- a/arch/arm/mach-omap2/board-4430sdp.c +++ b/arch/arm/mach-omap2/board-4430sdp.c | |||
@@ -827,7 +827,7 @@ static void __init omap_4430sdp_init(void) | |||
827 | 827 | ||
828 | MACHINE_START(OMAP_4430SDP, "OMAP4430 4430SDP board") | 828 | MACHINE_START(OMAP_4430SDP, "OMAP4430 4430SDP board") |
829 | /* Maintainer: Santosh Shilimkar - Texas Instruments Inc */ | 829 | /* Maintainer: Santosh Shilimkar - Texas Instruments Inc */ |
830 | .boot_params = 0x80000100, | 830 | .atag_offset = 0x100, |
831 | .reserve = omap_reserve, | 831 | .reserve = omap_reserve, |
832 | .map_io = omap4_map_io, | 832 | .map_io = omap4_map_io, |
833 | .init_early = omap4430_init_early, | 833 | .init_early = omap4430_init_early, |
diff --git a/arch/arm/mach-omap2/board-am3517crane.c b/arch/arm/mach-omap2/board-am3517crane.c index 9e1b2c248328..7834536ab416 100644 --- a/arch/arm/mach-omap2/board-am3517crane.c +++ b/arch/arm/mach-omap2/board-am3517crane.c | |||
@@ -93,7 +93,7 @@ static void __init am3517_crane_init(void) | |||
93 | } | 93 | } |
94 | 94 | ||
95 | MACHINE_START(CRANEBOARD, "AM3517/05 CRANEBOARD") | 95 | MACHINE_START(CRANEBOARD, "AM3517/05 CRANEBOARD") |
96 | .boot_params = 0x80000100, | 96 | .atag_offset = 0x100, |
97 | .reserve = omap_reserve, | 97 | .reserve = omap_reserve, |
98 | .map_io = omap3_map_io, | 98 | .map_io = omap3_map_io, |
99 | .init_early = am35xx_init_early, | 99 | .init_early = am35xx_init_early, |
diff --git a/arch/arm/mach-omap2/board-am3517evm.c b/arch/arm/mach-omap2/board-am3517evm.c index 7d842940c252..65a5912278ac 100644 --- a/arch/arm/mach-omap2/board-am3517evm.c +++ b/arch/arm/mach-omap2/board-am3517evm.c | |||
@@ -486,7 +486,7 @@ static void __init am3517_evm_init(void) | |||
486 | } | 486 | } |
487 | 487 | ||
488 | MACHINE_START(OMAP3517EVM, "OMAP3517/AM3517 EVM") | 488 | MACHINE_START(OMAP3517EVM, "OMAP3517/AM3517 EVM") |
489 | .boot_params = 0x80000100, | 489 | .atag_offset = 0x100, |
490 | .reserve = omap_reserve, | 490 | .reserve = omap_reserve, |
491 | .map_io = omap3_map_io, | 491 | .map_io = omap3_map_io, |
492 | .init_early = am35xx_init_early, | 492 | .init_early = am35xx_init_early, |
diff --git a/arch/arm/mach-omap2/board-apollon.c b/arch/arm/mach-omap2/board-apollon.c index 852843638fa9..29c409b68b52 100644 --- a/arch/arm/mach-omap2/board-apollon.c +++ b/arch/arm/mach-omap2/board-apollon.c | |||
@@ -339,7 +339,7 @@ static void __init omap_apollon_init(void) | |||
339 | 339 | ||
340 | MACHINE_START(OMAP_APOLLON, "OMAP24xx Apollon") | 340 | MACHINE_START(OMAP_APOLLON, "OMAP24xx Apollon") |
341 | /* Maintainer: Kyungmin Park <kyungmin.park@samsung.com> */ | 341 | /* Maintainer: Kyungmin Park <kyungmin.park@samsung.com> */ |
342 | .boot_params = 0x80000100, | 342 | .atag_offset = 0x100, |
343 | .reserve = omap_reserve, | 343 | .reserve = omap_reserve, |
344 | .map_io = omap242x_map_io, | 344 | .map_io = omap242x_map_io, |
345 | .init_early = omap2420_init_early, | 345 | .init_early = omap2420_init_early, |
diff --git a/arch/arm/mach-omap2/board-cm-t35.c b/arch/arm/mach-omap2/board-cm-t35.c index e15d39bffe79..5665e688bd26 100644 --- a/arch/arm/mach-omap2/board-cm-t35.c +++ b/arch/arm/mach-omap2/board-cm-t35.c | |||
@@ -629,7 +629,7 @@ static void __init cm_t3730_init(void) | |||
629 | } | 629 | } |
630 | 630 | ||
631 | MACHINE_START(CM_T35, "Compulab CM-T35") | 631 | MACHINE_START(CM_T35, "Compulab CM-T35") |
632 | .boot_params = 0x80000100, | 632 | .atag_offset = 0x100, |
633 | .reserve = omap_reserve, | 633 | .reserve = omap_reserve, |
634 | .map_io = omap3_map_io, | 634 | .map_io = omap3_map_io, |
635 | .init_early = omap35xx_init_early, | 635 | .init_early = omap35xx_init_early, |
@@ -639,7 +639,7 @@ MACHINE_START(CM_T35, "Compulab CM-T35") | |||
639 | MACHINE_END | 639 | MACHINE_END |
640 | 640 | ||
641 | MACHINE_START(CM_T3730, "Compulab CM-T3730") | 641 | MACHINE_START(CM_T3730, "Compulab CM-T3730") |
642 | .boot_params = 0x80000100, | 642 | .atag_offset = 0x100, |
643 | .reserve = omap_reserve, | 643 | .reserve = omap_reserve, |
644 | .map_io = omap3_map_io, | 644 | .map_io = omap3_map_io, |
645 | .init_early = omap3630_init_early, | 645 | .init_early = omap3630_init_early, |
diff --git a/arch/arm/mach-omap2/board-cm-t3517.c b/arch/arm/mach-omap2/board-cm-t3517.c index 867bf671719c..3f4dc6626845 100644 --- a/arch/arm/mach-omap2/board-cm-t3517.c +++ b/arch/arm/mach-omap2/board-cm-t3517.c | |||
@@ -294,7 +294,7 @@ static void __init cm_t3517_init(void) | |||
294 | } | 294 | } |
295 | 295 | ||
296 | MACHINE_START(CM_T3517, "Compulab CM-T3517") | 296 | MACHINE_START(CM_T3517, "Compulab CM-T3517") |
297 | .boot_params = 0x80000100, | 297 | .atag_offset = 0x100, |
298 | .reserve = omap_reserve, | 298 | .reserve = omap_reserve, |
299 | .map_io = omap3_map_io, | 299 | .map_io = omap3_map_io, |
300 | .init_early = am35xx_init_early, | 300 | .init_early = am35xx_init_early, |
diff --git a/arch/arm/mach-omap2/board-devkit8000.c b/arch/arm/mach-omap2/board-devkit8000.c index 059b74dd9289..556df32d88ea 100644 --- a/arch/arm/mach-omap2/board-devkit8000.c +++ b/arch/arm/mach-omap2/board-devkit8000.c | |||
@@ -656,7 +656,7 @@ static void __init devkit8000_init(void) | |||
656 | } | 656 | } |
657 | 657 | ||
658 | MACHINE_START(DEVKIT8000, "OMAP3 Devkit8000") | 658 | MACHINE_START(DEVKIT8000, "OMAP3 Devkit8000") |
659 | .boot_params = 0x80000100, | 659 | .atag_offset = 0x100, |
660 | .reserve = omap_reserve, | 660 | .reserve = omap_reserve, |
661 | .map_io = omap3_map_io, | 661 | .map_io = omap3_map_io, |
662 | .init_early = omap35xx_init_early, | 662 | .init_early = omap35xx_init_early, |
diff --git a/arch/arm/mach-omap2/board-generic.c b/arch/arm/mach-omap2/board-generic.c index d9ccb9d98e15..0c427976d62f 100644 --- a/arch/arm/mach-omap2/board-generic.c +++ b/arch/arm/mach-omap2/board-generic.c | |||
@@ -92,6 +92,7 @@ static const char *omap242x_boards_compat[] __initdata = { | |||
92 | }; | 92 | }; |
93 | 93 | ||
94 | DT_MACHINE_START(OMAP242X_DT, "Generic OMAP2420 (Flattened Device Tree)") | 94 | DT_MACHINE_START(OMAP242X_DT, "Generic OMAP2420 (Flattened Device Tree)") |
95 | .atag_offset = 0x100, | ||
95 | .reserve = omap_reserve, | 96 | .reserve = omap_reserve, |
96 | .map_io = omap242x_map_io, | 97 | .map_io = omap242x_map_io, |
97 | .init_early = omap2420_init_early, | 98 | .init_early = omap2420_init_early, |
@@ -109,6 +110,7 @@ static const char *omap243x_boards_compat[] __initdata = { | |||
109 | }; | 110 | }; |
110 | 111 | ||
111 | DT_MACHINE_START(OMAP243X_DT, "Generic OMAP2430 (Flattened Device Tree)") | 112 | DT_MACHINE_START(OMAP243X_DT, "Generic OMAP2430 (Flattened Device Tree)") |
113 | .atag_offset = 0x100, | ||
112 | .reserve = omap_reserve, | 114 | .reserve = omap_reserve, |
113 | .map_io = omap243x_map_io, | 115 | .map_io = omap243x_map_io, |
114 | .init_early = omap2430_init_early, | 116 | .init_early = omap2430_init_early, |
@@ -126,6 +128,7 @@ static const char *omap3_boards_compat[] __initdata = { | |||
126 | }; | 128 | }; |
127 | 129 | ||
128 | DT_MACHINE_START(OMAP3_DT, "Generic OMAP3 (Flattened Device Tree)") | 130 | DT_MACHINE_START(OMAP3_DT, "Generic OMAP3 (Flattened Device Tree)") |
131 | .atag_offset = 0x100, | ||
129 | .reserve = omap_reserve, | 132 | .reserve = omap_reserve, |
130 | .map_io = omap3_map_io, | 133 | .map_io = omap3_map_io, |
131 | .init_early = omap3430_init_early, | 134 | .init_early = omap3430_init_early, |
@@ -143,6 +146,7 @@ static const char *omap4_boards_compat[] __initdata = { | |||
143 | }; | 146 | }; |
144 | 147 | ||
145 | DT_MACHINE_START(OMAP4_DT, "Generic OMAP4 (Flattened Device Tree)") | 148 | DT_MACHINE_START(OMAP4_DT, "Generic OMAP4 (Flattened Device Tree)") |
149 | .atag_offset = 0x100, | ||
146 | .reserve = omap_reserve, | 150 | .reserve = omap_reserve, |
147 | .map_io = omap4_map_io, | 151 | .map_io = omap4_map_io, |
148 | .init_early = omap4430_init_early, | 152 | .init_early = omap4430_init_early, |
diff --git a/arch/arm/mach-omap2/board-h4.c b/arch/arm/mach-omap2/board-h4.c index 8486142dcae7..fe75c195f69f 100644 --- a/arch/arm/mach-omap2/board-h4.c +++ b/arch/arm/mach-omap2/board-h4.c | |||
@@ -366,7 +366,7 @@ static void __init omap_h4_init(void) | |||
366 | 366 | ||
367 | MACHINE_START(OMAP_H4, "OMAP2420 H4 board") | 367 | MACHINE_START(OMAP_H4, "OMAP2420 H4 board") |
368 | /* Maintainer: Paul Mundt <paul.mundt@nokia.com> */ | 368 | /* Maintainer: Paul Mundt <paul.mundt@nokia.com> */ |
369 | .boot_params = 0x80000100, | 369 | .atag_offset = 0x100, |
370 | .reserve = omap_reserve, | 370 | .reserve = omap_reserve, |
371 | .map_io = omap242x_map_io, | 371 | .map_io = omap242x_map_io, |
372 | .init_early = omap2420_init_early, | 372 | .init_early = omap2420_init_early, |
diff --git a/arch/arm/mach-omap2/board-igep0020.c b/arch/arm/mach-omap2/board-igep0020.c index 7b66338e451b..e20cad6a0835 100644 --- a/arch/arm/mach-omap2/board-igep0020.c +++ b/arch/arm/mach-omap2/board-igep0020.c | |||
@@ -667,7 +667,7 @@ static void __init igep_init(void) | |||
667 | } | 667 | } |
668 | 668 | ||
669 | MACHINE_START(IGEP0020, "IGEP v2 board") | 669 | MACHINE_START(IGEP0020, "IGEP v2 board") |
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 = omap35xx_init_early, | 673 | .init_early = omap35xx_init_early, |
@@ -677,7 +677,7 @@ MACHINE_START(IGEP0020, "IGEP v2 board") | |||
677 | MACHINE_END | 677 | MACHINE_END |
678 | 678 | ||
679 | MACHINE_START(IGEP0030, "IGEP OMAP3 module") | 679 | MACHINE_START(IGEP0030, "IGEP OMAP3 module") |
680 | .boot_params = 0x80000100, | 680 | .atag_offset = 0x100, |
681 | .reserve = omap_reserve, | 681 | .reserve = omap_reserve, |
682 | .map_io = omap3_map_io, | 682 | .map_io = omap3_map_io, |
683 | .init_early = omap35xx_init_early, | 683 | .init_early = omap35xx_init_early, |
diff --git a/arch/arm/mach-omap2/board-ldp.c b/arch/arm/mach-omap2/board-ldp.c index 401b9449f722..0fa28be2cfda 100644 --- a/arch/arm/mach-omap2/board-ldp.c +++ b/arch/arm/mach-omap2/board-ldp.c | |||
@@ -328,7 +328,7 @@ static void __init omap_ldp_init(void) | |||
328 | } | 328 | } |
329 | 329 | ||
330 | MACHINE_START(OMAP_LDP, "OMAP LDP board") | 330 | MACHINE_START(OMAP_LDP, "OMAP LDP board") |
331 | .boot_params = 0x80000100, | 331 | .atag_offset = 0x100, |
332 | .reserve = omap_reserve, | 332 | .reserve = omap_reserve, |
333 | .map_io = omap3_map_io, | 333 | .map_io = omap3_map_io, |
334 | .init_early = omap3430_init_early, | 334 | .init_early = omap3430_init_early, |
diff --git a/arch/arm/mach-omap2/board-n8x0.c b/arch/arm/mach-omap2/board-n8x0.c index d1f4a0292c42..e9d5f4a3d064 100644 --- a/arch/arm/mach-omap2/board-n8x0.c +++ b/arch/arm/mach-omap2/board-n8x0.c | |||
@@ -684,7 +684,7 @@ static void __init n8x0_init_machine(void) | |||
684 | } | 684 | } |
685 | 685 | ||
686 | MACHINE_START(NOKIA_N800, "Nokia N800") | 686 | MACHINE_START(NOKIA_N800, "Nokia N800") |
687 | .boot_params = 0x80000100, | 687 | .atag_offset = 0x100, |
688 | .reserve = omap_reserve, | 688 | .reserve = omap_reserve, |
689 | .map_io = omap242x_map_io, | 689 | .map_io = omap242x_map_io, |
690 | .init_early = omap2420_init_early, | 690 | .init_early = omap2420_init_early, |
@@ -694,7 +694,7 @@ MACHINE_START(NOKIA_N800, "Nokia N800") | |||
694 | MACHINE_END | 694 | MACHINE_END |
695 | 695 | ||
696 | MACHINE_START(NOKIA_N810, "Nokia N810") | 696 | MACHINE_START(NOKIA_N810, "Nokia N810") |
697 | .boot_params = 0x80000100, | 697 | .atag_offset = 0x100, |
698 | .reserve = omap_reserve, | 698 | .reserve = omap_reserve, |
699 | .map_io = omap242x_map_io, | 699 | .map_io = omap242x_map_io, |
700 | .init_early = omap2420_init_early, | 700 | .init_early = omap2420_init_early, |
@@ -704,7 +704,7 @@ MACHINE_START(NOKIA_N810, "Nokia N810") | |||
704 | MACHINE_END | 704 | MACHINE_END |
705 | 705 | ||
706 | MACHINE_START(NOKIA_N810_WIMAX, "Nokia N810 WiMAX") | 706 | MACHINE_START(NOKIA_N810_WIMAX, "Nokia N810 WiMAX") |
707 | .boot_params = 0x80000100, | 707 | .atag_offset = 0x100, |
708 | .reserve = omap_reserve, | 708 | .reserve = omap_reserve, |
709 | .map_io = omap242x_map_io, | 709 | .map_io = omap242x_map_io, |
710 | .init_early = omap2420_init_early, | 710 | .init_early = omap2420_init_early, |
diff --git a/arch/arm/mach-omap2/board-omap3beagle.c b/arch/arm/mach-omap2/board-omap3beagle.c index 4a5d75f11610..0b8e0fc03aab 100644 --- a/arch/arm/mach-omap2/board-omap3beagle.c +++ b/arch/arm/mach-omap2/board-omap3beagle.c | |||
@@ -552,7 +552,7 @@ static void __init omap3_beagle_init(void) | |||
552 | 552 | ||
553 | MACHINE_START(OMAP3_BEAGLE, "OMAP3 Beagle Board") | 553 | MACHINE_START(OMAP3_BEAGLE, "OMAP3 Beagle Board") |
554 | /* Maintainer: Syed Mohammed Khasim - http://beagleboard.org */ | 554 | /* Maintainer: Syed Mohammed Khasim - http://beagleboard.org */ |
555 | .boot_params = 0x80000100, | 555 | .atag_offset = 0x100, |
556 | .reserve = omap_reserve, | 556 | .reserve = omap_reserve, |
557 | .map_io = omap3_map_io, | 557 | .map_io = omap3_map_io, |
558 | .init_early = omap3_beagle_init_early, | 558 | .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 a1184b347aeb..aa6a9351ce48 100644 --- a/arch/arm/mach-omap2/board-omap3evm.c +++ b/arch/arm/mach-omap2/board-omap3evm.c | |||
@@ -676,7 +676,7 @@ static void __init omap3_evm_init(void) | |||
676 | 676 | ||
677 | MACHINE_START(OMAP3EVM, "OMAP3 EVM") | 677 | MACHINE_START(OMAP3EVM, "OMAP3 EVM") |
678 | /* Maintainer: Syed Mohammed Khasim - Texas Instruments */ | 678 | /* Maintainer: Syed Mohammed Khasim - Texas Instruments */ |
679 | .boot_params = 0x80000100, | 679 | .atag_offset = 0x100, |
680 | .reserve = omap_reserve, | 680 | .reserve = omap_reserve, |
681 | .map_io = omap3_map_io, | 681 | .map_io = omap3_map_io, |
682 | .init_early = omap35xx_init_early, | 682 | .init_early = omap35xx_init_early, |
diff --git a/arch/arm/mach-omap2/board-omap3logic.c b/arch/arm/mach-omap2/board-omap3logic.c index 3a1dd84faca0..7c0f193f246d 100644 --- a/arch/arm/mach-omap2/board-omap3logic.c +++ b/arch/arm/mach-omap2/board-omap3logic.c | |||
@@ -204,7 +204,7 @@ static void __init omap3logic_init(void) | |||
204 | } | 204 | } |
205 | 205 | ||
206 | MACHINE_START(OMAP3_TORPEDO, "Logic OMAP3 Torpedo board") | 206 | MACHINE_START(OMAP3_TORPEDO, "Logic OMAP3 Torpedo board") |
207 | .boot_params = 0x80000100, | 207 | .atag_offset = 0x100, |
208 | .map_io = omap3_map_io, | 208 | .map_io = omap3_map_io, |
209 | .init_early = omap35xx_init_early, | 209 | .init_early = omap35xx_init_early, |
210 | .init_irq = omap3_init_irq, | 210 | .init_irq = omap3_init_irq, |
@@ -213,7 +213,7 @@ MACHINE_START(OMAP3_TORPEDO, "Logic OMAP3 Torpedo board") | |||
213 | MACHINE_END | 213 | MACHINE_END |
214 | 214 | ||
215 | MACHINE_START(OMAP3530_LV_SOM, "OMAP Logic 3530 LV SOM board") | 215 | MACHINE_START(OMAP3530_LV_SOM, "OMAP Logic 3530 LV SOM board") |
216 | .boot_params = 0x80000100, | 216 | .atag_offset = 0x100, |
217 | .map_io = omap3_map_io, | 217 | .map_io = omap3_map_io, |
218 | .init_early = omap35xx_init_early, | 218 | .init_early = omap35xx_init_early, |
219 | .init_irq = omap3_init_irq, | 219 | .init_irq = omap3_init_irq, |
diff --git a/arch/arm/mach-omap2/board-omap3pandora.c b/arch/arm/mach-omap2/board-omap3pandora.c index e46bf5249559..fed2f7dfdf8b 100644 --- a/arch/arm/mach-omap2/board-omap3pandora.c +++ b/arch/arm/mach-omap2/board-omap3pandora.c | |||
@@ -601,7 +601,7 @@ static void __init omap3pandora_init(void) | |||
601 | } | 601 | } |
602 | 602 | ||
603 | MACHINE_START(OMAP3_PANDORA, "Pandora Handheld Console") | 603 | MACHINE_START(OMAP3_PANDORA, "Pandora Handheld Console") |
604 | .boot_params = 0x80000100, | 604 | .atag_offset = 0x100, |
605 | .reserve = omap_reserve, | 605 | .reserve = omap_reserve, |
606 | .map_io = omap3_map_io, | 606 | .map_io = omap3_map_io, |
607 | .init_early = omap35xx_init_early, | 607 | .init_early = omap35xx_init_early, |
diff --git a/arch/arm/mach-omap2/board-omap3stalker.c b/arch/arm/mach-omap2/board-omap3stalker.c index fa58a0f1584a..170e1ebd6e62 100644 --- a/arch/arm/mach-omap2/board-omap3stalker.c +++ b/arch/arm/mach-omap2/board-omap3stalker.c | |||
@@ -484,7 +484,7 @@ static void __init omap3_stalker_init(void) | |||
484 | 484 | ||
485 | MACHINE_START(SBC3530, "OMAP3 STALKER") | 485 | MACHINE_START(SBC3530, "OMAP3 STALKER") |
486 | /* Maintainer: Jason Lam -lzg@ema-tech.com */ | 486 | /* Maintainer: Jason Lam -lzg@ema-tech.com */ |
487 | .boot_params = 0x80000100, | 487 | .atag_offset = 0x100, |
488 | .map_io = omap3_map_io, | 488 | .map_io = omap3_map_io, |
489 | .init_early = omap35xx_init_early, | 489 | .init_early = omap35xx_init_early, |
490 | .init_irq = omap3_init_irq, | 490 | .init_irq = omap3_init_irq, |
diff --git a/arch/arm/mach-omap2/board-omap3touchbook.c b/arch/arm/mach-omap2/board-omap3touchbook.c index 05488fbc20d5..c2d5348f5422 100644 --- a/arch/arm/mach-omap2/board-omap3touchbook.c +++ b/arch/arm/mach-omap2/board-omap3touchbook.c | |||
@@ -394,7 +394,7 @@ static void __init omap3_touchbook_init(void) | |||
394 | 394 | ||
395 | MACHINE_START(TOUCHBOOK, "OMAP3 touchbook Board") | 395 | MACHINE_START(TOUCHBOOK, "OMAP3 touchbook Board") |
396 | /* Maintainer: Gregoire Gentil - http://www.alwaysinnovating.com */ | 396 | /* Maintainer: Gregoire Gentil - http://www.alwaysinnovating.com */ |
397 | .boot_params = 0x80000100, | 397 | .atag_offset = 0x100, |
398 | .reserve = omap_reserve, | 398 | .reserve = omap_reserve, |
399 | .map_io = omap3_map_io, | 399 | .map_io = omap3_map_io, |
400 | .init_early = omap3430_init_early, | 400 | .init_early = omap3430_init_early, |
diff --git a/arch/arm/mach-omap2/board-omap4panda.c b/arch/arm/mach-omap2/board-omap4panda.c index e26929049a4d..2141894eb9f3 100644 --- a/arch/arm/mach-omap2/board-omap4panda.c +++ b/arch/arm/mach-omap2/board-omap4panda.c | |||
@@ -572,7 +572,7 @@ static void __init omap4_panda_init(void) | |||
572 | 572 | ||
573 | MACHINE_START(OMAP4_PANDA, "OMAP4 Panda board") | 573 | MACHINE_START(OMAP4_PANDA, "OMAP4 Panda board") |
574 | /* Maintainer: David Anders - Texas Instruments Inc */ | 574 | /* Maintainer: David Anders - Texas Instruments Inc */ |
575 | .boot_params = 0x80000100, | 575 | .atag_offset = 0x100, |
576 | .reserve = omap_reserve, | 576 | .reserve = omap_reserve, |
577 | .map_io = omap4_map_io, | 577 | .map_io = omap4_map_io, |
578 | .init_early = omap4430_init_early, | 578 | .init_early = omap4430_init_early, |
diff --git a/arch/arm/mach-omap2/board-overo.c b/arch/arm/mach-omap2/board-overo.c index 7228ae50802d..9f13dc22df77 100644 --- a/arch/arm/mach-omap2/board-overo.c +++ b/arch/arm/mach-omap2/board-overo.c | |||
@@ -556,7 +556,7 @@ static void __init overo_init(void) | |||
556 | } | 556 | } |
557 | 557 | ||
558 | MACHINE_START(OVERO, "Gumstix Overo") | 558 | MACHINE_START(OVERO, "Gumstix Overo") |
559 | .boot_params = 0x80000100, | 559 | .atag_offset = 0x100, |
560 | .reserve = omap_reserve, | 560 | .reserve = omap_reserve, |
561 | .map_io = omap3_map_io, | 561 | .map_io = omap3_map_io, |
562 | .init_early = omap35xx_init_early, | 562 | .init_early = omap35xx_init_early, |
diff --git a/arch/arm/mach-omap2/board-rm680.c b/arch/arm/mach-omap2/board-rm680.c index a98db616e0d4..616fb39763b0 100644 --- a/arch/arm/mach-omap2/board-rm680.c +++ b/arch/arm/mach-omap2/board-rm680.c | |||
@@ -144,7 +144,7 @@ static void __init rm680_init(void) | |||
144 | } | 144 | } |
145 | 145 | ||
146 | MACHINE_START(NOKIA_RM680, "Nokia RM-680 board") | 146 | MACHINE_START(NOKIA_RM680, "Nokia RM-680 board") |
147 | .boot_params = 0x80000100, | 147 | .atag_offset = 0x100, |
148 | .reserve = omap_reserve, | 148 | .reserve = omap_reserve, |
149 | .map_io = omap3_map_io, | 149 | .map_io = omap3_map_io, |
150 | .init_early = omap3630_init_early, | 150 | .init_early = omap3630_init_early, |
diff --git a/arch/arm/mach-omap2/board-rx51.c b/arch/arm/mach-omap2/board-rx51.c index 8677a06aa4a7..74c8aadc0a19 100644 --- a/arch/arm/mach-omap2/board-rx51.c +++ b/arch/arm/mach-omap2/board-rx51.c | |||
@@ -147,7 +147,7 @@ static void __init rx51_reserve(void) | |||
147 | 147 | ||
148 | MACHINE_START(NOKIA_RX51, "Nokia RX-51 board") | 148 | MACHINE_START(NOKIA_RX51, "Nokia RX-51 board") |
149 | /* Maintainer: Lauri Leukkunen <lauri.leukkunen@nokia.com> */ | 149 | /* Maintainer: Lauri Leukkunen <lauri.leukkunen@nokia.com> */ |
150 | .boot_params = 0x80000100, | 150 | .atag_offset = 0x100, |
151 | .reserve = rx51_reserve, | 151 | .reserve = rx51_reserve, |
152 | .map_io = omap3_map_io, | 152 | .map_io = omap3_map_io, |
153 | .init_early = omap3430_init_early, | 153 | .init_early = omap3430_init_early, |
diff --git a/arch/arm/mach-omap2/board-ti8168evm.c b/arch/arm/mach-omap2/board-ti8168evm.c index 981ca00d6e29..e26c79cb6ce9 100644 --- a/arch/arm/mach-omap2/board-ti8168evm.c +++ b/arch/arm/mach-omap2/board-ti8168evm.c | |||
@@ -43,7 +43,7 @@ static void __init ti8168_evm_map_io(void) | |||
43 | 43 | ||
44 | MACHINE_START(TI8168EVM, "ti8168evm") | 44 | MACHINE_START(TI8168EVM, "ti8168evm") |
45 | /* Maintainer: Texas Instruments */ | 45 | /* Maintainer: Texas Instruments */ |
46 | .boot_params = 0x80000100, | 46 | .atag_offset = 0x100, |
47 | .map_io = ti8168_evm_map_io, | 47 | .map_io = ti8168_evm_map_io, |
48 | .init_early = ti816x_init_early, | 48 | .init_early = ti816x_init_early, |
49 | .init_irq = ti816x_init_irq, | 49 | .init_irq = ti816x_init_irq, |
diff --git a/arch/arm/mach-omap2/board-zoom.c b/arch/arm/mach-omap2/board-zoom.c index d56c79661038..be6684dc4f55 100644 --- a/arch/arm/mach-omap2/board-zoom.c +++ b/arch/arm/mach-omap2/board-zoom.c | |||
@@ -130,7 +130,7 @@ static void __init omap_zoom_init(void) | |||
130 | } | 130 | } |
131 | 131 | ||
132 | MACHINE_START(OMAP_ZOOM2, "OMAP Zoom2 board") | 132 | MACHINE_START(OMAP_ZOOM2, "OMAP Zoom2 board") |
133 | .boot_params = 0x80000100, | 133 | .atag_offset = 0x100, |
134 | .reserve = omap_reserve, | 134 | .reserve = omap_reserve, |
135 | .map_io = omap3_map_io, | 135 | .map_io = omap3_map_io, |
136 | .init_early = omap3430_init_early, | 136 | .init_early = omap3430_init_early, |
@@ -140,7 +140,7 @@ MACHINE_START(OMAP_ZOOM2, "OMAP Zoom2 board") | |||
140 | MACHINE_END | 140 | MACHINE_END |
141 | 141 | ||
142 | MACHINE_START(OMAP_ZOOM3, "OMAP Zoom3 board") | 142 | MACHINE_START(OMAP_ZOOM3, "OMAP Zoom3 board") |
143 | .boot_params = 0x80000100, | 143 | .atag_offset = 0x100, |
144 | .reserve = omap_reserve, | 144 | .reserve = omap_reserve, |
145 | .map_io = omap3_map_io, | 145 | .map_io = omap3_map_io, |
146 | .init_early = omap3630_init_early, | 146 | .init_early = omap3630_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 15f91c42be66..f01273006e4d 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> |
@@ -251,6 +250,7 @@ static void __init _omap2_map_common_io(void) | |||
251 | 250 | ||
252 | omap2_check_revision(); | 251 | omap2_check_revision(); |
253 | omap_sram_init(); | 252 | omap_sram_init(); |
253 | omap_init_consistent_dma_size(); | ||
254 | } | 254 | } |
255 | 255 | ||
256 | #ifdef CONFIG_SOC_OMAP2420 | 256 | #ifdef CONFIG_SOC_OMAP2420 |
diff --git a/arch/arm/mach-omap2/omap-smp.c b/arch/arm/mach-omap2/omap-smp.c index ce65e9329c7b..889464dc7b2d 100644 --- a/arch/arm/mach-omap2/omap-smp.c +++ b/arch/arm/mach-omap2/omap-smp.c | |||
@@ -109,12 +109,10 @@ void __init smp_init_cpus(void) | |||
109 | ncores = scu_get_core_count(scu_base); | 109 | ncores = scu_get_core_count(scu_base); |
110 | 110 | ||
111 | /* sanity check */ | 111 | /* sanity check */ |
112 | if (ncores > NR_CPUS) { | 112 | if (ncores > nr_cpu_ids) { |
113 | printk(KERN_WARNING | 113 | pr_warn("SMP: %u cores greater than maximum (%u), clipping\n", |
114 | "OMAP4: no. of cores (%d) greater than configured " | 114 | ncores, nr_cpu_ids); |
115 | "maximum of %d - clipping\n", | 115 | ncores = nr_cpu_ids; |
116 | ncores, NR_CPUS); | ||
117 | ncores = NR_CPUS; | ||
118 | } | 116 | } |
119 | 117 | ||
120 | for (i = 0; i < ncores; i++) | 118 | for (i = 0; i < ncores; i++) |