arch/arm/src/armv7-a/arm_gicv2.c: Don't use GIC_ICDDCR_ENABLEGRP1 for NONSECURE since this bit doesn't exist in this mode.

This commit is contained in:
liuzhuang 2019-03-19 11:20:45 -06:00 committed by Gregory Nutt
parent 7e9a060202
commit 517f391267

View File

@ -336,7 +336,7 @@ void arm_gic_initialize(void)
iccicr |= (GIC_ICCICRU_ENABLEGRP1 | GIC_ICCICRU_FIQBYPDISGRP1 |
GIC_ICCICRU_IRQBYPDISGRP1);
icddcr = GIC_ICDDCR_ENABLEGRP1;
icddcr = GIC_ICDDCR_ENABLE;
#endif