Skip to content

Commit

Permalink
ARM: proc: add Cortex-A5 proc info
Browse files Browse the repository at this point in the history
This patch adds processor info for ARM Ltd. Cortex A5,
which has SCU initialisation procedure identical to A9.

Signed-off-by: Pawel Moll <pawel.moll@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
  • Loading branch information
Pawel Moll authored and Will Deacon committed Jul 7, 2011
1 parent dc939cd commit 15eb169
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions arch/arm/mm/proc-v7.S
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,7 @@ cpu_resume_l1_flags:
* It is assumed that:
* - cache type register is implemented
*/
__v7_ca5mp_setup:
__v7_ca9mp_setup:
#ifdef CONFIG_SMP
ALT_SMP(mrc p15, 0, r0, c1, c0, 1)
Expand Down Expand Up @@ -443,6 +444,16 @@ __v7_setup_stack:
.long v7_cache_fns
.endm

/*
* ARM Ltd. Cortex A5 processor.
*/
.type __v7_ca5mp_proc_info, #object
__v7_ca5mp_proc_info:
.long 0x410fc050
.long 0xff0ffff0
__v7_proc __v7_ca5mp_setup
.size __v7_ca5mp_proc_info, . - __v7_ca5mp_proc_info

/*
* ARM Ltd. Cortex A9 processor.
*/
Expand Down

0 comments on commit 15eb169

Please sign in to comment.