summaryrefslogtreecommitdiff
path: root/include/config_std_internal_flash.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/config_std_internal_flash.h')
-rw-r--r--include/config_std_internal_flash.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/config_std_internal_flash.h b/include/config_std_internal_flash.h
index 4b722f86d9..d272f5136c 100644
--- a/include/config_std_internal_flash.h
+++ b/include/config_std_internal_flash.h
@@ -37,7 +37,7 @@
* This is NOT a globally defined config, and is only used in this file
* for convenience.
*/
-#define _IMAGE_SIZE ((CONFIG_FLASH_SIZE - \
+#define _IMAGE_SIZE ((CONFIG_FLASH_SIZE_BYTES - \
CONFIG_SHAREDLIB_SIZE) / 2)
/*
@@ -69,7 +69,7 @@
#define CONFIG_EC_PROTECTED_STORAGE_OFF 0
#define CONFIG_EC_PROTECTED_STORAGE_SIZE CONFIG_RW_MEM_OFF
#define CONFIG_EC_WRITABLE_STORAGE_OFF CONFIG_RW_MEM_OFF
-#define CONFIG_EC_WRITABLE_STORAGE_SIZE (CONFIG_FLASH_SIZE - \
+#define CONFIG_EC_WRITABLE_STORAGE_SIZE (CONFIG_FLASH_SIZE_BYTES - \
CONFIG_EC_WRITABLE_STORAGE_OFF)
#define CONFIG_WP_STORAGE_OFF CONFIG_EC_PROTECTED_STORAGE_OFF