summaryrefslogtreecommitdiff
path: root/core/riscv-rv32i/ec.lds.S
diff options
context:
space:
mode:
Diffstat (limited to 'core/riscv-rv32i/ec.lds.S')
-rw-r--r--core/riscv-rv32i/ec.lds.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/riscv-rv32i/ec.lds.S b/core/riscv-rv32i/ec.lds.S
index e849095d92..d2bb3ba353 100644
--- a/core/riscv-rv32i/ec.lds.S
+++ b/core/riscv-rv32i/ec.lds.S
@@ -341,7 +341,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;