summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorMarcus Danielsson <marcus.danielsson@stericsson.com>2011-10-13 11:00:56 +0200
committerJonas ABERG <jonas.aberg@stericsson.com>2011-10-17 14:02:28 +0200
commit86d95a0961913f1d4b8d28fb7646f907810627fe (patch)
tree86d5d100349ce3803e133884a216bacd35c7546e /arch
parent137ed9b666e330bfc3c6403aa6a8a3929a38e1de (diff)
ux500: recouple gic on boot
On WD reboot gic is in some cases decoupled. ST-Ericsson ID: 364267 Change-Id: Ie818710839a2aad674d93e20fbc5562ce44b4bc5 Signed-off-by: Marcus Danielsson <marcus.danielsson@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/33898 Reviewed-by: QABUILD Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-ux500/cpu.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/mach-ux500/cpu.c b/arch/arm/mach-ux500/cpu.c
index 360b3b9aa18..bfdebbeab3e 100644
--- a/arch/arm/mach-ux500/cpu.c
+++ b/arch/arm/mach-ux500/cpu.c
@@ -22,6 +22,7 @@
#include <mach/setup.h>
#include <mach/devices.h>
#include <mach/reboot_reasons.h>
+#include <mach/pm.h>
#include "clock.h"
@@ -78,6 +79,12 @@ void __init ux500_init_irq(void)
gic_init(0, 29, dist_base, cpu_base);
/*
+ * On WD reboot gic is in some cases decoupled.
+ * This will make sure that the GIC is correctly configured.
+ */
+ ux500_pm_gic_recouple();
+
+ /*
* Init clocks here so that they are available for system timer
* initialization.
*/