From: Joel Stanley Date: Tue, 9 Jun 2020 09:10:21 +0000 (+0930) Subject: microwatt: Implement boot helper X-Git-Tag: 24jan2021_ls180~191^2~3 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e6909e2978751d462f2fc224057bc576d1ef09ea;p=litex.git microwatt: Implement boot helper --- diff --git a/litex/soc/cores/cpu/microwatt/boot-helper.S b/litex/soc/cores/cpu/microwatt/boot-helper.S index 8dc226df..bc2b0395 100644 --- a/litex/soc/cores/cpu/microwatt/boot-helper.S +++ b/litex/soc/cores/cpu/microwatt/boot-helper.S @@ -1,4 +1,7 @@ .section .text, "ax", @progbits .global boot_helper +// void boot_helper(unsigned long r1, unsigned long r2, unsigned long r3, unsigned long addr) boot_helper: - nop # FIXME + mtctr %r6, + bctrl + ba 0