diff --git a/litex/soc/cores/cpu/serv/crt0.S b/litex/soc/cores/cpu/serv/crt0.S index f01e5176f..13bfc48e9 100644 --- a/litex/soc/cores/cpu/serv/crt0.S +++ b/litex/soc/cores/cpu/serv/crt0.S @@ -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