From 54f466772b392101933dda2c2828364866047aa5 Mon Sep 17 00:00:00 2001 From: stone3311 Date: Wed, 5 Jul 2023 20:13:36 +0200 Subject: [PATCH] cores/zynqmp: Fix boot helper --- litex/soc/cores/cpu/zynqmp/boot-helper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }