summaryrefslogtreecommitdiff
path: root/chip/mchp/lfw/ec_lfw.c
diff options
context:
space:
mode:
Diffstat (limited to 'chip/mchp/lfw/ec_lfw.c')
-rw-r--r--chip/mchp/lfw/ec_lfw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/chip/mchp/lfw/ec_lfw.c b/chip/mchp/lfw/ec_lfw.c
index c2fe9d6515..0d69c6a16b 100644
--- a/chip/mchp/lfw/ec_lfw.c
+++ b/chip/mchp/lfw/ec_lfw.c
@@ -381,7 +381,7 @@ void lfw_main(void)
uart_init();
system_init();
- spi_enable(CONFIG_SPI_FLASH_PORT, 1);
+ spi_enable(SPI_FLASH_DEVICE, 1);
uart_puts("littlefw ");
uart_puts(current_image_data.version);