aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorSimon Glass2020-05-10 11:40:02 -0600
committerTom Rini2020-05-18 17:33:33 -0400
commit691d719db7183dfb1d1360efed4c5e9f6899095f (patch)
tree3a4df79569856ff079252b939fe1d47a4496e299 /common
parent4d72caa5b96b71e49b63f98bd8548b194380b544 (diff)
common: Drop init.h from common header
Move this uncommon header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'common')
-rw-r--r--common/board_info.c1
-rw-r--r--common/init/board_init.c1
-rw-r--r--common/lcd.c1
-rw-r--r--common/spl/spl.c1
4 files changed, 4 insertions, 0 deletions
diff --git a/common/board_info.c b/common/board_info.c
index a392bece62c..a6db087f960 100644
--- a/common/board_info.c
+++ b/common/board_info.c
@@ -1,6 +1,7 @@
// SPDX-License-Identifier: GPL-2.0+
#include <common.h>
+#include <init.h>
#include <linux/libfdt.h>
#include <linux/compiler.h>
diff --git a/common/init/board_init.c b/common/init/board_init.c
index 4c4f0ced535..8c8a5eac057 100644
--- a/common/init/board_init.c
+++ b/common/init/board_init.c
@@ -8,6 +8,7 @@
#include <common.h>
#include <bootstage.h>
+#include <init.h>
DECLARE_GLOBAL_DATA_PTR;
diff --git a/common/lcd.c b/common/lcd.c
index c421090c87a..4acf91e623c 100644
--- a/common/lcd.c
+++ b/common/lcd.c
@@ -13,6 +13,7 @@
#include <cpu_func.h>
#include <env_callback.h>
#include <asm/cache.h>
+#include <init.h>
#include <linux/types.h>
#include <stdio_dev.h>
#include <lcd.h>
diff --git a/common/spl/spl.c b/common/spl/spl.c
index b33905ead2f..6b1d41e8124 100644
--- a/common/spl/spl.c
+++ b/common/spl/spl.c
@@ -13,6 +13,7 @@
#include <dm.h>
#include <handoff.h>
#include <hang.h>
+#include <init.h>
#include <irq_func.h>
#include <serial.h>
#include <spl.h>