summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/nds32/init.S2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/nds32/init.S b/core/nds32/init.S
index c1fe740c49..6c8f9e2055 100644
--- a/core/nds32/init.S
+++ b/core/nds32/init.S
@@ -189,6 +189,8 @@ data_loop:
li $r5, 0x00000007
mtsr $r5, $IVB
+ /* clear BRAM if it is not valid */
+ jal chip_bram_valid
/* Jump to C routine */
jal main