ARM: ux500: Only configure wake-up reasons on ux500 based platforms
authorLee Jones <lee.jones@linaro.org>
Thu, 16 May 2013 11:15:35 +0000 (12:15 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 27 May 2013 12:08:20 +0000 (14:08 +0200)
commit2c06897e4597b1cd68ef29e4145917a751c2b4cd
treebde8a6f158143effaaaea6970f6d5b0e1cb54cb6
parente4aa937ec75df0eea0bee03bffa3303ad36c986b
ARM: ux500: Only configure wake-up reasons on ux500 based platforms

Multiplatform calls all enabled platforms' initcalls. In the
ux500_idle_init() initcall we call into the DBx500-PRCMU which in turn
executes some ux500 specific register reads/writes. When running on
some !ux500 platforms this ends up causing a kernel Oops. This patch
ensures the PRCMU call is only invoked when running on ux500 based
platforms.

Reported-by: Rob Herring <rob.herring@calxeda.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
arch/arm/mach-ux500/cpuidle.c