]> git.sur5r.net Git - u-boot/blobdiff - arch/riscv/cpu/nx25/start.S
riscv: ae250: Support DT provided by the board at runtime
[u-boot] / arch / riscv / cpu / nx25 / start.S
index 6a076639d34191f9f423a66062c64b78c5551842..cd0a66360de3da6800036e38619abbd5ff81e99c 100644 (file)
@@ -45,6 +45,8 @@ trap_vector:
 
 .global trap_entry
 handle_reset:
+       li t0, CONFIG_SYS_SDRAM_BASE
+       SREG a2, 0(t0)
        la t0, trap_entry
        csrw mtvec, t0
        csrwi mstatus, 0