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 Tom Rini
parent 9101a5ec4a
commit 9a3b4ceb37
102 changed files with 105 additions and 6 deletions

View file

@ -19,6 +19,7 @@
*/
#include <common.h>
#include <cpu_func.h>
#include <efi_loader.h>
#include <irq_func.h>
#include <asm/proc-armv/ptrace.h>
@ -48,7 +49,7 @@ int disable_interrupts(void)
void bad_mode (void)
{
panic ("Resetting CPU ...\n");
reset_cpu (0);
reset_cpu(0);
}
static void show_efi_loaded_images(struct pt_regs *regs)