]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
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 702cfc33275a80bbf30e5803d774c5edb8299ec3..488638c9058518a40116273eb99dbf57cef31eef 100644 (file)
@@ -510,3 +510,7 @@ char nxp_board_rev_string(void)
        return (*rev + nxp_board_rev() - 1);
 }
 #endif
+
+__weak void reset_cpu(void)
+{
+}