summaryrefslogtreecommitdiff
path: root/chip/host/flash.c
diff options
context:
space:
mode:
Diffstat (limited to 'chip/host/flash.c')
-rw-r--r--chip/host/flash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/chip/host/flash.c b/chip/host/flash.c
index 77639218aa..b83d72ff5f 100644
--- a/chip/host/flash.c
+++ b/chip/host/flash.c
@@ -12,7 +12,7 @@
#include "persistence.h"
#include "util.h"
-char __host_flash[CONFIG_FLASH_PHYSICAL_SIZE];
+char __host_flash[CONFIG_FLASH_SIZE];
uint8_t __host_flash_protect[PHYSICAL_BANKS];
/* Override this function to make flash erase/write operation fail */