diff options
Diffstat (limited to 'core/nds32/init.S')
-rw-r--r-- | core/nds32/init.S | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/core/nds32/init.S b/core/nds32/init.S index 0f2c0710d6..23483e59b0 100644 --- a/core/nds32/init.S +++ b/core/nds32/init.S @@ -95,6 +95,12 @@ reset: li $r0, 0x00080005 mtsr $r0, $mr7 + /* Enable DLM 8k~12K(bit2) and DLM 12k~16k(bit3) */ + la $r1, 0x00F02030 + lbi $r0, [$r1] + ori $r0, $r0, 0x0C + sbi $r0, [$r1] + /* Clear BSS */ la $r0, _bss_start lwi $r1, [$r0] |