diff options
| author | Simon Glass <[email protected]> | 2020-10-30 21:38:53 -0600 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2021-02-02 15:33:42 -0500 |
| commit | 401d1c4f5d2d29c4bc4beaec95402ca23eb63295 (patch) | |
| tree | 0122abb2a3f1ea9837eaccc6150d2dae9570388e /board/LaCie | |
| parent | fdcb93e1709ab1a2ebb562455621617c29e2099c (diff) | |
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 <asm/global_data.h> at all, so
remove that include.
Signed-off-by: Simon Glass <[email protected]>
Signed-off-by: Tom Rini <[email protected]>
Diffstat (limited to 'board/LaCie')
| -rw-r--r-- | board/LaCie/edminiv2/edminiv2.c | 1 | ||||
| -rw-r--r-- | board/LaCie/net2big_v2/net2big_v2.c | 1 | ||||
| -rw-r--r-- | board/LaCie/netspace_v2/netspace_v2.c | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/board/LaCie/edminiv2/edminiv2.c b/board/LaCie/edminiv2/edminiv2.c index b5ffe8162f3..9c066a283c9 100644 --- a/board/LaCie/edminiv2/edminiv2.c +++ b/board/LaCie/edminiv2/edminiv2.c @@ -11,6 +11,7 @@ #include <miiphy.h> #include <net.h> #include <asm/arch/orion5x.h> +#include <asm/global_data.h> #include "../common/common.h" #include <spl.h> #include <ns16550.h> diff --git a/board/LaCie/net2big_v2/net2big_v2.c b/board/LaCie/net2big_v2/net2big_v2.c index e94c9a6dce9..695d6f6ed47 100644 --- a/board/LaCie/net2big_v2/net2big_v2.c +++ b/board/LaCie/net2big_v2/net2big_v2.c @@ -14,6 +14,7 @@ #include <i2c.h> #include <init.h> #include <net.h> +#include <asm/global_data.h> #include <asm/mach-types.h> #include <asm/arch/cpu.h> #include <asm/arch/soc.h> diff --git a/board/LaCie/netspace_v2/netspace_v2.c b/board/LaCie/netspace_v2/netspace_v2.c index 33246b20152..730eab7e703 100644 --- a/board/LaCie/netspace_v2/netspace_v2.c +++ b/board/LaCie/netspace_v2/netspace_v2.c @@ -13,6 +13,7 @@ #include <env.h> #include <init.h> #include <net.h> +#include <asm/global_data.h> #include <asm/mach-types.h> #include <asm/arch/cpu.h> #include <asm/arch/soc.h> |
