summaryrefslogtreecommitdiff
path: root/core/nds32/init.S
diff options
context:
space:
mode:
Diffstat (limited to 'core/nds32/init.S')
-rw-r--r--core/nds32/init.S5
1 files changed, 5 insertions, 0 deletions
diff --git a/core/nds32/init.S b/core/nds32/init.S
index 1df5ae79ae..c1fe740c49 100644
--- a/core/nds32/init.S
+++ b/core/nds32/init.S
@@ -129,6 +129,11 @@ reset:
li $r0, 0x00080005
mtsr $r0, $mr7
+ /* Set ROM address at 0x80000 (disabled). */
+ li $r1, 0x00F0109B
+ movi $r0, #0x8
+ sbi $r0, [$r1]
+
/* Enable DLM 8k~12K(bit2) and DLM 12k~16k(bit3) */
li $r1, 0x00F02030
lbi $r0, [$r1]