summaryrefslogtreecommitdiff
path: root/core/cortex-m/ec.lds.S
diff options
context:
space:
mode:
Diffstat (limited to 'core/cortex-m/ec.lds.S')
-rw-r--r--core/cortex-m/ec.lds.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/cortex-m/ec.lds.S b/core/cortex-m/ec.lds.S
index fc24d181b5..9a23a419f6 100644
--- a/core/cortex-m/ec.lds.S
+++ b/core/cortex-m/ec.lds.S
@@ -503,7 +503,7 @@ SECTIONS
/*
* These linker labels are just for analysis and not used in the code.
*/
- __config_flash_size = CONFIG_FLASH_SIZE;
+ __config_flash_size = CONFIG_FLASH_SIZE_BYTES;
__config_ro_size = CONFIG_RO_SIZE;
__config_ec_protected_storage_size = CONFIG_EC_PROTECTED_STORAGE_SIZE;
__config_rw_size = CONFIG_RW_SIZE;