From 12064b276ac48df97bb3e2664d15f475c893b9e0 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Thu, 31 Mar 2016 08:05:12 -0600 Subject: [PATCH] ARMv7-A: Fix an error in GIC initialization --- arch/arm/src/armv7-a/arm_gicv2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/src/armv7-a/arm_gicv2.c b/arch/arm/src/armv7-a/arm_gicv2.c index 949f3f8600..2df7c81cf6 100644 --- a/arch/arm/src/armv7-a/arm_gicv2.c +++ b/arch/arm/src/armv7-a/arm_gicv2.c @@ -331,7 +331,7 @@ void arm_gic_initialize(void) /* Write the final ICCICR value */ - putreg32(GIC_ICCICR_ENABLE, GIC_ICCICR); + putreg32(iccicr, GIC_ICCICR); #ifdef CONFIG_ARCH_TRUSTZONE_BOTH /* A processor in the secure state must then switch to the non-secure