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>
This commit is contained in:
Simon Glass
2019-12-28 10:45:01 -07:00
committed by Jagan Teki
parent 6321c66cdf
commit 657afb14a0
102 changed files with 105 additions and 6 deletions

View File

@@ -7,6 +7,7 @@
#define LOG_CATEGORY UCLASS_SYSRESET
#include <common.h>
#include <cpu_func.h>
#include <sysreset.h>
#include <dm.h>
#include <errno.h>

View File

@@ -5,6 +5,7 @@
*/
#include <common.h>
#include <cpu_func.h>
#include <dm.h>
#include <asm/io.h>
#include <wdt.h>

View File

@@ -4,6 +4,7 @@
*/
#include <common.h>
#include <cpu_func.h>
#include <asm/io.h>
#include <asm/arch/imx-regs.h>