diff options
Diffstat (limited to 'platform/ariane-fpga')
-rw-r--r-- | platform/ariane-fpga/platform.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/platform/ariane-fpga/platform.c b/platform/ariane-fpga/platform.c index 84ffec6..742386b 100644 --- a/platform/ariane-fpga/platform.c +++ b/platform/ariane-fpga/platform.c @@ -11,6 +11,7 @@ #include <sbi/sbi_const.h> #include <sbi/sbi_hart.h> #include <sbi/sbi_platform.h> +#include <sbi_utils/fdt/fdt_helper.h> #include <sbi_utils/irqchip/plic.h> #include <sbi_utils/serial/uart8250.h> #include <sbi_utils/sys/clint.h> @@ -55,7 +56,7 @@ static int ariane_final_init(bool cold_boot) if (!cold_boot) return 0; fdt = sbi_scratch_thishart_arg1_ptr(); - plic_fdt_fixup(fdt, "riscv,plic0"); + fdt_plic_fixup(fdt, "riscv,plic0"); return 0; } |