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/ti/am335x/board.c | 1 + board/ti/am3517crane/am3517crane.c | 1 + board/ti/am43xx/board.c | 1 + board/ti/am57xx/board.c | 1 + board/ti/am65x/evm.c | 1 + board/ti/beagle/beagle.c | 1 + board/ti/dra7xx/evm.c | 1 + board/ti/evm/evm.c | 1 + board/ti/j721e/evm.c | 1 + board/ti/ks2_evm/board.c | 1 + board/ti/omap5_uevm/evm.c | 1 + board/ti/panda/panda.c | 1 + board/ti/sdp4430/sdp.c | 1 + board/ti/ti816x/evm.c | 1 + 14 files changed, 14 insertions(+) (limited to 'board/ti') diff --git a/board/ti/am335x/board.c b/board/ti/am335x/board.c index 3cc0e4b91c..2cd0a1281f 100644 --- a/board/ti/am335x/board.c +++ b/board/ti/am335x/board.c @@ -27,6 +27,7 @@ #include #include #include +#include #include #include #include diff --git a/board/ti/am3517crane/am3517crane.c b/board/ti/am3517crane/am3517crane.c index f32d1757db..b1017d6c9b 100644 --- a/board/ti/am3517crane/am3517crane.c +++ b/board/ti/am3517crane/am3517crane.c @@ -11,6 +11,7 @@ #include #include +#include #include #include #include diff --git a/board/ti/am43xx/board.c b/board/ti/am43xx/board.c index 62ed37cb48..ac0d792643 100644 --- a/board/ti/am43xx/board.c +++ b/board/ti/am43xx/board.c @@ -10,6 +10,7 @@ #include #include #include +#include #include #include #include diff --git a/board/ti/am57xx/board.c b/board/ti/am57xx/board.c index 7809875510..73063faee6 100644 --- a/board/ti/am57xx/board.c +++ b/board/ti/am57xx/board.c @@ -20,6 +20,7 @@ #include #include #include +#include #include #include #include diff --git a/board/ti/am65x/evm.c b/board/ti/am65x/evm.c index 4438f14e4f..fbe33cbea5 100644 --- a/board/ti/am65x/evm.c +++ b/board/ti/am65x/evm.c @@ -15,6 +15,7 @@ #include #include #include +#include #include #include #include diff --git a/board/ti/beagle/beagle.c b/board/ti/beagle/beagle.c index 6bd59eb10c..888a958491 100644 --- a/board/ti/beagle/beagle.c +++ b/board/ti/beagle/beagle.c @@ -24,6 +24,7 @@ #include #endif #include +#include #include #include #include diff --git a/board/ti/dra7xx/evm.c b/board/ti/dra7xx/evm.c index ca1976e16a..05f251f778 100644 --- a/board/ti/dra7xx/evm.c +++ b/board/ti/dra7xx/evm.c @@ -20,6 +20,7 @@ #include #include #include +#include #include #include #include diff --git a/board/ti/evm/evm.c b/board/ti/evm/evm.c index ecbd843676..96434b3ba0 100644 --- a/board/ti/evm/evm.c +++ b/board/ti/evm/evm.c @@ -17,6 +17,7 @@ #include #include #include +#include #include #include #include diff --git a/board/ti/j721e/evm.c b/board/ti/j721e/evm.c index 44969e80b4..b9a9f19552 100644 --- a/board/ti/j721e/evm.c +++ b/board/ti/j721e/evm.c @@ -16,6 +16,7 @@ #include #include #include +#include #include #include #include diff --git a/board/ti/ks2_evm/board.c b/board/ti/ks2_evm/board.c index 53bc12791d..0c5c2c9146 100644 --- a/board/ti/ks2_evm/board.c +++ b/board/ti/ks2_evm/board.c @@ -7,6 +7,7 @@ */ #include +#include #include "board.h" #include #include diff --git a/board/ti/omap5_uevm/evm.c b/board/ti/omap5_uevm/evm.c index 88f56edc54..4777622156 100644 --- a/board/ti/omap5_uevm/evm.c +++ b/board/ti/omap5_uevm/evm.c @@ -15,6 +15,7 @@ #include #include #include +#include #include #include #include diff --git a/board/ti/panda/panda.c b/board/ti/panda/panda.c index f718e69e85..fda8d5f3c8 100644 --- a/board/ti/panda/panda.c +++ b/board/ti/panda/panda.c @@ -9,6 +9,7 @@ #include #include #include +#include #include #include #include diff --git a/board/ti/sdp4430/sdp.c b/board/ti/sdp4430/sdp.c index 3fd973049a..4895bfafd8 100644 --- a/board/ti/sdp4430/sdp.c +++ b/board/ti/sdp4430/sdp.c @@ -12,6 +12,7 @@ #include #include #include +#include #include "sdp4430_mux_data.h" diff --git a/board/ti/ti816x/evm.c b/board/ti/ti816x/evm.c index becece1c20..2d42af6b80 100644 --- a/board/ti/ti816x/evm.c +++ b/board/ti/ti816x/evm.c @@ -12,6 +12,7 @@ #include #include #include +#include #include #include #include -- cgit v1.2.3