aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorSimon Glass2020-05-10 11:40:00 -0600
committerTom Rini2020-05-18 17:33:33 -0400
commit52f24238046ca28085f6de946d0358e5c7c7cbe8 (patch)
tree960e1e8fd0ab37ccb58817f4acc1dffb018801e8 /common
parentb67eefdb6ec9467c41b1c0081f0823bbfff36b00 (diff)
common: Drop bootstage.h from common header
Move this fairly uncommon header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'common')
-rw-r--r--common/board_f.c1
-rw-r--r--common/board_r.c1
-rw-r--r--common/bootm_os.c1
-rw-r--r--common/bootstage.c1
-rw-r--r--common/cli.c1
-rw-r--r--common/image.c1
-rw-r--r--common/init/board_init.c1
-rw-r--r--common/main.c1
-rw-r--r--common/spl/spl.c1
9 files changed, 9 insertions, 0 deletions
diff --git a/common/board_f.c b/common/board_f.c
index c4247cd75f9..b9b5b8d6fa1 100644
--- a/common/board_f.c
+++ b/common/board_f.c
@@ -11,6 +11,7 @@
#include <common.h>
#include <bloblist.h>
+#include <bootstage.h>
#include <clock_legacy.h>
#include <console.h>
#include <cpu.h>
diff --git a/common/board_r.c b/common/board_r.c
index bd1ac353c7a..a79a273d8f8 100644
--- a/common/board_r.c
+++ b/common/board_r.c
@@ -11,6 +11,7 @@
#include <common.h>
#include <api.h>
+#include <bootstage.h>
#include <cpu_func.h>
#include <exports.h>
#include <flash.h>
diff --git a/common/bootm_os.c b/common/bootm_os.c
index 1d58462509c..44023532e13 100644
--- a/common/bootm_os.c
+++ b/common/bootm_os.c
@@ -6,6 +6,7 @@
#include <common.h>
#include <bootm.h>
+#include <bootstage.h>
#include <cpu_func.h>
#include <efi_loader.h>
#include <env.h>
diff --git a/common/bootstage.c b/common/bootstage.c
index d2ed33663b7..817f85a7fee 100644
--- a/common/bootstage.c
+++ b/common/bootstage.c
@@ -10,6 +10,7 @@
*/
#include <common.h>
+#include <bootstage.h>
#include <hang.h>
#include <malloc.h>
#include <sort.h>
diff --git a/common/cli.c b/common/cli.c
index 38bba17585c..e5e5894b2fa 100644
--- a/common/cli.c
+++ b/common/cli.c
@@ -9,6 +9,7 @@
*/
#include <common.h>
+#include <bootstage.h>
#include <cli.h>
#include <cli_hush.h>
#include <command.h>
diff --git a/common/image.c b/common/image.c
index 14e27fbe3ca..20fa4bd4974 100644
--- a/common/image.c
+++ b/common/image.c
@@ -8,6 +8,7 @@
#ifndef USE_HOSTCC
#include <common.h>
+#include <bootstage.h>
#include <cpu_func.h>
#include <env.h>
#include <malloc.h>
diff --git a/common/init/board_init.c b/common/init/board_init.c
index f7c8a173ffb..4c4f0ced535 100644
--- a/common/init/board_init.c
+++ b/common/init/board_init.c
@@ -7,6 +7,7 @@
*/
#include <common.h>
+#include <bootstage.h>
DECLARE_GLOBAL_DATA_PTR;
diff --git a/common/main.c b/common/main.c
index 64287f7dee5..4b3cd302c3e 100644
--- a/common/main.c
+++ b/common/main.c
@@ -8,6 +8,7 @@
#include <common.h>
#include <autoboot.h>
+#include <bootstage.h>
#include <cli.h>
#include <command.h>
#include <console.h>
diff --git a/common/spl/spl.c b/common/spl/spl.c
index 163e960a1e8..b33905ead2f 100644
--- a/common/spl/spl.c
+++ b/common/spl/spl.c
@@ -9,6 +9,7 @@
#include <common.h>
#include <bloblist.h>
#include <binman_sym.h>
+#include <bootstage.h>
#include <dm.h>
#include <handoff.h>
#include <hang.h>