diff --git a/litex/soc/cores/cpu/zynqmp/boot-helper.c b/litex/soc/cores/cpu/zynqmp/boot-helper.c index 4dd8ae2d3..f16e05298 100644 --- a/litex/soc/cores/cpu/zynqmp/boot-helper.c +++ b/litex/soc/cores/cpu/zynqmp/boot-helper.c @@ -1,5 +1,5 @@ void boot_helper(unsigned long r1, unsigned long r2, unsigned long r3, unsigned long addr); void boot_helper(unsigned long r1, unsigned long r2, unsigned long r3, unsigned long addr) { - goto *addr; + goto *(void*)addr; }