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/phytec | |
| 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/phytec')
| -rw-r--r-- | board/phytec/pcl063/pcl063.c | 1 | ||||
| -rw-r--r-- | board/phytec/pcm052/pcm052.c | 1 | ||||
| -rw-r--r-- | board/phytec/pcm058/pcm058.c | 1 | ||||
| -rw-r--r-- | board/phytec/pfla02/pfla02.c | 1 | ||||
| -rw-r--r-- | board/phytec/phycore_am335x_r2/board.c | 1 | ||||
| -rw-r--r-- | board/phytec/phycore_imx8mm/phycore-imx8mm.c | 1 | ||||
| -rw-r--r-- | board/phytec/phycore_imx8mm/spl.c | 1 | ||||
| -rw-r--r-- | board/phytec/phycore_imx8mp/phycore-imx8mp.c | 1 | ||||
| -rw-r--r-- | board/phytec/phycore_imx8mp/spl.c | 1 | ||||
| -rw-r--r-- | board/phytec/phycore_rk3288/phycore-rk3288.c | 1 |
10 files changed, 10 insertions, 0 deletions
diff --git a/board/phytec/pcl063/pcl063.c b/board/phytec/pcl063/pcl063.c index 9e6940f9c76..b2e435f6908 100644 --- a/board/phytec/pcl063/pcl063.c +++ b/board/phytec/pcl063/pcl063.c @@ -11,6 +11,7 @@ #include <asm/arch/crm_regs.h> #include <asm/arch/mx6-pins.h> #include <asm/arch/sys_proto.h> +#include <asm/global_data.h> #include <asm/mach-imx/iomux-v3.h> #include <asm/mach-imx/mxc_i2c.h> #include <fsl_esdhc_imx.h> diff --git a/board/phytec/pcm052/pcm052.c b/board/phytec/pcm052/pcm052.c index b0c56a29f1f..f9cf4abd474 100644 --- a/board/phytec/pcm052/pcm052.c +++ b/board/phytec/pcm052/pcm052.c @@ -8,6 +8,7 @@ #include <common.h> #include <init.h> +#include <asm/global_data.h> #include <asm/io.h> #include <asm/arch/imx-regs.h> #include <asm/arch/iomux-vf610.h> diff --git a/board/phytec/pcm058/pcm058.c b/board/phytec/pcm058/pcm058.c index 79c666588f4..5e5b129ef1f 100644 --- a/board/phytec/pcm058/pcm058.c +++ b/board/phytec/pcm058/pcm058.c @@ -14,6 +14,7 @@ #include <net.h> #include <asm/arch/crm_regs.h> #include <asm/arch/mx6-ddr.h> +#include <asm/global_data.h> #include <asm/mach-imx/boot_mode.h> #include <asm/arch/sys_proto.h> #include <dm.h> diff --git a/board/phytec/pfla02/pfla02.c b/board/phytec/pfla02/pfla02.c index 3b10cc0f9f1..076ce6711ef 100644 --- a/board/phytec/pfla02/pfla02.c +++ b/board/phytec/pfla02/pfla02.c @@ -8,6 +8,7 @@ #include <init.h> #include <log.h> #include <net.h> +#include <asm/global_data.h> #include <asm/io.h> #include <asm/arch/clock.h> #include <asm/arch/imx-regs.h> diff --git a/board/phytec/phycore_am335x_r2/board.c b/board/phytec/phycore_am335x_r2/board.c index fb589068471..5ca94152049 100644 --- a/board/phytec/phycore_am335x_r2/board.c +++ b/board/phytec/phycore_am335x_r2/board.c @@ -17,6 +17,7 @@ #include <asm/arch/ddr_defs.h> #include <asm/arch/clock.h> #include <asm/arch/sys_proto.h> +#include <asm/global_data.h> #include <power/tps65910.h> #include <jffs2/load_kernel.h> #include <mtd_node.h> diff --git a/board/phytec/phycore_imx8mm/phycore-imx8mm.c b/board/phytec/phycore_imx8mm/phycore-imx8mm.c index d2f3d23b7ea..ef647291690 100644 --- a/board/phytec/phycore_imx8mm/phycore-imx8mm.c +++ b/board/phytec/phycore_imx8mm/phycore-imx8mm.c @@ -6,6 +6,7 @@ #include <common.h> #include <asm/arch/sys_proto.h> +#include <asm/global_data.h> #include <asm/io.h> #include <asm/mach-imx/boot_mode.h> #include <env.h> diff --git a/board/phytec/phycore_imx8mm/spl.c b/board/phytec/phycore_imx8mm/spl.c index 863374d800d..64f0780f6e6 100644 --- a/board/phytec/phycore_imx8mm/spl.c +++ b/board/phytec/phycore_imx8mm/spl.c @@ -9,6 +9,7 @@ #include <asm/arch/ddr.h> #include <asm/arch/imx8mm_pins.h> #include <asm/arch/sys_proto.h> +#include <asm/global_data.h> #include <asm/mach-imx/boot_mode.h> #include <asm/mach-imx/iomux-v3.h> #include <dm/device.h> diff --git a/board/phytec/phycore_imx8mp/phycore-imx8mp.c b/board/phytec/phycore_imx8mp/phycore-imx8mp.c index 6cb2ba5fc21..67649078c20 100644 --- a/board/phytec/phycore_imx8mp/phycore-imx8mp.c +++ b/board/phytec/phycore_imx8mp/phycore-imx8mp.c @@ -6,6 +6,7 @@ #include <common.h> #include <asm/arch/sys_proto.h> +#include <asm/global_data.h> #include <asm/io.h> #include <asm/mach-imx/boot_mode.h> #include <env.h> diff --git a/board/phytec/phycore_imx8mp/spl.c b/board/phytec/phycore_imx8mp/spl.c index 6de5d07bbfe..eefdd7fdda3 100644 --- a/board/phytec/phycore_imx8mp/spl.c +++ b/board/phytec/phycore_imx8mp/spl.c @@ -9,6 +9,7 @@ #include <asm/arch/ddr.h> #include <asm/arch/imx8mp_pins.h> #include <asm/arch/sys_proto.h> +#include <asm/global_data.h> #include <asm/mach-imx/boot_mode.h> #include <asm/mach-imx/gpio.h> #include <asm/mach-imx/mxc_i2c.h> diff --git a/board/phytec/phycore_rk3288/phycore-rk3288.c b/board/phytec/phycore_rk3288/phycore-rk3288.c index ecc73227a02..f588fc3b0c7 100644 --- a/board/phytec/phycore_rk3288/phycore-rk3288.c +++ b/board/phytec/phycore_rk3288/phycore-rk3288.c @@ -8,6 +8,7 @@ #include <init.h> #include <log.h> #include <net.h> +#include <asm/global_data.h> #include <asm/io.h> #include <common.h> #include <dm.h> |
