mirror of
https://github.com/u-boot/u-boot.git
synced 2024-11-26 13:44:29 +08:00
common: Move main_loop() to init.h
Move this function out of common.h and into a better place. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com>
This commit is contained in:
parent
7099d71d87
commit
930c57ed96
@ -26,6 +26,7 @@
|
||||
#include <env_internal.h>
|
||||
#include <fdtdec.h>
|
||||
#include <ide.h>
|
||||
#include <init.h>
|
||||
#include <initcall.h>
|
||||
#if defined(CONFIG_CMD_KGDB)
|
||||
#include <kgdb.h>
|
||||
|
@ -12,6 +12,7 @@
|
||||
#include <command.h>
|
||||
#include <console.h>
|
||||
#include <env.h>
|
||||
#include <init.h>
|
||||
#include <version.h>
|
||||
|
||||
/*
|
||||
|
@ -63,9 +63,6 @@ void hang (void) __attribute__ ((noreturn));
|
||||
|
||||
#include <display_options.h>
|
||||
|
||||
/* common/main.c */
|
||||
void main_loop (void);
|
||||
|
||||
int checkflash(void);
|
||||
int checkdram(void);
|
||||
extern u8 __dtb_dt_begin[]; /* embedded device tree blob */
|
||||
|
@ -221,6 +221,13 @@ void pci_init_board(void);
|
||||
|
||||
void trap_init(unsigned long reloc_addr);
|
||||
|
||||
/**
|
||||
* main_loop() - Enter the main loop of U-Boot
|
||||
*
|
||||
* This normally runs the command line.
|
||||
*/
|
||||
void main_loop(void);
|
||||
|
||||
#endif /* __ASSEMBLY__ */
|
||||
/* Put only stuff here that the assembler can digest */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user