aboutsummaryrefslogtreecommitdiff
path: root/common/main.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2019-12-28 10:44:39 -0700
committerTom Rini <trini@konsulko.com>2020-01-17 13:26:48 -0500
commit6b8d3ceaf59a6c4a2d3930aa8fa0c33e15093498 (patch)
treeebe9280c23bc2036eee040906ee7aac5717c7e99 /common/main.c
parent011b5725a89c7fc658109d1dce2ad0d7bcd1db02 (diff)
downloadu-boot-6b8d3ceaf59a6c4a2d3930aa8fa0c33e15093498.zip
u-boot-6b8d3ceaf59a6c4a2d3930aa8fa0c33e15093498.tar.gz
u-boot-6b8d3ceaf59a6c4a2d3930aa8fa0c33e15093498.tar.bz2
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 'common/main.c')
-rw-r--r--common/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/main.c b/common/main.c
index a94df7a..ec8994a 100644
--- a/common/main.c
+++ b/common/main.c
@@ -12,6 +12,7 @@
#include <command.h>
#include <console.h>
#include <env.h>
+#include <init.h>
#include <version.h>
/*