diff options
author | Simon Glass <sjg@chromium.org> | 2019-12-28 10:45:01 -0700 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2020-01-17 14:02:31 -0500 |
commit | 9a3b4ceb37989263e9280644912d269386b99bb7 (patch) | |
tree | 9b71bdce3ce7d4e3e7173537601044584cb6e255 /drivers/watchdog | |
parent | 9101a5ec4a6cbcb50e037fb7287ad4e73b2d625d (diff) |
common: Move reset_cpu() to the CPU header
Move this function out of common.h and into a relevant header file.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/watchdog')
-rw-r--r-- | drivers/watchdog/imx_watchdog.c | 1 | ||||
-rw-r--r-- | drivers/watchdog/ulp_wdog.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/drivers/watchdog/imx_watchdog.c b/drivers/watchdog/imx_watchdog.c index c030360c21..62bf25e9cc 100644 --- a/drivers/watchdog/imx_watchdog.c +++ b/drivers/watchdog/imx_watchdog.c @@ -5,6 +5,7 @@ */ #include <common.h> +#include <cpu_func.h> #include <dm.h> #include <asm/io.h> #include <wdt.h> diff --git a/drivers/watchdog/ulp_wdog.c b/drivers/watchdog/ulp_wdog.c index 313019f152..7533fc612c 100644 --- a/drivers/watchdog/ulp_wdog.c +++ b/drivers/watchdog/ulp_wdog.c @@ -4,6 +4,7 @@ */ #include <common.h> +#include <cpu_func.h> #include <asm/io.h> #include <asm/arch/imx-regs.h> |