From 68dcbdd594d4172632ca6b122c56ec87ca551cf4 Mon Sep 17 00:00:00 2001 From: Marek Vasut Date: Fri, 23 Jun 2023 21:56:27 +0200 Subject: [PATCH] ARM: imx: Add weak default reset_cpu() Add weak default reset_cpu() implementation needed by e.g. panic(). Signed-off-by: Marek Vasut --- arch/arm/mach-imx/cpu.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm/mach-imx/cpu.c b/arch/arm/mach-imx/cpu.c index 702cfc3327..488638c905 100644 --- a/arch/arm/mach-imx/cpu.c +++ b/arch/arm/mach-imx/cpu.c @@ -510,3 +510,7 @@ char nxp_board_rev_string(void) return (*rev + nxp_board_rev() - 1); } #endif + +__weak void reset_cpu(void) +{ +} -- 2.39.5