ARM: imx: Add weak default reset_cpu()
authorMarek Vasut <marex@denx.de>
Fri, 23 Jun 2023 19:56:27 +0000 (21:56 +0200)
committerTom Rini <trini@konsulko.com>
Sat, 24 Jun 2023 17:46:58 +0000 (13:46 -0400)
Add weak default reset_cpu() implementation needed by e.g. panic().

Signed-off-by: Marek Vasut <marex@denx.de>
arch/arm/mach-imx/cpu.c

index 702cfc3..488638c 100644 (file)
@@ -510,3 +510,7 @@ char nxp_board_rev_string(void)
        return (*rev + nxp_board_rev() - 1);
 }
 #endif
+
+__weak void reset_cpu(void)
+{
+}