ARM: 8608/1: V7M: Indirect proc_info construction for V7M CPUs
authorJonathan Austin <jonathan.austin@arm.com>
Tue, 30 Aug 2016 16:32:42 +0000 (17:32 +0100)
committerRussell King <rmk+kernel@armlinux.org.uk>
Tue, 6 Sep 2016 14:51:08 +0000 (15:51 +0100)
commitc3a6bcbe6a9e7e0d66c279e4a47aa07327040b38
treed2e6072ebbd02042ae29eeefe7f4e263698d3add
parentbc0ee9d24ad21a5c2b5944f66623a02e9c8831aa
ARM: 8608/1: V7M: Indirect proc_info construction for V7M CPUs

This patch copies the method used for V7A/R CPUs to specify differing
processor info for different cores.

This patch differentiates Cortex-M3 and Cortex-M4 and leaves a fallback case
for any other V7M processors.

Signed-off-by: Jonathan Austin <jonathan.austin@arm.com>
Signed-off-by: Vladimir Murzin <vladimir.murzin@arm.com>
Tested-by: Andras Szemzo <sza@esh.hu>
Tested-by: Joachim Eastwood <manabian@gmail.com>
Tested-by: Alexandre TORGUE <alexandre.torgue@st.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mm/proc-v7m.S