diff options
author | Simon Glass <sjg@chromium.org> | 2019-12-28 10:44:39 -0700 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2020-01-17 13:26:48 -0500 |
commit | 6b8d3ceaf59a6c4a2d3930aa8fa0c33e15093498 (patch) | |
tree | ebe9280c23bc2036eee040906ee7aac5717c7e99 /include/init.h | |
parent | 011b5725a89c7fc658109d1dce2ad0d7bcd1db02 (diff) | |
download | u-boot-6b8d3ceaf59a6c4a2d3930aa8fa0c33e15093498.tar.gz |
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>
Diffstat (limited to 'include/init.h')
-rw-r--r-- | include/init.h | 7 |
1 files changed, 7 insertions, 0 deletions
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 */ |