aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorWill Deacon <will.deacon@arm.com>2012-01-20 06:01:14 -0500
committerRussell King <rmk+kernel@arm.linux.org.uk>2012-01-23 05:20:06 -0500
commit868dbf905245a524496a0535982ed21ad3be5585 (patch)
tree685a1d7bbbd677a386d4b533404606a91341ab83 /arch
parenteb50439b92b6298bf209a982f295ba9c0f7cb30b (diff)
ARM: 7295/1: cortex-a7: move proc_info out of !CONFIG_ARM_LPAE block
The merging of commits 1b6ba46b ("ARM: LPAE: MMU setup for the 3-level page table format") and b4244738 ("ARM: 7202/1: Add Cortex-A7 proc info") during the merge window ended up putting the Cortex-A7 proc_info into a code block guarded by !CONFIG_ARM_LPAE. This makes Cortex-A7 platforms unbootable when LPAE is enabled. This patch moves the proc_info structure for Cortex-A7 outside of the guarded block. Cc: Pawel Moll <pawel.moll@arm.com> Acked-by: Catalin Marinas <catalin.marinas@arm.com> Signed-off-by: Will Deacon <will.deacon@arm.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mm/proc-v7.S20
1 files changed, 10 insertions, 10 deletions
diff --git a/arch/arm/mm/proc-v7.S b/arch/arm/mm/proc-v7.S
index 7e9b5bf910c1..b15597400105 100644
--- a/arch/arm/mm/proc-v7.S
+++ b/arch/arm/mm/proc-v7.S
@@ -330,16 +330,6 @@ __v7_ca5mp_proc_info:
330 .size __v7_ca5mp_proc_info, . - __v7_ca5mp_proc_info 330 .size __v7_ca5mp_proc_info, . - __v7_ca5mp_proc_info
331 331
332 /* 332 /*
333 * ARM Ltd. Cortex A7 processor.
334 */
335 .type __v7_ca7mp_proc_info, #object
336__v7_ca7mp_proc_info:
337 .long 0x410fc070
338 .long 0xff0ffff0
339 __v7_proc __v7_ca7mp_setup, hwcaps = HWCAP_IDIV
340 .size __v7_ca7mp_proc_info, . - __v7_ca7mp_proc_info
341
342 /*
343 * ARM Ltd. Cortex A9 processor. 333 * ARM Ltd. Cortex A9 processor.
344 */ 334 */
345 .type __v7_ca9mp_proc_info, #object 335 .type __v7_ca9mp_proc_info, #object
@@ -351,6 +341,16 @@ __v7_ca9mp_proc_info:
351#endif /* CONFIG_ARM_LPAE */ 341#endif /* CONFIG_ARM_LPAE */
352 342
353 /* 343 /*
344 * ARM Ltd. Cortex A7 processor.
345 */
346 .type __v7_ca7mp_proc_info, #object
347__v7_ca7mp_proc_info:
348 .long 0x410fc070
349 .long 0xff0ffff0
350 __v7_proc __v7_ca7mp_setup, hwcaps = HWCAP_IDIV
351 .size __v7_ca7mp_proc_info, . - __v7_ca7mp_proc_info
352
353 /*
354 * ARM Ltd. Cortex A15 processor. 354 * ARM Ltd. Cortex A15 processor.
355 */ 355 */
356 .type __v7_ca15mp_proc_info, #object 356 .type __v7_ca15mp_proc_info, #object