arm: realview: specify PMU types
authorMark Rutland <mark.rutland@arm.com>
Fri, 23 May 2014 11:12:04 +0000 (12:12 +0100)
committerOlof Johansson <olof@lixom.net>
Fri, 6 Feb 2015 08:12:55 +0000 (00:12 -0800)
commitcbed8388bfd613da631cf3c1940ba3c8a34a915b
tree1df49df9963d1e8da357a77e9a61342baad0cdc2
parentd073d7a1460ae1ae56a81bbb0a58d6f17917ca51
arm: realview: specify PMU types

Now that we can specify which PMU variant we're likely to deal with, do
so in the realview board code. This will allow us to split the ARMv6,
ARMv7, and XScale PMU drivers.

The Realview EB may be used with ARMv6 or ARMv7 CPUs, but luckily
there's only a single ARMv7 CPU, so we can match that explicitly to
determine whether or not we have an ARMv7 PMU.

Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Olof Johansson <olof@lixom.net>
Cc: Russell King <linux@arm.linux.org.uk>
Signed-off-by: Olof Johansson <olof@lixom.net>
arch/arm/mach-realview/realview_eb.c
arch/arm/mach-realview/realview_pb1176.c
arch/arm/mach-realview/realview_pb11mp.c
arch/arm/mach-realview/realview_pba8.c
arch/arm/mach-realview/realview_pbx.c