soc/cores/cpu/minerva: fix crt0 .data initialize

This commit is contained in:
Greg Davill 2020-08-30 10:52:04 +09:30
parent bda54b1177
commit dcd99cc999

View file

@ -14,8 +14,8 @@ reset_vector:
la t1, _edata
la t2, _fdata_rom
1: beq t0, t1, 2f
lw t3, 0(t0)
sw t3, 0(t2)
lw t3, 0(t2)
sw t3, 0(t0)
addi t0, t0, 4
addi t2, t2, 4
j 1b