common: Move main_loop() to init.h
authorSimon Glass <sjg@chromium.org>
Sat, 28 Dec 2019 17:44:39 +0000 (10:44 -0700)
committerJagan Teki <jagan@amarulasolutions.com>
Fri, 24 Jan 2020 17:36:47 +0000 (23:06 +0530)
commit930c57ed9654f9fd53fe9bb0fc7d46d2e0317bbd
treefea05a6475b1dce7e4a00001eae4ced1af8e041a
parent7099d71d87813f997b58a3d8107c3a615fd37669
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>
common/board_r.c
common/main.c
include/common.h
include/init.h