diff options
author | Simon Glass <sjg@chromium.org> | 2020-10-30 21:38:53 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2021-02-02 15:33:42 -0500 |
commit | 401d1c4f5d2d29c4bc4beaec95402ca23eb63295 (patch) | |
tree | 0122abb2a3f1ea9837eaccc6150d2dae9570388e /board/ti | |
parent | fdcb93e1709ab1a2ebb562455621617c29e2099c (diff) | |
download | u-boot-401d1c4f5d2d29c4bc4beaec95402ca23eb63295.zip u-boot-401d1c4f5d2d29c4bc4beaec95402ca23eb63295.tar.gz u-boot-401d1c4f5d2d29c4bc4beaec95402ca23eb63295.tar.bz2 |
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 <sjg@chromium.org>
Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'board/ti')
-rw-r--r-- | board/ti/am335x/board.c | 1 | ||||
-rw-r--r-- | board/ti/am3517crane/am3517crane.c | 1 | ||||
-rw-r--r-- | board/ti/am43xx/board.c | 1 | ||||
-rw-r--r-- | board/ti/am57xx/board.c | 1 | ||||
-rw-r--r-- | board/ti/am65x/evm.c | 1 | ||||
-rw-r--r-- | board/ti/beagle/beagle.c | 1 | ||||
-rw-r--r-- | board/ti/dra7xx/evm.c | 1 | ||||
-rw-r--r-- | board/ti/evm/evm.c | 1 | ||||
-rw-r--r-- | board/ti/j721e/evm.c | 1 | ||||
-rw-r--r-- | board/ti/ks2_evm/board.c | 1 | ||||
-rw-r--r-- | board/ti/omap5_uevm/evm.c | 1 | ||||
-rw-r--r-- | board/ti/panda/panda.c | 1 | ||||
-rw-r--r-- | board/ti/sdp4430/sdp.c | 1 | ||||
-rw-r--r-- | board/ti/ti816x/evm.c | 1 |
14 files changed, 14 insertions, 0 deletions
diff --git a/board/ti/am335x/board.c b/board/ti/am335x/board.c index 3cc0e4b..2cd0a12 100644 --- a/board/ti/am335x/board.c +++ b/board/ti/am335x/board.c @@ -27,6 +27,7 @@ #include <asm/arch/mmc_host_def.h> #include <asm/arch/sys_proto.h> #include <asm/arch/mem.h> +#include <asm/global_data.h> #include <asm/io.h> #include <asm/emif.h> #include <asm/gpio.h> diff --git a/board/ti/am3517crane/am3517crane.c b/board/ti/am3517crane/am3517crane.c index f32d175..b1017d6 100644 --- a/board/ti/am3517crane/am3517crane.c +++ b/board/ti/am3517crane/am3517crane.c @@ -11,6 +11,7 @@ #include <common.h> #include <init.h> +#include <asm/global_data.h> #include <asm/io.h> #include <asm/arch/mmc_host_def.h> #include <asm/arch/mem.h> diff --git a/board/ti/am43xx/board.c b/board/ti/am43xx/board.c index 62ed37c..ac0d792 100644 --- a/board/ti/am43xx/board.c +++ b/board/ti/am43xx/board.c @@ -10,6 +10,7 @@ #include <common.h> #include <eeprom.h> #include <image.h> +#include <asm/global_data.h> #include <dm/uclass.h> #include <env.h> #include <fdt_support.h> diff --git a/board/ti/am57xx/board.c b/board/ti/am57xx/board.c index 7809875..73063fa 100644 --- a/board/ti/am57xx/board.c +++ b/board/ti/am57xx/board.c @@ -20,6 +20,7 @@ #include <serial.h> #include <usb.h> #include <errno.h> +#include <asm/global_data.h> #include <asm/omap_common.h> #include <asm/omap_sec_common.h> #include <asm/emif.h> diff --git a/board/ti/am65x/evm.c b/board/ti/am65x/evm.c index 4438f14..fbe33cb 100644 --- a/board/ti/am65x/evm.c +++ b/board/ti/am65x/evm.c @@ -15,6 +15,7 @@ #include <net.h> #include <asm/arch/sys_proto.h> #include <asm/arch/hardware.h> +#include <asm/global_data.h> #include <asm/gpio.h> #include <asm/io.h> #include <asm/omap_common.h> diff --git a/board/ti/beagle/beagle.c b/board/ti/beagle/beagle.c index 6bd59eb..888a958 100644 --- a/board/ti/beagle/beagle.c +++ b/board/ti/beagle/beagle.c @@ -24,6 +24,7 @@ #include <status_led.h> #endif #include <twl4030.h> +#include <asm/global_data.h> #include <linux/mtd/rawnand.h> #include <asm/io.h> #include <asm/arch/mmc_host_def.h> diff --git a/board/ti/dra7xx/evm.c b/board/ti/dra7xx/evm.c index ca1976e..05f251f 100644 --- a/board/ti/dra7xx/evm.c +++ b/board/ti/dra7xx/evm.c @@ -20,6 +20,7 @@ #include <palmas.h> #include <sata.h> #include <serial.h> +#include <asm/global_data.h> #include <linux/string.h> #include <asm/gpio.h> #include <usb.h> diff --git a/board/ti/evm/evm.c b/board/ti/evm/evm.c index ecbd843..96434b3 100644 --- a/board/ti/evm/evm.c +++ b/board/ti/evm/evm.c @@ -17,6 +17,7 @@ #include <net.h> #include <ns16550.h> #include <serial.h> +#include <asm/global_data.h> #include <asm/io.h> #include <asm/arch/mem.h> #include <asm/arch/mux.h> diff --git a/board/ti/j721e/evm.c b/board/ti/j721e/evm.c index 44969e8..b9a9f19 100644 --- a/board/ti/j721e/evm.c +++ b/board/ti/j721e/evm.c @@ -16,6 +16,7 @@ #include <net.h> #include <asm/arch/sys_proto.h> #include <asm/arch/hardware.h> +#include <asm/global_data.h> #include <asm/gpio.h> #include <asm/io.h> #include <spl.h> diff --git a/board/ti/ks2_evm/board.c b/board/ti/ks2_evm/board.c index 53bc127..0c5c2c9 100644 --- a/board/ti/ks2_evm/board.c +++ b/board/ti/ks2_evm/board.c @@ -7,6 +7,7 @@ */ #include <common.h> +#include <asm/global_data.h> #include "board.h" #include <env.h> #include <hang.h> diff --git a/board/ti/omap5_uevm/evm.c b/board/ti/omap5_uevm/evm.c index 88f56ed..4777622 100644 --- a/board/ti/omap5_uevm/evm.c +++ b/board/ti/omap5_uevm/evm.c @@ -15,6 +15,7 @@ #include <serial.h> #include <tca642x.h> #include <usb.h> +#include <asm/global_data.h> #include <linux/delay.h> #include <linux/usb/gadget.h> #include <dwc3-uboot.h> diff --git a/board/ti/panda/panda.c b/board/ti/panda/panda.c index f718e69..fda8d5f 100644 --- a/board/ti/panda/panda.c +++ b/board/ti/panda/panda.c @@ -9,6 +9,7 @@ #include <log.h> #include <net.h> #include <serial.h> +#include <asm/global_data.h> #include <asm/mach-types.h> #include <asm/arch/sys_proto.h> #include <asm/arch/mmc_host_def.h> diff --git a/board/ti/sdp4430/sdp.c b/board/ti/sdp4430/sdp.c index 3fd9730..4895bfa 100644 --- a/board/ti/sdp4430/sdp.c +++ b/board/ti/sdp4430/sdp.c @@ -12,6 +12,7 @@ #include <serial.h> #include <asm/arch/sys_proto.h> #include <asm/arch/mmc_host_def.h> +#include <asm/global_data.h> #include "sdp4430_mux_data.h" diff --git a/board/ti/ti816x/evm.c b/board/ti/ti816x/evm.c index becece1..2d42af6 100644 --- a/board/ti/ti816x/evm.c +++ b/board/ti/ti816x/evm.c @@ -12,6 +12,7 @@ #include <net.h> #include <spl.h> #include <asm/cache.h> +#include <asm/global_data.h> #include <asm/io.h> #include <asm/arch/clock.h> #include <asm/arch/cpu.h> |