ARM: 8016/1: Check cpu id in pj4_cp0_init.
authorChao Xie Linux <xiechao.mail@gmail.com>
Wed, 2 Apr 2014 01:50:03 +0000 (02:50 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 8 Apr 2014 16:55:28 +0000 (17:55 +0100)
commita5d4506d070adb785459bf142ef707d7c5fe3b84
tree256f2d83c687eaebd5ef44e441e503fefab355f0
parentfdb487f5c961b94486a78fa61fa28b8eff1954ab
ARM: 8016/1: Check cpu id in pj4_cp0_init.

Check cpu id in pj4_cp0_init. So for no-PJ4 V7 cpus,
pj4_cpu0_init just return.
This fix will help to make the all the V7 cpus(PJ4 and no-PJ4)
can use code.

Signed-off-by: Chao Xie <chao.xie@marvell.com>
Reviewed-by: Kevin Hilman <khilman@linaro.org>
Tested-by: Kevin Hilman <khilman@linaro.org>
Tested-by: Stephen Warren <swarren@nvidia.com>
Reviewed-by: Stephen Warren <swarren@nvidia.com>
Tested-by: Matt Porter <mporter@linaro.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/kernel/pj4-cp0.c