diff options
author | Simon Glass <sjg@chromium.org> | 2019-12-28 20:44:39 +0300 |
---|---|---|
committer | Jagan Teki <jagan@amarulasolutions.com> | 2020-01-24 20:36:47 +0300 |
commit | 930c57ed9654f9fd53fe9bb0fc7d46d2e0317bbd (patch) | |
tree | fea05a6475b1dce7e4a00001eae4ced1af8e041a /common | |
parent | 7099d71d87813f997b58a3d8107c3a615fd37669 (diff) | |
download | u-boot-930c57ed9654f9fd53fe9bb0fc7d46d2e0317bbd.tar.xz |
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')
-rw-r--r-- | common/board_r.c | 1 | ||||
-rw-r--r-- | common/main.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/common/board_r.c b/common/board_r.c index e711de64b5..e7c2594296 100644 --- a/common/board_r.c +++ b/common/board_r.c @@ -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> diff --git a/common/main.c b/common/main.c index a94df7ae04..ec8994ad45 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> /* |