arm: Add explicit include of <asm/mach-types.h>
Subsystems (7)
PATCH v2 25/38 arm: Add explicit include of <asm/mach-types.h>
Rather than relying on common.h to provide this include, which is going away at some point, include it explicitly in each file.
Signed-off-by Simon Glass <[email protected]>
Reviewed-by Tom Rini <[email protected]>
---
Changes in v2:
- Drop #ifdef guard in arch/arm/lib/spl.c
arch/arm/lib/spl.c | 1 + board/Barix/ipam390/ipam390.c | 1 + board/LaCie/edminiv2/edminiv2.c | 1 + board/LaCie/net2big_v2/net2big_v2.c | 1 + board/LaCie/netspace_v2/netspace_v2.c | 1 + board/Marvell/aspenite/aspenite.c | 1 + board/Marvell/gplugd/gplugd.c | 1 + board/Marvell/guruplug/guruplug.c | 1 + board/Marvell/openrd/openrd.c | 1 + board/Marvell/sheevaplug/sheevaplug.c | 1 + board/Seagate/dockstar/dockstar.c | 1 + board/Seagate/goflexhome/goflexhome.c | 1 + board/Seagate/nas220/nas220.c | 1 + board/amazon/kc1/kc1.c | 1 + board/armltd/integrator/integrator.c | 1 + board/armltd/vexpress/vexpress_common.c | 1 + board/atmel/at91rm9200ek/at91rm9200ek.c | 1 + board/atmel/at91sam9261ek/at91sam9261ek.c | 1 + board/atmel/at91sam9263ek/at91sam9263ek.c | 1 + board/atmel/at91sam9m10g45ek/at91sam9m10g45ek.c | 1 + board/atmel/at91sam9rlek/at91sam9rlek.c | 1 + board/atmel/at91sam9x5ek/at91sam9x5ek.c | 1 + board/bluewater/gurnard/gurnard.c | 1 + board/bluewater/snapper9260/snapper9260.c | 1 + board/cirrus/edb93xx/edb93xx.c | 1 + board/davinci/da8xxevm/da850evm.c | 1 + board/davinci/da8xxevm/omapl138_lcdk.c | 1 + board/davinci/ea20/ea20.c | 1 + board/esd/meesc/meesc.c | 1 + board/freescale/mx35pdk/mx35pdk.c | 1 + board/gumstix/duovero/duovero.c | 1 + board/h2200/h2200.c | 1 + board/imx31_phycore/imx31_phycore.c | 1 + board/lego/ev3/legoev3.c | 1 + board/mini-box/picosam9g45/picosam9g45.c | 1 + board/nvidia/seaboard/seaboard.c | 1 + board/overo/common.c | 1 + board/ronetix/pm9261/pm9261.c | 1 + board/ronetix/pm9263/pm9263.c | 1 + board/ronetix/pm9g45/pm9g45.c | 1 + board/samsung/goni/goni.c | 1 + board/samsung/smdkc100/smdkc100.c | 1 + board/samsung/universal_c210/universal.c | 1 + board/siemens/common/board.c | 1 + board/spear/spear300/spear300.c | 1 + board/spear/spear310/spear310.c | 1 + board/spear/spear320/spear320.c | 1 + board/spear/spear600/spear600.c | 1 + board/spear/x600/x600.c | 1 + board/ti/omap5_uevm/evm.c | 1 + board/ti/panda/panda.c | 1 + board/toradex/colibri_pxa270/colibri_pxa270.c | 1 + board/toradex/common/tdx-cfg-block.c | 1 + board/zipitz2/zipitz2.c | 1 + drivers/usb/host/ehci-mx6.c | 1 + 55 files changed, 55 insertions(+)
arch/arm/lib/spl.c +1 -0
@@ -12,6 +12,7 @@#include <spl.h> #include <image.h> #include <linux/compiler.h> +#include <asm/mach-types.h> #ifndef CONFIG_SPL_DM /* Pointer to as well as the global data structure for SPL */
board/Barix/ipam390/ipam390.c +1 -0
@@ -29,6 +29,7 @@#include <asm/gpio.h> #include <hwconfig.h> #include <bootstage.h> +#include <asm/mach-types.h> DECLARE_GLOBAL_DATA_PTR ;
board/LaCie/edminiv2/edminiv2.c +1 -0
@@ -14,6 +14,7 @@#include "../common/common.h" #include <spl.h> #include <ns16550.h> +#include <asm/mach-types.h> DECLARE_GLOBAL_DATA_PTR ;
board/LaCie/net2big_v2/net2big_v2.c +1 -0
@@ -12,6 +12,7 @@#include <common.h> #include <command.h> #include <i2c.h> +#include <asm/mach-types.h> #include <asm/arch/cpu.h> #include <asm/arch/soc.h> #include <asm/arch/mpp.h>
board/LaCie/netspace_v2/netspace_v2.c +1 -0
@@ -11,6 +11,7 @@#include <common.h> #include <command.h> +#include <asm/mach-types.h> #include <asm/arch/cpu.h> #include <asm/arch/soc.h> #include <asm/arch/mpp.h>
board/Marvell/aspenite/aspenite.c +1 -0
@@ -9,6 +9,7 @@#include <common.h> #include <mvmfp.h> +#include <asm/mach-types.h> #include <asm/arch/cpu.h> #include <asm/arch/mfp.h> #include <asm/arch/armada100.h>
board/Marvell/gplugd/gplugd.c +1 -0
@@ -19,6 +19,7 @@#include <asm/arch/armada100.h> #include <asm/gpio.h> #include <miiphy.h> +#include <asm/mach-types.h> #ifdef CONFIG_ARMADA100_FEC #include <net.h>
board/Marvell/guruplug/guruplug.c +1 -0
@@ -8,6 +8,7 @@#include <common.h> #include <miiphy.h> +#include <asm/mach-types.h> #include <asm/arch/cpu.h> #include <asm/arch/soc.h> #include <asm/arch/mpp.h>
board/Marvell/openrd/openrd.c +1 -0
@@ -13,6 +13,7 @@#include <common.h> #include <miiphy.h> +#include <asm/mach-types.h> #include <asm/arch/cpu.h> #include <asm/arch/soc.h> #include <asm/arch/mpp.h>
board/Marvell/sheevaplug/sheevaplug.c +1 -0
@@ -8,6 +8,7 @@#include <common.h> #include <miiphy.h> +#include <asm/mach-types.h> #include <asm/arch/cpu.h> #include <asm/arch/soc.h> #include <asm/arch/mpp.h>
board/Seagate/dockstar/dockstar.c +1 -0
@@ -15,6 +15,7 @@#include <asm/arch/mpp.h> #include <asm/arch/cpu.h> #include <asm/io.h> +#include <asm/mach-types.h> #include "dockstar.h" DECLARE_GLOBAL_DATA_PTR ;
board/Seagate/goflexhome/goflexhome.c +1 -0
@@ -14,6 +14,7 @@#include <common.h> #include <miiphy.h> +#include <asm/mach-types.h> #include <asm/arch/soc.h> #include <asm/arch/mpp.h> #include <asm/arch/cpu.h>
board/Seagate/nas220/nas220.c +1 -0
@@ -11,6 +11,7 @@#include <common.h> #include <miiphy.h> +#include <asm/mach-types.h> #include <asm/arch/soc.h> #include <asm/arch/mpp.h> #include <asm/arch/cpu.h>
board/amazon/kc1/kc1.c +1 -0
@@ -17,6 +17,7 @@#include <asm/emif.h> #include <twl6030.h> #include "kc1.h" +#include <asm/mach-types.h> DECLARE_GLOBAL_DATA_PTR ;
board/armltd/integrator/integrator.c +1 -0
@@ -24,6 +24,7 @@#include <dm/platform_data/serial_pl01x.h> #include "arm-ebi.h" #include "integrator-sc.h" +#include <asm/mach-types.h> DECLARE_GLOBAL_DATA_PTR ;
board/armltd/vexpress/vexpress_common.c +1 -0
@@ -21,6 +21,7 @@#include <errno.h> #include <netdev.h> #include <asm/io.h> +#include <asm/mach-types.h> #include <asm/arch/systimer.h> #include <asm/arch/sysctrl.h> #include <asm/arch/wdt.h>
board/atmel/at91rm9200ek/at91rm9200ek.c +1 -0
@@ -12,6 +12,7 @@#include <common.h> #include <netdev.h> +#include <asm/mach-types.h> #include <asm/arch/hardware.h> #include <asm/arch/at91_pio.h> #include <asm/arch/at91_common.h>
board/atmel/at91sam9261ek/at91sam9261ek.c +1 -0
@@ -21,6 +21,7 @@#include <net.h> #include <netdev.h> #endif +#include <asm/mach-types.h> DECLARE_GLOBAL_DATA_PTR ;
board/atmel/at91sam9263ek/at91sam9263ek.c +1 -0
@@ -20,6 +20,7 @@#include <asm/arch/hardware.h> #include <lcd.h> #include <atmel_lcdc.h> +#include <asm/mach-types.h> DECLARE_GLOBAL_DATA_PTR ;
board/atmel/at91sam9m10g45ek/at91sam9m10g45ek.c +1 -0
@@ -18,6 +18,7 @@#include <lcd.h> #include <linux/mtd/nand.h> #include <atmel_lcdc.h> +#include <asm/mach-types.h> DECLARE_GLOBAL_DATA_PTR ;
board/atmel/at91sam9rlek/at91sam9rlek.c +1 -0
@@ -9,6 +9,7 @@#include <common.h> #include <debug_uart.h> #include <asm/io.h> +#include <asm/mach-types.h> #include <asm/arch/at91sam9rl.h> #include <asm/arch/at91sam9rl_matrix.h> #include <asm/arch/at91sam9_smc.h>
board/atmel/at91sam9x5ek/at91sam9x5ek.c +1 -0
@@ -19,6 +19,7 @@#include <nand.h> #include <version.h> #endif +#include <asm/mach-types.h> DECLARE_GLOBAL_DATA_PTR ;
board/bluewater/gurnard/gurnard.c +1 -0
@@ -21,6 +21,7 @@#include <spi.h> #include <asm/gpio.h> #include <asm/io.h> +#include <asm/mach-types.h> #include <asm/arch/at91sam9g45_matrix.h> #include <asm/arch/at91sam9_smc.h> #include <asm/arch/at91_common.h>
board/bluewater/snapper9260/snapper9260.c +1 -0
@@ -12,6 +12,7 @@#include <dm.h> #include <asm/io.h> #include <asm/gpio.h> +#include <asm/mach-types.h> #include <asm/arch/at91sam9260_matrix.h> #include <asm/arch/at91sam9_smc.h> #include <asm/arch/at91_common.h>
board/cirrus/edb93xx/edb93xx.c +1 -0
@@ -18,6 +18,7 @@#include <common.h> #include <netdev.h> #include <asm/io.h> +#include <asm/mach-types.h> #include <asm/arch/ep93xx.h> DECLARE_GLOBAL_DATA_PTR ;
board/davinci/da8xxevm/da850evm.c +1 -0
@@ -23,6 +23,7 @@#include <asm/arch/davinci_misc.h> #include <linux/errno.h> #include <hwconfig.h> +#include <asm/mach-types.h> #ifdef CONFIG_MMC_DAVINCI #include <mmc.h>
board/davinci/da8xxevm/omapl138_lcdk.c +1 -0
@@ -19,6 +19,7 @@#include <asm/ti-common/davinci_nand.h> #include <asm/io.h> #include <linux/errno.h> +#include <asm/mach-types.h> #include <asm/arch/davinci_misc.h> #ifdef CONFIG_MMC_DAVINCI #include <mmc.h>
board/davinci/ea20/ea20.c +1 -0
@@ -18,6 +18,7 @@#include <i2c.h> #include <net.h> #include <netdev.h> +#include <asm/mach-types.h> #include <asm/arch/hardware.h> #include <asm/ti-common/davinci_nand.h> #include <asm/arch/emac_defs.h>
board/esd/meesc/meesc.c +1 -0
@@ -13,6 +13,7 @@#include <common.h> #include <asm/io.h> #include <asm/gpio.h> +#include <asm/mach-types.h> #include <asm/arch/at91sam9_smc.h> #include <asm/arch/at91_common.h> #include <asm/arch/at91_pmc.h>
board/freescale/mx35pdk/mx35pdk.c +1 -0
@@ -24,6 +24,7 @@#include <asm/gpio.h> #include <asm/arch/sys_proto.h> #include <netdev.h> +#include <asm/mach-types.h> #ifndef CONFIG_BOARD_LATE_INIT #error "CONFIG_BOARD_LATE_INIT must be set for this board"
board/gumstix/duovero/duovero.c +1 -0
@@ -14,6 +14,7 @@#include <asm/arch/clock.h> #include <asm/arch/gpio.h> #include <asm/gpio.h> +#include <asm/mach-types.h> #include "duovero_mux_data.h"
board/h2200/h2200.c +1 -0
@@ -11,6 +11,7 @@#include <asm/arch/pxa-regs.h> #include <asm/io.h> #include <usb.h> +#include <asm/mach-types.h> DECLARE_GLOBAL_DATA_PTR ;
board/imx31_phycore/imx31_phycore.c +1 -0
@@ -11,6 +11,7 @@#include <netdev.h> #include <asm/arch/clock.h> #include <asm/arch/imx-regs.h> +#include <asm/mach-types.h> #include <asm/arch/sys_proto.h> DECLARE_GLOBAL_DATA_PTR ;
board/lego/ev3/legoev3.c +1 -0
@@ -25,6 +25,7 @@#include <asm/arch/davinci_misc.h> #include <linux/errno.h> #include <hwconfig.h> +#include <asm/mach-types.h> #ifdef CONFIG_MMC_DAVINCI #include <mmc.h>
board/mini-box/picosam9g45/picosam9g45.c +1 -0
@@ -27,6 +27,7 @@#include <net.h> #endif #include <netdev.h> +#include <asm/mach-types.h> DECLARE_GLOBAL_DATA_PTR ;
board/nvidia/seaboard/seaboard.c +1 -0
@@ -7,6 +7,7 @@#include <common.h> #include <asm/io.h> +#include <asm/mach-types.h> #include <asm/arch/tegra.h> #include <asm/arch-tegra/board.h> #include <asm/arch/clock.h>
board/overo/common.c +1 -0
@@ -18,6 +18,7 @@#include <asm/arch/mux.h> #include <asm/arch/sys_proto.h> #include <asm/gpio.h> +#include <asm/mach-types.h> DECLARE_GLOBAL_DATA_PTR ;
board/ronetix/pm9261/pm9261.c +1 -0
@@ -26,6 +26,7 @@#include <net.h> #endif #include <netdev.h> +#include <asm/mach-types.h> DECLARE_GLOBAL_DATA_PTR ;
board/ronetix/pm9263/pm9263.c +1 -0
@@ -25,6 +25,7 @@#include <net.h> #endif #include <netdev.h> +#include <asm/mach-types.h> DECLARE_GLOBAL_DATA_PTR ;
board/ronetix/pm9g45/pm9g45.c +1 -0
@@ -25,6 +25,7 @@#include <net.h> #endif #include <netdev.h> +#include <asm/mach-types.h> DECLARE_GLOBAL_DATA_PTR ;
board/samsung/goni/goni.c +1 -0
@@ -17,6 +17,7 @@#include <samsung/misc.h> #include <usb.h> #include <usb_mass_storage.h> +#include <asm/mach-types.h> DECLARE_GLOBAL_DATA_PTR ;
board/samsung/smdkc100/smdkc100.c +1 -0
@@ -11,6 +11,7 @@#include <asm/io.h> #include <asm/arch/sromc.h> #include <netdev.h> +#include <asm/mach-types.h> DECLARE_GLOBAL_DATA_PTR ;
board/samsung/universal_c210/universal.c +1 -0
@@ -23,6 +23,7 @@#include <libtizen.h> #include <samsung/misc.h> #include <usb_mass_storage.h> +#include <asm/mach-types.h> DECLARE_GLOBAL_DATA_PTR ;
board/siemens/common/board.c +1 -0
@@ -28,6 +28,7 @@#include <miiphy.h> #include <cpsw.h> #include <watchdog.h> +#include <asm/mach-types.h> #include "../common/factoryset.h" DECLARE_GLOBAL_DATA_PTR ;
board/spear/spear300/spear300.c +1 -0
@@ -11,6 +11,7 @@#include <nand.h> #include <asm/io.h> #include <linux/mtd/fsmc_nand.h> +#include <asm/mach-types.h> #include <asm/arch/hardware.h> #include <asm/arch/spr_defs.h> #include <asm/arch/spr_misc.h>
board/spear/spear310/spear310.c +1 -0
@@ -12,6 +12,7 @@#include <nand.h> #include <asm/io.h> #include <linux/mtd/fsmc_nand.h> +#include <asm/mach-types.h> #include <asm/arch/hardware.h> #include <asm/arch/spr_defs.h> #include <asm/arch/spr_misc.h>
board/spear/spear320/spear320.c +1 -0
@@ -12,6 +12,7 @@#include <nand.h> #include <asm/io.h> #include <linux/mtd/fsmc_nand.h> +#include <asm/mach-types.h> #include <asm/arch/hardware.h> #include <asm/arch/spr_defs.h> #include <asm/arch/spr_misc.h>
board/spear/spear600/spear600.c +1 -0
@@ -11,6 +11,7 @@#include <nand.h> #include <asm/io.h> #include <linux/mtd/fsmc_nand.h> +#include <asm/mach-types.h> #include <asm/arch/hardware.h> #include <asm/arch/spr_defs.h> #include <asm/arch/spr_misc.h>
board/spear/x600/x600.c +1 -0
@@ -14,6 +14,7 @@#include <phy.h> #include <rtc.h> #include <asm/io.h> +#include <asm/mach-types.h> #include <asm/arch/hardware.h> #include <asm/arch/spr_defs.h> #include <asm/arch/spr_misc.h>
board/ti/omap5_uevm/evm.c +1 -0
@@ -24,6 +24,7 @@#include <sata.h> #include <usb.h> #include <asm/gpio.h> +#include <asm/mach-types.h> #include <asm/arch/clock.h> #include <asm/arch/ehci.h> #include <asm/ehci-omap.h>
board/ti/panda/panda.c +1 -0
@@ -6,6 +6,7 @@* SPDX-License-Identifier: GPL-2.0+ */ #include <common.h> +#include <asm/mach-types.h> #include <asm/arch/sys_proto.h> #include <asm/arch/mmc_host_def.h> #include <asm/arch/clock.h>
board/toradex/colibri_pxa270/colibri_pxa270.c +1 -0
@@ -18,6 +18,7 @@#include <netdev.h> #include <serial.h> #include <usb.h> +#include <asm/mach-types.h> #include "../common/tdx-common.h" DECLARE_GLOBAL_DATA_PTR ;
board/toradex/common/tdx-cfg-block.c +1 -0
@@ -23,6 +23,7 @@#include <malloc.h> #include <mmc.h> #include <nand.h> +#include <asm/mach-types.h> DECLARE_GLOBAL_DATA_PTR ;
board/zipitz2/zipitz2.c +1 -0
@@ -16,6 +16,7 @@#include <spi.h> #include <asm/io.h> #include <usb.h> +#include <asm/mach-types.h> DECLARE_GLOBAL_DATA_PTR ;
drivers/usb/host/ehci-mx6.c +1 -0
@@ -17,6 +17,7 @@#include <asm/imx-common/iomux-v3.h> #include <asm/imx-common/sys_proto.h> #include <dm.h> +#include <asm/mach-types.h> #include <power/regulator.h> #include "ehci.h"
Signature · 1 line
2.13.0.219.gdb65acc882-goog
PATCH v2 25/38 arm: Add explicit include of <asm/mach-types.h>
Quoted 5 lines · Simon Glass
Rather than relying on
common.hto provide this include, which is going away at some point, include it explicitly in each file.Signed-off-by Simon Glass <[email protected]>Reviewed-by Tom Rini <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170605/5c19b6e2/attachment.sig>