Skip to content
Permalink
Browse files

soc : arm : microchip_mec Fix MEC1501 SoC ECIA initialization

Changes to MEC1501 HAL for eSPI changed loop constant used by SoC
code initializing the ECIA registers. Fixed by using HAL constants
that are invariant.

Signed-off-by: Scott Worley <scott.worley@microchip.com>
  • Loading branch information...
scottwcpg authored and ioannisg committed Aug 1, 2019
1 parent 707a111 commit 58e9a93faf48199cd02b571c8b2a835001007d59
Showing with 1 addition and 1 deletion.
  1. +1 −1 soc/arm/microchip_mec/mec1501/soc.c
@@ -112,7 +112,7 @@ static int soc_ecia_init(void)

/* Clear all GIRQn source enables and source status */
pg = &ECIA_REGS->GIRQ08;
for (n = 0u; n < MCHP_GIRQ_ZID_MAX; n++) {
for (n = MCHP_FIRST_GIRQ; n <= MCHP_LAST_GIRQ; n++) {
pg->EN_CLR = 0xFFFFFFFFul;
pg->SRC = 0xFFFFFFFFul;
pg++;

0 comments on commit 58e9a93

Please sign in to comment.
You can’t perform that action at this time.