summaryrefslogtreecommitdiff
path: root/chip/npcx/config_flash_layout.h
diff options
context:
space:
mode:
Diffstat (limited to 'chip/npcx/config_flash_layout.h')
-rw-r--r--chip/npcx/config_flash_layout.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/chip/npcx/config_flash_layout.h b/chip/npcx/config_flash_layout.h
index 0988c3ca35..986c0bbfea 100644
--- a/chip/npcx/config_flash_layout.h
+++ b/chip/npcx/config_flash_layout.h
@@ -14,7 +14,10 @@
*/
/* Memmapped, external SPI */
-#define CONFIG_FLASH_MAPPED
+#define CONFIG_EXTERNAL_STORAGE
+#define CONFIG_MAPPED_STORAGE
+/* Storage is memory-mapped, but program runs from SRAM */
+#define CONFIG_MAPPED_STORAGE_BASE 0x64000000
#undef CONFIG_FLASH_PSTATE
/* Size of one firmware image in flash */