summaryrefslogtreecommitdiff
path: root/common/init
diff options
context:
space:
mode:
authorTom Rini <[email protected]>2024-04-27 08:11:00 -0600
committerTom Rini <[email protected]>2024-05-06 15:05:04 -0600
commita79fc7a79cc9d4f7a46b19a4891484ac1e9ef599 (patch)
treeeb961c176292ac7e2dfbeb8fc374003d1226eb28 /common/init
parent301bac6047c85e2c5e39929805ca661bb09a7481 (diff)
common: Remove <common.h> and add needed includes
Remove <common.h> from all "commmon/" files and when needed add missing include files directly. Signed-off-by: Tom Rini <[email protected]>
Diffstat (limited to 'common/init')
-rw-r--r--common/init/board_init.c2
-rw-r--r--common/init/handoff.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/common/init/board_init.c b/common/init/board_init.c
index ed2365daa35..a06ec1caa2c 100644
--- a/common/init/board_init.c
+++ b/common/init/board_init.c
@@ -6,7 +6,7 @@
* Written by Simon Glass <[email protected]>
*/
-#include <common.h>
+#include <config.h>
#include <bootstage.h>
#include <init.h>
#include <asm/global_data.h>
diff --git a/common/init/handoff.c b/common/init/handoff.c
index d0be1bb17a2..687513bda35 100644
--- a/common/init/handoff.c
+++ b/common/init/handoff.c
@@ -5,9 +5,9 @@
* Copyright 2018 Google, Inc
*/
-#include <common.h>
#include <handoff.h>
#include <asm/global_data.h>
+#include <asm/u-boot.h>
DECLARE_GLOBAL_DATA_PTR;