mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2026-02-22 12:23:12 +01:00
imx_watchdog: add weak attribute to reset_cpu function
This allows to overwrite reset_cpu function in case a board level reset is preferred (e.g. through PMIC). Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
This commit is contained in:
parent
be1a17ff68
commit
8b248c8cdb
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue