summaryrefslogtreecommitdiff
path: root/board/npcx7_evb/board.h
diff options
context:
space:
mode:
Diffstat (limited to 'board/npcx7_evb/board.h')
-rw-r--r--board/npcx7_evb/board.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/board/npcx7_evb/board.h b/board/npcx7_evb/board.h
index b93a11fcc5..2ce959cbbb 100644
--- a/board/npcx7_evb/board.h
+++ b/board/npcx7_evb/board.h
@@ -69,10 +69,10 @@
#if defined(CHIP_VARIANT_NPCX7M6FC) || defined(CHIP_VARIANT_NPCX7M7FC) || \
defined(CHIP_VARIANT_NPCX7M7WC)
#define CONFIG_SPI_FLASH_W25Q40 /* Internal spi flash type */
-#define CONFIG_FLASH_SIZE 0x00080000 /* 512 KB internal spi flash */
+#define CONFIG_FLASH_SIZE_BYTES 0x00080000 /* 512 KB internal spi flash */
#else
#define CONFIG_SPI_FLASH_W25Q80 /* Internal spi flash type */
-#define CONFIG_FLASH_SIZE 0x00100000 /* 1 MB internal spi flash */
+#define CONFIG_FLASH_SIZE_BYTES 0x00100000 /* 1 MB internal spi flash */
#endif
/* New features on npcx7 ec */