diff --git a/api/api.c b/api/api.c index 4fc451a83d19..c7f5db776af9 100644 --- a/api/api.c +++ b/api/api.c @@ -11,6 +11,7 @@ #include #include #include +#include #include #include #include diff --git a/arch/arm/cpu/arm920t/ep93xx/timer.c b/arch/arm/cpu/arm920t/ep93xx/timer.c index 0ee60342200b..892bb06db10e 100644 --- a/arch/arm/cpu/arm920t/ep93xx/timer.c +++ b/arch/arm/cpu/arm920t/ep93xx/timer.c @@ -14,6 +14,7 @@ #include #include #include +#include #include #include #include diff --git a/arch/arm/cpu/arm920t/imx/timer.c b/arch/arm/cpu/arm920t/imx/timer.c index 21129a7901c5..e9d55779214b 100644 --- a/arch/arm/cpu/arm920t/imx/timer.c +++ b/arch/arm/cpu/arm920t/imx/timer.c @@ -18,6 +18,7 @@ #if defined (CONFIG_IMX) #include +#include int timer_init (void) { @@ -48,7 +49,7 @@ ulong get_timer (ulong base) return get_timer_masked() - base; } -void __udelay (unsigned long usec) +void __udelay(unsigned long usec) { ulong endtime = get_timer_masked() + usec; signed long diff; diff --git a/arch/arm/cpu/arm926ejs/armada100/timer.c b/arch/arm/cpu/arm926ejs/armada100/timer.c index b9941fcb2f2a..0f1e68c8355f 100644 --- a/arch/arm/cpu/arm926ejs/armada100/timer.c +++ b/arch/arm/cpu/arm926ejs/armada100/timer.c @@ -12,6 +12,7 @@ #include #include #include +#include /* * Timer registers diff --git a/arch/arm/cpu/arm926ejs/mx27/timer.c b/arch/arm/cpu/arm926ejs/mx27/timer.c index d6e1e09f93e3..408e88aa129e 100644 --- a/arch/arm/cpu/arm926ejs/mx27/timer.c +++ b/arch/arm/cpu/arm926ejs/mx27/timer.c @@ -22,6 +22,7 @@ #include #include #include +#include /* General purpose timers bitfields */ #define GPTCR_SWR (1 << 15) /* Software reset */ diff --git a/arch/arm/cpu/arm926ejs/mxs/mxs.c b/arch/arm/cpu/arm926ejs/mxs/mxs.c index d742c0f1516b..12ebc1c8029f 100644 --- a/arch/arm/cpu/arm926ejs/mxs/mxs.c +++ b/arch/arm/cpu/arm926ejs/mxs/mxs.c @@ -15,6 +15,7 @@ #include #include #include +#include #include #include #include diff --git a/arch/arm/cpu/arm926ejs/mxs/timer.c b/arch/arm/cpu/arm926ejs/mxs/timer.c index b6fdc88be7e5..5ab4ed0c5a3d 100644 --- a/arch/arm/cpu/arm926ejs/mxs/timer.c +++ b/arch/arm/cpu/arm926ejs/mxs/timer.c @@ -15,6 +15,7 @@ #include #include #include +#include /* Maximum fixed count */ #if defined(CONFIG_MX23) diff --git a/arch/arm/cpu/arm926ejs/spear/reset.c b/arch/arm/cpu/arm926ejs/spear/reset.c index 3b884cd0d3cd..a316540d52a8 100644 --- a/arch/arm/cpu/arm926ejs/spear/reset.c +++ b/arch/arm/cpu/arm926ejs/spear/reset.c @@ -9,6 +9,7 @@ #include #include #include +#include void reset_cpu(ulong ignored) { diff --git a/arch/arm/cpu/arm926ejs/spear/timer.c b/arch/arm/cpu/arm926ejs/spear/timer.c index 6803c349e845..dd0f15c0ceee 100644 --- a/arch/arm/cpu/arm926ejs/spear/timer.c +++ b/arch/arm/cpu/arm926ejs/spear/timer.c @@ -12,6 +12,7 @@ #include #include #include +#include #define GPT_RESOLUTION (CONFIG_SPEAR_HZ_CLOCK / CONFIG_SPEAR_HZ) #define READ_TIMER() (readl(&gpt_regs_p->count) & GPT_FREE_RUNNING) diff --git a/arch/arm/cpu/armv7/bcm235xx/clk-core.c b/arch/arm/cpu/armv7/bcm235xx/clk-core.c index 04366c871f68..d7edefee2318 100644 --- a/arch/arm/cpu/armv7/bcm235xx/clk-core.c +++ b/arch/arm/cpu/armv7/bcm235xx/clk-core.c @@ -12,6 +12,7 @@ #include #include #include +#include #include #include #include diff --git a/arch/arm/cpu/armv7/bcm235xx/clk-eth.c b/arch/arm/cpu/armv7/bcm235xx/clk-eth.c index 618af709fa5a..209ceca9a06e 100644 --- a/arch/arm/cpu/armv7/bcm235xx/clk-eth.c +++ b/arch/arm/cpu/armv7/bcm235xx/clk-eth.c @@ -5,6 +5,7 @@ #include #include +#include #include #include #include diff --git a/arch/arm/cpu/armv7/bcm281xx/clk-core.c b/arch/arm/cpu/armv7/bcm281xx/clk-core.c index 574a8a02d8a0..26b673a5405e 100644 --- a/arch/arm/cpu/armv7/bcm281xx/clk-core.c +++ b/arch/arm/cpu/armv7/bcm281xx/clk-core.c @@ -12,6 +12,7 @@ #include #include #include +#include #include #include #include diff --git a/arch/arm/cpu/armv7/bcm281xx/clk-eth.c b/arch/arm/cpu/armv7/bcm281xx/clk-eth.c index 618af709fa5a..209ceca9a06e 100644 --- a/arch/arm/cpu/armv7/bcm281xx/clk-eth.c +++ b/arch/arm/cpu/armv7/bcm281xx/clk-eth.c @@ -5,6 +5,7 @@ #include #include +#include #include #include #include diff --git a/arch/arm/cpu/armv7/iproc-common/timer.c b/arch/arm/cpu/armv7/iproc-common/timer.c index 5c109764e9e5..a4255a44c001 100644 --- a/arch/arm/cpu/armv7/iproc-common/timer.c +++ b/arch/arm/cpu/armv7/iproc-common/timer.c @@ -10,6 +10,7 @@ #include #include #include +#include static inline uint64_t timer_global_read(void) { diff --git a/arch/arm/cpu/armv7/ls102xa/cpu.c b/arch/arm/cpu/armv7/ls102xa/cpu.c index e9464ee7e478..91e988217ad4 100644 --- a/arch/arm/cpu/armv7/ls102xa/cpu.c +++ b/arch/arm/cpu/armv7/ls102xa/cpu.c @@ -18,6 +18,7 @@ #include #include #include +#include #include "fsl_epu.h" diff --git a/arch/arm/cpu/armv7/ls102xa/timer.c b/arch/arm/cpu/armv7/ls102xa/timer.c index 46ade4ae86db..2a32b30999fe 100644 --- a/arch/arm/cpu/armv7/ls102xa/timer.c +++ b/arch/arm/cpu/armv7/ls102xa/timer.c @@ -10,6 +10,7 @@ #include #include #include +#include DECLARE_GLOBAL_DATA_PTR; diff --git a/arch/arm/cpu/armv7/s5p-common/timer.c b/arch/arm/cpu/armv7/s5p-common/timer.c index d2b5b4d3fcd2..3064fd25d4d0 100644 --- a/arch/arm/cpu/armv7/s5p-common/timer.c +++ b/arch/arm/cpu/armv7/s5p-common/timer.c @@ -13,6 +13,7 @@ #include #include #include +#include /* Use the old PWM interface for now */ #undef CONFIG_DM_PWM diff --git a/arch/arm/cpu/armv7/stv0991/reset.c b/arch/arm/cpu/armv7/stv0991/reset.c index 008e271dccfb..fb67de10f483 100644 --- a/arch/arm/cpu/armv7/stv0991/reset.c +++ b/arch/arm/cpu/armv7/stv0991/reset.c @@ -8,6 +8,7 @@ #include #include #include +#include void reset_cpu(ulong ignored) { puts("System is going to reboot ...\n"); diff --git a/arch/arm/cpu/armv7/stv0991/timer.c b/arch/arm/cpu/armv7/stv0991/timer.c index 5adccab012ad..919529aa1b03 100644 --- a/arch/arm/cpu/armv7/stv0991/timer.c +++ b/arch/arm/cpu/armv7/stv0991/timer.c @@ -11,6 +11,7 @@ #include #include #include +#include static struct stv0991_cgu_regs *const stv0991_cgu_regs = \ (struct stv0991_cgu_regs *) (CGU_BASE_ADDR); diff --git a/arch/arm/cpu/armv7/sunxi/timer.c b/arch/arm/cpu/armv7/sunxi/timer.c index 4f6a66d8039d..65b64b5ac75b 100644 --- a/arch/arm/cpu/armv7/sunxi/timer.c +++ b/arch/arm/cpu/armv7/sunxi/timer.c @@ -10,6 +10,7 @@ #include #include #include +#include DECLARE_GLOBAL_DATA_PTR; diff --git a/arch/arm/cpu/armv7/vf610/timer.c b/arch/arm/cpu/armv7/vf610/timer.c index 229e9e959e41..fa8f8fae10a0 100644 --- a/arch/arm/cpu/armv7/vf610/timer.c +++ b/arch/arm/cpu/armv7/vf610/timer.c @@ -10,6 +10,7 @@ #include #include #include +#include static struct pit_reg *cur_pit = (struct pit_reg *)PIT_BASE_ADDR; diff --git a/arch/arm/cpu/armv8/fsl-layerscape/fsl_lsch2_serdes.c b/arch/arm/cpu/armv8/fsl-layerscape/fsl_lsch2_serdes.c index f24ca7f1dc72..41c89b8904ee 100644 --- a/arch/arm/cpu/armv8/fsl-layerscape/fsl_lsch2_serdes.c +++ b/arch/arm/cpu/armv8/fsl-layerscape/fsl_lsch2_serdes.c @@ -6,6 +6,7 @@ #include #include #include +#include #include #include #include diff --git a/arch/arm/cpu/armv8/fsl-layerscape/fsl_lsch3_serdes.c b/arch/arm/cpu/armv8/fsl-layerscape/fsl_lsch3_serdes.c index 3ac50966e159..3f1da436142a 100644 --- a/arch/arm/cpu/armv8/fsl-layerscape/fsl_lsch3_serdes.c +++ b/arch/arm/cpu/armv8/fsl-layerscape/fsl_lsch3_serdes.c @@ -8,6 +8,7 @@ #include #include #include +#include #include #include #include diff --git a/arch/arm/cpu/armv8/fsl-layerscape/mp.c b/arch/arm/cpu/armv8/fsl-layerscape/mp.c index 31536b81811d..1ea887b3319f 100644 --- a/arch/arm/cpu/armv8/fsl-layerscape/mp.c +++ b/arch/arm/cpu/armv8/fsl-layerscape/mp.c @@ -11,6 +11,7 @@ #include #include #include +#include #include "cpu.h" #include diff --git a/arch/arm/cpu/pxa/usb.c b/arch/arm/cpu/pxa/usb.c index 80a597741550..13e010d91ec4 100644 --- a/arch/arm/cpu/pxa/usb.c +++ b/arch/arm/cpu/pxa/usb.c @@ -5,6 +5,7 @@ */ #include +#include #if defined(CONFIG_USB_OHCI_NEW) && defined(CONFIG_SYS_USB_OHCI_CPU_INIT) # if defined(CONFIG_CPU_MONAHANS) || defined(CONFIG_CPU_PXA27X) diff --git a/arch/arm/cpu/sa1100/timer.c b/arch/arm/cpu/sa1100/timer.c index f2cbee5dca7b..a5cdaf5a66c4 100644 --- a/arch/arm/cpu/sa1100/timer.c +++ b/arch/arm/cpu/sa1100/timer.c @@ -12,6 +12,7 @@ #include #include #include +#include static ulong get_timer_masked (void) { diff --git a/arch/arm/lib/reset.c b/arch/arm/lib/reset.c index 65b4be20b819..4f1a768bfe13 100644 --- a/arch/arm/lib/reset.c +++ b/arch/arm/lib/reset.c @@ -24,6 +24,7 @@ #include #include #include +#include __weak void reset_misc(void) { diff --git a/arch/arm/mach-at91/arm920t/timer.c b/arch/arm/mach-at91/arm920t/timer.c index 1e014ad9c928..dca2d2c70c77 100644 --- a/arch/arm/mach-at91/arm920t/timer.c +++ b/arch/arm/mach-at91/arm920t/timer.c @@ -16,6 +16,7 @@ #include #include #include +#include #include #include diff --git a/arch/arm/mach-at91/armv7/clock.c b/arch/arm/mach-at91/armv7/clock.c index 3640fce8821d..39268969580b 100644 --- a/arch/arm/mach-at91/armv7/clock.c +++ b/arch/arm/mach-at91/armv7/clock.c @@ -10,6 +10,7 @@ */ #include +#include #include #include #include diff --git a/arch/arm/mach-at91/mpddrc.c b/arch/arm/mach-at91/mpddrc.c index 3df0ea7c7924..5422c05456e0 100644 --- a/arch/arm/mach-at91/mpddrc.c +++ b/arch/arm/mach-at91/mpddrc.c @@ -11,6 +11,7 @@ #include #include #include +#include #define SAMA5D3_MPDDRC_VERSION 0x140 diff --git a/arch/arm/mach-at91/phy.c b/arch/arm/mach-at91/phy.c index a10c0cae74a3..6101eee3589c 100644 --- a/arch/arm/mach-at91/phy.c +++ b/arch/arm/mach-at91/phy.c @@ -14,6 +14,7 @@ #include #include #include +#include #include #include #include diff --git a/arch/arm/mach-davinci/timer.c b/arch/arm/mach-davinci/timer.c index ebe985f795e3..a6681821f6dd 100644 --- a/arch/arm/mach-davinci/timer.c +++ b/arch/arm/mach-davinci/timer.c @@ -26,6 +26,7 @@ #include #include #include +#include DECLARE_GLOBAL_DATA_PTR; diff --git a/arch/arm/mach-exynos/include/mach/dp_info.h b/arch/arm/mach-exynos/include/mach/dp_info.h index d3a516fbc637..3226eb95f015 100644 --- a/arch/arm/mach-exynos/include/mach/dp_info.h +++ b/arch/arm/mach-exynos/include/mach/dp_info.h @@ -197,4 +197,5 @@ unsigned int exynos_init_dp(void) } #endif +#include #endif /* _DP_INFO_H */ diff --git a/arch/arm/mach-imx/ddrmc-vf610.c b/arch/arm/mach-imx/ddrmc-vf610.c index f25119a7d66e..7895ee66f8a8 100644 --- a/arch/arm/mach-imx/ddrmc-vf610.c +++ b/arch/arm/mach-imx/ddrmc-vf610.c @@ -11,6 +11,7 @@ #include #include #include +#include #include "ddrmc-vf610-calibration.h" void ddrmc_setup_iomux(const iomux_v3_cfg_t *pads, int pads_count) diff --git a/arch/arm/mach-imx/i2c-mxv7.c b/arch/arm/mach-imx/i2c-mxv7.c index 814d834b1648..e6c74bf77e9a 100644 --- a/arch/arm/mach-imx/i2c-mxv7.c +++ b/arch/arm/mach-imx/i2c-mxv7.c @@ -6,6 +6,7 @@ #include #include #include +#include #include #include #include diff --git a/arch/arm/mach-imx/imx8m/clock_imx8mm.c b/arch/arm/mach-imx/imx8m/clock_imx8mm.c index 91c827f6c01f..8ea7f016c2dd 100644 --- a/arch/arm/mach-imx/imx8m/clock_imx8mm.c +++ b/arch/arm/mach-imx/imx8m/clock_imx8mm.c @@ -12,6 +12,7 @@ #include #include #include +#include DECLARE_GLOBAL_DATA_PTR; diff --git a/arch/arm/mach-imx/imx8m/clock_imx8mq.c b/arch/arm/mach-imx/imx8m/clock_imx8mq.c index 52205b044aac..759ec6d114eb 100644 --- a/arch/arm/mach-imx/imx8m/clock_imx8mq.c +++ b/arch/arm/mach-imx/imx8m/clock_imx8mq.c @@ -12,6 +12,7 @@ #include #include #include +#include #include static struct anamix_pll *ana_pll = (struct anamix_pll *)ANATOP_BASE_ADDR; diff --git a/arch/arm/mach-imx/misc.c b/arch/arm/mach-imx/misc.c index 549ef2bd9918..818f38e17ddb 100644 --- a/arch/arm/mach-imx/misc.c +++ b/arch/arm/mach-imx/misc.c @@ -7,6 +7,7 @@ #include #include #include +#include #include #include #include diff --git a/arch/arm/mach-imx/mx6/ddr.c b/arch/arm/mach-imx/mx6/ddr.c index 79a90c83aa87..16df71083db0 100644 --- a/arch/arm/mach-imx/mx6/ddr.c +++ b/arch/arm/mach-imx/mx6/ddr.c @@ -7,6 +7,7 @@ #include #include #include +#include #include #include #include diff --git a/arch/arm/mach-imx/mx6/litesom.c b/arch/arm/mach-imx/mx6/litesom.c index b0a6bd589c09..596773f054ae 100644 --- a/arch/arm/mach-imx/mx6/litesom.c +++ b/arch/arm/mach-imx/mx6/litesom.c @@ -18,6 +18,7 @@ #include #include #include +#include #include #include diff --git a/arch/arm/mach-imx/mx6/soc.c b/arch/arm/mach-imx/mx6/soc.c index b8aaf3ef0159..19ca3826495d 100644 --- a/arch/arm/mach-imx/mx6/soc.c +++ b/arch/arm/mach-imx/mx6/soc.c @@ -8,6 +8,7 @@ #include #include +#include #include #include #include diff --git a/arch/arm/mach-imx/mx7/soc.c b/arch/arm/mach-imx/mx7/soc.c index 60e688c51842..798fe74a3d61 100644 --- a/arch/arm/mach-imx/mx7/soc.c +++ b/arch/arm/mach-imx/mx7/soc.c @@ -19,6 +19,7 @@ #include #include #include +#include #define IOMUXC_GPR1 0x4 #define BM_IOMUXC_GPR1_IRQ 0x1000 diff --git a/arch/arm/mach-imx/mx7ulp/scg.c b/arch/arm/mach-imx/mx7ulp/scg.c index 6e34803067ac..4c066557c1ca 100644 --- a/arch/arm/mach-imx/mx7ulp/scg.c +++ b/arch/arm/mach-imx/mx7ulp/scg.c @@ -11,6 +11,7 @@ #include #include #include +#include scg_p scg1_regs = (scg_p)SCG1_RBASE; diff --git a/arch/arm/mach-imx/syscounter.c b/arch/arm/mach-imx/syscounter.c index db1c2c1e01c4..7da43c32e0db 100644 --- a/arch/arm/mach-imx/syscounter.c +++ b/arch/arm/mach-imx/syscounter.c @@ -13,6 +13,7 @@ #include #include #include +#include DECLARE_GLOBAL_DATA_PTR; diff --git a/arch/arm/mach-keystone/ddr3.c b/arch/arm/mach-keystone/ddr3.c index 9ab6b53adbec..7dea600d509b 100644 --- a/arch/arm/mach-keystone/ddr3.c +++ b/arch/arm/mach-keystone/ddr3.c @@ -13,6 +13,7 @@ #include #include #include +#include #include diff --git a/arch/arm/mach-keystone/psc.c b/arch/arm/mach-keystone/psc.c index f87bcb3beaa2..145aff8ac66f 100644 --- a/arch/arm/mach-keystone/psc.c +++ b/arch/arm/mach-keystone/psc.c @@ -7,6 +7,7 @@ */ #include +#include #include #include #include diff --git a/arch/arm/mach-lpc32xx/dram.c b/arch/arm/mach-lpc32xx/dram.c index 4f975694fd69..160223792353 100644 --- a/arch/arm/mach-lpc32xx/dram.c +++ b/arch/arm/mach-lpc32xx/dram.c @@ -17,6 +17,7 @@ #include #include #include +#include static struct clk_pm_regs *clk = (struct clk_pm_regs *)CLK_PM_BASE; static struct emc_regs *emc = (struct emc_regs *)EMC_BASE; diff --git a/arch/arm/mach-lpc32xx/timer.c b/arch/arm/mach-lpc32xx/timer.c index 46b7b46659c3..90183e3014eb 100644 --- a/arch/arm/mach-lpc32xx/timer.c +++ b/arch/arm/mach-lpc32xx/timer.c @@ -10,6 +10,7 @@ #include #include #include +#include static struct timer_regs *timer0 = (struct timer_regs *)TIMER0_BASE; static struct timer_regs *timer1 = (struct timer_regs *)TIMER1_BASE; diff --git a/arch/arm/mach-mvebu/cpu.c b/arch/arm/mach-mvebu/cpu.c index ab8b02956b28..c56b0aeb7926 100644 --- a/arch/arm/mach-mvebu/cpu.c +++ b/arch/arm/mach-mvebu/cpu.c @@ -7,6 +7,7 @@ #include #include #include +#include #include #include #include diff --git a/arch/arm/mach-mvebu/efuse.c b/arch/arm/mach-mvebu/efuse.c index 16ccfec933fe..304be957033e 100644 --- a/arch/arm/mach-mvebu/efuse.c +++ b/arch/arm/mach-mvebu/efuse.c @@ -10,6 +10,7 @@ #include #include #include +#include #include #if defined(CONFIG_MVEBU_EFUSE_FAKE) diff --git a/arch/arm/mach-mvebu/serdes/a38x/ctrl_pex.c b/arch/arm/mach-mvebu/serdes/a38x/ctrl_pex.c index a1cef9fdd6cd..af50cbc4f419 100644 --- a/arch/arm/mach-mvebu/serdes/a38x/ctrl_pex.c +++ b/arch/arm/mach-mvebu/serdes/a38x/ctrl_pex.c @@ -8,6 +8,7 @@ #include #include #include +#include #include "ctrl_pex.h" #include "sys_env_lib.h" diff --git a/arch/arm/mach-mvebu/serdes/a38x/high_speed_env_spec.c b/arch/arm/mach-mvebu/serdes/a38x/high_speed_env_spec.c index 66409a50c0fd..67a00cf1cf7b 100644 --- a/arch/arm/mach-mvebu/serdes/a38x/high_speed_env_spec.c +++ b/arch/arm/mach-mvebu/serdes/a38x/high_speed_env_spec.c @@ -8,6 +8,7 @@ #include #include #include +#include #include "high_speed_env_spec.h" #include "sys_env_lib.h" diff --git a/arch/arm/mach-mvebu/serdes/a38x/seq_exec.c b/arch/arm/mach-mvebu/serdes/a38x/seq_exec.c index d9edfaa1dfc0..2a51b7113ce4 100644 --- a/arch/arm/mach-mvebu/serdes/a38x/seq_exec.c +++ b/arch/arm/mach-mvebu/serdes/a38x/seq_exec.c @@ -8,6 +8,7 @@ #include #include #include +#include #include "seq_exec.h" #include "high_speed_env_spec.h" diff --git a/arch/arm/mach-mvebu/serdes/axp/high_speed_env_lib.c b/arch/arm/mach-mvebu/serdes/axp/high_speed_env_lib.c index c8c92988645f..ea3b4c7d5b72 100644 --- a/arch/arm/mach-mvebu/serdes/axp/high_speed_env_lib.c +++ b/arch/arm/mach-mvebu/serdes/axp/high_speed_env_lib.c @@ -9,6 +9,7 @@ #include #include #include +#include #include "high_speed_env_spec.h" #include "board_env_spec.h" diff --git a/arch/arm/mach-omap2/am33xx/board.c b/arch/arm/mach-omap2/am33xx/board.c index 533601eac4a0..ce58bf811f29 100644 --- a/arch/arm/mach-omap2/am33xx/board.c +++ b/arch/arm/mach-omap2/am33xx/board.c @@ -32,6 +32,7 @@ #include #include #include +#include #include #include #include diff --git a/arch/arm/mach-omap2/am33xx/clock_ti814x.c b/arch/arm/mach-omap2/am33xx/clock_ti814x.c index aef090b4f8e2..27abaff48fce 100644 --- a/arch/arm/mach-omap2/am33xx/clock_ti814x.c +++ b/arch/arm/mach-omap2/am33xx/clock_ti814x.c @@ -12,6 +12,7 @@ #include #include #include +#include /* PRCM */ #define PRCM_MOD_EN 0x2 diff --git a/arch/arm/mach-omap2/am33xx/ddr.c b/arch/arm/mach-omap2/am33xx/ddr.c index 71636276d4ec..f8434ecf5758 100644 --- a/arch/arm/mach-omap2/am33xx/ddr.c +++ b/arch/arm/mach-omap2/am33xx/ddr.c @@ -12,6 +12,7 @@ #include #include #include +#include /** * Base address for EMIF instances diff --git a/arch/arm/mach-omap2/am33xx/ti816x_emif4.c b/arch/arm/mach-omap2/am33xx/ti816x_emif4.c index 9f5948995848..707ea807ac28 100644 --- a/arch/arm/mach-omap2/am33xx/ti816x_emif4.c +++ b/arch/arm/mach-omap2/am33xx/ti816x_emif4.c @@ -15,6 +15,7 @@ #include #include #include +#include /********************************************************************* * Init DDR3 on TI816X EVM diff --git a/arch/arm/mach-omap2/emif-common.c b/arch/arm/mach-omap2/emif-common.c index 8bc4fbbb6062..312f868fbc71 100644 --- a/arch/arm/mach-omap2/emif-common.c +++ b/arch/arm/mach-omap2/emif-common.c @@ -21,6 +21,7 @@ #include #include #include +#include static int emif1_enabled = -1, emif2_enabled = -1; diff --git a/arch/arm/mach-omap2/omap5/hwinit.c b/arch/arm/mach-omap2/omap5/hwinit.c index 3b1733099fdc..47ac8656bfe1 100644 --- a/arch/arm/mach-omap2/omap5/hwinit.c +++ b/arch/arm/mach-omap2/omap5/hwinit.c @@ -18,6 +18,7 @@ #include #include #include +#include #include #include #include diff --git a/arch/arm/mach-omap2/pipe3-phy.c b/arch/arm/mach-omap2/pipe3-phy.c index 8808e353a92f..94332b7edec7 100644 --- a/arch/arm/mach-omap2/pipe3-phy.c +++ b/arch/arm/mach-omap2/pipe3-phy.c @@ -11,6 +11,7 @@ #include #include #include +#include #include #include "pipe3-phy.h" diff --git a/arch/arm/mach-omap2/timer.c b/arch/arm/mach-omap2/timer.c index 7752dd156568..bcfba16a08e5 100644 --- a/arch/arm/mach-omap2/timer.c +++ b/arch/arm/mach-omap2/timer.c @@ -21,6 +21,7 @@ #include #include #include +#include DECLARE_GLOBAL_DATA_PTR; diff --git a/arch/arm/mach-orion5x/timer.c b/arch/arm/mach-orion5x/timer.c index a64d5721120a..4926bb777960 100644 --- a/arch/arm/mach-orion5x/timer.c +++ b/arch/arm/mach-orion5x/timer.c @@ -11,6 +11,7 @@ #include #include #include +#include #define UBOOT_CNTR 0 /* counter to use for uboot timer */ diff --git a/arch/arm/mach-rmobile/timer.c b/arch/arm/mach-rmobile/timer.c index f88ccfde9ff2..ba06535e4c2a 100644 --- a/arch/arm/mach-rmobile/timer.c +++ b/arch/arm/mach-rmobile/timer.c @@ -11,6 +11,7 @@ #include #include #include +#include static struct globaltimer *global_timer = \ (struct globaltimer *)GLOBAL_TIMER_BASE_ADDR; diff --git a/arch/arm/mach-rockchip/rk3036/sdram_rk3036.c b/arch/arm/mach-rockchip/rk3036/sdram_rk3036.c index 3874716e529d..6ae254e99af5 100644 --- a/arch/arm/mach-rockchip/rk3036/sdram_rk3036.c +++ b/arch/arm/mach-rockchip/rk3036/sdram_rk3036.c @@ -11,6 +11,7 @@ #include #include #include +#include /* * we can not fit the code to access the device tree in SPL diff --git a/arch/arm/mach-rockchip/rk3368/rk3368.c b/arch/arm/mach-rockchip/rk3368/rk3368.c index bcc230c90063..c865afa5f286 100644 --- a/arch/arm/mach-rockchip/rk3368/rk3368.c +++ b/arch/arm/mach-rockchip/rk3368/rk3368.c @@ -14,6 +14,7 @@ #include #include #include +#include DECLARE_GLOBAL_DATA_PTR; diff --git a/arch/arm/mach-socfpga/clock_manager_arria10.c b/arch/arm/mach-socfpga/clock_manager_arria10.c index d7c8eaf47dc8..58d5d3fd8a57 100644 --- a/arch/arm/mach-socfpga/clock_manager_arria10.c +++ b/arch/arm/mach-socfpga/clock_manager_arria10.c @@ -11,6 +11,7 @@ #include #include #include +#include #ifdef CONFIG_SPL_BUILD diff --git a/arch/arm/mach-socfpga/freeze_controller.c b/arch/arm/mach-socfpga/freeze_controller.c index d48aeec37426..561d3408cd8f 100644 --- a/arch/arm/mach-socfpga/freeze_controller.c +++ b/arch/arm/mach-socfpga/freeze_controller.c @@ -8,6 +8,7 @@ #include #include #include +#include #include static const struct socfpga_freeze_controller *freeze_controller_base = diff --git a/arch/arm/mach-socfpga/scan_manager.c b/arch/arm/mach-socfpga/scan_manager.c index f7ee28915ecd..36d6880141ea 100644 --- a/arch/arm/mach-socfpga/scan_manager.c +++ b/arch/arm/mach-socfpga/scan_manager.c @@ -9,6 +9,7 @@ #include #include #include +#include /* * Maximum polling loop to wait for IO scan chain engine becomes idle diff --git a/arch/arm/mach-stm32mp/cmd_stm32prog/stm32prog_serial.c b/arch/arm/mach-stm32mp/cmd_stm32prog/stm32prog_serial.c index 5a16979adce7..70940f01f321 100644 --- a/arch/arm/mach-stm32mp/cmd_stm32prog/stm32prog_serial.c +++ b/arch/arm/mach-stm32mp/cmd_stm32prog/stm32prog_serial.c @@ -11,6 +11,7 @@ #include #include #include +#include #include "stm32prog.h" /* - configuration part -----------------------------*/ diff --git a/arch/arm/mach-sunxi/clock_sun6i.c b/arch/arm/mach-sunxi/clock_sun6i.c index 6ca38f73d93c..b46083e9db91 100644 --- a/arch/arm/mach-sunxi/clock_sun6i.c +++ b/arch/arm/mach-sunxi/clock_sun6i.c @@ -14,6 +14,7 @@ #include #include #include +#include #ifdef CONFIG_SPL_BUILD void clock_init_safe(void) diff --git a/arch/arm/mach-sunxi/clock_sun8i_a83t.c b/arch/arm/mach-sunxi/clock_sun8i_a83t.c index a55a6162d44b..31e4281529ad 100644 --- a/arch/arm/mach-sunxi/clock_sun8i_a83t.c +++ b/arch/arm/mach-sunxi/clock_sun8i_a83t.c @@ -14,6 +14,7 @@ #include #include #include +#include #ifdef CONFIG_SPL_BUILD void clock_init_safe(void) diff --git a/arch/arm/mach-sunxi/dram_sun4i.c b/arch/arm/mach-sunxi/dram_sun4i.c index 72de807a4726..76d698214da4 100644 --- a/arch/arm/mach-sunxi/dram_sun4i.c +++ b/arch/arm/mach-sunxi/dram_sun4i.c @@ -27,6 +27,7 @@ #include #include #include +#include #define CPU_CFG_CHIP_VER(n) ((n) << 6) #define CPU_CFG_CHIP_VER_MASK CPU_CFG_CHIP_VER(0x3) diff --git a/arch/arm/mach-sunxi/dram_sun50i_h6.c b/arch/arm/mach-sunxi/dram_sun50i_h6.c index 045e8679e3f1..9e34da474798 100644 --- a/arch/arm/mach-sunxi/dram_sun50i_h6.c +++ b/arch/arm/mach-sunxi/dram_sun50i_h6.c @@ -13,6 +13,7 @@ #include #include #include +#include #include /* diff --git a/arch/arm/mach-sunxi/dram_sun6i.c b/arch/arm/mach-sunxi/dram_sun6i.c index 8e781267c517..0590110d4acb 100644 --- a/arch/arm/mach-sunxi/dram_sun6i.c +++ b/arch/arm/mach-sunxi/dram_sun6i.c @@ -16,6 +16,7 @@ #include #include #include +#include #define DRAM_CLK (CONFIG_DRAM_CLK * 1000000) diff --git a/arch/arm/mach-sunxi/dram_sun8i_a23.c b/arch/arm/mach-sunxi/dram_sun8i_a23.c index 221f92869c29..3ed97b59a32c 100644 --- a/arch/arm/mach-sunxi/dram_sun8i_a23.c +++ b/arch/arm/mach-sunxi/dram_sun8i_a23.c @@ -26,6 +26,7 @@ #include #include #include +#include static const struct dram_para dram_para = { .clock = CONFIG_DRAM_CLK, diff --git a/arch/arm/mach-sunxi/dram_sun8i_a33.c b/arch/arm/mach-sunxi/dram_sun8i_a33.c index 179acc7e6fef..d99a38b10aa6 100644 --- a/arch/arm/mach-sunxi/dram_sun8i_a33.c +++ b/arch/arm/mach-sunxi/dram_sun8i_a33.c @@ -14,6 +14,7 @@ #include #include #include +#include /* PLL runs at 2x dram-clk, controller runs at PLL / 4 (dram-clk / 2) */ #define DRAM_CLK_MUL 2 diff --git a/arch/arm/mach-sunxi/dram_sun8i_a83t.c b/arch/arm/mach-sunxi/dram_sun8i_a83t.c index 2febb2365476..a3f833dd341b 100644 --- a/arch/arm/mach-sunxi/dram_sun8i_a83t.c +++ b/arch/arm/mach-sunxi/dram_sun8i_a83t.c @@ -14,6 +14,7 @@ #include #include #include +#include #define DRAM_CLK_MUL 2 #define DRAM_CLK_DIV 1 diff --git a/arch/arm/mach-sunxi/dram_sunxi_dw.c b/arch/arm/mach-sunxi/dram_sunxi_dw.c index 567cb5b18e7c..5d84798ca438 100644 --- a/arch/arm/mach-sunxi/dram_sunxi_dw.c +++ b/arch/arm/mach-sunxi/dram_sunxi_dw.c @@ -15,6 +15,7 @@ #include #include #include +#include #include static void mctl_phy_init(u32 val) diff --git a/arch/arm/mach-sunxi/spl_spi_sunxi.c b/arch/arm/mach-sunxi/spl_spi_sunxi.c index c084de7e2ce2..d369df93d4a6 100644 --- a/arch/arm/mach-sunxi/spl_spi_sunxi.c +++ b/arch/arm/mach-sunxi/spl_spi_sunxi.c @@ -9,6 +9,7 @@ #include #include #include +#include #include #ifdef CONFIG_SPL_OS_BOOT diff --git a/arch/arm/mach-tegra/clock.c b/arch/arm/mach-tegra/clock.c index c4225b8b5bf8..18c19dbf6061 100644 --- a/arch/arm/mach-tegra/clock.c +++ b/arch/arm/mach-tegra/clock.c @@ -18,6 +18,7 @@ #include #include #include +#include /* * This is our record of the current clock rate of each clock. We don't diff --git a/arch/arm/mach-tegra/cmd_enterrcm.c b/arch/arm/mach-tegra/cmd_enterrcm.c index 110d441d9bce..25df31a3b858 100644 --- a/arch/arm/mach-tegra/cmd_enterrcm.c +++ b/arch/arm/mach-tegra/cmd_enterrcm.c @@ -30,6 +30,7 @@ #include #include #include +#include static int do_enterrcm(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[]) diff --git a/arch/arm/mach-tegra/cpu.c b/arch/arm/mach-tegra/cpu.c index d12ebb319e8e..65b15b79fe9b 100644 --- a/arch/arm/mach-tegra/cpu.c +++ b/arch/arm/mach-tegra/cpu.c @@ -13,6 +13,7 @@ #include #include #include +#include #include "cpu.h" int get_num_cpus(void) diff --git a/arch/arm/mach-tegra/powergate.c b/arch/arm/mach-tegra/powergate.c index 761c9ef19e3b..631bc04e9506 100644 --- a/arch/arm/mach-tegra/powergate.c +++ b/arch/arm/mach-tegra/powergate.c @@ -5,6 +5,7 @@ #include #include +#include #include #include diff --git a/arch/arm/mach-tegra/tegra114/clock.c b/arch/arm/mach-tegra/tegra114/clock.c index 1c06865e06db..167589d1bb76 100644 --- a/arch/arm/mach-tegra/tegra114/clock.c +++ b/arch/arm/mach-tegra/tegra114/clock.c @@ -17,6 +17,7 @@ #include #include #include +#include /* * Clock types that we can use as a source. The Tegra114 has muxes for the diff --git a/arch/arm/mach-tegra/tegra114/cpu.c b/arch/arm/mach-tegra/tegra114/cpu.c index 92ce3cefae3c..62c10536306b 100644 --- a/arch/arm/mach-tegra/tegra114/cpu.c +++ b/arch/arm/mach-tegra/tegra114/cpu.c @@ -13,6 +13,7 @@ #include #include #include +#include #include "../cpu.h" /* Tegra114-specific CPU init code */ diff --git a/arch/arm/mach-tegra/tegra124/clock.c b/arch/arm/mach-tegra/tegra124/clock.c index 4359093892e4..79e67f5194ea 100644 --- a/arch/arm/mach-tegra/tegra124/clock.c +++ b/arch/arm/mach-tegra/tegra124/clock.c @@ -17,6 +17,7 @@ #include #include #include +#include /* * Clock types that we can use as a source. The Tegra124 has muxes for the diff --git a/arch/arm/mach-tegra/tegra124/cpu.c b/arch/arm/mach-tegra/tegra124/cpu.c index c9226af4c5f7..d5f2683b266c 100644 --- a/arch/arm/mach-tegra/tegra124/cpu.c +++ b/arch/arm/mach-tegra/tegra124/cpu.c @@ -15,6 +15,7 @@ #include #include #include +#include #include "../cpu.h" /* Tegra124-specific CPU init code */ diff --git a/arch/arm/mach-tegra/tegra124/xusb-padctl.c b/arch/arm/mach-tegra/tegra124/xusb-padctl.c index 9a97c8743647..38afc3cbe6de 100644 --- a/arch/arm/mach-tegra/tegra124/xusb-padctl.c +++ b/arch/arm/mach-tegra/tegra124/xusb-padctl.c @@ -10,6 +10,7 @@ #include #include #include +#include #include "../xusb-padctl-common.h" diff --git a/arch/arm/mach-tegra/tegra20/clock.c b/arch/arm/mach-tegra/tegra20/clock.c index 8e3ad2baa2e8..24e8a13b1f9b 100644 --- a/arch/arm/mach-tegra/tegra20/clock.c +++ b/arch/arm/mach-tegra/tegra20/clock.c @@ -18,6 +18,7 @@ #include #include #include +#include /* * Clock types that we can use as a source. The Tegra20 has muxes for the diff --git a/arch/arm/mach-tegra/tegra20/cpu.c b/arch/arm/mach-tegra/tegra20/cpu.c index 2d14ac9d95e7..e5b60598f7f7 100644 --- a/arch/arm/mach-tegra/tegra20/cpu.c +++ b/arch/arm/mach-tegra/tegra20/cpu.c @@ -7,6 +7,7 @@ #include #include #include +#include #include "../cpu.h" static void enable_cpu_power_rail(void) diff --git a/arch/arm/mach-tegra/tegra210/clock.c b/arch/arm/mach-tegra/tegra210/clock.c index 171c98daa2e2..4fe6df481237 100644 --- a/arch/arm/mach-tegra/tegra210/clock.c +++ b/arch/arm/mach-tegra/tegra210/clock.c @@ -19,6 +19,7 @@ #include #include #include +#include /* * Clock types that we can use as a source. The Tegra210 has muxes for the diff --git a/arch/arm/mach-tegra/tegra210/xusb-padctl.c b/arch/arm/mach-tegra/tegra210/xusb-padctl.c index b75cc31c8c19..d160ce4c999e 100644 --- a/arch/arm/mach-tegra/tegra210/xusb-padctl.c +++ b/arch/arm/mach-tegra/tegra210/xusb-padctl.c @@ -10,6 +10,7 @@ #include #include #include +#include #include "../xusb-padctl-common.h" diff --git a/arch/arm/mach-tegra/tegra30/clock.c b/arch/arm/mach-tegra/tegra30/clock.c index 7a5c54d592f4..b0641c6a41a4 100644 --- a/arch/arm/mach-tegra/tegra30/clock.c +++ b/arch/arm/mach-tegra/tegra30/clock.c @@ -17,6 +17,7 @@ #include #include #include +#include /* * Clock types that we can use as a source. The Tegra30 has muxes for the diff --git a/arch/arm/mach-tegra/tegra30/cpu.c b/arch/arm/mach-tegra/tegra30/cpu.c index 7bd1de195340..651edd27ee87 100644 --- a/arch/arm/mach-tegra/tegra30/cpu.c +++ b/arch/arm/mach-tegra/tegra30/cpu.c @@ -12,6 +12,7 @@ #include #include #include +#include #include "../cpu.h" /* Tegra30-specific CPU init code */ diff --git a/arch/arm/mach-uniphier/clk/clk-ld11.c b/arch/arm/mach-uniphier/clk/clk-ld11.c index 0917b33c2546..94b9d904dc64 100644 --- a/arch/arm/mach-uniphier/clk/clk-ld11.c +++ b/arch/arm/mach-uniphier/clk/clk-ld11.c @@ -6,6 +6,7 @@ #include #include #include +#include #include #include "../init.h" diff --git a/arch/arm/mach-uniphier/clk/dpll-ld4.c b/arch/arm/mach-uniphier/clk/dpll-ld4.c index 72fe8db8dd1d..fd77aa7e1158 100644 --- a/arch/arm/mach-uniphier/clk/dpll-ld4.c +++ b/arch/arm/mach-uniphier/clk/dpll-ld4.c @@ -5,6 +5,7 @@ */ #include +#include #include #include diff --git a/arch/arm/mach-uniphier/clk/dpll-pro4.c b/arch/arm/mach-uniphier/clk/dpll-pro4.c index 62594954848c..c86881dabd26 100644 --- a/arch/arm/mach-uniphier/clk/dpll-pro4.c +++ b/arch/arm/mach-uniphier/clk/dpll-pro4.c @@ -5,6 +5,7 @@ */ #include +#include #include #include diff --git a/arch/arm/mach-uniphier/micro-support-card.c b/arch/arm/mach-uniphier/micro-support-card.c index f6e95ee7baa2..18435dc361e3 100644 --- a/arch/arm/mach-uniphier/micro-support-card.c +++ b/arch/arm/mach-uniphier/micro-support-card.c @@ -11,6 +11,7 @@ #include #include #include +#include #include #include "micro-support-card.h" diff --git a/arch/arm/mach-zynqmp/mp.c b/arch/arm/mach-zynqmp/mp.c index 74ada3b67071..656678a1551f 100644 --- a/arch/arm/mach-zynqmp/mp.c +++ b/arch/arm/mach-zynqmp/mp.c @@ -10,6 +10,7 @@ #include #include #include +#include #define LOCK 0 #define SPLIT 1 diff --git a/arch/arm/mach-zynqmp/psu_spl_init.c b/arch/arm/mach-zynqmp/psu_spl_init.c index b6abdfd608ee..5c5c7d136e77 100644 --- a/arch/arm/mach-zynqmp/psu_spl_init.c +++ b/arch/arm/mach-zynqmp/psu_spl_init.c @@ -7,6 +7,7 @@ #include #include #include +#include #define PSU_MASK_POLL_TIME 1100000 diff --git a/arch/arm/mach-zynqmp/spl.c b/arch/arm/mach-zynqmp/spl.c index fd0c1228c346..9dd61e25f6f5 100644 --- a/arch/arm/mach-zynqmp/spl.c +++ b/arch/arm/mach-zynqmp/spl.c @@ -10,6 +10,7 @@ #include #include #include +#include #include #include diff --git a/arch/m68k/cpu/mcf5227x/cpu.c b/arch/m68k/cpu/mcf5227x/cpu.c index 200c53eaf357..5ea6158c8094 100644 --- a/arch/m68k/cpu/mcf5227x/cpu.c +++ b/arch/m68k/cpu/mcf5227x/cpu.c @@ -13,6 +13,7 @@ #include #include #include +#include #include #include diff --git a/arch/m68k/cpu/mcf52x2/cpu.c b/arch/m68k/cpu/mcf52x2/cpu.c index 8c91e0e193b4..d3d4e30ad552 100644 --- a/arch/m68k/cpu/mcf52x2/cpu.c +++ b/arch/m68k/cpu/mcf52x2/cpu.c @@ -22,6 +22,7 @@ #include #include #include +#include #include "cpu.h" DECLARE_GLOBAL_DATA_PTR; diff --git a/arch/m68k/cpu/mcf52x2/speed.c b/arch/m68k/cpu/mcf52x2/speed.c index 02ef5d87aa7f..751c83a4fc08 100644 --- a/arch/m68k/cpu/mcf52x2/speed.c +++ b/arch/m68k/cpu/mcf52x2/speed.c @@ -12,6 +12,7 @@ #include #include #include +#include DECLARE_GLOBAL_DATA_PTR; diff --git a/arch/m68k/cpu/mcf532x/cpu.c b/arch/m68k/cpu/mcf532x/cpu.c index 87b77f42def9..72bfdf056bfa 100644 --- a/arch/m68k/cpu/mcf532x/cpu.c +++ b/arch/m68k/cpu/mcf532x/cpu.c @@ -15,6 +15,7 @@ #include #include #include +#include #include #include diff --git a/arch/m68k/cpu/mcf5445x/cpu.c b/arch/m68k/cpu/mcf5445x/cpu.c index 2608fdd76f1d..886f29d1b6af 100644 --- a/arch/m68k/cpu/mcf5445x/cpu.c +++ b/arch/m68k/cpu/mcf5445x/cpu.c @@ -15,6 +15,7 @@ #include #include #include +#include #include #include diff --git a/arch/m68k/cpu/mcf5445x/pci.c b/arch/m68k/cpu/mcf5445x/pci.c index 09bd74556920..af02c4934c97 100644 --- a/arch/m68k/cpu/mcf5445x/pci.c +++ b/arch/m68k/cpu/mcf5445x/pci.c @@ -11,6 +11,7 @@ #include #include #include +#include #if defined(CONFIG_PCI) /* System RAM mapped over PCI */ diff --git a/arch/m68k/cpu/mcf547x_8x/pci.c b/arch/m68k/cpu/mcf547x_8x/pci.c index ac42cca2efa7..74ba68124f1a 100644 --- a/arch/m68k/cpu/mcf547x_8x/pci.c +++ b/arch/m68k/cpu/mcf547x_8x/pci.c @@ -11,6 +11,7 @@ #include #include #include +#include #if defined(CONFIG_PCI) /* System RAM mapped over PCI */ diff --git a/arch/m68k/cpu/mcf547x_8x/slicetimer.c b/arch/m68k/cpu/mcf547x_8x/slicetimer.c index c4988f9031c5..33b4cff4ec72 100644 --- a/arch/m68k/cpu/mcf547x_8x/slicetimer.c +++ b/arch/m68k/cpu/mcf547x_8x/slicetimer.c @@ -7,6 +7,7 @@ #include #include #include +#include #include #include diff --git a/arch/m68k/lib/time.c b/arch/m68k/lib/time.c index eab6e2088e9d..a3eb6db54be7 100644 --- a/arch/m68k/lib/time.c +++ b/arch/m68k/lib/time.c @@ -10,6 +10,7 @@ #include #include #include +#include #include #include diff --git a/arch/microblaze/cpu/timer.c b/arch/microblaze/cpu/timer.c index cd4aba667edf..1b4617311c57 100644 --- a/arch/microblaze/cpu/timer.c +++ b/arch/microblaze/cpu/timer.c @@ -12,6 +12,7 @@ #include #include #include +#include DECLARE_GLOBAL_DATA_PTR; diff --git a/arch/mips/mach-ath79/ar934x/clk.c b/arch/mips/mach-ath79/ar934x/clk.c index 5d0d4550db51..bb972b3a6046 100644 --- a/arch/mips/mach-ath79/ar934x/clk.c +++ b/arch/mips/mach-ath79/ar934x/clk.c @@ -10,6 +10,7 @@ #include #include #include +#include #include #include #include diff --git a/arch/mips/mach-ath79/ar934x/ddr.c b/arch/mips/mach-ath79/ar934x/ddr.c index 289973ec9539..9c5a6b68ec1a 100644 --- a/arch/mips/mach-ath79/ar934x/ddr.c +++ b/arch/mips/mach-ath79/ar934x/ddr.c @@ -9,6 +9,7 @@ #include #include #include +#include #include #include diff --git a/arch/mips/mach-ath79/qca953x/ddr.c b/arch/mips/mach-ath79/qca953x/ddr.c index 268da7336b39..3a009bb532b3 100644 --- a/arch/mips/mach-ath79/qca953x/ddr.c +++ b/arch/mips/mach-ath79/qca953x/ddr.c @@ -8,6 +8,7 @@ #include #include #include +#include #include #include diff --git a/arch/mips/mach-ath79/qca956x/ddr.c b/arch/mips/mach-ath79/qca956x/ddr.c index fb2230430c62..e61a368141ba 100644 --- a/arch/mips/mach-ath79/qca956x/ddr.c +++ b/arch/mips/mach-ath79/qca956x/ddr.c @@ -9,6 +9,7 @@ #include #include #include +#include #include #include diff --git a/arch/mips/mach-ath79/reset.c b/arch/mips/mach-ath79/reset.c index 0ab3ab6383c8..62330a65759b 100644 --- a/arch/mips/mach-ath79/reset.c +++ b/arch/mips/mach-ath79/reset.c @@ -5,6 +5,7 @@ */ #include +#include #include #include #include diff --git a/arch/mips/mach-jz47xx/jz4780/pll.c b/arch/mips/mach-jz47xx/jz4780/pll.c index 9a46198f3642..43827d196786 100644 --- a/arch/mips/mach-jz47xx/jz4780/pll.c +++ b/arch/mips/mach-jz47xx/jz4780/pll.c @@ -9,6 +9,7 @@ #include #include #include +#include #include #define CPM_CPCCR 0x00 diff --git a/arch/mips/mach-jz47xx/jz4780/sdram.c b/arch/mips/mach-jz47xx/jz4780/sdram.c index 3049a63d5770..efbb82f62b05 100644 --- a/arch/mips/mach-jz47xx/jz4780/sdram.c +++ b/arch/mips/mach-jz47xx/jz4780/sdram.c @@ -13,6 +13,7 @@ #include #include #include +#include #include #include diff --git a/arch/mips/mach-jz47xx/jz4780/timer.c b/arch/mips/mach-jz47xx/jz4780/timer.c index 340e35e6fccf..70db74d3a0c9 100644 --- a/arch/mips/mach-jz47xx/jz4780/timer.c +++ b/arch/mips/mach-jz47xx/jz4780/timer.c @@ -14,6 +14,7 @@ #include #include #include +#include #include #define TCU_TSR 0x1C /* Timer Stop Register */ diff --git a/arch/mips/mach-mtmips/ddr_init.c b/arch/mips/mach-mtmips/ddr_init.c index cd355cc8409b..6c6d0933f2ea 100644 --- a/arch/mips/mach-mtmips/ddr_init.c +++ b/arch/mips/mach-mtmips/ddr_init.c @@ -7,6 +7,7 @@ #include #include +#include #include #include #include diff --git a/arch/mips/mach-mtmips/mt7628/ddr.c b/arch/mips/mach-mtmips/mt7628/ddr.c index 06c0ca68541c..3df85cd144a3 100644 --- a/arch/mips/mach-mtmips/mt7628/ddr.c +++ b/arch/mips/mach-mtmips/mt7628/ddr.c @@ -8,6 +8,7 @@ #include #include #include +#include #include #include #include diff --git a/arch/nds32/cpu/n1213/ag101/timer.c b/arch/nds32/cpu/n1213/ag101/timer.c index 8208b6de90c0..394fc10ec3ad 100644 --- a/arch/nds32/cpu/n1213/ag101/timer.c +++ b/arch/nds32/cpu/n1213/ag101/timer.c @@ -15,6 +15,7 @@ #include #include #include +#include static ulong timestamp; static ulong lastdec; diff --git a/arch/powerpc/cpu/mpc83xx/cpu.c b/arch/powerpc/cpu/mpc83xx/cpu.c index 0307039f3721..cefbcf6e817a 100644 --- a/arch/powerpc/cpu/mpc83xx/cpu.c +++ b/arch/powerpc/cpu/mpc83xx/cpu.c @@ -19,6 +19,7 @@ #include #include #include +#include #include #include #include diff --git a/arch/powerpc/cpu/mpc83xx/cpu_init.c b/arch/powerpc/cpu/mpc83xx/cpu_init.c index 4defe984774c..438b14b162eb 100644 --- a/arch/powerpc/cpu/mpc83xx/cpu_init.c +++ b/arch/powerpc/cpu/mpc83xx/cpu_init.c @@ -12,6 +12,7 @@ #ifdef CONFIG_USB_EHCI_FSL #include #endif +#include #include "lblaw/lblaw.h" #include "elbc/elbc.h" diff --git a/arch/powerpc/cpu/mpc83xx/pci.c b/arch/powerpc/cpu/mpc83xx/pci.c index a183ed634307..74f824d2bca4 100644 --- a/arch/powerpc/cpu/mpc83xx/pci.c +++ b/arch/powerpc/cpu/mpc83xx/pci.c @@ -9,6 +9,7 @@ #include #include #include +#include #if defined(CONFIG_OF_LIBFDT) #include diff --git a/arch/powerpc/cpu/mpc83xx/pcie.c b/arch/powerpc/cpu/mpc83xx/pcie.c index b500ddd3f3a5..785d4805a469 100644 --- a/arch/powerpc/cpu/mpc83xx/pcie.c +++ b/arch/powerpc/cpu/mpc83xx/pcie.c @@ -11,6 +11,7 @@ #include #include #include +#include DECLARE_GLOBAL_DATA_PTR; diff --git a/arch/powerpc/cpu/mpc83xx/serdes.c b/arch/powerpc/cpu/mpc83xx/serdes.c index 8242f952653b..bb963ee5e2f4 100644 --- a/arch/powerpc/cpu/mpc83xx/serdes.c +++ b/arch/powerpc/cpu/mpc83xx/serdes.c @@ -14,6 +14,7 @@ #include #include #include +#include /* SerDes registers */ #define FSL_SRDSCR0_OFFS 0x0 diff --git a/arch/powerpc/cpu/mpc83xx/spd_sdram.c b/arch/powerpc/cpu/mpc83xx/spd_sdram.c index 34faff2df596..c28e4425ee75 100644 --- a/arch/powerpc/cpu/mpc83xx/spd_sdram.c +++ b/arch/powerpc/cpu/mpc83xx/spd_sdram.c @@ -23,6 +23,7 @@ #include #include #include +#include DECLARE_GLOBAL_DATA_PTR; diff --git a/arch/powerpc/cpu/mpc85xx/cpu.c b/arch/powerpc/cpu/mpc85xx/cpu.c index 8de218666b59..9bd573dbd6f2 100644 --- a/arch/powerpc/cpu/mpc85xx/cpu.c +++ b/arch/powerpc/cpu/mpc85xx/cpu.c @@ -29,6 +29,7 @@ #include #include #include +#include DECLARE_GLOBAL_DATA_PTR; diff --git a/arch/powerpc/cpu/mpc85xx/cpu_init.c b/arch/powerpc/cpu/mpc85xx/cpu_init.c index 1c2d8edf605d..4bca2671d523 100644 --- a/arch/powerpc/cpu/mpc85xx/cpu_init.c +++ b/arch/powerpc/cpu/mpc85xx/cpu_init.c @@ -33,6 +33,7 @@ #include #include #include +#include #include "mp.h" #ifdef CONFIG_CHAIN_OF_TRUST #include diff --git a/arch/powerpc/cpu/mpc85xx/fsl_corenet2_serdes.c b/arch/powerpc/cpu/mpc85xx/fsl_corenet2_serdes.c index 796bc15a7c6b..ee5015ec8f3e 100644 --- a/arch/powerpc/cpu/mpc85xx/fsl_corenet2_serdes.c +++ b/arch/powerpc/cpu/mpc85xx/fsl_corenet2_serdes.c @@ -10,6 +10,7 @@ #include #include #include +#include #include #include #include "fsl_corenet2_serdes.h" diff --git a/arch/powerpc/cpu/mpc85xx/fsl_corenet_serdes.c b/arch/powerpc/cpu/mpc85xx/fsl_corenet_serdes.c index e6d4707e3e99..f5126e2c8acf 100644 --- a/arch/powerpc/cpu/mpc85xx/fsl_corenet_serdes.c +++ b/arch/powerpc/cpu/mpc85xx/fsl_corenet_serdes.c @@ -15,6 +15,7 @@ #include #include #include +#include #include #include "fsl_corenet_serdes.h" diff --git a/arch/powerpc/cpu/mpc85xx/mp.c b/arch/powerpc/cpu/mpc85xx/mp.c index 28e1580a4376..8822cf29fefd 100644 --- a/arch/powerpc/cpu/mpc85xx/mp.c +++ b/arch/powerpc/cpu/mpc85xx/mp.c @@ -15,6 +15,7 @@ #include #include #include +#include #include "mp.h" DECLARE_GLOBAL_DATA_PTR; diff --git a/arch/powerpc/cpu/mpc85xx/p1021_serdes.c b/arch/powerpc/cpu/mpc85xx/p1021_serdes.c index 1a7c839d6128..6b8e447e94a4 100644 --- a/arch/powerpc/cpu/mpc85xx/p1021_serdes.c +++ b/arch/powerpc/cpu/mpc85xx/p1021_serdes.c @@ -9,6 +9,7 @@ #include #include #include +#include typedef struct serdes_85xx { u32 srdscr0; /* 0x00 - SRDS Control Register 0 */ diff --git a/arch/powerpc/cpu/mpc85xx/spl_minimal.c b/arch/powerpc/cpu/mpc85xx/spl_minimal.c index 972049b8e95a..21b35db08df1 100644 --- a/arch/powerpc/cpu/mpc85xx/spl_minimal.c +++ b/arch/powerpc/cpu/mpc85xx/spl_minimal.c @@ -8,6 +8,7 @@ #include #include #include +#include DECLARE_GLOBAL_DATA_PTR; diff --git a/arch/powerpc/cpu/mpc8xxx/srio.c b/arch/powerpc/cpu/mpc8xxx/srio.c index 17b11744a4d7..c73cf9319c87 100644 --- a/arch/powerpc/cpu/mpc8xxx/srio.c +++ b/arch/powerpc/cpu/mpc8xxx/srio.c @@ -10,6 +10,7 @@ #include #include #include +#include #include #ifdef CONFIG_SRIO_PCIE_BOOT_MASTER diff --git a/arch/powerpc/lib/time.c b/arch/powerpc/lib/time.c index 58931f0e6e2d..8d6babfb83d6 100644 --- a/arch/powerpc/lib/time.c +++ b/arch/powerpc/lib/time.c @@ -8,6 +8,7 @@ #include #include #include +#include /* ------------------------------------------------------------------------- */ diff --git a/arch/sandbox/cpu/cpu.c b/arch/sandbox/cpu/cpu.c index 0d9300736d46..fb857e53d592 100644 --- a/arch/sandbox/cpu/cpu.c +++ b/arch/sandbox/cpu/cpu.c @@ -9,6 +9,7 @@ #include #include #include +#include #include #include #include diff --git a/arch/sh/lib/time_sh2.c b/arch/sh/lib/time_sh2.c index ef7c6073cc71..5484c543c6c8 100644 --- a/arch/sh/lib/time_sh2.c +++ b/arch/sh/lib/time_sh2.c @@ -12,6 +12,7 @@ #include #include #include +#include #define CMT_CMCSR_INIT 0x0001 /* PCLK/32 */ #define CMT_CMCSR_CALIB 0x0000 diff --git a/arch/x86/cpu/apollolake/punit.c b/arch/x86/cpu/apollolake/punit.c index 600c5ea93645..e76f2805d7f9 100644 --- a/arch/x86/cpu/apollolake/punit.c +++ b/arch/x86/cpu/apollolake/punit.c @@ -13,6 +13,7 @@ #include #include #include +#include /* * Punit Initialisation code. This all isn't documented, but diff --git a/arch/x86/cpu/broadwell/cpu_full.c b/arch/x86/cpu/broadwell/cpu_full.c index 120879038da2..64a1cd414fc4 100644 --- a/arch/x86/cpu/broadwell/cpu_full.c +++ b/arch/x86/cpu/broadwell/cpu_full.c @@ -20,6 +20,7 @@ #include #include #include +#include struct cpu_broadwell_priv { bool ht_disabled; diff --git a/arch/x86/cpu/broadwell/iobp.c b/arch/x86/cpu/broadwell/iobp.c index 8a3ca6cde7e5..cb5595c930e1 100644 --- a/arch/x86/cpu/broadwell/iobp.c +++ b/arch/x86/cpu/broadwell/iobp.c @@ -10,6 +10,7 @@ #include #include #include +#include #define IOBP_RETRY 1000 diff --git a/arch/x86/cpu/broadwell/me.c b/arch/x86/cpu/broadwell/me.c index 7991e1ea07b5..ae16ce264992 100644 --- a/arch/x86/cpu/broadwell/me.c +++ b/arch/x86/cpu/broadwell/me.c @@ -9,6 +9,7 @@ #include #include #include +#include static inline void me_read_dword_ptr(struct udevice *dev, void *ptr, int offset) { diff --git a/arch/x86/cpu/broadwell/pch.c b/arch/x86/cpu/broadwell/pch.c index 8c71e43a2d89..9bcf211af99c 100644 --- a/arch/x86/cpu/broadwell/pch.c +++ b/arch/x86/cpu/broadwell/pch.c @@ -24,6 +24,7 @@ #include #include #include +#include #define BIOS_CTRL 0xdc diff --git a/arch/x86/cpu/broadwell/sata.c b/arch/x86/cpu/broadwell/sata.c index 9f3c56b204d0..641da515c8f3 100644 --- a/arch/x86/cpu/broadwell/sata.c +++ b/arch/x86/cpu/broadwell/sata.c @@ -15,6 +15,7 @@ #include #include #include +#include struct sata_platdata { int port_map; diff --git a/arch/x86/cpu/ivybridge/bd82x6x.c b/arch/x86/cpu/ivybridge/bd82x6x.c index d276cbe13bd9..d72c0d637a7c 100644 --- a/arch/x86/cpu/ivybridge/bd82x6x.c +++ b/arch/x86/cpu/ivybridge/bd82x6x.c @@ -18,6 +18,7 @@ #include #include #include +#include DECLARE_GLOBAL_DATA_PTR; diff --git a/arch/x86/cpu/ivybridge/early_me.c b/arch/x86/cpu/ivybridge/early_me.c index cae957851612..bee1671baf8b 100644 --- a/arch/x86/cpu/ivybridge/early_me.c +++ b/arch/x86/cpu/ivybridge/early_me.c @@ -16,6 +16,7 @@ #include #include #include +#include static const char *const me_ack_values[] = { [ME_HFS_ACK_NO_DID] = "No DID Ack received", diff --git a/arch/x86/cpu/ivybridge/northbridge.c b/arch/x86/cpu/ivybridge/northbridge.c index 877b31b9d6f2..b713fcb1cfe7 100644 --- a/arch/x86/cpu/ivybridge/northbridge.c +++ b/arch/x86/cpu/ivybridge/northbridge.c @@ -18,6 +18,7 @@ #include #include #include +#include DECLARE_GLOBAL_DATA_PTR; diff --git a/arch/x86/cpu/mp_init.c b/arch/x86/cpu/mp_init.c index c3cd080885d1..7fde4ff7e162 100644 --- a/arch/x86/cpu/mp_init.c +++ b/arch/x86/cpu/mp_init.c @@ -26,6 +26,7 @@ #include #include #include +#include #include DECLARE_GLOBAL_DATA_PTR; diff --git a/arch/x86/cpu/quark/quark.c b/arch/x86/cpu/quark/quark.c index e2e2d9fe33d1..ddad02e375a2 100644 --- a/arch/x86/cpu/quark/quark.c +++ b/arch/x86/cpu/quark/quark.c @@ -18,6 +18,7 @@ #include #include #include +#include static void quark_setup_mtrr(void) { diff --git a/arch/x86/lib/pmu.c b/arch/x86/lib/pmu.c index 08fbe990398d..3cd7b1f536e5 100644 --- a/arch/x86/lib/pmu.c +++ b/arch/x86/lib/pmu.c @@ -8,6 +8,7 @@ #include #include #include +#include #include #include diff --git a/arch/x86/lib/scu.c b/arch/x86/lib/scu.c index a6f8297e72ed..41e673923617 100644 --- a/arch/x86/lib/scu.c +++ b/arch/x86/lib/scu.c @@ -15,6 +15,7 @@ #include #include #include +#include #include #include #include diff --git a/arch/xtensa/lib/time.c b/arch/xtensa/lib/time.c index 62bbe37b8062..3a02c384934c 100644 --- a/arch/xtensa/lib/time.c +++ b/arch/xtensa/lib/time.c @@ -6,6 +6,7 @@ #include #include #include +#include #include DECLARE_GLOBAL_DATA_PTR; diff --git a/board/BuR/common/br_resetc.c b/board/BuR/common/br_resetc.c index 70ad8322ef4a..5006687fbf0d 100644 --- a/board/BuR/common/br_resetc.c +++ b/board/BuR/common/br_resetc.c @@ -10,6 +10,7 @@ #include #include #include +#include #include "br_resetc.h" /* I2C Address of controller */ diff --git a/board/BuR/common/common.c b/board/BuR/common/common.c index 7986bc8d4e18..3bc1d064ca61 100644 --- a/board/BuR/common/common.c +++ b/board/BuR/common/common.c @@ -15,6 +15,7 @@ #include #include #include +#include #include "bur_common.h" DECLARE_GLOBAL_DATA_PTR; diff --git a/board/CZ.NIC/turris_mox/mox_sp.c b/board/CZ.NIC/turris_mox/mox_sp.c index 3c23471e6562..8139345ff21b 100644 --- a/board/CZ.NIC/turris_mox/mox_sp.c +++ b/board/CZ.NIC/turris_mox/mox_sp.c @@ -6,6 +6,7 @@ #include #include #include +#include #define RWTM_BASE (MVEBU_REGISTER(0xb0000)) #define RWTM_CMD_PARAM(i) (size_t)(RWTM_BASE + (i) * 4) diff --git a/board/CZ.NIC/turris_mox/turris_mox.c b/board/CZ.NIC/turris_mox/turris_mox.c index e8ec240dd7df..f3c3996e324c 100644 --- a/board/CZ.NIC/turris_mox/turris_mox.c +++ b/board/CZ.NIC/turris_mox/turris_mox.c @@ -14,6 +14,7 @@ #include #include #include +#include #include #include #include diff --git a/board/CarMediaLab/flea3/flea3.c b/board/CarMediaLab/flea3/flea3.c index fb66c9ecc741..61d965f5f65a 100644 --- a/board/CarMediaLab/flea3/flea3.c +++ b/board/CarMediaLab/flea3/flea3.c @@ -11,6 +11,7 @@ #include #include #include +#include #include #include #include diff --git a/board/Marvell/gplugd/gplugd.c b/board/Marvell/gplugd/gplugd.c index 459b7ba82c64..1e2f22735ea6 100644 --- a/board/Marvell/gplugd/gplugd.c +++ b/board/Marvell/gplugd/gplugd.c @@ -21,6 +21,7 @@ #include #include #include +#include #ifdef CONFIG_ARMADA100_FEC #include diff --git a/board/Marvell/mvebu_armada-37xx/board.c b/board/Marvell/mvebu_armada-37xx/board.c index 29bd6a9a406d..9bea1986d4d1 100644 --- a/board/Marvell/mvebu_armada-37xx/board.c +++ b/board/Marvell/mvebu_armada-37xx/board.c @@ -11,6 +11,7 @@ #include #include #include +#include DECLARE_GLOBAL_DATA_PTR; diff --git a/board/Marvell/mvebu_armada-8k/board.c b/board/Marvell/mvebu_armada-8k/board.c index 499e89367f8d..60b002463078 100644 --- a/board/Marvell/mvebu_armada-8k/board.c +++ b/board/Marvell/mvebu_armada-8k/board.c @@ -10,6 +10,7 @@ #include #include #include +#include DECLARE_GLOBAL_DATA_PTR; diff --git a/board/Synology/ds109/ds109.c b/board/Synology/ds109/ds109.c index c4cd95cd8095..aa2987d924f2 100644 --- a/board/Synology/ds109/ds109.c +++ b/board/Synology/ds109/ds109.c @@ -13,6 +13,7 @@ #include #include #include +#include #include "ds109.h" DECLARE_GLOBAL_DATA_PTR; diff --git a/board/advantech/dms-ba16/dms-ba16.c b/board/advantech/dms-ba16/dms-ba16.c index 33e0e4a4ae10..28e505e6c59b 100644 --- a/board/advantech/dms-ba16/dms-ba16.c +++ b/board/advantech/dms-ba16/dms-ba16.c @@ -11,6 +11,7 @@ #include #include #include +#include #include #include #include diff --git a/board/advantech/imx8qm_rom7720_a1/imx8qm_rom7720_a1.c b/board/advantech/imx8qm_rom7720_a1/imx8qm_rom7720_a1.c index 6168dc922058..ea057d27cf35 100644 --- a/board/advantech/imx8qm_rom7720_a1/imx8qm_rom7720_a1.c +++ b/board/advantech/imx8qm_rom7720_a1/imx8qm_rom7720_a1.c @@ -9,6 +9,7 @@ #include #include #include +#include #include #include #include diff --git a/board/alliedtelesis/SBx81LIFKW/sbx81lifkw.c b/board/alliedtelesis/SBx81LIFKW/sbx81lifkw.c index b96cf0b59c7c..982cb157b768 100644 --- a/board/alliedtelesis/SBx81LIFKW/sbx81lifkw.c +++ b/board/alliedtelesis/SBx81LIFKW/sbx81lifkw.c @@ -7,6 +7,7 @@ #include #include #include +#include #include #include #include diff --git a/board/armadeus/apf27/fpga.c b/board/armadeus/apf27/fpga.c index 5d989481df6f..9e2f39f9814f 100644 --- a/board/armadeus/apf27/fpga.c +++ b/board/armadeus/apf27/fpga.c @@ -10,6 +10,7 @@ */ #include #include +#include #include #include diff --git a/board/armltd/integrator/pci.c b/board/armltd/integrator/pci.c index 3ef599321318..28efc33f1f42 100644 --- a/board/armltd/integrator/pci.c +++ b/board/armltd/integrator/pci.c @@ -25,6 +25,7 @@ #include #include #include +#include #include "integrator-sc.h" #include "pci_v3.h" diff --git a/board/armltd/integrator/timer.c b/board/armltd/integrator/timer.c index d701669be0cc..d220b877d661 100644 --- a/board/armltd/integrator/timer.c +++ b/board/armltd/integrator/timer.c @@ -19,6 +19,7 @@ #include #include #include +#include #ifdef CONFIG_ARCH_CINTEGRATOR #define DIV_CLOCK_INIT 1 @@ -124,7 +125,7 @@ ulong get_timer (ulong base_ticks) } /* delay usec useconds */ -void __udelay (unsigned long usec) +void __udelay(unsigned long usec) { ulong tmo, tmp; diff --git a/board/armltd/vexpress64/pcie.c b/board/armltd/vexpress64/pcie.c index 3285a33a690d..02de58b36016 100644 --- a/board/armltd/vexpress64/pcie.c +++ b/board/armltd/vexpress64/pcie.c @@ -11,6 +11,7 @@ #include #include #include +#include #include "pcie.h" /* XpressRICH3 support */ diff --git a/board/astro/mcf5373l/mcf5373l.c b/board/astro/mcf5373l/mcf5373l.c index 9adf58eb8a32..e7c2b909300d 100644 --- a/board/astro/mcf5373l/mcf5373l.c +++ b/board/astro/mcf5373l/mcf5373l.c @@ -13,6 +13,7 @@ #include #include #include +#include /* needed for astro bus: */ #include diff --git a/board/barco/platinum/platinum_picon.c b/board/barco/platinum/platinum_picon.c index 7d99b1694daa..3fc29f9e08c4 100644 --- a/board/barco/platinum/platinum_picon.c +++ b/board/barco/platinum/platinum_picon.c @@ -14,6 +14,7 @@ #include #include #include +#include #include "platinum.h" diff --git a/board/barco/platinum/platinum_titanium.c b/board/barco/platinum/platinum_titanium.c index 5758c147edab..9f7c93b4d540 100644 --- a/board/barco/platinum/platinum_titanium.c +++ b/board/barco/platinum/platinum_titanium.c @@ -12,6 +12,7 @@ #include #include #include +#include #include "platinum.h" diff --git a/board/barco/titanium/titanium.c b/board/barco/titanium/titanium.c index 016e0adc06af..91c70a847326 100644 --- a/board/barco/titanium/titanium.c +++ b/board/barco/titanium/titanium.c @@ -22,6 +22,7 @@ #include #include #include +#include DECLARE_GLOBAL_DATA_PTR; diff --git a/board/beckhoff/mx53cx9020/mx53cx9020.c b/board/beckhoff/mx53cx9020/mx53cx9020.c index 398e4ed72028..617b545232a2 100644 --- a/board/beckhoff/mx53cx9020/mx53cx9020.c +++ b/board/beckhoff/mx53cx9020/mx53cx9020.c @@ -16,6 +16,7 @@ #include #include #include +#include enum LED_GPIOS { GPIO_SD1_CD = IMX_GPIO_NR(1, 1), diff --git a/board/bluewater/gurnard/gurnard.c b/board/bluewater/gurnard/gurnard.c index 4ae70e1aa54f..2bbb20354888 100644 --- a/board/bluewater/gurnard/gurnard.c +++ b/board/bluewater/gurnard/gurnard.c @@ -33,6 +33,7 @@ #include #include #include +#include #ifdef CONFIG_GURNARD_SPLASH #include "splash_logo.h" diff --git a/board/bluewater/snapper9260/snapper9260.c b/board/bluewater/snapper9260/snapper9260.c index 47ce3078808f..8e2b7e000f35 100644 --- a/board/bluewater/snapper9260/snapper9260.c +++ b/board/bluewater/snapper9260/snapper9260.c @@ -23,6 +23,7 @@ #include #include #include +#include DECLARE_GLOBAL_DATA_PTR; diff --git a/board/bosch/shc/board.c b/board/bosch/shc/board.c index 6e0ad4b53f85..6a102d385311 100644 --- a/board/bosch/shc/board.c +++ b/board/bosch/shc/board.c @@ -35,6 +35,7 @@ #include #include #include +#include #include #include #include diff --git a/board/boundary/nitrogen6x/nitrogen6x.c b/board/boundary/nitrogen6x/nitrogen6x.c index 92a7a2fc6e67..d49725daa8cc 100644 --- a/board/boundary/nitrogen6x/nitrogen6x.c +++ b/board/boundary/nitrogen6x/nitrogen6x.c @@ -16,6 +16,7 @@ #include #include #include +#include #include #include #include diff --git a/board/bticino/mamoj/spl.c b/board/bticino/mamoj/spl.c index ece37800bfb9..a9bb2a55e5de 100644 --- a/board/bticino/mamoj/spl.c +++ b/board/bticino/mamoj/spl.c @@ -9,6 +9,7 @@ #include #include #include +#include #include #include diff --git a/board/buffalo/lsxl/lsxl.c b/board/buffalo/lsxl/lsxl.c index 712ef1166677..64daa456b3c7 100644 --- a/board/buffalo/lsxl/lsxl.c +++ b/board/buffalo/lsxl/lsxl.c @@ -24,6 +24,7 @@ #include #include #include +#include #include "lsxl.h" diff --git a/board/ccv/xpress/xpress.c b/board/ccv/xpress/xpress.c index dc86d43d9a17..e41f0639ea8f 100644 --- a/board/ccv/xpress/xpress.c +++ b/board/ccv/xpress/xpress.c @@ -25,6 +25,7 @@ #include #include #include +#include #include DECLARE_GLOBAL_DATA_PTR; diff --git a/board/cobra5272/flash.c b/board/cobra5272/flash.c index 5860cd0ac03b..4337f4879de7 100644 --- a/board/cobra5272/flash.c +++ b/board/cobra5272/flash.c @@ -10,6 +10,7 @@ #include #include #include +#include #define PHYS_FLASH_1 CONFIG_SYS_FLASH_BASE #define FLASH_BANK_SIZE 0x200000 @@ -235,7 +236,7 @@ int flash_erase(flash_info_t *info, int s_first, int s_last) outahere: /* allow flash to settle - wait 10 ms */ - udelay (10000); + mdelay(10); if (iflag) enable_interrupts(); diff --git a/board/compulab/cl-som-imx7/cl-som-imx7.c b/board/compulab/cl-som-imx7/cl-som-imx7.c index e97efc1dc337..8b3bd5e5f636 100644 --- a/board/compulab/cl-som-imx7/cl-som-imx7.c +++ b/board/compulab/cl-som-imx7/cl-som-imx7.c @@ -15,6 +15,7 @@ #include #include #include +#include #include #include #include diff --git a/board/compulab/cm_fx6/cm_fx6.c b/board/compulab/cm_fx6/cm_fx6.c index f0a821d9a9c8..4d71bedfb92e 100644 --- a/board/compulab/cm_fx6/cm_fx6.c +++ b/board/compulab/cm_fx6/cm_fx6.c @@ -35,6 +35,7 @@ #include #include #include +#include #include "common.h" #include "../common/eeprom.h" #include "../common/common.h" diff --git a/board/compulab/cm_fx6/spl.c b/board/compulab/cm_fx6/spl.c index 592d74109510..7d8243563ae3 100644 --- a/board/compulab/cm_fx6/spl.c +++ b/board/compulab/cm_fx6/spl.c @@ -20,6 +20,7 @@ #include #include #include +#include #include "common.h" enum ddr_config { diff --git a/board/compulab/cm_t335/cm_t335.c b/board/compulab/cm_t335/cm_t335.c index 4497aa5af88d..75b56f7eee00 100644 --- a/board/compulab/cm_t335/cm_t335.c +++ b/board/compulab/cm_t335/cm_t335.c @@ -14,6 +14,7 @@ #include #include #include +#include #include #include diff --git a/board/compulab/cm_t35/cm_t35.c b/board/compulab/cm_t35/cm_t35.c index b714712f2a54..4b67df4f1ac7 100644 --- a/board/compulab/cm_t35/cm_t35.c +++ b/board/compulab/cm_t35/cm_t35.c @@ -23,6 +23,7 @@ #include #include #include +#include #include #include diff --git a/board/compulab/cm_t43/cm_t43.c b/board/compulab/cm_t43/cm_t43.c index 9348d6dcadff..f26e42b263dc 100644 --- a/board/compulab/cm_t43/cm_t43.c +++ b/board/compulab/cm_t43/cm_t43.c @@ -11,6 +11,7 @@ #include #include #include +#include #include #include #include "board.h" diff --git a/board/compulab/cm_t54/cm_t54.c b/board/compulab/cm_t54/cm_t54.c index 0efbf761da89..413f3c9c8f28 100644 --- a/board/compulab/cm_t54/cm_t54.c +++ b/board/compulab/cm_t54/cm_t54.c @@ -15,6 +15,7 @@ #include #include #include +#include #include #include diff --git a/board/compulab/common/common.c b/board/compulab/common/common.c index 2f92c6564d78..528c97df19a4 100644 --- a/board/compulab/common/common.c +++ b/board/compulab/common/common.c @@ -10,6 +10,7 @@ #include #include #include +#include #include "common.h" #include "eeprom.h" diff --git a/board/compulab/common/omap3_smc911x.c b/board/compulab/common/omap3_smc911x.c index 4b869ec3af45..f0d365272c1b 100644 --- a/board/compulab/common/omap3_smc911x.c +++ b/board/compulab/common/omap3_smc911x.c @@ -7,6 +7,7 @@ #include #include +#include #include #include diff --git a/board/congatec/cgtqmx6eval/cgtqmx6eval.c b/board/congatec/cgtqmx6eval/cgtqmx6eval.c index 16f655f188e3..044cefd97947 100644 --- a/board/congatec/cgtqmx6eval/cgtqmx6eval.c +++ b/board/congatec/cgtqmx6eval/cgtqmx6eval.c @@ -27,6 +27,7 @@ #include #include #include +#include #include #include #include diff --git a/board/creative/xfi3/xfi3.c b/board/creative/xfi3/xfi3.c index 4a32893a7941..adc908143db4 100644 --- a/board/creative/xfi3/xfi3.c +++ b/board/creative/xfi3/xfi3.c @@ -19,6 +19,7 @@ #include #include #include +#include DECLARE_GLOBAL_DATA_PTR; diff --git a/board/cssi/MCR3000/MCR3000.c b/board/cssi/MCR3000/MCR3000.c index 138d0c61f151..570e846a21b7 100644 --- a/board/cssi/MCR3000/MCR3000.c +++ b/board/cssi/MCR3000/MCR3000.c @@ -17,6 +17,7 @@ #include #include #include +#include DECLARE_GLOBAL_DATA_PTR; diff --git a/board/dfi/dfi-bt700/dfi-bt700.c b/board/dfi/dfi-bt700/dfi-bt700.c index 68d7cd8154b5..87506a77a17e 100644 --- a/board/dfi/dfi-bt700/dfi-bt700.c +++ b/board/dfi/dfi-bt700/dfi-bt700.c @@ -10,6 +10,7 @@ #include #include #include +#include int board_early_init_f(void) { diff --git a/board/dhelectronics/dh_imx6/dh_imx6.c b/board/dhelectronics/dh_imx6/dh_imx6.c index 4df293b7abdb..8f50433f17ce 100644 --- a/board/dhelectronics/dh_imx6/dh_imx6.c +++ b/board/dhelectronics/dh_imx6/dh_imx6.c @@ -32,6 +32,7 @@ #include #include #include +#include #include DECLARE_GLOBAL_DATA_PTR; diff --git a/board/dhelectronics/dh_imx6/dh_imx6_spl.c b/board/dhelectronics/dh_imx6/dh_imx6_spl.c index fd6099c56697..ed4dea45ea8b 100644 --- a/board/dhelectronics/dh_imx6/dh_imx6_spl.c +++ b/board/dhelectronics/dh_imx6/dh_imx6_spl.c @@ -25,6 +25,7 @@ #include #include #include +#include #define ENET_PAD_CTRL \ (PAD_CTL_PUS_100K_UP | PAD_CTL_SPEED_MED | PAD_CTL_DSE_40ohm | \ diff --git a/board/dhelectronics/dh_stm32mp1/board.c b/board/dhelectronics/dh_stm32mp1/board.c index 144d1cbd19ca..c7d316eab494 100644 --- a/board/dhelectronics/dh_stm32mp1/board.c +++ b/board/dhelectronics/dh_stm32mp1/board.c @@ -32,6 +32,7 @@ #include #include #include +#include #include #include #include diff --git a/board/egnite/ethernut5/ethernut5_pwrman.c b/board/egnite/ethernut5/ethernut5_pwrman.c index 7dbb6e8f2bbe..81f1abf2fad9 100644 --- a/board/egnite/ethernut5/ethernut5_pwrman.c +++ b/board/egnite/ethernut5/ethernut5_pwrman.c @@ -38,6 +38,7 @@ #include #include #include +#include #include "ethernut5_pwrman.h" diff --git a/board/el/el6x/el6x.c b/board/el/el6x/el6x.c index 286c1adabc61..d3e2981fa8fe 100644 --- a/board/el/el6x/el6x.c +++ b/board/el/el6x/el6x.c @@ -13,6 +13,7 @@ #include #include #include +#include #include #include #include diff --git a/board/embest/mx6boards/mx6boards.c b/board/embest/mx6boards/mx6boards.c index 50b6f98c296a..e0834f03c70b 100644 --- a/board/embest/mx6boards/mx6boards.c +++ b/board/embest/mx6boards/mx6boards.c @@ -20,6 +20,7 @@ #include #include #include +#include #include #include #include diff --git a/board/engicam/common/spl.c b/board/engicam/common/spl.c index 62b06783c9a4..6a0612481a8a 100644 --- a/board/engicam/common/spl.c +++ b/board/engicam/common/spl.c @@ -10,6 +10,7 @@ #include #include #include +#include #include #include diff --git a/board/esd/vme8349/pci.c b/board/esd/vme8349/pci.c index 349e7b567c40..bf51d39b67c8 100644 --- a/board/esd/vme8349/pci.c +++ b/board/esd/vme8349/pci.c @@ -18,6 +18,7 @@ #include #include #include +#include #include "vme8349pin.h" static struct pci_region pci1_regions[] = { diff --git a/board/freescale/b4860qds/b4860qds.c b/board/freescale/b4860qds/b4860qds.c index eed379a9eb5f..e10f948ae5e8 100644 --- a/board/freescale/b4860qds/b4860qds.c +++ b/board/freescale/b4860qds/b4860qds.c @@ -16,6 +16,7 @@ #include #include #include +#include #include #include #include diff --git a/board/freescale/bsc9131rdb/spl_minimal.c b/board/freescale/bsc9131rdb/spl_minimal.c index 79df0f3cbd55..4ae9ba06c818 100644 --- a/board/freescale/bsc9131rdb/spl_minimal.c +++ b/board/freescale/bsc9131rdb/spl_minimal.c @@ -12,6 +12,7 @@ #include #include #include +#include DECLARE_GLOBAL_DATA_PTR; diff --git a/board/freescale/bsc9132qds/spl_minimal.c b/board/freescale/bsc9132qds/spl_minimal.c index dc72b2e2f2e9..dd56ad6b2b34 100644 --- a/board/freescale/bsc9132qds/spl_minimal.c +++ b/board/freescale/bsc9132qds/spl_minimal.c @@ -12,6 +12,7 @@ #include #include #include +#include DECLARE_GLOBAL_DATA_PTR; diff --git a/board/freescale/c29xpcie/cpld.c b/board/freescale/c29xpcie/cpld.c index b864a60c4463..826af428ce14 100644 --- a/board/freescale/c29xpcie/cpld.c +++ b/board/freescale/c29xpcie/cpld.c @@ -17,6 +17,7 @@ #include #include #include +#include #include "cpld.h" /** diff --git a/board/freescale/common/diu_ch7301.c b/board/freescale/common/diu_ch7301.c index 7f11123e6f3e..02a271895bdc 100644 --- a/board/freescale/common/diu_ch7301.c +++ b/board/freescale/common/diu_ch7301.c @@ -12,6 +12,7 @@ #include #include #include +#include #define I2C_DVI_INPUT_DATA_FORMAT_REG 0x1F #define I2C_DVI_PLL_CHARGE_CNTL_REG 0x33 diff --git a/board/freescale/common/idt8t49n222a_serdes_clk.c b/board/freescale/common/idt8t49n222a_serdes_clk.c index faa7f877017f..bb3cdac8418f 100644 --- a/board/freescale/common/idt8t49n222a_serdes_clk.c +++ b/board/freescale/common/idt8t49n222a_serdes_clk.c @@ -6,6 +6,7 @@ #include "idt8t49n222a_serdes_clk.h" #include +#include #define DEVICE_ID_REG 0x00 diff --git a/board/freescale/common/sys_eeprom.c b/board/freescale/common/sys_eeprom.c index b3421052a581..728245d81cda 100644 --- a/board/freescale/common/sys_eeprom.c +++ b/board/freescale/common/sys_eeprom.c @@ -12,6 +12,7 @@ #include #include #include +#include #include #ifdef CONFIG_SYS_I2C_EEPROM_CCID diff --git a/board/freescale/common/vid.c b/board/freescale/common/vid.c index 0bad67e62f43..ed0d9b471cad 100644 --- a/board/freescale/common/vid.c +++ b/board/freescale/common/vid.c @@ -17,6 +17,7 @@ #else #include #endif +#include #include "vid.h" int __weak i2c_multiplexer_select_vid_channel(u8 channel) diff --git a/board/freescale/corenet_ds/eth_p4080.c b/board/freescale/corenet_ds/eth_p4080.c index 5892bbd62cad..801a6f44f0f1 100644 --- a/board/freescale/corenet_ds/eth_p4080.c +++ b/board/freescale/corenet_ds/eth_p4080.c @@ -22,6 +22,7 @@ #include #include #include +#include #include "../common/ngpixis.h" #include "../common/fman.h" diff --git a/board/freescale/imx8mq_evk/spl.c b/board/freescale/imx8mq_evk/spl.c index 99ebad2cc7bb..2c6ae48da785 100644 --- a/board/freescale/imx8mq_evk/spl.c +++ b/board/freescale/imx8mq_evk/spl.c @@ -22,6 +22,7 @@ #include #include #include +#include #include #include #include diff --git a/board/freescale/imx8qxp_mek/imx8qxp_mek.c b/board/freescale/imx8qxp_mek/imx8qxp_mek.c index dc9ffaabf205..8b8a3c6300eb 100644 --- a/board/freescale/imx8qxp_mek/imx8qxp_mek.c +++ b/board/freescale/imx8qxp_mek/imx8qxp_mek.c @@ -8,6 +8,7 @@ #include #include #include +#include #include #include #include diff --git a/board/freescale/ls1012afrdm/eth.c b/board/freescale/ls1012afrdm/eth.c index bd1df092f9bb..eaea1c46e48e 100644 --- a/board/freescale/ls1012afrdm/eth.c +++ b/board/freescale/ls1012afrdm/eth.c @@ -18,6 +18,7 @@ #include #include #include +#include #include #include diff --git a/board/freescale/ls1012aqds/eth.c b/board/freescale/ls1012aqds/eth.c index b9018444aa51..b4ef60738ebf 100644 --- a/board/freescale/ls1012aqds/eth.c +++ b/board/freescale/ls1012aqds/eth.c @@ -17,6 +17,7 @@ #include #include #include +#include #include "../common/qixis.h" #include #include diff --git a/board/freescale/ls1012ardb/eth.c b/board/freescale/ls1012ardb/eth.c index 5edcfcf1ceaf..63d40de2a3ec 100644 --- a/board/freescale/ls1012ardb/eth.c +++ b/board/freescale/ls1012ardb/eth.c @@ -18,6 +18,7 @@ #include #include #include +#include #include #include #include diff --git a/board/freescale/ls1021aiot/ls1021aiot.c b/board/freescale/ls1021aiot/ls1021aiot.c index dca60b7401ac..fe97b829833a 100644 --- a/board/freescale/ls1021aiot/ls1021aiot.c +++ b/board/freescale/ls1021aiot/ls1021aiot.c @@ -12,6 +12,7 @@ #include #include #include +#include #include #include diff --git a/board/freescale/ls1021aqds/ddr.c b/board/freescale/ls1021aqds/ddr.c index 5c53882cceac..f84bce95a845 100644 --- a/board/freescale/ls1021aqds/ddr.c +++ b/board/freescale/ls1021aqds/ddr.c @@ -10,6 +10,7 @@ #include #include #include +#include #include "ddr.h" DECLARE_GLOBAL_DATA_PTR; diff --git a/board/freescale/ls1021atsn/ls1021atsn.c b/board/freescale/ls1021atsn/ls1021atsn.c index 0f940998bf5c..b05037d023c9 100644 --- a/board/freescale/ls1021atsn/ls1021atsn.c +++ b/board/freescale/ls1021atsn/ls1021atsn.c @@ -11,6 +11,7 @@ #include #include #include +#include #include "../common/sleep.h" #include #include diff --git a/board/freescale/ls1021atwr/ls1021atwr.c b/board/freescale/ls1021atwr/ls1021atwr.c index c7f7baa8e678..6208a38f161f 100644 --- a/board/freescale/ls1021atwr/ls1021atwr.c +++ b/board/freescale/ls1021atwr/ls1021atwr.c @@ -28,6 +28,7 @@ #include #include #include +#include #include "../common/sleep.h" #ifdef CONFIG_U_QE #include diff --git a/board/freescale/ls1088a/eth_ls1088aqds.c b/board/freescale/ls1088a/eth_ls1088aqds.c index f42b5022c4c2..8371c1c9c217 100644 --- a/board/freescale/ls1088a/eth_ls1088aqds.c +++ b/board/freescale/ls1088a/eth_ls1088aqds.c @@ -20,6 +20,7 @@ #include #include #include +#include #include "../common/qixis.h" diff --git a/board/freescale/ls1088a/ls1088a.c b/board/freescale/ls1088a/ls1088a.c index 974a43ad8852..3f758cef2f0e 100644 --- a/board/freescale/ls1088a/ls1088a.c +++ b/board/freescale/ls1088a/ls1088a.c @@ -15,6 +15,7 @@ #include #include #include +#include #include #include #include diff --git a/board/freescale/ls2080aqds/eth.c b/board/freescale/ls2080aqds/eth.c index df8a7c74a3c0..81b5b9eaf7d2 100644 --- a/board/freescale/ls2080aqds/eth.c +++ b/board/freescale/ls2080aqds/eth.c @@ -18,6 +18,7 @@ #include #include #include +#include #include "../common/qixis.h" diff --git a/board/freescale/m5208evbe/m5208evbe.c b/board/freescale/m5208evbe/m5208evbe.c index e448a64abc6f..a950030eb397 100644 --- a/board/freescale/m5208evbe/m5208evbe.c +++ b/board/freescale/m5208evbe/m5208evbe.c @@ -12,6 +12,7 @@ #include #include #include +#include DECLARE_GLOBAL_DATA_PTR; diff --git a/board/freescale/m52277evb/m52277evb.c b/board/freescale/m52277evb/m52277evb.c index a4b795fc39b3..144e490479ed 100644 --- a/board/freescale/m52277evb/m52277evb.c +++ b/board/freescale/m52277evb/m52277evb.c @@ -11,6 +11,7 @@ #include #include #include +#include DECLARE_GLOBAL_DATA_PTR; diff --git a/board/freescale/m5249evb/m5249evb.c b/board/freescale/m5249evb/m5249evb.c index da3adc595414..a89d5100586f 100644 --- a/board/freescale/m5249evb/m5249evb.c +++ b/board/freescale/m5249evb/m5249evb.c @@ -9,6 +9,7 @@ #include #include #include +#include DECLARE_GLOBAL_DATA_PTR; diff --git a/board/freescale/m5253demo/m5253demo.c b/board/freescale/m5253demo/m5253demo.c index 6a6c65fe5f22..50eb18ba94d9 100644 --- a/board/freescale/m5253demo/m5253demo.c +++ b/board/freescale/m5253demo/m5253demo.c @@ -13,6 +13,7 @@ #include #include #include +#include DECLARE_GLOBAL_DATA_PTR; diff --git a/board/freescale/m53017evb/m53017evb.c b/board/freescale/m53017evb/m53017evb.c index 8bdb4ad12760..f13b6931ea25 100644 --- a/board/freescale/m53017evb/m53017evb.c +++ b/board/freescale/m53017evb/m53017evb.c @@ -12,6 +12,7 @@ #include #include #include +#include DECLARE_GLOBAL_DATA_PTR; diff --git a/board/freescale/m5329evb/m5329evb.c b/board/freescale/m5329evb/m5329evb.c index d93800b364bf..531894f65161 100644 --- a/board/freescale/m5329evb/m5329evb.c +++ b/board/freescale/m5329evb/m5329evb.c @@ -12,6 +12,7 @@ #include #include #include +#include DECLARE_GLOBAL_DATA_PTR; diff --git a/board/freescale/m5373evb/m5373evb.c b/board/freescale/m5373evb/m5373evb.c index 1d52ce047fb6..29ff55f15966 100644 --- a/board/freescale/m5373evb/m5373evb.c +++ b/board/freescale/m5373evb/m5373evb.c @@ -12,6 +12,7 @@ #include #include #include +#include DECLARE_GLOBAL_DATA_PTR; diff --git a/board/freescale/m54418twr/m54418twr.c b/board/freescale/m54418twr/m54418twr.c index 8c90cfe537af..a418fba1401b 100644 --- a/board/freescale/m54418twr/m54418twr.c +++ b/board/freescale/m54418twr/m54418twr.c @@ -11,6 +11,7 @@ #include #include #include +#include DECLARE_GLOBAL_DATA_PTR; diff --git a/board/freescale/m54451evb/m54451evb.c b/board/freescale/m54451evb/m54451evb.c index 82a2b9093b63..1298bd324e9f 100644 --- a/board/freescale/m54451evb/m54451evb.c +++ b/board/freescale/m54451evb/m54451evb.c @@ -12,6 +12,7 @@ #include #include #include +#include DECLARE_GLOBAL_DATA_PTR; diff --git a/board/freescale/m54455evb/m54455evb.c b/board/freescale/m54455evb/m54455evb.c index 146cd918c4df..286300645b4a 100644 --- a/board/freescale/m54455evb/m54455evb.c +++ b/board/freescale/m54455evb/m54455evb.c @@ -12,6 +12,7 @@ #include #include #include +#include DECLARE_GLOBAL_DATA_PTR; diff --git a/board/freescale/m547xevb/m547xevb.c b/board/freescale/m547xevb/m547xevb.c index e8d86113d649..908a500f4b9f 100644 --- a/board/freescale/m547xevb/m547xevb.c +++ b/board/freescale/m547xevb/m547xevb.c @@ -13,6 +13,7 @@ #include #include #include +#include DECLARE_GLOBAL_DATA_PTR; diff --git a/board/freescale/m548xevb/m548xevb.c b/board/freescale/m548xevb/m548xevb.c index 40e01c6f24f7..796b808e6f90 100644 --- a/board/freescale/m548xevb/m548xevb.c +++ b/board/freescale/m548xevb/m548xevb.c @@ -13,6 +13,7 @@ #include #include #include +#include DECLARE_GLOBAL_DATA_PTR; diff --git a/board/freescale/mpc8308rdb/mpc8308rdb.c b/board/freescale/mpc8308rdb/mpc8308rdb.c index bd052b903d38..259d6aa1c2c9 100644 --- a/board/freescale/mpc8308rdb/mpc8308rdb.c +++ b/board/freescale/mpc8308rdb/mpc8308rdb.c @@ -10,6 +10,7 @@ #include #include #include +#include #include #include #include diff --git a/board/freescale/mpc8313erdb/sdram.c b/board/freescale/mpc8313erdb/sdram.c index 5874e1a924a0..99f6bcd5a933 100644 --- a/board/freescale/mpc8313erdb/sdram.c +++ b/board/freescale/mpc8313erdb/sdram.c @@ -11,6 +11,7 @@ #include #include #include +#include #include #include diff --git a/board/freescale/mpc8315erdb/mpc8315erdb.c b/board/freescale/mpc8315erdb/mpc8315erdb.c index 204b40bf47b6..aa2e7fe206ad 100644 --- a/board/freescale/mpc8315erdb/mpc8315erdb.c +++ b/board/freescale/mpc8315erdb/mpc8315erdb.c @@ -11,6 +11,7 @@ #include #include #include +#include #include #include #include diff --git a/board/freescale/mpc8315erdb/sdram.c b/board/freescale/mpc8315erdb/sdram.c index 13bfc1e5f154..8a828207f935 100644 --- a/board/freescale/mpc8315erdb/sdram.c +++ b/board/freescale/mpc8315erdb/sdram.c @@ -11,6 +11,7 @@ #include #include #include +#include #include #include diff --git a/board/freescale/mpc8323erdb/mpc8323erdb.c b/board/freescale/mpc8323erdb/mpc8323erdb.c index e513d0bfd533..1dc1c98ad671 100644 --- a/board/freescale/mpc8323erdb/mpc8323erdb.c +++ b/board/freescale/mpc8323erdb/mpc8323erdb.c @@ -19,6 +19,7 @@ #include #include #include +#include #include #include #if defined(CONFIG_PCI) diff --git a/board/freescale/mpc832xemds/mpc832xemds.c b/board/freescale/mpc832xemds/mpc832xemds.c index d4922fe1e123..afcd45769cfd 100644 --- a/board/freescale/mpc832xemds/mpc832xemds.c +++ b/board/freescale/mpc832xemds/mpc832xemds.c @@ -23,6 +23,7 @@ #if defined(CONFIG_PQ_MDS_PIB) #include "../common/pq-mds-pib.h" #endif +#include DECLARE_GLOBAL_DATA_PTR; diff --git a/board/freescale/mpc832xemds/pci.c b/board/freescale/mpc832xemds/pci.c index 45c7294832d4..944108f6319d 100644 --- a/board/freescale/mpc832xemds/pci.c +++ b/board/freescale/mpc832xemds/pci.c @@ -14,6 +14,7 @@ #include #include #include +#include #include "../common/pq-mds-pib.h" static struct pci_region pci1_regions[] = { diff --git a/board/freescale/mpc8349emds/mpc8349emds.c b/board/freescale/mpc8349emds/mpc8349emds.c index 5451437f37f6..688bffae79cf 100644 --- a/board/freescale/mpc8349emds/mpc8349emds.c +++ b/board/freescale/mpc8349emds/mpc8349emds.c @@ -18,6 +18,7 @@ #else #include #endif +#include #if defined(CONFIG_OF_LIBFDT) #include diff --git a/board/freescale/mpc8349emds/pci.c b/board/freescale/mpc8349emds/pci.c index 7615a1dfaa23..3ddbe717756e 100644 --- a/board/freescale/mpc8349emds/pci.c +++ b/board/freescale/mpc8349emds/pci.c @@ -11,6 +11,7 @@ #include #include #include +#include static struct pci_region pci1_regions[] = { { diff --git a/board/freescale/mpc8349itx/mpc8349itx.c b/board/freescale/mpc8349itx/mpc8349itx.c index 3976f7592052..074f3d292824 100644 --- a/board/freescale/mpc8349itx/mpc8349itx.c +++ b/board/freescale/mpc8349itx/mpc8349itx.c @@ -21,6 +21,7 @@ #if defined(CONFIG_OF_LIBFDT) #include #endif +#include #include "../../../arch/powerpc/cpu/mpc83xx/hrcw/hrcw.h" #include "../../../arch/powerpc/cpu/mpc83xx/elbc/elbc.h" diff --git a/board/freescale/mpc8349itx/pci.c b/board/freescale/mpc8349itx/pci.c index 550a2afcb733..a09b6586882f 100644 --- a/board/freescale/mpc8349itx/pci.c +++ b/board/freescale/mpc8349itx/pci.c @@ -5,6 +5,7 @@ #include #include +#include #include #include diff --git a/board/freescale/mpc837xemds/mpc837xemds.c b/board/freescale/mpc837xemds/mpc837xemds.c index 90e95399d204..d53c86180769 100644 --- a/board/freescale/mpc837xemds/mpc837xemds.c +++ b/board/freescale/mpc837xemds/mpc837xemds.c @@ -13,6 +13,7 @@ #include #include #include +#include #include #include #include diff --git a/board/freescale/mpc837xemds/pci.c b/board/freescale/mpc837xemds/pci.c index c72e49fbe1af..30e8b2585e39 100644 --- a/board/freescale/mpc837xemds/pci.c +++ b/board/freescale/mpc837xemds/pci.c @@ -14,6 +14,7 @@ #include #include #include +#include static struct pci_region pci_regions[] = { { diff --git a/board/freescale/mpc837xerdb/mpc837xerdb.c b/board/freescale/mpc837xerdb/mpc837xerdb.c index 45038acf3247..3fd2c5e84943 100644 --- a/board/freescale/mpc837xerdb/mpc837xerdb.c +++ b/board/freescale/mpc837xerdb/mpc837xerdb.c @@ -16,6 +16,7 @@ #include #include #include +#include DECLARE_GLOBAL_DATA_PTR; diff --git a/board/freescale/mpc837xerdb/pci.c b/board/freescale/mpc837xerdb/pci.c index 07471e0ae56b..dccf8c5551b0 100644 --- a/board/freescale/mpc837xerdb/pci.c +++ b/board/freescale/mpc837xerdb/pci.c @@ -8,6 +8,7 @@ #include #include #include +#include static struct pci_region pci_regions[] = { { diff --git a/board/freescale/mpc8536ds/mpc8536ds.c b/board/freescale/mpc8536ds/mpc8536ds.c index 582c5b4f35de..5907a7b4289d 100644 --- a/board/freescale/mpc8536ds/mpc8536ds.c +++ b/board/freescale/mpc8536ds/mpc8536ds.c @@ -19,6 +19,7 @@ #include #include #include +#include #include #include #include diff --git a/board/freescale/mpc8541cds/mpc8541cds.c b/board/freescale/mpc8541cds/mpc8541cds.c index cb130b4a86b5..d470fd1cf6d4 100644 --- a/board/freescale/mpc8541cds/mpc8541cds.c +++ b/board/freescale/mpc8541cds/mpc8541cds.c @@ -15,6 +15,7 @@ #include #include #include +#include #include #include diff --git a/board/freescale/mpc8548cds/mpc8548cds.c b/board/freescale/mpc8548cds/mpc8548cds.c index 454da1d7da68..e11ed2e3bea7 100644 --- a/board/freescale/mpc8548cds/mpc8548cds.c +++ b/board/freescale/mpc8548cds/mpc8548cds.c @@ -17,6 +17,7 @@ #include #include #include +#include #include #include #include diff --git a/board/freescale/mpc8555cds/mpc8555cds.c b/board/freescale/mpc8555cds/mpc8555cds.c index 47193dd20e77..8e27e73c25c9 100644 --- a/board/freescale/mpc8555cds/mpc8555cds.c +++ b/board/freescale/mpc8555cds/mpc8555cds.c @@ -13,6 +13,7 @@ #include #include #include +#include #include #include diff --git a/board/freescale/mpc8568mds/mpc8568mds.c b/board/freescale/mpc8568mds/mpc8568mds.c index 4746b1e5b53a..2871636165eb 100644 --- a/board/freescale/mpc8568mds/mpc8568mds.c +++ b/board/freescale/mpc8568mds/mpc8568mds.c @@ -19,6 +19,7 @@ #include #include #include +#include #include #include diff --git a/board/freescale/mpc8569mds/mpc8569mds.c b/board/freescale/mpc8569mds/mpc8569mds.c index 762b0c176fea..90b9c72babbe 100644 --- a/board/freescale/mpc8569mds/mpc8569mds.c +++ b/board/freescale/mpc8569mds/mpc8569mds.c @@ -23,6 +23,7 @@ #include #include #include +#include #include #include #include diff --git a/board/freescale/mpc8572ds/mpc8572ds.c b/board/freescale/mpc8572ds/mpc8572ds.c index 38c8bfd55d3a..b43032cee8ad 100644 --- a/board/freescale/mpc8572ds/mpc8572ds.c +++ b/board/freescale/mpc8572ds/mpc8572ds.c @@ -20,6 +20,7 @@ #include #include #include +#include #include #include #include diff --git a/board/freescale/mpc8610hpcd/mpc8610hpcd.c b/board/freescale/mpc8610hpcd/mpc8610hpcd.c index cf02d37b0199..c060fd9a3f38 100644 --- a/board/freescale/mpc8610hpcd/mpc8610hpcd.c +++ b/board/freescale/mpc8610hpcd/mpc8610hpcd.c @@ -16,6 +16,7 @@ #include #include #include +#include #include #include #include diff --git a/board/freescale/mpc8641hpcn/mpc8641hpcn.c b/board/freescale/mpc8641hpcn/mpc8641hpcn.c index 3f070353c362..cd505dfc0a94 100644 --- a/board/freescale/mpc8641hpcn/mpc8641hpcn.c +++ b/board/freescale/mpc8641hpcn/mpc8641hpcn.c @@ -14,6 +14,7 @@ #include #include #include +#include #include #include #include diff --git a/board/freescale/mx25pdk/mx25pdk.c b/board/freescale/mx25pdk/mx25pdk.c index 6898e9c4d64f..ec56acb30718 100644 --- a/board/freescale/mx25pdk/mx25pdk.c +++ b/board/freescale/mx25pdk/mx25pdk.c @@ -15,6 +15,7 @@ #include #include #include +#include #include #include #include diff --git a/board/freescale/mx28evk/mx28evk.c b/board/freescale/mx28evk/mx28evk.c index 4272bacf5e67..e50b7db21013 100644 --- a/board/freescale/mx28evk/mx28evk.c +++ b/board/freescale/mx28evk/mx28evk.c @@ -20,6 +20,7 @@ #include #include #include +#include #include #include #include diff --git a/board/freescale/mx35pdk/mx35pdk.c b/board/freescale/mx35pdk/mx35pdk.c index dda20eed519d..63fea37d5d79 100644 --- a/board/freescale/mx35pdk/mx35pdk.c +++ b/board/freescale/mx35pdk/mx35pdk.c @@ -9,6 +9,7 @@ #include #include #include +#include #include #include #include diff --git a/board/freescale/mx51evk/mx51evk.c b/board/freescale/mx51evk/mx51evk.c index 3314badf9e7d..46037acc0e70 100644 --- a/board/freescale/mx51evk/mx51evk.c +++ b/board/freescale/mx51evk/mx51evk.c @@ -9,6 +9,7 @@ #include #include #include +#include #include #include #include diff --git a/board/freescale/mx6sxsabreauto/mx6sxsabreauto.c b/board/freescale/mx6sxsabreauto/mx6sxsabreauto.c index d01c74d241dc..522b840275b3 100644 --- a/board/freescale/mx6sxsabreauto/mx6sxsabreauto.c +++ b/board/freescale/mx6sxsabreauto/mx6sxsabreauto.c @@ -17,6 +17,7 @@ #include #include #include +#include #include #include #include diff --git a/board/freescale/mx6sxsabresd/mx6sxsabresd.c b/board/freescale/mx6sxsabresd/mx6sxsabresd.c index a2c278230306..b092ea805389 100644 --- a/board/freescale/mx6sxsabresd/mx6sxsabresd.c +++ b/board/freescale/mx6sxsabresd/mx6sxsabresd.c @@ -18,6 +18,7 @@ #include #include #include +#include #include #include #include diff --git a/board/freescale/mx6ul_14x14_evk/mx6ul_14x14_evk.c b/board/freescale/mx6ul_14x14_evk/mx6ul_14x14_evk.c index afc9f6e6eb16..b03c9c97a73e 100644 --- a/board/freescale/mx6ul_14x14_evk/mx6ul_14x14_evk.c +++ b/board/freescale/mx6ul_14x14_evk/mx6ul_14x14_evk.c @@ -22,6 +22,7 @@ #include #include #include +#include #include #include #include diff --git a/board/freescale/mx7dsabresd/mx7dsabresd.c b/board/freescale/mx7dsabresd/mx7dsabresd.c index 6d6763db6ac0..f12e9d4cfefe 100644 --- a/board/freescale/mx7dsabresd/mx7dsabresd.c +++ b/board/freescale/mx7dsabresd/mx7dsabresd.c @@ -12,6 +12,7 @@ #include #include #include +#include #include #include #include diff --git a/board/freescale/p1_p2_rdb_pc/p1_p2_rdb_pc.c b/board/freescale/p1_p2_rdb_pc/p1_p2_rdb_pc.c index 59c57e43a549..1353debc0e98 100644 --- a/board/freescale/p1_p2_rdb_pc/p1_p2_rdb_pc.c +++ b/board/freescale/p1_p2_rdb_pc/p1_p2_rdb_pc.c @@ -25,6 +25,7 @@ #include #include #include +#include #include #include #include diff --git a/board/freescale/t102xqds/ddr.c b/board/freescale/t102xqds/ddr.c index ba589d4cb10d..c27cecd5aafe 100644 --- a/board/freescale/t102xqds/ddr.c +++ b/board/freescale/t102xqds/ddr.c @@ -13,6 +13,7 @@ #include #include #include +#include DECLARE_GLOBAL_DATA_PTR; diff --git a/board/freescale/t102xrdb/ddr.c b/board/freescale/t102xrdb/ddr.c index c389865fc020..3640a4795740 100644 --- a/board/freescale/t102xrdb/ddr.c +++ b/board/freescale/t102xrdb/ddr.c @@ -13,6 +13,7 @@ #include #include #include +#include DECLARE_GLOBAL_DATA_PTR; diff --git a/board/freescale/t1040qds/ddr.c b/board/freescale/t1040qds/ddr.c index f7eef5ca9175..0a817d0ee8df 100644 --- a/board/freescale/t1040qds/ddr.c +++ b/board/freescale/t1040qds/ddr.c @@ -13,6 +13,7 @@ #include #include #include +#include #include "ddr.h" DECLARE_GLOBAL_DATA_PTR; diff --git a/board/freescale/t104xrdb/ddr.c b/board/freescale/t104xrdb/ddr.c index c9d8e1fd44d5..e313bf99cf22 100644 --- a/board/freescale/t104xrdb/ddr.c +++ b/board/freescale/t104xrdb/ddr.c @@ -13,6 +13,7 @@ #include #include #include +#include #include "ddr.h" DECLARE_GLOBAL_DATA_PTR; diff --git a/board/freescale/t4qds/t4240qds.c b/board/freescale/t4qds/t4240qds.c index 670c487e17a8..8d1a66f223a2 100644 --- a/board/freescale/t4qds/t4240qds.c +++ b/board/freescale/t4qds/t4240qds.c @@ -23,6 +23,7 @@ #include #include #include +#include #include "../common/qixis.h" #include "../common/vsc3316_3308.h" diff --git a/board/gardena/smart-gateway-mt7688/board.c b/board/gardena/smart-gateway-mt7688/board.c index a75bb1f77b19..8a3a6e348256 100644 --- a/board/gardena/smart-gateway-mt7688/board.c +++ b/board/gardena/smart-gateway-mt7688/board.c @@ -15,6 +15,7 @@ #include #include #include +#include #include #include #include diff --git a/board/gateworks/gw_ventana/common.c b/board/gateworks/gw_ventana/common.c index b7e069154254..1a3524972491 100644 --- a/board/gateworks/gw_ventana/common.c +++ b/board/gateworks/gw_ventana/common.c @@ -15,6 +15,7 @@ #include #include #include +#include #include #include #include diff --git a/board/gateworks/gw_ventana/eeprom.c b/board/gateworks/gw_ventana/eeprom.c index ae467161f126..a5a151d85b43 100644 --- a/board/gateworks/gw_ventana/eeprom.c +++ b/board/gateworks/gw_ventana/eeprom.c @@ -12,6 +12,7 @@ #include #include #include +#include #include "gsc.h" #include "ventana_eeprom.h" diff --git a/board/gateworks/gw_ventana/gsc.c b/board/gateworks/gw_ventana/gsc.c index 4179f0fb5c02..bcb6bca3462d 100644 --- a/board/gateworks/gw_ventana/gsc.c +++ b/board/gateworks/gw_ventana/gsc.c @@ -8,6 +8,7 @@ #include #include #include +#include #include #include #include diff --git a/board/gateworks/gw_ventana/gw_ventana.c b/board/gateworks/gw_ventana/gw_ventana.c index acbd200c3ff7..649e6229449a 100644 --- a/board/gateworks/gw_ventana/gw_ventana.c +++ b/board/gateworks/gw_ventana/gw_ventana.c @@ -35,6 +35,7 @@ #include #include #include +#include #include #include #include diff --git a/board/gdsys/a38x/controlcenterdc.c b/board/gdsys/a38x/controlcenterdc.c index 0d53d69ecc9b..a2287f9deb13 100644 --- a/board/gdsys/a38x/controlcenterdc.c +++ b/board/gdsys/a38x/controlcenterdc.c @@ -14,6 +14,7 @@ #include #include #include +#include #include "../drivers/ddr/marvell/a38x/ddr3_init.h" #include "../arch/arm/mach-mvebu/serdes/a38x/high_speed_env_spec.h" diff --git a/board/gdsys/a38x/ihs_phys.c b/board/gdsys/a38x/ihs_phys.c index 494de18f86a1..2ef3b3ab2704 100644 --- a/board/gdsys/a38x/ihs_phys.c +++ b/board/gdsys/a38x/ihs_phys.c @@ -2,6 +2,7 @@ #include #include #include +#include #include "ihs_phys.h" #include "dt_helpers.h" diff --git a/board/gdsys/common/cmd_ioloop.c b/board/gdsys/common/cmd_ioloop.c index 88ab8233d5c5..3b4494c59f50 100644 --- a/board/gdsys/common/cmd_ioloop.c +++ b/board/gdsys/common/cmd_ioloop.c @@ -7,6 +7,7 @@ #include #include #include +#include #include diff --git a/board/gdsys/common/ihs_mdio.c b/board/gdsys/common/ihs_mdio.c index f160a57cc2d8..5f1215e9e8a6 100644 --- a/board/gdsys/common/ihs_mdio.c +++ b/board/gdsys/common/ihs_mdio.c @@ -5,6 +5,7 @@ */ #include +#include #include #ifdef CONFIG_GDSYS_LEGACY_DRIVERS diff --git a/board/gdsys/common/mclink.c b/board/gdsys/common/mclink.c index c43d24b26d49..6147fbfc87fb 100644 --- a/board/gdsys/common/mclink.c +++ b/board/gdsys/common/mclink.c @@ -11,6 +11,7 @@ #include #include +#include enum { MCINT_SLAVE_LINK_CHANGED_EV = 1 << 7, diff --git a/board/gdsys/mpc8308/hrcon.c b/board/gdsys/mpc8308/hrcon.c index 8994c8c71b4e..90946cc34e31 100644 --- a/board/gdsys/mpc8308/hrcon.c +++ b/board/gdsys/mpc8308/hrcon.c @@ -11,6 +11,7 @@ #include #include #include +#include #include #include #include diff --git a/board/gdsys/mpc8308/mpc8308.c b/board/gdsys/mpc8308/mpc8308.c index d4108457d92c..0f90f8ad327b 100644 --- a/board/gdsys/mpc8308/mpc8308.c +++ b/board/gdsys/mpc8308/mpc8308.c @@ -10,6 +10,7 @@ #include #include #include +#include #include "mpc8308.h" #include diff --git a/board/gdsys/mpc8308/strider.c b/board/gdsys/mpc8308/strider.c index a12e08685bf6..9b82c949b384 100644 --- a/board/gdsys/mpc8308/strider.c +++ b/board/gdsys/mpc8308/strider.c @@ -11,6 +11,7 @@ #include #include #include +#include #include #include #include diff --git a/board/gdsys/p1022/controlcenterd-id.c b/board/gdsys/p1022/controlcenterd-id.c index ccad907271f5..1b5aa9042f57 100644 --- a/board/gdsys/p1022/controlcenterd-id.c +++ b/board/gdsys/p1022/controlcenterd-id.c @@ -22,6 +22,7 @@ #include #include #include +#include #include #include #include diff --git a/board/gdsys/p1022/controlcenterd.c b/board/gdsys/p1022/controlcenterd.c index e960fa71acaa..73ce985d1a97 100644 --- a/board/gdsys/p1022/controlcenterd.c +++ b/board/gdsys/p1022/controlcenterd.c @@ -36,6 +36,7 @@ #include #include #include +#include #include #include #include diff --git a/board/ge/bx50v3/bx50v3.c b/board/ge/bx50v3/bx50v3.c index 6f7f752a8dc8..edccfd03b3c5 100644 --- a/board/ge/bx50v3/bx50v3.c +++ b/board/ge/bx50v3/bx50v3.c @@ -12,6 +12,7 @@ #include #include #include +#include #include #include #include diff --git a/board/google/imx8mq_phanbell/spl.c b/board/google/imx8mq_phanbell/spl.c index 543d9bb16f89..6f3959931671 100644 --- a/board/google/imx8mq_phanbell/spl.c +++ b/board/google/imx8mq_phanbell/spl.c @@ -19,6 +19,7 @@ #include #include #include +#include #include #include #include diff --git a/board/google/veyron/veyron.c b/board/google/veyron/veyron.c index 02bc5ed37bba..6d84a326a3e9 100644 --- a/board/google/veyron/veyron.c +++ b/board/google/veyron/veyron.c @@ -10,6 +10,7 @@ #include #include #include +#include #include #include diff --git a/board/gumstix/duovero/duovero.c b/board/gumstix/duovero/duovero.c index 7b6fd5c737a1..0df03a5a61f1 100644 --- a/board/gumstix/duovero/duovero.c +++ b/board/gumstix/duovero/duovero.c @@ -16,6 +16,7 @@ #include #include #include +#include #include "duovero_mux_data.h" diff --git a/board/highbank/ahci.c b/board/highbank/ahci.c index 49cd117e3c56..9c057278ace1 100644 --- a/board/highbank/ahci.c +++ b/board/highbank/ahci.c @@ -6,6 +6,7 @@ #include #include #include +#include #define CPHY_MAP(dev, addr) ((((dev) & 0x1f) << 7) | (((addr) >> 9) & 0x7f)) #define CPHY_ADDR(base, dev, addr) ((base) | (((addr) & 0x1ff) << 2)) diff --git a/board/hisilicon/hikey/hikey.c b/board/hisilicon/hikey/hikey.c index df0f1104bfcc..6eea939b9199 100644 --- a/board/hisilicon/hikey/hikey.c +++ b/board/hisilicon/hikey/hikey.c @@ -15,6 +15,7 @@ #include #include #include +#include #include #include #include diff --git a/board/hisilicon/hikey960/hikey960.c b/board/hisilicon/hikey960/hikey960.c index 89a922fb8229..db485db10a95 100644 --- a/board/hisilicon/hikey960/hikey960.c +++ b/board/hisilicon/hikey960/hikey960.c @@ -15,6 +15,7 @@ #include #include #include +#include #include #define PMIC_REG_TO_BUS_ADDR(x) (x << 2) diff --git a/board/hisilicon/poplar/poplar.c b/board/hisilicon/poplar/poplar.c index 70a69f5b8c96..8e2dd5fa507e 100644 --- a/board/hisilicon/poplar/poplar.c +++ b/board/hisilicon/poplar/poplar.c @@ -13,6 +13,7 @@ #include #include #include +#include DECLARE_GLOBAL_DATA_PTR; diff --git a/board/ids/ids8313/ids8313.c b/board/ids/ids8313/ids8313.c index 6e74e939c3cb..2065a5a7db8f 100644 --- a/board/ids/ids8313/ids8313.c +++ b/board/ids/ids8313/ids8313.c @@ -16,6 +16,7 @@ #include #include #include +#include #include DECLARE_GLOBAL_DATA_PTR; diff --git a/board/imgtec/ci20/ci20.c b/board/imgtec/ci20/ci20.c index 66c64f8056a2..e87ea0a7adb4 100644 --- a/board/imgtec/ci20/ci20.c +++ b/board/imgtec/ci20/ci20.c @@ -13,6 +13,7 @@ #include #include #include +#include #include #include #include diff --git a/board/imgtec/malta/malta.c b/board/imgtec/malta/malta.c index 80005ec3cc10..88a1a63bf488 100644 --- a/board/imgtec/malta/malta.c +++ b/board/imgtec/malta/malta.c @@ -13,6 +13,7 @@ #include #include #include +#include #include #include diff --git a/board/inversepath/usbarmory/usbarmory.c b/board/inversepath/usbarmory/usbarmory.c index 4fa34e1b51cd..02a514809f7b 100644 --- a/board/inversepath/usbarmory/usbarmory.c +++ b/board/inversepath/usbarmory/usbarmory.c @@ -17,6 +17,7 @@ #include #include #include +#include #include #include #include diff --git a/board/isee/igep00x0/common.c b/board/isee/igep00x0/common.c index f5d62ffc2e59..2c269773a85c 100644 --- a/board/isee/igep00x0/common.c +++ b/board/isee/igep00x0/common.c @@ -7,6 +7,7 @@ #include #include #include +#include #include #include "igep00x0.h" diff --git a/board/isee/igep00x0/igep00x0.c b/board/isee/igep00x0/igep00x0.c index 887ec6a66bba..af0bce6426e5 100644 --- a/board/isee/igep00x0/igep00x0.c +++ b/board/isee/igep00x0/igep00x0.c @@ -20,6 +20,7 @@ #include #include #include +#include #include #include #include diff --git a/board/k+p/kp_imx6q_tpc/kp_imx6q_tpc_spl.c b/board/k+p/kp_imx6q_tpc/kp_imx6q_tpc_spl.c index c105da583747..75fb6acfb3c3 100644 --- a/board/k+p/kp_imx6q_tpc/kp_imx6q_tpc_spl.c +++ b/board/k+p/kp_imx6q_tpc/kp_imx6q_tpc_spl.c @@ -16,6 +16,7 @@ #include #include #include +#include DECLARE_GLOBAL_DATA_PTR; diff --git a/board/keymile/common/common.c b/board/keymile/common/common.c index f592eba9e50e..9c9e1598f82d 100644 --- a/board/keymile/common/common.c +++ b/board/keymile/common/common.c @@ -17,6 +17,7 @@ #include #include #include +#include #if defined(CONFIG_POST) #include "post.h" diff --git a/board/keymile/km83xx/km83xx.c b/board/keymile/km83xx/km83xx.c index 3c869b755c58..29514d836398 100644 --- a/board/keymile/km83xx/km83xx.c +++ b/board/keymile/km83xx/km83xx.c @@ -26,6 +26,7 @@ #include #include #include +#include #include #include diff --git a/board/keymile/km83xx/km83xx_i2c.c b/board/keymile/km83xx/km83xx_i2c.c index 113ca70a1ac8..62100b19492d 100644 --- a/board/keymile/km83xx/km83xx_i2c.c +++ b/board/keymile/km83xx/km83xx_i2c.c @@ -8,6 +8,7 @@ #include #include #include +#include #include "../common/common.h" static void i2c_write_start_seq(void) diff --git a/board/keymile/km_arm/fpga_config.c b/board/keymile/km_arm/fpga_config.c index 8bb0470bc307..abb5b7d60d0e 100644 --- a/board/keymile/km_arm/fpga_config.c +++ b/board/keymile/km_arm/fpga_config.c @@ -6,6 +6,7 @@ #include #include +#include #include /* GPIO Pin from kirkwood connected to PROGRAM_B pin of the xilinx FPGA */ diff --git a/board/keymile/kmp204x/pci.c b/board/keymile/kmp204x/pci.c index 15bbc810a1b6..87bf16886ad1 100644 --- a/board/keymile/kmp204x/pci.c +++ b/board/keymile/kmp204x/pci.c @@ -11,6 +11,7 @@ #include #include #include +#include #include #include #include diff --git a/board/kosagi/novena/novena_spl.c b/board/kosagi/novena/novena_spl.c index bc52b91b2f43..9926285675bb 100644 --- a/board/kosagi/novena/novena_spl.c +++ b/board/kosagi/novena/novena_spl.c @@ -23,6 +23,7 @@ #include #include #include +#include #include diff --git a/board/kosagi/novena/video.c b/board/kosagi/novena/video.c index a97e97a56541..a96a877f5f21 100644 --- a/board/kosagi/novena/video.c +++ b/board/kosagi/novena/video.c @@ -11,6 +11,7 @@ #include #include +#include #include #include #include diff --git a/board/liebherr/display5/display5.c b/board/liebherr/display5/display5.c index 728ee83a582f..ec55fdf0aa5f 100644 --- a/board/liebherr/display5/display5.c +++ b/board/liebherr/display5/display5.c @@ -25,6 +25,7 @@ #include #include #include +#include #include #include diff --git a/board/liebherr/display5/spl.c b/board/liebherr/display5/spl.c index bee99667ee5b..ac4f23f4d646 100644 --- a/board/liebherr/display5/spl.c +++ b/board/liebherr/display5/spl.c @@ -12,6 +12,7 @@ #include #include #include +#include #include #include #include diff --git a/board/liebherr/mccmon6/spl.c b/board/liebherr/mccmon6/spl.c index f40e814f86ad..b234f0622059 100644 --- a/board/liebherr/mccmon6/spl.c +++ b/board/liebherr/mccmon6/spl.c @@ -22,6 +22,7 @@ #include #include #include +#include #include /* diff --git a/board/liebherr/xea/xea.c b/board/liebherr/xea/xea.c index 30665ea99242..8159f3a2d9ed 100644 --- a/board/liebherr/xea/xea.c +++ b/board/liebherr/xea/xea.c @@ -24,6 +24,7 @@ #include #include #include +#include #include #include #include diff --git a/board/mpc8308_p1m/mpc8308_p1m.c b/board/mpc8308_p1m/mpc8308_p1m.c index caa6187ffe66..601442055d9b 100644 --- a/board/mpc8308_p1m/mpc8308_p1m.c +++ b/board/mpc8308_p1m/mpc8308_p1m.c @@ -8,6 +8,7 @@ #include #include #include +#include #include #include #include diff --git a/board/mscc/jr2/jr2.c b/board/mscc/jr2/jr2.c index b240c7649ced..f806576b90cd 100644 --- a/board/mscc/jr2/jr2.c +++ b/board/mscc/jr2/jr2.c @@ -9,6 +9,7 @@ #include #include #include +#include enum { BOARD_TYPE_PCB110 = 0xAABBCE00, diff --git a/board/nvidia/cardhu/cardhu.c b/board/nvidia/cardhu/cardhu.c index ee56497a051c..6848e3400466 100644 --- a/board/nvidia/cardhu/cardhu.c +++ b/board/nvidia/cardhu/cardhu.c @@ -11,6 +11,7 @@ #include #include #include +#include #include "pinmux-config-cardhu.h" #include diff --git a/board/nvidia/nyan-big/nyan-big.c b/board/nvidia/nyan-big/nyan-big.c index 6464e86c4552..71c71ed6ec23 100644 --- a/board/nvidia/nyan-big/nyan-big.c +++ b/board/nvidia/nyan-big/nyan-big.c @@ -15,6 +15,7 @@ #include #include #include +#include #include #include #include "pinmux-config-nyan-big.h" diff --git a/board/nvidia/venice2/as3722_init.c b/board/nvidia/venice2/as3722_init.c index 15fba13e0b7f..ba676547d3ec 100644 --- a/board/nvidia/venice2/as3722_init.c +++ b/board/nvidia/venice2/as3722_init.c @@ -8,6 +8,7 @@ #include #include #include +#include #include "as3722_init.h" /* AS3722-PMIC-specific early init code - get CPU rails up, etc */ diff --git a/board/olimex/mx23_olinuxino/mx23_olinuxino.c b/board/olimex/mx23_olinuxino/mx23_olinuxino.c index cfe33d3072e9..808d22103637 100644 --- a/board/olimex/mx23_olinuxino/mx23_olinuxino.c +++ b/board/olimex/mx23_olinuxino/mx23_olinuxino.c @@ -16,6 +16,7 @@ #ifdef CONFIG_LED_STATUS #include #endif +#include DECLARE_GLOBAL_DATA_PTR; diff --git a/board/overo/overo.c b/board/overo/overo.c index 7a54719e8792..5450f5d11cea 100644 --- a/board/overo/overo.c +++ b/board/overo/overo.c @@ -20,6 +20,7 @@ #include #include #include +#include #include #include #include diff --git a/board/pandora/pandora.c b/board/pandora/pandora.c index bb310d9e6814..a93848666fea 100644 --- a/board/pandora/pandora.c +++ b/board/pandora/pandora.c @@ -24,6 +24,7 @@ #include #include #include +#include #include "pandora.h" DECLARE_GLOBAL_DATA_PTR; diff --git a/board/phytec/pcm058/pcm058.c b/board/phytec/pcm058/pcm058.c index b1bf8d50f812..096425c5dfed 100644 --- a/board/phytec/pcm058/pcm058.c +++ b/board/phytec/pcm058/pcm058.c @@ -23,6 +23,7 @@ #include #include #include +#include #include #include #include diff --git a/board/phytec/pfla02/pfla02.c b/board/phytec/pfla02/pfla02.c index ce3cc6a3eb9f..fed8f52e3e1d 100644 --- a/board/phytec/pfla02/pfla02.c +++ b/board/phytec/pfla02/pfla02.c @@ -20,6 +20,7 @@ #include #include #include +#include #include #include #include diff --git a/board/ppcag/bg0900/bg0900.c b/board/ppcag/bg0900/bg0900.c index 70870797bbf1..9150748654c1 100644 --- a/board/ppcag/bg0900/bg0900.c +++ b/board/ppcag/bg0900/bg0900.c @@ -14,6 +14,7 @@ #include #include #include +#include #include #include #include diff --git a/board/qualcomm/dragonboard410c/dragonboard410c.c b/board/qualcomm/dragonboard410c/dragonboard410c.c index 75505d0c1897..672bd465a50b 100644 --- a/board/qualcomm/dragonboard410c/dragonboard410c.c +++ b/board/qualcomm/dragonboard410c/dragonboard410c.c @@ -17,6 +17,7 @@ #include #include #include +#include DECLARE_GLOBAL_DATA_PTR; diff --git a/board/renesas/alt/alt.c b/board/renesas/alt/alt.c index de487ff4b77d..600a355a6b90 100644 --- a/board/renesas/alt/alt.c +++ b/board/renesas/alt/alt.c @@ -17,6 +17,7 @@ #include #include #include +#include #include #include #include diff --git a/board/renesas/gose/gose.c b/board/renesas/gose/gose.c index aec947ab5ac1..686ad28f65c2 100644 --- a/board/renesas/gose/gose.c +++ b/board/renesas/gose/gose.c @@ -17,6 +17,7 @@ #include #include #include +#include #include #include #include diff --git a/board/renesas/koelsch/koelsch.c b/board/renesas/koelsch/koelsch.c index 67ac85d580db..0f21f8d743a1 100644 --- a/board/renesas/koelsch/koelsch.c +++ b/board/renesas/koelsch/koelsch.c @@ -18,6 +18,7 @@ #include #include #include +#include #include #include #include diff --git a/board/renesas/lager/lager.c b/board/renesas/lager/lager.c index 1a5877bf156a..8a94f21811be 100644 --- a/board/renesas/lager/lager.c +++ b/board/renesas/lager/lager.c @@ -20,6 +20,7 @@ #include #include #include +#include #include #include #include diff --git a/board/renesas/porter/porter.c b/board/renesas/porter/porter.c index acff2e3b3911..f311a7239190 100644 --- a/board/renesas/porter/porter.c +++ b/board/renesas/porter/porter.c @@ -18,6 +18,7 @@ #include #include #include +#include #include #include #include diff --git a/board/renesas/sh7752evb/sh7752evb.c b/board/renesas/sh7752evb/sh7752evb.c index c6e0c12976eb..a005029b615f 100644 --- a/board/renesas/sh7752evb/sh7752evb.c +++ b/board/renesas/sh7752evb/sh7752evb.c @@ -15,6 +15,7 @@ #include #include #include +#include int checkboard(void) { diff --git a/board/renesas/sh7753evb/sh7753evb.c b/board/renesas/sh7753evb/sh7753evb.c index cdeacb8aaeed..3b4a3ce26aff 100644 --- a/board/renesas/sh7753evb/sh7753evb.c +++ b/board/renesas/sh7753evb/sh7753evb.c @@ -15,6 +15,7 @@ #include #include #include +#include int checkboard(void) { diff --git a/board/renesas/silk/silk.c b/board/renesas/silk/silk.c index db88f0ddb67d..fe753a79dac1 100644 --- a/board/renesas/silk/silk.c +++ b/board/renesas/silk/silk.c @@ -18,6 +18,7 @@ #include #include #include +#include #include #include #include diff --git a/board/renesas/stout/stout.c b/board/renesas/stout/stout.c index 594070a9bfbb..b32e11a19999 100644 --- a/board/renesas/stout/stout.c +++ b/board/renesas/stout/stout.c @@ -19,6 +19,7 @@ #include #include #include +#include #include #include #include diff --git a/board/samsung/common/board.c b/board/samsung/common/board.c index 7f7fb070f659..029a0cc6cde6 100644 --- a/board/samsung/common/board.c +++ b/board/samsung/common/board.c @@ -32,6 +32,7 @@ #include #include #include +#include #include #include #include diff --git a/board/samsung/common/exynos5-dt-types.c b/board/samsung/common/exynos5-dt-types.c index 1413dc897882..f1ecb7d2c396 100644 --- a/board/samsung/common/exynos5-dt-types.c +++ b/board/samsung/common/exynos5-dt-types.c @@ -9,6 +9,7 @@ #include #include #include +#include #include #include #include diff --git a/board/samsung/common/misc.c b/board/samsung/common/misc.c index 146843d34820..837463ba78f8 100644 --- a/board/samsung/common/misc.c +++ b/board/samsung/common/misc.c @@ -9,6 +9,7 @@ #include #include #include +#include #include #include #include diff --git a/board/samsung/goni/goni.c b/board/samsung/goni/goni.c index 9639f9a306af..40a94d547fa9 100644 --- a/board/samsung/goni/goni.c +++ b/board/samsung/goni/goni.c @@ -11,6 +11,7 @@ #include #include #include +#include #include #include #include diff --git a/board/samsung/trats/trats.c b/board/samsung/trats/trats.c index b01c93639fae..2e80dbbc84a7 100644 --- a/board/samsung/trats/trats.c +++ b/board/samsung/trats/trats.c @@ -18,6 +18,7 @@ #include #include #include +#include #include #include #include diff --git a/board/samsung/trats2/trats2.c b/board/samsung/trats2/trats2.c index ad5dea7307ab..69e0ef192d10 100644 --- a/board/samsung/trats2/trats2.c +++ b/board/samsung/trats2/trats2.c @@ -12,6 +12,7 @@ #include #include #include +#include #include #include #include diff --git a/board/samsung/universal_c210/universal.c b/board/samsung/universal_c210/universal.c index c56a87b083b7..f50da6be7245 100644 --- a/board/samsung/universal_c210/universal.c +++ b/board/samsung/universal_c210/universal.c @@ -16,6 +16,7 @@ #include #include #include +#include #include #include #include diff --git a/board/sandisk/sansa_fuze_plus/sfp.c b/board/sandisk/sansa_fuze_plus/sfp.c index ae965a80a533..04f867870475 100644 --- a/board/sandisk/sansa_fuze_plus/sfp.c +++ b/board/sandisk/sansa_fuze_plus/sfp.c @@ -19,6 +19,7 @@ #include #include #include +#include DECLARE_GLOBAL_DATA_PTR; diff --git a/board/sbc8349/pci.c b/board/sbc8349/pci.c index b6435f34f22a..26c4f24e4f8b 100644 --- a/board/sbc8349/pci.c +++ b/board/sbc8349/pci.c @@ -15,6 +15,7 @@ #include #include #include +#include static struct pci_region pci1_regions[] = { { diff --git a/board/sbc8349/sbc8349.c b/board/sbc8349/sbc8349.c index 2c05ebb1bd51..c84146a60866 100644 --- a/board/sbc8349/sbc8349.c +++ b/board/sbc8349/sbc8349.c @@ -19,6 +19,7 @@ #if defined(CONFIG_OF_LIBFDT) #include #endif +#include DECLARE_GLOBAL_DATA_PTR; diff --git a/board/sbc8548/ddr.c b/board/sbc8548/ddr.c index f7af1e3dedb1..61bc77c418a9 100644 --- a/board/sbc8548/ddr.c +++ b/board/sbc8548/ddr.c @@ -5,6 +5,7 @@ #include #include +#include #include #include diff --git a/board/sbc8548/sbc8548.c b/board/sbc8548/sbc8548.c index 5883859e46e0..24782c7e6d3f 100644 --- a/board/sbc8548/sbc8548.c +++ b/board/sbc8548/sbc8548.c @@ -23,6 +23,7 @@ #include #include #include +#include #include #include diff --git a/board/sbc8641d/sbc8641d.c b/board/sbc8641d/sbc8641d.c index 91867d4f3d2d..3375cd621cff 100644 --- a/board/sbc8641d/sbc8641d.c +++ b/board/sbc8641d/sbc8641d.c @@ -21,6 +21,7 @@ #include #include #include +#include #include #include diff --git a/board/seco/mx6quq7/mx6quq7.c b/board/seco/mx6quq7/mx6quq7.c index b8aa0e7f694a..4fa0daba469a 100644 --- a/board/seco/mx6quq7/mx6quq7.c +++ b/board/seco/mx6quq7/mx6quq7.c @@ -13,6 +13,7 @@ #include #include #include +#include #include #include #include diff --git a/board/siemens/capricorn/board.c b/board/siemens/capricorn/board.c index 8c6142538421..c46e4ff7363a 100644 --- a/board/siemens/capricorn/board.c +++ b/board/siemens/capricorn/board.c @@ -27,6 +27,7 @@ #ifndef CONFIG_SPL #include #endif +#include #include "../common/factoryset.h" #define GPIO_PAD_CTRL \ diff --git a/board/siemens/draco/board.c b/board/siemens/draco/board.c index b4893d39ae8f..5ac73c0ef402 100644 --- a/board/siemens/draco/board.c +++ b/board/siemens/draco/board.c @@ -35,6 +35,7 @@ #include #include #include +#include #include "board.h" #include "../common/factoryset.h" #include diff --git a/board/siemens/rut/board.c b/board/siemens/rut/board.c index fff2b696ced7..3b109e9818f3 100644 --- a/board/siemens/rut/board.c +++ b/board/siemens/rut/board.c @@ -34,6 +34,7 @@ #include #include #include +#include #include "board.h" #include "../common/factoryset.h" #include "../../../drivers/video/da8xx-fb.h" diff --git a/board/sks-kinkel/sksimx6/sksimx6.c b/board/sks-kinkel/sksimx6/sksimx6.c index 235d87c053c2..772c17979be8 100644 --- a/board/sks-kinkel/sksimx6/sksimx6.c +++ b/board/sks-kinkel/sksimx6/sksimx6.c @@ -11,6 +11,7 @@ #include #include #include +#include #include #include #include diff --git a/board/socrates/sdram.c b/board/socrates/sdram.c index 8eb4f8fc950b..d358a209a4a3 100644 --- a/board/socrates/sdram.c +++ b/board/socrates/sdram.c @@ -12,6 +12,7 @@ #include #include #include +#include #if !defined(CONFIG_SPD_EEPROM) diff --git a/board/socrates/socrates.c b/board/socrates/socrates.c index c51f3e4f9249..58c5f7527bfb 100644 --- a/board/socrates/socrates.c +++ b/board/socrates/socrates.c @@ -20,6 +20,7 @@ #include #include #include +#include #include #include #include diff --git a/board/softing/vining_2000/vining_2000.c b/board/softing/vining_2000/vining_2000.c index f523e50ea56e..19fb85f34c2e 100644 --- a/board/softing/vining_2000/vining_2000.c +++ b/board/softing/vining_2000/vining_2000.c @@ -19,6 +19,7 @@ #include #include #include +#include #include #include #include diff --git a/board/softing/vining_fpga/socfpga.c b/board/softing/vining_fpga/socfpga.c index 537d9d187216..7e311b7a1c38 100644 --- a/board/softing/vining_fpga/socfpga.c +++ b/board/softing/vining_fpga/socfpga.c @@ -13,6 +13,7 @@ #include #include #include +#include DECLARE_GLOBAL_DATA_PTR; diff --git a/board/solidrun/clearfog/clearfog.c b/board/solidrun/clearfog/clearfog.c index 9430097432c0..df23c0d8b333 100644 --- a/board/solidrun/clearfog/clearfog.c +++ b/board/solidrun/clearfog/clearfog.c @@ -13,6 +13,7 @@ #include #include #include +#include #include "../common/tlv_data.h" #include "../drivers/ddr/marvell/a38x/ddr3_init.h" diff --git a/board/solidrun/mx6cuboxi/mx6cuboxi.c b/board/solidrun/mx6cuboxi/mx6cuboxi.c index 2660735ce780..94707bccb26a 100644 --- a/board/solidrun/mx6cuboxi/mx6cuboxi.c +++ b/board/solidrun/mx6cuboxi/mx6cuboxi.c @@ -24,6 +24,7 @@ #include #include #include +#include #include #include #include diff --git a/board/spear/x600/fpga.c b/board/spear/x600/fpga.c index 6dc3fb38daa4..5140694b9e85 100644 --- a/board/spear/x600/fpga.c +++ b/board/spear/x600/fpga.c @@ -12,6 +12,7 @@ #include #include #include +#include /* * FPGA program pin configuration on X600: diff --git a/board/sr1500/socfpga.c b/board/sr1500/socfpga.c index 83663c7e4d3f..d9125a76bf7f 100644 --- a/board/sr1500/socfpga.c +++ b/board/sr1500/socfpga.c @@ -8,6 +8,7 @@ #include #include #include +#include int board_early_init_f(void) { diff --git a/board/st/stm32f746-disco/stm32f746-disco.c b/board/st/stm32f746-disco/stm32f746-disco.c index ae5e1109898e..0f728fd9f9e2 100644 --- a/board/st/stm32f746-disco/stm32f746-disco.c +++ b/board/st/stm32f746-disco/stm32f746-disco.c @@ -23,6 +23,7 @@ #include #include #include +#include DECLARE_GLOBAL_DATA_PTR; diff --git a/board/st/stm32mp1/board.c b/board/st/stm32mp1/board.c index 4e35d36c76dd..b0d165028ca5 100644 --- a/board/st/stm32mp1/board.c +++ b/board/st/stm32mp1/board.c @@ -7,6 +7,7 @@ #include #include #include +#include #include #include diff --git a/board/st/stm32mp1/stm32mp1.c b/board/st/stm32mp1/stm32mp1.c index ba556de00f1c..929302cf0297 100644 --- a/board/st/stm32mp1/stm32mp1.c +++ b/board/st/stm32mp1/stm32mp1.c @@ -34,6 +34,7 @@ #include #include #include +#include #include #include #include diff --git a/board/sunxi/board.c b/board/sunxi/board.c index f8d5dba91c8a..f32e8f582fa5 100644 --- a/board/sunxi/board.c +++ b/board/sunxi/board.c @@ -28,6 +28,7 @@ #include #include #include +#include #include #ifndef CONFIG_ARM64 #include diff --git a/board/synopsys/hsdk/hsdk.c b/board/synopsys/hsdk/hsdk.c index dcb19dd08872..a42195427cca 100644 --- a/board/synopsys/hsdk/hsdk.c +++ b/board/synopsys/hsdk/hsdk.c @@ -14,6 +14,7 @@ #include #include #include +#include #include #include #include diff --git a/board/syteco/zmx25/zmx25.c b/board/syteco/zmx25/zmx25.c index 9ea62bb79602..d5393d705976 100644 --- a/board/syteco/zmx25/zmx25.c +++ b/board/syteco/zmx25/zmx25.c @@ -21,6 +21,7 @@ #include #include #include +#include DECLARE_GLOBAL_DATA_PTR; diff --git a/board/technexion/pico-imx6/pico-imx6.c b/board/technexion/pico-imx6/pico-imx6.c index c60ce4b138c3..b5a02eb83274 100644 --- a/board/technexion/pico-imx6/pico-imx6.c +++ b/board/technexion/pico-imx6/pico-imx6.c @@ -20,6 +20,7 @@ #include #include #include +#include #include #include #include diff --git a/board/technexion/pico-imx6/spl.c b/board/technexion/pico-imx6/spl.c index fe3c584662fb..f9ae09607fbd 100644 --- a/board/technexion/pico-imx6/spl.c +++ b/board/technexion/pico-imx6/spl.c @@ -13,6 +13,7 @@ #include #include #include +#include #include #include #include diff --git a/board/technexion/pico-imx6ul/pico-imx6ul.c b/board/technexion/pico-imx6ul/pico-imx6ul.c index e4ca83a5ff00..1d24096df5a8 100644 --- a/board/technexion/pico-imx6ul/pico-imx6ul.c +++ b/board/technexion/pico-imx6ul/pico-imx6ul.c @@ -19,6 +19,7 @@ #include #include #include +#include #include #include #include diff --git a/board/technexion/pico-imx8mq/pico-imx8mq.c b/board/technexion/pico-imx8mq/pico-imx8mq.c index 822357bb12c0..2a3e6e7e2657 100644 --- a/board/technexion/pico-imx8mq/pico-imx8mq.c +++ b/board/technexion/pico-imx8mq/pico-imx8mq.c @@ -20,6 +20,7 @@ #include #include #include +#include #include #include diff --git a/board/technexion/pico-imx8mq/spl.c b/board/technexion/pico-imx8mq/spl.c index de6b0f46499f..1677e033c7c2 100644 --- a/board/technexion/pico-imx8mq/spl.c +++ b/board/technexion/pico-imx8mq/spl.c @@ -15,6 +15,7 @@ #include #include #include +#include #include #include #include diff --git a/board/technologic/ts4600/ts4600.c b/board/technologic/ts4600/ts4600.c index 2a63e84ec394..54508cd86481 100644 --- a/board/technologic/ts4600/ts4600.c +++ b/board/technologic/ts4600/ts4600.c @@ -21,6 +21,7 @@ #include #include #include +#include #include #include #include diff --git a/board/technologic/ts4800/ts4800.c b/board/technologic/ts4800/ts4800.c index 99f9293f7f20..28918de547d8 100644 --- a/board/technologic/ts4800/ts4800.c +++ b/board/technologic/ts4800/ts4800.c @@ -15,6 +15,7 @@ #include #include #include +#include #include #include #include diff --git a/board/theadorable/theadorable.c b/board/theadorable/theadorable.c index 6ee09034ea4e..53ef9916a252 100644 --- a/board/theadorable/theadorable.c +++ b/board/theadorable/theadorable.c @@ -17,6 +17,7 @@ #include #include #include +#include #include #ifdef CONFIG_NET #include diff --git a/board/ti/am335x/board.c b/board/ti/am335x/board.c index 56fe171aa751..474495a00585 100644 --- a/board/ti/am335x/board.c +++ b/board/ti/am335x/board.c @@ -36,6 +36,7 @@ #include #include #include +#include #include #include #include diff --git a/board/ti/evm/evm.c b/board/ti/evm/evm.c index d6d21bae1f42..aba74fce775a 100644 --- a/board/ti/evm/evm.c +++ b/board/ti/evm/evm.c @@ -28,6 +28,7 @@ #include #include #include +#include #include #include #include diff --git a/board/ti/ks2_evm/board_k2g.c b/board/ti/ks2_evm/board_k2g.c index 21f002e3b1a1..450ccc4e0788 100644 --- a/board/ti/ks2_evm/board_k2g.c +++ b/board/ti/ks2_evm/board_k2g.c @@ -18,6 +18,7 @@ #include #include #include +#include #include "mux-k2g.h" #include "../common/board_detect.h" diff --git a/board/ti/omap5_uevm/evm.c b/board/ti/omap5_uevm/evm.c index fab48a70ef78..e35f319b46f9 100644 --- a/board/ti/omap5_uevm/evm.c +++ b/board/ti/omap5_uevm/evm.c @@ -14,6 +14,7 @@ #include #include #include +#include #include #include #include diff --git a/board/timll/devkit3250/devkit3250.c b/board/timll/devkit3250/devkit3250.c index b455844c89dd..f4eaf15970bb 100644 --- a/board/timll/devkit3250/devkit3250.c +++ b/board/timll/devkit3250/devkit3250.c @@ -13,6 +13,7 @@ #include #include #include +#include DECLARE_GLOBAL_DATA_PTR; diff --git a/board/toradex/apalis-tk1/apalis-tk1.c b/board/toradex/apalis-tk1/apalis-tk1.c index 3d8038164662..d77b4c4ab9c8 100644 --- a/board/toradex/apalis-tk1/apalis-tk1.c +++ b/board/toradex/apalis-tk1/apalis-tk1.c @@ -15,6 +15,7 @@ #include #include #include +#include #include #include diff --git a/board/toradex/apalis-tk1/as3722_init.c b/board/toradex/apalis-tk1/as3722_init.c index 0b5882c0d894..68169f554808 100644 --- a/board/toradex/apalis-tk1/as3722_init.c +++ b/board/toradex/apalis-tk1/as3722_init.c @@ -7,6 +7,7 @@ #include #include #include +#include #include "as3722_init.h" /* AS3722-PMIC-specific early init code - get CPU rails up, etc */ diff --git a/board/toradex/apalis_imx6/apalis_imx6.c b/board/toradex/apalis_imx6/apalis_imx6.c index dac9503c1b5d..f7b79c576eb3 100644 --- a/board/toradex/apalis_imx6/apalis_imx6.c +++ b/board/toradex/apalis_imx6/apalis_imx6.c @@ -12,6 +12,7 @@ #include #include #include +#include #include #include diff --git a/board/toradex/apalis_imx6/pf0100.c b/board/toradex/apalis_imx6/pf0100.c index f8d0494332e0..c89052ff5daa 100644 --- a/board/toradex/apalis_imx6/pf0100.c +++ b/board/toradex/apalis_imx6/pf0100.c @@ -15,6 +15,7 @@ #include #include #include +#include #include "pf0100_otp.inc" #include "pf0100.h" diff --git a/board/toradex/apalis_t30/apalis_t30.c b/board/toradex/apalis_t30/apalis_t30.c index 5e6ba69c0b8a..3e8b8b1fe39b 100644 --- a/board/toradex/apalis_t30/apalis_t30.c +++ b/board/toradex/apalis_t30/apalis_t30.c @@ -16,6 +16,7 @@ #include #include #include +#include #include "../common/tdx-common.h" #include "pinmux-config-apalis_t30.h" diff --git a/board/toradex/colibri-imx6ull/colibri-imx6ull.c b/board/toradex/colibri-imx6ull/colibri-imx6ull.c index 7dfe8aec88d7..c67d02f7c29c 100644 --- a/board/toradex/colibri-imx6ull/colibri-imx6ull.c +++ b/board/toradex/colibri-imx6ull/colibri-imx6ull.c @@ -4,6 +4,7 @@ */ #include #include +#include #include #include diff --git a/board/toradex/colibri_imx6/colibri_imx6.c b/board/toradex/colibri_imx6/colibri_imx6.c index 197d8c39f5af..bdb4ac6b1129 100644 --- a/board/toradex/colibri_imx6/colibri_imx6.c +++ b/board/toradex/colibri_imx6/colibri_imx6.c @@ -12,6 +12,7 @@ #include #include #include +#include #include #include diff --git a/board/toradex/colibri_imx6/pf0100.c b/board/toradex/colibri_imx6/pf0100.c index 149e9bd3b942..8f08d8c7337c 100644 --- a/board/toradex/colibri_imx6/pf0100.c +++ b/board/toradex/colibri_imx6/pf0100.c @@ -15,6 +15,7 @@ #include #include #include +#include #include "pf0100_otp.inc" #include "pf0100.h" diff --git a/board/toradex/colibri_imx7/colibri_imx7.c b/board/toradex/colibri_imx7/colibri_imx7.c index 8e62b79ef362..8df925dacfb9 100644 --- a/board/toradex/colibri_imx7/colibri_imx7.c +++ b/board/toradex/colibri_imx7/colibri_imx7.c @@ -21,6 +21,7 @@ #include #include #include +#include #include #include #include diff --git a/board/toradex/colibri_pxa270/colibri_pxa270.c b/board/toradex/colibri_pxa270/colibri_pxa270.c index d9b09ae461fb..18b3d3f5423b 100644 --- a/board/toradex/colibri_pxa270/colibri_pxa270.c +++ b/board/toradex/colibri_pxa270/colibri_pxa270.c @@ -22,6 +22,7 @@ #include #include #include +#include #include "../common/tdx-common.h" DECLARE_GLOBAL_DATA_PTR; diff --git a/board/toradex/colibri_t20/colibri_t20.c b/board/toradex/colibri_t20/colibri_t20.c index 22517b9c5460..cb0aed872fcd 100644 --- a/board/toradex/colibri_t20/colibri_t20.c +++ b/board/toradex/colibri_t20/colibri_t20.c @@ -16,6 +16,7 @@ #include #include #include +#include #include "../common/tdx-common.h" DECLARE_GLOBAL_DATA_PTR; diff --git a/board/toradex/colibri_t30/colibri_t30.c b/board/toradex/colibri_t30/colibri_t30.c index d21ff544f4bd..0bbe81e44df4 100644 --- a/board/toradex/colibri_t30/colibri_t30.c +++ b/board/toradex/colibri_t30/colibri_t30.c @@ -13,6 +13,7 @@ #include #include #include +#include #include "pinmux-config-colibri_t30.h" #include "../common/tdx-common.h" diff --git a/board/tplink/wdr4300/wdr4300.c b/board/tplink/wdr4300/wdr4300.c index 7e7339553bc5..287132e4fc71 100644 --- a/board/tplink/wdr4300/wdr4300.c +++ b/board/tplink/wdr4300/wdr4300.c @@ -8,6 +8,7 @@ #include #include #include +#include #include #include #include diff --git a/board/tqc/tqm834x/pci.c b/board/tqc/tqm834x/pci.c index 083420776652..92bda6076524 100644 --- a/board/tqc/tqm834x/pci.c +++ b/board/tqc/tqm834x/pci.c @@ -13,6 +13,7 @@ #include #include #include +#include static struct pci_region pci1_regions[] = { { diff --git a/board/tqc/tqm834x/tqm834x.c b/board/tqc/tqm834x/tqm834x.c index 77fe7e243f9e..165a5433e728 100644 --- a/board/tqc/tqm834x/tqm834x.c +++ b/board/tqc/tqm834x/tqm834x.c @@ -16,6 +16,7 @@ #include #include #include +#include #include DECLARE_GLOBAL_DATA_PTR; diff --git a/board/tqc/tqma6/tqma6_mba6.c b/board/tqc/tqma6/tqma6_mba6.c index c5598c0e8caa..84d0e386a3e6 100644 --- a/board/tqc/tqma6/tqma6_mba6.c +++ b/board/tqc/tqma6/tqma6_mba6.c @@ -15,6 +15,7 @@ #include #include #include +#include #include #include #include diff --git a/board/tqc/tqma6/tqma6_wru4.c b/board/tqc/tqma6/tqma6_wru4.c index d64eff4ffa61..0488cbaaa8b5 100644 --- a/board/tqc/tqma6/tqma6_wru4.c +++ b/board/tqc/tqma6/tqma6_wru4.c @@ -17,6 +17,7 @@ #include #include #include +#include #include #include #include diff --git a/board/udoo/neo/neo.c b/board/udoo/neo/neo.c index 096551b3c7a0..5e49180c764a 100644 --- a/board/udoo/neo/neo.c +++ b/board/udoo/neo/neo.c @@ -25,6 +25,7 @@ #include #include #include +#include #include #include #include diff --git a/board/udoo/udoo.c b/board/udoo/udoo.c index 0370db67e493..4c85d99c13dc 100644 --- a/board/udoo/udoo.c +++ b/board/udoo/udoo.c @@ -13,6 +13,7 @@ #include #include #include +#include #include #include #include diff --git a/board/udoo/udoo_spl.c b/board/udoo/udoo_spl.c index 09fc23a90151..d9afbbb74198 100644 --- a/board/udoo/udoo_spl.c +++ b/board/udoo/udoo_spl.c @@ -12,6 +12,7 @@ #include #include #include +#include #include #include #include diff --git a/board/varisys/common/sys_eeprom.c b/board/varisys/common/sys_eeprom.c index 134c307e5df8..251d9fd73e56 100644 --- a/board/varisys/common/sys_eeprom.c +++ b/board/varisys/common/sys_eeprom.c @@ -15,6 +15,7 @@ #include #include #include +#include #include #include "eeprom.h" diff --git a/board/ve8313/ve8313.c b/board/ve8313/ve8313.c index d1c9535f46ea..ceb3d755522d 100644 --- a/board/ve8313/ve8313.c +++ b/board/ve8313/ve8313.c @@ -11,6 +11,7 @@ #include #include #include +#include #include #include #include diff --git a/board/wandboard/spl.c b/board/wandboard/spl.c index 816b9cb6fc6d..04c351fff985 100644 --- a/board/wandboard/spl.c +++ b/board/wandboard/spl.c @@ -11,6 +11,7 @@ #include #include #include +#include #include #include #include diff --git a/board/wandboard/wandboard.c b/board/wandboard/wandboard.c index c113a0ccc999..e0e01b1a4a43 100644 --- a/board/wandboard/wandboard.c +++ b/board/wandboard/wandboard.c @@ -25,6 +25,7 @@ #include #include #include +#include #include #include #include diff --git a/board/work-microwave/work_92105/work_92105.c b/board/work-microwave/work_92105/work_92105.c index 5cc2566e2a14..2e0def5b64f0 100644 --- a/board/work-microwave/work_92105/work_92105.c +++ b/board/work-microwave/work_92105/work_92105.c @@ -16,6 +16,7 @@ #include #include #include +#include #include "work_92105_display.h" DECLARE_GLOBAL_DATA_PTR; diff --git a/board/work-microwave/work_92105/work_92105_display.c b/board/work-microwave/work_92105/work_92105_display.c index 4641185ceb41..fecbbbdb584a 100644 --- a/board/work-microwave/work_92105/work_92105_display.c +++ b/board/work-microwave/work_92105/work_92105_display.c @@ -22,6 +22,7 @@ #include #include #include +#include /* * GPO 15 in port 3 is gpio 3*32+15 = 111 diff --git a/board/xilinx/zynqmp/tap_delays.c b/board/xilinx/zynqmp/tap_delays.c index c3ae357bbdb1..5fde0aed7dbe 100644 --- a/board/xilinx/zynqmp/tap_delays.c +++ b/board/xilinx/zynqmp/tap_delays.c @@ -7,6 +7,7 @@ #include #include +#include #define SD_DLL_CTRL 0xFF180358 #define SD_ITAP_DLY 0xFF180314 diff --git a/board/xilinx/zynqmp/xil_io.h b/board/xilinx/zynqmp/xil_io.h index 1c1bf32adaae..e6caa7c85033 100644 --- a/board/xilinx/zynqmp/xil_io.h +++ b/board/xilinx/zynqmp/xil_io.h @@ -6,6 +6,7 @@ /* FIXME remove this when vivado is fixed */ #include #include +#include #define xil_printf(...) diff --git a/board/xilinx/zynqmp/zynqmp.c b/board/xilinx/zynqmp/zynqmp.c index fd6652ac3de8..35ffac973516 100644 --- a/board/xilinx/zynqmp/zynqmp.c +++ b/board/xilinx/zynqmp/zynqmp.c @@ -31,6 +31,8 @@ #include #include #include +#include +#include #include "../common/board.h" #include "pm_cfg_obj.h" diff --git a/cmd/bootmenu.c b/cmd/bootmenu.c index 551420de105b..18efe25751f7 100644 --- a/cmd/bootmenu.c +++ b/cmd/bootmenu.c @@ -11,6 +11,7 @@ #include #include #include +#include #include /* maximum bootmenu entries */ diff --git a/cmd/conitrace.c b/cmd/conitrace.c index e45e87a64c92..88850db541f0 100644 --- a/cmd/conitrace.c +++ b/cmd/conitrace.c @@ -7,6 +7,7 @@ */ #include #include +#include static int do_conitrace(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[]) diff --git a/cmd/eeprom.c b/cmd/eeprom.c index f61a5510e802..7fa62bba8fc9 100644 --- a/cmd/eeprom.c +++ b/cmd/eeprom.c @@ -25,6 +25,7 @@ #include #include #include +#include #ifndef CONFIG_SYS_I2C_SPEED #define CONFIG_SYS_I2C_SPEED 50000 diff --git a/cmd/i2c.c b/cmd/i2c.c index a51f781a462f..cc01119b2107 100644 --- a/cmd/i2c.c +++ b/cmd/i2c.c @@ -77,6 +77,7 @@ #include #include #include +#include #include /* Display values from last command. diff --git a/cmd/load.c b/cmd/load.c index 85e5540f2c63..63a94145430a 100644 --- a/cmd/load.c +++ b/cmd/load.c @@ -20,6 +20,7 @@ #include #include #include +#include DECLARE_GLOBAL_DATA_PTR; diff --git a/cmd/mem.c b/cmd/mem.c index 423e6c1056d1..4d8825418832 100644 --- a/cmd/mem.c +++ b/cmd/mem.c @@ -24,6 +24,7 @@ #include #include #include +#include DECLARE_GLOBAL_DATA_PTR; diff --git a/cmd/misc.c b/cmd/misc.c index d33219308b77..20ab943494e9 100644 --- a/cmd/misc.c +++ b/cmd/misc.c @@ -10,6 +10,7 @@ #include #include #include +#include static int do_sleep(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[]) diff --git a/cmd/usb_mass_storage.c b/cmd/usb_mass_storage.c index a117ab213a56..d565635c6c40 100644 --- a/cmd/usb_mass_storage.c +++ b/cmd/usb_mass_storage.c @@ -17,6 +17,7 @@ #include #include #include +#include static int ums_read_sector(struct ums *ums_dev, ulong start, lbaint_t blkcnt, void *buf) diff --git a/common/autoboot.c b/common/autoboot.c index 9d7b6b8d536e..6d78716a266a 100644 --- a/common/autoboot.c +++ b/common/autoboot.c @@ -19,6 +19,7 @@ #include #include #include +#include #include #include diff --git a/common/console.c b/common/console.c index e398530a138c..1deca3cb78f8 100644 --- a/common/console.c +++ b/common/console.c @@ -19,6 +19,7 @@ #include #include #include +#include DECLARE_GLOBAL_DATA_PTR; diff --git a/common/miiphyutil.c b/common/miiphyutil.c index 9b86b09832f1..7d4d15ed9189 100644 --- a/common/miiphyutil.c +++ b/common/miiphyutil.c @@ -14,6 +14,7 @@ #include #include #include +#include #include #include diff --git a/common/usb.c b/common/usb.c index 7c604604522b..aad13fd9c557 100644 --- a/common/usb.c +++ b/common/usb.c @@ -38,6 +38,7 @@ #include #include #include +#include #define USB_BUFSIZ 512 diff --git a/common/usb_hub.c b/common/usb_hub.c index 354aee76b4c2..e578f0be2846 100644 --- a/common/usb_hub.c +++ b/common/usb_hub.c @@ -32,6 +32,7 @@ #include #include #include +#include #include #include #ifdef CONFIG_SANDBOX diff --git a/common/usb_storage.c b/common/usb_storage.c index 743a23908460..ff254419951f 100644 --- a/common/usb_storage.c +++ b/common/usb_storage.c @@ -45,6 +45,7 @@ #include #include #include +#include #include #include diff --git a/drivers/adc/adc-uclass.c b/drivers/adc/adc-uclass.c index 0a492eba5437..d43566725810 100644 --- a/drivers/adc/adc-uclass.c +++ b/drivers/adc/adc-uclass.c @@ -12,6 +12,7 @@ #include #include #include +#include #include #define ADC_UCLASS_PLATDATA_SIZE sizeof(struct adc_uclass_platdata) diff --git a/drivers/adc/meson-saradc.c b/drivers/adc/meson-saradc.c index f7c919d3b0a4..1e1515f6e31a 100644 --- a/drivers/adc/meson-saradc.c +++ b/drivers/adc/meson-saradc.c @@ -14,6 +14,7 @@ #include #include #include +#include #include #include diff --git a/drivers/adc/stm32-adc.c b/drivers/adc/stm32-adc.c index ca1ac3e757ee..140ddcee3cff 100644 --- a/drivers/adc/stm32-adc.c +++ b/drivers/adc/stm32-adc.c @@ -10,6 +10,7 @@ #include #include #include +#include #include #include "stm32-adc-core.h" diff --git a/drivers/ata/ahci.c b/drivers/ata/ahci.c index 2bb45606dc7a..dda3586d7c60 100644 --- a/drivers/ata/ahci.c +++ b/drivers/ata/ahci.c @@ -12,6 +12,7 @@ #include #include #include +#include #include #include diff --git a/drivers/ata/ahci_sunxi.c b/drivers/ata/ahci_sunxi.c index 989690a33e0d..58e345d9983c 100644 --- a/drivers/ata/ahci_sunxi.c +++ b/drivers/ata/ahci_sunxi.c @@ -6,6 +6,7 @@ #include #include #include +#include #define AHCI_PHYCS0R 0x00c0 #define AHCI_PHYCS1R 0x00c4 diff --git a/drivers/ata/dwc_ahsata.c b/drivers/ata/dwc_ahsata.c index 7334129c0f13..562e982e32a6 100644 --- a/drivers/ata/dwc_ahsata.c +++ b/drivers/ata/dwc_ahsata.c @@ -24,6 +24,7 @@ #include #include #include +#include #include #include "dwc_ahsata_priv.h" diff --git a/drivers/ata/fsl_sata.c b/drivers/ata/fsl_sata.c index e8f2d36510f2..8c6726a62146 100644 --- a/drivers/ata/fsl_sata.c +++ b/drivers/ata/fsl_sata.c @@ -18,6 +18,7 @@ #include #include #include +#include #include "fsl_sata.h" #if CONFIG_IS_ENABLED(BLK) diff --git a/drivers/ata/mvsata_ide.c b/drivers/ata/mvsata_ide.c index 6bbb345f6eff..41f9a91617d4 100644 --- a/drivers/ata/mvsata_ide.c +++ b/drivers/ata/mvsata_ide.c @@ -7,6 +7,7 @@ #include #include +#include #if defined(CONFIG_ARCH_ORION5X) #include diff --git a/drivers/ata/sata_mv.c b/drivers/ata/sata_mv.c index 4aa97eefe0d4..647d8c72580f 100644 --- a/drivers/ata/sata_mv.c +++ b/drivers/ata/sata_mv.c @@ -44,6 +44,7 @@ #include #include #include +#include #include #include #include diff --git a/drivers/ata/sata_sil.c b/drivers/ata/sata_sil.c index 17db64009cb2..6896fa8771be 100644 --- a/drivers/ata/sata_sil.c +++ b/drivers/ata/sata_sil.c @@ -17,6 +17,7 @@ #include #include #include +#include #if CONFIG_IS_ENABLED(BLK) #include diff --git a/drivers/ata/sata_sil3114.c b/drivers/ata/sata_sil3114.c index 7348566dd0bb..4d3a680f17f0 100644 --- a/drivers/ata/sata_sil3114.c +++ b/drivers/ata/sata_sil3114.c @@ -19,6 +19,7 @@ #include #include #include +#include #include "sata_sil3114.h" /* Convert sectorsize to wordsize */ diff --git a/drivers/axi/ihs_axi.c b/drivers/axi/ihs_axi.c index d4f6a4d6b458..a4aee8b58a4a 100644 --- a/drivers/axi/ihs_axi.c +++ b/drivers/axi/ihs_axi.c @@ -12,6 +12,7 @@ #include #include #include +#include /** * struct ihs_axi_regs - Structure for the register map of a IHS AXI device diff --git a/drivers/bios_emulator/atibios.c b/drivers/bios_emulator/atibios.c index d1dc35d0492a..9c7f14e98f47 100644 --- a/drivers/bios_emulator/atibios.c +++ b/drivers/bios_emulator/atibios.c @@ -51,6 +51,7 @@ #include #include #include +#include #include "biosemui.h" /* Length of the BIOS image */ diff --git a/drivers/block/ide.c b/drivers/block/ide.c index 1b7fd4974caf..a766b5cf0366 100644 --- a/drivers/block/ide.c +++ b/drivers/block/ide.c @@ -13,6 +13,7 @@ #include #include #include +#include #ifdef __PPC__ # define EIEIO __asm__ volatile ("eieio") diff --git a/drivers/clk/aspeed/clk_ast2500.c b/drivers/clk/aspeed/clk_ast2500.c index e5b07c73867f..ccfeded30c56 100644 --- a/drivers/clk/aspeed/clk_ast2500.c +++ b/drivers/clk/aspeed/clk_ast2500.c @@ -11,6 +11,7 @@ #include #include #include +#include #include /* diff --git a/drivers/clk/clk-hsdk-cgu.c b/drivers/clk/clk-hsdk-cgu.c index da50a7910d59..42844d460569 100644 --- a/drivers/clk/clk-hsdk-cgu.c +++ b/drivers/clk/clk-hsdk-cgu.c @@ -15,6 +15,7 @@ #include #include #include +#include #include #include diff --git a/drivers/clk/imx/clk-pll14xx.c b/drivers/clk/imx/clk-pll14xx.c index 1673eb26b2c7..c526fc1cce47 100644 --- a/drivers/clk/imx/clk-pll14xx.c +++ b/drivers/clk/imx/clk-pll14xx.c @@ -12,6 +12,7 @@ #include #include #include +#include #include #include #include diff --git a/drivers/clk/mediatek/clk-mtk.c b/drivers/clk/mediatek/clk-mtk.c index c52537cedf3a..671d4b35c7a3 100644 --- a/drivers/clk/mediatek/clk-mtk.c +++ b/drivers/clk/mediatek/clk-mtk.c @@ -11,6 +11,7 @@ #include #include #include +#include #include "clk-mtk.h" diff --git a/drivers/clk/meson/g12a.c b/drivers/clk/meson/g12a.c index c9918c17d7b1..c540bb0a1679 100644 --- a/drivers/clk/meson/g12a.c +++ b/drivers/clk/meson/g12a.c @@ -15,6 +15,7 @@ #include #include #include +#include #include #include #include "clk_meson.h" diff --git a/drivers/clk/owl/clk_owl.c b/drivers/clk/owl/clk_owl.c index 5607b2b7b516..11b8da155892 100644 --- a/drivers/clk/owl/clk_owl.c +++ b/drivers/clk/owl/clk_owl.c @@ -17,6 +17,7 @@ #include #include #endif +#include void owl_clk_init(struct owl_clk_priv *priv) { diff --git a/drivers/clk/rockchip/clk_pll.c b/drivers/clk/rockchip/clk_pll.c index 6dab5097c1dc..83d45c75ee22 100644 --- a/drivers/clk/rockchip/clk_pll.c +++ b/drivers/clk/rockchip/clk_pll.c @@ -12,6 +12,7 @@ #include #include #include +#include static struct rockchip_pll_rate_table rockchip_auto_table; diff --git a/drivers/clk/rockchip/clk_px30.c b/drivers/clk/rockchip/clk_px30.c index 04d85b4b6d9a..b5b46e395044 100644 --- a/drivers/clk/rockchip/clk_px30.c +++ b/drivers/clk/rockchip/clk_px30.c @@ -17,6 +17,7 @@ #include #include #include +#include DECLARE_GLOBAL_DATA_PTR; diff --git a/drivers/clk/rockchip/clk_rk3036.c b/drivers/clk/rockchip/clk_rk3036.c index 276965245d0b..274572f70c14 100644 --- a/drivers/clk/rockchip/clk_rk3036.c +++ b/drivers/clk/rockchip/clk_rk3036.c @@ -16,6 +16,7 @@ #include #include #include +#include #include #include diff --git a/drivers/clk/rockchip/clk_rk3128.c b/drivers/clk/rockchip/clk_rk3128.c index 6d1974844bc4..61f823e254eb 100644 --- a/drivers/clk/rockchip/clk_rk3128.c +++ b/drivers/clk/rockchip/clk_rk3128.c @@ -17,6 +17,7 @@ #include #include #include +#include #include enum { diff --git a/drivers/clk/rockchip/clk_rk3188.c b/drivers/clk/rockchip/clk_rk3188.c index d4df8175f2e6..11e3bd33cbea 100644 --- a/drivers/clk/rockchip/clk_rk3188.c +++ b/drivers/clk/rockchip/clk_rk3188.c @@ -22,6 +22,7 @@ #include #include #include +#include #include #include #include diff --git a/drivers/clk/rockchip/clk_rk322x.c b/drivers/clk/rockchip/clk_rk322x.c index 68c1fbdc421e..912e1f6e92e7 100644 --- a/drivers/clk/rockchip/clk_rk322x.c +++ b/drivers/clk/rockchip/clk_rk322x.c @@ -16,6 +16,7 @@ #include #include #include +#include #include #include diff --git a/drivers/clk/rockchip/clk_rk3288.c b/drivers/clk/rockchip/clk_rk3288.c index b4514bc850fb..3b199bbb8696 100644 --- a/drivers/clk/rockchip/clk_rk3288.c +++ b/drivers/clk/rockchip/clk_rk3288.c @@ -23,6 +23,7 @@ #include #include #include +#include #include #include #include diff --git a/drivers/clk/rockchip/clk_rk3328.c b/drivers/clk/rockchip/clk_rk3328.c index 28613a971d4e..6d692ec8b707 100644 --- a/drivers/clk/rockchip/clk_rk3328.c +++ b/drivers/clk/rockchip/clk_rk3328.c @@ -18,6 +18,7 @@ #include #include #include +#include struct pll_div { u32 refdiv; diff --git a/drivers/clk/rockchip/clk_rk3368.c b/drivers/clk/rockchip/clk_rk3368.c index 34466b8e2605..d1804c6e1682 100644 --- a/drivers/clk/rockchip/clk_rk3368.c +++ b/drivers/clk/rockchip/clk_rk3368.c @@ -21,6 +21,7 @@ #include #include #include +#include #include #if CONFIG_IS_ENABLED(OF_PLATDATA) diff --git a/drivers/clk/rockchip/clk_rk3399.c b/drivers/clk/rockchip/clk_rk3399.c index dd2834f9d6b4..2c58814b70db 100644 --- a/drivers/clk/rockchip/clk_rk3399.c +++ b/drivers/clk/rockchip/clk_rk3399.c @@ -20,6 +20,7 @@ #include #include #include +#include #if CONFIG_IS_ENABLED(OF_PLATDATA) struct rk3399_clk_plat { diff --git a/drivers/clk/rockchip/clk_rv1108.c b/drivers/clk/rockchip/clk_rv1108.c index c1d2724f20a6..aa1d98ca2a29 100644 --- a/drivers/clk/rockchip/clk_rv1108.c +++ b/drivers/clk/rockchip/clk_rv1108.c @@ -18,6 +18,7 @@ #include #include #include +#include #include DECLARE_GLOBAL_DATA_PTR; diff --git a/drivers/clk/sifive/fu540-prci.c b/drivers/clk/sifive/fu540-prci.c index 8847178001bd..67e21b6746d6 100644 --- a/drivers/clk/sifive/fu540-prci.c +++ b/drivers/clk/sifive/fu540-prci.c @@ -35,6 +35,7 @@ #include #include #include +#include #include #include diff --git a/drivers/ddr/altera/sdram_arria10.c b/drivers/ddr/altera/sdram_arria10.c index 7e8c0154e543..19d5724a6060 100644 --- a/drivers/ddr/altera/sdram_arria10.c +++ b/drivers/ddr/altera/sdram_arria10.c @@ -18,6 +18,7 @@ #include #include #include +#include #include DECLARE_GLOBAL_DATA_PTR; diff --git a/drivers/ddr/fsl/arm_ddr_gen3.c b/drivers/ddr/fsl/arm_ddr_gen3.c index abe8c11d1411..629ba6784e0d 100644 --- a/drivers/ddr/fsl/arm_ddr_gen3.c +++ b/drivers/ddr/fsl/arm_ddr_gen3.c @@ -13,6 +13,7 @@ #include #include #include +#include #if (CONFIG_CHIP_SELECTS_PER_CTRL > 4) #error Invalid setting for CONFIG_CHIP_SELECTS_PER_CTRL diff --git a/drivers/ddr/fsl/fsl_ddr_gen4.c b/drivers/ddr/fsl/fsl_ddr_gen4.c index 2b8475fcd16a..eab5b82b2394 100644 --- a/drivers/ddr/fsl/fsl_ddr_gen4.c +++ b/drivers/ddr/fsl/fsl_ddr_gen4.c @@ -16,6 +16,7 @@ defined(CONFIG_ARM) #include #endif +#include #define CTLR_INTLV_MASK 0x20000000 diff --git a/drivers/ddr/fsl/fsl_mmdc.c b/drivers/ddr/fsl/fsl_mmdc.c index 08285120ca52..cbd625b7eeac 100644 --- a/drivers/ddr/fsl/fsl_mmdc.c +++ b/drivers/ddr/fsl/fsl_mmdc.c @@ -10,6 +10,7 @@ #include #include #include +#include static void set_wait_for_bits_clear(void *ptr, u32 value, u32 bits) { diff --git a/drivers/ddr/fsl/mpc85xx_ddr_gen1.c b/drivers/ddr/fsl/mpc85xx_ddr_gen1.c index 4b39b17f72dc..572f3703d51a 100644 --- a/drivers/ddr/fsl/mpc85xx_ddr_gen1.c +++ b/drivers/ddr/fsl/mpc85xx_ddr_gen1.c @@ -7,6 +7,7 @@ #include #include #include +#include #if (CONFIG_CHIP_SELECTS_PER_CTRL > 4) #error Invalid setting for CONFIG_CHIP_SELECTS_PER_CTRL diff --git a/drivers/ddr/fsl/mpc85xx_ddr_gen2.c b/drivers/ddr/fsl/mpc85xx_ddr_gen2.c index 54c10a860aae..d7b8064e5f10 100644 --- a/drivers/ddr/fsl/mpc85xx_ddr_gen2.c +++ b/drivers/ddr/fsl/mpc85xx_ddr_gen2.c @@ -7,6 +7,7 @@ #include #include #include +#include #if (CONFIG_CHIP_SELECTS_PER_CTRL > 4) #error Invalid setting for CONFIG_CHIP_SELECTS_PER_CTRL diff --git a/drivers/ddr/fsl/mpc85xx_ddr_gen3.c b/drivers/ddr/fsl/mpc85xx_ddr_gen3.c index c6e983b5b4fe..ab8d2deaf9f4 100644 --- a/drivers/ddr/fsl/mpc85xx_ddr_gen3.c +++ b/drivers/ddr/fsl/mpc85xx_ddr_gen3.c @@ -8,6 +8,7 @@ #include #include #include +#include #if (CONFIG_CHIP_SELECTS_PER_CTRL > 4) #error Invalid setting for CONFIG_CHIP_SELECTS_PER_CTRL diff --git a/drivers/ddr/fsl/mpc86xx_ddr.c b/drivers/ddr/fsl/mpc86xx_ddr.c index 737a879e9383..43ed1ba432de 100644 --- a/drivers/ddr/fsl/mpc86xx_ddr.c +++ b/drivers/ddr/fsl/mpc86xx_ddr.c @@ -7,6 +7,7 @@ #include #include #include +#include #if (CONFIG_CHIP_SELECTS_PER_CTRL > 4) #error Invalid setting for CONFIG_CHIP_SELECTS_PER_CTRL diff --git a/drivers/ddr/fsl/util.c b/drivers/ddr/fsl/util.c index 7d6e08d3d164..ac4f8d2732d7 100644 --- a/drivers/ddr/fsl/util.c +++ b/drivers/ddr/fsl/util.c @@ -8,6 +8,7 @@ #include #endif #include +#include #include #include diff --git a/drivers/ddr/marvell/a38x/ddr3_training.c b/drivers/ddr/marvell/a38x/ddr3_training.c index 8d7ac79b28de..34cc17091036 100644 --- a/drivers/ddr/marvell/a38x/ddr3_training.c +++ b/drivers/ddr/marvell/a38x/ddr3_training.c @@ -8,6 +8,7 @@ #include "mv_ddr_training_db.h" #include "mv_ddr_regs.h" #include +#include #define GET_CS_FROM_MASK(mask) (cs_mask2_num[mask]) #define CS_CBE_VALUE(cs_num) (cs_cbe_reg[cs_num]) diff --git a/drivers/ddr/marvell/a38x/ddr3_training_ip_engine.c b/drivers/ddr/marvell/a38x/ddr3_training_ip_engine.c index 1eababeebd10..979f3530b791 100644 --- a/drivers/ddr/marvell/a38x/ddr3_training_ip_engine.c +++ b/drivers/ddr/marvell/a38x/ddr3_training_ip_engine.c @@ -7,6 +7,7 @@ #include "mv_ddr_regs.h" #include "ddr_training_ip_db.h" #include +#include #define PATTERN_1 0x55555555 #define PATTERN_2 0xaaaaaaaa diff --git a/drivers/ddr/marvell/a38x/ddr3_training_leveling.c b/drivers/ddr/marvell/a38x/ddr3_training_leveling.c index 7f7df6794a95..dadb06b31814 100644 --- a/drivers/ddr/marvell/a38x/ddr3_training_leveling.c +++ b/drivers/ddr/marvell/a38x/ddr3_training_leveling.c @@ -7,6 +7,7 @@ #include "mv_ddr_training_db.h" #include "ddr_training_ip_db.h" #include "mv_ddr_regs.h" +#include #define WL_ITERATION_NUM 10 diff --git a/drivers/ddr/marvell/a38x/mv_ddr_plat.c b/drivers/ddr/marvell/a38x/mv_ddr_plat.c index cc7942d0ba33..72f0dfbbbb1d 100644 --- a/drivers/ddr/marvell/a38x/mv_ddr_plat.c +++ b/drivers/ddr/marvell/a38x/mv_ddr_plat.c @@ -7,6 +7,7 @@ #include "mv_ddr_training_db.h" #include "mv_ddr_regs.h" #include "mv_ddr_sys_env_lib.h" +#include #define DDR_INTERFACES_NUM 1 #define DDR_INTERFACE_OCTETS_NUM 5 diff --git a/drivers/ddr/marvell/axp/ddr3_dfs.c b/drivers/ddr/marvell/axp/ddr3_dfs.c index ba899592f88a..b58c0fe01e5a 100644 --- a/drivers/ddr/marvell/axp/ddr3_dfs.c +++ b/drivers/ddr/marvell/axp/ddr3_dfs.c @@ -9,6 +9,7 @@ #include #include #include +#include #include "ddr3_hw_training.h" diff --git a/drivers/ddr/marvell/axp/ddr3_hw_training.c b/drivers/ddr/marvell/axp/ddr3_hw_training.c index 9dc911c3355e..35d98faf58f3 100644 --- a/drivers/ddr/marvell/axp/ddr3_hw_training.c +++ b/drivers/ddr/marvell/axp/ddr3_hw_training.c @@ -10,6 +10,7 @@ #include #include #include +#include #include "ddr3_init.h" #include "ddr3_hw_training.h" diff --git a/drivers/ddr/marvell/axp/ddr3_init.c b/drivers/ddr/marvell/axp/ddr3_init.c index 8e6d44708f5b..607f3e12c3ae 100644 --- a/drivers/ddr/marvell/axp/ddr3_init.c +++ b/drivers/ddr/marvell/axp/ddr3_init.c @@ -10,6 +10,7 @@ #include #include #include +#include #include "ddr3_init.h" diff --git a/drivers/ddr/marvell/axp/ddr3_pbs.c b/drivers/ddr/marvell/axp/ddr3_pbs.c index e44f08d26acb..069a42fbf5ed 100644 --- a/drivers/ddr/marvell/axp/ddr3_pbs.c +++ b/drivers/ddr/marvell/axp/ddr3_pbs.c @@ -9,6 +9,7 @@ #include #include #include +#include #include "ddr3_hw_training.h" diff --git a/drivers/ddr/marvell/axp/ddr3_write_leveling.c b/drivers/ddr/marvell/axp/ddr3_write_leveling.c index 20614894e1c1..d4add4477745 100644 --- a/drivers/ddr/marvell/axp/ddr3_write_leveling.c +++ b/drivers/ddr/marvell/axp/ddr3_write_leveling.c @@ -10,6 +10,7 @@ #include #include #include +#include #include "ddr3_hw_training.h" diff --git a/drivers/dma/bcm6348-iudma.c b/drivers/dma/bcm6348-iudma.c index cce0c611a8dc..9e0e82520e75 100644 --- a/drivers/dma/bcm6348-iudma.c +++ b/drivers/dma/bcm6348-iudma.c @@ -26,6 +26,7 @@ #include #include #include +#include #define DMA_RX_DESC 6 #define DMA_TX_DESC 1 diff --git a/drivers/dma/keystone_nav.c b/drivers/dma/keystone_nav.c index 3a1512120042..443e4b23669a 100644 --- a/drivers/dma/keystone_nav.c +++ b/drivers/dma/keystone_nav.c @@ -8,6 +8,7 @@ #include #include #include +#include struct qm_config qm_memmap = { .stat_cfg = CONFIG_KSNAV_QM_QUEUE_STATUS_BASE, diff --git a/drivers/dma/lpc32xx_dma.c b/drivers/dma/lpc32xx_dma.c index 1637e329df83..de963347f11b 100644 --- a/drivers/dma/lpc32xx_dma.c +++ b/drivers/dma/lpc32xx_dma.c @@ -15,6 +15,7 @@ #include #include #include +#include /* DMA controller channel register structure */ struct dmac_chan_reg { diff --git a/drivers/firmware/psci.c b/drivers/firmware/psci.c index 1dc179ad4d15..e0d66d74f54d 100644 --- a/drivers/firmware/psci.c +++ b/drivers/firmware/psci.c @@ -13,6 +13,7 @@ #include #include #include +#include #include #include #include diff --git a/drivers/fpga/ACEX1K.c b/drivers/fpga/ACEX1K.c index 5afd42a97b6c..aca8049c56ac 100644 --- a/drivers/fpga/ACEX1K.c +++ b/drivers/fpga/ACEX1K.c @@ -10,6 +10,7 @@ #include /* core U-Boot definitions */ #include #include /* ACEX device family */ +#include /* Define FPGA_DEBUG to get debug printf's */ #ifdef FPGA_DEBUG diff --git a/drivers/fpga/cyclon2.c b/drivers/fpga/cyclon2.c index c929cd2cc518..3b008facb8c4 100644 --- a/drivers/fpga/cyclon2.c +++ b/drivers/fpga/cyclon2.c @@ -8,6 +8,7 @@ #include /* core U-Boot definitions */ #include #include /* ACEX device family */ +#include /* Define FPGA_DEBUG to get debug printf's */ #ifdef FPGA_DEBUG diff --git a/drivers/fpga/lattice.c b/drivers/fpga/lattice.c index 2cf4a602d741..e292d991cd18 100644 --- a/drivers/fpga/lattice.c +++ b/drivers/fpga/lattice.c @@ -15,6 +15,7 @@ #include #include #include +#include static lattice_board_specific_func *pfns; static const char *fpga_image; diff --git a/drivers/fpga/socfpga_arria10.c b/drivers/fpga/socfpga_arria10.c index 272f6d5e5fe5..e14204633e7a 100644 --- a/drivers/fpga/socfpga_arria10.c +++ b/drivers/fpga/socfpga_arria10.c @@ -18,6 +18,7 @@ #include #include #include +#include #define CFGWDTH_32 1 #define MIN_BITSTREAM_SIZECHECK 230 diff --git a/drivers/fpga/stratix10.c b/drivers/fpga/stratix10.c index 802051069e04..da8fa315e366 100644 --- a/drivers/fpga/stratix10.c +++ b/drivers/fpga/stratix10.c @@ -7,6 +7,7 @@ #include #include #include +#include #define RECONFIG_STATUS_POLL_RESP_TIMEOUT_MS 60000 #define RECONFIG_STATUS_INTERVAL_DELAY_US 1000000 diff --git a/drivers/fpga/stratixII.c b/drivers/fpga/stratixII.c index 4edbfe4ba879..b450a81072ed 100644 --- a/drivers/fpga/stratixII.c +++ b/drivers/fpga/stratixII.c @@ -6,6 +6,7 @@ #include /* core U-Boot definitions */ #include +#include int StratixII_ps_fpp_load (Altera_desc * desc, void *buf, size_t bsize, int isSerial, int isSecure); diff --git a/drivers/fpga/stratixv.c b/drivers/fpga/stratixv.c index 650b1b136eb2..abae3b5b7511 100644 --- a/drivers/fpga/stratixv.c +++ b/drivers/fpga/stratixv.c @@ -8,6 +8,7 @@ #include #include #include +#include #include /* Write the RBF data to FPGA via SPI */ diff --git a/drivers/fpga/virtex2.c b/drivers/fpga/virtex2.c index 395736875f60..b3e0537bab07 100644 --- a/drivers/fpga/virtex2.c +++ b/drivers/fpga/virtex2.c @@ -15,6 +15,7 @@ #include #include #include +#include #if 0 #define FPGA_DEBUG diff --git a/drivers/fpga/zynqpl.c b/drivers/fpga/zynqpl.c index e9bf3a618032..dcfe513eeb3b 100644 --- a/drivers/fpga/zynqpl.c +++ b/drivers/fpga/zynqpl.c @@ -14,6 +14,7 @@ #include #include #include +#include #include #include #include diff --git a/drivers/i2c/ast_i2c.c b/drivers/i2c/ast_i2c.c index 9e6dc02b61d2..214362d04bb3 100644 --- a/drivers/i2c/ast_i2c.c +++ b/drivers/i2c/ast_i2c.c @@ -14,6 +14,7 @@ #include #include #include +#include #include #include "ast_i2c.h" diff --git a/drivers/i2c/davinci_i2c.c b/drivers/i2c/davinci_i2c.c index f41ea01b10ff..f8e9d003e61c 100644 --- a/drivers/i2c/davinci_i2c.c +++ b/drivers/i2c/davinci_i2c.c @@ -18,6 +18,7 @@ #include #include #include +#include #include "davinci_i2c.h" #ifdef CONFIG_DM_I2C diff --git a/drivers/i2c/designware_i2c.c b/drivers/i2c/designware_i2c.c index 4c4b5e17ca94..42ee7d523e37 100644 --- a/drivers/i2c/designware_i2c.c +++ b/drivers/i2c/designware_i2c.c @@ -13,6 +13,7 @@ #include #include #include +#include #include "designware_i2c.h" #include #include diff --git a/drivers/i2c/exynos_hs_i2c.c b/drivers/i2c/exynos_hs_i2c.c index 59fc9a3c0915..4fc9d90580c5 100644 --- a/drivers/i2c/exynos_hs_i2c.c +++ b/drivers/i2c/exynos_hs_i2c.c @@ -13,6 +13,7 @@ #include #include #include +#include #include "s3c24x0_i2c.h" DECLARE_GLOBAL_DATA_PTR; diff --git a/drivers/i2c/fsl_i2c.c b/drivers/i2c/fsl_i2c.c index 7e3c75b610e0..da933452f515 100644 --- a/drivers/i2c/fsl_i2c.c +++ b/drivers/i2c/fsl_i2c.c @@ -16,6 +16,7 @@ #include #include #include +#include /* The maximum number of microseconds we will wait until another master has * released the bus. If not defined in the board header file, then use a diff --git a/drivers/i2c/i2c-cdns.c b/drivers/i2c/i2c-cdns.c index 642df972e5f7..402a664876d5 100644 --- a/drivers/i2c/i2c-cdns.c +++ b/drivers/i2c/i2c-cdns.c @@ -10,6 +10,7 @@ #include #include #include +#include #include #include #include diff --git a/drivers/i2c/i2c-gpio.c b/drivers/i2c/i2c-gpio.c index 900017ad04ea..cfdeadc752cd 100644 --- a/drivers/i2c/i2c-gpio.c +++ b/drivers/i2c/i2c-gpio.c @@ -11,6 +11,7 @@ #include #include #include +#include #define DEFAULT_UDELAY 5 #define RETRIES 0 diff --git a/drivers/i2c/i2c-uclass.c b/drivers/i2c/i2c-uclass.c index 32aed921b70a..8166df7ba63b 100644 --- a/drivers/i2c/i2c-uclass.c +++ b/drivers/i2c/i2c-uclass.c @@ -15,6 +15,7 @@ #if CONFIG_IS_ENABLED(DM_GPIO) #include #endif +#include #define I2C_MAX_OFFSET_LEN 4 diff --git a/drivers/i2c/i2c-versatile.c b/drivers/i2c/i2c-versatile.c index f523844204a7..46eb017ea0de 100644 --- a/drivers/i2c/i2c-versatile.c +++ b/drivers/i2c/i2c-versatile.c @@ -11,6 +11,7 @@ #include #include #include +#include #include #define I2C_CONTROL_REG 0x00 diff --git a/drivers/i2c/ihs_i2c.c b/drivers/i2c/ihs_i2c.c index 674561b4ad7e..296e01b41cbe 100644 --- a/drivers/i2c/ihs_i2c.c +++ b/drivers/i2c/ihs_i2c.c @@ -14,6 +14,7 @@ #endif #include #include +#include #ifdef CONFIG_DM_I2C struct ihs_i2c_priv { diff --git a/drivers/i2c/kona_i2c.c b/drivers/i2c/kona_i2c.c index 61c404595906..4edcba29110e 100644 --- a/drivers/i2c/kona_i2c.c +++ b/drivers/i2c/kona_i2c.c @@ -9,6 +9,7 @@ #include #include #include +#include #include #include #include diff --git a/drivers/i2c/meson_i2c.c b/drivers/i2c/meson_i2c.c index 2eb1eba642e5..0a647b8f73c6 100644 --- a/drivers/i2c/meson_i2c.c +++ b/drivers/i2c/meson_i2c.c @@ -8,6 +8,7 @@ #include #include #include +#include #include #define I2C_TIMEOUT_MS 100 diff --git a/drivers/i2c/muxes/i2c-arb-gpio-challenge.c b/drivers/i2c/muxes/i2c-arb-gpio-challenge.c index 07600c5022d9..584d0a4fef19 100644 --- a/drivers/i2c/muxes/i2c-arb-gpio-challenge.c +++ b/drivers/i2c/muxes/i2c-arb-gpio-challenge.c @@ -11,6 +11,7 @@ #include #include #include +#include DECLARE_GLOBAL_DATA_PTR; diff --git a/drivers/i2c/mv_i2c.c b/drivers/i2c/mv_i2c.c index 88b62959d346..59675d8d5742 100644 --- a/drivers/i2c/mv_i2c.c +++ b/drivers/i2c/mv_i2c.c @@ -21,6 +21,7 @@ #include #include #include +#include #include "mv_i2c.h" /* All transfers are described by this data structure */ diff --git a/drivers/i2c/mvtwsi.c b/drivers/i2c/mvtwsi.c index bd94ad256c59..d3cc9b9d8384 100644 --- a/drivers/i2c/mvtwsi.c +++ b/drivers/i2c/mvtwsi.c @@ -10,6 +10,7 @@ #include #include #include +#include #include #include #include diff --git a/drivers/i2c/mxc_i2c.c b/drivers/i2c/mxc_i2c.c index 66a90e425862..3b0d27e6cdb4 100644 --- a/drivers/i2c/mxc_i2c.c +++ b/drivers/i2c/mxc_i2c.c @@ -18,6 +18,7 @@ #include #include #include +#include #include #include #include diff --git a/drivers/i2c/omap24xx_i2c.c b/drivers/i2c/omap24xx_i2c.c index d5be824de896..8592a819c40a 100644 --- a/drivers/i2c/omap24xx_i2c.c +++ b/drivers/i2c/omap24xx_i2c.c @@ -42,6 +42,7 @@ #include #include #include +#include #include #include diff --git a/drivers/i2c/rcar_i2c.c b/drivers/i2c/rcar_i2c.c index b877602aab6f..5a902047bc92 100644 --- a/drivers/i2c/rcar_i2c.c +++ b/drivers/i2c/rcar_i2c.c @@ -18,6 +18,7 @@ #include #include #include +#include #define RCAR_I2C_ICSCR 0x00 /* slave ctrl */ #define RCAR_I2C_ICMCR 0x04 /* master ctrl */ diff --git a/drivers/i2c/rcar_iic.c b/drivers/i2c/rcar_iic.c index 2a82eb0b764a..6b21f6a5326c 100644 --- a/drivers/i2c/rcar_iic.c +++ b/drivers/i2c/rcar_iic.c @@ -14,6 +14,7 @@ #include #include #include +#include struct rcar_iic_priv { void __iomem *base; diff --git a/drivers/i2c/rk_i2c.c b/drivers/i2c/rk_i2c.c index 703d9a1c7a0a..fa6f69f400c0 100644 --- a/drivers/i2c/rk_i2c.c +++ b/drivers/i2c/rk_i2c.c @@ -17,6 +17,7 @@ #include #include #include +#include #include /* i2c timerout */ diff --git a/drivers/i2c/sh_i2c.c b/drivers/i2c/sh_i2c.c index 5cc5095666dc..f857307e6a4f 100644 --- a/drivers/i2c/sh_i2c.c +++ b/drivers/i2c/sh_i2c.c @@ -11,6 +11,7 @@ #include #include #include +#include DECLARE_GLOBAL_DATA_PTR; diff --git a/drivers/i2c/soft_i2c.c b/drivers/i2c/soft_i2c.c index 9ad1c281ff2a..1031066b8c41 100644 --- a/drivers/i2c/soft_i2c.c +++ b/drivers/i2c/soft_i2c.c @@ -25,6 +25,7 @@ #endif #endif #include +#include #if defined(CONFIG_SOFT_I2C_GPIO_SCL) # include diff --git a/drivers/i2c/stm32f7_i2c.c b/drivers/i2c/stm32f7_i2c.c index 4adac498d056..18affd08e36c 100644 --- a/drivers/i2c/stm32f7_i2c.c +++ b/drivers/i2c/stm32f7_i2c.c @@ -9,6 +9,7 @@ #include #include #include +#include #include #include diff --git a/drivers/i2c/tegra_i2c.c b/drivers/i2c/tegra_i2c.c index 09c0be9dcd45..65b3734348b0 100644 --- a/drivers/i2c/tegra_i2c.c +++ b/drivers/i2c/tegra_i2c.c @@ -19,6 +19,7 @@ #endif #include #include +#include #include enum i2c_type { diff --git a/drivers/input/i8042.c b/drivers/input/i8042.c index cfd8dc641507..7beaccca2c8c 100644 --- a/drivers/input/i8042.c +++ b/drivers/input/i8042.c @@ -15,6 +15,7 @@ #include #include #include +#include DECLARE_GLOBAL_DATA_PTR; diff --git a/drivers/input/tegra-kbc.c b/drivers/input/tegra-kbc.c index 40ebb2497b1c..3409bb61d54c 100644 --- a/drivers/input/tegra-kbc.c +++ b/drivers/input/tegra-kbc.c @@ -17,6 +17,7 @@ #include #include #include +#include #include enum { diff --git a/drivers/led/led_bcm6358.c b/drivers/led/led_bcm6358.c index 56c3d146a546..307d418a1789 100644 --- a/drivers/led/led_bcm6358.c +++ b/drivers/led/led_bcm6358.c @@ -10,6 +10,7 @@ #include #include #include +#include #define LEDS_MAX 32 #define LEDS_WAIT 100 diff --git a/drivers/misc/atsha204a-i2c.c b/drivers/misc/atsha204a-i2c.c index 8e0b41e3460c..422ea6f3e5ab 100644 --- a/drivers/misc/atsha204a-i2c.c +++ b/drivers/misc/atsha204a-i2c.c @@ -16,6 +16,7 @@ #include #include #include +#include #include #define ATSHA204A_TWLO 60 diff --git a/drivers/misc/cros_ec.c b/drivers/misc/cros_ec.c index 818ad56a0dc2..a5534b16673b 100644 --- a/drivers/misc/cros_ec.c +++ b/drivers/misc/cros_ec.c @@ -25,6 +25,7 @@ #include #include #include +#include #include #include #include diff --git a/drivers/misc/ds4510.c b/drivers/misc/ds4510.c index 0b37e8a4e417..a2a529156546 100644 --- a/drivers/misc/ds4510.c +++ b/drivers/misc/ds4510.c @@ -11,6 +11,7 @@ #include #include #include +#include #include "ds4510.h" enum { diff --git a/drivers/misc/fsl_iim.c b/drivers/misc/fsl_iim.c index f8075db8d5ec..85cc3c26b2ef 100644 --- a/drivers/misc/fsl_iim.c +++ b/drivers/misc/fsl_iim.c @@ -10,6 +10,7 @@ #include #include +#include #include #include #include diff --git a/drivers/misc/fsl_sec_mon.c b/drivers/misc/fsl_sec_mon.c index e9f351dc3aa4..321bd27fd325 100644 --- a/drivers/misc/fsl_sec_mon.c +++ b/drivers/misc/fsl_sec_mon.c @@ -5,6 +5,7 @@ #include #include +#include static u32 get_sec_mon_state(void) { diff --git a/drivers/misc/i2c_eeprom.c b/drivers/misc/i2c_eeprom.c index ef5f103c98ef..ed23a6238460 100644 --- a/drivers/misc/i2c_eeprom.c +++ b/drivers/misc/i2c_eeprom.c @@ -5,6 +5,7 @@ #include #include +#include #include #include #include diff --git a/drivers/misc/ihs_fpga.c b/drivers/misc/ihs_fpga.c index 71c4226a839b..4923c81783dd 100644 --- a/drivers/misc/ihs_fpga.c +++ b/drivers/misc/ihs_fpga.c @@ -14,6 +14,7 @@ #include #include #include +#include #include "ihs_fpga.h" diff --git a/drivers/misc/mpc83xx_serdes.c b/drivers/misc/mpc83xx_serdes.c index 2d40621c15fa..ab1e34e6f46c 100644 --- a/drivers/misc/mpc83xx_serdes.c +++ b/drivers/misc/mpc83xx_serdes.c @@ -14,6 +14,7 @@ #include #include #include +#include #include "mpc83xx_serdes.h" diff --git a/drivers/misc/mxc_ocotp.c b/drivers/misc/mxc_ocotp.c index 80cd8dcedac5..926c62c8a14c 100644 --- a/drivers/misc/mxc_ocotp.c +++ b/drivers/misc/mxc_ocotp.c @@ -13,6 +13,7 @@ #include #include +#include #include #include #include diff --git a/drivers/misc/mxs_ocotp.c b/drivers/misc/mxs_ocotp.c index 21cae02118f4..facc720c8ef2 100644 --- a/drivers/misc/mxs_ocotp.c +++ b/drivers/misc/mxs_ocotp.c @@ -13,6 +13,7 @@ #include #include +#include #include #include #include diff --git a/drivers/mmc/arm_pl180_mmci.c b/drivers/mmc/arm_pl180_mmci.c index 8c95229bf77a..846622892a97 100644 --- a/drivers/mmc/arm_pl180_mmci.c +++ b/drivers/mmc/arm_pl180_mmci.c @@ -23,6 +23,7 @@ #include #include "arm_pl180_mmci.h" +#include #ifdef CONFIG_DM_MMC #include diff --git a/drivers/mmc/bcm2835_sdhost.c b/drivers/mmc/bcm2835_sdhost.c index d44799b4af37..52bb39a905e4 100644 --- a/drivers/mmc/bcm2835_sdhost.c +++ b/drivers/mmc/bcm2835_sdhost.c @@ -39,6 +39,7 @@ #include #include #include +#include #include #include #include diff --git a/drivers/mmc/davinci_mmc.c b/drivers/mmc/davinci_mmc.c index ef5cd4e7234f..2408a687d235 100644 --- a/drivers/mmc/davinci_mmc.c +++ b/drivers/mmc/davinci_mmc.c @@ -16,6 +16,7 @@ #include #include #include +#include #define DAVINCI_MAX_BLOCKS (32) #define WATCHDOG_COUNT (100000) diff --git a/drivers/mmc/dw_mmc.c b/drivers/mmc/dw_mmc.c index ba93c2625586..7702f4be3f89 100644 --- a/drivers/mmc/dw_mmc.c +++ b/drivers/mmc/dw_mmc.c @@ -16,6 +16,7 @@ #include #include #include +#include #include #define PAGE_SIZE 4096 diff --git a/drivers/mmc/fsl_esdhc.c b/drivers/mmc/fsl_esdhc.c index a35e791fcc94..665eb9aa6881 100644 --- a/drivers/mmc/fsl_esdhc.c +++ b/drivers/mmc/fsl_esdhc.c @@ -24,6 +24,7 @@ #include #include #include +#include DECLARE_GLOBAL_DATA_PTR; diff --git a/drivers/mmc/fsl_esdhc_imx.c b/drivers/mmc/fsl_esdhc_imx.c index 27c86320f0b9..1d040f608690 100644 --- a/drivers/mmc/fsl_esdhc_imx.c +++ b/drivers/mmc/fsl_esdhc_imx.c @@ -22,6 +22,7 @@ #include #include #include +#include #include #include #include diff --git a/drivers/mmc/gen_atmel_mci.c b/drivers/mmc/gen_atmel_mci.c index 6ec454c3bbf4..9d20e283839c 100644 --- a/drivers/mmc/gen_atmel_mci.c +++ b/drivers/mmc/gen_atmel_mci.c @@ -16,6 +16,7 @@ #include #include #include +#include #include #include #include diff --git a/drivers/mmc/iproc_sdhci.c b/drivers/mmc/iproc_sdhci.c index c2319b413453..91e2e3f0b872 100644 --- a/drivers/mmc/iproc_sdhci.c +++ b/drivers/mmc/iproc_sdhci.c @@ -9,6 +9,7 @@ #include #include #include +#include DECLARE_GLOBAL_DATA_PTR; diff --git a/drivers/mmc/jz_mmc.c b/drivers/mmc/jz_mmc.c index 8d4f886cb49a..83ae1e516996 100644 --- a/drivers/mmc/jz_mmc.c +++ b/drivers/mmc/jz_mmc.c @@ -13,6 +13,7 @@ #include #include #include +#include #include #include diff --git a/drivers/mmc/kona_sdhci.c b/drivers/mmc/kona_sdhci.c index f5e1f2cbbd32..2bbe673b9129 100644 --- a/drivers/mmc/kona_sdhci.c +++ b/drivers/mmc/kona_sdhci.c @@ -6,6 +6,7 @@ #include #include #include +#include #include #include diff --git a/drivers/mmc/meson_gx_mmc.c b/drivers/mmc/meson_gx_mmc.c index 86c1a7164a93..b7f793cd0479 100644 --- a/drivers/mmc/meson_gx_mmc.c +++ b/drivers/mmc/meson_gx_mmc.c @@ -14,6 +14,7 @@ #include #include #include +#include #include static inline void *get_regbase(const struct mmc *mmc) diff --git a/drivers/mmc/mmc.c b/drivers/mmc/mmc.c index df550e25edc1..02494db75a7d 100644 --- a/drivers/mmc/mmc.c +++ b/drivers/mmc/mmc.c @@ -16,6 +16,7 @@ #include #include #include +#include #include #include #include diff --git a/drivers/mmc/mxsmmc.c b/drivers/mmc/mxsmmc.c index 17f1ebf5d2bd..ad2c0e000230 100644 --- a/drivers/mmc/mxsmmc.c +++ b/drivers/mmc/mxsmmc.c @@ -24,6 +24,7 @@ #include #include #include +#include #include #include #include diff --git a/drivers/mmc/omap_hsmmc.c b/drivers/mmc/omap_hsmmc.c index 492bf58c398d..0c21ec716e40 100644 --- a/drivers/mmc/omap_hsmmc.c +++ b/drivers/mmc/omap_hsmmc.c @@ -50,6 +50,7 @@ #endif #include #include +#include #include #include #include diff --git a/drivers/mmc/pxa_mmc_gen.c b/drivers/mmc/pxa_mmc_gen.c index a4dcdb5cffca..cc6014703cc2 100644 --- a/drivers/mmc/pxa_mmc_gen.c +++ b/drivers/mmc/pxa_mmc_gen.c @@ -8,6 +8,7 @@ #include #include #include +#include #include #include #include diff --git a/drivers/mmc/renesas-sdhi.c b/drivers/mmc/renesas-sdhi.c index 33bb5dcc0aa1..668222999d56 100644 --- a/drivers/mmc/renesas-sdhi.c +++ b/drivers/mmc/renesas-sdhi.c @@ -13,6 +13,7 @@ #include #include #include +#include #include #include #include diff --git a/drivers/mmc/rockchip_dw_mmc.c b/drivers/mmc/rockchip_dw_mmc.c index d1b293aa0396..638107a7ff66 100644 --- a/drivers/mmc/rockchip_dw_mmc.c +++ b/drivers/mmc/rockchip_dw_mmc.c @@ -16,6 +16,7 @@ #include #include #include +#include #include struct rockchip_mmc_plat { diff --git a/drivers/mmc/sdhci.c b/drivers/mmc/sdhci.c index ee942bb939f8..73142db29a1b 100644 --- a/drivers/mmc/sdhci.c +++ b/drivers/mmc/sdhci.c @@ -17,6 +17,7 @@ #include #include #include +#include #include #include diff --git a/drivers/mmc/sh_mmcif.c b/drivers/mmc/sh_mmcif.c index bc94d01fab5e..1a01fe5a7396 100644 --- a/drivers/mmc/sh_mmcif.c +++ b/drivers/mmc/sh_mmcif.c @@ -15,6 +15,7 @@ #include #include #include +#include #include #include #include diff --git a/drivers/mmc/sh_sdhi.c b/drivers/mmc/sh_sdhi.c index 54bd687a25ca..22a0f78933d8 100644 --- a/drivers/mmc/sh_sdhi.c +++ b/drivers/mmc/sh_sdhi.c @@ -16,6 +16,7 @@ #include #include #include +#include #include #include #include diff --git a/drivers/mmc/stm32_sdmmc2.c b/drivers/mmc/stm32_sdmmc2.c index 87cee536128b..b802316720a5 100644 --- a/drivers/mmc/stm32_sdmmc2.c +++ b/drivers/mmc/stm32_sdmmc2.c @@ -12,6 +12,7 @@ #include #include #include +#include #include #include #include diff --git a/drivers/mmc/sunxi_mmc.c b/drivers/mmc/sunxi_mmc.c index 2903d89ef347..0e03b07ce555 100644 --- a/drivers/mmc/sunxi_mmc.c +++ b/drivers/mmc/sunxi_mmc.c @@ -21,6 +21,7 @@ #include #include #include +#include #ifdef CONFIG_DM_MMC struct sunxi_mmc_variant { diff --git a/drivers/mmc/tegra_mmc.c b/drivers/mmc/tegra_mmc.c index 731a519e4007..78838682c7c2 100644 --- a/drivers/mmc/tegra_mmc.c +++ b/drivers/mmc/tegra_mmc.c @@ -15,6 +15,7 @@ #include #include #include +#include #include #if defined(CONFIG_TEGRA30) || defined(CONFIG_TEGRA210) #include diff --git a/drivers/mmc/tmio-common.c b/drivers/mmc/tmio-common.c index 1dc13db9eaac..20cd237ef0eb 100644 --- a/drivers/mmc/tmio-common.c +++ b/drivers/mmc/tmio-common.c @@ -13,6 +13,7 @@ #include #include #include +#include #include #include #include diff --git a/drivers/mmc/xenon_sdhci.c b/drivers/mmc/xenon_sdhci.c index 829b75683b2c..7dc600032b8b 100644 --- a/drivers/mmc/xenon_sdhci.c +++ b/drivers/mmc/xenon_sdhci.c @@ -17,6 +17,7 @@ #include #include #include +#include #include #include #include diff --git a/drivers/mmc/zynq_sdhci.c b/drivers/mmc/zynq_sdhci.c index 2f46f17f4a65..de404aa9560d 100644 --- a/drivers/mmc/zynq_sdhci.c +++ b/drivers/mmc/zynq_sdhci.c @@ -9,6 +9,7 @@ #include #include #include +#include #include "mmc_private.h" #include #include diff --git a/drivers/mtd/cfi_flash.c b/drivers/mtd/cfi_flash.c index 6be40d04e9a9..b7289ba5394b 100644 --- a/drivers/mtd/cfi_flash.c +++ b/drivers/mtd/cfi_flash.c @@ -31,6 +31,7 @@ #include #include #include +#include #include #include diff --git a/drivers/mtd/mw_eeprom.c b/drivers/mtd/mw_eeprom.c index 6a3a6f67518b..9837733beeed 100644 --- a/drivers/mtd/mw_eeprom.c +++ b/drivers/mtd/mw_eeprom.c @@ -3,6 +3,7 @@ #include #include #include +#include /* * Serial EEPROM opcodes, including start bit diff --git a/drivers/mtd/nand/raw/am335x_spl_bch.c b/drivers/mtd/nand/raw/am335x_spl_bch.c index ba2f33a96efa..b6fc5f29c7a8 100644 --- a/drivers/mtd/nand/raw/am335x_spl_bch.c +++ b/drivers/mtd/nand/raw/am335x_spl_bch.c @@ -12,6 +12,7 @@ #include #include #include +#include #include static int nand_ecc_pos[] = CONFIG_SYS_NAND_ECCPOS; diff --git a/drivers/mtd/nand/raw/arasan_nfc.c b/drivers/mtd/nand/raw/arasan_nfc.c index 110c32b39616..6c1d64054c64 100644 --- a/drivers/mtd/nand/raw/arasan_nfc.c +++ b/drivers/mtd/nand/raw/arasan_nfc.c @@ -8,6 +8,7 @@ #include #include #include +#include #include #include #include diff --git a/drivers/mtd/nand/raw/atmel_nand.c b/drivers/mtd/nand/raw/atmel_nand.c index 2b39e4195ac0..4a017ea74dc5 100644 --- a/drivers/mtd/nand/raw/atmel_nand.c +++ b/drivers/mtd/nand/raw/atmel_nand.c @@ -17,6 +17,7 @@ #include #include #include +#include #include #include diff --git a/drivers/mtd/nand/raw/denali_spl.c b/drivers/mtd/nand/raw/denali_spl.c index 4b815a433e1f..f72142817e7f 100644 --- a/drivers/mtd/nand/raw/denali_spl.c +++ b/drivers/mtd/nand/raw/denali_spl.c @@ -8,6 +8,7 @@ #include #include #include +#include #include #include "denali.h" diff --git a/drivers/mtd/nand/raw/fsl_upm.c b/drivers/mtd/nand/raw/fsl_upm.c index ec233b279039..6c86a7e76712 100644 --- a/drivers/mtd/nand/raw/fsl_upm.c +++ b/drivers/mtd/nand/raw/fsl_upm.c @@ -10,6 +10,7 @@ #include #include #include +#include #include #include #include diff --git a/drivers/mtd/nand/raw/kmeter1_nand.c b/drivers/mtd/nand/raw/kmeter1_nand.c index 710330006091..cf33f2863e1b 100644 --- a/drivers/mtd/nand/raw/kmeter1_nand.c +++ b/drivers/mtd/nand/raw/kmeter1_nand.c @@ -7,6 +7,7 @@ #include #include #include +#include #define CONFIG_NAND_MODE_REG (void *)(CONFIG_SYS_NAND_BASE + 0x20000) #define CONFIG_NAND_DATA_REG (void *)(CONFIG_SYS_NAND_BASE + 0x30000) diff --git a/drivers/mtd/nand/raw/lpc32xx_nand_mlc.c b/drivers/mtd/nand/raw/lpc32xx_nand_mlc.c index 79d1489dc72c..b3232ed59d53 100644 --- a/drivers/mtd/nand/raw/lpc32xx_nand_mlc.c +++ b/drivers/mtd/nand/raw/lpc32xx_nand_mlc.c @@ -21,6 +21,7 @@ #include #include +#include #include #include #include diff --git a/drivers/mtd/nand/raw/mxc_nand.c b/drivers/mtd/nand/raw/mxc_nand.c index 049bc79e3b04..59cef205754b 100644 --- a/drivers/mtd/nand/raw/mxc_nand.c +++ b/drivers/mtd/nand/raw/mxc_nand.c @@ -8,6 +8,7 @@ #include #include #include +#include #include #include #if defined(CONFIG_MX25) || defined(CONFIG_MX27) || defined(CONFIG_MX35) || \ diff --git a/drivers/mtd/nand/raw/mxs_nand_spl.c b/drivers/mtd/nand/raw/mxs_nand_spl.c index 3460f2b61a93..ffe9860c680a 100644 --- a/drivers/mtd/nand/raw/mxs_nand_spl.c +++ b/drivers/mtd/nand/raw/mxs_nand_spl.c @@ -10,6 +10,7 @@ #include #include #include +#include #include static struct mtd_info *mtd; diff --git a/drivers/mtd/nand/raw/nand_base.c b/drivers/mtd/nand/raw/nand_base.c index c9e54eae399f..26650389f439 100644 --- a/drivers/mtd/nand/raw/nand_base.c +++ b/drivers/mtd/nand/raw/nand_base.c @@ -37,6 +37,7 @@ #include #include #include +#include #include #include #include diff --git a/drivers/mtd/nand/raw/pxa3xx_nand.c b/drivers/mtd/nand/raw/pxa3xx_nand.c index fc5b6275f29d..244b0fecb7a4 100644 --- a/drivers/mtd/nand/raw/pxa3xx_nand.c +++ b/drivers/mtd/nand/raw/pxa3xx_nand.c @@ -13,6 +13,7 @@ #include #include #include +#include #include #include #include diff --git a/drivers/mtd/nand/raw/stm32_fmc2_nand.c b/drivers/mtd/nand/raw/stm32_fmc2_nand.c index 912fe480e8aa..97188b200cbb 100644 --- a/drivers/mtd/nand/raw/stm32_fmc2_nand.c +++ b/drivers/mtd/nand/raw/stm32_fmc2_nand.c @@ -10,6 +10,7 @@ #include #include #include +#include #include #include #include diff --git a/drivers/mtd/nand/raw/sunxi_nand.c b/drivers/mtd/nand/raw/sunxi_nand.c index 9b99be10e6e3..5331e73c2d1b 100644 --- a/drivers/mtd/nand/raw/sunxi_nand.c +++ b/drivers/mtd/nand/raw/sunxi_nand.c @@ -31,6 +31,7 @@ #include #include #include +#include #include #include diff --git a/drivers/mtd/nand/raw/sunxi_nand_spl.c b/drivers/mtd/nand/raw/sunxi_nand_spl.c index 6cde9814c4f9..8b2f7ea49156 100644 --- a/drivers/mtd/nand/raw/sunxi_nand_spl.c +++ b/drivers/mtd/nand/raw/sunxi_nand_spl.c @@ -10,6 +10,7 @@ #include #include #include +#include /* registers */ #define NFC_CTL 0x00000000 diff --git a/drivers/mtd/nand/raw/tegra_nand.c b/drivers/mtd/nand/raw/tegra_nand.c index b3bdd201c360..b9f5bdd95357 100644 --- a/drivers/mtd/nand/raw/tegra_nand.c +++ b/drivers/mtd/nand/raw/tegra_nand.c @@ -16,6 +16,7 @@ #include #include #include +#include #include #include #include diff --git a/drivers/mtd/nand/raw/zynq_nand.c b/drivers/mtd/nand/raw/zynq_nand.c index 0bddaaaac0cf..fa594552109d 100644 --- a/drivers/mtd/nand/raw/zynq_nand.c +++ b/drivers/mtd/nand/raw/zynq_nand.c @@ -10,6 +10,7 @@ #include #include #include +#include #include #include #include diff --git a/drivers/mtd/spi/sf_dataflash.c b/drivers/mtd/spi/sf_dataflash.c index f85799d628e8..27d847d42182 100644 --- a/drivers/mtd/spi/sf_dataflash.c +++ b/drivers/mtd/spi/sf_dataflash.c @@ -15,6 +15,7 @@ #include #include #include +#include #include #include diff --git a/drivers/mtd/st_smi.c b/drivers/mtd/st_smi.c index d29a71595dc3..7c652e6c5351 100644 --- a/drivers/mtd/st_smi.c +++ b/drivers/mtd/st_smi.c @@ -6,6 +6,7 @@ #include #include +#include #include #include diff --git a/drivers/net/ag7xxx.c b/drivers/net/ag7xxx.c index 38f3cbac734a..0fe140cf6e60 100644 --- a/drivers/net/ag7xxx.c +++ b/drivers/net/ag7xxx.c @@ -17,6 +17,7 @@ #include #include #include +#include #include #include #include diff --git a/drivers/net/armada100_fec.c b/drivers/net/armada100_fec.c index 828f978f7309..3ee119bcbcce 100644 --- a/drivers/net/armada100_fec.c +++ b/drivers/net/armada100_fec.c @@ -17,6 +17,7 @@ #include #include #include +#include #include #include #include diff --git a/drivers/net/at91_emac.c b/drivers/net/at91_emac.c index fc227edea73a..4e4ad61da4ef 100644 --- a/drivers/net/at91_emac.c +++ b/drivers/net/at91_emac.c @@ -18,6 +18,7 @@ #include #include #include +#include #include #undef MII_DEBUG diff --git a/drivers/net/ax88180.c b/drivers/net/ax88180.c index 2715653cd456..28cb41272a9e 100644 --- a/drivers/net/ax88180.c +++ b/drivers/net/ax88180.c @@ -42,6 +42,7 @@ #include #include #include +#include #include #include "ax88180.h" diff --git a/drivers/net/ax88796.c b/drivers/net/ax88796.c index 01c1ae27299c..d161f0e09c36 100644 --- a/drivers/net/ax88796.c +++ b/drivers/net/ax88796.c @@ -3,6 +3,7 @@ * (c) 2007 Nobuhiro Iwamatsu */ #include +#include #include "ax88796.h" /* diff --git a/drivers/net/bcm-sf2-eth-gmac.c b/drivers/net/bcm-sf2-eth-gmac.c index eaadb2662a85..f57861e87041 100644 --- a/drivers/net/bcm-sf2-eth-gmac.c +++ b/drivers/net/bcm-sf2-eth-gmac.c @@ -18,6 +18,7 @@ #include #include #include +#include #include "bcm-sf2-eth.h" #include "bcm-sf2-eth-gmac.h" diff --git a/drivers/net/bcm-sf2-eth.c b/drivers/net/bcm-sf2-eth.c index c8393c5f5015..2998d57c72f7 100644 --- a/drivers/net/bcm-sf2-eth.c +++ b/drivers/net/bcm-sf2-eth.c @@ -8,6 +8,7 @@ #include #include #include +#include #include #include diff --git a/drivers/net/bcm6368-eth.c b/drivers/net/bcm6368-eth.c index db573c08317b..648fafd3e098 100644 --- a/drivers/net/bcm6368-eth.c +++ b/drivers/net/bcm6368-eth.c @@ -18,6 +18,7 @@ #include #include #include +#include #define ETH_PORT_STR "brcm,enetsw-port" diff --git a/drivers/net/bcmgenet.c b/drivers/net/bcmgenet.c index 1ef8e8e8b854..d09f17d9947c 100644 --- a/drivers/net/bcmgenet.c +++ b/drivers/net/bcmgenet.c @@ -23,6 +23,7 @@ #include #include #include +#include #include #include #include diff --git a/drivers/net/calxedaxgmac.c b/drivers/net/calxedaxgmac.c index 0dd64e458214..5dad69c0b76a 100644 --- a/drivers/net/calxedaxgmac.c +++ b/drivers/net/calxedaxgmac.c @@ -7,6 +7,7 @@ #include #include #include +#include #include #include diff --git a/drivers/net/cs8900.c b/drivers/net/cs8900.c index f840e114216a..7ec95be6fcf5 100644 --- a/drivers/net/cs8900.c +++ b/drivers/net/cs8900.c @@ -29,6 +29,7 @@ #include #include #include +#include #include "cs8900.h" #undef DEBUG diff --git a/drivers/net/dc2114x.c b/drivers/net/dc2114x.c index d008696b0ffb..611a8c4b9e4b 100644 --- a/drivers/net/dc2114x.c +++ b/drivers/net/dc2114x.c @@ -6,6 +6,7 @@ #include #include #include +#include #define SROM_DLEVEL 0 diff --git a/drivers/net/designware.c b/drivers/net/designware.c index 1eda9c380099..b89a68afe4ab 100644 --- a/drivers/net/designware.c +++ b/drivers/net/designware.c @@ -23,6 +23,7 @@ #include #include #include +#include #include #include #include diff --git a/drivers/net/dm9000x.c b/drivers/net/dm9000x.c index a6c0a2452f2c..d575a625925d 100644 --- a/drivers/net/dm9000x.c +++ b/drivers/net/dm9000x.c @@ -54,6 +54,7 @@ TODO: external MII is not functional, only internal at the moment. #include #include #include +#include #include "dm9000x.h" diff --git a/drivers/net/dnet.c b/drivers/net/dnet.c index 35c2ed9fe06c..98e9b2c663bd 100644 --- a/drivers/net/dnet.c +++ b/drivers/net/dnet.c @@ -10,6 +10,7 @@ #include #include +#include #ifndef CONFIG_DNET_AUTONEG_TIMEOUT #define CONFIG_DNET_AUTONEG_TIMEOUT 5000000 /* default value */ diff --git a/drivers/net/dwc_eth_qos.c b/drivers/net/dwc_eth_qos.c index 1cf1ff59eb0b..789ac2e818a0 100644 --- a/drivers/net/dwc_eth_qos.c +++ b/drivers/net/dwc_eth_qos.c @@ -48,6 +48,7 @@ #include #include #endif +#include /* Core registers */ diff --git a/drivers/net/e1000.c b/drivers/net/e1000.c index 6c1358568ae9..008da4ab3e77 100644 --- a/drivers/net/e1000.c +++ b/drivers/net/e1000.c @@ -39,6 +39,7 @@ tested on both gig copper and gig fiber boards #include #include #include +#include #include "e1000.h" #include diff --git a/drivers/net/e1000_spi.c b/drivers/net/e1000_spi.c index dcb561ff79e8..4fcc65d9782c 100644 --- a/drivers/net/e1000_spi.c +++ b/drivers/net/e1000_spi.c @@ -1,6 +1,7 @@ #include #include #include +#include #include "e1000.h" #include #include diff --git a/drivers/net/eepro100.c b/drivers/net/eepro100.c index 36a9d4d91c30..e186ab4e5f24 100644 --- a/drivers/net/eepro100.c +++ b/drivers/net/eepro100.c @@ -11,6 +11,7 @@ #include #include #include +#include #undef DEBUG diff --git a/drivers/net/fec_mxc.c b/drivers/net/fec_mxc.c index 4c6eb640d498..9ae2db033e66 100644 --- a/drivers/net/fec_mxc.c +++ b/drivers/net/fec_mxc.c @@ -18,6 +18,7 @@ #include #include #include +#include #include #include diff --git a/drivers/net/fm/dtsec.c b/drivers/net/fm/dtsec.c index 4c78a4d63f57..c51a65cb94fb 100644 --- a/drivers/net/fm/dtsec.c +++ b/drivers/net/fm/dtsec.c @@ -9,6 +9,7 @@ #include #include #include +#include #include "fm.h" diff --git a/drivers/net/fm/eth.c b/drivers/net/fm/eth.c index f3ce2ac40c4e..81a4cf212943 100644 --- a/drivers/net/fm/eth.c +++ b/drivers/net/fm/eth.c @@ -24,6 +24,7 @@ #include #include #include +#include #include "fm.h" diff --git a/drivers/net/fm/tgec.c b/drivers/net/fm/tgec.c index 9f2f6f6d5b0c..9cc9f3fde3ad 100644 --- a/drivers/net/fm/tgec.c +++ b/drivers/net/fm/tgec.c @@ -12,6 +12,7 @@ #include #include #include +#include #include "fm.h" diff --git a/drivers/net/fsl-mc/mc.c b/drivers/net/fsl-mc/mc.c index 3b44abcd948b..1c034273b743 100644 --- a/drivers/net/fsl-mc/mc.c +++ b/drivers/net/fsl-mc/mc.c @@ -13,6 +13,7 @@ #include #include #include +#include #include #include #include diff --git a/drivers/net/fsl-mc/mc_sys.c b/drivers/net/fsl-mc/mc_sys.c index fddf5cb0235d..b5ae2ea3eb56 100644 --- a/drivers/net/fsl-mc/mc_sys.c +++ b/drivers/net/fsl-mc/mc_sys.c @@ -11,6 +11,7 @@ #include #include #include +#include #define MC_CMD_HDR_READ_CMDID(_hdr) \ ((uint16_t)mc_dec((_hdr), MC_CMD_HDR_CMDID_O, MC_CMD_HDR_CMDID_S)) diff --git a/drivers/net/fsl_enetc.c b/drivers/net/fsl_enetc.c index b47b27210ceb..2929ae72092e 100644 --- a/drivers/net/fsl_enetc.c +++ b/drivers/net/fsl_enetc.c @@ -16,6 +16,7 @@ #include #include #include +#include #include "fsl_enetc.h" diff --git a/drivers/net/fsl_mcdmafec.c b/drivers/net/fsl_mcdmafec.c index 45954cecb6b6..73e92b7a0d2c 100644 --- a/drivers/net/fsl_mcdmafec.c +++ b/drivers/net/fsl_mcdmafec.c @@ -18,6 +18,7 @@ #include #include #include +#include #include #include #include diff --git a/drivers/net/ftmac100.c b/drivers/net/ftmac100.c index 24bb45f35153..4aae7c43fea4 100644 --- a/drivers/net/ftmac100.c +++ b/drivers/net/ftmac100.c @@ -12,6 +12,7 @@ #include #include #include +#include #include #include "ftmac100.h" diff --git a/drivers/net/higmacv300.c b/drivers/net/higmacv300.c index ea9f9470c806..1ec98644c92c 100644 --- a/drivers/net/higmacv300.c +++ b/drivers/net/higmacv300.c @@ -11,6 +11,7 @@ #include #include #include +#include #include #include #include diff --git a/drivers/net/ks8851_mll.c b/drivers/net/ks8851_mll.c index 8fcb63d1a60f..6643d1e9c134 100644 --- a/drivers/net/ks8851_mll.c +++ b/drivers/net/ks8851_mll.c @@ -11,6 +11,7 @@ #include #include #include +#include #include "ks8851_mll.h" diff --git a/drivers/net/lan91c96.c b/drivers/net/lan91c96.c index 1989b66a486d..13900f10b1c2 100644 --- a/drivers/net/lan91c96.c +++ b/drivers/net/lan91c96.c @@ -48,6 +48,7 @@ #include #include #include +#include #include "lan91c96.h" #include #include diff --git a/drivers/net/ldpaa_eth/ldpaa_eth.c b/drivers/net/ldpaa_eth/ldpaa_eth.c index 66bfafe21714..116b307b67ca 100644 --- a/drivers/net/ldpaa_eth/ldpaa_eth.c +++ b/drivers/net/ldpaa_eth/ldpaa_eth.c @@ -17,6 +17,7 @@ #include #include #include +#include #include #include "ldpaa_eth.h" diff --git a/drivers/net/lpc32xx_eth.c b/drivers/net/lpc32xx_eth.c index 604f676bfff8..f68daaaff56d 100644 --- a/drivers/net/lpc32xx_eth.c +++ b/drivers/net/lpc32xx_eth.c @@ -12,6 +12,7 @@ #include #include #include +#include #include #include #include diff --git a/drivers/net/macb.c b/drivers/net/macb.c index ddd1c0605999..424ca59707f2 100644 --- a/drivers/net/macb.c +++ b/drivers/net/macb.c @@ -7,6 +7,7 @@ #include #include #include +#include /* * The u-boot networking stack is a little weird. It seems like the diff --git a/drivers/net/mcffec.c b/drivers/net/mcffec.c index 8caf0ba6b1ca..697549301f31 100644 --- a/drivers/net/mcffec.c +++ b/drivers/net/mcffec.c @@ -19,6 +19,7 @@ #include #include #include +#include #include #undef ET_DEBUG diff --git a/drivers/net/mcfmii.c b/drivers/net/mcfmii.c index 3b8ee07c13a0..393605512d98 100644 --- a/drivers/net/mcfmii.c +++ b/drivers/net/mcfmii.c @@ -8,6 +8,7 @@ #include #include #include +#include #ifdef CONFIG_MCF547x_8x #include diff --git a/drivers/net/mpc8xx_fec.c b/drivers/net/mpc8xx_fec.c index 69b2174ab3d6..f9f7dd7cb363 100644 --- a/drivers/net/mpc8xx_fec.c +++ b/drivers/net/mpc8xx_fec.c @@ -12,6 +12,7 @@ #include #include #include +#include #include #include diff --git a/drivers/net/mscc_eswitch/jr2_switch.c b/drivers/net/mscc_eswitch/jr2_switch.c index 33dd002146c1..76823c618e8d 100644 --- a/drivers/net/mscc_eswitch/jr2_switch.c +++ b/drivers/net/mscc_eswitch/jr2_switch.c @@ -10,6 +10,7 @@ #include #include #include +#include #include #include #include diff --git a/drivers/net/mscc_eswitch/mscc_xfer.c b/drivers/net/mscc_eswitch/mscc_xfer.c index 447b53782ddb..01eb204db8c9 100644 --- a/drivers/net/mscc_eswitch/mscc_xfer.c +++ b/drivers/net/mscc_eswitch/mscc_xfer.c @@ -4,6 +4,7 @@ */ #include +#include #include #include "mscc_xfer.h" diff --git a/drivers/net/mt7628-eth.c b/drivers/net/mt7628-eth.c index 8110af2d8251..a2e022db3552 100644 --- a/drivers/net/mt7628-eth.c +++ b/drivers/net/mt7628-eth.c @@ -25,6 +25,7 @@ #include #include #include +#include #include /* Ethernet frame engine register */ diff --git a/drivers/net/mtk_eth.c b/drivers/net/mtk_eth.c index c0cabd9b365e..86f1360ae35a 100644 --- a/drivers/net/mtk_eth.c +++ b/drivers/net/mtk_eth.c @@ -21,6 +21,7 @@ #include #include #include +#include #include #include #include diff --git a/drivers/net/mvgbe.c b/drivers/net/mvgbe.c index b661cd38f99e..7974dfc78da4 100644 --- a/drivers/net/mvgbe.c +++ b/drivers/net/mvgbe.c @@ -19,6 +19,7 @@ #include #include #include +#include #include #include #include diff --git a/drivers/net/mvneta.c b/drivers/net/mvneta.c index f593aa6508e7..f9aef17f7eab 100644 --- a/drivers/net/mvneta.c +++ b/drivers/net/mvneta.c @@ -25,6 +25,7 @@ #include #include #include +#include #include #include #include diff --git a/drivers/net/mvpp2.c b/drivers/net/mvpp2.c index 83914286e8bb..ebe67e45ab3f 100644 --- a/drivers/net/mvpp2.c +++ b/drivers/net/mvpp2.c @@ -27,6 +27,7 @@ #include #include #include +#include #include #include #include diff --git a/drivers/net/natsemi.c b/drivers/net/natsemi.c index 86f689802e37..bf6fa8f2ba2b 100644 --- a/drivers/net/natsemi.c +++ b/drivers/net/natsemi.c @@ -56,6 +56,7 @@ #include #include #include +#include /* defines */ #define EEPROM_SIZE 0xb /*12 16-bit chunks, or 24 bytes*/ diff --git a/drivers/net/ne2000.c b/drivers/net/ne2000.c index e6cd3e9ba07e..28a99bb8c48e 100644 --- a/drivers/net/ne2000.c +++ b/drivers/net/ne2000.c @@ -74,6 +74,7 @@ Add SNMP #include #include +#include /* NE2000 base header file */ #include "ne2000_base.h" diff --git a/drivers/net/ne2000_base.h b/drivers/net/ne2000_base.h index eee0956fdb5d..2493608a5a64 100644 --- a/drivers/net/ne2000_base.h +++ b/drivers/net/ne2000_base.h @@ -106,6 +106,7 @@ are GPL, so this is, of course, GPL. #endif /* timeout for tx/rx in s */ +#include #define TOUT 5 /* Ether MAC address size */ #define ETHER_ADDR_LEN 6 diff --git a/drivers/net/ns8382x.c b/drivers/net/ns8382x.c index 9ef3baed1dfb..c292abad07f0 100644 --- a/drivers/net/ns8382x.c +++ b/drivers/net/ns8382x.c @@ -57,6 +57,7 @@ #include #include #include +#include /* defines */ #define DSIZE 0x00000FFF diff --git a/drivers/net/pch_gbe.c b/drivers/net/pch_gbe.c index a592ec07da44..1daafbe2b9bd 100644 --- a/drivers/net/pch_gbe.c +++ b/drivers/net/pch_gbe.c @@ -14,6 +14,7 @@ #include #include #include +#include #include "pch_gbe.h" #if !defined(CONFIG_PHYLIB) diff --git a/drivers/net/pcnet.c b/drivers/net/pcnet.c index 39cce052936c..260a5a38cff2 100644 --- a/drivers/net/pcnet.c +++ b/drivers/net/pcnet.c @@ -15,6 +15,7 @@ #include #include #include +#include #define PCNET_DEBUG_LEVEL 0 /* 0=off, 1=init, 2=rx/tx */ diff --git a/drivers/net/pfe_eth/pfe_cmd.c b/drivers/net/pfe_eth/pfe_cmd.c index 66c8cca4d2b2..1e69525cb71f 100644 --- a/drivers/net/pfe_eth/pfe_cmd.c +++ b/drivers/net/pfe_eth/pfe_cmd.c @@ -12,6 +12,7 @@ #include #include #include +#include #include static inline void pfe_command_help(void) diff --git a/drivers/net/pfe_eth/pfe_driver.c b/drivers/net/pfe_eth/pfe_driver.c index e5edfbeaa66d..6f443b4ea81c 100644 --- a/drivers/net/pfe_eth/pfe_driver.c +++ b/drivers/net/pfe_eth/pfe_driver.c @@ -6,6 +6,7 @@ #include #include +#include #include #include diff --git a/drivers/net/pfe_eth/pfe_eth.c b/drivers/net/pfe_eth/pfe_eth.c index 4aa5ac4be628..718e24f14d35 100644 --- a/drivers/net/pfe_eth/pfe_eth.c +++ b/drivers/net/pfe_eth/pfe_eth.c @@ -10,6 +10,7 @@ #include #include #include +#include #include #include diff --git a/drivers/net/pfe_eth/pfe_mdio.c b/drivers/net/pfe_eth/pfe_mdio.c index 2f88f5d8bcfe..3228b8df49d4 100644 --- a/drivers/net/pfe_eth/pfe_mdio.c +++ b/drivers/net/pfe_eth/pfe_mdio.c @@ -9,6 +9,7 @@ #include #include #include +#include #include extern struct gemac_s gem_info[]; diff --git a/drivers/net/phy/aquantia.c b/drivers/net/phy/aquantia.c index 75396dec958a..8b1cad854073 100644 --- a/drivers/net/phy/aquantia.c +++ b/drivers/net/phy/aquantia.c @@ -11,6 +11,7 @@ #include #include #include +#include #include #include #include diff --git a/drivers/net/phy/b53.c b/drivers/net/phy/b53.c index f039f895c899..25dbf215b410 100644 --- a/drivers/net/phy/b53.c +++ b/drivers/net/phy/b53.c @@ -24,6 +24,7 @@ #include #include +#include #include #include diff --git a/drivers/net/phy/broadcom.c b/drivers/net/phy/broadcom.c index 3399fd236625..566fcb8de73b 100644 --- a/drivers/net/phy/broadcom.c +++ b/drivers/net/phy/broadcom.c @@ -7,6 +7,7 @@ */ #include #include +#include /* Broadcom BCM54xx -- taken from linux sungem_phy */ #define MIIM_BCM54xx_AUXCNTL 0x18 diff --git a/drivers/net/phy/cortina.c b/drivers/net/phy/cortina.c index ecaa2b9f92e6..dbc20b14051c 100644 --- a/drivers/net/phy/cortina.c +++ b/drivers/net/phy/cortina.c @@ -12,6 +12,7 @@ #include #include #include +#include #include #include #include diff --git a/drivers/net/phy/marvell.c b/drivers/net/phy/marvell.c index 93cf44ad4cbd..be5e3dcaab20 100644 --- a/drivers/net/phy/marvell.c +++ b/drivers/net/phy/marvell.c @@ -8,6 +8,7 @@ #include #include #include +#include #define PHY_AUTONEGOTIATE_TIMEOUT 5000 diff --git a/drivers/net/phy/mv88e61xx.c b/drivers/net/phy/mv88e61xx.c index cbc365097174..3f8aa7cd99c8 100644 --- a/drivers/net/phy/mv88e61xx.c +++ b/drivers/net/phy/mv88e61xx.c @@ -31,6 +31,7 @@ #include #include +#include #include #include diff --git a/drivers/net/phy/mv88e6352.c b/drivers/net/phy/mv88e6352.c index e2261d6a11d5..62a7f1921493 100644 --- a/drivers/net/phy/mv88e6352.c +++ b/drivers/net/phy/mv88e6352.c @@ -8,6 +8,7 @@ #include #include #include +#include #include #include diff --git a/drivers/net/phy/phy.c b/drivers/net/phy/phy.c index 6c4381ec6ce6..6b6497c93a26 100644 --- a/drivers/net/phy/phy.c +++ b/drivers/net/phy/phy.c @@ -17,6 +17,7 @@ #include #include #include +#include #include #include diff --git a/drivers/net/phy/realtek.c b/drivers/net/phy/realtek.c index 8f0a897a46dc..b4612c1cfd6c 100644 --- a/drivers/net/phy/realtek.c +++ b/drivers/net/phy/realtek.c @@ -9,6 +9,7 @@ #include #include #include +#include #define PHY_RTL8211x_FORCE_MASTER BIT(1) #define PHY_RTL8211E_PINE64_GIGABIT_FIX BIT(2) diff --git a/drivers/net/phy/teranetics.c b/drivers/net/phy/teranetics.c index 49d6a1ad901e..60049c2074f3 100644 --- a/drivers/net/phy/teranetics.c +++ b/drivers/net/phy/teranetics.c @@ -7,6 +7,7 @@ */ #include #include +#include #ifndef CONFIG_PHYLIB_10G #error The Teranetics PHY needs 10G support diff --git a/drivers/net/pic32_eth.c b/drivers/net/pic32_eth.c index d367a1fe37e9..6a2084947b03 100644 --- a/drivers/net/pic32_eth.c +++ b/drivers/net/pic32_eth.c @@ -15,6 +15,7 @@ #include #include #include +#include #include #include "pic32_eth.h" diff --git a/drivers/net/pic32_mdio.c b/drivers/net/pic32_mdio.c index 1aa5b1d8dac7..d4049cfea525 100644 --- a/drivers/net/pic32_mdio.c +++ b/drivers/net/pic32_mdio.c @@ -11,6 +11,7 @@ #include #include #include +#include #include "pic32_eth.h" static int pic32_mdio_write(struct mii_dev *bus, diff --git a/drivers/net/ravb.c b/drivers/net/ravb.c index fae72a1127c7..3dab91b74b45 100644 --- a/drivers/net/ravb.c +++ b/drivers/net/ravb.c @@ -17,6 +17,7 @@ #include #include #include +#include #include #include #include diff --git a/drivers/net/rtl8139.c b/drivers/net/rtl8139.c index e87ee26f7f91..fd2454b56fa9 100644 --- a/drivers/net/rtl8139.c +++ b/drivers/net/rtl8139.c @@ -76,6 +76,7 @@ #include #include #include +#include #include #define RTL_TIMEOUT 100000 diff --git a/drivers/net/rtl8169.c b/drivers/net/rtl8169.c index c3413431ec49..75058fdadc00 100644 --- a/drivers/net/rtl8169.c +++ b/drivers/net/rtl8169.c @@ -53,6 +53,7 @@ #include #include #include +#include #undef DEBUG_RTL8169 #undef DEBUG_RTL8169_TX diff --git a/drivers/net/sh_eth.c b/drivers/net/sh_eth.c index 1ad3d0526df3..b26fc7b8eb13 100644 --- a/drivers/net/sh_eth.c +++ b/drivers/net/sh_eth.c @@ -18,6 +18,7 @@ #include #include #include +#include #include #include diff --git a/drivers/net/smc91111.c b/drivers/net/smc91111.c index 52bbf05a1e0f..23265eff9362 100644 --- a/drivers/net/smc91111.c +++ b/drivers/net/smc91111.c @@ -51,6 +51,7 @@ #include #include #include +#include #include "smc91111.h" #include diff --git a/drivers/net/smc911x.c b/drivers/net/smc911x.c index 45ecd6a26338..9d2790e56167 100644 --- a/drivers/net/smc911x.c +++ b/drivers/net/smc911x.c @@ -11,6 +11,7 @@ #include #include #include +#include #include #include "smc911x.h" diff --git a/drivers/net/sni_ave.c b/drivers/net/sni_ave.c index 8f651fa4dc93..92b4a656319f 100644 --- a/drivers/net/sni_ave.c +++ b/drivers/net/sni_ave.c @@ -17,6 +17,7 @@ #include #include #include +#include #include #include #include diff --git a/drivers/net/sun8i_emac.c b/drivers/net/sun8i_emac.c index c24ab83c1a26..45ac11849509 100644 --- a/drivers/net/sun8i_emac.c +++ b/drivers/net/sun8i_emac.c @@ -21,6 +21,7 @@ #include #include #include +#include #include #include #include diff --git a/drivers/net/sunxi_emac.c b/drivers/net/sunxi_emac.c index 26c75067bf2c..6364beb9f2a8 100644 --- a/drivers/net/sunxi_emac.c +++ b/drivers/net/sunxi_emac.c @@ -10,6 +10,7 @@ #include #include #include +#include #include #include #include diff --git a/drivers/net/ti/cpsw_mdio.c b/drivers/net/ti/cpsw_mdio.c index fb93548dee06..e77a2ff0a742 100644 --- a/drivers/net/ti/cpsw_mdio.c +++ b/drivers/net/ti/cpsw_mdio.c @@ -11,6 +11,7 @@ #include #include #include +#include struct cpsw_mdio_regs { u32 version; diff --git a/drivers/net/ti/davinci_emac.c b/drivers/net/ti/davinci_emac.c index 804797476c66..56ea1fec0af6 100644 --- a/drivers/net/ti/davinci_emac.c +++ b/drivers/net/ti/davinci_emac.c @@ -32,6 +32,7 @@ #include #include #include +#include #include "davinci_emac.h" unsigned int emac_dbg = 0; diff --git a/drivers/net/ti/keystone_net.c b/drivers/net/ti/keystone_net.c index ecd6df9e451f..e3ac40ca0d0a 100644 --- a/drivers/net/ti/keystone_net.c +++ b/drivers/net/ti/keystone_net.c @@ -8,6 +8,7 @@ #include #include #include +#include #include #include diff --git a/drivers/net/tsec.c b/drivers/net/tsec.c index f85cdcb97ebf..15701ee1474f 100644 --- a/drivers/net/tsec.c +++ b/drivers/net/tsec.c @@ -15,6 +15,7 @@ #include #include #include +#include #include #include #include diff --git a/drivers/net/uli526x.c b/drivers/net/uli526x.c index c56836641b18..cfdd1137bea7 100644 --- a/drivers/net/uli526x.c +++ b/drivers/net/uli526x.c @@ -16,6 +16,7 @@ #include #include #include +#include /* some kernel function compatible define */ diff --git a/drivers/net/vsc7385.c b/drivers/net/vsc7385.c index d020aa915ef8..af8d99cefbef 100644 --- a/drivers/net/vsc7385.c +++ b/drivers/net/vsc7385.c @@ -17,6 +17,7 @@ #include #include #include +#include #include #include "vsc7385.h" diff --git a/drivers/net/vsc9953.c b/drivers/net/vsc9953.c index 8bad3519517c..c438dab5619f 100644 --- a/drivers/net/vsc9953.c +++ b/drivers/net/vsc9953.c @@ -17,6 +17,7 @@ #include #include #include +#include static struct vsc9953_info vsc9953_l2sw = { .port[0] = VSC9953_PORT_INFO_INITIALIZER(0), diff --git a/drivers/net/xilinx_axi_emac.c b/drivers/net/xilinx_axi_emac.c index 09151986f15d..d0683db80d88 100644 --- a/drivers/net/xilinx_axi_emac.c +++ b/drivers/net/xilinx_axi_emac.c @@ -16,6 +16,7 @@ #include #include #include +#include DECLARE_GLOBAL_DATA_PTR; diff --git a/drivers/net/xilinx_emaclite.c b/drivers/net/xilinx_emaclite.c index b15e5514e631..9bdb6798b670 100644 --- a/drivers/net/xilinx_emaclite.c +++ b/drivers/net/xilinx_emaclite.c @@ -17,6 +17,7 @@ #include #include #include +#include #include #include #include diff --git a/drivers/pci/fsl_pci_init.c b/drivers/pci/fsl_pci_init.c index c3c67fc97bd7..1d09c5ac4f6b 100644 --- a/drivers/pci/fsl_pci_init.c +++ b/drivers/pci/fsl_pci_init.c @@ -9,6 +9,7 @@ #include #include #include +#include DECLARE_GLOBAL_DATA_PTR; diff --git a/drivers/pci/pci-aardvark.c b/drivers/pci/pci-aardvark.c index d678e0b599c0..158679139bbc 100644 --- a/drivers/pci/pci-aardvark.c +++ b/drivers/pci/pci-aardvark.c @@ -30,6 +30,7 @@ #include #include #include +#include #include /* PCIe core registers */ diff --git a/drivers/pci/pci-uclass.c b/drivers/pci/pci-uclass.c index 76dfc1a957e6..9ab3539a49ca 100644 --- a/drivers/pci/pci-uclass.c +++ b/drivers/pci/pci-uclass.c @@ -17,6 +17,7 @@ #if defined(CONFIG_X86) && defined(CONFIG_HAVE_FSP) #include #endif +#include #include "pci_internal.h" DECLARE_GLOBAL_DATA_PTR; diff --git a/drivers/pci/pci.c b/drivers/pci/pci.c index 3b67cd24f121..664e8379eb55 100644 --- a/drivers/pci/pci.c +++ b/drivers/pci/pci.c @@ -17,6 +17,7 @@ #include #include #include +#include #include #include diff --git a/drivers/pci/pci_sh4.c b/drivers/pci/pci_sh4.c index 4500e8bb2964..aac9be055e2c 100644 --- a/drivers/pci/pci_sh4.c +++ b/drivers/pci/pci_sh4.c @@ -9,6 +9,7 @@ */ #include +#include #include #include diff --git a/drivers/pci/pci_sh7751.c b/drivers/pci/pci_sh7751.c index 2f48b9671934..1f23bbc126e9 100644 --- a/drivers/pci/pci_sh7751.c +++ b/drivers/pci/pci_sh7751.c @@ -11,6 +11,7 @@ #include #include #include +#include /* Register addresses and such */ #define SH7751_BCR1 (vu_long *)0xFF800000 diff --git a/drivers/pci/pci_sh7780.c b/drivers/pci/pci_sh7780.c index 722b5e7cf285..06d711a6cb9e 100644 --- a/drivers/pci/pci_sh7780.c +++ b/drivers/pci/pci_sh7780.c @@ -7,6 +7,7 @@ */ #include +#include #include #include diff --git a/drivers/pci/pci_tegra.c b/drivers/pci/pci_tegra.c index 3b4b276abe44..82f5c59d9173 100644 --- a/drivers/pci/pci_tegra.c +++ b/drivers/pci/pci_tegra.c @@ -21,6 +21,7 @@ #include #include #include +#include #include #include diff --git a/drivers/pci/pcie_dw_mvebu.c b/drivers/pci/pcie_dw_mvebu.c index b00379110067..c773f8d28d2e 100644 --- a/drivers/pci/pcie_dw_mvebu.c +++ b/drivers/pci/pcie_dw_mvebu.c @@ -16,6 +16,7 @@ #include #include #include +#include DECLARE_GLOBAL_DATA_PTR; diff --git a/drivers/pci/pcie_dw_ti.c b/drivers/pci/pcie_dw_ti.c index 0cca4e6d0d11..e49e39e39915 100644 --- a/drivers/pci/pcie_dw_ti.c +++ b/drivers/pci/pcie_dw_ti.c @@ -14,6 +14,7 @@ #include #include #include +#include #include DECLARE_GLOBAL_DATA_PTR; diff --git a/drivers/pci/pcie_fsl.c b/drivers/pci/pcie_fsl.c index dc994b748ad5..ab33459e28e0 100644 --- a/drivers/pci/pcie_fsl.c +++ b/drivers/pci/pcie_fsl.c @@ -14,6 +14,7 @@ #include #include #include +#include #include "pcie_fsl.h" #include diff --git a/drivers/pci/pcie_imx.c b/drivers/pci/pcie_imx.c index dc18d1ca3a90..cbf12371a0f7 100644 --- a/drivers/pci/pcie_imx.c +++ b/drivers/pci/pcie_imx.c @@ -20,6 +20,7 @@ #include #include #include +#include #include #include #include diff --git a/drivers/pci/pcie_intel_fpga.c b/drivers/pci/pcie_intel_fpga.c index 6a9f29c5c805..8249c6212ed5 100644 --- a/drivers/pci/pcie_intel_fpga.c +++ b/drivers/pci/pcie_intel_fpga.c @@ -11,6 +11,7 @@ #include #include #include +#include #define RP_TX_REG0 0x2000 #define RP_TX_CNTRL 0x2004 diff --git a/drivers/phy/allwinner/phy-sun4i-usb.c b/drivers/phy/allwinner/phy-sun4i-usb.c index 9696c84e4b35..af974cdddb8d 100644 --- a/drivers/phy/allwinner/phy-sun4i-usb.c +++ b/drivers/phy/allwinner/phy-sun4i-usb.c @@ -23,6 +23,7 @@ #include #include #include +#include #include #define REG_ISCR 0x00 diff --git a/drivers/phy/bcm6318-usbh-phy.c b/drivers/phy/bcm6318-usbh-phy.c index a1ff0b773f3d..fe0e43d2703b 100644 --- a/drivers/phy/bcm6318-usbh-phy.c +++ b/drivers/phy/bcm6318-usbh-phy.c @@ -17,6 +17,7 @@ #include #include #include +#include /* USBH Setup register */ #define USBH_SETUP_REG 0x00 diff --git a/drivers/phy/bcm6368-usbh-phy.c b/drivers/phy/bcm6368-usbh-phy.c index f24e9ff5ee02..8b918b09f970 100644 --- a/drivers/phy/bcm6368-usbh-phy.c +++ b/drivers/phy/bcm6368-usbh-phy.c @@ -17,6 +17,7 @@ #include #include #include +#include /* USBH PLL Control register */ #define USBH_PLL_REG 0x18 diff --git a/drivers/phy/keystone-usb-phy.c b/drivers/phy/keystone-usb-phy.c index 3be51a33f8ba..7624f10a0474 100644 --- a/drivers/phy/keystone-usb-phy.c +++ b/drivers/phy/keystone-usb-phy.c @@ -11,6 +11,7 @@ #include #include #include +#include /* USB PHY control register offsets */ #define USB_PHY_CTL_UTMI 0x0000 diff --git a/drivers/phy/marvell/comphy_a3700.c b/drivers/phy/marvell/comphy_a3700.c index 53b55ce7af1f..dc188c44e0d6 100644 --- a/drivers/phy/marvell/comphy_a3700.c +++ b/drivers/phy/marvell/comphy_a3700.c @@ -9,6 +9,7 @@ #include #include #include +#include #include "comphy_a3700.h" diff --git a/drivers/phy/marvell/comphy_cp110.c b/drivers/phy/marvell/comphy_cp110.c index ddfacf65d66e..15e80049def6 100644 --- a/drivers/phy/marvell/comphy_cp110.c +++ b/drivers/phy/marvell/comphy_cp110.c @@ -9,6 +9,7 @@ #include #include #include +#include #include "comphy_core.h" #include "comphy_hpipe.h" diff --git a/drivers/phy/meson-g12a-usb2.c b/drivers/phy/meson-g12a-usb2.c index 6030031184c8..a1e621975867 100644 --- a/drivers/phy/meson-g12a-usb2.c +++ b/drivers/phy/meson-g12a-usb2.c @@ -16,6 +16,7 @@ #include #include #include +#include #include #include #include diff --git a/drivers/phy/meson-g12a-usb3-pcie.c b/drivers/phy/meson-g12a-usb3-pcie.c index 82655f26dd6e..4e9696fd5908 100644 --- a/drivers/phy/meson-g12a-usb3-pcie.c +++ b/drivers/phy/meson-g12a-usb3-pcie.c @@ -17,6 +17,7 @@ #include #include #include +#include #include #include diff --git a/drivers/phy/meson-gxl-usb2.c b/drivers/phy/meson-gxl-usb2.c index b4f4c3c76b97..2267bd08c2c7 100644 --- a/drivers/phy/meson-gxl-usb2.c +++ b/drivers/phy/meson-gxl-usb2.c @@ -15,6 +15,7 @@ #include #include #include +#include #include #include #include diff --git a/drivers/phy/mt76x8-usb-phy.c b/drivers/phy/mt76x8-usb-phy.c index 7fa8c8bf7070..4c0818f6e8da 100644 --- a/drivers/phy/mt76x8-usb-phy.c +++ b/drivers/phy/mt76x8-usb-phy.c @@ -14,6 +14,7 @@ #include #include #include +#include #define OFS_U2_PHY_AC0 0x800 #define USBPLL_FBDIV_S 16 diff --git a/drivers/phy/phy-mtk-tphy.c b/drivers/phy/phy-mtk-tphy.c index 81525a48b70a..048e2b19e337 100644 --- a/drivers/phy/phy-mtk-tphy.c +++ b/drivers/phy/phy-mtk-tphy.c @@ -14,6 +14,7 @@ #include #include #include +#include #include diff --git a/drivers/phy/phy-rcar-gen2.c b/drivers/phy/phy-rcar-gen2.c index e93130aee610..18da86e4bea5 100644 --- a/drivers/phy/phy-rcar-gen2.c +++ b/drivers/phy/phy-rcar-gen2.c @@ -18,6 +18,7 @@ #include #include #include +#include #include #define USBHS_LPSTS 0x02 diff --git a/drivers/phy/phy-stm32-usbphyc.c b/drivers/phy/phy-stm32-usbphyc.c index b436c2184bad..464b0735e87a 100644 --- a/drivers/phy/phy-stm32-usbphyc.c +++ b/drivers/phy/phy-stm32-usbphyc.c @@ -16,6 +16,7 @@ #include #include #include +#include #include /* USBPHYC registers */ diff --git a/drivers/phy/phy-ti-am654.c b/drivers/phy/phy-ti-am654.c index 18cf654c7859..5220f01558a2 100644 --- a/drivers/phy/phy-ti-am654.c +++ b/drivers/phy/phy-ti-am654.c @@ -20,6 +20,7 @@ #include #include #include +#include #include #define CMU_R07C 0x7c diff --git a/drivers/phy/ti-pipe3-phy.c b/drivers/phy/ti-pipe3-phy.c index 7fc36319cbad..d247a98fc42c 100644 --- a/drivers/phy/ti-pipe3-phy.c +++ b/drivers/phy/ti-pipe3-phy.c @@ -12,6 +12,7 @@ #include #include #include +#include #include /* PLLCTRL Registers */ diff --git a/drivers/pinctrl/pinctrl-stmfx.c b/drivers/pinctrl/pinctrl-stmfx.c index b0e43ae0a16e..9b6a7fa6bb3f 100644 --- a/drivers/pinctrl/pinctrl-stmfx.c +++ b/drivers/pinctrl/pinctrl-stmfx.c @@ -15,6 +15,7 @@ #include #include #include +#include #include /* STMFX pins = GPIO[15:0] + aGPIO[7:0] */ diff --git a/drivers/power/axp209.c b/drivers/power/axp209.c index 60f69ec27ac9..ade531940b93 100644 --- a/drivers/power/axp209.c +++ b/drivers/power/axp209.c @@ -8,6 +8,7 @@ #include #include #include +#include #ifdef CONFIG_AXP_ALDO3_VOLT_SLOPE_08 # define AXP209_VRC_SLOPE AXP209_VRC_LDO3_800uV_uS diff --git a/drivers/power/battery/bat_trats.c b/drivers/power/battery/bat_trats.c index f461a37a9f65..54b2bf91e5c2 100644 --- a/drivers/power/battery/bat_trats.c +++ b/drivers/power/battery/bat_trats.c @@ -7,6 +7,7 @@ #include #include #include +#include #include #include #include diff --git a/drivers/power/domain/meson-ee-pwrc.c b/drivers/power/domain/meson-ee-pwrc.c index 0fc8cb66d155..b668d9497477 100644 --- a/drivers/power/domain/meson-ee-pwrc.c +++ b/drivers/power/domain/meson-ee-pwrc.c @@ -15,6 +15,7 @@ #include #include #include +#include #include /* AO Offsets */ diff --git a/drivers/power/domain/meson-gx-pwrc-vpu.c b/drivers/power/domain/meson-gx-pwrc-vpu.c index 6a938bb99584..d43383b68dda 100644 --- a/drivers/power/domain/meson-gx-pwrc-vpu.c +++ b/drivers/power/domain/meson-gx-pwrc-vpu.c @@ -15,6 +15,7 @@ #include #include #include +#include #include enum { diff --git a/drivers/power/fuel_gauge/fg_max17042.c b/drivers/power/fuel_gauge/fg_max17042.c index 7c7e9a752dae..a395d587a86f 100644 --- a/drivers/power/fuel_gauge/fg_max17042.c +++ b/drivers/power/fuel_gauge/fg_max17042.c @@ -6,6 +6,7 @@ #include #include +#include #include #include #include diff --git a/drivers/power/mt6323.c b/drivers/power/mt6323.c index f5b27548d3e3..354817a03780 100644 --- a/drivers/power/mt6323.c +++ b/drivers/power/mt6323.c @@ -6,6 +6,7 @@ #include #include #include +#include #define PWRAP_BASE 0x1000d000 #define PWRAP_WACS2_CMD 0x9c diff --git a/drivers/power/pmic/pmic_hi6553.c b/drivers/power/pmic/pmic_hi6553.c index 6443c9ffc98c..80b9078cf8f0 100644 --- a/drivers/power/pmic/pmic_hi6553.c +++ b/drivers/power/pmic/pmic_hi6553.c @@ -5,6 +5,7 @@ */ #include #include +#include #include #include #include diff --git a/drivers/power/regulator/pbias_regulator.c b/drivers/power/regulator/pbias_regulator.c index db8c5a949c6f..28a9a1470b11 100644 --- a/drivers/power/regulator/pbias_regulator.c +++ b/drivers/power/regulator/pbias_regulator.c @@ -8,6 +8,7 @@ #include #include #include +#include #include #include #include diff --git a/drivers/power/regulator/regulator-uclass.c b/drivers/power/regulator/regulator-uclass.c index b959c469ec6c..7dcb3171928c 100644 --- a/drivers/power/regulator/regulator-uclass.c +++ b/drivers/power/regulator/regulator-uclass.c @@ -9,6 +9,7 @@ #include #include #include +#include #include #include diff --git a/drivers/power/regulator/regulator_common.c b/drivers/power/regulator/regulator_common.c index 637db0243488..16d9412cd52d 100644 --- a/drivers/power/regulator/regulator_common.c +++ b/drivers/power/regulator/regulator_common.c @@ -7,6 +7,7 @@ #include "regulator_common.h" #include #include +#include #include int regulator_common_ofdata_to_platdata(struct udevice *dev, diff --git a/drivers/power/regulator/s2mps11_regulator.c b/drivers/power/regulator/s2mps11_regulator.c index 67d1f9689de3..a6b4f158ef76 100644 --- a/drivers/power/regulator/s2mps11_regulator.c +++ b/drivers/power/regulator/s2mps11_regulator.c @@ -9,6 +9,7 @@ #include #include #include +#include #include #include #include diff --git a/drivers/power/regulator/stpmic1.c b/drivers/power/regulator/stpmic1.c index 1e3f96f3a089..3e342f48086b 100644 --- a/drivers/power/regulator/stpmic1.c +++ b/drivers/power/regulator/stpmic1.c @@ -7,6 +7,7 @@ #include #include #include +#include #include #include #include diff --git a/drivers/power/regulator/tps65090_regulator.c b/drivers/power/regulator/tps65090_regulator.c index 6dfec8933606..9e45627a7424 100644 --- a/drivers/power/regulator/tps65090_regulator.c +++ b/drivers/power/regulator/tps65090_regulator.c @@ -7,6 +7,7 @@ #include #include #include +#include #include #include #include diff --git a/drivers/power/regulator/tps65941_regulator.c b/drivers/power/regulator/tps65941_regulator.c index 3f8be6c8e46e..150c72d7ec4a 100644 --- a/drivers/power/regulator/tps65941_regulator.c +++ b/drivers/power/regulator/tps65941_regulator.c @@ -12,6 +12,7 @@ #include #include #include +#include #include #include #include diff --git a/drivers/power/tps6586x.c b/drivers/power/tps6586x.c index 8c61a41b202e..49b28a5e6bf6 100644 --- a/drivers/power/tps6586x.c +++ b/drivers/power/tps6586x.c @@ -9,6 +9,7 @@ #include #include #include +#include static struct udevice *tps6586x_dev; diff --git a/drivers/power/twl4030.c b/drivers/power/twl4030.c index 4cc261aced60..b0d5cba2c49a 100644 --- a/drivers/power/twl4030.c +++ b/drivers/power/twl4030.c @@ -24,6 +24,7 @@ #include #include +#include /* * Power Reset diff --git a/drivers/power/twl6030.c b/drivers/power/twl6030.c index 103960d48d24..60a5aaaf19fa 100644 --- a/drivers/power/twl6030.c +++ b/drivers/power/twl6030.c @@ -4,6 +4,7 @@ * Texas Instruments, */ #include +#include #include diff --git a/drivers/qe/uec.c b/drivers/qe/uec.c index 4ab0e21d2172..849f191d6d10 100644 --- a/drivers/qe/uec.c +++ b/drivers/qe/uec.c @@ -9,6 +9,7 @@ #include #include #include +#include #include #include #include diff --git a/drivers/qe/uec_phy.c b/drivers/qe/uec_phy.c index 1dae2615095e..69c22dd5e261 100644 --- a/drivers/qe/uec_phy.c +++ b/drivers/qe/uec_phy.c @@ -12,6 +12,7 @@ #include #include #include +#include #include #include #include diff --git a/drivers/ram/imxrt_sdram.c b/drivers/ram/imxrt_sdram.c index b9831ec8b173..80fcb7e56ea7 100644 --- a/drivers/ram/imxrt_sdram.c +++ b/drivers/ram/imxrt_sdram.c @@ -11,6 +11,7 @@ #include #include #include +#include #include /* SDRAM Command Code */ diff --git a/drivers/ram/mediatek/ddr3-mt7629.c b/drivers/ram/mediatek/ddr3-mt7629.c index b413f499d034..6b4296d714d9 100644 --- a/drivers/ram/mediatek/ddr3-mt7629.c +++ b/drivers/ram/mediatek/ddr3-mt7629.c @@ -12,6 +12,7 @@ #include #include #include +#include /* EMI */ #define EMI_CONA 0x000 diff --git a/drivers/ram/rockchip/dmc-rk3368.c b/drivers/ram/rockchip/dmc-rk3368.c index 8dc473892068..31a3c83b0390 100644 --- a/drivers/ram/rockchip/dmc-rk3368.c +++ b/drivers/ram/rockchip/dmc-rk3368.c @@ -20,6 +20,7 @@ #include #include #include +#include #include struct dram_info { diff --git a/drivers/ram/rockchip/sdram_pctl_px30.c b/drivers/ram/rockchip/sdram_pctl_px30.c index 1839cebb6774..331d85fba269 100644 --- a/drivers/ram/rockchip/sdram_pctl_px30.c +++ b/drivers/ram/rockchip/sdram_pctl_px30.c @@ -8,6 +8,7 @@ #include #include #include +#include /* * rank = 1: cs0 diff --git a/drivers/ram/rockchip/sdram_phy_px30.c b/drivers/ram/rockchip/sdram_phy_px30.c index 5de73770a8c0..f7f6de1ba98b 100644 --- a/drivers/ram/rockchip/sdram_phy_px30.c +++ b/drivers/ram/rockchip/sdram_phy_px30.c @@ -9,6 +9,7 @@ #include #include #include +#include static void sdram_phy_dll_bypass_set(void __iomem *phy_base, u32 freq) { diff --git a/drivers/ram/rockchip/sdram_px30.c b/drivers/ram/rockchip/sdram_px30.c index 67f494c7f1fd..fd5763d0a0df 100644 --- a/drivers/ram/rockchip/sdram_px30.c +++ b/drivers/ram/rockchip/sdram_px30.c @@ -17,6 +17,7 @@ #include #include #include +#include struct dram_info { #ifdef CONFIG_TPL_BUILD diff --git a/drivers/ram/rockchip/sdram_rk3188.c b/drivers/ram/rockchip/sdram_rk3188.c index cc9bd02c161d..7aedb4fbac71 100644 --- a/drivers/ram/rockchip/sdram_rk3188.c +++ b/drivers/ram/rockchip/sdram_rk3188.c @@ -25,6 +25,7 @@ #include #include #include +#include #include struct chan_info { diff --git a/drivers/ram/rockchip/sdram_rk322x.c b/drivers/ram/rockchip/sdram_rk322x.c index 0b11b48697cb..094693ce2474 100644 --- a/drivers/ram/rockchip/sdram_rk322x.c +++ b/drivers/ram/rockchip/sdram_rk322x.c @@ -20,6 +20,7 @@ #include #include #include +#include #include DECLARE_GLOBAL_DATA_PTR; diff --git a/drivers/ram/rockchip/sdram_rk3288.c b/drivers/ram/rockchip/sdram_rk3288.c index 2e6186d38d3f..64d704ef2673 100644 --- a/drivers/ram/rockchip/sdram_rk3288.c +++ b/drivers/ram/rockchip/sdram_rk3288.c @@ -25,6 +25,7 @@ #include #include #include +#include #include #include #include diff --git a/drivers/ram/rockchip/sdram_rk3328.c b/drivers/ram/rockchip/sdram_rk3328.c index f01301068ea1..3f3926f9e4c6 100644 --- a/drivers/ram/rockchip/sdram_rk3328.c +++ b/drivers/ram/rockchip/sdram_rk3328.c @@ -19,6 +19,7 @@ #include #include #include +#include struct dram_info { #ifdef CONFIG_TPL_BUILD diff --git a/drivers/ram/rockchip/sdram_rk3399.c b/drivers/ram/rockchip/sdram_rk3399.c index 9d2d3cf510ab..60a1ab8b5169 100644 --- a/drivers/ram/rockchip/sdram_rk3399.c +++ b/drivers/ram/rockchip/sdram_rk3399.c @@ -22,6 +22,7 @@ #include #include #include +#include #include #include diff --git a/drivers/ram/stm32_sdram.c b/drivers/ram/stm32_sdram.c index d9b1b24f0327..1894a60f1a29 100644 --- a/drivers/ram/stm32_sdram.c +++ b/drivers/ram/stm32_sdram.c @@ -12,6 +12,7 @@ #include #include #include +#include #define MEM_MODE_MASK GENMASK(2, 0) #define SWP_FMC_OFFSET 10 diff --git a/drivers/ram/stm32mp1/stm32mp1_ddr.c b/drivers/ram/stm32mp1/stm32mp1_ddr.c index f10ecdd2ef38..f523dc8ea232 100644 --- a/drivers/ram/stm32mp1/stm32mp1_ddr.c +++ b/drivers/ram/stm32mp1/stm32mp1_ddr.c @@ -11,6 +11,7 @@ #include #include #include +#include #include #include "stm32mp1_ddr.h" #include "stm32mp1_ddr_regs.h" diff --git a/drivers/ram/stm32mp1/stm32mp1_tuning.c b/drivers/ram/stm32mp1/stm32mp1_tuning.c index d2c3e89fa6b6..a8d6892bb095 100644 --- a/drivers/ram/stm32mp1/stm32mp1_tuning.c +++ b/drivers/ram/stm32mp1/stm32mp1_tuning.c @@ -11,6 +11,7 @@ #include #include #include +#include #include #include "stm32mp1_ddr_regs.h" diff --git a/drivers/reset/reset-bcm6345.c b/drivers/reset/reset-bcm6345.c index 20ea16d37c21..0511a0c63a39 100644 --- a/drivers/reset/reset-bcm6345.c +++ b/drivers/reset/reset-bcm6345.c @@ -13,6 +13,7 @@ #include #include #include +#include #define MAX_RESETS 32 diff --git a/drivers/reset/reset-imx7.c b/drivers/reset/reset-imx7.c index bbbca1392513..ce7e1c4ed221 100644 --- a/drivers/reset/reset-imx7.c +++ b/drivers/reset/reset-imx7.c @@ -11,6 +11,7 @@ #include #include #include +#include struct imx7_reset_priv { void __iomem *base; diff --git a/drivers/rng/stm32mp1_rng.c b/drivers/rng/stm32mp1_rng.c index 7ee74718759b..a9a927336be1 100644 --- a/drivers/rng/stm32mp1_rng.c +++ b/drivers/rng/stm32mp1_rng.c @@ -9,6 +9,7 @@ #include #include #include +#include #include #include diff --git a/drivers/rtc/davinci.c b/drivers/rtc/davinci.c index 3514e7351eeb..c446e7a735fd 100644 --- a/drivers/rtc/davinci.c +++ b/drivers/rtc/davinci.c @@ -9,6 +9,7 @@ #include #include #include +#include int rtc_get(struct rtc_time *tmp) { diff --git a/drivers/rtc/ds1302.c b/drivers/rtc/ds1302.c index b94163f7486b..189607c3e02a 100644 --- a/drivers/rtc/ds1302.c +++ b/drivers/rtc/ds1302.c @@ -8,6 +8,7 @@ #include #include #include +#include /* GPP Pins */ #define DATA 0x200 diff --git a/drivers/rtc/ds1306.c b/drivers/rtc/ds1306.c index 1bd1151e1b38..36d615812b2a 100644 --- a/drivers/rtc/ds1306.c +++ b/drivers/rtc/ds1306.c @@ -18,6 +18,7 @@ #include #include #include +#include #define RTC_SECONDS 0x00 #define RTC_MINUTES 0x01 diff --git a/drivers/rtc/imxdi.c b/drivers/rtc/imxdi.c index 39920f1a7a91..e3a1393266c3 100644 --- a/drivers/rtc/imxdi.c +++ b/drivers/rtc/imxdi.c @@ -16,6 +16,7 @@ #include #include #include +#include #include #include diff --git a/drivers/rtc/max6900.c b/drivers/rtc/max6900.c index b35186579a5f..11928839dcfc 100644 --- a/drivers/rtc/max6900.c +++ b/drivers/rtc/max6900.c @@ -14,6 +14,7 @@ #include #include #include +#include #ifndef CONFIG_SYS_I2C_RTC_ADDR #define CONFIG_SYS_I2C_RTC_ADDR 0x50 diff --git a/drivers/rtc/mvrtc.c b/drivers/rtc/mvrtc.c index 94a065379c91..6f49505d4eb7 100644 --- a/drivers/rtc/mvrtc.c +++ b/drivers/rtc/mvrtc.c @@ -13,6 +13,7 @@ #include #include #include +#include #include "mvrtc.h" /* This RTC does not support century, so we assume 20 */ diff --git a/drivers/rtc/rv3029.c b/drivers/rtc/rv3029.c index 5e1689a91d93..9be58425bfba 100644 --- a/drivers/rtc/rv3029.c +++ b/drivers/rtc/rv3029.c @@ -15,6 +15,7 @@ #include #include #include +#include #define RTC_RV3029_PAGE_LEN 7 diff --git a/drivers/rtc/s35392a.c b/drivers/rtc/s35392a.c index 3bfe481403d9..80f55c86233a 100644 --- a/drivers/rtc/s35392a.c +++ b/drivers/rtc/s35392a.c @@ -23,6 +23,7 @@ #include #include #include +#include #define S35390A_CHIP_ADDR 0x30 diff --git a/drivers/serial/atmel_usart.c b/drivers/serial/atmel_usart.c index 98d209072d1f..71cb31ff75ed 100644 --- a/drivers/serial/atmel_usart.c +++ b/drivers/serial/atmel_usart.c @@ -14,6 +14,7 @@ #include #include #include +#include #include #ifdef CONFIG_DM_SERIAL diff --git a/drivers/serial/serial-uclass.c b/drivers/serial/serial-uclass.c index 7703c674929c..a0af0e6bfde2 100644 --- a/drivers/serial/serial-uclass.c +++ b/drivers/serial/serial-uclass.c @@ -15,6 +15,7 @@ #include #include #include +#include DECLARE_GLOBAL_DATA_PTR; diff --git a/drivers/serial/serial.c b/drivers/serial/serial.c index baeaeaac8ea2..da017dc5b3e3 100644 --- a/drivers/serial/serial.c +++ b/drivers/serial/serial.c @@ -12,6 +12,7 @@ #include #include #include +#include DECLARE_GLOBAL_DATA_PTR; diff --git a/drivers/serial/serial_sh.c b/drivers/serial/serial_sh.c index acfcc2954a9e..5f45d58e5800 100644 --- a/drivers/serial/serial_sh.c +++ b/drivers/serial/serial_sh.c @@ -15,6 +15,7 @@ #include #include #include +#include #include "serial_sh.h" DECLARE_GLOBAL_DATA_PTR; diff --git a/drivers/serial/serial_stm32.c b/drivers/serial/serial_stm32.c index a9f5c3c3ea91..5c1cf81ae04c 100644 --- a/drivers/serial/serial_stm32.c +++ b/drivers/serial/serial_stm32.c @@ -13,6 +13,7 @@ #include #include #include +#include #include "serial_stm32.h" #include diff --git a/drivers/sound/hda_codec.c b/drivers/sound/hda_codec.c index 92e19452f14d..b59c63edb336 100644 --- a/drivers/sound/hda_codec.c +++ b/drivers/sound/hda_codec.c @@ -15,6 +15,7 @@ #include #include #include +#include /** * struct hda_regs - HDA registers diff --git a/drivers/sound/max98090.c b/drivers/sound/max98090.c index 29afbbc5c435..d23955d6e10e 100644 --- a/drivers/sound/max98090.c +++ b/drivers/sound/max98090.c @@ -14,6 +14,7 @@ #include #include #include +#include #include "maxim_codec.h" #include "max98090.h" diff --git a/drivers/sound/sound-uclass.c b/drivers/sound/sound-uclass.c index 9aeeb8096801..92f4b0b924ba 100644 --- a/drivers/sound/sound-uclass.c +++ b/drivers/sound/sound-uclass.c @@ -10,6 +10,7 @@ #include #include #include +#include #define SOUND_BITS_IN_BYTE 8 diff --git a/drivers/spi/cadence_qspi_apb.c b/drivers/spi/cadence_qspi_apb.c index e0a2003239bb..63628692997a 100644 --- a/drivers/spi/cadence_qspi_apb.c +++ b/drivers/spi/cadence_qspi_apb.c @@ -29,6 +29,7 @@ #include #include #include +#include #include #include #include diff --git a/drivers/spi/davinci_spi.c b/drivers/spi/davinci_spi.c index 3efa8dbaf022..c00a05af7d1b 100644 --- a/drivers/spi/davinci_spi.c +++ b/drivers/spi/davinci_spi.c @@ -16,6 +16,7 @@ #include #include #include +#include /* SPIGCR0 */ #define SPIGCR0_SPIENA_MASK 0x1 diff --git a/drivers/spi/exynos_spi.c b/drivers/spi/exynos_spi.c index cded7a8ddce6..746686a18afa 100644 --- a/drivers/spi/exynos_spi.c +++ b/drivers/spi/exynos_spi.c @@ -19,6 +19,7 @@ #include #include #include +#include DECLARE_GLOBAL_DATA_PTR; diff --git a/drivers/spi/fsl_dspi.c b/drivers/spi/fsl_dspi.c index c85253dc7158..cb3d44cb0f63 100644 --- a/drivers/spi/fsl_dspi.c +++ b/drivers/spi/fsl_dspi.c @@ -22,6 +22,7 @@ #include #endif #include +#include DECLARE_GLOBAL_DATA_PTR; diff --git a/drivers/spi/fsl_espi.c b/drivers/spi/fsl_espi.c index 67544ff522e5..ba49839107d6 100644 --- a/drivers/spi/fsl_espi.c +++ b/drivers/spi/fsl_espi.c @@ -8,6 +8,7 @@ #include #include +#include #include #include diff --git a/drivers/spi/fsl_qspi.c b/drivers/spi/fsl_qspi.c index 0ee5074269cb..de93cbda67cd 100644 --- a/drivers/spi/fsl_qspi.c +++ b/drivers/spi/fsl_qspi.c @@ -26,6 +26,7 @@ #include #include #include +#include #include #include #include diff --git a/drivers/spi/ich.c b/drivers/spi/ich.c index 537c75660247..9c42755daed8 100644 --- a/drivers/spi/ich.c +++ b/drivers/spi/ich.c @@ -25,6 +25,7 @@ #include #include #include +#include #include #include "ich.h" diff --git a/drivers/spi/mpc8xx_spi.c b/drivers/spi/mpc8xx_spi.c index b020ce2b9d77..0026ad23e376 100644 --- a/drivers/spi/mpc8xx_spi.c +++ b/drivers/spi/mpc8xx_spi.c @@ -20,6 +20,7 @@ #include #include #include +#include #include #include diff --git a/drivers/spi/mpc8xxx_spi.c b/drivers/spi/mpc8xxx_spi.c index 8aedd5e7058c..8491eacb1b14 100644 --- a/drivers/spi/mpc8xxx_spi.c +++ b/drivers/spi/mpc8xxx_spi.c @@ -14,6 +14,7 @@ #include #include #include +#include enum { SPI_EV_NE = BIT(31 - 22), /* Receiver Not Empty */ diff --git a/drivers/spi/mxc_spi.c b/drivers/spi/mxc_spi.c index 4865fd91f8c0..e35c6f9b4a9f 100644 --- a/drivers/spi/mxc_spi.c +++ b/drivers/spi/mxc_spi.c @@ -9,6 +9,7 @@ #include #include #include +#include #include #include #include diff --git a/drivers/spi/rk_spi.c b/drivers/spi/rk_spi.c index c5842dc92614..833cb04922eb 100644 --- a/drivers/spi/rk_spi.c +++ b/drivers/spi/rk_spi.c @@ -18,6 +18,7 @@ #include #include #include +#include #include #include #include diff --git a/drivers/spi/sh_spi.c b/drivers/spi/sh_spi.c index c58fd0ebc438..4ecfe60115b8 100644 --- a/drivers/spi/sh_spi.c +++ b/drivers/spi/sh_spi.c @@ -10,6 +10,7 @@ #include #include #include +#include #include "sh_spi.h" static void sh_spi_write(unsigned long data, unsigned long *reg) diff --git a/drivers/spi/soft_spi.c b/drivers/spi/soft_spi.c index af0dd7150f76..e5f9f49caf82 100644 --- a/drivers/spi/soft_spi.c +++ b/drivers/spi/soft_spi.c @@ -17,6 +17,7 @@ #include #include #include +#include DECLARE_GLOBAL_DATA_PTR; diff --git a/drivers/spi/stm32_qspi.c b/drivers/spi/stm32_qspi.c index ae62aebc02c0..9fc5f6e00e91 100644 --- a/drivers/spi/stm32_qspi.c +++ b/drivers/spi/stm32_qspi.c @@ -13,6 +13,7 @@ #include #include #include +#include #include #include #include diff --git a/drivers/spi/stm32_spi.c b/drivers/spi/stm32_spi.c index fdc9f952e7fa..8071de09eba2 100644 --- a/drivers/spi/stm32_spi.c +++ b/drivers/spi/stm32_spi.c @@ -13,6 +13,7 @@ #include #include #include +#include #include #include diff --git a/drivers/spi/tegra114_spi.c b/drivers/spi/tegra114_spi.c index 27409186b0c2..bf02bdb1afe5 100644 --- a/drivers/spi/tegra114_spi.c +++ b/drivers/spi/tegra114_spi.c @@ -13,6 +13,7 @@ #include #include #include +#include #include "tegra_spi.h" /* COMMAND1 */ diff --git a/drivers/spi/tegra20_sflash.c b/drivers/spi/tegra20_sflash.c index 3a1ef8c09352..1461f0942772 100644 --- a/drivers/spi/tegra20_sflash.c +++ b/drivers/spi/tegra20_sflash.c @@ -17,6 +17,7 @@ #include #include #include +#include #include "tegra_spi.h" DECLARE_GLOBAL_DATA_PTR; diff --git a/drivers/spi/tegra20_slink.c b/drivers/spi/tegra20_slink.c index f09d9603d844..dcd09508946c 100644 --- a/drivers/spi/tegra20_slink.c +++ b/drivers/spi/tegra20_slink.c @@ -14,6 +14,7 @@ #include #include #include +#include #include "tegra_spi.h" DECLARE_GLOBAL_DATA_PTR; diff --git a/drivers/spi/tegra210_qspi.c b/drivers/spi/tegra210_qspi.c index c810dc421bd2..96ab6502de11 100644 --- a/drivers/spi/tegra210_qspi.c +++ b/drivers/spi/tegra210_qspi.c @@ -15,6 +15,7 @@ #include #include #include +#include #include "tegra_spi.h" DECLARE_GLOBAL_DATA_PTR; diff --git a/drivers/spi/uniphier_spi.c b/drivers/spi/uniphier_spi.c index 57d41b778b25..42ed1ba20b02 100644 --- a/drivers/spi/uniphier_spi.c +++ b/drivers/spi/uniphier_spi.c @@ -11,6 +11,7 @@ #include #include #include +#include #include #include #include diff --git a/drivers/spi/zynq_spi.c b/drivers/spi/zynq_spi.c index b59b876a6262..e3bad5532a54 100644 --- a/drivers/spi/zynq_spi.c +++ b/drivers/spi/zynq_spi.c @@ -13,6 +13,7 @@ #include #include #include +#include DECLARE_GLOBAL_DATA_PTR; diff --git a/drivers/sysreset/sysreset-uclass.c b/drivers/sysreset/sysreset-uclass.c index d43c7b70034a..995240f0cbc0 100644 --- a/drivers/sysreset/sysreset-uclass.c +++ b/drivers/sysreset/sysreset-uclass.c @@ -18,6 +18,7 @@ #include #include #include +#include #include int sysreset_request(struct udevice *dev, enum sysreset_t type) diff --git a/drivers/sysreset/sysreset_mpc83xx.c b/drivers/sysreset/sysreset_mpc83xx.c index ff08d356bfe8..456f006bc126 100644 --- a/drivers/sysreset/sysreset_mpc83xx.c +++ b/drivers/sysreset/sysreset_mpc83xx.c @@ -10,6 +10,7 @@ #include #include #include +#include #include "sysreset_mpc83xx.h" diff --git a/drivers/thermal/imx_scu_thermal.c b/drivers/thermal/imx_scu_thermal.c index 2d3a363a20c0..321f905e3ac5 100644 --- a/drivers/thermal/imx_scu_thermal.c +++ b/drivers/thermal/imx_scu_thermal.c @@ -12,6 +12,7 @@ #include #include #include +#include #include DECLARE_GLOBAL_DATA_PTR; diff --git a/drivers/thermal/imx_thermal.c b/drivers/thermal/imx_thermal.c index da3fca90367e..101bd5ef2d74 100644 --- a/drivers/thermal/imx_thermal.c +++ b/drivers/thermal/imx_thermal.c @@ -16,6 +16,7 @@ #include #include #include +#include #include #include #include diff --git a/drivers/timer/tsc_timer.c b/drivers/timer/tsc_timer.c index 890660b44a94..93c959ff4445 100644 --- a/drivers/timer/tsc_timer.c +++ b/drivers/timer/tsc_timer.c @@ -19,6 +19,7 @@ #include #include #include +#include #define MAX_NUM_FREQS 9 diff --git a/drivers/tpm/cr50_i2c.c b/drivers/tpm/cr50_i2c.c index 026adbd737b3..1942c07c605c 100644 --- a/drivers/tpm/cr50_i2c.c +++ b/drivers/tpm/cr50_i2c.c @@ -18,6 +18,7 @@ #include #include #include +#include enum { TIMEOUT_INIT_MS = 30000, /* Very long timeout for TPM init */ diff --git a/drivers/tpm/tpm-uclass.c b/drivers/tpm/tpm-uclass.c index 19c0502d8738..6ea795bc0c98 100644 --- a/drivers/tpm/tpm-uclass.c +++ b/drivers/tpm/tpm-uclass.c @@ -7,6 +7,7 @@ #include #include #include +#include #include #include #include diff --git a/drivers/tpm/tpm2_tis_spi.c b/drivers/tpm/tpm2_tis_spi.c index 713111f6c3ea..03918ed6a743 100644 --- a/drivers/tpm/tpm2_tis_spi.c +++ b/drivers/tpm/tpm2_tis_spi.c @@ -19,6 +19,7 @@ #include #include #include +#include #include #include #include diff --git a/drivers/tpm/tpm_atmel_twi.c b/drivers/tpm/tpm_atmel_twi.c index 2079ea913e44..d9e4877c5c26 100644 --- a/drivers/tpm/tpm_atmel_twi.c +++ b/drivers/tpm/tpm_atmel_twi.c @@ -10,6 +10,7 @@ #include #include #include +#include #include "tpm_internal.h" diff --git a/drivers/tpm/tpm_tis_infineon.c b/drivers/tpm/tpm_tis_infineon.c index b007c7ec6fc9..f47813e76d09 100644 --- a/drivers/tpm/tpm_tis_infineon.c +++ b/drivers/tpm/tpm_tis_infineon.c @@ -25,6 +25,7 @@ #include #include #include +#include #include #include #include diff --git a/drivers/tpm/tpm_tis_lpc.c b/drivers/tpm/tpm_tis_lpc.c index da4269a56eda..2dd374cf77d1 100644 --- a/drivers/tpm/tpm_tis_lpc.c +++ b/drivers/tpm/tpm_tis_lpc.c @@ -18,6 +18,7 @@ #include #include #include +#include #define PREFIX "lpc_tpm: " diff --git a/drivers/tpm/tpm_tis_st33zp24_i2c.c b/drivers/tpm/tpm_tis_st33zp24_i2c.c index c8f826581358..a253ee150270 100644 --- a/drivers/tpm/tpm_tis_st33zp24_i2c.c +++ b/drivers/tpm/tpm_tis_st33zp24_i2c.c @@ -19,6 +19,7 @@ #include #include #include +#include #include #include diff --git a/drivers/tpm/tpm_tis_st33zp24_spi.c b/drivers/tpm/tpm_tis_st33zp24_spi.c index 8e7b297fe21e..ef54e3b7b293 100644 --- a/drivers/tpm/tpm_tis_st33zp24_spi.c +++ b/drivers/tpm/tpm_tis_st33zp24_spi.c @@ -19,6 +19,7 @@ #include #include #include +#include #include #include #include diff --git a/drivers/ufs/ufs.c b/drivers/ufs/ufs.c index bbb18e89e0f5..136dab5602ee 100644 --- a/drivers/ufs/ufs.c +++ b/drivers/ufs/ufs.c @@ -19,6 +19,7 @@ #include #include #include +#include #include diff --git a/drivers/usb/cdns3/ep0.c b/drivers/usb/cdns3/ep0.c index 4266bd630c30..4a6374c49285 100644 --- a/drivers/usb/cdns3/ep0.c +++ b/drivers/usb/cdns3/ep0.c @@ -13,6 +13,7 @@ #include #include #include +#include #include #include diff --git a/drivers/usb/cdns3/gadget.c b/drivers/usb/cdns3/gadget.c index caed27c32f92..f5b6e5be64f7 100644 --- a/drivers/usb/cdns3/gadget.c +++ b/drivers/usb/cdns3/gadget.c @@ -59,6 +59,7 @@ #include #include #include +#include #include #include #include diff --git a/drivers/usb/dwc3/core.c b/drivers/usb/dwc3/core.c index f21dd2bad8ae..8d418c9412bb 100644 --- a/drivers/usb/dwc3/core.c +++ b/drivers/usb/dwc3/core.c @@ -20,6 +20,7 @@ #include #include #include +#include #include #include #include diff --git a/drivers/usb/dwc3/dwc3-meson-g12a.c b/drivers/usb/dwc3/dwc3-meson-g12a.c index f66f08345309..6567502cdd1f 100644 --- a/drivers/usb/dwc3/dwc3-meson-g12a.c +++ b/drivers/usb/dwc3/dwc3-meson-g12a.c @@ -14,6 +14,7 @@ #include #include #include +#include #include #include #include diff --git a/drivers/usb/dwc3/gadget.c b/drivers/usb/dwc3/gadget.c index 8945abc396af..2aec874e1ded 100644 --- a/drivers/usb/dwc3/gadget.c +++ b/drivers/usb/dwc3/gadget.c @@ -20,6 +20,7 @@ #include #include #include +#include #include #include diff --git a/drivers/usb/dwc3/samsung_usb_phy.c b/drivers/usb/dwc3/samsung_usb_phy.c index 677061458cc4..abbd41368901 100644 --- a/drivers/usb/dwc3/samsung_usb_phy.c +++ b/drivers/usb/dwc3/samsung_usb_phy.c @@ -10,6 +10,7 @@ #include #include #include +#include void exynos5_usb3_phy_init(struct exynos_usb3_phy *phy) { diff --git a/drivers/usb/dwc3/ti_usb_phy.c b/drivers/usb/dwc3/ti_usb_phy.c index 6b0166a1e060..ade3a7f85c03 100644 --- a/drivers/usb/dwc3/ti_usb_phy.c +++ b/drivers/usb/dwc3/ti_usb_phy.c @@ -21,6 +21,7 @@ #include #include #include +#include #include #include #include diff --git a/drivers/usb/eth/asix.c b/drivers/usb/eth/asix.c index 5f56f6f2dde4..db75ae2498c2 100644 --- a/drivers/usb/eth/asix.c +++ b/drivers/usb/eth/asix.c @@ -12,6 +12,7 @@ #include #include #include +#include #include #include "usb_ether.h" diff --git a/drivers/usb/eth/asix88179.c b/drivers/usb/eth/asix88179.c index b4a56390b324..381bef2bed8d 100644 --- a/drivers/usb/eth/asix88179.c +++ b/drivers/usb/eth/asix88179.c @@ -10,6 +10,7 @@ #include #include #include +#include #include #include "usb_ether.h" #include diff --git a/drivers/usb/eth/mcs7830.c b/drivers/usb/eth/mcs7830.c index b8fe65237d57..0cb7dbc8fb86 100644 --- a/drivers/usb/eth/mcs7830.c +++ b/drivers/usb/eth/mcs7830.c @@ -14,6 +14,7 @@ #include #include #include +#include #include #include #include diff --git a/drivers/usb/eth/r8152.c b/drivers/usb/eth/r8152.c index 1454d98d8f88..61b8683230df 100644 --- a/drivers/usb/eth/r8152.c +++ b/drivers/usb/eth/r8152.c @@ -12,6 +12,7 @@ #include #include #include +#include #include #include #include "usb_ether.h" diff --git a/drivers/usb/eth/r8152_fw.c b/drivers/usb/eth/r8152_fw.c index 4bf4066d7a49..d564de285f10 100644 --- a/drivers/usb/eth/r8152_fw.c +++ b/drivers/usb/eth/r8152_fw.c @@ -6,6 +6,7 @@ #include #include #include +#include #include "usb_ether.h" #include "r8152.h" diff --git a/drivers/usb/eth/smsc95xx.c b/drivers/usb/eth/smsc95xx.c index 82fea742b06b..d3532df141fa 100644 --- a/drivers/usb/eth/smsc95xx.c +++ b/drivers/usb/eth/smsc95xx.c @@ -15,6 +15,7 @@ #include #include #include +#include #include #include "usb_ether.h" diff --git a/drivers/usb/gadget/bcm_udc_otg_phy.c b/drivers/usb/gadget/bcm_udc_otg_phy.c index 3ecb669507bd..c89cd57c253d 100644 --- a/drivers/usb/gadget/bcm_udc_otg_phy.c +++ b/drivers/usb/gadget/bcm_udc_otg_phy.c @@ -8,6 +8,7 @@ #include #include #include +#include #include "dwc2_udc_otg_priv.h" #include "bcm_udc_otg.h" diff --git a/drivers/usb/gadget/ci_udc.c b/drivers/usb/gadget/ci_udc.c index 5677eab42614..cdbdbcc5cac1 100644 --- a/drivers/usb/gadget/ci_udc.c +++ b/drivers/usb/gadget/ci_udc.c @@ -15,6 +15,7 @@ #include #include #include +#include #include #include #include diff --git a/drivers/usb/gadget/designware_udc.c b/drivers/usb/gadget/designware_udc.c index 70c5c678c3be..7fc5d27d436f 100644 --- a/drivers/usb/gadget/designware_udc.c +++ b/drivers/usb/gadget/designware_udc.c @@ -10,6 +10,7 @@ #include #include #include +#include #include #include diff --git a/drivers/usb/gadget/dwc2_udc_otg.c b/drivers/usb/gadget/dwc2_udc_otg.c index 32bf92752d42..eaa5dcb9b138 100644 --- a/drivers/usb/gadget/dwc2_udc_otg.c +++ b/drivers/usb/gadget/dwc2_udc_otg.c @@ -27,6 +27,7 @@ #include #include #include +#include #include #include diff --git a/drivers/usb/gadget/dwc2_udc_otg_phy.c b/drivers/usb/gadget/dwc2_udc_otg_phy.c index c4338af0d733..7f8e9564b9e5 100644 --- a/drivers/usb/gadget/dwc2_udc_otg_phy.c +++ b/drivers/usb/gadget/dwc2_udc_otg_phy.c @@ -18,6 +18,7 @@ */ #include +#include #include #include #include diff --git a/drivers/usb/gadget/f_thor.c b/drivers/usb/gadget/f_thor.c index 900eb963776d..88fc87f2e907 100644 --- a/drivers/usb/gadget/f_thor.c +++ b/drivers/usb/gadget/f_thor.c @@ -23,6 +23,7 @@ #include #include #include +#include #include #include #include diff --git a/drivers/usb/gadget/fotg210.c b/drivers/usb/gadget/fotg210.c index 4211eea3a4d6..af43433d88d6 100644 --- a/drivers/usb/gadget/fotg210.c +++ b/drivers/usb/gadget/fotg210.c @@ -14,6 +14,7 @@ #include #include #include +#include #include #include #include diff --git a/drivers/usb/gadget/pxa25x_udc.c b/drivers/usb/gadget/pxa25x_udc.c index ebf1f4eb553b..d19ac1d03531 100644 --- a/drivers/usb/gadget/pxa25x_udc.c +++ b/drivers/usb/gadget/pxa25x_udc.c @@ -29,6 +29,7 @@ #include #include #include +#include #include #include diff --git a/drivers/usb/gadget/pxa27x_udc.c b/drivers/usb/gadget/pxa27x_udc.c index 15c43782b807..ba362b8f2582 100644 --- a/drivers/usb/gadget/pxa27x_udc.c +++ b/drivers/usb/gadget/pxa27x_udc.c @@ -13,6 +13,7 @@ #include #include #include +#include #include #include diff --git a/drivers/usb/host/dwc2.c b/drivers/usb/host/dwc2.c index 0d694f3d39a5..cefe9d83b1dc 100644 --- a/drivers/usb/host/dwc2.c +++ b/drivers/usb/host/dwc2.c @@ -20,6 +20,7 @@ #include #include #include +#include #include #include diff --git a/drivers/usb/host/ehci-exynos.c b/drivers/usb/host/ehci-exynos.c index 9093e029ea68..0b0b2137c763 100644 --- a/drivers/usb/host/ehci-exynos.c +++ b/drivers/usb/host/ehci-exynos.c @@ -10,6 +10,7 @@ #include #include #include +#include #include #include #include diff --git a/drivers/usb/host/ehci-faraday.c b/drivers/usb/host/ehci-faraday.c index f46bdb441d3a..b61b5382df41 100644 --- a/drivers/usb/host/ehci-faraday.c +++ b/drivers/usb/host/ehci-faraday.c @@ -10,6 +10,7 @@ #include #include #include +#include #include #include diff --git a/drivers/usb/host/ehci-fsl.c b/drivers/usb/host/ehci-fsl.c index 75d24ae0155c..ac6c5b58452e 100644 --- a/drivers/usb/host/ehci-fsl.c +++ b/drivers/usb/host/ehci-fsl.c @@ -13,6 +13,7 @@ #include #include #include +#include #include #include #include diff --git a/drivers/usb/host/ehci-hcd.c b/drivers/usb/host/ehci-hcd.c index 1e03c83fe6b4..f79f06320bfb 100644 --- a/drivers/usb/host/ehci-hcd.c +++ b/drivers/usb/host/ehci-hcd.c @@ -21,6 +21,7 @@ #include #include #include +#include #include "ehci.h" diff --git a/drivers/usb/host/ehci-marvell.c b/drivers/usb/host/ehci-marvell.c index 75dfaf8b3bd9..8fe685af26aa 100644 --- a/drivers/usb/host/ehci-marvell.c +++ b/drivers/usb/host/ehci-marvell.c @@ -9,6 +9,7 @@ #include #include #include +#include #include "ehci.h" #include #include diff --git a/drivers/usb/host/ehci-mx5.c b/drivers/usb/host/ehci-mx5.c index 82f99e924e4b..212b3623325d 100644 --- a/drivers/usb/host/ehci-mx5.c +++ b/drivers/usb/host/ehci-mx5.c @@ -9,6 +9,7 @@ #include #include #include +#include #include #include #include diff --git a/drivers/usb/host/ehci-mx6.c b/drivers/usb/host/ehci-mx6.c index 8fcb82e14c29..24f8ad7af84a 100644 --- a/drivers/usb/host/ehci-mx6.c +++ b/drivers/usb/host/ehci-mx6.c @@ -10,6 +10,7 @@ #include #include #include +#include #include #include #include diff --git a/drivers/usb/host/ehci-mxc.c b/drivers/usb/host/ehci-mxc.c index 4941cb94575b..d0b7ac512e80 100644 --- a/drivers/usb/host/ehci-mxc.c +++ b/drivers/usb/host/ehci-mxc.c @@ -8,6 +8,7 @@ #include #include #include +#include #include #include diff --git a/drivers/usb/host/ehci-mxs.c b/drivers/usb/host/ehci-mxs.c index 8e8f6d492897..824c620e6387 100644 --- a/drivers/usb/host/ehci-mxs.c +++ b/drivers/usb/host/ehci-mxs.c @@ -10,6 +10,7 @@ #include #include #include +#include #include "ehci.h" diff --git a/drivers/usb/host/ehci-omap.c b/drivers/usb/host/ehci-omap.c index a5061f7726cf..5fee5371400c 100644 --- a/drivers/usb/host/ehci-omap.c +++ b/drivers/usb/host/ehci-omap.c @@ -13,6 +13,7 @@ #include #include #include +#include #include #include #include diff --git a/drivers/usb/host/ehci-rmobile.c b/drivers/usb/host/ehci-rmobile.c index 4868581066f4..130b73dfe49d 100644 --- a/drivers/usb/host/ehci-rmobile.c +++ b/drivers/usb/host/ehci-rmobile.c @@ -9,6 +9,7 @@ #include #include #include +#include #include "ehci.h" #if defined(CONFIG_R8A7740) diff --git a/drivers/usb/host/ehci-spear.c b/drivers/usb/host/ehci-spear.c index 8f5bfd5ed89e..3e87e0c7fd8a 100644 --- a/drivers/usb/host/ehci-spear.c +++ b/drivers/usb/host/ehci-spear.c @@ -12,6 +12,7 @@ #include #include #include +#include #include "ehci.h" #include #include diff --git a/drivers/usb/host/ehci-tegra.c b/drivers/usb/host/ehci-tegra.c index 55fe6fec9a66..d81f4a03f149 100644 --- a/drivers/usb/host/ehci-tegra.c +++ b/drivers/usb/host/ehci-tegra.c @@ -8,6 +8,7 @@ #include #include #include +#include #include #include #include diff --git a/drivers/usb/host/ehci-vf.c b/drivers/usb/host/ehci-vf.c index ba6eecada120..562207d3d26c 100644 --- a/drivers/usb/host/ehci-vf.c +++ b/drivers/usb/host/ehci-vf.c @@ -19,6 +19,7 @@ #include #include #include +#include #include #include #include diff --git a/drivers/usb/host/ohci-hcd.c b/drivers/usb/host/ohci-hcd.c index ac1ad29b02b8..c62d8feecce1 100644 --- a/drivers/usb/host/ohci-hcd.c +++ b/drivers/usb/host/ohci-hcd.c @@ -33,6 +33,7 @@ #include #include #include +#include #if defined(CONFIG_PCI_OHCI) # include diff --git a/drivers/usb/host/r8a66597-hcd.c b/drivers/usb/host/r8a66597-hcd.c index d790839fda53..37aa2c55f241 100644 --- a/drivers/usb/host/r8a66597-hcd.c +++ b/drivers/usb/host/r8a66597-hcd.c @@ -12,6 +12,7 @@ #include #include #include +#include #include #include diff --git a/drivers/usb/host/sl811-hcd.c b/drivers/usb/host/sl811-hcd.c index e08da6130bd5..7c823f241a85 100644 --- a/drivers/usb/host/sl811-hcd.c +++ b/drivers/usb/host/sl811-hcd.c @@ -21,6 +21,7 @@ #include #include #include +#include #include "sl811.h" #include "../../../board/kup/common/kup.h" diff --git a/drivers/usb/host/utmi-armada100.c b/drivers/usb/host/utmi-armada100.c index 8a40f6644708..5d66e5881f32 100644 --- a/drivers/usb/host/utmi-armada100.c +++ b/drivers/usb/host/utmi-armada100.c @@ -14,6 +14,7 @@ #include #include #include +#include static int utmi_phy_init(void) { diff --git a/drivers/usb/host/xhci-dwc3.c b/drivers/usb/host/xhci-dwc3.c index 37b59c80fd82..cf72f0236d4f 100644 --- a/drivers/usb/host/xhci-dwc3.c +++ b/drivers/usb/host/xhci-dwc3.c @@ -13,6 +13,7 @@ #include #include #include +#include #include #include diff --git a/drivers/usb/host/xhci-exynos5.c b/drivers/usb/host/xhci-exynos5.c index 76aa431243a8..1705accbde1c 100644 --- a/drivers/usb/host/xhci-exynos5.c +++ b/drivers/usb/host/xhci-exynos5.c @@ -16,6 +16,7 @@ #include #include #include +#include #include #include #include diff --git a/drivers/usb/host/xhci.c b/drivers/usb/host/xhci.c index ec57f725d3ff..963cc3c3c532 100644 --- a/drivers/usb/host/xhci.c +++ b/drivers/usb/host/xhci.c @@ -30,6 +30,7 @@ #include #include #include +#include #include #include diff --git a/drivers/usb/musb-new/am35x.c b/drivers/usb/musb-new/am35x.c index 69d6104044fd..0a52e09e19f1 100644 --- a/drivers/usb/musb-new/am35x.c +++ b/drivers/usb/musb-new/am35x.c @@ -27,6 +27,7 @@ #include #include #include +#include #include "linux-compat.h" #endif diff --git a/drivers/usb/musb-new/da8xx.c b/drivers/usb/musb-new/da8xx.c index 1f6e51ed983a..67488ddb5049 100644 --- a/drivers/usb/musb-new/da8xx.c +++ b/drivers/usb/musb-new/da8xx.c @@ -21,6 +21,7 @@ #include #include #include +#include #include #include #include diff --git a/drivers/usb/musb-new/linux-compat.h b/drivers/usb/musb-new/linux-compat.h index f366ae58e877..733b197f593d 100644 --- a/drivers/usb/musb-new/linux-compat.h +++ b/drivers/usb/musb-new/linux-compat.h @@ -2,6 +2,7 @@ #define __LINUX_COMPAT_H__ #include +#include #include #include diff --git a/drivers/usb/musb-new/mt85xx.c b/drivers/usb/musb-new/mt85xx.c index 131fd7dd79fa..c281c38a2880 100644 --- a/drivers/usb/musb-new/mt85xx.c +++ b/drivers/usb/musb-new/mt85xx.c @@ -14,6 +14,7 @@ #include #include #include +#include #include #include #include "linux-compat.h" diff --git a/drivers/usb/musb-new/musb_uboot.c b/drivers/usb/musb-new/musb_uboot.c index 72f14b934387..988071a61d11 100644 --- a/drivers/usb/musb-new/musb_uboot.c +++ b/drivers/usb/musb-new/musb_uboot.c @@ -2,6 +2,7 @@ #include #include #include +#include #include #include #include diff --git a/drivers/usb/musb-new/pic32.c b/drivers/usb/musb-new/pic32.c index c7867fef8acb..66e8e9ce886f 100644 --- a/drivers/usb/musb-new/pic32.c +++ b/drivers/usb/musb-new/pic32.c @@ -11,6 +11,7 @@ #include #include +#include #include #include "linux-compat.h" #include "musb_core.h" diff --git a/drivers/usb/musb-new/sunxi.c b/drivers/usb/musb-new/sunxi.c index 1c32f3fc0689..a29d10d33545 100644 --- a/drivers/usb/musb-new/sunxi.c +++ b/drivers/usb/musb-new/sunxi.c @@ -30,6 +30,7 @@ #include #include #include +#include #include #include "linux-compat.h" #include "musb_core.h" diff --git a/drivers/usb/musb/am35x.c b/drivers/usb/musb/am35x.c index 0617364f3584..f945f1f5e2c5 100644 --- a/drivers/usb/musb/am35x.c +++ b/drivers/usb/musb/am35x.c @@ -10,6 +10,7 @@ */ #include +#include #include "am35x.h" diff --git a/drivers/usb/musb/musb_hcd.c b/drivers/usb/musb/musb_hcd.c index 632a9882b3ca..afbc648883bc 100644 --- a/drivers/usb/musb/musb_hcd.c +++ b/drivers/usb/musb/musb_hcd.c @@ -10,6 +10,7 @@ #include #include #include +#include #include "musb_hcd.h" /* MSC control transfers */ diff --git a/drivers/usb/musb/musb_udc.c b/drivers/usb/musb/musb_udc.c index 4d7723621d0b..d901f8777c2c 100644 --- a/drivers/usb/musb/musb_udc.c +++ b/drivers/usb/musb/musb_udc.c @@ -41,6 +41,7 @@ #include #include #include +#include #include #include "../gadget/ep0.h" #include "musb_core.h" diff --git a/drivers/usb/phy/omap_usb_phy.c b/drivers/usb/phy/omap_usb_phy.c index 9209942430a4..be733f39b23f 100644 --- a/drivers/usb/phy/omap_usb_phy.c +++ b/drivers/usb/phy/omap_usb_phy.c @@ -11,6 +11,7 @@ #include #include #include +#include #include #include #include diff --git a/drivers/usb/phy/rockchip_usb2_phy.c b/drivers/usb/phy/rockchip_usb2_phy.c index 24ea8d8c312a..6a60523e0f84 100644 --- a/drivers/usb/phy/rockchip_usb2_phy.c +++ b/drivers/usb/phy/rockchip_usb2_phy.c @@ -7,6 +7,7 @@ #include #include #include +#include #include "../gadget/dwc2_udc_otg_priv.h" diff --git a/drivers/usb/phy/twl4030.c b/drivers/usb/phy/twl4030.c index d2945d1417b1..676868bead36 100644 --- a/drivers/usb/phy/twl4030.c +++ b/drivers/usb/phy/twl4030.c @@ -24,6 +24,7 @@ */ #include +#include /* Defines for bits in registers */ #define OPMODE_MASK (3 << 3) diff --git a/drivers/usb/ulpi/omap-ulpi-viewport.c b/drivers/usb/ulpi/omap-ulpi-viewport.c index 26299e04d546..8b930e3fa919 100644 --- a/drivers/usb/ulpi/omap-ulpi-viewport.c +++ b/drivers/usb/ulpi/omap-ulpi-viewport.c @@ -10,6 +10,7 @@ #include #include #include +#include #include #define OMAP_ULPI_WR_OPSEL (2 << 22) diff --git a/drivers/usb/ulpi/ulpi-viewport.c b/drivers/usb/ulpi/ulpi-viewport.c index a2158c9bb85c..3bb152be8939 100644 --- a/drivers/usb/ulpi/ulpi-viewport.c +++ b/drivers/usb/ulpi/ulpi-viewport.c @@ -15,6 +15,7 @@ #include #include +#include #include /* ULPI viewport control bits */ diff --git a/drivers/usb/ulpi/ulpi.c b/drivers/usb/ulpi/ulpi.c index e8499bfdeeca..dd0da0e841e5 100644 --- a/drivers/usb/ulpi/ulpi.c +++ b/drivers/usb/ulpi/ulpi.c @@ -22,6 +22,7 @@ #include #include #include +#include #include #define ULPI_ID_REGS_COUNT 4 diff --git a/drivers/video/am335x-fb.c b/drivers/video/am335x-fb.c index b1e67cc42b27..2707ff59c7d3 100644 --- a/drivers/video/am335x-fb.c +++ b/drivers/video/am335x-fb.c @@ -22,6 +22,7 @@ #include #include #include +#include #include #include "am335x-fb.h" diff --git a/drivers/video/anx9804.c b/drivers/video/anx9804.c index fc2f431b9c96..b050c4292f64 100644 --- a/drivers/video/anx9804.c +++ b/drivers/video/anx9804.c @@ -11,6 +11,7 @@ #include #include +#include #include "anx98xx-edp.h" #include "anx9804.h" diff --git a/drivers/video/ati_radeon_fb.c b/drivers/video/ati_radeon_fb.c index 6fce03363690..c4da2e3ae7f2 100644 --- a/drivers/video/ati_radeon_fb.c +++ b/drivers/video/ati_radeon_fb.c @@ -16,6 +16,7 @@ */ #include +#include #include #include diff --git a/drivers/video/atmel_lcdfb.c b/drivers/video/atmel_lcdfb.c index f66ce2cd6357..ae8ec26468f0 100644 --- a/drivers/video/atmel_lcdfb.c +++ b/drivers/video/atmel_lcdfb.c @@ -18,6 +18,7 @@ #include #include #include +#include DECLARE_GLOBAL_DATA_PTR; diff --git a/drivers/video/bridge/anx6345.c b/drivers/video/bridge/anx6345.c index 6a30a5e6a65c..1c5270ff05ce 100644 --- a/drivers/video/bridge/anx6345.c +++ b/drivers/video/bridge/anx6345.c @@ -10,6 +10,7 @@ #include #include #include +#include #include "../anx98xx-edp.h" #define DP_MAX_LINK_RATE 0x001 diff --git a/drivers/video/bridge/ps862x.c b/drivers/video/bridge/ps862x.c index 52e7d697eca9..8399c6f74cf8 100644 --- a/drivers/video/bridge/ps862x.c +++ b/drivers/video/bridge/ps862x.c @@ -10,6 +10,7 @@ #include #include #include +#include #include DECLARE_GLOBAL_DATA_PTR; diff --git a/drivers/video/bridge/video-bridge-uclass.c b/drivers/video/bridge/video-bridge-uclass.c index bd6635ecf5dd..389b02cdcba2 100644 --- a/drivers/video/bridge/video-bridge-uclass.c +++ b/drivers/video/bridge/video-bridge-uclass.c @@ -10,6 +10,7 @@ #include #include #include +#include int video_bridge_set_backlight(struct udevice *dev, int percent) { diff --git a/drivers/video/broadwell_igd.c b/drivers/video/broadwell_igd.c index fafde7df4b1c..8e8fe9d9b392 100644 --- a/drivers/video/broadwell_igd.c +++ b/drivers/video/broadwell_igd.c @@ -20,6 +20,7 @@ #include #include #include +#include #include "i915_reg.h" struct broadwell_igd_priv { diff --git a/drivers/video/da8xx-fb.c b/drivers/video/da8xx-fb.c index c21da6ea060d..4984dda8477d 100644 --- a/drivers/video/da8xx-fb.c +++ b/drivers/video/da8xx-fb.c @@ -17,6 +17,7 @@ #include #include #include +#include #include #include diff --git a/drivers/video/dw_hdmi.c b/drivers/video/dw_hdmi.c index daf0024c6404..c4fbb1829446 100644 --- a/drivers/video/dw_hdmi.c +++ b/drivers/video/dw_hdmi.c @@ -11,6 +11,7 @@ #include #include #include +#include #include "dw_hdmi.h" struct tmds_n_cts { diff --git a/drivers/video/dw_mipi_dsi.c b/drivers/video/dw_mipi_dsi.c index 5dd75e7ec82c..e8a3af7e6083 100644 --- a/drivers/video/dw_mipi_dsi.c +++ b/drivers/video/dw_mipi_dsi.c @@ -20,6 +20,7 @@ #include #include #include +#include #include #include diff --git a/drivers/video/exynos/exynos_dp.c b/drivers/video/exynos/exynos_dp.c index c20d3c1346cf..749bde862e0d 100644 --- a/drivers/video/exynos/exynos_dp.c +++ b/drivers/video/exynos/exynos_dp.c @@ -11,6 +11,7 @@ #include #include #include +#include #include #include #include diff --git a/drivers/video/exynos/exynos_dp_lowlevel.c b/drivers/video/exynos/exynos_dp_lowlevel.c index b835b5c38358..ae500a702804 100644 --- a/drivers/video/exynos/exynos_dp_lowlevel.c +++ b/drivers/video/exynos/exynos_dp_lowlevel.c @@ -8,6 +8,7 @@ #include #include #include +#include #include #include #include diff --git a/drivers/video/exynos/exynos_mipi_dsi_common.c b/drivers/video/exynos/exynos_mipi_dsi_common.c index 48edb9c55fd1..ab7d61afc88b 100644 --- a/drivers/video/exynos/exynos_mipi_dsi_common.c +++ b/drivers/video/exynos/exynos_mipi_dsi_common.c @@ -9,6 +9,7 @@ #include #include #include +#include #include #include #include diff --git a/drivers/video/exynos/exynos_mipi_dsi_lowlevel.c b/drivers/video/exynos/exynos_mipi_dsi_lowlevel.c index 1b6e71dfaf85..8111acd9a0b5 100644 --- a/drivers/video/exynos/exynos_mipi_dsi_lowlevel.c +++ b/drivers/video/exynos/exynos_mipi_dsi_lowlevel.c @@ -11,6 +11,7 @@ #include #include #include +#include #include "exynos_mipi_dsi_lowlevel.h" #include "exynos_mipi_dsi_common.h" diff --git a/drivers/video/formike.c b/drivers/video/formike.c index 1e2febd79647..5cbe50d4cbd2 100644 --- a/drivers/video/formike.c +++ b/drivers/video/formike.c @@ -9,6 +9,7 @@ #include #include #include +#include #define TAG_READ 0x80 #define TAG_WRITE 0x00 diff --git a/drivers/video/hitachi_tx18d42vm_lcd.c b/drivers/video/hitachi_tx18d42vm_lcd.c index a57abd23f73b..c6c8df6a96e2 100644 --- a/drivers/video/hitachi_tx18d42vm_lcd.c +++ b/drivers/video/hitachi_tx18d42vm_lcd.c @@ -7,6 +7,7 @@ #include #include +#include #include #include diff --git a/drivers/video/imx/ipu_common.c b/drivers/video/imx/ipu_common.c index 0f24de9bf84a..5908b23acc9b 100644 --- a/drivers/video/imx/ipu_common.c +++ b/drivers/video/imx/ipu_common.c @@ -13,6 +13,7 @@ /* #define DEBUG */ #include #include +#include #include #include #include diff --git a/drivers/video/imx/ipu_disp.c b/drivers/video/imx/ipu_disp.c index 2274976c6c0e..c2f00bff18d2 100644 --- a/drivers/video/imx/ipu_disp.c +++ b/drivers/video/imx/ipu_disp.c @@ -14,6 +14,7 @@ #include #include +#include #include #include #include diff --git a/drivers/video/ivybridge_igd.c b/drivers/video/ivybridge_igd.c index 188142309151..4c57e311d163 100644 --- a/drivers/video/ivybridge_igd.c +++ b/drivers/video/ivybridge_igd.c @@ -17,6 +17,7 @@ #include #include #include +#include DECLARE_GLOBAL_DATA_PTR; diff --git a/drivers/video/ld9040.c b/drivers/video/ld9040.c index 93aea05ff847..a36bc2f06cb3 100644 --- a/drivers/video/ld9040.c +++ b/drivers/video/ld9040.c @@ -8,6 +8,7 @@ #include #include +#include static const unsigned char SEQ_USER_SETTING[] = { 0xF0, 0x5A, 0x5A diff --git a/drivers/video/lg4573.c b/drivers/video/lg4573.c index 8b458e28dc8b..45df9c13474e 100644 --- a/drivers/video/lg4573.c +++ b/drivers/video/lg4573.c @@ -15,6 +15,7 @@ #include #include #include +#include #define PWR_ON_DELAY_MSECS 120 diff --git a/drivers/video/logicore_dp_tx.c b/drivers/video/logicore_dp_tx.c index 84fafe434102..9bc4bbb85d39 100644 --- a/drivers/video/logicore_dp_tx.c +++ b/drivers/video/logicore_dp_tx.c @@ -14,6 +14,7 @@ #include #include #include +#include #include "axi.h" #include "logicore_dp_dpcd.h" diff --git a/drivers/video/mali_dp.c b/drivers/video/mali_dp.c index 87a75a9ca2ab..1e6da0e1e25f 100644 --- a/drivers/video/mali_dp.c +++ b/drivers/video/mali_dp.c @@ -18,6 +18,7 @@ #include #include #include +#include #include #define MALIDP_CORE_ID 0x0018 diff --git a/drivers/video/mb862xx.c b/drivers/video/mb862xx.c index a3a7a8dd98da..04e435f913c7 100644 --- a/drivers/video/mb862xx.c +++ b/drivers/video/mb862xx.c @@ -10,6 +10,7 @@ */ #include +#include #include #include diff --git a/drivers/video/mvebu_lcd.c b/drivers/video/mvebu_lcd.c index d5ed8d009627..f3cb2bfb480c 100644 --- a/drivers/video/mvebu_lcd.c +++ b/drivers/video/mvebu_lcd.c @@ -11,6 +11,7 @@ #include #include #include +#include #include #include #include diff --git a/drivers/video/mx3fb.c b/drivers/video/mx3fb.c index 4b8712fb691c..9b42ca8d03f0 100644 --- a/drivers/video/mx3fb.c +++ b/drivers/video/mx3fb.c @@ -10,6 +10,7 @@ #include #include #include +#include #include #include diff --git a/drivers/video/mxsfb.c b/drivers/video/mxsfb.c index 0235731c5c76..6589a2a09d23 100644 --- a/drivers/video/mxsfb.c +++ b/drivers/video/mxsfb.c @@ -11,6 +11,7 @@ #include #include #include +#include #include #include #include diff --git a/drivers/video/orisetech_otm8009a.c b/drivers/video/orisetech_otm8009a.c index 650ed0723932..b1f2dd403ef2 100644 --- a/drivers/video/orisetech_otm8009a.c +++ b/drivers/video/orisetech_otm8009a.c @@ -14,6 +14,7 @@ #include #include #include +#include #include #define OTM8009A_BACKLIGHT_DEFAULT 240 diff --git a/drivers/video/pwm_backlight.c b/drivers/video/pwm_backlight.c index 149fbaef0601..468a5703bdbd 100644 --- a/drivers/video/pwm_backlight.c +++ b/drivers/video/pwm_backlight.c @@ -13,6 +13,7 @@ #include #include #include +#include #include /** diff --git a/drivers/video/raydium-rm68200.c b/drivers/video/raydium-rm68200.c index 853dbc52d612..9169280fb8bc 100644 --- a/drivers/video/raydium-rm68200.c +++ b/drivers/video/raydium-rm68200.c @@ -14,6 +14,7 @@ #include #include #include +#include #include /*** Manufacturer Command Set ***/ diff --git a/drivers/video/rockchip/rk3288_vop.c b/drivers/video/rockchip/rk3288_vop.c index 0f91dab1f255..25ef25b870b0 100644 --- a/drivers/video/rockchip/rk3288_vop.c +++ b/drivers/video/rockchip/rk3288_vop.c @@ -15,6 +15,7 @@ #include #include #include +#include #include "rk_vop.h" DECLARE_GLOBAL_DATA_PTR; diff --git a/drivers/video/rockchip/rk_edp.c b/drivers/video/rockchip/rk_edp.c index 49ed5aaae6a2..92188be92757 100644 --- a/drivers/video/rockchip/rk_edp.c +++ b/drivers/video/rockchip/rk_edp.c @@ -21,6 +21,7 @@ #include #include #include +#include #define MAX_CR_LOOP 5 #define MAX_EQ_LOOP 5 diff --git a/drivers/video/s6e8ax0.c b/drivers/video/s6e8ax0.c index 9c7b5f6ab380..497258f3de92 100644 --- a/drivers/video/s6e8ax0.c +++ b/drivers/video/s6e8ax0.c @@ -7,6 +7,7 @@ #include #include +#include #include "exynos/exynos_mipi_dsi_lowlevel.h" #include "exynos/exynos_mipi_dsi_common.h" diff --git a/drivers/video/scf0403_lcd.c b/drivers/video/scf0403_lcd.c index 60075a6cf325..54f0f88b4c90 100644 --- a/drivers/video/scf0403_lcd.c +++ b/drivers/video/scf0403_lcd.c @@ -17,6 +17,7 @@ #include #include #include +#include struct scf0403_cmd { u16 cmd; diff --git a/drivers/video/ssd2828.c b/drivers/video/ssd2828.c index 83566bc6d667..4cdcbe7755ae 100644 --- a/drivers/video/ssd2828.c +++ b/drivers/video/ssd2828.c @@ -14,6 +14,7 @@ #include #include #include +#include #include "videomodes.h" #include "ssd2828.h" diff --git a/drivers/video/sunxi/lcdc.c b/drivers/video/sunxi/lcdc.c index e8da302303f9..73033c3b8589 100644 --- a/drivers/video/sunxi/lcdc.c +++ b/drivers/video/sunxi/lcdc.c @@ -9,6 +9,7 @@ #include #include +#include #include #include diff --git a/drivers/video/sunxi/sunxi_display.c b/drivers/video/sunxi/sunxi_display.c index c4c1d1b8d3da..f52aba4d21c0 100644 --- a/drivers/video/sunxi/sunxi_display.c +++ b/drivers/video/sunxi/sunxi_display.c @@ -11,6 +11,7 @@ #include #include #include +#include #include #include diff --git a/drivers/video/sunxi/sunxi_dw_hdmi.c b/drivers/video/sunxi/sunxi_dw_hdmi.c index 546b863b64b8..cf2d6a772be6 100644 --- a/drivers/video/sunxi/sunxi_dw_hdmi.c +++ b/drivers/video/sunxi/sunxi_dw_hdmi.c @@ -15,6 +15,7 @@ #include #include #include +#include struct sunxi_dw_hdmi_priv { struct dw_hdmi hdmi; diff --git a/drivers/video/tda19988.c b/drivers/video/tda19988.c index 01ed6193ea4b..4223d5f789bc 100644 --- a/drivers/video/tda19988.c +++ b/drivers/video/tda19988.c @@ -9,6 +9,7 @@ #include #include #include +#include /* * TDA19988 uses paged registers. We encode the page# in the upper diff --git a/drivers/video/tegra124/display.c b/drivers/video/tegra124/display.c index 0aa9541101db..6c2793226395 100644 --- a/drivers/video/tegra124/display.c +++ b/drivers/video/tegra124/display.c @@ -22,6 +22,7 @@ #include #include #include +#include #include "displayport.h" /* return in 1000ths of a Hertz */ diff --git a/drivers/video/tegra124/dp.c b/drivers/video/tegra124/dp.c index e90210b695c6..59758eb93614 100644 --- a/drivers/video/tegra124/dp.c +++ b/drivers/video/tegra124/dp.c @@ -13,6 +13,7 @@ #include #include #include +#include #include "display.h" #include "edid.h" #include "sor.h" diff --git a/drivers/video/tegra124/sor.c b/drivers/video/tegra124/sor.c index 0d35a3eb621d..49f33c15b5c6 100644 --- a/drivers/video/tegra124/sor.c +++ b/drivers/video/tegra124/sor.c @@ -14,6 +14,7 @@ #include #include #include +#include #include "displayport.h" #include "sor.h" #include diff --git a/drivers/virtio/virtio_pci_modern.c b/drivers/virtio/virtio_pci_modern.c index 64430f3b196d..2e5bbade0021 100644 --- a/drivers/virtio/virtio_pci_modern.c +++ b/drivers/virtio/virtio_pci_modern.c @@ -15,6 +15,7 @@ #include #include #include +#include #include #include #include "virtio_pci.h" diff --git a/drivers/w1/mxc_w1.c b/drivers/w1/mxc_w1.c index 08715c6a666a..1881a3b1f14c 100644 --- a/drivers/w1/mxc_w1.c +++ b/drivers/w1/mxc_w1.c @@ -21,6 +21,7 @@ #include #include #include +#include #include #include diff --git a/drivers/w1/w1-gpio.c b/drivers/w1/w1-gpio.c index 90821cf73bfb..45ad47a5d6bd 100644 --- a/drivers/w1/w1-gpio.c +++ b/drivers/w1/w1-gpio.c @@ -11,6 +11,7 @@ #include #include #include +#include #include diff --git a/examples/api/libgenwrap.c b/examples/api/libgenwrap.c index 51d6273a9302..3aa222866ff5 100644 --- a/examples/api/libgenwrap.c +++ b/examples/api/libgenwrap.c @@ -12,6 +12,7 @@ #include #include #include +#include #include #include diff --git a/examples/standalone/atmel_df_pow2.c b/examples/standalone/atmel_df_pow2.c index b71b4061260e..9c74f4994b95 100644 --- a/examples/standalone/atmel_df_pow2.c +++ b/examples/standalone/atmel_df_pow2.c @@ -9,6 +9,7 @@ #include #include #include +#include #define CMD_ID 0x9f #define CMD_STAT 0xd7 diff --git a/examples/standalone/smc91111_eeprom.c b/examples/standalone/smc91111_eeprom.c index 631b1b04d6f4..bf7e93064309 100644 --- a/examples/standalone/smc91111_eeprom.c +++ b/examples/standalone/smc91111_eeprom.c @@ -12,6 +12,7 @@ #include #include +#include #include "../drivers/net/smc91111.h" #ifndef SMC91111_EEPROM_INIT diff --git a/include/common.h b/include/common.h index 552cb298a2b9..f7c0f5724a33 100644 --- a/include/common.h +++ b/include/common.h @@ -17,7 +17,6 @@ #include #include #include -#include #include #include #include diff --git a/include/configs/MPC8560ADS.h b/include/configs/MPC8560ADS.h index 866049febf2c..97d8cc48edf7 100644 --- a/include/configs/MPC8560ADS.h +++ b/include/configs/MPC8560ADS.h @@ -17,6 +17,8 @@ #ifndef __CONFIG_H #define __CONFIG_H +#include + /* High Level Configuration Options */ #define CONFIG_CPM2 1 /* has CPM2 */ diff --git a/include/configs/km/km_arm.h b/include/configs/km/km_arm.h index 4e833faa8729..79edfa728a54 100644 --- a/include/configs/km/km_arm.h +++ b/include/configs/km/km_arm.h @@ -104,6 +104,7 @@ #ifndef __ASSEMBLY__ #include +#include #include extern void __set_direction(unsigned pin, int high); void set_sda(int state); diff --git a/include/exports.h b/include/exports.h index 85f9a7a7084d..b30055409164 100644 --- a/include/exports.h +++ b/include/exports.h @@ -2,6 +2,7 @@ #define __EXPORTS_H__ #include +#include #ifndef __ASSEMBLY__ #ifdef CONFIG_PHY_AQUANTIA diff --git a/include/regmap.h b/include/regmap.h index 9ada1af5ef04..30183c5e7111 100644 --- a/include/regmap.h +++ b/include/regmap.h @@ -7,6 +7,8 @@ #ifndef __REGMAP_H #define __REGMAP_H +#include + /** * DOC: Overview * diff --git a/include/xyzModem.h b/include/xyzModem.h index 6fae63496105..a8911b6bf574 100644 --- a/include/xyzModem.h +++ b/include/xyzModem.h @@ -25,6 +25,8 @@ #ifndef _XYZMODEM_H_ #define _XYZMODEM_H_ +#include + #define xyzModem_xmodem 1 #define xyzModem_ymodem 2 /* Don't define this until the protocol support is in place */ diff --git a/lib/panic.c b/lib/panic.c index 8e72c265a617..58382ac4f4cc 100644 --- a/lib/panic.c +++ b/lib/panic.c @@ -14,6 +14,7 @@ #if !defined(CONFIG_PANIC_HANG) #include #endif +#include static void panic_finish(void) __attribute__ ((noreturn)); diff --git a/lib/time.c b/lib/time.c index 551698e36d08..65db0f6cda29 100644 --- a/lib/time.c +++ b/lib/time.c @@ -14,6 +14,7 @@ #include #include #include +#include #ifndef CONFIG_WD_PERIOD # define CONFIG_WD_PERIOD (10 * 1000 * 1000) /* 10 seconds default */ diff --git a/net/arp.c b/net/arp.c index b72b1fd73701..1d06ed25722b 100644 --- a/net/arp.c +++ b/net/arp.c @@ -13,6 +13,7 @@ #include #include #include +#include #include "arp.h" diff --git a/net/bootp.c b/net/bootp.c index d1e8cb8815bd..de3dab4114d9 100644 --- a/net/bootp.c +++ b/net/bootp.c @@ -17,6 +17,7 @@ #include #include #include +#include #include #include "bootp.h" #ifdef CONFIG_LED_STATUS diff --git a/test/time_ut.c b/test/time_ut.c index 70a866b441e3..80b82dbfd833 100644 --- a/test/time_ut.c +++ b/test/time_ut.c @@ -8,6 +8,7 @@ #include #include #include +#include static int test_get_timer(void) {