imx_watchdog: add weak attribute to reset_cpu function
[oweals/u-boot.git] / drivers / watchdog / imx_watchdog.c
index f9f817596ff2f97af29e4d6e2415c2cefef3f13a..2938d9f1fe9507fe05f42c60d2db6fa3d59d81dc 100644 (file)
@@ -39,7 +39,7 @@ void hw_watchdog_init(void)
 }
 #endif
 
-void reset_cpu(ulong addr)
+void __attribute__((weak)) reset_cpu(ulong addr)
 {
        struct watchdog_regs *wdog = (struct watchdog_regs *)WDOG1_BASE_ADDR;