summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/nds32/ec.lds.S3
1 files changed, 1 insertions, 2 deletions
diff --git a/core/nds32/ec.lds.S b/core/nds32/ec.lds.S
index 1451c5a17c..df4a7aeaa8 100644
--- a/core/nds32/ec.lds.S
+++ b/core/nds32/ec.lds.S
@@ -214,8 +214,7 @@ SECTIONS
} > IRAM
- /* TODO(b:36228568): Properly compute image size for nds32. */
- __image_size = 0;
+ __image_size = LOADADDR(.data) + SIZEOF(.data) - FW_OFF(SECTION);
#ifdef CONFIG_LPC
.h2ram (NOLOAD) : {