From 401d1c4f5d2d29c4bc4beaec95402ca23eb63295 Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Fri, 30 Oct 2020 21:38:53 -0600 Subject: common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include at all, so remove that include. Signed-off-by: Simon Glass Signed-off-by: Tom Rini --- board/siemens/capricorn/spl.c | 1 + board/siemens/common/board.c | 1 + board/siemens/corvus/board.c | 1 + board/siemens/smartweb/smartweb.c | 1 + board/siemens/taurus/taurus.c | 1 + 5 files changed, 5 insertions(+) (limited to 'board/siemens') diff --git a/board/siemens/capricorn/spl.c b/board/siemens/capricorn/spl.c index 8435bd3863..8e077d73ae 100644 --- a/board/siemens/capricorn/spl.c +++ b/board/siemens/capricorn/spl.c @@ -9,6 +9,7 @@ #include #include #include +#include #include #include #include diff --git a/board/siemens/common/board.c b/board/siemens/common/board.c index e0bd8590bc..1bdf404ac3 100644 --- a/board/siemens/common/board.c +++ b/board/siemens/common/board.c @@ -25,6 +25,7 @@ #include #include #include +#include #include #include #include diff --git a/board/siemens/corvus/board.c b/board/siemens/corvus/board.c index 25d85a8f17..a6e1737be0 100644 --- a/board/siemens/corvus/board.c +++ b/board/siemens/corvus/board.c @@ -14,6 +14,7 @@ #include #include #include +#include #include #include #include diff --git a/board/siemens/smartweb/smartweb.c b/board/siemens/smartweb/smartweb.c index c6bdd97083..d500a6214d 100644 --- a/board/siemens/smartweb/smartweb.c +++ b/board/siemens/smartweb/smartweb.c @@ -19,6 +19,7 @@ #include #include #include +#include #include #include #include diff --git a/board/siemens/taurus/taurus.c b/board/siemens/taurus/taurus.c index 91e29f06f6..cad16f9065 100644 --- a/board/siemens/taurus/taurus.c +++ b/board/siemens/taurus/taurus.c @@ -17,6 +17,7 @@ #include #include #include +#include #include #include #include -- cgit v1.2.3