global: Make <asm/global_data.h> include <asm/u-boot.h>

This follows the example of RISC-V where <asm/global_data.h> includes
<asm/u-boot.h> directly as "gd" includes a reference to bd_info already
and so the first must include the second anyhow. We then remove
<asm/u-boot.h> from all of the places which include references to "gd"
an so have <asm/global_data.h> already.

Signed-off-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
Tom Rini
2024-04-30 20:40:48 -06:00
parent 7410cde67d
commit 6a7185887b
104 changed files with 48 additions and 88 deletions

View File

@@ -12,7 +12,6 @@
#include <linux/types.h> #include <linux/types.h>
#include <api_public.h> #include <api_public.h>
#include <asm/u-boot.h>
#include <asm/global_data.h> #include <asm/global_data.h>
#include "api_private.h" #include "api_private.h"

View File

@@ -9,7 +9,6 @@
#include <linux/types.h> #include <linux/types.h>
#include <api_public.h> #include <api_public.h>
#include <asm/u-boot.h>
#include <asm/global_data.h> #include <asm/global_data.h>
#include "api_private.h" #include "api_private.h"

View File

@@ -12,7 +12,6 @@
#include <linux/types.h> #include <linux/types.h>
#include <api_public.h> #include <api_public.h>
#include <asm/u-boot.h>
#include <asm/global_data.h> #include <asm/global_data.h>
#include "api_private.h" #include "api_private.h"

View File

@@ -6,6 +6,8 @@
#ifndef __ASM_ARC_GLOBAL_DATA_H #ifndef __ASM_ARC_GLOBAL_DATA_H
#define __ASM_ARC_GLOBAL_DATA_H #define __ASM_ARC_GLOBAL_DATA_H
#include <asm/u-boot.h>
#ifndef __ASSEMBLY__ #ifndef __ASSEMBLY__
/* Architecture-specific global data */ /* Architecture-specific global data */
struct arch_global_data { struct arch_global_data {

View File

@@ -12,6 +12,7 @@
#include <config.h> #include <config.h>
#include <linux/types.h> #include <linux/types.h>
#include <asm/u-boot.h>
/* Architecture-specific global data */ /* Architecture-specific global data */
struct arch_global_data { struct arch_global_data {

View File

@@ -9,7 +9,6 @@
#include <config.h> #include <config.h>
#include <init.h> #include <init.h>
#include <asm/global_data.h> #include <asm/global_data.h>
#include <asm/u-boot.h>
#include <asm/mach-types.h> #include <asm/mach-types.h>
DECLARE_GLOBAL_DATA_PTR; DECLARE_GLOBAL_DATA_PTR;

View File

@@ -7,7 +7,6 @@
#include <cpu_func.h> #include <cpu_func.h>
#include <log.h> #include <log.h>
#include <asm/global_data.h> #include <asm/global_data.h>
#include <asm/u-boot.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>

View File

@@ -9,7 +9,6 @@
#include <init.h> #include <init.h>
#include <asm/arch/hardware.h> #include <asm/arch/hardware.h>
#include <asm/global_data.h> #include <asm/global_data.h>
#include <asm/u-boot.h>
#include <asm/io.h> #include <asm/io.h>
DECLARE_GLOBAL_DATA_PTR; DECLARE_GLOBAL_DATA_PTR;

View File

@@ -16,7 +16,6 @@
#include <net.h> #include <net.h>
#include <asm/arch/hardware.h> #include <asm/arch/hardware.h>
#include <asm/global_data.h> #include <asm/global_data.h>
#include <asm/u-boot.h>
#include <asm/io.h> #include <asm/io.h>
#include <asm/arch/davinci_misc.h> #include <asm/arch/davinci_misc.h>

View File

@@ -7,7 +7,6 @@
#include <hang.h> #include <hang.h>
#include <init.h> #include <init.h>
#include <spl.h> #include <spl.h>
#include <asm/u-boot.h>
#include <asm/utils.h> #include <asm/utils.h>
#include <nand.h> #include <nand.h>
#include <asm/arch/dm365_lowlevel.h> #include <asm/arch/dm365_lowlevel.h>

View File

@@ -14,7 +14,6 @@
#include <console.h> #include <console.h>
#include <cpu_func.h> #include <cpu_func.h>
#include <asm/global_data.h> #include <asm/global_data.h>
#include <asm/u-boot.h>
DECLARE_GLOBAL_DATA_PTR; DECLARE_GLOBAL_DATA_PTR;

View File

@@ -6,7 +6,6 @@
#include <init.h> #include <init.h>
#include <asm/global_data.h> #include <asm/global_data.h>
#include <asm/u-boot.h>
DECLARE_GLOBAL_DATA_PTR; DECLARE_GLOBAL_DATA_PTR;

View File

@@ -9,7 +9,6 @@
#include <asm/armv8/mmu.h> #include <asm/armv8/mmu.h>
#include <asm/system.h> #include <asm/system.h>
#include <asm/global_data.h> #include <asm/global_data.h>
#include <asm/u-boot.h>
#include <linux/sizes.h> #include <linux/sizes.h>
DECLARE_GLOBAL_DATA_PTR; DECLARE_GLOBAL_DATA_PTR;

View File

@@ -9,7 +9,6 @@
#include <asm/armv8/mmu.h> #include <asm/armv8/mmu.h>
#include <asm/system.h> #include <asm/system.h>
#include <asm/global_data.h> #include <asm/global_data.h>
#include <asm/u-boot.h>
#include <linux/sizes.h> #include <linux/sizes.h>
DECLARE_GLOBAL_DATA_PTR; DECLARE_GLOBAL_DATA_PTR;

View File

@@ -9,7 +9,6 @@
#include <asm/armv8/mmu.h> #include <asm/armv8/mmu.h>
#include <asm/system.h> #include <asm/system.h>
#include <asm/global_data.h> #include <asm/global_data.h>
#include <asm/u-boot.h>
#include <linux/sizes.h> #include <linux/sizes.h>
DECLARE_GLOBAL_DATA_PTR; DECLARE_GLOBAL_DATA_PTR;

View File

@@ -8,7 +8,6 @@
#include <init.h> #include <init.h>
#include <asm/armv8/mmu.h> #include <asm/armv8/mmu.h>
#include <asm/global_data.h> #include <asm/global_data.h>
#include <asm/u-boot.h>
#include <asm/system.h> #include <asm/system.h>
DECLARE_GLOBAL_DATA_PTR; DECLARE_GLOBAL_DATA_PTR;

View File

@@ -7,7 +7,6 @@
#include <asm/arch/cpu.h> #include <asm/arch/cpu.h>
#include <asm/arch/soc.h> #include <asm/arch/soc.h>
#include <asm/global_data.h> #include <asm/global_data.h>
#include <asm/u-boot.h>
#include <asm/ptrace.h> #include <asm/ptrace.h>
#include <asm/system.h> #include <asm/system.h>
#include <linux/sizes.h> #include <linux/sizes.h>

View File

@@ -8,7 +8,6 @@
#include <config.h> #include <config.h>
#include <init.h> #include <init.h>
#include <asm/global_data.h> #include <asm/global_data.h>
#include <asm/u-boot.h>
#include <asm/io.h> #include <asm/io.h>
#include <asm/arch/cpu.h> #include <asm/arch/cpu.h>
#include <asm/arch/soc.h> #include <asm/arch/soc.h>

View File

@@ -16,7 +16,6 @@
#include <linux/string.h> #include <linux/string.h>
#include <asm/cache.h> #include <asm/cache.h>
#include <asm/global_data.h> #include <asm/global_data.h>
#include <asm/u-boot.h>
DECLARE_GLOBAL_DATA_PTR; DECLARE_GLOBAL_DATA_PTR;

View File

@@ -12,7 +12,6 @@
#include <config.h> #include <config.h>
#include <init.h> #include <init.h>
#include <asm/global_data.h> #include <asm/global_data.h>
#include <asm/u-boot.h>
#include <asm/io.h> #include <asm/io.h>
#include <asm/arch/mem.h> #include <asm/arch/mem.h>
#include <asm/arch/sys_proto.h> #include <asm/arch/sys_proto.h>

View File

@@ -23,7 +23,6 @@
#include <init.h> #include <init.h>
#include <asm/global_data.h> #include <asm/global_data.h>
#include <asm/u-boot.h>
#include <asm/io.h> #include <asm/io.h>
#include <asm/arch/mem.h> #include <asm/arch/mem.h>
#include <asm/arch/sys_proto.h> #include <asm/arch/sys_proto.h>

View File

@@ -10,7 +10,6 @@
#include <init.h> #include <init.h>
#include <asm/cache.h> #include <asm/cache.h>
#include <asm/global_data.h> #include <asm/global_data.h>
#include <asm/u-boot.h>
#include <linux/arm-smccc.h> #include <linux/arm-smccc.h>
#include <linux/psci.h> #include <linux/psci.h>
#include <asm/io.h> #include <asm/io.h>

View File

@@ -7,7 +7,6 @@
#include <asm/armv8/mmu.h> #include <asm/armv8/mmu.h>
#include <asm/global_data.h> #include <asm/global_data.h>
#include <asm/u-boot.h>
#include <cpu_func.h> #include <cpu_func.h>
#define GEN3_NR_REGIONS 16 #define GEN3_NR_REGIONS 16

View File

@@ -8,7 +8,6 @@
#include <asm/armv8/mmu.h> #include <asm/armv8/mmu.h>
#include <asm/global_data.h> #include <asm/global_data.h>
#include <asm/u-boot.h>
#include <cpu_func.h> #include <cpu_func.h>
#define RZG2L_NR_REGIONS 16 #define RZG2L_NR_REGIONS 16

View File

@@ -6,7 +6,6 @@
#include <asm/arch/clock_manager.h> #include <asm/arch/clock_manager.h>
#include <asm/arch/system_manager.h> #include <asm/arch/system_manager.h>
#include <asm/global_data.h> #include <asm/global_data.h>
#include <asm/u-boot.h>
#include <asm/io.h> #include <asm/io.h>
#include <command.h> #include <command.h>
#include <init.h> #include <init.h>

View File

@@ -16,7 +16,6 @@
#include <vsprintf.h> #include <vsprintf.h>
#include <asm/global_data.h> #include <asm/global_data.h>
#include <asm/io.h> #include <asm/io.h>
#include <asm/u-boot.h>
#include <linux/kernel.h> #include <linux/kernel.h>
#include <linux/string.h> #include <linux/string.h>
#include <linux/types.h> #include <linux/types.h>

View File

@@ -10,7 +10,6 @@
#include <asm/global_data.h> #include <asm/global_data.h>
#include <asm/io.h> #include <asm/io.h>
#include <asm/pl310.h> #include <asm/pl310.h>
#include <asm/u-boot.h>
#include <asm/utils.h> #include <asm/utils.h>
#include <image.h> #include <image.h>
#include <asm/arch/reset_manager.h> #include <asm/arch/reset_manager.h>

View File

@@ -8,7 +8,6 @@
#include <log.h> #include <log.h>
#include <asm/global_data.h> #include <asm/global_data.h>
#include <asm/io.h> #include <asm/io.h>
#include <asm/u-boot.h>
#include <asm/utils.h> #include <asm/utils.h>
#include <hang.h> #include <hang.h>
#include <image.h> #include <image.h>

View File

@@ -8,7 +8,6 @@
#include <log.h> #include <log.h>
#include <asm/global_data.h> #include <asm/global_data.h>
#include <asm/io.h> #include <asm/io.h>
#include <asm/u-boot.h>
#include <asm/utils.h> #include <asm/utils.h>
#include <image.h> #include <image.h>
#include <asm/arch/reset_manager.h> #include <asm/arch/reset_manager.h>

View File

@@ -12,7 +12,6 @@
#include <asm/arch/system_manager.h> #include <asm/arch/system_manager.h>
#include <asm/global_data.h> #include <asm/global_data.h>
#include <asm/io.h> #include <asm/io.h>
#include <asm/u-boot.h>
#include <asm/utils.h> #include <asm/utils.h>
#include <dm/uclass.h> #include <dm/uclass.h>
#include <hang.h> #include <hang.h>

View File

@@ -9,7 +9,6 @@
#include <log.h> #include <log.h>
#include <asm/global_data.h> #include <asm/global_data.h>
#include <asm/io.h> #include <asm/io.h>
#include <asm/u-boot.h>
#include <asm/utils.h> #include <asm/utils.h>
#include <debug_uart.h> #include <debug_uart.h>
#include <image.h> #include <image.h>

View File

@@ -12,7 +12,6 @@
#include <linux/printk.h> #include <linux/printk.h>
#include <linux/sizes.h> #include <linux/sizes.h>
#include <asm/global_data.h> #include <asm/global_data.h>
#include <asm/u-boot.h>
#include "init.h" #include "init.h"
#include "sg-regs.h" #include "sg-regs.h"

View File

@@ -9,7 +9,6 @@
#include <init.h> #include <init.h>
#include <time.h> #include <time.h>
#include <asm/global_data.h> #include <asm/global_data.h>
#include <asm/u-boot.h>
DECLARE_GLOBAL_DATA_PTR; DECLARE_GLOBAL_DATA_PTR;

View File

@@ -10,7 +10,6 @@
#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/global_data.h>
#include <asm/u-boot.h>
#include <asm/io.h> #include <asm/io.h>
#include <asm/arch/hardware.h> #include <asm/arch/hardware.h>
#include <asm/arch/sys_proto.h> #include <asm/arch/sys_proto.h>

View File

@@ -7,7 +7,6 @@
#include <init.h> #include <init.h>
#include <time.h> #include <time.h>
#include <asm/global_data.h> #include <asm/global_data.h>
#include <asm/u-boot.h>
DECLARE_GLOBAL_DATA_PTR; DECLARE_GLOBAL_DATA_PTR;

View File

@@ -8,7 +8,6 @@
#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/global_data.h>
#include <asm/u-boot.h>
#include <asm/io.h> #include <asm/io.h>
#include <asm/arch/hardware.h> #include <asm/arch/hardware.h>
#include <asm/arch/sys_proto.h> #include <asm/arch/sys_proto.h>

View File

@@ -10,7 +10,6 @@
#include <asm/arch/hardware.h> #include <asm/arch/hardware.h>
#include <asm/arch/sys_proto.h> #include <asm/arch/sys_proto.h>
#include <asm/global_data.h> #include <asm/global_data.h>
#include <asm/u-boot.h>
DECLARE_GLOBAL_DATA_PTR; DECLARE_GLOBAL_DATA_PTR;

View File

@@ -13,7 +13,6 @@
#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/global_data.h>
#include <asm/u-boot.h>
#include <asm/io.h> #include <asm/io.h>
#include <zynqmp_firmware.h> #include <zynqmp_firmware.h>
#include <asm/cache.h> #include <asm/cache.h>

View File

@@ -7,6 +7,8 @@
#ifndef __ASM_GBL_DATA_H #ifndef __ASM_GBL_DATA_H
#define __ASM_GBL_DATA_H #define __ASM_GBL_DATA_H
#include <asm/u-boot.h>
/* Architecture-specific global data */ /* Architecture-specific global data */
struct arch_global_data { struct arch_global_data {
#ifdef CONFIG_SYS_I2C_FSL #ifdef CONFIG_SYS_I2C_FSL

View File

@@ -8,7 +8,6 @@
#include <config.h> #include <config.h>
#include <init.h> #include <init.h>
#include <asm/u-boot.h>
#include <asm/global_data.h> #include <asm/global_data.h>
DECLARE_GLOBAL_DATA_PTR; DECLARE_GLOBAL_DATA_PTR;

View File

@@ -10,7 +10,6 @@
#include <log.h> #include <log.h>
#include <spl.h> #include <spl.h>
#include <asm/io.h> #include <asm/io.h>
#include <asm/u-boot.h>
#include <linux/stringify.h> #include <linux/stringify.h>
void board_boot_order(u32 *spl_boot_list) void board_boot_order(u32 *spl_boot_list)

View File

@@ -9,6 +9,7 @@
#define __ASM_GBL_DATA_H #define __ASM_GBL_DATA_H
#include <asm/cpuinfo.h> #include <asm/cpuinfo.h>
#include <asm/u-boot.h>
/* Architecture-specific global data */ /* Architecture-specific global data */
struct arch_global_data { struct arch_global_data {

View File

@@ -9,6 +9,7 @@
#include <linux/types.h> #include <linux/types.h>
#include <asm/regdef.h> #include <asm/regdef.h>
#include <asm/u-boot.h>
struct octeon_eeprom_mac_addr { struct octeon_eeprom_mac_addr {
u8 mac_addr_base[6]; u8 mac_addr_base[6];

View File

@@ -20,7 +20,6 @@
#include <asm/mipsregs.h> #include <asm/mipsregs.h>
#include <asm/addrspace.h> #include <asm/addrspace.h>
#include <asm/system.h> #include <asm/system.h>
#include <asm/u-boot.h>
DECLARE_GLOBAL_DATA_PTR; DECLARE_GLOBAL_DATA_PTR;

View File

@@ -7,6 +7,7 @@
#define __ASM_NIOS2_GLOBALDATA_H_ #define __ASM_NIOS2_GLOBALDATA_H_
#include <linux/types.h> #include <linux/types.h>
#include <asm/u-boot.h>
/* Architecture-specific global data */ /* Architecture-specific global data */
struct arch_global_data { struct arch_global_data {

View File

@@ -6,7 +6,6 @@
* Copyright 2004 Freescale Semiconductor, Inc. * Copyright 2004 Freescale Semiconductor, Inc.
*/ */
#include <asm/u-boot.h>
#include <command.h> #include <command.h>
#include <irq_func.h> #include <irq_func.h>
#include <mpc83xx.h> #include <mpc83xx.h>

View File

@@ -7,7 +7,6 @@
* Anton Vorontsov <avorontsov@ru.mvista.com> * Anton Vorontsov <avorontsov@ru.mvista.com>
*/ */
#include <asm/u-boot.h>
#include <clock_legacy.h> #include <clock_legacy.h>
#include <pci.h> #include <pci.h>
#include <mpc83xx.h> #include <mpc83xx.h>

View File

@@ -12,7 +12,6 @@
#ifndef CONFIG_MPC83XX_SDRAM #ifndef CONFIG_MPC83XX_SDRAM
#include <asm/u-boot.h>
#include <cpu_func.h> #include <cpu_func.h>
#include <log.h> #include <log.h>
#include <time.h> #include <time.h>

View File

@@ -8,7 +8,6 @@
#ifndef CONFIG_CLK_MPC83XX #ifndef CONFIG_CLK_MPC83XX
#include <asm/u-boot.h>
#include <clock_legacy.h> #include <clock_legacy.h>
#include <mpc83xx.h> #include <mpc83xx.h>
#include <command.h> #include <command.h>

View File

@@ -4,6 +4,7 @@
*/ */
#include <config.h> #include <config.h>
#include <linux/kernel.h>
#include <asm/fsl_portals.h> #include <asm/fsl_portals.h>
#include <asm/fsl_liodn.h> #include <asm/fsl_liodn.h>

View File

@@ -3,7 +3,6 @@
* Copyright 2010-2011 Freescale Semiconductor, Inc. * Copyright 2010-2011 Freescale Semiconductor, Inc.
*/ */
#include <asm/u-boot.h>
#include <command.h> #include <command.h>
#include <init.h> #include <init.h>
#include <linux/compiler.h> #include <linux/compiler.h>

View File

@@ -3,7 +3,6 @@
* Copyright 2012 Freescale Semiconductor, Inc. * Copyright 2012 Freescale Semiconductor, Inc.
*/ */
#include <asm/u-boot.h>
#include <log.h> #include <log.h>
#include <asm/fsl_serdes.h> #include <asm/fsl_serdes.h>
#include <asm/immap_85xx.h> #include <asm/immap_85xx.h>

View File

@@ -3,7 +3,8 @@
* Copyright 2011 Freescale Semiconductor, Inc. * Copyright 2011 Freescale Semiconductor, Inc.
*/ */
#include <asm/u-boot.h> #include <config.h>
#include <linux/kernel.h>
#include <asm/fsl_portals.h> #include <asm/fsl_portals.h>
#include <asm/fsl_liodn.h> #include <asm/fsl_liodn.h>

View File

@@ -3,7 +3,6 @@
* Copyright 2010-2011 Freescale Semiconductor, Inc. * Copyright 2010-2011 Freescale Semiconductor, Inc.
*/ */
#include <asm/u-boot.h>
#include <asm/fsl_serdes.h> #include <asm/fsl_serdes.h>
#include <asm/processor.h> #include <asm/processor.h>
#include <asm/io.h> #include <asm/io.h>

View File

@@ -4,6 +4,7 @@
*/ */
#include <config.h> #include <config.h>
#include <linux/kernel.h>
#include <asm/fsl_portals.h> #include <asm/fsl_portals.h>
#include <asm/fsl_liodn.h> #include <asm/fsl_liodn.h>

View File

@@ -4,6 +4,7 @@
*/ */
#include <config.h> #include <config.h>
#include <linux/kernel.h>
#include <asm/fsl_portals.h> #include <asm/fsl_portals.h>
#include <asm/fsl_liodn.h> #include <asm/fsl_liodn.h>

View File

@@ -4,6 +4,7 @@
*/ */
#include <config.h> #include <config.h>
#include <linux/kernel.h>
#include <asm/fsl_portals.h> #include <asm/fsl_portals.h>
#include <asm/fsl_liodn.h> #include <asm/fsl_liodn.h>

View File

@@ -9,7 +9,6 @@
* Wolfgang Denk, DENX Software Engineering, wd@denx.de. * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
*/ */
#include <asm/u-boot.h>
#include <cpu_func.h> #include <cpu_func.h>
#include <clock_legacy.h> #include <clock_legacy.h>
#include <ppc_asm.tmpl> #include <ppc_asm.tmpl>

View File

@@ -3,7 +3,6 @@
* Copyright 2009 Freescale Semiconductor, Inc. * Copyright 2009 Freescale Semiconductor, Inc.
*/ */
#include <asm/u-boot.h>
#include <asm/processor.h> #include <asm/processor.h>
#include <asm/global_data.h> #include <asm/global_data.h>
#include <fsl_ifc.h> #include <fsl_ifc.h>

View File

@@ -3,7 +3,8 @@
* Copyright 2014 Freescale Semiconductor, Inc. * Copyright 2014 Freescale Semiconductor, Inc.
*/ */
#include <asm/u-boot.h> #include <config.h>
#include <linux/kernel.h>
#include <asm/fsl_portals.h> #include <asm/fsl_portals.h>
#include <asm/fsl_liodn.h> #include <asm/fsl_liodn.h>

View File

@@ -3,7 +3,6 @@
* Copyright 2014 Freescale Semiconductor, Inc. * Copyright 2014 Freescale Semiconductor, Inc.
*/ */
#include <asm/u-boot.h>
#include <asm/fsl_serdes.h> #include <asm/fsl_serdes.h>
#include <asm/processor.h> #include <asm/processor.h>
#include <asm/io.h> #include <asm/io.h>

View File

@@ -3,7 +3,8 @@
* Copyright 2012 Freescale Semiconductor, Inc. * Copyright 2012 Freescale Semiconductor, Inc.
*/ */
#include <asm/u-boot.h> #include <config.h>
#include <linux/kernel.h>
#include <asm/fsl_portals.h> #include <asm/fsl_portals.h>
#include <asm/fsl_liodn.h> #include <asm/fsl_liodn.h>

View File

@@ -3,10 +3,11 @@
* Copyright 2012 Freescale Semiconductor, Inc. * Copyright 2012 Freescale Semiconductor, Inc.
*/ */
#include <asm/u-boot.h> #include <linux/kernel.h>
#include <asm/fsl_serdes.h> #include <asm/fsl_serdes.h>
#include <asm/processor.h> #include <asm/processor.h>
#include <asm/io.h> #include <asm/io.h>
#include <asm/ppc.h>
static u8 serdes_cfg_tbl[][SRDS_MAX_LANES] = { static u8 serdes_cfg_tbl[][SRDS_MAX_LANES] = {

View File

@@ -3,7 +3,8 @@
* Copyright 2013 Freescale Semiconductor, Inc. * Copyright 2013 Freescale Semiconductor, Inc.
*/ */
#include <asm/u-boot.h> #include <config.h>
#include <linux/kernel.h>
#include <asm/fsl_portals.h> #include <asm/fsl_portals.h>
#include <asm/fsl_liodn.h> #include <asm/fsl_liodn.h>

View File

@@ -5,9 +5,10 @@
* Shengzhou Liu <Shengzhou.Liu@freescale.com> * Shengzhou Liu <Shengzhou.Liu@freescale.com>
*/ */
#include <asm/u-boot.h> #include <linux/kernel.h>
#include <asm/fsl_serdes.h> #include <asm/fsl_serdes.h>
#include <asm/processor.h> #include <asm/processor.h>
#include <asm/ppc.h>
#include "fsl_corenet2_serdes.h" #include "fsl_corenet2_serdes.h"
struct serdes_config { struct serdes_config {

View File

@@ -3,7 +3,8 @@
* Copyright 2012 Freescale Semiconductor, Inc. * Copyright 2012 Freescale Semiconductor, Inc.
*/ */
#include <asm/u-boot.h> #include <config.h>
#include <linux/kernel.h>
#include <asm/fsl_portals.h> #include <asm/fsl_portals.h>
#include <asm/fsl_liodn.h> #include <asm/fsl_liodn.h>

View File

@@ -3,7 +3,6 @@
* Copyright 2012 Freescale Semiconductor, Inc. * Copyright 2012 Freescale Semiconductor, Inc.
*/ */
#include <asm/u-boot.h>
#include <asm/fsl_serdes.h> #include <asm/fsl_serdes.h>
#include <asm/processor.h> #include <asm/processor.h>
#include <asm/io.h> #include <asm/io.h>

View File

@@ -3,7 +3,6 @@
* Copyright 2010-2011 Freescale Semiconductor, Inc. * Copyright 2010-2011 Freescale Semiconductor, Inc.
*/ */
#include <asm/u-boot.h>
#include <hang.h> #include <hang.h>
#include <init.h> #include <init.h>
#include <asm/fsl_lbc.h> #include <asm/fsl_lbc.h>

View File

@@ -5,12 +5,14 @@
* Copyright 2012-2016 Freescale Semiconductor, Inc. * Copyright 2012-2016 Freescale Semiconductor, Inc.
*/ */
#include <asm/u-boot.h> #include <config.h>
#include <log.h> #include <log.h>
#include <linux/bitops.h> #include <linux/bitops.h>
#include <linux/log2.h> #include <linux/log2.h>
#include <malloc.h> #include <malloc.h>
#include <asm/fsl_pamu.h> #include <asm/fsl_pamu.h>
#include <asm/io.h>
#include <asm/ppc.h>
struct paace *ppaact; struct paace *ppaact;
struct paace *sec; struct paace *sec;

View File

@@ -6,7 +6,6 @@
* Wolfgang Denk, DENX Software Engineering, wd@denx.de. * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
*/ */
#include <asm/u-boot.h>
#include <display_options.h> #include <display_options.h>
#include <asm/bitops.h> #include <asm/bitops.h>
#include <asm/global_data.h> #include <asm/global_data.h>

View File

@@ -3,7 +3,6 @@
* Copyright 2012-2016 Freescale Semiconductor, Inc. * Copyright 2012-2016 Freescale Semiconductor, Inc.
*/ */
#include <asm/u-boot.h>
#include <log.h> #include <log.h>
#include <asm/fsl_pamu.h> #include <asm/fsl_pamu.h>
#include <asm/global_data.h> #include <asm/global_data.h>

View File

@@ -3,12 +3,13 @@
* Copyright 2011 Freescale Semiconductor, Inc. * Copyright 2011 Freescale Semiconductor, Inc.
*/ */
#include <asm/u-boot.h> #include <config.h>
#include <log.h> #include <log.h>
#include <time.h> #include <time.h>
#include <asm/fsl_law.h> #include <asm/fsl_law.h>
#include <asm/fsl_serdes.h> #include <asm/fsl_serdes.h>
#include <asm/fsl_srio.h> #include <asm/fsl_srio.h>
#include <asm/ppc.h>
#include <linux/delay.h> #include <linux/delay.h>
#include <linux/errno.h> #include <linux/errno.h>

View File

@@ -6,7 +6,9 @@
#ifndef _FSL_LIODN_H_ #ifndef _FSL_LIODN_H_
#define _FSL_LIODN_H_ #define _FSL_LIODN_H_
#include <asm/types.h> #include <config.h>
#include <linux/types.h>
#include <asm/ppc.h>
#include <fsl_qbman.h> #include <fsl_qbman.h>
struct srio_liodn_id_table { struct srio_liodn_id_table {

View File

@@ -6,6 +6,8 @@
#ifndef _FSL_PORTALS_H_ #ifndef _FSL_PORTALS_H_
#define _FSL_PORTALS_H_ #define _FSL_PORTALS_H_
#include <linux/types.h>
/* entries must be in order and contiguous */ /* entries must be in order and contiguous */
enum fsl_dpaa_dev { enum fsl_dpaa_dev {
FSL_HW_PORTAL_SEC, FSL_HW_PORTAL_SEC,

View File

@@ -93,4 +93,6 @@ struct arch_global_data {
#define DECLARE_GLOBAL_DATA_PTR register volatile gd_t *gd asm ("r2") #define DECLARE_GLOBAL_DATA_PTR register volatile gd_t *gd asm ("r2")
#include <asm/u-boot.h>
#endif /* __ASM_GBL_DATA_H */ #endif /* __ASM_GBL_DATA_H */

View File

@@ -8,7 +8,6 @@
#include <init.h> #include <init.h>
#include <asm/global_data.h> #include <asm/global_data.h>
#include <asm/u-boot.h>
DECLARE_GLOBAL_DATA_PTR; DECLARE_GLOBAL_DATA_PTR;

View File

@@ -4,7 +4,8 @@
* Rick Chen, Andes Technology Corporation <rick@andestech.com> * Rick Chen, Andes Technology Corporation <rick@andestech.com>
*/ */
#include <asm/u-boot.h> #include <linux/types.h>
#include <asm/u-boot-riscv.h>
unsigned long do_go_exec(ulong (*entry)(int, char * const []), unsigned long do_go_exec(ulong (*entry)(int, char * const []),
int argc, char *const argv[]) int argc, char *const argv[])

View File

@@ -10,6 +10,7 @@
#define __ASM_GBL_DATA_H #define __ASM_GBL_DATA_H
#include <linux/types.h> #include <linux/types.h>
#include <asm/u-boot.h>
/* Architecture-specific global data */ /* Architecture-specific global data */
struct arch_global_data { struct arch_global_data {

View File

@@ -10,6 +10,8 @@
#ifndef __ASM_SH_GLOBALDATA_H_ #ifndef __ASM_SH_GLOBALDATA_H_
#define __ASM_SH_GLOBALDATA_H_ #define __ASM_SH_GLOBALDATA_H_
#include <asm/u-boot.h>
/* Architecture-specific global data */ /* Architecture-specific global data */
struct arch_global_data { struct arch_global_data {
}; };

View File

@@ -9,7 +9,6 @@
#include <asm/e820.h> #include <asm/e820.h>
#include <asm/cb_sysinfo.h> #include <asm/cb_sysinfo.h>
#include <asm/global_data.h> #include <asm/global_data.h>
#include <asm/u-boot.h>
DECLARE_GLOBAL_DATA_PTR; DECLARE_GLOBAL_DATA_PTR;

View File

@@ -16,7 +16,6 @@
#include <asm/e820.h> #include <asm/e820.h>
#include <asm/global_data.h> #include <asm/global_data.h>
#include <asm/post.h> #include <asm/post.h>
#include <asm/u-boot.h>
#include <asm/u-boot-x86.h> #include <asm/u-boot-x86.h>
DECLARE_GLOBAL_DATA_PTR; DECLARE_GLOBAL_DATA_PTR;

View File

@@ -6,7 +6,6 @@
#include <efi.h> #include <efi.h>
#include <init.h> #include <init.h>
#include <asm/global_data.h> #include <asm/global_data.h>
#include <asm/u-boot.h>
#include <asm/u-boot-x86.h> #include <asm/u-boot-x86.h>
DECLARE_GLOBAL_DATA_PTR; DECLARE_GLOBAL_DATA_PTR;

View File

@@ -5,7 +5,6 @@
#include <init.h> #include <init.h>
#include <asm/global_data.h> #include <asm/global_data.h>
#include <asm/u-boot.h>
DECLARE_GLOBAL_DATA_PTR; DECLARE_GLOBAL_DATA_PTR;

View File

@@ -7,7 +7,6 @@
#include <asm/global_data.h> #include <asm/global_data.h>
#include <asm/post.h> #include <asm/post.h>
#include <asm/arch/qemu.h> #include <asm/arch/qemu.h>
#include <asm/u-boot.h>
#include <linux/sizes.h> #include <linux/sizes.h>
DECLARE_GLOBAL_DATA_PTR; DECLARE_GLOBAL_DATA_PTR;

View File

@@ -17,7 +17,6 @@
#include <asm/arch/mrc.h> #include <asm/arch/mrc.h>
#include <asm/arch/msg_port.h> #include <asm/arch/msg_port.h>
#include <asm/arch/quark.h> #include <asm/arch/quark.h>
#include <asm/u-boot.h>
DECLARE_GLOBAL_DATA_PTR; DECLARE_GLOBAL_DATA_PTR;

View File

@@ -8,7 +8,6 @@
#include <asm/e820.h> #include <asm/e820.h>
#include <asm/global_data.h> #include <asm/global_data.h>
#include <asm/sfi.h> #include <asm/sfi.h>
#include <asm/u-boot.h>
#include <linux/printk.h> #include <linux/printk.h>
DECLARE_GLOBAL_DATA_PTR; DECLARE_GLOBAL_DATA_PTR;

View File

@@ -12,6 +12,7 @@
#include <linux/types.h> #include <linux/types.h>
#include <asm/processor.h> #include <asm/processor.h>
#include <asm/mrccache.h> #include <asm/mrccache.h>
#include <asm/u-boot.h>
enum pei_boot_mode_t { enum pei_boot_mode_t {
PEI_BOOT_NONE = 0, PEI_BOOT_NONE = 0,

View File

@@ -6,6 +6,8 @@
#ifndef _XTENSA_GBL_DATA_H #ifndef _XTENSA_GBL_DATA_H
#define _XTENSA_GBL_DATA_H #define _XTENSA_GBL_DATA_H
#include <asm/u-boot.h>
/* Architecture-specific global data */ /* Architecture-specific global data */
struct arch_global_data { struct arch_global_data {

View File

@@ -7,7 +7,7 @@
*/ */
#include <asm/mmu.h> #include <asm/mmu.h>
#include <asm/u-boot.h> #include <asm/ppc.h>
struct fsl_e_tlb_entry tlb_table[] = { struct fsl_e_tlb_entry tlb_table[] = {
/* TLB 0 - for temp stack in cache */ /* TLB 0 - for temp stack in cache */

View File

@@ -12,7 +12,6 @@
#include <asm/io.h> #include <asm/io.h>
#include <linux/arm-smccc.h> #include <linux/arm-smccc.h>
#include <scsi.h> #include <scsi.h>
#include <asm/u-boot.h>
#include "cpu.h" #include "cpu.h"
DECLARE_GLOBAL_DATA_PTR; DECLARE_GLOBAL_DATA_PTR;

View File

@@ -14,7 +14,6 @@
#include <linux/arm-smccc.h> #include <linux/arm-smccc.h>
#include <scsi.h> #include <scsi.h>
#include <init.h> #include <init.h>
#include <asm/u-boot.h>
#include "cpu.h" #include "cpu.h"
DECLARE_GLOBAL_DATA_PTR; DECLARE_GLOBAL_DATA_PTR;

View File

@@ -14,7 +14,6 @@
#include <asm/processor.h> #include <asm/processor.h>
#include <linux/errno.h> #include <linux/errno.h>
#include <asm/system.h> #include <asm/system.h>
#include <asm/u-boot.h>
DECLARE_GLOBAL_DATA_PTR; DECLARE_GLOBAL_DATA_PTR;

View File

@@ -10,7 +10,6 @@
#include <asm/global_data.h> #include <asm/global_data.h>
#include <asm/io.h> #include <asm/io.h>
#include <asm/arch/sys_proto.h> #include <asm/arch/sys_proto.h>
#include <asm/u-boot.h>
#define RZA1_WDT_BASE 0xfcfe0000 #define RZA1_WDT_BASE 0xfcfe0000
#define WTCSR 0x00 #define WTCSR 0x00

View File

@@ -7,7 +7,6 @@
#include <handoff.h> #include <handoff.h>
#include <asm/global_data.h> #include <asm/global_data.h>
#include <asm/u-boot.h>
DECLARE_GLOBAL_DATA_PTR; DECLARE_GLOBAL_DATA_PTR;

View File

@@ -23,7 +23,6 @@
#include <system-constants.h> #include <system-constants.h>
#include <asm/global_data.h> #include <asm/global_data.h>
#include <asm-generic/gpio.h> #include <asm-generic/gpio.h>
#include <asm/u-boot.h>
#include <nand.h> #include <nand.h>
#include <fat.h> #include <fat.h>
#include <u-boot/crc.h> #include <u-boot/crc.h>

View File

@@ -4,7 +4,6 @@
#include <part.h> #include <part.h>
#include <spl.h> #include <spl.h>
#include <spl_load.h> #include <spl_load.h>
#include <asm/u-boot.h>
#include <ext4fs.h> #include <ext4fs.h>
#include <errno.h> #include <errno.h>
#include <image.h> #include <image.h>

View File

@@ -12,7 +12,6 @@
#include <log.h> #include <log.h>
#include <spl.h> #include <spl.h>
#include <spl_load.h> #include <spl_load.h>
#include <asm/u-boot.h>
#include <fat.h> #include <fat.h>
#include <errno.h> #include <errno.h>
#include <image.h> #include <image.h>

View File

@@ -12,7 +12,6 @@
#include <spl_load.h> #include <spl_load.h>
#include <linux/compiler.h> #include <linux/compiler.h>
#include <errno.h> #include <errno.h>
#include <asm/u-boot.h>
#include <errno.h> #include <errno.h>
#include <mmc.h> #include <mmc.h>
#include <image.h> #include <image.h>

View File

@@ -9,7 +9,6 @@
*/ */
#include <spl.h> #include <spl.h>
#include <asm/u-boot.h>
#include <sata.h> #include <sata.h>
#include <scsi.h> #include <scsi.h>
#include <errno.h> #include <errno.h>

View File

@@ -10,7 +10,6 @@
#include <log.h> #include <log.h>
#include <spl.h> #include <spl.h>
#include <asm/u-boot.h>
#include <errno.h> #include <errno.h>
#include <usb.h> #include <usb.h>
#include <fat.h> #include <fat.h>

Some files were not shown because too many files have changed in this diff Show More