summaryrefslogtreecommitdiff
path: root/zephyr/shim/include/config_chip.h
diff options
context:
space:
mode:
Diffstat (limited to 'zephyr/shim/include/config_chip.h')
-rw-r--r--zephyr/shim/include/config_chip.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/zephyr/shim/include/config_chip.h b/zephyr/shim/include/config_chip.h
index 7e79ddf4b1..c83d9f89eb 100644
--- a/zephyr/shim/include/config_chip.h
+++ b/zephyr/shim/include/config_chip.h
@@ -288,8 +288,8 @@
#undef CONFIG_MAPPED_STORAGE
#undef CONFIG_FLASH_PSTATE
#undef CONFIG_FLASH_SIZE_BYTES
-#ifdef CONFIG_PLATFORM_EC_FLASH_CROS
-#define CONFIG_FLASH_CROS
+#ifdef CONFIG_PLATFORM_EC_FLASH
+#define CONFIG_FLASH
#define CONFIG_SPI_FLASH_W25Q80 /* Internal SPI flash type. */
#ifdef CONFIG_FLASH_SIZE
#define CONFIG_FLASH_SIZE_BYTES (CONFIG_FLASH_SIZE * 1024)
@@ -337,7 +337,7 @@
#define CONFIG_CMD_FLASH_WP
#endif
-#endif /* CONFIG_PLATFORM_EC_FLASH_CROS */
+#endif /* CONFIG_PLATFORM_EC_FLASH */
#undef CONFIG_ADC
#ifdef CONFIG_PLATFORM_EC_ADC