mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-08 19:11:53 +00:00
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:
parent
9101a5ec4a
commit
9a3b4ceb37
102 changed files with 105 additions and 6 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue