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>
This commit is contained in:
		
							parent
							
								
									fdcb93e170
								
							
						
					
					
						commit
						401d1c4f5d
					
				|  | @ -11,6 +11,7 @@ | ||||||
| #include <lmb.h> | #include <lmb.h> | ||||||
| #include <log.h> | #include <log.h> | ||||||
| #include <asm/cache.h> | #include <asm/cache.h> | ||||||
|  | #include <asm/global_data.h> | ||||||
| 
 | 
 | ||||||
| DECLARE_GLOBAL_DATA_PTR; | DECLARE_GLOBAL_DATA_PTR; | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -6,6 +6,7 @@ | ||||||
| #include <config.h> | #include <config.h> | ||||||
| #include <common.h> | #include <common.h> | ||||||
| #include <cpu_func.h> | #include <cpu_func.h> | ||||||
|  | #include <asm/global_data.h> | ||||||
| #include <linux/bitops.h> | #include <linux/bitops.h> | ||||||
| #include <linux/compiler.h> | #include <linux/compiler.h> | ||||||
| #include <linux/kernel.h> | #include <linux/kernel.h> | ||||||
|  |  | ||||||
|  | @ -9,6 +9,7 @@ | ||||||
| #include <vsprintf.h> | #include <vsprintf.h> | ||||||
| #include <asm/arcregs.h> | #include <asm/arcregs.h> | ||||||
| #include <asm/cache.h> | #include <asm/cache.h> | ||||||
|  | #include <asm/global_data.h> | ||||||
| #include <linux/bitops.h> | #include <linux/bitops.h> | ||||||
| 
 | 
 | ||||||
| DECLARE_GLOBAL_DATA_PTR; | DECLARE_GLOBAL_DATA_PTR; | ||||||
|  |  | ||||||
|  | @ -7,6 +7,7 @@ | ||||||
| #include <elf.h> | #include <elf.h> | ||||||
| #include <log.h> | #include <log.h> | ||||||
| #include <asm-generic/sections.h> | #include <asm-generic/sections.h> | ||||||
|  | #include <asm/global_data.h> | ||||||
| 
 | 
 | ||||||
| extern ulong __image_copy_start; | extern ulong __image_copy_start; | ||||||
| extern ulong __ivt_start; | extern ulong __ivt_start; | ||||||
|  |  | ||||||
|  | @ -12,6 +12,7 @@ | ||||||
| #include <div64.h> | #include <div64.h> | ||||||
| #include <init.h> | #include <init.h> | ||||||
| #include <net.h> | #include <net.h> | ||||||
|  | #include <asm/global_data.h> | ||||||
| #include <asm/io.h> | #include <asm/io.h> | ||||||
| #include <linux/errno.h> | #include <linux/errno.h> | ||||||
| #include <asm/arch/imx-regs.h> | #include <asm/arch/imx-regs.h> | ||||||
|  |  | ||||||
|  | @ -8,6 +8,7 @@ | ||||||
| 
 | 
 | ||||||
| #include <common.h> | #include <common.h> | ||||||
| #include <init.h> | #include <init.h> | ||||||
|  | #include <asm/global_data.h> | ||||||
| #include <asm/io.h> | #include <asm/io.h> | ||||||
| #include <asm/arch/armada100.h> | #include <asm/arch/armada100.h> | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -12,6 +12,7 @@ | ||||||
| #include <time.h> | #include <time.h> | ||||||
| #include <asm/arch/cpu.h> | #include <asm/arch/cpu.h> | ||||||
| #include <asm/arch/armada100.h> | #include <asm/arch/armada100.h> | ||||||
|  | #include <asm/global_data.h> | ||||||
| #include <linux/delay.h> | #include <linux/delay.h> | ||||||
| 
 | 
 | ||||||
| /*
 | /*
 | ||||||
|  |  | ||||||
|  | @ -15,6 +15,7 @@ | ||||||
| #include <net.h> | #include <net.h> | ||||||
| #include <netdev.h> | #include <netdev.h> | ||||||
| #include <vsprintf.h> | #include <vsprintf.h> | ||||||
|  | #include <asm/global_data.h> | ||||||
| #include <asm/io.h> | #include <asm/io.h> | ||||||
| #include <asm/arch-imx/cpu.h> | #include <asm/arch-imx/cpu.h> | ||||||
| #include <asm/arch/imx-regs.h> | #include <asm/arch/imx-regs.h> | ||||||
|  |  | ||||||
|  | @ -19,6 +19,7 @@ | ||||||
| #include <div64.h> | #include <div64.h> | ||||||
| #include <init.h> | #include <init.h> | ||||||
| #include <time.h> | #include <time.h> | ||||||
|  | #include <asm/global_data.h> | ||||||
| #include <asm/io.h> | #include <asm/io.h> | ||||||
| #include <asm/arch/imx-regs.h> | #include <asm/arch/imx-regs.h> | ||||||
| #include <asm/ptrace.h> | #include <asm/ptrace.h> | ||||||
|  |  | ||||||
|  | @ -15,6 +15,7 @@ | ||||||
| #include <hang.h> | #include <hang.h> | ||||||
| #include <init.h> | #include <init.h> | ||||||
| #include <net.h> | #include <net.h> | ||||||
|  | #include <asm/global_data.h> | ||||||
| #include <linux/delay.h> | #include <linux/delay.h> | ||||||
| #include <linux/errno.h> | #include <linux/errno.h> | ||||||
| #include <asm/io.h> | #include <asm/io.h> | ||||||
|  |  | ||||||
|  | @ -11,6 +11,7 @@ | ||||||
| #include <init.h> | #include <init.h> | ||||||
| #include <log.h> | #include <log.h> | ||||||
| #include <serial.h> | #include <serial.h> | ||||||
|  | #include <asm/global_data.h> | ||||||
| #include <asm/io.h> | #include <asm/io.h> | ||||||
| #include <asm/arch/imx-regs.h> | #include <asm/arch/imx-regs.h> | ||||||
| #include <asm/arch/sys_proto.h> | #include <asm/arch/sys_proto.h> | ||||||
|  |  | ||||||
|  | @ -12,6 +12,7 @@ | ||||||
| #include <common.h> | #include <common.h> | ||||||
| #include <init.h> | #include <init.h> | ||||||
| #include <time.h> | #include <time.h> | ||||||
|  | #include <asm/global_data.h> | ||||||
| #include <asm/io.h> | #include <asm/io.h> | ||||||
| #include <asm/arch/imx-regs.h> | #include <asm/arch/imx-regs.h> | ||||||
| #include <asm/arch/sys_proto.h> | #include <asm/arch/sys_proto.h> | ||||||
|  |  | ||||||
|  | @ -11,6 +11,7 @@ | ||||||
| #include <i2c.h> | #include <i2c.h> | ||||||
| #include <init.h> | #include <init.h> | ||||||
| #include <net.h> | #include <net.h> | ||||||
|  | #include <asm/global_data.h> | ||||||
| #include <linux/mtd/st_smi.h> | #include <linux/mtd/st_smi.h> | ||||||
| #include <asm/io.h> | #include <asm/io.h> | ||||||
| #include <asm/arch/hardware.h> | #include <asm/arch/hardware.h> | ||||||
|  |  | ||||||
|  | @ -7,6 +7,7 @@ | ||||||
| #include <common.h> | #include <common.h> | ||||||
| #include <init.h> | #include <init.h> | ||||||
| #include <time.h> | #include <time.h> | ||||||
|  | #include <asm/global_data.h> | ||||||
| #include <asm/io.h> | #include <asm/io.h> | ||||||
| #include <asm/arch/hardware.h> | #include <asm/arch/hardware.h> | ||||||
| #include <asm/arch/spr_gpt.h> | #include <asm/arch/spr_gpt.h> | ||||||
|  |  | ||||||
|  | @ -7,6 +7,7 @@ | ||||||
| #include <common.h> | #include <common.h> | ||||||
| #include <init.h> | #include <init.h> | ||||||
| #include <time.h> | #include <time.h> | ||||||
|  | #include <asm/global_data.h> | ||||||
| #include <asm/io.h> | #include <asm/io.h> | ||||||
| #include <div64.h> | #include <div64.h> | ||||||
| #include <bootstage.h> | #include <bootstage.h> | ||||||
|  |  | ||||||
|  | @ -5,6 +5,7 @@ | ||||||
| 
 | 
 | ||||||
| #include <common.h> | #include <common.h> | ||||||
| #include <clock_legacy.h> | #include <clock_legacy.h> | ||||||
|  | #include <asm/global_data.h> | ||||||
| #include <asm/io.h> | #include <asm/io.h> | ||||||
| #include <asm/arch/immap_ls102xa.h> | #include <asm/arch/immap_ls102xa.h> | ||||||
| #include <asm/arch/clock.h> | #include <asm/arch/clock.h> | ||||||
|  |  | ||||||
|  | @ -9,6 +9,7 @@ | ||||||
| #include <net.h> | #include <net.h> | ||||||
| #include <vsprintf.h> | #include <vsprintf.h> | ||||||
| #include <asm/arch/clock.h> | #include <asm/arch/clock.h> | ||||||
|  | #include <asm/global_data.h> | ||||||
| #include <asm/io.h> | #include <asm/io.h> | ||||||
| #include <asm/arch/immap_ls102xa.h> | #include <asm/arch/immap_ls102xa.h> | ||||||
| #include <asm/cache.h> | #include <asm/cache.h> | ||||||
|  |  | ||||||
|  | @ -6,6 +6,7 @@ | ||||||
| #include <common.h> | #include <common.h> | ||||||
| #include <clock_legacy.h> | #include <clock_legacy.h> | ||||||
| #include <net.h> | #include <net.h> | ||||||
|  | #include <asm/global_data.h> | ||||||
| #include <linux/libfdt.h> | #include <linux/libfdt.h> | ||||||
| #include <fdt_support.h> | #include <fdt_support.h> | ||||||
| #include <asm/io.h> | #include <asm/io.h> | ||||||
|  |  | ||||||
|  | @ -6,6 +6,7 @@ | ||||||
| #include <common.h> | #include <common.h> | ||||||
| #include <init.h> | #include <init.h> | ||||||
| #include <time.h> | #include <time.h> | ||||||
|  | #include <asm/global_data.h> | ||||||
| #include <asm/io.h> | #include <asm/io.h> | ||||||
| #include <div64.h> | #include <div64.h> | ||||||
| #include <asm/arch/immap_ls102xa.h> | #include <asm/arch/immap_ls102xa.h> | ||||||
|  |  | ||||||
|  | @ -6,6 +6,7 @@ | ||||||
| #include <common.h> | #include <common.h> | ||||||
| #include <fdtdec.h> | #include <fdtdec.h> | ||||||
| #include <init.h> | #include <init.h> | ||||||
|  | #include <asm/global_data.h> | ||||||
| #include <asm/io.h> | #include <asm/io.h> | ||||||
| #include <asm/arch/clk.h> | #include <asm/arch/clk.h> | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -10,6 +10,7 @@ | ||||||
| #include <div64.h> | #include <div64.h> | ||||||
| #include <init.h> | #include <init.h> | ||||||
| #include <time.h> | #include <time.h> | ||||||
|  | #include <asm/global_data.h> | ||||||
| #include <asm/io.h> | #include <asm/io.h> | ||||||
| #include <asm/arch/pwm.h> | #include <asm/arch/pwm.h> | ||||||
| #include <asm/arch/clk.h> | #include <asm/arch/clk.h> | ||||||
|  |  | ||||||
|  | @ -8,6 +8,7 @@ | ||||||
| #include <command.h> | #include <command.h> | ||||||
| #include <asm/system.h> | #include <asm/system.h> | ||||||
| #include <asm/cache.h> | #include <asm/cache.h> | ||||||
|  | #include <asm/global_data.h> | ||||||
| #include <asm/sections.h> | #include <asm/sections.h> | ||||||
| #include <asm/io.h> | #include <asm/io.h> | ||||||
| #include <asm/arch/nexell.h> | #include <asm/arch/nexell.h> | ||||||
|  |  | ||||||
|  | @ -7,6 +7,7 @@ | ||||||
| #include <common.h> | #include <common.h> | ||||||
| #include <init.h> | #include <init.h> | ||||||
| #include <time.h> | #include <time.h> | ||||||
|  | #include <asm/global_data.h> | ||||||
| #include <asm/io.h> | #include <asm/io.h> | ||||||
| #include <asm/arch-stv0991/hardware.h> | #include <asm/arch-stv0991/hardware.h> | ||||||
| #include <asm/arch-stv0991/stv0991_cgu.h> | #include <asm/arch-stv0991/stv0991_cgu.h> | ||||||
|  |  | ||||||
|  | @ -8,6 +8,7 @@ | ||||||
| #include <common.h> | #include <common.h> | ||||||
| #include <init.h> | #include <init.h> | ||||||
| #include <time.h> | #include <time.h> | ||||||
|  | #include <asm/global_data.h> | ||||||
| #include <asm/io.h> | #include <asm/io.h> | ||||||
| #include <asm/arch/timer.h> | #include <asm/arch/timer.h> | ||||||
| #include <linux/delay.h> | #include <linux/delay.h> | ||||||
|  |  | ||||||
|  | @ -10,6 +10,7 @@ | ||||||
| #include <init.h> | #include <init.h> | ||||||
| #include <net.h> | #include <net.h> | ||||||
| #include <asm/cache.h> | #include <asm/cache.h> | ||||||
|  | #include <asm/global_data.h> | ||||||
| #include <asm/io.h> | #include <asm/io.h> | ||||||
| #include <asm/arch/imx-regs.h> | #include <asm/arch/imx-regs.h> | ||||||
| #include <asm/arch/clock.h> | #include <asm/arch/clock.h> | ||||||
|  |  | ||||||
|  | @ -6,6 +6,7 @@ | ||||||
| #include <common.h> | #include <common.h> | ||||||
| #include <init.h> | #include <init.h> | ||||||
| #include <time.h> | #include <time.h> | ||||||
|  | #include <asm/global_data.h> | ||||||
| #include <asm/io.h> | #include <asm/io.h> | ||||||
| #include <div64.h> | #include <div64.h> | ||||||
| #include <asm/arch/imx-regs.h> | #include <asm/arch/imx-regs.h> | ||||||
|  |  | ||||||
|  | @ -21,7 +21,6 @@ | ||||||
| #include <stdio_dev.h> | #include <stdio_dev.h> | ||||||
| #include <linux/ctype.h> | #include <linux/ctype.h> | ||||||
| #include <linux/types.h> | #include <linux/types.h> | ||||||
| #include <asm/global_data.h> |  | ||||||
| #include <linux/libfdt.h> | #include <linux/libfdt.h> | ||||||
| #include <fdt_support.h> | #include <fdt_support.h> | ||||||
| #include <asm/armv7.h> | #include <asm/armv7.h> | ||||||
|  |  | ||||||
|  | @ -24,6 +24,7 @@ | ||||||
| #include <common.h> | #include <common.h> | ||||||
| #include <init.h> | #include <init.h> | ||||||
| #include <time.h> | #include <time.h> | ||||||
|  | #include <asm/global_data.h> | ||||||
| #include <asm/io.h> | #include <asm/io.h> | ||||||
| #include <linux/bitops.h> | #include <linux/bitops.h> | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -12,6 +12,7 @@ | ||||||
| #include <hang.h> | #include <hang.h> | ||||||
| #include <log.h> | #include <log.h> | ||||||
| #include <asm/cache.h> | #include <asm/cache.h> | ||||||
|  | #include <asm/global_data.h> | ||||||
| #include <asm/system.h> | #include <asm/system.h> | ||||||
| #include <asm/armv8/mmu.h> | #include <asm/armv8/mmu.h> | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -14,6 +14,7 @@ | ||||||
| #include <net.h> | #include <net.h> | ||||||
| #include <vsprintf.h> | #include <vsprintf.h> | ||||||
| #include <asm/cache.h> | #include <asm/cache.h> | ||||||
|  | #include <asm/global_data.h> | ||||||
| #include <asm/io.h> | #include <asm/io.h> | ||||||
| #include <asm/ptrace.h> | #include <asm/ptrace.h> | ||||||
| #include <linux/errno.h> | #include <linux/errno.h> | ||||||
|  |  | ||||||
|  | @ -7,6 +7,7 @@ | ||||||
| #include <common.h> | #include <common.h> | ||||||
| #include <clock_legacy.h> | #include <clock_legacy.h> | ||||||
| #include <cpu_func.h> | #include <cpu_func.h> | ||||||
|  | #include <asm/global_data.h> | ||||||
| #include <linux/compiler.h> | #include <linux/compiler.h> | ||||||
| #include <asm/io.h> | #include <asm/io.h> | ||||||
| #include <asm/processor.h> | #include <asm/processor.h> | ||||||
|  |  | ||||||
|  | @ -9,6 +9,7 @@ | ||||||
| #include <common.h> | #include <common.h> | ||||||
| #include <clock_legacy.h> | #include <clock_legacy.h> | ||||||
| #include <cpu_func.h> | #include <cpu_func.h> | ||||||
|  | #include <asm/global_data.h> | ||||||
| #include <linux/compiler.h> | #include <linux/compiler.h> | ||||||
| #include <fsl_ifc.h> | #include <fsl_ifc.h> | ||||||
| #include <asm/processor.h> | #include <asm/processor.h> | ||||||
|  |  | ||||||
|  | @ -8,6 +8,7 @@ | ||||||
| #include <image.h> | #include <image.h> | ||||||
| #include <log.h> | #include <log.h> | ||||||
| #include <asm/cache.h> | #include <asm/cache.h> | ||||||
|  | #include <asm/global_data.h> | ||||||
| #include <asm/io.h> | #include <asm/io.h> | ||||||
| #include <asm/system.h> | #include <asm/system.h> | ||||||
| #include <asm/arch/mp.h> | #include <asm/arch/mp.h> | ||||||
|  |  | ||||||
|  | @ -8,6 +8,7 @@ | ||||||
| #include <config.h> | #include <config.h> | ||||||
| #include <errno.h> | #include <errno.h> | ||||||
| #include <asm/cache.h> | #include <asm/cache.h> | ||||||
|  | #include <asm/global_data.h> | ||||||
| #include <asm/system.h> | #include <asm/system.h> | ||||||
| #include <asm/types.h> | #include <asm/types.h> | ||||||
| #include <asm/arch/soc.h> | #include <asm/arch/soc.h> | ||||||
|  |  | ||||||
|  | @ -12,6 +12,7 @@ | ||||||
| #include <log.h> | #include <log.h> | ||||||
| #include <spl.h> | #include <spl.h> | ||||||
| #include <asm/cache.h> | #include <asm/cache.h> | ||||||
|  | #include <asm/global_data.h> | ||||||
| #include <asm/io.h> | #include <asm/io.h> | ||||||
| #include <fsl_ifc.h> | #include <fsl_ifc.h> | ||||||
| #include <i2c.h> | #include <i2c.h> | ||||||
|  |  | ||||||
|  | @ -8,6 +8,7 @@ | ||||||
| #include <bootstage.h> | #include <bootstage.h> | ||||||
| #include <command.h> | #include <command.h> | ||||||
| #include <time.h> | #include <time.h> | ||||||
|  | #include <asm/global_data.h> | ||||||
| #include <asm/system.h> | #include <asm/system.h> | ||||||
| #include <linux/bitops.h> | #include <linux/bitops.h> | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -8,6 +8,7 @@ | ||||||
| #include <cpu_func.h> | #include <cpu_func.h> | ||||||
| #include <init.h> | #include <init.h> | ||||||
| #include <net.h> | #include <net.h> | ||||||
|  | #include <asm/global_data.h> | ||||||
| #include <asm/io.h> | #include <asm/io.h> | ||||||
| #include <asm/arch/imx-regs.h> | #include <asm/arch/imx-regs.h> | ||||||
| #include <asm/arch/clock.h> | #include <asm/arch/clock.h> | ||||||
|  |  | ||||||
|  | @ -10,6 +10,7 @@ | ||||||
| #include <image.h> | #include <image.h> | ||||||
| #include <log.h> | #include <log.h> | ||||||
| #include <asm/cache.h> | #include <asm/cache.h> | ||||||
|  | #include <asm/global_data.h> | ||||||
| #include <asm/ptrace.h> | #include <asm/ptrace.h> | ||||||
| #include <linux/kernel.h> | #include <linux/kernel.h> | ||||||
| #include <asm/io.h> | #include <asm/io.h> | ||||||
|  |  | ||||||
|  | @ -6,6 +6,8 @@ | ||||||
| #ifndef _ASM_ARCH_CLOCK_H | #ifndef _ASM_ARCH_CLOCK_H | ||||||
| #define _ASM_ARCH_CLOCK_H | #define _ASM_ARCH_CLOCK_H | ||||||
| 
 | 
 | ||||||
|  | struct udevice; | ||||||
|  | 
 | ||||||
| /* define pll mode */ | /* define pll mode */ | ||||||
| #define RKCLK_PLL_MODE_SLOW		0 | #define RKCLK_PLL_MODE_SLOW		0 | ||||||
| #define RKCLK_PLL_MODE_NORMAL		1 | #define RKCLK_PLL_MODE_NORMAL		1 | ||||||
|  |  | ||||||
|  | @ -8,6 +8,8 @@ | ||||||
| #ifndef _TEGRA_CLOCK_H_ | #ifndef _TEGRA_CLOCK_H_ | ||||||
| #define _TEGRA_CLOCK_H_ | #define _TEGRA_CLOCK_H_ | ||||||
| 
 | 
 | ||||||
|  | struct udevice; | ||||||
|  | 
 | ||||||
| /* Set of oscillator frequencies supported in the internal API. */ | /* Set of oscillator frequencies supported in the internal API. */ | ||||||
| enum clock_osc_freq { | enum clock_osc_freq { | ||||||
| 	/* All in MHz, so 13_0 is 13.0MHz */ | 	/* All in MHz, so 13_0 is 13.0MHz */ | ||||||
|  |  | ||||||
|  | @ -10,6 +10,8 @@ | ||||||
| 
 | 
 | ||||||
| #include <asm/types.h> | #include <asm/types.h> | ||||||
| 
 | 
 | ||||||
|  | struct udevice; | ||||||
|  | 
 | ||||||
| enum { | enum { | ||||||
| 	I2C_TIMEOUT_USEC = 10000,	/* Wait time for completion */ | 	I2C_TIMEOUT_USEC = 10000,	/* Wait time for completion */ | ||||||
| 	I2C_FIFO_DEPTH = 8,		/* I2C fifo depth */ | 	I2C_FIFO_DEPTH = 8,		/* I2C fifo depth */ | ||||||
|  |  | ||||||
|  | @ -7,6 +7,9 @@ | ||||||
| #ifndef	__ASM_GBL_DATA_H | #ifndef	__ASM_GBL_DATA_H | ||||||
| #define __ASM_GBL_DATA_H | #define __ASM_GBL_DATA_H | ||||||
| 
 | 
 | ||||||
|  | #include <asm/types.h> | ||||||
|  | #include <linux/types.h> | ||||||
|  | 
 | ||||||
| /* Architecture-specific global data */ | /* Architecture-specific global data */ | ||||||
| struct arch_global_data { | struct arch_global_data { | ||||||
| #if defined(CONFIG_FSL_ESDHC) || defined(CONFIG_FSL_ESDHC_IMX) | #if defined(CONFIG_FSL_ESDHC) || defined(CONFIG_FSL_ESDHC_IMX) | ||||||
|  |  | ||||||
|  | @ -2,6 +2,7 @@ | ||||||
| #define __ASM_SECURE_H | #define __ASM_SECURE_H | ||||||
| 
 | 
 | ||||||
| #include <config.h> | #include <config.h> | ||||||
|  | #include <asm/global_data.h> | ||||||
| 
 | 
 | ||||||
| #define __secure __attribute__ ((section ("._secure.text"))) | #define __secure __attribute__ ((section ("._secure.text"))) | ||||||
| #define __secure_data __attribute__ ((section ("._secure.data"))) | #define __secure_data __attribute__ ((section ("._secure.data"))) | ||||||
|  |  | ||||||
|  | @ -6,6 +6,8 @@ | ||||||
| #ifndef _TI_COMMON_SYS_PROTO_H_ | #ifndef _TI_COMMON_SYS_PROTO_H_ | ||||||
| #define _TI_COMMON_SYS_PROTO_H_ | #define _TI_COMMON_SYS_PROTO_H_ | ||||||
| 
 | 
 | ||||||
|  | #include <asm/global_data.h> | ||||||
|  | 
 | ||||||
| DECLARE_GLOBAL_DATA_PTR; | DECLARE_GLOBAL_DATA_PTR; | ||||||
| 
 | 
 | ||||||
| #ifdef CONFIG_ARCH_OMAP2PLUS | #ifdef CONFIG_ARCH_OMAP2PLUS | ||||||
|  |  | ||||||
|  | @ -8,6 +8,7 @@ | ||||||
| 
 | 
 | ||||||
| #include <common.h> | #include <common.h> | ||||||
| #include <init.h> | #include <init.h> | ||||||
|  | #include <asm/global_data.h> | ||||||
| 
 | 
 | ||||||
| DECLARE_GLOBAL_DATA_PTR; | DECLARE_GLOBAL_DATA_PTR; | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -19,6 +19,7 @@ | ||||||
| #ifdef CONFIG_ARMV7_NONSEC | #ifdef CONFIG_ARMV7_NONSEC | ||||||
| #include <asm/armv7.h> | #include <asm/armv7.h> | ||||||
| #endif | #endif | ||||||
|  | #include <asm/global_data.h> | ||||||
| #include <asm/psci.h> | #include <asm/psci.h> | ||||||
| #include <asm/spin_table.h> | #include <asm/spin_table.h> | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -19,6 +19,7 @@ | ||||||
| #include <hang.h> | #include <hang.h> | ||||||
| #include <lmb.h> | #include <lmb.h> | ||||||
| #include <log.h> | #include <log.h> | ||||||
|  | #include <asm/global_data.h> | ||||||
| #include <dm/root.h> | #include <dm/root.h> | ||||||
| #include <env.h> | #include <env.h> | ||||||
| #include <image.h> | #include <image.h> | ||||||
|  |  | ||||||
|  | @ -7,6 +7,7 @@ | ||||||
| #include <common.h> | #include <common.h> | ||||||
| #include <cpu_func.h> | #include <cpu_func.h> | ||||||
| #include <log.h> | #include <log.h> | ||||||
|  | #include <asm/global_data.h> | ||||||
| #include <asm/system.h> | #include <asm/system.h> | ||||||
| #include <asm/cache.h> | #include <asm/cache.h> | ||||||
| #include <linux/compiler.h> | #include <linux/compiler.h> | ||||||
|  |  | ||||||
|  | @ -11,6 +11,7 @@ | ||||||
| #include <log.h> | #include <log.h> | ||||||
| #include <malloc.h> | #include <malloc.h> | ||||||
| #include <asm/cache.h> | #include <asm/cache.h> | ||||||
|  | #include <asm/global_data.h> | ||||||
| 
 | 
 | ||||||
| DECLARE_GLOBAL_DATA_PTR; | DECLARE_GLOBAL_DATA_PTR; | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -7,6 +7,7 @@ | ||||||
| #include <common.h> | #include <common.h> | ||||||
| #include <image.h> | #include <image.h> | ||||||
| #include <mapmem.h> | #include <mapmem.h> | ||||||
|  | #include <asm/global_data.h> | ||||||
| #include <linux/bitops.h> | #include <linux/bitops.h> | ||||||
| #include <linux/sizes.h> | #include <linux/sizes.h> | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -22,6 +22,7 @@ | ||||||
| #include <cpu_func.h> | #include <cpu_func.h> | ||||||
| #include <efi_loader.h> | #include <efi_loader.h> | ||||||
| #include <irq_func.h> | #include <irq_func.h> | ||||||
|  | #include <asm/global_data.h> | ||||||
| #include <asm/proc-armv/ptrace.h> | #include <asm/proc-armv/ptrace.h> | ||||||
| #include <asm/ptrace.h> | #include <asm/ptrace.h> | ||||||
| #include <asm/u-boot-arm.h> | #include <asm/u-boot-arm.h> | ||||||
|  |  | ||||||
|  | @ -5,6 +5,7 @@ | ||||||
|  */ |  */ | ||||||
| 
 | 
 | ||||||
| #include <common.h> | #include <common.h> | ||||||
|  | #include <asm/global_data.h> | ||||||
| #include <asm/ptrace.h> | #include <asm/ptrace.h> | ||||||
| #include <irq_func.h> | #include <irq_func.h> | ||||||
| #include <linux/compiler.h> | #include <linux/compiler.h> | ||||||
|  |  | ||||||
|  | @ -14,6 +14,7 @@ | ||||||
| #include <spl.h> | #include <spl.h> | ||||||
| #include <image.h> | #include <image.h> | ||||||
| #include <asm/cache.h> | #include <asm/cache.h> | ||||||
|  | #include <asm/global_data.h> | ||||||
| #include <linux/compiler.h> | #include <linux/compiler.h> | ||||||
| #include <asm/mach-types.h> | #include <asm/mach-types.h> | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -12,6 +12,7 @@ | ||||||
|  */ |  */ | ||||||
| #include <common.h> | #include <common.h> | ||||||
| #include <init.h> | #include <init.h> | ||||||
|  | #include <asm/global_data.h> | ||||||
| 
 | 
 | ||||||
| DECLARE_GLOBAL_DATA_PTR; | DECLARE_GLOBAL_DATA_PTR; | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -8,6 +8,7 @@ | ||||||
| #include <log.h> | #include <log.h> | ||||||
| #include <ram.h> | #include <ram.h> | ||||||
| #include <timer.h> | #include <timer.h> | ||||||
|  | #include <asm/global_data.h> | ||||||
| #include <asm/io.h> | #include <asm/io.h> | ||||||
| #include <asm/arch/timer.h> | #include <asm/arch/timer.h> | ||||||
| #include <asm/arch/wdt.h> | #include <asm/arch/wdt.h> | ||||||
|  |  | ||||||
|  | @ -12,6 +12,7 @@ | ||||||
| #include <linux/err.h> | #include <linux/err.h> | ||||||
| #include <dm/uclass.h> | #include <dm/uclass.h> | ||||||
| #include <asm/arch/scu_ast2600.h> | #include <asm/arch/scu_ast2600.h> | ||||||
|  | #include <asm/global_data.h> | ||||||
| 
 | 
 | ||||||
| DECLARE_GLOBAL_DATA_PTR; | DECLARE_GLOBAL_DATA_PTR; | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -9,6 +9,7 @@ | ||||||
| #include <init.h> | #include <init.h> | ||||||
| #include <asm/io.h> | #include <asm/io.h> | ||||||
| #include <asm/arch/scu_ast2600.h> | #include <asm/arch/scu_ast2600.h> | ||||||
|  | #include <asm/global_data.h> | ||||||
| 
 | 
 | ||||||
| DECLARE_GLOBAL_DATA_PTR; | DECLARE_GLOBAL_DATA_PTR; | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -8,6 +8,7 @@ | ||||||
|  * Copyright (C) 2009 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> |  * Copyright (C) 2009 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | ||||||
|  */ |  */ | ||||||
| #include <common.h> | #include <common.h> | ||||||
|  | #include <asm/global_data.h> | ||||||
| #include <asm/io.h> | #include <asm/io.h> | ||||||
| #include <asm/arch/hardware.h> | #include <asm/arch/hardware.h> | ||||||
| #include <asm/arch/at91_pmc.h> | #include <asm/arch/at91_pmc.h> | ||||||
|  |  | ||||||
|  | @ -16,6 +16,7 @@ | ||||||
| #include <common.h> | #include <common.h> | ||||||
| #include <init.h> | #include <init.h> | ||||||
| #include <time.h> | #include <time.h> | ||||||
|  | #include <asm/global_data.h> | ||||||
| #include <linux/delay.h> | #include <linux/delay.h> | ||||||
| 
 | 
 | ||||||
| #include <asm/io.h> | #include <asm/io.h> | ||||||
|  |  | ||||||
|  | @ -8,6 +8,7 @@ | ||||||
|  */ |  */ | ||||||
| 
 | 
 | ||||||
| #include <common.h> | #include <common.h> | ||||||
|  | #include <asm/global_data.h> | ||||||
| #include <asm/io.h> | #include <asm/io.h> | ||||||
| #include <asm/arch/hardware.h> | #include <asm/arch/hardware.h> | ||||||
| #include <asm/arch/at91_pmc.h> | #include <asm/arch/at91_pmc.h> | ||||||
|  |  | ||||||
|  | @ -8,6 +8,7 @@ | ||||||
| #include <common.h> | #include <common.h> | ||||||
| #include <init.h> | #include <init.h> | ||||||
| #include <time.h> | #include <time.h> | ||||||
|  | #include <asm/global_data.h> | ||||||
| #include <asm/io.h> | #include <asm/io.h> | ||||||
| #include <asm/arch/hardware.h> | #include <asm/arch/hardware.h> | ||||||
| #include <asm/arch/at91_pit.h> | #include <asm/arch/at91_pit.h> | ||||||
|  |  | ||||||
|  | @ -10,6 +10,7 @@ | ||||||
|  */ |  */ | ||||||
| 
 | 
 | ||||||
| #include <common.h> | #include <common.h> | ||||||
|  | #include <asm/global_data.h> | ||||||
| #include <linux/delay.h> | #include <linux/delay.h> | ||||||
| #include <linux/errno.h> | #include <linux/errno.h> | ||||||
| #include <asm/io.h> | #include <asm/io.h> | ||||||
|  |  | ||||||
|  | @ -11,6 +11,7 @@ | ||||||
| #include <common.h> | #include <common.h> | ||||||
| #include <init.h> | #include <init.h> | ||||||
| #include <time.h> | #include <time.h> | ||||||
|  | #include <asm/global_data.h> | ||||||
| #include <asm/io.h> | #include <asm/io.h> | ||||||
| #include <asm/arch/hardware.h> | #include <asm/arch/hardware.h> | ||||||
| #include <asm/arch/at91_pit.h> | #include <asm/arch/at91_pit.h> | ||||||
|  |  | ||||||
|  | @ -12,6 +12,7 @@ | ||||||
| #include <hang.h> | #include <hang.h> | ||||||
| #include <init.h> | #include <init.h> | ||||||
| #include <log.h> | #include <log.h> | ||||||
|  | #include <asm/global_data.h> | ||||||
| #include <asm/io.h> | #include <asm/io.h> | ||||||
| #include <asm/arch/at91_common.h> | #include <asm/arch/at91_common.h> | ||||||
| #include <asm/arch/at91sam9_matrix.h> | #include <asm/arch/at91sam9_matrix.h> | ||||||
|  |  | ||||||
|  | @ -11,6 +11,7 @@ | ||||||
| #include <init.h> | #include <init.h> | ||||||
| #include <dm/device.h> | #include <dm/device.h> | ||||||
| #include <fdt_support.h> | #include <fdt_support.h> | ||||||
|  | #include <asm/global_data.h> | ||||||
| 
 | 
 | ||||||
| #define BCM2711_RPI4_PCIE_XHCI_MMIO_PHYS	0x600000000UL | #define BCM2711_RPI4_PCIE_XHCI_MMIO_PHYS	0x600000000UL | ||||||
| #define BCM2711_RPI4_PCIE_XHCI_MMIO_SIZE	0x800000UL | #define BCM2711_RPI4_PCIE_XHCI_MMIO_SIZE	0x800000UL | ||||||
|  |  | ||||||
|  | @ -7,6 +7,7 @@ | ||||||
| #include <common.h> | #include <common.h> | ||||||
| #include <init.h> | #include <init.h> | ||||||
| #include <asm/arch/hardware.h> | #include <asm/arch/hardware.h> | ||||||
|  | #include <asm/global_data.h> | ||||||
| #include <asm/io.h> | #include <asm/io.h> | ||||||
| 
 | 
 | ||||||
| DECLARE_GLOBAL_DATA_PTR; | DECLARE_GLOBAL_DATA_PTR; | ||||||
|  |  | ||||||
|  | @ -15,6 +15,7 @@ | ||||||
| #include <log.h> | #include <log.h> | ||||||
| #include <net.h> | #include <net.h> | ||||||
| #include <asm/arch/hardware.h> | #include <asm/arch/hardware.h> | ||||||
|  | #include <asm/global_data.h> | ||||||
| #include <asm/io.h> | #include <asm/io.h> | ||||||
| #include <asm/arch/davinci_misc.h> | #include <asm/arch/davinci_misc.h> | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -23,6 +23,7 @@ | ||||||
| #include <common.h> | #include <common.h> | ||||||
| #include <init.h> | #include <init.h> | ||||||
| #include <time.h> | #include <time.h> | ||||||
|  | #include <asm/global_data.h> | ||||||
| #include <asm/io.h> | #include <asm/io.h> | ||||||
| #include <asm/arch/timer_defs.h> | #include <asm/arch/timer_defs.h> | ||||||
| #include <div64.h> | #include <div64.h> | ||||||
|  |  | ||||||
|  | @ -7,6 +7,7 @@ | ||||||
| #include <config.h> | #include <config.h> | ||||||
| #include <init.h> | #include <init.h> | ||||||
| #include <log.h> | #include <log.h> | ||||||
|  | #include <asm/global_data.h> | ||||||
| 
 | 
 | ||||||
| #include <asm/cache.h> | #include <asm/cache.h> | ||||||
| #include <asm/arch/clock.h> | #include <asm/arch/clock.h> | ||||||
|  |  | ||||||
|  | @ -7,6 +7,7 @@ | ||||||
| #include <command.h> | #include <command.h> | ||||||
| #include <errno.h> | #include <errno.h> | ||||||
| #include <log.h> | #include <log.h> | ||||||
|  | #include <asm/global_data.h> | ||||||
| #include <asm/io.h> | #include <asm/io.h> | ||||||
| #include <asm/arch/sci/sci.h> | #include <asm/arch/sci/sci.h> | ||||||
| #include <asm/mach-imx/sys_proto.h> | #include <asm/mach-imx/sys_proto.h> | ||||||
|  |  | ||||||
|  | @ -4,6 +4,7 @@ | ||||||
|  */ |  */ | ||||||
| 
 | 
 | ||||||
| #include <common.h> | #include <common.h> | ||||||
|  | #include <asm/global_data.h> | ||||||
| #include <linux/errno.h> | #include <linux/errno.h> | ||||||
| #include <asm/arch/clock.h> | #include <asm/arch/clock.h> | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -11,6 +11,7 @@ | ||||||
| #include <init.h> | #include <init.h> | ||||||
| #include <log.h> | #include <log.h> | ||||||
| #include <asm/cache.h> | #include <asm/cache.h> | ||||||
|  | #include <asm/global_data.h> | ||||||
| #include <dm/device-internal.h> | #include <dm/device-internal.h> | ||||||
| #include <dm/lists.h> | #include <dm/lists.h> | ||||||
| #include <dm/uclass.h> | #include <dm/uclass.h> | ||||||
|  |  | ||||||
|  | @ -7,6 +7,7 @@ | ||||||
| #include <log.h> | #include <log.h> | ||||||
| #include <asm/arch/sci/sci.h> | #include <asm/arch/sci/sci.h> | ||||||
| #include <asm/arch/sys_proto.h> | #include <asm/arch/sys_proto.h> | ||||||
|  | #include <asm/global_data.h> | ||||||
| #include <dm/ofnode.h> | #include <dm/ofnode.h> | ||||||
| #include <fdt_support.h> | #include <fdt_support.h> | ||||||
| #include <linux/libfdt.h> | #include <linux/libfdt.h> | ||||||
|  |  | ||||||
|  | @ -5,6 +5,7 @@ | ||||||
| 
 | 
 | ||||||
| #include <common.h> | #include <common.h> | ||||||
| #include <log.h> | #include <log.h> | ||||||
|  | #include <asm/global_data.h> | ||||||
| #include <asm/io.h> | #include <asm/io.h> | ||||||
| #include <asm/arch/iomux.h> | #include <asm/arch/iomux.h> | ||||||
| #include <asm/arch/sci/sci.h> | #include <asm/arch/sci/sci.h> | ||||||
|  |  | ||||||
|  | @ -18,6 +18,7 @@ | ||||||
| #include <asm/arch/sci/sci.h> | #include <asm/arch/sci/sci.h> | ||||||
| #include <asm/arch-imx8/imx8-pins.h> | #include <asm/arch-imx8/imx8-pins.h> | ||||||
| #include <asm/arch-imx8/snvs_security_sc.h> | #include <asm/arch-imx8/snvs_security_sc.h> | ||||||
|  | #include <asm/global_data.h> | ||||||
| 
 | 
 | ||||||
| /* Access to gd */ | /* Access to gd */ | ||||||
| DECLARE_GLOBAL_DATA_PTR; | DECLARE_GLOBAL_DATA_PTR; | ||||||
|  |  | ||||||
|  | @ -9,6 +9,7 @@ | ||||||
| #include <asm/arch/clock.h> | #include <asm/arch/clock.h> | ||||||
| #include <asm/arch/imx-regs.h> | #include <asm/arch/imx-regs.h> | ||||||
| #include <asm/arch/sys_proto.h> | #include <asm/arch/sys_proto.h> | ||||||
|  | #include <asm/global_data.h> | ||||||
| #include <asm/io.h> | #include <asm/io.h> | ||||||
| #include <div64.h> | #include <div64.h> | ||||||
| #include <errno.h> | #include <errno.h> | ||||||
|  |  | ||||||
|  | @ -10,6 +10,7 @@ | ||||||
| #include <init.h> | #include <init.h> | ||||||
| #include <log.h> | #include <log.h> | ||||||
| #include <asm/arch/imx-regs.h> | #include <asm/arch/imx-regs.h> | ||||||
|  | #include <asm/global_data.h> | ||||||
| #include <asm/io.h> | #include <asm/io.h> | ||||||
| #include <asm/arch/clock.h> | #include <asm/arch/clock.h> | ||||||
| #include <asm/arch/sys_proto.h> | #include <asm/arch/sys_proto.h> | ||||||
|  |  | ||||||
|  | @ -7,6 +7,7 @@ | ||||||
| #include <lmb.h> | #include <lmb.h> | ||||||
| #include <log.h> | #include <log.h> | ||||||
| #include <asm/arch/sys_proto.h> | #include <asm/arch/sys_proto.h> | ||||||
|  | #include <asm/global_data.h> | ||||||
| #include <linux/delay.h> | #include <linux/delay.h> | ||||||
| #include <linux/errno.h> | #include <linux/errno.h> | ||||||
| #include <asm/io.h> | #include <asm/io.h> | ||||||
|  |  | ||||||
|  | @ -6,6 +6,7 @@ | ||||||
| 
 | 
 | ||||||
| #include <common.h> | #include <common.h> | ||||||
| #include <init.h> | #include <init.h> | ||||||
|  | #include <asm/global_data.h> | ||||||
| 
 | 
 | ||||||
| DECLARE_GLOBAL_DATA_PTR; | DECLARE_GLOBAL_DATA_PTR; | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -12,6 +12,7 @@ | ||||||
| #include <asm/arch/mx6ul_pins.h> | #include <asm/arch/mx6ul_pins.h> | ||||||
| #include <asm/arch/mx6-pins.h> | #include <asm/arch/mx6-pins.h> | ||||||
| #include <asm/arch/sys_proto.h> | #include <asm/arch/sys_proto.h> | ||||||
|  | #include <asm/global_data.h> | ||||||
| #include <asm/gpio.h> | #include <asm/gpio.h> | ||||||
| #include <asm/mach-imx/iomux-v3.h> | #include <asm/mach-imx/iomux-v3.h> | ||||||
| #include <asm/mach-imx/boot_mode.h> | #include <asm/mach-imx/boot_mode.h> | ||||||
|  |  | ||||||
|  | @ -8,6 +8,7 @@ | ||||||
| #include <asm/arch/crm_regs.h> | #include <asm/arch/crm_regs.h> | ||||||
| #include <asm/arch/imx-regs.h> | #include <asm/arch/imx-regs.h> | ||||||
| #include <asm/arch/sys_proto.h> | #include <asm/arch/sys_proto.h> | ||||||
|  | #include <asm/global_data.h> | ||||||
| #include <asm/io.h> | #include <asm/io.h> | ||||||
| #include <common.h> | #include <common.h> | ||||||
| #include <env.h> | #include <env.h> | ||||||
|  |  | ||||||
|  | @ -11,6 +11,7 @@ | ||||||
| #include <command.h> | #include <command.h> | ||||||
| #include <div64.h> | #include <div64.h> | ||||||
| #include <log.h> | #include <log.h> | ||||||
|  | #include <asm/global_data.h> | ||||||
| #include <asm/io.h> | #include <asm/io.h> | ||||||
| #include <linux/errno.h> | #include <linux/errno.h> | ||||||
| #include <asm/arch/imx-regs.h> | #include <asm/arch/imx-regs.h> | ||||||
|  |  | ||||||
|  | @ -7,6 +7,7 @@ | ||||||
| #include <clock_legacy.h> | #include <clock_legacy.h> | ||||||
| #include <command.h> | #include <command.h> | ||||||
| #include <div64.h> | #include <div64.h> | ||||||
|  | #include <asm/global_data.h> | ||||||
| #include <asm/io.h> | #include <asm/io.h> | ||||||
| #include <errno.h> | #include <errno.h> | ||||||
| #include <asm/arch/clock.h> | #include <asm/arch/clock.h> | ||||||
|  |  | ||||||
|  | @ -11,6 +11,7 @@ | ||||||
| #include <clock_legacy.h> | #include <clock_legacy.h> | ||||||
| #include <asm/arch/imx-regs.h> | #include <asm/arch/imx-regs.h> | ||||||
| #include <asm/arch/clock.h> | #include <asm/arch/clock.h> | ||||||
|  | #include <asm/global_data.h> | ||||||
| 
 | 
 | ||||||
| #ifdef CONFIG_FSL_ESDHC_IMX | #ifdef CONFIG_FSL_ESDHC_IMX | ||||||
| DECLARE_GLOBAL_DATA_PTR; | DECLARE_GLOBAL_DATA_PTR; | ||||||
|  |  | ||||||
|  | @ -10,6 +10,7 @@ | ||||||
| #include <hang.h> | #include <hang.h> | ||||||
| #include <init.h> | #include <init.h> | ||||||
| #include <log.h> | #include <log.h> | ||||||
|  | #include <asm/global_data.h> | ||||||
| #include <asm/io.h> | #include <asm/io.h> | ||||||
| #include <asm/arch/imx-regs.h> | #include <asm/arch/imx-regs.h> | ||||||
| #include <asm/arch/sys_proto.h> | #include <asm/arch/sys_proto.h> | ||||||
|  |  | ||||||
|  | @ -7,6 +7,7 @@ | ||||||
| #include <errno.h> | #include <errno.h> | ||||||
| #include <image.h> | #include <image.h> | ||||||
| #include <log.h> | #include <log.h> | ||||||
|  | #include <asm/global_data.h> | ||||||
| #include <linux/libfdt.h> | #include <linux/libfdt.h> | ||||||
| #include <spl.h> | #include <spl.h> | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -8,6 +8,7 @@ | ||||||
| #include <common.h> | #include <common.h> | ||||||
| #include <init.h> | #include <init.h> | ||||||
| #include <time.h> | #include <time.h> | ||||||
|  | #include <asm/global_data.h> | ||||||
| #include <asm/io.h> | #include <asm/io.h> | ||||||
| #include <div64.h> | #include <div64.h> | ||||||
| #include <asm/arch/imx-regs.h> | #include <asm/arch/imx-regs.h> | ||||||
|  |  | ||||||
|  | @ -11,6 +11,7 @@ | ||||||
| #include <time.h> | #include <time.h> | ||||||
| #include <asm/io.h> | #include <asm/io.h> | ||||||
| #include <div64.h> | #include <div64.h> | ||||||
|  | #include <asm/global_data.h> | ||||||
| #include <asm/arch/imx-regs.h> | #include <asm/arch/imx-regs.h> | ||||||
| #include <asm/arch/clock.h> | #include <asm/arch/clock.h> | ||||||
| #include <asm/arch/sys_proto.h> | #include <asm/arch/sys_proto.h> | ||||||
|  |  | ||||||
|  | @ -9,6 +9,7 @@ | ||||||
| #include <common.h> | #include <common.h> | ||||||
| #include <fdt_support.h> | #include <fdt_support.h> | ||||||
| #include <init.h> | #include <init.h> | ||||||
|  | #include <asm/global_data.h> | ||||||
| #include <asm/io.h> | #include <asm/io.h> | ||||||
| #include <spl.h> | #include <spl.h> | ||||||
| #include <asm/arch/hardware.h> | #include <asm/arch/hardware.h> | ||||||
|  |  | ||||||
|  | @ -12,6 +12,7 @@ | ||||||
| #include <init.h> | #include <init.h> | ||||||
| #include <log.h> | #include <log.h> | ||||||
| #include <spl.h> | #include <spl.h> | ||||||
|  | #include <asm/global_data.h> | ||||||
| #include "common.h" | #include "common.h" | ||||||
| #include <dm.h> | #include <dm.h> | ||||||
| #include <remoteproc.h> | #include <remoteproc.h> | ||||||
|  |  | ||||||
|  | @ -14,6 +14,7 @@ | ||||||
| #include <malloc.h> | #include <malloc.h> | ||||||
| #include <remoteproc.h> | #include <remoteproc.h> | ||||||
| #include <asm/cache.h> | #include <asm/cache.h> | ||||||
|  | #include <asm/global_data.h> | ||||||
| #include <linux/soc/ti/ti_sci_protocol.h> | #include <linux/soc/ti/ti_sci_protocol.h> | ||||||
| #include <g_dnl.h> | #include <g_dnl.h> | ||||||
| #include <usb.h> | #include <usb.h> | ||||||
|  |  | ||||||
|  | @ -5,6 +5,7 @@ | ||||||
| 
 | 
 | ||||||
| #include <common.h> | #include <common.h> | ||||||
| #include <init.h> | #include <init.h> | ||||||
|  | #include <asm/global_data.h> | ||||||
| #include <linux/io.h> | #include <linux/io.h> | ||||||
| #include <linux/sizes.h> | #include <linux/sizes.h> | ||||||
| #include <asm/arch/misc.h> | #include <asm/arch/misc.h> | ||||||
|  |  | ||||||
|  | @ -12,6 +12,7 @@ | ||||||
| #include <log.h> | #include <log.h> | ||||||
| #include <ram.h> | #include <ram.h> | ||||||
| #include <asm/arch/misc.h> | #include <asm/arch/misc.h> | ||||||
|  | #include <asm/global_data.h> | ||||||
| #include <asm/sections.h> | #include <asm/sections.h> | ||||||
| #include <dm/uclass.h> | #include <dm/uclass.h> | ||||||
| #include <linux/bitops.h> | #include <linux/bitops.h> | ||||||
|  |  | ||||||
|  | @ -17,6 +17,7 @@ | ||||||
| #include <asm/arch/misc.h> | #include <asm/arch/misc.h> | ||||||
| #include <asm/armv8/mmu.h> | #include <asm/armv8/mmu.h> | ||||||
| #include <asm/cache.h> | #include <asm/cache.h> | ||||||
|  | #include <asm/global_data.h> | ||||||
| #include <asm/sections.h> | #include <asm/sections.h> | ||||||
| #include <dm/uclass.h> | #include <dm/uclass.h> | ||||||
| #include <dt-bindings/clock/mt8512-clk.h> | #include <dt-bindings/clock/mt8512-clk.h> | ||||||
|  |  | ||||||
|  | @ -15,6 +15,7 @@ | ||||||
| #include <asm/arch/misc.h> | #include <asm/arch/misc.h> | ||||||
| #include <asm/armv8/mmu.h> | #include <asm/armv8/mmu.h> | ||||||
| #include <asm/cache.h> | #include <asm/cache.h> | ||||||
|  | #include <asm/global_data.h> | ||||||
| #include <asm/sections.h> | #include <asm/sections.h> | ||||||
| #include <dm/uclass.h> | #include <dm/uclass.h> | ||||||
| #include <dt-bindings/clock/mt8516-clk.h> | #include <dt-bindings/clock/mt8516-clk.h> | ||||||
|  |  | ||||||
|  | @ -16,6 +16,7 @@ | ||||||
| #include <asm/arch/misc.h> | #include <asm/arch/misc.h> | ||||||
| #include <asm/armv8/mmu.h> | #include <asm/armv8/mmu.h> | ||||||
| #include <asm/cache.h> | #include <asm/cache.h> | ||||||
|  | #include <asm/global_data.h> | ||||||
| #include <asm/sections.h> | #include <asm/sections.h> | ||||||
| #include <dm/uclass.h> | #include <dm/uclass.h> | ||||||
| #include <dt-bindings/clock/mt8518-clk.h> | #include <dt-bindings/clock/mt8518-clk.h> | ||||||
|  |  | ||||||
|  | @ -11,6 +11,7 @@ | ||||||
| #include <asm/arch/eth.h> | #include <asm/arch/eth.h> | ||||||
| #include <asm/arch/axg.h> | #include <asm/arch/axg.h> | ||||||
| #include <asm/arch/mem.h> | #include <asm/arch/mem.h> | ||||||
|  | #include <asm/global_data.h> | ||||||
| #include <asm/io.h> | #include <asm/io.h> | ||||||
| #include <asm/armv8/mmu.h> | #include <asm/armv8/mmu.h> | ||||||
| #include <linux/sizes.h> | #include <linux/sizes.h> | ||||||
|  |  | ||||||
|  | @ -11,6 +11,7 @@ | ||||||
| #include <asm/arch/boot.h> | #include <asm/arch/boot.h> | ||||||
| #include <env.h> | #include <env.h> | ||||||
| #include <asm/cache.h> | #include <asm/cache.h> | ||||||
|  | #include <asm/global_data.h> | ||||||
| #include <asm/ptrace.h> | #include <asm/ptrace.h> | ||||||
| #include <linux/libfdt.h> | #include <linux/libfdt.h> | ||||||
| #include <linux/err.h> | #include <linux/err.h> | ||||||
|  |  | ||||||
|  | @ -13,6 +13,7 @@ | ||||||
| #include <asm/arch/g12a.h> | #include <asm/arch/g12a.h> | ||||||
| #include <asm/arch/mem.h> | #include <asm/arch/mem.h> | ||||||
| #include <asm/arch/meson-vpu.h> | #include <asm/arch/meson-vpu.h> | ||||||
|  | #include <asm/global_data.h> | ||||||
| #include <asm/io.h> | #include <asm/io.h> | ||||||
| #include <asm/armv8/mmu.h> | #include <asm/armv8/mmu.h> | ||||||
| #include <linux/sizes.h> | #include <linux/sizes.h> | ||||||
|  |  | ||||||
|  | @ -12,6 +12,7 @@ | ||||||
| #include <asm/arch/gx.h> | #include <asm/arch/gx.h> | ||||||
| #include <asm/arch/mem.h> | #include <asm/arch/mem.h> | ||||||
| #include <asm/arch/meson-vpu.h> | #include <asm/arch/meson-vpu.h> | ||||||
|  | #include <asm/global_data.h> | ||||||
| #include <asm/io.h> | #include <asm/io.h> | ||||||
| #include <asm/armv8/mmu.h> | #include <asm/armv8/mmu.h> | ||||||
| #include <linux/sizes.h> | #include <linux/sizes.h> | ||||||
|  |  | ||||||
Some files were not shown because too many files have changed in this diff Show More
		Loading…
	
		Reference in New Issue