From e6909e2978751d462f2fc224057bc576d1ef09ea Mon Sep 17 00:00:00 2001 From: Joel Stanley Date: Tue, 9 Jun 2020 18:40:21 +0930 Subject: [PATCH] microwatt: Implement boot helper --- litex/soc/cores/cpu/microwatt/boot-helper.S | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 -- 2.30.2