summaryrefslogtreecommitdiff
path: root/chip/mec1322/system.c
diff options
context:
space:
mode:
Diffstat (limited to 'chip/mec1322/system.c')
-rw-r--r--chip/mec1322/system.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/chip/mec1322/system.c b/chip/mec1322/system.c
index a3043ba46b..bfa4a3c031 100644
--- a/chip/mec1322/system.c
+++ b/chip/mec1322/system.c
@@ -92,7 +92,7 @@ void system_pre_init(void)
/* Deassert nSIO_RESET */
MEC1322_PCR_PWR_RST_CTL &= ~BIT(0);
- spi_enable(CONFIG_SPI_FLASH_PORT, 1);
+ spi_enable(SPI_FLASH_DEVICE, 1);
}
void chip_save_reset_flags(uint32_t flags)