common: Drop net.h from common header
Move this header out of the common header. Network support is used in quite a few places but it still does not warrant blanket inclusion. Note that this net.h header itself has quite a lot in it. It could be split into the driver-mode support, functions, structures, checksumming, etc. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
		
							parent
							
								
									c3dc39a2f8
								
							
						
					
					
						commit
						90526e9fba
					
				|  | @ -18,6 +18,7 @@ | |||
| #include <command.h> | ||||
| #include <cpu_func.h> | ||||
| #include <irq_func.h> | ||||
| #include <asm/cache.h> | ||||
| #include <asm/system.h> | ||||
| 
 | ||||
| static void cache_flush(void); | ||||
|  |  | |||
|  | @ -9,6 +9,7 @@ | |||
| #include <common.h> | ||||
| #include <clock_legacy.h> | ||||
| #include <div64.h> | ||||
| #include <net.h> | ||||
| #include <asm/io.h> | ||||
| #include <linux/errno.h> | ||||
| #include <asm/arch/imx-regs.h> | ||||
|  |  | |||
|  | @ -4,6 +4,7 @@ | |||
|  * Ilya Yanok, EmCraft Systems | ||||
|  */ | ||||
| #include <cpu_func.h> | ||||
| #include <asm/cache.h> | ||||
| #include <linux/types.h> | ||||
| #include <common.h> | ||||
| 
 | ||||
|  |  | |||
|  | @ -16,6 +16,7 @@ | |||
| #include <command.h> | ||||
| #include <cpu_func.h> | ||||
| #include <irq_func.h> | ||||
| #include <asm/cache.h> | ||||
| #include <asm/system.h> | ||||
| 
 | ||||
| static void cache_flush(void); | ||||
|  |  | |||
|  | @ -11,6 +11,7 @@ | |||
| #include <common.h> | ||||
| #include <clock_legacy.h> | ||||
| #include <div64.h> | ||||
| #include <net.h> | ||||
| #include <netdev.h> | ||||
| #include <vsprintf.h> | ||||
| #include <asm/io.h> | ||||
|  |  | |||
|  | @ -6,6 +6,7 @@ | |||
| 
 | ||||
| #include <common.h> | ||||
| #include <div64.h> | ||||
| #include <net.h> | ||||
| #include <netdev.h> | ||||
| #include <vsprintf.h> | ||||
| #include <asm/io.h> | ||||
|  |  | |||
|  | @ -12,6 +12,7 @@ | |||
| #include <common.h> | ||||
| #include <cpu_func.h> | ||||
| #include <hang.h> | ||||
| #include <net.h> | ||||
| #include <linux/errno.h> | ||||
| #include <asm/io.h> | ||||
| #include <asm/arch/clock.h> | ||||
|  |  | |||
|  | @ -5,6 +5,7 @@ | |||
|  * Aneesh V <aneesh@ti.com> | ||||
|  */ | ||||
| #include <cpu_func.h> | ||||
| #include <asm/cache.h> | ||||
| #include <linux/types.h> | ||||
| #include <common.h> | ||||
| #include <asm/armv7.h> | ||||
|  |  | |||
|  | @ -5,6 +5,7 @@ | |||
| 
 | ||||
| #include <common.h> | ||||
| #include <cpu_func.h> | ||||
| #include <asm/cache.h> | ||||
| 
 | ||||
| #if !CONFIG_IS_ENABLED(SYS_DCACHE_OFF) | ||||
| void enable_caches(void) | ||||
|  |  | |||
|  | @ -5,6 +5,7 @@ | |||
| 
 | ||||
| #include <common.h> | ||||
| #include <cpu_func.h> | ||||
| #include <asm/cache.h> | ||||
| #include <linux/sizes.h> | ||||
| 
 | ||||
| #if !CONFIG_IS_ENABLED(SYS_DCACHE_OFF) | ||||
|  |  | |||
|  | @ -5,6 +5,7 @@ | |||
| 
 | ||||
| #include <common.h> | ||||
| #include <cpu_func.h> | ||||
| #include <net.h> | ||||
| #include <vsprintf.h> | ||||
| #include <asm/arch/clock.h> | ||||
| #include <asm/io.h> | ||||
|  |  | |||
|  | @ -5,6 +5,7 @@ | |||
| 
 | ||||
| #include <common.h> | ||||
| #include <clock_legacy.h> | ||||
| #include <net.h> | ||||
| #include <linux/libfdt.h> | ||||
| #include <fdt_support.h> | ||||
| #include <asm/io.h> | ||||
|  |  | |||
|  | @ -8,6 +8,7 @@ | |||
|  */ | ||||
| #include <config.h> | ||||
| #include <common.h> | ||||
| #include <asm/cache.h> | ||||
| 
 | ||||
| #include <asm/arch/cpu.h> | ||||
| #include <asm/arch/cpucfg.h> | ||||
|  |  | |||
|  | @ -6,6 +6,8 @@ | |||
| #include <common.h> | ||||
| #include <clock_legacy.h> | ||||
| #include <cpu_func.h> | ||||
| #include <net.h> | ||||
| #include <asm/cache.h> | ||||
| #include <asm/io.h> | ||||
| #include <asm/arch/imx-regs.h> | ||||
| #include <asm/arch/clock.h> | ||||
|  |  | |||
|  | @ -11,6 +11,7 @@ | |||
| #include <common.h> | ||||
| #include <cpu_func.h> | ||||
| #include <asm/armv7.h> | ||||
| #include <asm/cache.h> | ||||
| #include <asm/gic.h> | ||||
| #include <asm/io.h> | ||||
| #include <asm/secure.h> | ||||
|  |  | |||
|  | @ -8,6 +8,7 @@ | |||
| #include <cpu_func.h> | ||||
| #include <errno.h> | ||||
| #include <asm/armv7m.h> | ||||
| #include <asm/cache.h> | ||||
| #include <asm/io.h> | ||||
| 
 | ||||
| /* Cache maintenance operation registers */ | ||||
|  |  | |||
|  | @ -10,6 +10,7 @@ | |||
| #include <common.h> | ||||
| #include <cpu_func.h> | ||||
| #include <hang.h> | ||||
| #include <asm/cache.h> | ||||
| #include <asm/system.h> | ||||
| #include <asm/armv8/mmu.h> | ||||
| 
 | ||||
|  |  | |||
|  | @ -4,6 +4,7 @@ | |||
|  */ | ||||
| 
 | ||||
| #include <common.h> | ||||
| #include <asm/cache.h> | ||||
| #include <asm/psci.h> | ||||
| #include <asm/system.h> | ||||
| #include <asm/armv8/sec_firmware.h> | ||||
|  |  | |||
|  | @ -14,6 +14,7 @@ | |||
| #include <command.h> | ||||
| #include <cpu_func.h> | ||||
| #include <irq_func.h> | ||||
| #include <asm/cache.h> | ||||
| #include <asm/system.h> | ||||
| #include <asm/secure.h> | ||||
| #include <linux/compiler.h> | ||||
|  |  | |||
|  | @ -11,6 +11,7 @@ | |||
| #include <common.h> | ||||
| #include <bootm.h> | ||||
| #include <cpu_func.h> | ||||
| #include <asm/cache.h> | ||||
| #include <asm/setjmp.h> | ||||
| 
 | ||||
| /**
 | ||||
|  |  | |||
|  | @ -10,7 +10,9 @@ | |||
| #include <fsl_ddr_sdram.h> | ||||
| #include <init.h> | ||||
| #include <hang.h> | ||||
| #include <net.h> | ||||
| #include <vsprintf.h> | ||||
| #include <asm/cache.h> | ||||
| #include <asm/io.h> | ||||
| #include <linux/errno.h> | ||||
| #include <asm/system.h> | ||||
|  |  | |||
|  | @ -7,6 +7,7 @@ | |||
| #include <common.h> | ||||
| #include <clock_legacy.h> | ||||
| #include <efi_loader.h> | ||||
| #include <asm/cache.h> | ||||
| #include <linux/libfdt.h> | ||||
| #include <fdt_support.h> | ||||
| #include <phy.h> | ||||
|  |  | |||
|  | @ -5,6 +5,7 @@ | |||
| 
 | ||||
| #include <common.h> | ||||
| #include <cpu_func.h> | ||||
| #include <asm/cache.h> | ||||
| #include <asm/io.h> | ||||
| #include <asm/system.h> | ||||
| #include <asm/arch/mp.h> | ||||
|  |  | |||
|  | @ -6,6 +6,7 @@ | |||
| #include <malloc.h> | ||||
| #include <config.h> | ||||
| #include <errno.h> | ||||
| #include <asm/cache.h> | ||||
| #include <asm/system.h> | ||||
| #include <asm/types.h> | ||||
| #include <asm/arch/soc.h> | ||||
|  |  | |||
|  | @ -14,6 +14,7 @@ | |||
| #include <linux/sizes.h> | ||||
| #include <asm/arch/fsl_serdes.h> | ||||
| #include <asm/arch/soc.h> | ||||
| #include <asm/cache.h> | ||||
| #include <asm/io.h> | ||||
| #include <asm/global_data.h> | ||||
| #include <asm/arch-fsl-layerscape/config.h> | ||||
|  |  | |||
|  | @ -8,6 +8,7 @@ | |||
| #include <cpu_func.h> | ||||
| #include <env.h> | ||||
| #include <spl.h> | ||||
| #include <asm/cache.h> | ||||
| #include <asm/io.h> | ||||
| #include <fsl_ifc.h> | ||||
| #include <i2c.h> | ||||
|  |  | |||
|  | @ -8,6 +8,7 @@ | |||
| #include <asm-offsets.h> | ||||
| #include <config.h> | ||||
| #include <version.h> | ||||
| #include <asm/cache.h> | ||||
| #include <asm/macro.h> | ||||
| #include <asm/psci.h> | ||||
| #include <asm/ptrace.h> | ||||
|  |  | |||
|  | @ -5,6 +5,7 @@ | |||
| 
 | ||||
| #include <common.h> | ||||
| #include <cpu_func.h> | ||||
| #include <asm/cache.h> | ||||
| #include <asm/io.h> | ||||
| #include <asm/system.h> | ||||
| #include <asm/armv8/mmu.h> | ||||
|  |  | |||
|  | @ -6,6 +6,7 @@ | |||
| #include <common.h> | ||||
| #include <clock_legacy.h> | ||||
| #include <cpu_func.h> | ||||
| #include <net.h> | ||||
| #include <asm/io.h> | ||||
| #include <asm/arch/imx-regs.h> | ||||
| #include <asm/arch/clock.h> | ||||
|  |  | |||
|  | @ -6,6 +6,7 @@ | |||
| #include <common.h> | ||||
| #include <cpu_func.h> | ||||
| #include <errno.h> | ||||
| #include <asm/cache.h> | ||||
| #include <linux/kernel.h> | ||||
| #include <asm/io.h> | ||||
| #include <asm/system.h> | ||||
|  |  | |||
|  | @ -4,6 +4,7 @@ | |||
|  */ | ||||
| 
 | ||||
| #include <cpu_func.h> | ||||
| #include <asm/cache.h> | ||||
| #include <linux/types.h> | ||||
| #include <common.h> | ||||
| 
 | ||||
|  |  | |||
|  | @ -13,6 +13,7 @@ | |||
| #include <cpu_func.h> | ||||
| #include <irq_func.h> | ||||
| #include <asm/arch/pxa-regs.h> | ||||
| #include <asm/cache.h> | ||||
| #include <asm/io.h> | ||||
| #include <asm/system.h> | ||||
| #include <command.h> | ||||
|  |  | |||
|  | @ -6,7 +6,10 @@ | |||
| #ifndef _TEGRA_CBOOT_H_ | ||||
| #define _TEGRA_CBOOT_H_ | ||||
| 
 | ||||
| #include <net.h> | ||||
| 
 | ||||
| #ifdef CONFIG_ARM64 | ||||
| 
 | ||||
| extern unsigned long cboot_boot_x0; | ||||
| 
 | ||||
| void cboot_save_boot_params(unsigned long x0, unsigned long x1, | ||||
|  |  | |||
|  | @ -13,6 +13,7 @@ | |||
| #ifndef __DMA_H__ | ||||
| #define __DMA_H__ | ||||
| 
 | ||||
| #include <asm/cache.h> | ||||
| #include <linux/list.h> | ||||
| #include <linux/compiler.h> | ||||
| 
 | ||||
|  |  | |||
|  | @ -29,6 +29,7 @@ | |||
| #include <linux/compiler.h> | ||||
| #include <bootm.h> | ||||
| #include <vxworks.h> | ||||
| #include <asm/cache.h> | ||||
| 
 | ||||
| #ifdef CONFIG_ARMV7_NONSEC | ||||
| #include <asm/armv7.h> | ||||
|  |  | |||
|  | @ -9,6 +9,7 @@ | |||
| #include <common.h> | ||||
| #include <cpu_func.h> | ||||
| #include <malloc.h> | ||||
| #include <asm/cache.h> | ||||
| 
 | ||||
| DECLARE_GLOBAL_DATA_PTR; | ||||
| 
 | ||||
|  |  | |||
|  | @ -4,6 +4,7 @@ | |||
|  */ | ||||
| 
 | ||||
| #include <common.h> | ||||
| #include <asm/cache.h> | ||||
| #include <linux/libfdt.h> | ||||
| #include <fdt_support.h> | ||||
| #include <linux/sizes.h> | ||||
|  |  | |||
|  | @ -11,6 +11,7 @@ | |||
| #include <config.h> | ||||
| #include <spl.h> | ||||
| #include <image.h> | ||||
| #include <asm/cache.h> | ||||
| #include <linux/compiler.h> | ||||
| #include <asm/mach-types.h> | ||||
| 
 | ||||
|  |  | |||
|  | @ -5,6 +5,7 @@ | |||
| 
 | ||||
| #include <common.h> | ||||
| #include <cpu_func.h> | ||||
| #include <asm/cache.h> | ||||
| #include <asm/io.h> | ||||
| #include <asm/arch/base.h> | ||||
| #include <asm/arch/mbox.h> | ||||
|  |  | |||
|  | @ -26,6 +26,7 @@ | |||
| #include <common.h> | ||||
| #include <config.h> | ||||
| #include <debug_uart.h> | ||||
| #include <asm/system.h> | ||||
| #include <asm/arch/cpu.h> | ||||
| #include <asm/arch/dmc.h> | ||||
| #include <asm/arch/power.h> | ||||
|  |  | |||
|  | @ -6,6 +6,7 @@ | |||
| 
 | ||||
| #include <common.h> | ||||
| #include <cpu_func.h> | ||||
| #include <asm/cache.h> | ||||
| #include <asm/io.h> | ||||
| #include <asm/system.h> | ||||
| 
 | ||||
|  |  | |||
|  | @ -6,6 +6,7 @@ | |||
| #include <common.h> | ||||
| #include <config.h> | ||||
| 
 | ||||
| #include <asm/cache.h> | ||||
| #include <asm/arch/clock.h> | ||||
| #include <asm/arch/clk.h> | ||||
| #include <asm/arch/dmc.h> | ||||
|  |  | |||
|  | @ -6,6 +6,7 @@ | |||
| #include <common.h> | ||||
| #include <cpu_func.h> | ||||
| #include <asm/armv7.h> | ||||
| #include <asm/cache.h> | ||||
| #include <asm/pl310.h> | ||||
| #include <asm/io.h> | ||||
| #include <asm/mach-imx/sys_proto.h> | ||||
|  |  | |||
|  | @ -8,6 +8,7 @@ | |||
| 
 | ||||
| #include <bootm.h> | ||||
| #include <common.h> | ||||
| #include <net.h> | ||||
| #include <netdev.h> | ||||
| #include <linux/errno.h> | ||||
| #include <asm/io.h> | ||||
|  |  | |||
|  | @ -9,6 +9,7 @@ | |||
| #include <cpu_func.h> | ||||
| #include <dm.h> | ||||
| #include <init.h> | ||||
| #include <asm/cache.h> | ||||
| #include <dm/device-internal.h> | ||||
| #include <dm/lists.h> | ||||
| #include <dm/uclass.h> | ||||
|  |  | |||
|  | @ -11,6 +11,7 @@ | |||
| #include <asm/arch/imx-regs.h> | ||||
| #include <asm/arch/clock.h> | ||||
| #include <asm/arch/sys_proto.h> | ||||
| #include <asm/cache.h> | ||||
| 
 | ||||
| #include <linux/errno.h> | ||||
| #include <asm/io.h> | ||||
|  |  | |||
|  | @ -5,6 +5,7 @@ | |||
|  */ | ||||
| 
 | ||||
| #include <cpu_func.h> | ||||
| #include <asm/cache.h> | ||||
| #include <asm/io.h> | ||||
| #include <asm/psci.h> | ||||
| #include <asm/secure.h> | ||||
|  |  | |||
|  | @ -5,6 +5,7 @@ | |||
| 
 | ||||
| #include <common.h> | ||||
| #include <asm/arch/sys_proto.h> | ||||
| #include <asm/cache.h> | ||||
| 
 | ||||
| unsigned long call_imx_sip(unsigned long id, unsigned long reg0, | ||||
| 			   unsigned long reg1, unsigned long reg2, | ||||
|  |  | |||
|  | @ -12,6 +12,7 @@ | |||
| #include "common.h" | ||||
| #include <dm.h> | ||||
| #include <remoteproc.h> | ||||
| #include <asm/cache.h> | ||||
| #include <linux/soc/ti/ti_sci_protocol.h> | ||||
| #include <fdt_support.h> | ||||
| #include <asm/arch/sys_proto.h> | ||||
|  |  | |||
|  | @ -10,6 +10,7 @@ | |||
| #include <cpu_func.h> | ||||
| #include <dm.h> | ||||
| #include <hang.h> | ||||
| #include <asm/cache.h> | ||||
| #include <linux/soc/ti/ti_sci_protocol.h> | ||||
| #include <mach/spl.h> | ||||
| #include <spl.h> | ||||
|  |  | |||
|  | @ -10,6 +10,7 @@ | |||
| #include <spl.h> | ||||
| #include <malloc.h> | ||||
| #include <remoteproc.h> | ||||
| #include <asm/cache.h> | ||||
| #include <linux/soc/ti/ti_sci_protocol.h> | ||||
| #include <g_dnl.h> | ||||
| #include <usb.h> | ||||
|  |  | |||
|  | @ -9,6 +9,7 @@ | |||
| #include <common.h> | ||||
| #include <cpu_func.h> | ||||
| #include <ns16550.h> | ||||
| #include <asm/cache.h> | ||||
| #include <asm/io.h> | ||||
| #include <asm/arch/msmc.h> | ||||
| #include <asm/arch/clock.h> | ||||
|  |  | |||
|  | @ -5,6 +5,7 @@ | |||
|  */ | ||||
| #include <common.h> | ||||
| #include <asm/arch/cpu.h> | ||||
| #include <asm/cache.h> | ||||
| 
 | ||||
| #define FEROCEON_EXTRA_FEATURE_L2C_EN (1<<22) | ||||
| 
 | ||||
|  |  | |||
|  | @ -9,6 +9,7 @@ | |||
| #include <command.h> | ||||
| #include <cpu_func.h> | ||||
| #include <env.h> | ||||
| #include <net.h> | ||||
| #include <netdev.h> | ||||
| #include <asm/cache.h> | ||||
| #include <asm/io.h> | ||||
|  |  | |||
|  | @ -5,6 +5,7 @@ | |||
| 
 | ||||
| #include <common.h> | ||||
| #include <cpu_func.h> | ||||
| #include <net.h> | ||||
| #include <netdev.h> | ||||
| #include <asm/arch/cpu.h> | ||||
| #include <asm/arch/clk.h> | ||||
|  |  | |||
|  | @ -7,6 +7,7 @@ | |||
| #include <common.h> | ||||
| #include <fdtdec.h> | ||||
| #include <asm/armv8/mmu.h> | ||||
| #include <asm/cache.h> | ||||
| 
 | ||||
| int print_cpuinfo(void) | ||||
| { | ||||
|  |  | |||
|  | @ -14,6 +14,7 @@ | |||
| #include <wdt.h> | ||||
| #include <asm/arch/misc.h> | ||||
| #include <asm/armv8/mmu.h> | ||||
| #include <asm/cache.h> | ||||
| #include <asm/sections.h> | ||||
| #include <dm/uclass.h> | ||||
| #include <dt-bindings/clock/mt8512-clk.h> | ||||
|  |  | |||
|  | @ -13,6 +13,7 @@ | |||
| #include <ram.h> | ||||
| #include <asm/arch/misc.h> | ||||
| #include <asm/armv8/mmu.h> | ||||
| #include <asm/cache.h> | ||||
| #include <asm/sections.h> | ||||
| #include <dm/uclass.h> | ||||
| #include <dt-bindings/clock/mt8516-clk.h> | ||||
|  |  | |||
|  | @ -14,6 +14,7 @@ | |||
| #include <ram.h> | ||||
| #include <asm/arch/misc.h> | ||||
| #include <asm/armv8/mmu.h> | ||||
| #include <asm/cache.h> | ||||
| #include <asm/sections.h> | ||||
| #include <dm/uclass.h> | ||||
| #include <dt-bindings/clock/mt8518-clk.h> | ||||
|  |  | |||
|  | @ -6,6 +6,7 @@ | |||
| 
 | ||||
| #include <common.h> | ||||
| #include <init.h> | ||||
| #include <net.h> | ||||
| #include <asm/arch/boot.h> | ||||
| #include <asm/arch/eth.h> | ||||
| #include <asm/arch/axg.h> | ||||
|  |  | |||
|  | @ -6,8 +6,10 @@ | |||
| #include <common.h> | ||||
| #include <cpu_func.h> | ||||
| #include <init.h> | ||||
| #include <net.h> | ||||
| #include <asm/arch/boot.h> | ||||
| #include <env.h> | ||||
| #include <asm/cache.h> | ||||
| #include <linux/libfdt.h> | ||||
| #include <linux/err.h> | ||||
| #include <asm/arch/mem.h> | ||||
|  |  | |||
|  | @ -6,6 +6,7 @@ | |||
| 
 | ||||
| #include <common.h> | ||||
| #include <init.h> | ||||
| #include <net.h> | ||||
| #include <asm/arch/boot.h> | ||||
| #include <asm/arch/eth.h> | ||||
| #include <asm/arch/g12a.h> | ||||
|  |  | |||
|  | @ -6,6 +6,7 @@ | |||
| 
 | ||||
| #include <common.h> | ||||
| #include <init.h> | ||||
| #include <net.h> | ||||
| #include <asm/arch/boot.h> | ||||
| #include <asm/arch/eth.h> | ||||
| #include <asm/arch/gx.h> | ||||
|  |  | |||
|  | @ -7,6 +7,7 @@ | |||
| 
 | ||||
| #include <common.h> | ||||
| #include <asm/arch/sm.h> | ||||
| #include <asm/cache.h> | ||||
| #include <linux/err.h> | ||||
| #include <linux/kernel.h> | ||||
| #include <dm.h> | ||||
|  |  | |||
|  | @ -7,6 +7,7 @@ | |||
| #include <dm.h> | ||||
| #include <fdtdec.h> | ||||
| #include <init.h> | ||||
| #include <asm/cache.h> | ||||
| #include <linux/libfdt.h> | ||||
| #include <linux/sizes.h> | ||||
| #include <pci.h> | ||||
|  |  | |||
|  | @ -12,6 +12,7 @@ | |||
| #include <debug_uart.h> | ||||
| #include <errno.h> | ||||
| #include <init.h> | ||||
| #include <net.h> | ||||
| #include <ns16550.h> | ||||
| #include <spl.h> | ||||
| #include <asm/arch/cpu.h> | ||||
|  |  | |||
|  | @ -7,6 +7,7 @@ | |||
|  */ | ||||
| 
 | ||||
| #include <common.h> | ||||
| #include <net.h> | ||||
| #include <asm/io.h> | ||||
| #include <asm/arch/am35x_def.h> | ||||
| 
 | ||||
|  |  | |||
|  | @ -10,6 +10,7 @@ | |||
| 
 | ||||
| #include <common.h> | ||||
| #include <cpu_func.h> | ||||
| #include <net.h> | ||||
| #include <netdev.h> | ||||
| #include <asm/cache.h> | ||||
| #include <asm/io.h> | ||||
|  |  | |||
|  | @ -6,6 +6,7 @@ | |||
|  */ | ||||
| 
 | ||||
| #include <cpu_func.h> | ||||
| #include <asm/cache.h> | ||||
| #include <linux/arm-smccc.h> | ||||
| #include <linux/psci.h> | ||||
| #include <common.h> | ||||
|  |  | |||
|  | @ -5,6 +5,7 @@ | |||
|  */ | ||||
| #include <common.h> | ||||
| #include <cpu_func.h> | ||||
| #include <asm/cache.h> | ||||
| #include <asm/io.h> | ||||
| #include <env.h> | ||||
| #include <linux/ctype.h> | ||||
|  |  | |||
|  | @ -7,6 +7,7 @@ | |||
|  */ | ||||
| 
 | ||||
| #include <common.h> | ||||
| #include <net.h> | ||||
| #include <linux/errno.h> | ||||
| #include <netdev.h> | ||||
| 
 | ||||
|  |  | |||
|  | @ -9,6 +9,7 @@ | |||
| #include <init.h> | ||||
| #include <ram.h> | ||||
| #include <syscon.h> | ||||
| #include <asm/cache.h> | ||||
| #include <asm/io.h> | ||||
| #include <asm/arch-rockchip/boot_mode.h> | ||||
| #include <asm/arch-rockchip/clock.h> | ||||
|  |  | |||
|  | @ -7,6 +7,7 @@ | |||
| #include <hang.h> | ||||
| #include <asm/arch-rockchip/bootrom.h> | ||||
| #include <asm/arch-rockchip/boot_mode.h> | ||||
| #include <asm/cache.h> | ||||
| #include <asm/io.h> | ||||
| #include <asm/setjmp.h> | ||||
| #include <asm/system.h> | ||||
|  |  | |||
|  | @ -9,6 +9,7 @@ | |||
| 
 | ||||
| #include <common.h> | ||||
| #include <cpu_func.h> | ||||
| #include <asm/cache.h> | ||||
| 
 | ||||
| #if !CONFIG_IS_ENABLED(SYS_DCACHE_OFF) | ||||
| void enable_caches(void) | ||||
|  |  | |||
|  | @ -6,6 +6,7 @@ | |||
| #include <common.h> | ||||
| #include <cpu_func.h> | ||||
| #include <hang.h> | ||||
| #include <asm/cache.h> | ||||
| #include <asm/io.h> | ||||
| #include <errno.h> | ||||
| #include <fdtdec.h> | ||||
|  |  | |||
|  | @ -8,6 +8,7 @@ | |||
| #include <debug_uart.h> | ||||
| #include <env.h> | ||||
| #include <misc.h> | ||||
| #include <net.h> | ||||
| #include <asm/io.h> | ||||
| #include <asm/arch/stm32.h> | ||||
| #include <asm/arch/sys_proto.h> | ||||
|  |  | |||
|  | @ -6,6 +6,7 @@ | |||
| #include <config.h> | ||||
| #include <common.h> | ||||
| #include <asm/armv7.h> | ||||
| #include <asm/cache.h> | ||||
| #include <asm/gic.h> | ||||
| #include <asm/io.h> | ||||
| #include <asm/psci.h> | ||||
|  |  | |||
|  | @ -8,6 +8,7 @@ | |||
| #include <dm.h> | ||||
| #include <hang.h> | ||||
| #include <spl.h> | ||||
| #include <asm/cache.h> | ||||
| #include <asm/io.h> | ||||
| #include <asm/arch/sys_proto.h> | ||||
| #include <linux/libfdt.h> | ||||
|  |  | |||
|  | @ -15,6 +15,7 @@ | |||
| #include <i2c.h> | ||||
| #include <serial.h> | ||||
| #include <spl.h> | ||||
| #include <asm/cache.h> | ||||
| #include <asm/gpio.h> | ||||
| #include <asm/io.h> | ||||
| #include <asm/arch/clock.h> | ||||
|  |  | |||
|  | @ -10,6 +10,7 @@ | |||
| #include <init.h> | ||||
| #include <ns16550.h> | ||||
| #include <spl.h> | ||||
| #include <asm/cache.h> | ||||
| #include <asm/io.h> | ||||
| #if IS_ENABLED(CONFIG_TEGRA_CLKRST) | ||||
| #include <asm/arch/clock.h> | ||||
|  |  | |||
|  | @ -9,6 +9,7 @@ | |||
| #include <fdtdec.h> | ||||
| #include <hang.h> | ||||
| #include <malloc.h> | ||||
| #include <net.h> | ||||
| #include <stdlib.h> | ||||
| #include <string.h> | ||||
| 
 | ||||
|  |  | |||
|  | @ -8,6 +8,7 @@ | |||
| 
 | ||||
| #include <common.h> | ||||
| #include <errno.h> | ||||
| #include <asm/cache.h> | ||||
| #include <asm/io.h> | ||||
| #include <asm/arch/clock.h> | ||||
| #include <asm/arch/sysctr.h> | ||||
|  |  | |||
|  | @ -6,6 +6,7 @@ | |||
| #include <common.h> | ||||
| #include <cpu_func.h> | ||||
| #include <asm/armv7.h> | ||||
| #include <asm/cache.h> | ||||
| #include <asm/pl310.h> | ||||
| 
 | ||||
| #define PL310_WAY_MASK	0xff | ||||
|  |  | |||
|  | @ -6,6 +6,7 @@ | |||
| 
 | ||||
| #include <common.h> | ||||
| #include <cpu_func.h> | ||||
| #include <asm/cache.h> | ||||
| #include <linux/bitops.h> | ||||
| #include <linux/delay.h> | ||||
| #include <linux/io.h> | ||||
|  |  | |||
|  | @ -6,8 +6,9 @@ | |||
|  */ | ||||
| 
 | ||||
| #include <common.h> | ||||
| #include <dm/of.h> | ||||
| #include <fdt_support.h> | ||||
| #include <net.h> | ||||
| #include <dm/of.h> | ||||
| #include <linux/ctype.h> | ||||
| #include <linux/io.h> | ||||
| 
 | ||||
|  |  | |||
|  | @ -6,6 +6,7 @@ | |||
| 
 | ||||
| #include <common.h> | ||||
| #include <asm/armv8/mmu.h> | ||||
| #include <asm/cache.h> | ||||
| #include <asm/io.h> | ||||
| #include <asm/arch/hardware.h> | ||||
| #include <asm/arch/sys_proto.h> | ||||
|  |  | |||
|  | @ -6,6 +6,7 @@ | |||
| #include <common.h> | ||||
| #include <cpu_func.h> | ||||
| #include <zynqpl.h> | ||||
| #include <asm/cache.h> | ||||
| #include <asm/io.h> | ||||
| #include <asm/arch/clk.h> | ||||
| #include <asm/arch/hardware.h> | ||||
|  |  | |||
|  | @ -9,6 +9,7 @@ | |||
| #include <asm/arch/hardware.h> | ||||
| #include <asm/arch/sys_proto.h> | ||||
| #include <asm/armv8/mmu.h> | ||||
| #include <asm/cache.h> | ||||
| #include <asm/io.h> | ||||
| #include <zynqmp_firmware.h> | ||||
| #include <asm/cache.h> | ||||
|  |  | |||
|  | @ -9,6 +9,7 @@ | |||
|  */ | ||||
| 
 | ||||
| #include <common.h> | ||||
| #include <net.h> | ||||
| #include <vsprintf.h> | ||||
| #include <watchdog.h> | ||||
| #include <command.h> | ||||
|  |  | |||
|  | @ -14,6 +14,7 @@ | |||
|  */ | ||||
| 
 | ||||
| #include <common.h> | ||||
| #include <net.h> | ||||
| #include <vsprintf.h> | ||||
| #include <watchdog.h> | ||||
| #include <command.h> | ||||
|  |  | |||
|  | @ -9,6 +9,7 @@ | |||
|  */ | ||||
| 
 | ||||
| #include <common.h> | ||||
| #include <net.h> | ||||
| #include <vsprintf.h> | ||||
| #include <watchdog.h> | ||||
| #include <command.h> | ||||
|  |  | |||
|  | @ -9,6 +9,7 @@ | |||
|  */ | ||||
| 
 | ||||
| #include <common.h> | ||||
| #include <net.h> | ||||
| #include <vsprintf.h> | ||||
| #include <watchdog.h> | ||||
| #include <command.h> | ||||
|  |  | |||
|  | @ -9,6 +9,7 @@ | |||
|  */ | ||||
| 
 | ||||
| #include <common.h> | ||||
| #include <net.h> | ||||
| #include <vsprintf.h> | ||||
| #include <watchdog.h> | ||||
| #include <command.h> | ||||
|  |  | |||
|  | @ -8,6 +8,7 @@ | |||
| #include <common.h> | ||||
| #include <cpu_func.h> | ||||
| #include <asm/asm.h> | ||||
| #include <asm/cache.h> | ||||
| 
 | ||||
| int dcache_status(void) | ||||
| { | ||||
|  |  | |||
|  | @ -14,6 +14,7 @@ | |||
| #include <fdt_support.h> | ||||
| #include <hang.h> | ||||
| #include <image.h> | ||||
| #include <asm/cache.h> | ||||
| #include <u-boot/zlib.h> | ||||
| #include <asm/byteorder.h> | ||||
| 
 | ||||
|  |  | |||
|  | @ -8,6 +8,8 @@ | |||
| #ifndef	__ASM_CACHEOPS_H | ||||
| #define	__ASM_CACHEOPS_H | ||||
| 
 | ||||
| #include <asm/cache.h> | ||||
| 
 | ||||
| #ifndef __ASSEMBLY__ | ||||
| 
 | ||||
| static inline void mips_cache(int op, const volatile void *addr) | ||||
|  |  | |||
|  | @ -6,6 +6,7 @@ | |||
| 
 | ||||
| #include <common.h> | ||||
| #include <cpu_func.h> | ||||
| #include <asm/cache.h> | ||||
| #include <asm/cacheops.h> | ||||
| #ifdef CONFIG_MIPS_L2_CACHE | ||||
| #include <asm/cm.h> | ||||
|  |  | |||
|  | @ -8,6 +8,7 @@ | |||
| #include <common.h> | ||||
| #include <cpu_func.h> | ||||
| #if !(CONFIG_IS_ENABLED(SYS_ICACHE_OFF) && CONFIG_IS_ENABLED(SYS_DCACHE_OFF)) | ||||
| #include <asm/cache.h> | ||||
| static inline unsigned long CACHE_SET(unsigned char cache) | ||||
| { | ||||
| 	if (cache == ICACHE) | ||||
|  |  | |||
|  | @ -12,6 +12,7 @@ | |||
| #include <common.h> | ||||
| #include <cpu_func.h> | ||||
| #include <irq_func.h> | ||||
| #include <net.h> | ||||
| #include <time.h> | ||||
| #include <vsprintf.h> | ||||
| #include <watchdog.h> | ||||
|  |  | |||
|  | @ -12,6 +12,7 @@ | |||
| #include <common.h> | ||||
| #include <env.h> | ||||
| #include <init.h> | ||||
| #include <net.h> | ||||
| #include <watchdog.h> | ||||
| #include <asm/processor.h> | ||||
| #include <ioports.h> | ||||
|  |  | |||
Some files were not shown because too many files have changed in this diff Show More
		Loading…
	
		Reference in New Issue