diff options
Diffstat (limited to 'chip/npcx/espi.c')
-rw-r--r-- | chip/npcx/espi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chip/npcx/espi.c b/chip/npcx/espi.c index e6d0a37bac..b930579c70 100644 --- a/chip/npcx/espi.c +++ b/chip/npcx/espi.c @@ -611,11 +611,11 @@ void espi_init(void) NPCX_ESPICFG |= ESPI_SUPP_CH_ALL; /* Support all I/O modes */ - SET_FIELD(NPCX_ESPICFG, NPCX_ESPICFG_IOMODE_FILED, + SET_FIELD(NPCX_ESPICFG, NPCX_ESPICFG_IOMODE_FIELD, NPCX_ESPI_IO_MODE_ALL); /* Set eSPI speed to max supported */ - SET_FIELD(NPCX_ESPICFG, NPCX_ESPICFG_MAXFREQ_FILED, + SET_FIELD(NPCX_ESPICFG, NPCX_ESPICFG_MAXFREQ_FIELD, NPCX_ESPI_MAXFREQ_MAX); /* Configure Master-to-Slave Virtual Wire indexes (Inputs) */ |