From 6b8d3ceaf59a6c4a2d3930aa8fa0c33e15093498 Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Sat, 28 Dec 2019 10:44:39 -0700 Subject: common: Move main_loop() to init.h Move this function out of common.h and into a better place. Signed-off-by: Simon Glass Reviewed-by: Simon Goldschmidt --- include/init.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'include/init.h') diff --git a/include/init.h b/include/init.h index 970a39a6a0..a5a2c79a90 100644 --- a/include/init.h +++ b/include/init.h @@ -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 */ -- cgit v1.2.3