diff mbox series

[13/16] common: Drop linux/types.h from common header

Message ID 20200802225940.51457-14-sjg@chromium.org
State Changes Requested
Delegated to: Tom Rini
Headers show
Series common: Drop remaining includes in common.h | expand

Commit Message

Simon Glass Aug. 2, 2020, 10:59 p.m. UTC
Move this out of the common header and include it only where needed.

Signed-off-by: Simon Glass <sjg@chromium.org>
---

 api/api_display.c                                             | 1 +
 api/api_private.h                                             | 1 +
 api/api_storage.c                                             | 1 +
 arch/arc/include/asm/sections.h                               | 1 +
 arch/arc/include/asm/u-boot-arc.h                             | 1 +
 arch/arc/lib/bootm.c                                          | 2 ++
 arch/arc/lib/cache.c                                          | 1 +
 arch/arc/lib/cpu.c                                            | 1 +
 arch/arc/lib/relocate.c                                       | 1 +
 arch/arc/lib/reset.c                                          | 2 ++
 arch/arm/cpu/arm1136/mx31/generic.c                           | 1 +
 arch/arm/cpu/arm1136/mx35/generic.c                           | 1 +
 arch/arm/cpu/arm720t/interrupts.c                             | 1 +
 arch/arm/cpu/arm920t/ep93xx/cpu.c                             | 1 +
 arch/arm/cpu/arm920t/ep93xx/led.c                             | 1 +
 arch/arm/cpu/arm920t/ep93xx/speed.c                           | 1 +
 arch/arm/cpu/arm926ejs/armada100/cpu.c                        | 1 +
 arch/arm/cpu/arm926ejs/armada100/dram.c                       | 1 +
 arch/arm/cpu/arm926ejs/armada100/timer.c                      | 1 +
 arch/arm/cpu/arm926ejs/cache.c                                | 1 +
 arch/arm/cpu/arm926ejs/mx25/generic.c                         | 1 +
 arch/arm/cpu/arm926ejs/mx25/reset.c                           | 1 +
 arch/arm/cpu/arm926ejs/mx27/generic.c                         | 1 +
 arch/arm/cpu/arm926ejs/mx27/reset.c                           | 1 +
 arch/arm/cpu/arm926ejs/mx27/timer.c                           | 1 +
 arch/arm/cpu/arm926ejs/mxs/clock.c                            | 1 +
 arch/arm/cpu/arm926ejs/mxs/iomux.c                            | 1 +
 arch/arm/cpu/arm926ejs/mxs/mxs.c                              | 2 ++
 arch/arm/cpu/arm926ejs/mxs/mxs_init.h                         | 1 +
 arch/arm/cpu/arm926ejs/mxs/spl_boot.c                         | 1 +
 arch/arm/cpu/arm926ejs/mxs/spl_mem_init.c                     | 2 ++
 arch/arm/cpu/arm926ejs/mxs/spl_power_init.c                   | 2 ++
 arch/arm/cpu/arm926ejs/mxs/timer.c                            | 1 +
 arch/arm/cpu/arm926ejs/spear/cpu.c                            | 1 +
 arch/arm/cpu/arm926ejs/spear/reset.c                          | 1 +
 arch/arm/cpu/arm926ejs/spear/spear600.c                       | 1 +
 arch/arm/cpu/arm926ejs/spear/spl.c                            | 1 +
 .../cpu/arm926ejs/spear/spr600_mt47h128m8_3_266_cl5_async.c   | 1 +
 .../arm/cpu/arm926ejs/spear/spr600_mt47h32m16_333_cl5_psync.c | 1 +
 .../cpu/arm926ejs/spear/spr600_mt47h32m16_37e_166_cl4_sync.c  | 1 +
 .../cpu/arm926ejs/spear/spr600_mt47h64m16_3_333_cl5_psync.c   | 1 +
 arch/arm/cpu/arm926ejs/spear/spr_misc.c                       | 1 +
 arch/arm/cpu/arm926ejs/spear/timer.c                          | 1 +
 arch/arm/cpu/arm946es/cpu.c                                   | 1 +
 arch/arm/cpu/armv7/arch_timer.c                               | 1 +
 arch/arm/cpu/armv7/bcm235xx/clk-bsc.c                         | 1 +
 arch/arm/cpu/armv7/bcm235xx/clk-core.c                        | 2 ++
 arch/arm/cpu/armv7/bcm235xx/clk-core.h                        | 1 +
 arch/arm/cpu/armv7/bcm235xx/clk-sdio.c                        | 1 +
 arch/arm/cpu/armv7/bcm235xx/clk-usb-otg.c                     | 1 +
 arch/arm/cpu/armv7/bcm281xx/clk-bsc.c                         | 1 +
 arch/arm/cpu/armv7/bcm281xx/clk-core.c                        | 2 ++
 arch/arm/cpu/armv7/bcm281xx/clk-core.h                        | 1 +
 arch/arm/cpu/armv7/bcm281xx/clk-sdio.c                        | 1 +
 arch/arm/cpu/armv7/bcm281xx/clk-usb-otg.c                     | 1 +
 arch/arm/cpu/armv7/bcm281xx/reset.c                           | 1 +
 arch/arm/cpu/armv7/bcmcygnus/reset.c                          | 1 +
 arch/arm/cpu/armv7/bcmnsp/reset.c                             | 1 +
 arch/arm/cpu/armv7/cache_v7.c                                 | 1 +
 arch/arm/cpu/armv7/cp15.c                                     | 2 ++
 arch/arm/cpu/armv7/cpu.c                                      | 1 +
 arch/arm/cpu/armv7/exception_level.c                          | 1 +
 arch/arm/cpu/armv7/iproc-common/armpll.c                      | 1 +
 arch/arm/cpu/armv7/iproc-common/timer.c                       | 1 +
 arch/arm/cpu/armv7/kona-common/clk-stubs.c                    | 1 +
 arch/arm/cpu/armv7/ls102xa/clock.c                            | 2 ++
 arch/arm/cpu/armv7/ls102xa/cpu.c                              | 2 ++
 arch/arm/cpu/armv7/ls102xa/fdt.c                              | 2 ++
 arch/arm/cpu/armv7/ls102xa/fsl_epu.c                          | 1 +
 arch/arm/cpu/armv7/ls102xa/fsl_ls1_serdes.c                   | 2 ++
 arch/arm/cpu/armv7/ls102xa/fsl_ls1_serdes.h                   | 1 +
 arch/arm/cpu/armv7/ls102xa/ls102xa_psci.c                     | 2 ++
 arch/arm/cpu/armv7/ls102xa/ls102xa_serdes.c                   | 1 +
 arch/arm/cpu/armv7/ls102xa/soc.c                              | 2 ++
 arch/arm/cpu/armv7/ls102xa/spl.c                              | 1 +
 arch/arm/cpu/armv7/ls102xa/timer.c                            | 1 +
 arch/arm/cpu/armv7/mpu_v7r.c                                  | 1 +
 arch/arm/cpu/armv7/psci-common.c                              | 1 +
 arch/arm/cpu/armv7/s5p-common/cpu_info.c                      | 1 +
 arch/arm/cpu/armv7/s5p-common/pwm.c                           | 1 +
 arch/arm/cpu/armv7/s5p-common/sromc.c                         | 1 +
 arch/arm/cpu/armv7/s5p-common/timer.c                         | 1 +
 arch/arm/cpu/armv7/s5p4418/cpu.c                              | 1 +
 arch/arm/cpu/armv7/stv0991/reset.c                            | 1 +
 arch/arm/cpu/armv7/stv0991/timer.c                            | 1 +
 arch/arm/cpu/armv7/sunxi/psci.c                               | 1 +
 arch/arm/cpu/armv7/sunxi/timer.c                              | 1 +
 arch/arm/cpu/armv7/syslib.c                                   | 1 +
 arch/arm/cpu/armv7/vf610/generic.c                            | 2 ++
 arch/arm/cpu/armv7/vf610/timer.c                              | 1 +
 arch/arm/cpu/armv7/virt-v7.c                                  | 2 ++
 arch/arm/cpu/armv7m/cache.c                                   | 1 +
 arch/arm/cpu/armv7m/cpu.c                                     | 1 +
 arch/arm/cpu/armv7m/mpu.c                                     | 1 +
 arch/arm/cpu/armv7m/systick-timer.c                           | 1 +
 arch/arm/cpu/armv8/cache_v8.c                                 | 3 +++
 arch/arm/cpu/armv8/cpu.c                                      | 2 ++
 arch/arm/cpu/armv8/exception_level.c                          | 1 +
 arch/arm/cpu/armv8/fsl-layerscape/cpu.c                       | 2 ++
 arch/arm/cpu/armv8/fsl-layerscape/cpu.h                       | 1 +
 arch/arm/cpu/armv8/fsl-layerscape/fdt.c                       | 2 ++
 arch/arm/cpu/armv8/fsl-layerscape/fsl_lsch2_serdes.c          | 2 ++
 arch/arm/cpu/armv8/fsl-layerscape/fsl_lsch2_speed.c           | 2 ++
 arch/arm/cpu/armv8/fsl-layerscape/fsl_lsch3_serdes.c          | 2 ++
 arch/arm/cpu/armv8/fsl-layerscape/fsl_lsch3_speed.c           | 2 ++
 arch/arm/cpu/armv8/fsl-layerscape/icid.c                      | 1 +
 arch/arm/cpu/armv8/fsl-layerscape/ls1012a_serdes.c            | 1 +
 arch/arm/cpu/armv8/fsl-layerscape/ls1028_ids.c                | 1 +
 arch/arm/cpu/armv8/fsl-layerscape/ls1028a_serdes.c            | 1 +
 arch/arm/cpu/armv8/fsl-layerscape/ls1043a_serdes.c            | 1 +
 arch/arm/cpu/armv8/fsl-layerscape/ls1046a_serdes.c            | 1 +
 arch/arm/cpu/armv8/fsl-layerscape/ls1088a_serdes.c            | 3 +++
 arch/arm/cpu/armv8/fsl-layerscape/ls2080a_serdes.c            | 1 +
 arch/arm/cpu/armv8/fsl-layerscape/lx2160a_serdes.c            | 1 +
 arch/arm/cpu/armv8/fsl-layerscape/mp.c                        | 2 ++
 arch/arm/cpu/armv8/fsl-layerscape/ppa.c                       | 2 ++
 arch/arm/cpu/armv8/fsl-layerscape/soc.c                       | 2 ++
 arch/arm/cpu/armv8/fsl-layerscape/spl.c                       | 2 ++
 arch/arm/cpu/armv8/fwcall.c                                   | 1 +
 arch/arm/cpu/armv8/generic_timer.c                            | 1 +
 arch/arm/cpu/armv8/hisilicon/pinmux.c                         | 1 +
 arch/arm/cpu/armv8/s32v234/cpu.c                              | 1 +
 arch/arm/cpu/armv8/s32v234/cpu.h                              | 1 +
 arch/arm/cpu/armv8/s32v234/generic.c                          | 1 +
 arch/arm/cpu/armv8/sec_firmware.c                             | 3 +++
 arch/arm/cpu/armv8/spl_data.c                                 | 1 +
 arch/arm/cpu/pxa/cache.c                                      | 1 +
 arch/arm/cpu/pxa/cpuinfo.c                                    | 1 +
 arch/arm/cpu/pxa/pxa2xx.c                                     | 1 +
 arch/arm/cpu/sa1100/cpu.c                                     | 1 +
 arch/arm/cpu/sa1100/timer.c                                   | 1 +
 arch/arm/include/asm/arch-am33xx/clk_synthesizer.h            | 1 +
 arch/arm/include/asm/arch-am33xx/clock.h                      | 1 +
 arch/arm/include/asm/arch-am33xx/ddr_defs.h                   | 1 +
 arch/arm/include/asm/arch-am33xx/sys_proto.h                  | 1 +
 arch/arm/include/asm/arch-armada100/cpu.h                     | 1 +
 arch/arm/include/asm/arch-armada100/spi.h                     | 1 +
 arch/arm/include/asm/arch-armada100/utmi-armada100.h          | 1 +
 arch/arm/include/asm/arch-armv7/globaltimer.h                 | 1 +
 arch/arm/include/asm/arch-armv7/sysctrl.h                     | 1 +
 arch/arm/include/asm/arch-armv7/systimer.h                    | 1 +
 arch/arm/include/asm/arch-armv7/wdt.h                         | 1 +
 arch/arm/include/asm/arch-aspeed/scu_ast2500.h                | 1 +
 arch/arm/include/asm/arch-aspeed/sdram_ast2500.h              | 1 +
 arch/arm/include/asm/arch-aspeed/timer.h                      | 1 +
 arch/arm/include/asm/arch-aspeed/wdt.h                        | 1 +
 arch/arm/include/asm/arch-ep93xx/ep93xx.h                     | 1 +
 arch/arm/include/asm/arch-fsl-layerscape/clock.h              | 1 +
 arch/arm/include/asm/arch-fsl-layerscape/cpu.h                | 1 +
 arch/arm/include/asm/arch-fsl-layerscape/fsl_portals.h        | 1 +
 arch/arm/include/asm/arch-fsl-layerscape/fsl_serdes.h         | 1 +
 arch/arm/include/asm/arch-fsl-layerscape/gpio.h               | 1 +
 arch/arm/include/asm/arch-fsl-layerscape/immap_lsch2.h        | 1 +
 arch/arm/include/asm/arch-fsl-layerscape/immap_lsch3.h        | 1 +
 arch/arm/include/asm/arch-fsl-layerscape/mp.h                 | 1 +
 arch/arm/include/asm/arch-hi6220/dwmmc.h                      | 1 +
 arch/arm/include/asm/arch-hi6220/gpio.h                       | 1 +
 arch/arm/include/asm/arch-hi6220/hi6220_regs_alwayson.h       | 1 +
 arch/arm/include/asm/arch-hi6220/pinmux.h                     | 1 +
 arch/arm/include/asm/arch-imx/cpu.h                           | 1 +
 arch/arm/include/asm/arch-imx8/clock.h                        | 1 +
 arch/arm/include/asm/arch-imx8/gpio.h                         | 1 +
 arch/arm/include/asm/arch-imx8/image.h                        | 1 +
 arch/arm/include/asm/arch-imx8/iomux.h                        | 1 +
 arch/arm/include/asm/arch-imx8/sci/rpc.h                      | 1 +
 arch/arm/include/asm/arch-imx8/sci/sci.h                      | 1 +
 arch/arm/include/asm/arch-imx8/sci/svc/misc/api.h             | 1 +
 arch/arm/include/asm/arch-imx8/sci/svc/pm/api.h               | 1 +
 arch/arm/include/asm/arch-imx8/sci/svc/rm/api.h               | 1 +
 arch/arm/include/asm/arch-imx8/sci/svc/seco/api.h             | 1 +
 arch/arm/include/asm/arch-imx8m/clock.h                       | 1 +
 arch/arm/include/asm/arch-imx8m/clock_imx8mm.h                | 1 +
 arch/arm/include/asm/arch-imx8m/ddr.h                         | 1 +
 arch/arm/include/asm/arch-imxrt/gpio.h                        | 1 +
 arch/arm/include/asm/arch-lpc32xx/dma.h                       | 1 +
 arch/arm/include/asm/arch-lpc32xx/gpio.h                      | 1 +
 arch/arm/include/asm/arch-lpc32xx/i2c.h                       | 1 +
 arch/arm/include/asm/arch-lpc32xx/mux.h                       | 1 +
 arch/arm/include/asm/arch-ls102xa/clock.h                     | 1 +
 arch/arm/include/asm/arch-ls102xa/fsl_serdes.h                | 1 +
 arch/arm/include/asm/arch-ls102xa/immap_ls102xa.h             | 1 +
 arch/arm/include/asm/arch-ls102xa/ls102xa_stream_id.h         | 1 +
 arch/arm/include/asm/arch-mediatek/reset.h                    | 1 +
 arch/arm/include/asm/arch-meson/clock-gx.h                    | 1 +
 arch/arm/include/asm/arch-meson/sm.h                          | 1 +
 arch/arm/include/asm/arch-mvebu/spi.h                         | 1 +
 arch/arm/include/asm/arch-mx27/gpio.h                         | 1 +
 arch/arm/include/asm/arch-mx27/imx-regs.h                     | 1 +
 arch/arm/include/asm/arch-mx27/regs-rtc.h                     | 1 +
 arch/arm/include/asm/arch-mx31/clock.h                        | 1 +
 arch/arm/include/asm/arch-mx31/sys_proto.h                    | 1 +
 arch/arm/include/asm/arch-mx35/clock.h                        | 1 +
 arch/arm/include/asm/arch-mx35/sys_proto.h                    | 1 +
 arch/arm/include/asm/arch-mx5/clock.h                         | 1 +
 arch/arm/include/asm/arch-mx5/crm_regs.h                      | 1 +
 arch/arm/include/asm/arch-mx6/crm_regs.h                      | 1 +
 arch/arm/include/asm/arch-mx6/mx6-ddr.h                       | 1 +
 arch/arm/include/asm/arch-mx6/mxc_hdmi.h                      | 1 +
 arch/arm/include/asm/arch-mx6/sys_proto.h                     | 1 +
 arch/arm/include/asm/arch-mx7/clock.h                         | 1 +
 arch/arm/include/asm/arch-mx7/clock_slice.h                   | 1 +
 arch/arm/include/asm/arch-mx7/crm_regs.h                      | 1 +
 arch/arm/include/asm/arch-mx7/imx-regs.h                      | 1 +
 arch/arm/include/asm/arch-mx7/mx7-ddr.h                       | 1 +
 arch/arm/include/asm/arch-mx7ulp/clock.h                      | 1 +
 arch/arm/include/asm/arch-mx7ulp/gpio.h                       | 1 +
 arch/arm/include/asm/arch-mx7ulp/pcc.h                        | 1 +
 arch/arm/include/asm/arch-mx7ulp/scg.h                        | 1 +
 arch/arm/include/asm/arch-mxs/clock.h                         | 1 +
 arch/arm/include/asm/arch-mxs/regs-clkctrl-mx23.h             | 1 +
 arch/arm/include/asm/arch-mxs/regs-clkctrl-mx28.h             | 1 +
 arch/arm/include/asm/arch-mxs/regs-digctl.h                   | 1 +
 arch/arm/include/asm/arch-mxs/regs-pinctrl.h                  | 1 +
 arch/arm/include/asm/arch-mxs/regs-power-mx23.h               | 1 +
 arch/arm/include/asm/arch-mxs/regs-power-mx28.h               | 1 +
 arch/arm/include/asm/arch-mxs/regs-ssp.h                      | 1 +
 arch/arm/include/asm/arch-mxs/regs-usb.h                      | 1 +
 arch/arm/include/asm/arch-mxs/sys_proto.h                     | 1 +
 arch/arm/include/asm/arch-omap3/dma.h                         | 1 +
 arch/arm/include/asm/arch-omap3/dss.h                         | 1 +
 arch/arm/include/asm/arch-omap3/mem.h                         | 1 +
 arch/arm/include/asm/arch-omap3/musb.h                        | 1 +
 arch/arm/include/asm/arch-omap3/sys_proto.h                   | 1 +
 arch/arm/include/asm/arch-omap4/clock.h                       | 1 +
 arch/arm/include/asm/arch-omap4/sys_proto.h                   | 1 +
 arch/arm/include/asm/arch-omap5/dra7xx_iodelay.h              | 1 +
 arch/arm/include/asm/arch-omap5/sys_proto.h                   | 1 +
 arch/arm/include/asm/arch-pxa/pxa.h                           | 1 +
 arch/arm/include/asm/arch-pxa/regs-mmc.h                      | 1 +
 arch/arm/include/asm/arch-pxa/regs-uart.h                     | 1 +
 arch/arm/include/asm/arch-pxa/regs-usb.h                      | 1 +
 arch/arm/include/asm/arch-rk3308/cru_rk3308.h                 | 1 +
 arch/arm/include/asm/arch-rockchip/bootrom.h                  | 1 +
 arch/arm/include/asm/arch-rockchip/clock.h                    | 2 ++
 arch/arm/include/asm/arch-rockchip/cpu_rk3288.h               | 1 +
 arch/arm/include/asm/arch-rockchip/cru_px30.h                 | 1 +
 arch/arm/include/asm/arch-rockchip/cru_rk3036.h               | 1 +
 arch/arm/include/asm/arch-rockchip/cru_rk3128.h               | 1 +
 arch/arm/include/asm/arch-rockchip/cru_rk3188.h               | 1 +
 arch/arm/include/asm/arch-rockchip/cru_rk322x.h               | 1 +
 arch/arm/include/asm/arch-rockchip/cru_rk3288.h               | 1 +
 arch/arm/include/asm/arch-rockchip/cru_rk3328.h               | 1 +
 arch/arm/include/asm/arch-rockchip/cru_rk3399.h               | 1 +
 arch/arm/include/asm/arch-rockchip/cru_rv1108.h               | 1 +
 arch/arm/include/asm/arch-rockchip/ddr_rk3188.h               | 1 +
 arch/arm/include/asm/arch-rockchip/ddr_rk3288.h               | 1 +
 arch/arm/include/asm/arch-rockchip/ddr_rk3368.h               | 1 +
 arch/arm/include/asm/arch-rockchip/edp_rk3288.h               | 1 +
 arch/arm/include/asm/arch-rockchip/f_rockusb.h                | 1 +
 arch/arm/include/asm/arch-rockchip/gpio.h                     | 1 +
 arch/arm/include/asm/arch-rockchip/grf_rk3188.h               | 1 +
 arch/arm/include/asm/arch-rockchip/grf_rk3288.h               | 1 +
 arch/arm/include/asm/arch-rockchip/grf_rk3328.h               | 1 +
 arch/arm/include/asm/arch-rockchip/grf_rk3368.h               | 1 +
 arch/arm/include/asm/arch-rockchip/grf_rk3399.h               | 1 +
 arch/arm/include/asm/arch-rockchip/grf_rv1108.h               | 1 +
 arch/arm/include/asm/arch-rockchip/i2c.h                      | 1 +
 arch/arm/include/asm/arch-rockchip/misc.h                     | 1 +
 arch/arm/include/asm/arch-rockchip/pmu_rk3188.h               | 1 +
 arch/arm/include/asm/arch-rockchip/pmu_rk3288.h               | 1 +
 arch/arm/include/asm/arch-rockchip/pmu_rk3399.h               | 1 +
 arch/arm/include/asm/arch-rockchip/sdram.h                    | 1 +
 arch/arm/include/asm/arch-rockchip/sdram_common.h             | 1 +
 arch/arm/include/asm/arch-rockchip/sdram_msch.h               | 1 +
 arch/arm/include/asm/arch-rockchip/sdram_pctl_px30.h          | 2 ++
 arch/arm/include/asm/arch-rockchip/sdram_phy_px30.h           | 2 ++
 arch/arm/include/asm/arch-rockchip/sdram_px30.h               | 1 +
 arch/arm/include/asm/arch-rockchip/sdram_rk3036.h             | 1 +
 arch/arm/include/asm/arch-rockchip/sdram_rk322x.h             | 1 +
 arch/arm/include/asm/arch-rockchip/sdram_rk3288.h             | 1 +
 arch/arm/include/asm/arch-rockchip/sdram_rk3328.h             | 1 +
 arch/arm/include/asm/arch-rockchip/sdram_rk3399.h             | 1 +
 arch/arm/include/asm/arch-rockchip/timer.h                    | 1 +
 arch/arm/include/asm/arch-rockchip/vop_rk3288.h               | 1 +
 arch/arm/include/asm/arch-s32v234/lpddr2.h                    | 1 +
 arch/arm/include/asm/arch-spear/gpio.h                        | 1 +
 arch/arm/include/asm/arch-spear/spr_defs.h                    | 1 +
 arch/arm/include/asm/arch-spear/spr_emi.h                     | 1 +
 arch/arm/include/asm/arch-spear/spr_gpt.h                     | 1 +
 arch/arm/include/asm/arch-spear/spr_misc.h                    | 1 +
 arch/arm/include/asm/arch-spear/spr_ssp.h                     | 1 +
 arch/arm/include/asm/arch-spear/spr_syscntl.h                 | 1 +
 arch/arm/include/asm/arch-stm32/gpio.h                        | 1 +
 arch/arm/include/asm/arch-stm32f4/stm32.h                     | 1 +
 arch/arm/include/asm/arch-stm32f4/stm32_pwr.h                 | 1 +
 arch/arm/include/asm/arch-stm32f7/stm32.h                     | 1 +
 arch/arm/include/asm/arch-stm32f7/stm32_pwr.h                 | 1 +
 arch/arm/include/asm/arch-stm32f7/syscfg.h                    | 1 +
 arch/arm/include/asm/arch-stv0991/gpio.h                      | 1 +
 arch/arm/include/asm/arch-stv0991/stv0991_cgu.h               | 1 +
 arch/arm/include/asm/arch-stv0991/stv0991_creg.h              | 1 +
 arch/arm/include/asm/arch-stv0991/stv0991_gpt.h               | 1 +
 arch/arm/include/asm/arch-stv0991/stv0991_wdru.h              | 1 +
 arch/arm/include/asm/arch-sunxi/ccu.h                         | 1 +
 arch/arm/include/asm/arch-sunxi/clock_sun4i.h                 | 1 +
 arch/arm/include/asm/arch-sunxi/clock_sun50i_h6.h             | 1 +
 arch/arm/include/asm/arch-sunxi/clock_sun6i.h                 | 1 +
 arch/arm/include/asm/arch-sunxi/clock_sun8i_a83t.h            | 1 +
 arch/arm/include/asm/arch-sunxi/clock_sun9i.h                 | 1 +
 arch/arm/include/asm/arch-sunxi/cpucfg.h                      | 1 +
 arch/arm/include/asm/arch-sunxi/display.h                     | 1 +
 arch/arm/include/asm/arch-sunxi/display2.h                    | 1 +
 arch/arm/include/asm/arch-sunxi/dma_sun4i.h                   | 1 +
 arch/arm/include/asm/arch-sunxi/dram_sun4i.h                  | 1 +
 arch/arm/include/asm/arch-sunxi/dram_sun50i_h6.h              | 1 +
 arch/arm/include/asm/arch-sunxi/dram_sun6i.h                  | 1 +
 arch/arm/include/asm/arch-sunxi/dram_sun8i_a23.h              | 1 +
 arch/arm/include/asm/arch-sunxi/dram_sun8i_a33.h              | 1 +
 arch/arm/include/asm/arch-sunxi/dram_sun8i_a83t.h             | 1 +
 arch/arm/include/asm/arch-sunxi/dram_sun9i.h                  | 1 +
 arch/arm/include/asm/arch-sunxi/dram_sunxi_dw.h               | 1 +
 arch/arm/include/asm/arch-sunxi/lcdc.h                        | 1 +
 arch/arm/include/asm/arch-sunxi/prcm.h                        | 1 +
 arch/arm/include/asm/arch-sunxi/pwm.h                         | 1 +
 arch/arm/include/asm/arch-sunxi/rsb.h                         | 1 +
 arch/arm/include/asm/arch-sunxi/spl.h                         | 1 +
 arch/arm/include/asm/arch-sunxi/tve.h                         | 1 +
 arch/arm/include/asm/arch-sunxi/tzpc.h                        | 1 +
 arch/arm/include/asm/arch-sunxi/watchdog.h                    | 1 +
 arch/arm/include/asm/arch-tegra/apb_misc.h                    | 1 +
 arch/arm/include/asm/arch-tegra/bpmp_abi.h                    | 1 +
 arch/arm/include/asm/arch-tegra/cboot.h                       | 1 +
 arch/arm/include/asm/arch-tegra/clk_rst.h                     | 1 +
 arch/arm/include/asm/arch-tegra/clock.h                       | 1 +
 arch/arm/include/asm/arch-tegra/dc.h                          | 1 +
 arch/arm/include/asm/arch-tegra/fuse.h                        | 1 +
 arch/arm/include/asm/arch-tegra/gpio.h                        | 1 +
 arch/arm/include/asm/arch-tegra/ivc.h                         | 1 +
 arch/arm/include/asm/arch-tegra/pmc.h                         | 1 +
 arch/arm/include/asm/arch-tegra/pwm.h                         | 1 +
 arch/arm/include/asm/arch-tegra/scu.h                         | 1 +
 arch/arm/include/asm/arch-tegra/tegra_ahub.h                  | 1 +
 arch/arm/include/asm/arch-tegra/tegra_i2s.h                   | 1 +
 arch/arm/include/asm/arch-tegra/uart.h                        | 1 +
 arch/arm/include/asm/arch-tegra/usb.h                         | 1 +
 arch/arm/include/asm/arch-tegra/warmboot.h                    | 1 +
 arch/arm/include/asm/arch-tegra114/flow.h                     | 1 +
 arch/arm/include/asm/arch-tegra114/gp_padctrl.h               | 1 +
 arch/arm/include/asm/arch-tegra114/mc.h                       | 1 +
 arch/arm/include/asm/arch-tegra114/sysctr.h                   | 1 +
 arch/arm/include/asm/arch-tegra124/ahb.h                      | 1 +
 arch/arm/include/asm/arch-tegra124/clock.h                    | 1 +
 arch/arm/include/asm/arch-tegra124/flow.h                     | 1 +
 arch/arm/include/asm/arch-tegra124/gp_padctrl.h               | 1 +
 arch/arm/include/asm/arch-tegra124/gpio.h                     | 1 +
 arch/arm/include/asm/arch-tegra124/mc.h                       | 1 +
 arch/arm/include/asm/arch-tegra124/sysctr.h                   | 1 +
 arch/arm/include/asm/arch-tegra20/display.h                   | 1 +
 arch/arm/include/asm/arch-tegra20/flow.h                      | 1 +
 arch/arm/include/asm/arch-tegra20/gp_padctrl.h                | 1 +
 arch/arm/include/asm/arch-tegra20/gpio.h                      | 1 +
 arch/arm/include/asm/arch-tegra20/mc.h                        | 1 +
 arch/arm/include/asm/arch-tegra20/sdram_param.h               | 1 +
 arch/arm/include/asm/arch-tegra210/ahb.h                      | 1 +
 arch/arm/include/asm/arch-tegra210/flow.h                     | 1 +
 arch/arm/include/asm/arch-tegra210/gp_padctrl.h               | 1 +
 arch/arm/include/asm/arch-tegra210/gpio.h                     | 1 +
 arch/arm/include/asm/arch-tegra210/mc.h                       | 1 +
 arch/arm/include/asm/arch-tegra210/sysctr.h                   | 1 +
 arch/arm/include/asm/arch-tegra30/flow.h                      | 1 +
 arch/arm/include/asm/arch-tegra30/gp_padctrl.h                | 1 +
 arch/arm/include/asm/arch-tegra30/gpio.h                      | 1 +
 arch/arm/include/asm/arch-tegra30/mc.h                        | 1 +
 arch/arm/include/asm/arch-vf610/clock.h                       | 1 +
 arch/arm/include/asm/arch-vf610/ddrmc-vf610.h                 | 1 +
 arch/arm/include/asm/arch-vf610/gpio.h                        | 1 +
 arch/arm/include/asm/armv7_mpu.h                              | 1 +
 arch/arm/include/asm/armv7m.h                                 | 1 +
 arch/arm/include/asm/armv8/mmu.h                              | 2 ++
 arch/arm/include/asm/armv8/sec_firmware.h                     | 1 +
 arch/arm/include/asm/bootm.h                                  | 1 +
 arch/arm/include/asm/ehci-omap.h                              | 1 +
 arch/arm/include/asm/handoff.h                                | 1 +
 arch/arm/include/asm/io.h                                     | 1 +
 arch/arm/include/asm/iproc-common/iproc_sdhci.h               | 1 +
 arch/arm/include/asm/kona-common/kona_sdhci.h                 | 1 +
 arch/arm/include/asm/mach-imx/dma.h                           | 1 +
 arch/arm/include/asm/mach-imx/gpio.h                          | 1 +
 arch/arm/include/asm/mach-imx/hab.h                           | 1 +
 arch/arm/include/asm/mach-imx/imx-nandbcb.h                   | 1 +
 arch/arm/include/asm/mach-imx/module_fuse.h                   | 1 +
 arch/arm/include/asm/mach-imx/mxc_i2c.h                       | 1 +
 arch/arm/include/asm/mach-imx/rdc-sema.h                      | 1 +
 arch/arm/include/asm/mach-imx/regs-apbh.h                     | 1 +
 arch/arm/include/asm/mach-imx/regs-bch.h                      | 1 +
 arch/arm/include/asm/mach-imx/regs-gpmi.h                     | 1 +
 arch/arm/include/asm/mach-imx/regs-lcdif.h                    | 1 +
 arch/arm/include/asm/mach-imx/sys_proto.h                     | 1 +
 arch/arm/include/asm/mach-imx/syscounter.h                    | 1 +
 arch/arm/include/asm/mach-imx/video.h                         | 1 +
 arch/arm/include/asm/omap_gpio.h                              | 1 +
 arch/arm/include/asm/omap_i2c.h                               | 1 +
 arch/arm/include/asm/omap_mmc.h                               | 1 +
 arch/arm/include/asm/omap_musb.h                              | 1 +
 arch/arm/include/asm/omap_sec_common.h                        | 1 +
 arch/arm/include/asm/secure.h                                 | 1 +
 arch/arm/include/asm/setjmp.h                                 | 1 +
 arch/arm/include/asm/setup.h                                  | 1 +
 arch/arm/include/asm/system.h                                 | 1 +
 arch/arm/include/asm/ti-common/davinci_nand.h                 | 1 +
 arch/arm/include/asm/ti-common/keystone_nav.h                 | 1 +
 arch/arm/include/asm/ti-common/keystone_net.h                 | 1 +
 arch/arm/include/asm/ti-common/keystone_serdes.h              | 1 +
 arch/arm/include/asm/ti-common/sys_proto.h                    | 1 +
 arch/arm/include/asm/ti-common/ti-edma3.h                     | 2 ++
 arch/arm/include/asm/u-boot-arm.h                             | 1 +
 arch/arm/include/asm/utils.h                                  | 1 +
 arch/arm/lib/bootm-fdt.c                                      | 1 +
 arch/arm/lib/bootm.c                                          | 2 ++
 arch/arm/lib/cache-cp15.c                                     | 2 ++
 arch/arm/lib/cache.c                                          | 2 ++
 arch/arm/lib/cmd_boot.c                                       | 1 +
 arch/arm/lib/eabi_compat.c                                    | 1 +
 arch/arm/lib/gic-v3-its.c                                     | 1 +
 arch/arm/lib/image.c                                          | 2 ++
 arch/arm/lib/interrupts.c                                     | 1 +
 arch/arm/lib/interrupts_64.c                                  | 2 ++
 arch/arm/lib/reloc_aarch64_efi.c                              | 1 +
 arch/arm/lib/reloc_arm_efi.c                                  | 1 +
 arch/arm/lib/reset.c                                          | 1 +
 arch/arm/lib/semihosting.c                                    | 1 +
 arch/arm/lib/spl.c                                            | 2 ++
 arch/arm/lib/zimage.c                                         | 2 ++
 arch/arm/mach-aspeed/ast2500/sdram_ast2500.c                  | 1 +
 arch/arm/mach-aspeed/ast_wdt.c                                | 1 +
 arch/arm/mach-at91/arm920t/clock.c                            | 1 +
 arch/arm/mach-at91/arm920t/reset.c                            | 1 +
 arch/arm/mach-at91/arm920t/timer.c                            | 1 +
 arch/arm/mach-at91/arm926ejs/clock.c                          | 1 +
 arch/arm/mach-at91/arm926ejs/cpu.c                            | 1 +
 arch/arm/mach-at91/arm926ejs/eflash.c                         | 1 +
 arch/arm/mach-at91/arm926ejs/reset.c                          | 1 +
 arch/arm/mach-at91/arm926ejs/timer.c                          | 1 +
 arch/arm/mach-at91/armv7/clock.c                              | 1 +
 arch/arm/mach-at91/armv7/cpu.c                                | 1 +
 arch/arm/mach-at91/armv7/reset.c                              | 1 +
 arch/arm/mach-at91/armv7/timer.c                              | 1 +
 arch/arm/mach-at91/atmel_sfr.c                                | 1 +
 arch/arm/mach-at91/clock.c                                    | 1 +
 arch/arm/mach-at91/include/mach/at91_common.h                 | 1 +
 arch/arm/mach-at91/include/mach/at91_dbu.h                    | 1 +
 arch/arm/mach-at91/include/mach/at91_eefc.h                   | 1 +
 arch/arm/mach-at91/include/mach/at91_emac.h                   | 1 +
 arch/arm/mach-at91/include/mach/at91_gpbr.h                   | 1 +
 arch/arm/mach-at91/include/mach/at91_matrix.h                 | 1 +
 arch/arm/mach-at91/include/mach/at91_mc.h                     | 1 +
 arch/arm/mach-at91/include/mach/at91_pdc.h                    | 1 +
 arch/arm/mach-at91/include/mach/at91_pio.h                    | 1 +
 arch/arm/mach-at91/include/mach/at91_pit.h                    | 1 +
 arch/arm/mach-at91/include/mach/at91_rstc.h                   | 1 +
 arch/arm/mach-at91/include/mach/at91_rtt.h                    | 1 +
 arch/arm/mach-at91/include/mach/at91_sfr.h                    | 1 +
 arch/arm/mach-at91/include/mach/at91_spi.h                    | 1 +
 arch/arm/mach-at91/include/mach/at91_st.h                     | 1 +
 arch/arm/mach-at91/include/mach/at91_tc.h                     | 1 +
 arch/arm/mach-at91/include/mach/at91_wdt.h                    | 2 ++
 arch/arm/mach-at91/include/mach/at91sam9260_matrix.h          | 1 +
 arch/arm/mach-at91/include/mach/at91sam9261_matrix.h          | 1 +
 arch/arm/mach-at91/include/mach/at91sam9263_matrix.h          | 1 +
 arch/arm/mach-at91/include/mach/at91sam9_sdramc.h             | 1 +
 arch/arm/mach-at91/include/mach/at91sam9_smc.h                | 1 +
 arch/arm/mach-at91/include/mach/at91sam9g45_matrix.h          | 1 +
 arch/arm/mach-at91/include/mach/at91sam9rl_matrix.h           | 1 +
 arch/arm/mach-at91/include/mach/at91sam9x5_matrix.h           | 1 +
 arch/arm/mach-at91/include/mach/atmel_mpddrc.h                | 1 +
 arch/arm/mach-at91/include/mach/atmel_pio4.h                  | 1 +
 arch/arm/mach-at91/include/mach/atmel_sdhci.h                 | 1 +
 arch/arm/mach-at91/include/mach/atmel_serial.h                | 1 +
 arch/arm/mach-at91/include/mach/clk.h                         | 1 +
 arch/arm/mach-at91/include/mach/gpio.h                        | 1 +
 arch/arm/mach-at91/include/mach/sama5_matrix.h                | 1 +
 arch/arm/mach-at91/include/mach/sama5d2_smc.h                 | 1 +
 arch/arm/mach-at91/include/mach/sama5d3_smc.h                 | 1 +
 arch/arm/mach-at91/mpddrc.c                                   | 1 +
 arch/arm/mach-at91/spl.c                                      | 1 +
 arch/arm/mach-at91/spl_at91.c                                 | 2 ++
 arch/arm/mach-at91/spl_atmel.c                                | 2 ++
 arch/arm/mach-bcm283x/include/mach/gpio.h                     | 1 +
 arch/arm/mach-bcm283x/include/mach/mbox.h                     | 2 ++
 arch/arm/mach-bcm283x/include/mach/msg.h                      | 1 +
 arch/arm/mach-bcm283x/include/mach/sdhci.h                    | 1 +
 arch/arm/mach-bcm283x/include/mach/wdog.h                     | 1 +
 arch/arm/mach-bcm283x/init.c                                  | 1 +
 arch/arm/mach-bcm283x/mbox.c                                  | 1 +
 arch/arm/mach-bcm283x/msg.c                                   | 1 +
 arch/arm/mach-bcm283x/reset.c                                 | 1 +
 arch/arm/mach-bcmstb/include/mach/timer.h                     | 1 +
 arch/arm/mach-davinci/include/mach/davinci_misc.h             | 1 +
 arch/arm/mach-davinci/include/mach/dm365_lowlevel.h           | 1 +
 arch/arm/mach-davinci/include/mach/sdmmc_defs.h               | 1 +
 arch/arm/mach-davinci/include/mach/timer_defs.h               | 1 +
 arch/arm/mach-davinci/misc.c                                  | 1 +
 arch/arm/mach-davinci/spl.c                                   | 1 +
 arch/arm/mach-davinci/timer.c                                 | 1 +
 arch/arm/mach-exynos/clock.c                                  | 1 +
 arch/arm/mach-exynos/clock_init.h                             | 1 +
 arch/arm/mach-exynos/clock_init_exynos5.c                     | 1 +
 arch/arm/mach-exynos/common_setup.h                           | 1 +
 arch/arm/mach-exynos/dmc_common.c                             | 1 +
 arch/arm/mach-exynos/dmc_init_ddr3.c                          | 1 +
 arch/arm/mach-exynos/exynos5_setup.h                          | 1 +
 arch/arm/mach-exynos/include/mach/mmc.h                       | 1 +
 arch/arm/mach-exynos/include/mach/power.h                     | 1 +
 arch/arm/mach-exynos/include/mach/spl.h                       | 2 ++
 arch/arm/mach-exynos/include/mach/sromc.h                     | 1 +
 arch/arm/mach-exynos/include/mach/sys_proto.h                 | 1 +
 arch/arm/mach-exynos/include/mach/tmu.h                       | 1 +
 arch/arm/mach-exynos/lowlevel_init.c                          | 1 +
 arch/arm/mach-exynos/pinmux.c                                 | 1 +
 arch/arm/mach-exynos/power.c                                  | 1 +
 arch/arm/mach-exynos/soc.c                                    | 1 +
 arch/arm/mach-exynos/spl_boot.c                               | 1 +
 arch/arm/mach-imx/cache.c                                     | 1 +
 arch/arm/mach-imx/cmd_dek.c                                   | 1 +
 arch/arm/mach-imx/cmd_nandbcb.c                               | 2 ++
 arch/arm/mach-imx/cpu.c                                       | 1 +
 arch/arm/mach-imx/ddrmc-vf610-calibration.c                   | 1 +
 arch/arm/mach-imx/hab.c                                       | 1 +
 arch/arm/mach-imx/i2c-mxv7.c                                  | 1 +
 arch/arm/mach-imx/imx8/ahab.c                                 | 2 ++
 arch/arm/mach-imx/imx8/clock.c                                | 1 +
 arch/arm/mach-imx/imx8/cpu.c                                  | 3 +++
 arch/arm/mach-imx/imx8/fdt.c                                  | 1 +
 arch/arm/mach-imx/imx8/image.c                                | 1 +
 arch/arm/mach-imx/imx8/iomux.c                                | 1 +
 arch/arm/mach-imx/imx8/misc.c                                 | 1 +
 arch/arm/mach-imx/imx8/parse-container.c                      | 1 +
 arch/arm/mach-imx/imx8/snvs_security_sc.c                     | 1 +
 arch/arm/mach-imx/imx8m/clock_imx8mm.c                        | 2 ++
 arch/arm/mach-imx/imx8m/clock_imx8mq.c                        | 2 ++
 arch/arm/mach-imx/imx8m/clock_slice.c                         | 3 +++
 arch/arm/mach-imx/imx8m/soc.c                                 | 3 +++
 arch/arm/mach-imx/imx_bootaux.c                               | 1 +
 arch/arm/mach-imx/init.c                                      | 1 +
 arch/arm/mach-imx/iomux-v3.c                                  | 1 +
 arch/arm/mach-imx/mac.c                                       | 1 +
 arch/arm/mach-imx/misc.c                                      | 1 +
 arch/arm/mach-imx/mmc_env.c                                   | 2 ++
 arch/arm/mach-imx/mmdc_size.c                                 | 1 +
 arch/arm/mach-imx/mx5/clock.c                                 | 2 ++
 arch/arm/mach-imx/mx5/soc.c                                   | 2 ++
 arch/arm/mach-imx/mx6/clock.c                                 | 2 ++
 arch/arm/mach-imx/mx6/ddr.c                                   | 1 +
 arch/arm/mach-imx/mx6/module_fuse.c                           | 1 +
 arch/arm/mach-imx/mx6/mp.c                                    | 1 +
 arch/arm/mach-imx/mx6/opos6ul.c                               | 2 ++
 arch/arm/mach-imx/mx6/soc.c                                   | 2 ++
 arch/arm/mach-imx/mx7/clock.c                                 | 1 +
 arch/arm/mach-imx/mx7/clock_slice.c                           | 2 ++
 arch/arm/mach-imx/mx7/psci-mx7.c                              | 1 +
 arch/arm/mach-imx/mx7/snvs.c                                  | 1 +
 arch/arm/mach-imx/mx7/soc.c                                   | 3 +++
 arch/arm/mach-imx/mx7ulp/clock.c                              | 1 +
 arch/arm/mach-imx/mx7ulp/iomux.c                              | 1 +
 arch/arm/mach-imx/mx7ulp/pcc.c                                | 2 ++
 arch/arm/mach-imx/mx7ulp/scg.c                                | 1 +
 arch/arm/mach-imx/mx7ulp/soc.c                                | 2 ++
 arch/arm/mach-imx/rdc-sema.c                                  | 1 +
 arch/arm/mach-imx/spl.c                                       | 2 ++
 arch/arm/mach-imx/spl_imx_romapi.c                            | 1 +
 arch/arm/mach-imx/syscounter.c                                | 1 +
 arch/arm/mach-imx/timer.c                                     | 1 +
 arch/arm/mach-ipq40xx/clock-ipq4019.c                         | 1 +
 arch/arm/mach-ipq40xx/pinctrl-snapdragon.c                    | 1 +
 arch/arm/mach-k3/am6_init.c                                   | 1 +
 arch/arm/mach-k3/common.c                                     | 2 ++
 arch/arm/mach-k3/common.h                                     | 1 +
 arch/arm/mach-k3/include/mach/sys_proto.h                     | 1 +
 arch/arm/mach-k3/j721e_init.c                                 | 1 +
 arch/arm/mach-k3/security.c                                   | 1 +
 arch/arm/mach-k3/sysfw-loader.c                               | 1 +
 arch/arm/mach-keystone/clock.c                                | 2 ++
 arch/arm/mach-keystone/cmd_mon.c                              | 1 +
 arch/arm/mach-keystone/ddr3.c                                 | 1 +
 arch/arm/mach-keystone/ddr3_spd.c                             | 1 +
 arch/arm/mach-keystone/include/mach/clock_defs.h              | 1 +
 arch/arm/mach-keystone/include/mach/ddr3.h                    | 1 +
 arch/arm/mach-keystone/include/mach/hardware-k2g.h            | 1 +
 arch/arm/mach-keystone/include/mach/hardware.h                | 1 +
 arch/arm/mach-keystone/include/mach/mon.h                     | 1 +
 arch/arm/mach-keystone/include/mach/msmc.h                    | 1 +
 arch/arm/mach-keystone/include/mach/mux-k2g.h                 | 1 +
 arch/arm/mach-keystone/include/mach/psc_defs.h                | 1 +
 arch/arm/mach-keystone/init.c                                 | 1 +
 arch/arm/mach-keystone/keystone.c                             | 1 +
 arch/arm/mach-keystone/mon.c                                  | 1 +
 arch/arm/mach-keystone/msmc.c                                 | 1 +
 arch/arm/mach-keystone/psc.c                                  | 1 +
 arch/arm/mach-kirkwood/cache.c                                | 1 +
 arch/arm/mach-kirkwood/cpu.c                                  | 1 +
 arch/arm/mach-kirkwood/include/mach/cpu.h                     | 1 +
 arch/arm/mach-kirkwood/mpp.c                                  | 1 +
 arch/arm/mach-lpc32xx/clk.c                                   | 1 +
 arch/arm/mach-lpc32xx/cpu.c                                   | 1 +
 arch/arm/mach-lpc32xx/devices.c                               | 1 +
 arch/arm/mach-lpc32xx/dram.c                                  | 1 +
 arch/arm/mach-lpc32xx/timer.c                                 | 1 +
 arch/arm/mach-mediatek/mt7622/init.c                          | 1 +
 arch/arm/mach-mediatek/mt7623/init.c                          | 2 ++
 arch/arm/mach-mediatek/mt7623/preloader.h                     | 1 +
 arch/arm/mach-mediatek/mt7629/init.c                          | 2 ++
 arch/arm/mach-mediatek/mt8512/init.c                          | 1 +
 arch/arm/mach-mediatek/mt8516/init.c                          | 1 +
 arch/arm/mach-mediatek/mt8518/init.c                          | 1 +
 arch/arm/mach-mediatek/spl.c                                  | 1 +
 arch/arm/mach-meson/board-axg.c                               | 1 +
 arch/arm/mach-meson/board-common.c                            | 2 ++
 arch/arm/mach-meson/board-g12a.c                              | 1 +
 arch/arm/mach-meson/board-gx.c                                | 1 +
 arch/arm/mach-meson/board-info.c                              | 1 +
 arch/arm/mach-meson/sm.c                                      | 1 +
 arch/arm/mach-mvebu/arm64-common.c                            | 2 ++
 arch/arm/mach-mvebu/armada3700/cpu.c                          | 1 +
 arch/arm/mach-mvebu/armada8k/cpu.c                            | 1 +
 arch/arm/mach-mvebu/cpu.c                                     | 2 ++
 arch/arm/mach-mvebu/dram.c                                    | 1 +
 arch/arm/mach-mvebu/efuse.c                                   | 1 +
 arch/arm/mach-mvebu/gpio.c                                    | 1 +
 arch/arm/mach-mvebu/include/mach/cpu.h                        | 1 +
 arch/arm/mach-mvebu/include/mach/efuse.h                      | 1 +
 arch/arm/mach-mvebu/mbus.c                                    | 2 ++
 arch/arm/mach-mvebu/serdes/a38x/ctrl_pex.c                    | 2 ++
 arch/arm/mach-mvebu/serdes/a38x/high_speed_env_spec-38x.c     | 1 +
 arch/arm/mach-mvebu/serdes/a38x/high_speed_env_spec.c         | 1 +
 arch/arm/mach-mvebu/serdes/a38x/seq_exec.c                    | 1 +
 arch/arm/mach-mvebu/serdes/a38x/seq_exec.h                    | 1 +
 arch/arm/mach-mvebu/serdes/a38x/sys_env_lib.c                 | 1 +
 arch/arm/mach-mvebu/serdes/axp/high_speed_env_lib.c           | 2 ++
 arch/arm/mach-mvebu/serdes/axp/high_speed_env_spec.c          | 1 +
 arch/arm/mach-mvebu/spl.c                                     | 1 +
 arch/arm/mach-nexell/clock.c                                  | 2 ++
 arch/arm/mach-nexell/cmd_boot_linux.c                         | 1 +
 arch/arm/mach-nexell/include/mach/display.h                   | 1 +
 arch/arm/mach-nexell/include/mach/display_dev.h               | 1 +
 arch/arm/mach-nexell/include/mach/mipi_display.h              | 1 +
 arch/arm/mach-nexell/include/mach/reset.h                     | 1 +
 arch/arm/mach-nexell/include/mach/sec_reg.h                   | 1 +
 arch/arm/mach-nexell/include/mach/tieoff.h                    | 1 +
 arch/arm/mach-nexell/nx_sec_reg.c                             | 1 +
 arch/arm/mach-nexell/reset.c                                  | 1 +
 arch/arm/mach-nexell/tieoff.c                                 | 2 ++
 arch/arm/mach-nexell/timer.c                                  | 2 ++
 arch/arm/mach-omap2/abb.c                                     | 2 ++
 arch/arm/mach-omap2/am33xx/board.c                            | 2 ++
 arch/arm/mach-omap2/am33xx/clk_synthesizer.c                  | 1 +
 arch/arm/mach-omap2/am33xx/clock.c                            | 2 ++
 arch/arm/mach-omap2/am33xx/clock_am33xx.c                     | 2 ++
 arch/arm/mach-omap2/am33xx/clock_am43xx.c                     | 1 +
 arch/arm/mach-omap2/am33xx/clock_ti814x.c                     | 1 +
 arch/arm/mach-omap2/am33xx/clock_ti816x.c                     | 1 +
 arch/arm/mach-omap2/am33xx/ddr.c                              | 1 +
 arch/arm/mach-omap2/am33xx/emif4.c                            | 1 +
 arch/arm/mach-omap2/am33xx/mux.c                              | 1 +
 arch/arm/mach-omap2/am33xx/sys_info.c                         | 1 +
 arch/arm/mach-omap2/boot-common.c                             | 2 ++
 arch/arm/mach-omap2/clocks-common.c                           | 2 ++
 arch/arm/mach-omap2/emif-common.c                             | 2 ++
 arch/arm/mach-omap2/fdt-common.c                              | 1 +
 arch/arm/mach-omap2/hwinit-common.c                           | 2 ++
 arch/arm/mach-omap2/mem-common.c                              | 1 +
 arch/arm/mach-omap2/omap-cache.c                              | 1 +
 arch/arm/mach-omap2/omap3/am35x_musb.c                        | 1 +
 arch/arm/mach-omap2/omap3/board.c                             | 2 ++
 arch/arm/mach-omap2/omap3/boot.c                              | 1 +
 arch/arm/mach-omap2/omap3/clock.c                             | 1 +
 arch/arm/mach-omap2/omap3/emac.c                              | 1 +
 arch/arm/mach-omap2/omap3/emif4.c                             | 1 +
 arch/arm/mach-omap2/omap3/sdrc.c                              | 1 +
 arch/arm/mach-omap2/omap3/sys_info.c                          | 2 ++
 arch/arm/mach-omap2/omap4/boot.c                              | 1 +
 arch/arm/mach-omap2/omap4/emif.c                              | 1 +
 arch/arm/mach-omap2/omap4/hw_data.c                           | 1 +
 arch/arm/mach-omap2/omap4/hwinit.c                            | 1 +
 arch/arm/mach-omap2/omap4/sdram_elpida.c                      | 2 ++
 arch/arm/mach-omap2/omap5/abb.c                               | 1 +
 arch/arm/mach-omap2/omap5/boot.c                              | 1 +
 arch/arm/mach-omap2/omap5/dra7xx_iodelay.c                    | 1 +
 arch/arm/mach-omap2/omap5/emif.c                              | 1 +
 arch/arm/mach-omap2/omap5/fdt.c                               | 1 +
 arch/arm/mach-omap2/omap5/hw_data.c                           | 2 ++
 arch/arm/mach-omap2/omap5/hwinit.c                            | 2 ++
 arch/arm/mach-omap2/omap5/prcm-regs.c                         | 1 +
 arch/arm/mach-omap2/omap5/sdram.c                             | 2 ++
 arch/arm/mach-omap2/pipe3-phy.c                               | 2 ++
 arch/arm/mach-omap2/pipe3-phy.h                               | 2 ++
 arch/arm/mach-omap2/reset.c                                   | 2 ++
 arch/arm/mach-omap2/sata.c                                    | 2 ++
 arch/arm/mach-omap2/sec-common.c                              | 1 +
 arch/arm/mach-omap2/sysinfo-common.c                          | 1 +
 arch/arm/mach-omap2/timer.c                                   | 1 +
 arch/arm/mach-omap2/utils.c                                   | 2 ++
 arch/arm/mach-omap2/vc.c                                      | 1 +
 arch/arm/mach-orion5x/cpu.c                                   | 1 +
 arch/arm/mach-orion5x/dram.c                                  | 1 +
 arch/arm/mach-orion5x/include/mach/cpu.h                      | 1 +
 arch/arm/mach-orion5x/timer.c                                 | 1 +
 arch/arm/mach-owl/soc.c                                       | 1 +
 arch/arm/mach-rmobile/cpu_info-r8a7740.c                      | 1 +
 arch/arm/mach-rmobile/cpu_info-rcar.c                         | 1 +
 arch/arm/mach-rmobile/cpu_info-sh73a0.c                       | 1 +
 arch/arm/mach-rmobile/cpu_info.c                              | 1 +
 arch/arm/mach-rmobile/include/mach/ehci-rmobile.h             | 1 +
 arch/arm/mach-rmobile/include/mach/rcar-mstp.h                | 1 +
 arch/arm/mach-rmobile/include/mach/rmobile.h                  | 1 +
 arch/arm/mach-rmobile/timer.c                                 | 1 +
 arch/arm/mach-rockchip/board.c                                | 2 ++
 arch/arm/mach-rockchip/boot_mode.c                            | 1 +
 arch/arm/mach-rockchip/bootrom.c                              | 1 +
 arch/arm/mach-rockchip/misc.c                                 | 1 +
 arch/arm/mach-rockchip/px30-board-tpl.c                       | 1 +
 arch/arm/mach-rockchip/px30/px30.c                            | 1 +
 arch/arm/mach-rockchip/px30/syscon_px30.c                     | 1 +
 arch/arm/mach-rockchip/rk3036-board-spl.c                     | 1 +
 arch/arm/mach-rockchip/rk3036/sdram_rk3036.c                  | 1 +
 arch/arm/mach-rockchip/rk3188/rk3188.c                        | 1 +
 arch/arm/mach-rockchip/rk3188/syscon_rk3188.c                 | 1 +
 arch/arm/mach-rockchip/rk3288/rk3288.c                        | 2 ++
 arch/arm/mach-rockchip/rk3288/syscon_rk3288.c                 | 1 +
 arch/arm/mach-rockchip/rk3308/rk3308.c                        | 2 ++
 arch/arm/mach-rockchip/rk3368/rk3368.c                        | 1 +
 arch/arm/mach-rockchip/rk3368/syscon_rk3368.c                 | 1 +
 arch/arm/mach-rockchip/rk3399/rk3399.c                        | 2 ++
 arch/arm/mach-rockchip/rk3399/syscon_rk3399.c                 | 1 +
 arch/arm/mach-rockchip/sdram.c                                | 1 +
 arch/arm/mach-rockchip/spl-boot-order.c                       | 2 ++
 arch/arm/mach-rockchip/spl.c                                  | 2 ++
 arch/arm/mach-rockchip/tpl.c                                  | 2 ++
 arch/arm/mach-s5pc1xx/clock.c                                 | 1 +
 arch/arm/mach-s5pc1xx/include/mach/gpio.h                     | 1 +
 arch/arm/mach-s5pc1xx/include/mach/mmc.h                      | 1 +
 arch/arm/mach-s5pc1xx/include/mach/sromc.h                    | 1 +
 arch/arm/mach-s5pc1xx/include/mach/sys_proto.h                | 1 +
 arch/arm/mach-snapdragon/clock-apq8016.c                      | 1 +
 arch/arm/mach-snapdragon/clock-apq8096.c                      | 1 +
 arch/arm/mach-snapdragon/clock-snapdragon.c                   | 1 +
 arch/arm/mach-snapdragon/clock-snapdragon.h                   | 1 +
 arch/arm/mach-snapdragon/dram.c                               | 2 ++
 arch/arm/mach-snapdragon/include/mach/misc.h                  | 1 +
 arch/arm/mach-snapdragon/misc.c                               | 1 +
 arch/arm/mach-snapdragon/pinctrl-snapdragon.c                 | 1 +
 arch/arm/mach-socfpga/clock_manager.c                         | 1 +
 arch/arm/mach-socfpga/clock_manager_agilex.c                  | 1 +
 arch/arm/mach-socfpga/clock_manager_arria10.c                 | 1 +
 arch/arm/mach-socfpga/clock_manager_gen5.c                    | 1 +
 arch/arm/mach-socfpga/clock_manager_s10.c                     | 1 +
 arch/arm/mach-socfpga/firewall.c                              | 1 +
 arch/arm/mach-socfpga/freeze_controller.c                     | 1 +
 arch/arm/mach-socfpga/include/mach/clock_manager.h            | 4 ++--
 arch/arm/mach-socfpga/include/mach/clock_manager_gen5.h       | 1 +
 arch/arm/mach-socfpga/include/mach/clock_manager_s10.h        | 1 +
 arch/arm/mach-socfpga/include/mach/firewall.h                 | 1 +
 arch/arm/mach-socfpga/include/mach/fpga_manager.h             | 1 +
 arch/arm/mach-socfpga/include/mach/fpga_manager_arria10.h     | 1 +
 arch/arm/mach-socfpga/include/mach/fpga_manager_gen5.h        | 1 +
 arch/arm/mach-socfpga/include/mach/freeze_controller.h        | 1 +
 arch/arm/mach-socfpga/include/mach/mailbox_s10.h              | 1 +
 arch/arm/mach-socfpga/include/mach/misc.h                     | 1 +
 arch/arm/mach-socfpga/include/mach/nic301.h                   | 1 +
 arch/arm/mach-socfpga/include/mach/reset_manager.h            | 1 +
 arch/arm/mach-socfpga/include/mach/scan_manager.h             | 1 +
 arch/arm/mach-socfpga/include/mach/scu.h                      | 1 +
 arch/arm/mach-socfpga/include/mach/sdram_arria10.h            | 1 +
 arch/arm/mach-socfpga/include/mach/sdram_gen5.h               | 1 +
 arch/arm/mach-socfpga/include/mach/system_manager.h           | 1 +
 arch/arm/mach-socfpga/include/mach/system_manager_gen5.h      | 1 +
 arch/arm/mach-socfpga/include/mach/system_manager_soc64.h     | 1 +
 arch/arm/mach-socfpga/include/mach/timer.h                    | 1 +
 arch/arm/mach-socfpga/mailbox_s10.c                           | 1 +
 arch/arm/mach-socfpga/misc.c                                  | 1 +
 arch/arm/mach-socfpga/misc_arria10.c                          | 1 +
 arch/arm/mach-socfpga/misc_gen5.c                             | 2 ++
 arch/arm/mach-socfpga/misc_s10.c                              | 1 +
 arch/arm/mach-socfpga/pinmux_arria10.c                        | 1 +
 arch/arm/mach-socfpga/reset_manager_arria10.c                 | 1 +
 arch/arm/mach-socfpga/reset_manager_gen5.c                    | 1 +
 arch/arm/mach-socfpga/reset_manager_s10.c                     | 1 +
 arch/arm/mach-socfpga/scan_manager.c                          | 1 +
 arch/arm/mach-socfpga/spl_a10.c                               | 1 +
 arch/arm/mach-socfpga/spl_agilex.c                            | 1 +
 arch/arm/mach-socfpga/spl_gen5.c                              | 1 +
 arch/arm/mach-socfpga/spl_s10.c                               | 1 +
 arch/arm/mach-socfpga/system_manager_gen5.c                   | 1 +
 arch/arm/mach-socfpga/system_manager_s10.c                    | 1 +
 arch/arm/mach-socfpga/wrap_pinmux_config.c                    | 1 +
 arch/arm/mach-socfpga/wrap_pinmux_config_s10.c                | 1 +
 arch/arm/mach-socfpga/wrap_pll_config_s10.c                   | 1 +
 arch/arm/mach-socfpga/wrap_sdram_config.c                     | 1 +
 arch/arm/mach-stm32mp/bsec.c                                  | 1 +
 arch/arm/mach-stm32mp/cmd_stm32key.c                          | 1 +
 arch/arm/mach-stm32mp/cmd_stm32prog/cmd_stm32prog.c           | 1 +
 arch/arm/mach-stm32mp/cmd_stm32prog/stm32prog.c               | 2 ++
 arch/arm/mach-stm32mp/cmd_stm32prog/stm32prog.h               | 1 +
 arch/arm/mach-stm32mp/cmd_stm32prog/stm32prog_serial.c        | 1 +
 arch/arm/mach-stm32mp/cmd_stm32prog/stm32prog_usb.c           | 1 +
 arch/arm/mach-stm32mp/cpu.c                                   | 2 ++
 arch/arm/mach-stm32mp/dram_init.c                             | 1 +
 arch/arm/mach-stm32mp/fdt.c                                   | 2 ++
 arch/arm/mach-stm32mp/include/mach/gpio.h                     | 1 +
 arch/arm/mach-stm32mp/include/mach/stm32mp1_smc.h             | 1 +
 arch/arm/mach-stm32mp/include/mach/sys_proto.h                | 1 +
 arch/arm/mach-stm32mp/psci.c                                  | 1 +
 arch/arm/mach-stm32mp/pwr_regulator.c                         | 2 ++
 arch/arm/mach-stm32mp/spl.c                                   | 2 ++
 arch/arm/mach-sunxi/board.c                                   | 1 +
 arch/arm/mach-sunxi/clock.c                                   | 2 ++
 arch/arm/mach-sunxi/clock_sun4i.c                             | 1 +
 arch/arm/mach-sunxi/clock_sun50i_h6.c                         | 1 +
 arch/arm/mach-sunxi/clock_sun6i.c                             | 1 +
 arch/arm/mach-sunxi/clock_sun8i_a83t.c                        | 1 +
 arch/arm/mach-sunxi/clock_sun9i.c                             | 1 +
 arch/arm/mach-sunxi/cpu_info.c                                | 1 +
 arch/arm/mach-sunxi/dram_helpers.c                            | 1 +
 arch/arm/mach-sunxi/dram_sun4i.c                              | 2 ++
 arch/arm/mach-sunxi/dram_sun50i_h6.c                          | 1 +
 arch/arm/mach-sunxi/dram_sun6i.c                              | 1 +
 arch/arm/mach-sunxi/dram_sun8i_a23.c                          | 1 +
 arch/arm/mach-sunxi/dram_sun8i_a33.c                          | 1 +
 arch/arm/mach-sunxi/dram_sun8i_a83t.c                         | 1 +
 arch/arm/mach-sunxi/dram_sun9i.c                              | 1 +
 arch/arm/mach-sunxi/dram_sunxi_dw.c                           | 2 ++
 arch/arm/mach-sunxi/dram_timings/ddr2_v3s.c                   | 1 +
 arch/arm/mach-sunxi/dram_timings/ddr3_1333.c                  | 1 +
 arch/arm/mach-sunxi/dram_timings/h6_ddr3_1333.c               | 1 +
 arch/arm/mach-sunxi/dram_timings/h6_lpddr3.c                  | 1 +
 arch/arm/mach-sunxi/dram_timings/lpddr3_stock.c               | 1 +
 arch/arm/mach-sunxi/p2wi.c                                    | 1 +
 arch/arm/mach-sunxi/pinmux.c                                  | 1 +
 arch/arm/mach-sunxi/pmic_bus.c                                | 1 +
 arch/arm/mach-sunxi/prcm.c                                    | 1 +
 arch/arm/mach-sunxi/rsb.c                                     | 1 +
 arch/arm/mach-sunxi/spl_spi_sunxi.c                           | 1 +
 arch/arm/mach-tegra/ap.c                                      | 1 +
 arch/arm/mach-tegra/board.c                                   | 2 ++
 arch/arm/mach-tegra/board2.c                                  | 2 ++
 arch/arm/mach-tegra/cache.c                                   | 1 +
 arch/arm/mach-tegra/cboot.c                                   | 2 ++
 arch/arm/mach-tegra/clock.c                                   | 3 +++
 arch/arm/mach-tegra/cpu.c                                     | 1 +
 arch/arm/mach-tegra/ivc.c                                     | 1 +
 arch/arm/mach-tegra/pinmux-common.c                           | 1 +
 arch/arm/mach-tegra/pmc.c                                     | 1 +
 arch/arm/mach-tegra/spl.c                                     | 1 +
 arch/arm/mach-tegra/tegra114/clock.c                          | 1 +
 arch/arm/mach-tegra/tegra114/cpu.c                            | 1 +
 arch/arm/mach-tegra/tegra124/clock.c                          | 1 +
 arch/arm/mach-tegra/tegra124/cpu.c                            | 1 +
 arch/arm/mach-tegra/tegra124/psci.c                           | 1 +
 arch/arm/mach-tegra/tegra124/xusb-padctl.c                    | 1 +
 arch/arm/mach-tegra/tegra20/clock.c                           | 1 +
 arch/arm/mach-tegra/tegra20/cpu.c                             | 1 +
 arch/arm/mach-tegra/tegra20/crypto.c                          | 1 +
 arch/arm/mach-tegra/tegra20/crypto.h                          | 1 +
 arch/arm/mach-tegra/tegra20/emc.c                             | 1 +
 arch/arm/mach-tegra/tegra20/warmboot.c                        | 1 +
 arch/arm/mach-tegra/tegra20/warmboot_avp.c                    | 1 +
 arch/arm/mach-tegra/tegra210/clock.c                          | 1 +
 arch/arm/mach-tegra/tegra210/xusb-padctl.c                    | 1 +
 arch/arm/mach-tegra/tegra30/clock.c                           | 1 +
 arch/arm/mach-tegra/tegra30/cpu.c                             | 1 +
 arch/arm/mach-tegra/xusb-padctl-common.c                      | 1 +
 arch/arm/mach-tegra/xusb-padctl-common.h                      | 1 +
 arch/arm/mach-u8500/cpuinfo.c                                 | 1 +
 arch/arm/mach-uniphier/arm32/cache-uniphier.c                 | 2 ++
 arch/arm/mach-uniphier/arm32/psci.c                           | 1 +
 arch/arm/mach-uniphier/base-address.c                         | 1 +
 arch/arm/mach-uniphier/board_init.c                           | 1 +
 arch/arm/mach-uniphier/boot-device/boot-device-ld11.c         | 1 +
 arch/arm/mach-uniphier/boot-device/boot-device-pxs2.c         | 1 +
 arch/arm/mach-uniphier/boot-device/boot-device-pxs3.c         | 1 +
 arch/arm/mach-uniphier/boot-device/boot-device.c              | 2 ++
 arch/arm/mach-uniphier/boot-device/boot-device.h              | 1 +
 arch/arm/mach-uniphier/clk/clk-dram-ld4.c                     | 1 +
 arch/arm/mach-uniphier/clk/clk-dram-pro5.c                    | 1 +
 arch/arm/mach-uniphier/clk/clk-dram-pxs2.c                    | 1 +
 arch/arm/mach-uniphier/clk/clk-early-ld4.c                    | 1 +
 arch/arm/mach-uniphier/clk/clk-ld11.c                         | 1 +
 arch/arm/mach-uniphier/clk/clk-ld20.c                         | 1 +
 arch/arm/mach-uniphier/clk/clk-pro4.c                         | 1 +
 arch/arm/mach-uniphier/clk/clk-pro5.c                         | 1 +
 arch/arm/mach-uniphier/clk/clk-pxs2.c                         | 1 +
 arch/arm/mach-uniphier/clk/clk-pxs3.c                         | 1 +
 arch/arm/mach-uniphier/clk/dpll-ld4.c                         | 1 +
 arch/arm/mach-uniphier/clk/dpll-pro4.c                        | 1 +
 arch/arm/mach-uniphier/clk/dpll-sld8.c                        | 1 +
 arch/arm/mach-uniphier/clk/dpll-tail.c                        | 1 +
 arch/arm/mach-uniphier/clk/pll-base-ld20.c                    | 2 ++
 arch/arm/mach-uniphier/clk/pll-ld4.c                          | 1 +
 arch/arm/mach-uniphier/clk/pll-pro4.c                         | 1 +
 arch/arm/mach-uniphier/debug-uart/debug-uart-ld6b.c           | 1 +
 arch/arm/mach-uniphier/debug-uart/debug-uart-pro4.c           | 1 +
 arch/arm/mach-uniphier/debug-uart/debug-uart-pro5.c           | 1 +
 arch/arm/mach-uniphier/debug-uart/debug-uart-pxs2.c           | 1 +
 arch/arm/mach-uniphier/debug-uart/debug-uart.c                | 2 ++
 arch/arm/mach-uniphier/debug.h                                | 1 +
 arch/arm/mach-uniphier/dram/cmd_ddrmphy.c                     | 2 ++
 arch/arm/mach-uniphier/dram/cmd_ddrphy.c                      | 2 ++
 arch/arm/mach-uniphier/dram/ddrphy-ld4.c                      | 2 ++
 arch/arm/mach-uniphier/dram/ddrphy-training.c                 | 2 ++
 arch/arm/mach-uniphier/dram/umc-ld4.c                         | 2 ++
 arch/arm/mach-uniphier/dram/umc-pro4.c                        | 2 ++
 arch/arm/mach-uniphier/dram/umc-pxs2.c                        | 2 ++
 arch/arm/mach-uniphier/dram/umc-sld8.c                        | 2 ++
 arch/arm/mach-uniphier/dram_init.c                            | 2 ++
 arch/arm/mach-uniphier/memconf.c                              | 1 +
 arch/arm/mach-uniphier/micro-support-card.c                   | 2 ++
 arch/arm/mach-uniphier/mmc-boot-mode.c                        | 1 +
 arch/arm/mach-uniphier/reset.c                                | 1 +
 arch/arm/mach-uniphier/sc-regs.h                              | 1 +
 arch/arm/mach-uniphier/sc64-regs.h                            | 1 +
 arch/arm/mach-uniphier/sg-regs.h                              | 1 +
 arch/arm/mach-versal/include/mach/hardware.h                  | 1 +
 arch/arm/mach-versal/include/mach/sys_proto.h                 | 1 +
 arch/arm/mach-versal/mp.c                                     | 1 +
 arch/arm/mach-versatile/timer.c                               | 1 +
 arch/arm/mach-zynq/clk.c                                      | 1 +
 arch/arm/mach-zynq/cpu.c                                      | 1 +
 arch/arm/mach-zynq/ddrc.c                                     | 1 +
 arch/arm/mach-zynq/include/mach/hardware.h                    | 1 +
 arch/arm/mach-zynq/include/mach/sys_proto.h                   | 1 +
 arch/arm/mach-zynq/ps7_spl_init.c                             | 1 +
 arch/arm/mach-zynq/slcr.c                                     | 1 +
 arch/arm/mach-zynq/spl.c                                      | 1 +
 arch/arm/mach-zynq/timer.c                                    | 1 +
 arch/arm/mach-zynqmp-r5/cpu.c                                 | 1 +
 arch/arm/mach-zynqmp/clk.c                                    | 1 +
 arch/arm/mach-zynqmp/cpu.c                                    | 1 +
 arch/arm/mach-zynqmp/handoff.c                                | 1 +
 arch/arm/mach-zynqmp/include/mach/hardware.h                  | 1 +
 arch/arm/mach-zynqmp/include/mach/sys_proto.h                 | 1 +
 arch/arm/mach-zynqmp/mp.c                                     | 1 +
 arch/arm/mach-zynqmp/psu_spl_init.c                           | 2 ++
 arch/arm/mach-zynqmp/spl.c                                    | 1 +
 arch/m68k/cpu/mcf5227x/cpu.c                                  | 1 +
 arch/m68k/cpu/mcf5227x/speed.c                                | 1 +
 arch/m68k/cpu/mcf523x/cpu.c                                   | 1 +
 arch/m68k/cpu/mcf52x2/cpu.c                                   | 1 +
 arch/m68k/cpu/mcf52x2/cpu.h                                   | 1 +
 arch/m68k/cpu/mcf52x2/cpu_init.c                              | 1 +
 arch/m68k/cpu/mcf532x/cpu.c                                   | 1 +
 arch/m68k/cpu/mcf532x/cpu_init.c                              | 1 +
 arch/m68k/cpu/mcf532x/speed.c                                 | 1 +
 arch/m68k/cpu/mcf5445x/cpu.c                                  | 1 +
 arch/m68k/cpu/mcf5445x/cpu_init.c                             | 1 +
 arch/m68k/cpu/mcf5445x/pci.c                                  | 1 +
 arch/m68k/cpu/mcf5445x/speed.c                                | 1 +
 arch/m68k/cpu/mcf547x_8x/cpu.c                                | 1 +
 arch/m68k/cpu/mcf547x_8x/cpu_init.c                           | 1 +
 arch/m68k/cpu/mcf547x_8x/pci.c                                | 1 +
 arch/m68k/cpu/mcf547x_8x/slicetimer.c                         | 1 +
 arch/m68k/include/asm/coldfire/ata.h                          | 1 +
 arch/m68k/include/asm/coldfire/crossbar.h                     | 1 +
 arch/m68k/include/asm/coldfire/dspi.h                         | 1 +
 arch/m68k/include/asm/coldfire/edma.h                         | 1 +
 arch/m68k/include/asm/coldfire/eport.h                        | 1 +
 arch/m68k/include/asm/coldfire/flexbus.h                      | 1 +
 arch/m68k/include/asm/coldfire/flexcan.h                      | 1 +
 arch/m68k/include/asm/coldfire/intctrl.h                      | 1 +
 arch/m68k/include/asm/coldfire/lcd.h                          | 1 +
 arch/m68k/include/asm/coldfire/mdha.h                         | 1 +
 arch/m68k/include/asm/coldfire/pwm.h                          | 1 +
 arch/m68k/include/asm/coldfire/qspi.h                         | 1 +
 arch/m68k/include/asm/coldfire/rng.h                          | 1 +
 arch/m68k/include/asm/coldfire/skha.h                         | 1 +
 arch/m68k/include/asm/coldfire/ssi.h                          | 1 +
 arch/m68k/include/asm/fec.h                                   | 1 +
 arch/m68k/include/asm/fsl_mcdmafec.h                          | 1 +
 arch/m68k/include/asm/immap_520x.h                            | 1 +
 arch/m68k/include/asm/immap_5227x.h                           | 1 +
 arch/m68k/include/asm/immap_5235.h                            | 1 +
 arch/m68k/include/asm/immap_5272.h                            | 1 +
 arch/m68k/include/asm/immap_5275.h                            | 1 +
 arch/m68k/include/asm/immap_5282.h                            | 1 +
 arch/m68k/include/asm/immap_5301x.h                           | 1 +
 arch/m68k/include/asm/immap_5307.h                            | 1 +
 arch/m68k/include/asm/immap_5329.h                            | 1 +
 arch/m68k/include/asm/immap_5441x.h                           | 1 +
 arch/m68k/include/asm/immap_5445x.h                           | 1 +
 arch/m68k/include/asm/immap_547x_8x.h                         | 1 +
 arch/m68k/include/asm/io.h                                    | 1 +
 arch/m68k/include/asm/m5282.h                                 | 1 +
 arch/m68k/include/asm/ptrace.h                                | 1 +
 arch/m68k/include/asm/rtc.h                                   | 1 +
 arch/m68k/include/asm/timer.h                                 | 1 +
 arch/m68k/include/asm/uart.h                                  | 1 +
 arch/m68k/lib/bdinfo.c                                        | 1 +
 arch/m68k/lib/bootm.c                                         | 1 +
 arch/m68k/lib/cache.c                                         | 2 ++
 arch/m68k/lib/fec.c                                           | 1 +
 arch/m68k/lib/time.c                                          | 1 +
 arch/m68k/lib/traps.c                                         | 1 +
 arch/microblaze/cpu/cache.c                                   | 1 +
 arch/microblaze/cpu/interrupts.c                              | 1 +
 arch/microblaze/cpu/spl.c                                     | 1 +
 arch/microblaze/cpu/timer.c                                   | 1 +
 arch/microblaze/lib/bootm.c                                   | 1 +
 arch/mips/cpu/cpu.c                                           | 1 +
 arch/mips/cpu/time.c                                          | 1 +
 arch/mips/include/asm/cacheops.h                              | 1 +
 arch/mips/include/asm/io.h                                    | 1 +
 arch/mips/include/asm/mach-generic/ioremap.h                  | 1 +
 arch/mips/include/asm/mipsregs.h                              | 1 +
 arch/mips/include/asm/pgtable-bits.h                          | 1 +
 arch/mips/include/asm/sections.h                              | 1 +
 arch/mips/lib/boot.c                                          | 1 +
 arch/mips/lib/bootm.c                                         | 1 +
 arch/mips/lib/cache.c                                         | 3 +++
 arch/mips/lib/reloc.c                                         | 1 +
 arch/mips/lib/traps.c                                         | 1 +
 arch/mips/mach-ath79/ar933x/clk.c                             | 2 ++
 arch/mips/mach-ath79/ar933x/ddr.c                             | 1 +
 arch/mips/mach-ath79/ar934x/clk.c                             | 2 ++
 arch/mips/mach-ath79/ar934x/ddr.c                             | 1 +
 arch/mips/mach-ath79/cpu.c                                    | 1 +
 arch/mips/mach-ath79/qca953x/clk.c                            | 2 ++
 arch/mips/mach-ath79/qca953x/ddr.c                            | 1 +
 arch/mips/mach-ath79/qca956x/clk.c                            | 2 ++
 arch/mips/mach-ath79/qca956x/ddr.c                            | 1 +
 arch/mips/mach-ath79/reset.c                                  | 1 +
 arch/mips/mach-bmips/include/ioremap.h                        | 1 +
 arch/mips/mach-jz47xx/include/mach/jz4780.h                   | 2 ++
 arch/mips/mach-jz47xx/include/mach/jz4780_dram.h              | 1 +
 arch/mips/mach-jz47xx/jz4780/gpio.c                           | 1 +
 arch/mips/mach-jz47xx/jz4780/jz4780.c                         | 1 +
 arch/mips/mach-jz47xx/jz4780/pll.c                            | 2 ++
 arch/mips/mach-jz47xx/jz4780/reset.c                          | 1 +
 arch/mips/mach-jz47xx/jz4780/sdram.c                          | 2 ++
 arch/mips/mach-jz47xx/jz4780/timer.c                          | 2 ++
 arch/mips/mach-mscc/gpio.c                                    | 1 +
 arch/mips/mach-mscc/include/ioremap.h                         | 1 +
 arch/mips/mach-mscc/include/mach/common.h                     | 1 +
 arch/mips/mach-mscc/include/mach/ddr.h                        | 2 ++
 arch/mips/mach-mscc/include/mach/jr2/jr2.h                    | 1 +
 arch/mips/mach-mscc/include/mach/luton/luton.h                | 1 +
 arch/mips/mach-mscc/include/mach/ocelot/ocelot.h              | 1 +
 arch/mips/mach-mscc/include/mach/serval/serval.h              | 1 +
 arch/mips/mach-mscc/include/mach/servalt/servalt.h            | 1 +
 arch/mips/mach-mscc/include/mach/tlb.h                        | 1 +
 arch/mips/mach-mscc/phy.c                                     | 1 +
 arch/mips/mach-mscc/reset.c                                   | 1 +
 arch/mips/mach-mtmips/ddr_cal.c                               | 3 +++
 arch/mips/mach-mtmips/ddr_init.c                              | 2 ++
 arch/mips/mach-mtmips/include/mach/ddr.h                      | 1 +
 arch/mips/mach-mtmips/mt7628/ddr.c                            | 2 ++
 arch/mips/mach-mtmips/mt7628/init.c                           | 1 +
 arch/mips/mach-mtmips/mt7628/serial.c                         | 1 +
 arch/mips/mach-mtmips/spl.c                                   | 1 +
 arch/mips/mach-octeon/cache.c                                 | 1 +
 arch/mips/mach-octeon/clock.c                                 | 1 +
 arch/mips/mach-octeon/cpu.c                                   | 1 +
 arch/mips/mach-octeon/dram.c                                  | 1 +
 arch/mips/mach-octeon/include/ioremap.h                       | 1 +
 arch/mips/mach-pic32/cpu.c                                    | 2 ++
 arch/mips/mach-pic32/include/mach/ddr.h                       | 1 +
 arch/mips/mach-pic32/include/mach/pic32.h                     | 2 ++
 arch/mips/mach-pic32/reset.c                                  | 1 +
 arch/nds32/cpu/n1213/ag101/timer.c                            | 1 +
 arch/nds32/include/asm/bootm.h                                | 1 +
 arch/nds32/include/asm/io.h                                   | 1 +
 arch/nds32/include/asm/setup.h                                | 1 +
 arch/nds32/lib/boot.c                                         | 1 +
 arch/nds32/lib/bootm.c                                        | 1 +
 arch/nios2/cpu/interrupts.c                                   | 1 +
 arch/nios2/include/asm/dma-mapping.h                          | 1 +
 arch/nios2/include/asm/global_data.h                          | 1 +
 arch/nios2/include/asm/io.h                                   | 1 +
 arch/nios2/lib/bootm.c                                        | 1 +
 arch/powerpc/cpu/mpc83xx/arbiter/arbiter.h                    | 1 +
 arch/powerpc/cpu/mpc83xx/cpu.c                                | 1 +
 arch/powerpc/cpu/mpc83xx/cpu_init.c                           | 1 +
 arch/powerpc/cpu/mpc83xx/ecc.c                                | 2 ++
 arch/powerpc/cpu/mpc83xx/fdt.c                                | 1 +
 arch/powerpc/cpu/mpc83xx/initreg/initreg.h                    | 1 +
 arch/powerpc/cpu/mpc83xx/interrupts.c                         | 1 +
 arch/powerpc/cpu/mpc83xx/pci.c                                | 1 +
 arch/powerpc/cpu/mpc83xx/pcie.c                               | 1 +
 arch/powerpc/cpu/mpc83xx/qe_io.c                              | 1 +
 arch/powerpc/cpu/mpc83xx/spd_sdram.c                          | 1 +
 arch/powerpc/cpu/mpc83xx/speed.c                              | 1 +
 arch/powerpc/cpu/mpc83xx/spl_minimal.c                        | 1 +
 arch/powerpc/cpu/mpc83xx/traps.c                              | 1 +
 arch/powerpc/cpu/mpc85xx/b4860_serdes.c                       | 1 +
 arch/powerpc/cpu/mpc85xx/bsc9132_serdes.c                     | 1 +
 arch/powerpc/cpu/mpc85xx/c29x_serdes.c                        | 1 +
 arch/powerpc/cpu/mpc85xx/cmd_errata.c                         | 2 ++
 arch/powerpc/cpu/mpc85xx/commproc.c                           | 1 +
 arch/powerpc/cpu/mpc85xx/cpu.c                                | 2 ++
 arch/powerpc/cpu/mpc85xx/cpu_init.c                           | 2 ++
 arch/powerpc/cpu/mpc85xx/cpu_init_early.c                     | 1 +
 arch/powerpc/cpu/mpc85xx/ether_fcc.c                          | 1 +
 arch/powerpc/cpu/mpc85xx/fdt.c                                | 2 ++
 arch/powerpc/cpu/mpc85xx/fsl_corenet2_serdes.c                | 2 ++
 arch/powerpc/cpu/mpc85xx/fsl_corenet2_serdes.h                | 1 +
 arch/powerpc/cpu/mpc85xx/fsl_corenet_serdes.c                 | 1 +
 arch/powerpc/cpu/mpc85xx/fsl_corenet_serdes.h                 | 1 +
 arch/powerpc/cpu/mpc85xx/interrupts.c                         | 2 ++
 arch/powerpc/cpu/mpc85xx/liodn.c                              | 1 +
 arch/powerpc/cpu/mpc85xx/mp.c                                 | 1 +
 arch/powerpc/cpu/mpc85xx/mp.h                                 | 1 +
 arch/powerpc/cpu/mpc85xx/mpc8536_serdes.c                     | 1 +
 arch/powerpc/cpu/mpc85xx/mpc8544_serdes.c                     | 1 +
 arch/powerpc/cpu/mpc85xx/mpc8548_serdes.c                     | 1 +
 arch/powerpc/cpu/mpc85xx/mpc8568_serdes.c                     | 1 +
 arch/powerpc/cpu/mpc85xx/mpc8569_serdes.c                     | 1 +
 arch/powerpc/cpu/mpc85xx/mpc8572_serdes.c                     | 1 +
 arch/powerpc/cpu/mpc85xx/p1010_serdes.c                       | 1 +
 arch/powerpc/cpu/mpc85xx/p1021_serdes.c                       | 1 +
 arch/powerpc/cpu/mpc85xx/p1022_serdes.c                       | 1 +
 arch/powerpc/cpu/mpc85xx/p1023_serdes.c                       | 1 +
 arch/powerpc/cpu/mpc85xx/p2020_serdes.c                       | 1 +
 arch/powerpc/cpu/mpc85xx/p2041_serdes.c                       | 1 +
 arch/powerpc/cpu/mpc85xx/p3041_serdes.c                       | 1 +
 arch/powerpc/cpu/mpc85xx/p4080_serdes.c                       | 1 +
 arch/powerpc/cpu/mpc85xx/p5020_serdes.c                       | 1 +
 arch/powerpc/cpu/mpc85xx/p5040_serdes.c                       | 1 +
 arch/powerpc/cpu/mpc85xx/pci.c                                | 1 +
 arch/powerpc/cpu/mpc85xx/portals.c                            | 1 +
 arch/powerpc/cpu/mpc85xx/qe_io.c                              | 1 +
 arch/powerpc/cpu/mpc85xx/serial_scc.c                         | 2 ++
 arch/powerpc/cpu/mpc85xx/speed.c                              | 1 +
 arch/powerpc/cpu/mpc85xx/spl_minimal.c                        | 1 +
 arch/powerpc/cpu/mpc85xx/t1024_serdes.c                       | 1 +
 arch/powerpc/cpu/mpc85xx/t1040_serdes.c                       | 1 +
 arch/powerpc/cpu/mpc85xx/t2080_serdes.c                       | 1 +
 arch/powerpc/cpu/mpc85xx/t4240_serdes.c                       | 1 +
 arch/powerpc/cpu/mpc85xx/tlb.c                                | 2 ++
 arch/powerpc/cpu/mpc85xx/traps.c                              | 1 +
 arch/powerpc/cpu/mpc86xx/cpu.c                                | 1 +
 arch/powerpc/cpu/mpc86xx/fdt.c                                | 1 +
 arch/powerpc/cpu/mpc86xx/interrupts.c                         | 1 +
 arch/powerpc/cpu/mpc86xx/mp.c                                 | 1 +
 arch/powerpc/cpu/mpc86xx/mpc8610_serdes.c                     | 1 +
 arch/powerpc/cpu/mpc86xx/mpc8641_serdes.c                     | 1 +
 arch/powerpc/cpu/mpc86xx/speed.c                              | 1 +
 arch/powerpc/cpu/mpc86xx/traps.c                              | 1 +
 arch/powerpc/cpu/mpc8xx/cpu.c                                 | 2 ++
 arch/powerpc/cpu/mpc8xx/cpu_init.c                            | 2 ++
 arch/powerpc/cpu/mpc8xx/immap.c                               | 2 ++
 arch/powerpc/cpu/mpc8xx/interrupts.c                          | 2 ++
 arch/powerpc/cpu/mpc8xx/speed.c                               | 2 ++
 arch/powerpc/cpu/mpc8xx/traps.c                               | 1 +
 arch/powerpc/cpu/mpc8xxx/cpu.c                                | 2 ++
 arch/powerpc/cpu/mpc8xxx/fdt.c                                | 1 +
 arch/powerpc/cpu/mpc8xxx/fsl_lbc.c                            | 1 +
 arch/powerpc/cpu/mpc8xxx/fsl_pamu.c                           | 1 +
 arch/powerpc/cpu/mpc8xxx/law.c                                | 1 +
 arch/powerpc/cpu/mpc8xxx/pamu_table.c                         | 1 +
 arch/powerpc/cpu/mpc8xxx/srio.c                               | 1 +
 arch/powerpc/include/asm/arch-mpc83xx/gpio.h                  | 1 +
 arch/powerpc/include/asm/arch-mpc85xx/gpio.h                  | 1 +
 arch/powerpc/include/asm/cache.h                              | 1 +
 arch/powerpc/include/asm/cpm_85xx.h                           | 1 +
 arch/powerpc/include/asm/cpm_8xx.h                            | 1 +
 arch/powerpc/include/asm/fsl_dma.h                            | 1 +
 arch/powerpc/include/asm/fsl_i2c.h                            | 2 ++
 arch/powerpc/include/asm/fsl_law.h                            | 1 +
 arch/powerpc/include/asm/fsl_lbc.h                            | 1 +
 arch/powerpc/include/asm/fsl_mpc83xx_serdes.h                 | 1 +
 arch/powerpc/include/asm/fsl_pamu.h                           | 1 +
 arch/powerpc/include/asm/fsl_pci.h                            | 1 +
 arch/powerpc/include/asm/fsl_portals.h                        | 1 +
 arch/powerpc/include/asm/fsl_serdes.h                         | 1 +
 arch/powerpc/include/asm/global_data.h                        | 2 +-
 arch/powerpc/include/asm/immap_86xx.h                         | 1 +
 arch/powerpc/include/asm/immap_8xx.h                          | 1 +
 arch/powerpc/include/asm/io.h                                 | 2 ++
 arch/powerpc/include/asm/iopin_8xx.h                          | 1 +
 arch/powerpc/include/asm/mmu.h                                | 1 +
 arch/powerpc/include/asm/mp.h                                 | 1 +
 arch/powerpc/include/asm/ppc.h                                | 1 +
 arch/powerpc/lib/bdinfo.c                                     | 2 ++
 arch/powerpc/lib/bootm.c                                      | 1 +
 arch/powerpc/lib/cache.c                                      | 1 +
 arch/powerpc/lib/interrupts.c                                 | 1 +
 arch/powerpc/lib/spl.c                                        | 1 +
 arch/powerpc/lib/stack.c                                      | 1 +
 arch/powerpc/lib/time.c                                       | 1 +
 arch/riscv/cpu/cpu.c                                          | 1 +
 arch/riscv/cpu/fu540/cache.c                                  | 1 +
 arch/riscv/cpu/fu540/dram.c                                   | 1 +
 arch/riscv/cpu/generic/dram.c                                 | 1 +
 arch/riscv/include/asm/global_data.h                          | 1 +
 arch/riscv/include/asm/io.h                                   | 1 +
 arch/riscv/include/asm/ptrace.h                               | 1 +
 arch/riscv/include/asm/smp.h                                  | 1 +
 arch/riscv/lib/andes_plic.c                                   | 2 ++
 arch/riscv/lib/andes_plmt.c                                   | 2 ++
 arch/riscv/lib/boot.c                                         | 1 +
 arch/riscv/lib/bootm.c                                        | 2 ++
 arch/riscv/lib/fdt_fixup.c                                    | 1 +
 arch/riscv/lib/image.c                                        | 1 +
 arch/riscv/lib/interrupts.c                                   | 1 +
 arch/riscv/lib/rdtime.c                                       | 2 ++
 arch/riscv/lib/reloc_riscv_efi.c                              | 1 +
 arch/riscv/lib/sbi.c                                          | 1 +
 arch/riscv/lib/sbi_ipi.c                                      | 1 +
 arch/riscv/lib/sifive_clint.c                                 | 2 ++
 arch/riscv/lib/smp.c                                          | 1 +
 arch/riscv/lib/spl.c                                          | 2 ++
 arch/sandbox/cpu/cpu.c                                        | 1 +
 arch/sandbox/cpu/sdl.c                                        | 1 +
 arch/sandbox/cpu/spl.c                                        | 1 +
 arch/sandbox/cpu/start.c                                      | 1 +
 arch/sandbox/cpu/state.c                                      | 1 +
 arch/sandbox/include/asm/axi.h                                | 1 +
 arch/sandbox/include/asm/clk.h                                | 1 +
 arch/sandbox/include/asm/eth.h                                | 1 +
 arch/sandbox/include/asm/global_data.h                        | 1 +
 arch/sandbox/include/asm/gpio.h                               | 1 +
 arch/sandbox/include/asm/handoff.h                            | 1 +
 arch/sandbox/include/asm/io.h                                 | 1 +
 arch/sandbox/include/asm/mbox.h                               | 1 +
 arch/sandbox/include/asm/sdl.h                                | 1 +
 arch/sandbox/include/asm/sections.h                           | 1 +
 arch/sandbox/include/asm/setjmp.h                             | 1 +
 arch/sandbox/include/asm/state.h                              | 1 +
 arch/sandbox/include/asm/test.h                               | 1 +
 arch/sandbox/include/asm/u-boot-sandbox.h                     | 1 +
 arch/sandbox/lib/bootm.c                                      | 2 ++
 arch/sandbox/lib/pci_io.c                                     | 1 +
 arch/sh/cpu/sh4/cache.c                                       | 1 +
 arch/sh/include/asm/pci.h                                     | 1 +
 arch/sh/include/asm/string.h                                  | 1 +
 arch/sh/lib/board.c                                           | 1 +
 arch/sh/lib/time_sh2.c                                        | 1 +
 arch/sh/lib/zimageboot.c                                      | 1 +
 arch/x86/cpu/acpi_gpe.c                                       | 1 +
 arch/x86/cpu/apollolake/cpu_spl.c                             | 1 +
 arch/x86/cpu/apollolake/fsp_bindings.c                        | 1 +
 arch/x86/cpu/apollolake/fsp_s.c                               | 2 ++
 arch/x86/cpu/apollolake/hostbridge.c                          | 1 +
 arch/x86/cpu/apollolake/lpc.c                                 | 1 +
 arch/x86/cpu/apollolake/pmc.c                                 | 2 ++
 arch/x86/cpu/apollolake/punit.c                               | 1 +
 arch/x86/cpu/apollolake/spl.c                                 | 1 +
 arch/x86/cpu/apollolake/uart.c                                | 1 +
 arch/x86/cpu/baytrail/acpi.c                                  | 1 +
 arch/x86/cpu/baytrail/cpu.c                                   | 1 +
 arch/x86/cpu/baytrail/early_uart.c                            | 1 +
 arch/x86/cpu/baytrail/fsp_configs.c                           | 1 +
 arch/x86/cpu/braswell/early_uart.c                            | 1 +
 arch/x86/cpu/braswell/fsp_configs.c                           | 1 +
 arch/x86/cpu/broadwell/adsp.c                                 | 1 +
 arch/x86/cpu/broadwell/cpu_full.c                             | 2 ++
 arch/x86/cpu/broadwell/iobp.c                                 | 1 +
 arch/x86/cpu/broadwell/lpc.c                                  | 1 +
 arch/x86/cpu/broadwell/me.c                                   | 1 +
 arch/x86/cpu/broadwell/northbridge.c                          | 2 ++
 arch/x86/cpu/broadwell/pch.c                                  | 2 ++
 arch/x86/cpu/broadwell/pinctrl_broadwell.c                    | 2 ++
 arch/x86/cpu/broadwell/refcode.c                              | 2 ++
 arch/x86/cpu/broadwell/sata.c                                 | 1 +
 arch/x86/cpu/broadwell/sdram.c                                | 1 +
 arch/x86/cpu/coreboot/coreboot.c                              | 1 +
 arch/x86/cpu/coreboot/sdram.c                                 | 1 +
 arch/x86/cpu/coreboot/tables.c                                | 2 ++
 arch/x86/cpu/coreboot/timestamp.c                             | 2 ++
 arch/x86/cpu/cpu.c                                            | 2 ++
 arch/x86/cpu/efi/payload.c                                    | 1 +
 arch/x86/cpu/efi/sdram.c                                      | 1 +
 arch/x86/cpu/i386/cpu.c                                       | 3 +++
 arch/x86/cpu/i386/interrupt.c                                 | 2 ++
 arch/x86/cpu/intel_common/cpu.c                               | 1 +
 arch/x86/cpu/intel_common/fast_spi.c                          | 1 +
 arch/x86/cpu/intel_common/itss.c                              | 2 ++
 arch/x86/cpu/intel_common/lpc.c                               | 2 ++
 arch/x86/cpu/intel_common/microcode.c                         | 1 +
 arch/x86/cpu/intel_common/mrc.c                               | 2 ++
 arch/x86/cpu/intel_common/p2sb.c                              | 2 ++
 arch/x86/cpu/intel_common/pch.c                               | 1 +
 arch/x86/cpu/intel_common/report_platform.c                   | 1 +
 arch/x86/cpu/ioapic.c                                         | 1 +
 arch/x86/cpu/irq.c                                            | 1 +
 arch/x86/cpu/ivybridge/bd82x6x.c                              | 1 +
 arch/x86/cpu/ivybridge/cpu.c                                  | 1 +
 arch/x86/cpu/ivybridge/early_me.c                             | 1 +
 arch/x86/cpu/ivybridge/lpc.c                                  | 1 +
 arch/x86/cpu/ivybridge/model_206ax.c                          | 2 ++
 arch/x86/cpu/ivybridge/northbridge.c                          | 1 +
 arch/x86/cpu/ivybridge/sata.c                                 | 1 +
 arch/x86/cpu/ivybridge/sdram.c                                | 1 +
 arch/x86/cpu/mp_init.c                                        | 2 ++
 arch/x86/cpu/mtrr.c                                           | 1 +
 arch/x86/cpu/pci.c                                            | 1 +
 arch/x86/cpu/qemu/dram.c                                      | 1 +
 arch/x86/cpu/qemu/qemu.c                                      | 1 +
 arch/x86/cpu/quark/acpi.c                                     | 1 +
 arch/x86/cpu/quark/dram.c                                     | 1 +
 arch/x86/cpu/quark/hte.c                                      | 1 +
 arch/x86/cpu/quark/hte.h                                      | 1 +
 arch/x86/cpu/quark/mrc.c                                      | 1 +
 arch/x86/cpu/quark/mrc_util.c                                 | 1 +
 arch/x86/cpu/quark/mrc_util.h                                 | 1 +
 arch/x86/cpu/quark/msg_port.c                                 | 1 +
 arch/x86/cpu/quark/quark.c                                    | 1 +
 arch/x86/cpu/quark/smc.c                                      | 1 +
 arch/x86/cpu/quark/smc.h                                      | 1 +
 arch/x86/cpu/queensbay/tnc.c                                  | 1 +
 arch/x86/cpu/slimbootloader/sdram.c                           | 1 +
 arch/x86/cpu/tangier/acpi.c                                   | 1 +
 arch/x86/cpu/tangier/pinmux.c                                 | 3 +++
 arch/x86/cpu/tangier/sdram.c                                  | 1 +
 arch/x86/include/asm/acpi_nhlt.h                              | 1 +
 arch/x86/include/asm/acpi_table.h                             | 1 +
 arch/x86/include/asm/arch-apollolake/fsp/fsp_m_upd.h          | 2 ++
 arch/x86/include/asm/arch-apollolake/fsp/fsp_s_upd.h          | 2 ++
 arch/x86/include/asm/arch-apollolake/fsp_bindings.h           | 1 +
 arch/x86/include/asm/arch-apollolake/global_nvs.h             | 2 ++
 arch/x86/include/asm/arch-apollolake/lpc.h                    | 1 +
 arch/x86/include/asm/arch-apollolake/uart.h                   | 1 +
 arch/x86/include/asm/arch-baytrail/fsp/fsp_vpd.h              | 2 ++
 arch/x86/include/asm/arch-baytrail/global_nvs.h               | 2 ++
 arch/x86/include/asm/arch-braswell/fsp/fsp_vpd.h              | 2 ++
 arch/x86/include/asm/arch-broadwell/gpio.h                    | 1 +
 arch/x86/include/asm/arch-broadwell/me.h                      | 2 ++
 arch/x86/include/asm/arch-broadwell/pch.h                     | 1 +
 arch/x86/include/asm/arch-broadwell/pei_data.h                | 2 ++
 arch/x86/include/asm/arch-broadwell/pm.h                      | 1 +
 arch/x86/include/asm/arch-coreboot/sysinfo.h                  | 1 +
 arch/x86/include/asm/arch-coreboot/timestamp.h                | 1 +
 arch/x86/include/asm/arch-ivybridge/fsp/fsp_configs.h         | 1 +
 arch/x86/include/asm/arch-ivybridge/me.h                      | 2 ++
 arch/x86/include/asm/arch-ivybridge/model_206ax.h             | 1 +
 arch/x86/include/asm/arch-ivybridge/pch.h                     | 1 +
 arch/x86/include/asm/arch-ivybridge/pei_data.h                | 2 ++
 arch/x86/include/asm/arch-qemu/qemu.h                         | 1 +
 arch/x86/include/asm/arch-quark/global_nvs.h                  | 2 ++
 arch/x86/include/asm/arch-quark/mrc.h                         | 1 +
 arch/x86/include/asm/arch-quark/msg_port.h                    | 1 +
 arch/x86/include/asm/arch-quark/quark.h                       | 1 +
 arch/x86/include/asm/arch-queensbay/fsp/fsp_vpd.h             | 2 ++
 arch/x86/include/asm/arch-queensbay/tnc.h                     | 1 +
 arch/x86/include/asm/arch-slimbootloader/slimbootloader.h     | 1 +
 arch/x86/include/asm/arch-tangier/global_nvs.h                | 2 ++
 arch/x86/include/asm/bootm.h                                  | 1 +
 arch/x86/include/asm/coreboot_tables.h                        | 2 ++
 arch/x86/include/asm/cpu.h                                    | 1 +
 arch/x86/include/asm/cpu_common.h                             | 1 +
 arch/x86/include/asm/early_cmos.h                             | 1 +
 arch/x86/include/asm/fast_spi.h                               | 1 +
 arch/x86/include/asm/fsp/fsp_api.h                            | 1 +
 arch/x86/include/asm/fsp/fsp_azalia.h                         | 2 ++
 arch/x86/include/asm/fsp/fsp_fv.h                             | 1 +
 arch/x86/include/asm/fsp/fsp_hob.h                            | 2 ++
 arch/x86/include/asm/fsp/fsp_infoheader.h                     | 2 ++
 arch/x86/include/asm/fsp/fsp_support.h                        | 1 +
 arch/x86/include/asm/fsp1/fsp_api.h                           | 1 +
 arch/x86/include/asm/fsp1/fsp_ffs.h                           | 2 ++
 arch/x86/include/asm/fsp1/fsp_support.h                       | 1 +
 arch/x86/include/asm/fsp2/fsp_api.h                           | 2 ++
 arch/x86/include/asm/fsp2/fsp_internal.h                      | 1 +
 arch/x86/include/asm/global_data.h                            | 2 ++
 arch/x86/include/asm/gpio.h                                   | 1 +
 arch/x86/include/asm/handoff.h                                | 2 ++
 arch/x86/include/asm/hob.h                                    | 1 +
 arch/x86/include/asm/intel_pinctrl.h                          | 1 +
 arch/x86/include/asm/io.h                                     | 1 +
 arch/x86/include/asm/ioapic.h                                 | 1 +
 arch/x86/include/asm/irq.h                                    | 1 +
 arch/x86/include/asm/me_common.h                              | 1 +
 arch/x86/include/asm/microcode.h                              | 1 +
 arch/x86/include/asm/mpspec.h                                 | 1 +
 arch/x86/include/asm/mrc_common.h                             | 1 +
 arch/x86/include/asm/mrccache.h                               | 1 +
 arch/x86/include/asm/mtrr.h                                   | 2 ++
 arch/x86/include/asm/pch_common.h                             | 1 +
 arch/x86/include/asm/pci.h                                    | 1 +
 arch/x86/include/asm/pirq_routing.h                           | 2 ++
 arch/x86/include/asm/pnp_def.h                                | 1 +
 arch/x86/include/asm/processor.h                              | 1 +
 arch/x86/include/asm/scu.h                                    | 1 +
 arch/x86/include/asm/sfi.h                                    | 1 +
 arch/x86/include/asm/sipi.h                                   | 2 ++
 arch/x86/include/asm/speedstep.h                              | 1 +
 arch/x86/include/asm/spl.h                                    | 1 +
 arch/x86/include/asm/tables.h                                 | 1 +
 arch/x86/include/asm/u-boot-x86.h                             | 1 +
 arch/x86/include/asm/zimage.h                                 | 1 +
 arch/x86/lib/acpi.c                                           | 1 +
 arch/x86/lib/acpi_nhlt.c                                      | 1 +
 arch/x86/lib/acpi_table.c                                     | 2 ++
 arch/x86/lib/bios.c                                           | 1 +
 arch/x86/lib/bios.h                                           | 3 +++
 arch/x86/lib/bios_interrupts.c                                | 1 +
 arch/x86/lib/bootm.c                                          | 1 +
 arch/x86/lib/cmd_boot.c                                       | 1 +
 arch/x86/lib/coreboot_table.c                                 | 1 +
 arch/x86/lib/div64.c                                          | 2 ++
 arch/x86/lib/e820.c                                           | 1 +
 arch/x86/lib/early_cmos.c                                     | 1 +
 arch/x86/lib/fsp/fsp_common.c                                 | 1 +
 arch/x86/lib/fsp/fsp_dram.c                                   | 1 +
 arch/x86/lib/fsp/fsp_graphics.c                               | 1 +
 arch/x86/lib/fsp/fsp_support.c                                | 1 +
 arch/x86/lib/fsp1/fsp_dram.c                                  | 1 +
 arch/x86/lib/fsp1/fsp_support.c                               | 1 +
 arch/x86/lib/fsp2/fsp_dram.c                                  | 1 +
 arch/x86/lib/fsp2/fsp_init.c                                  | 1 +
 arch/x86/lib/fsp2/fsp_meminit.c                               | 1 +
 arch/x86/lib/fsp2/fsp_silicon_init.c                          | 1 +
 arch/x86/lib/fsp2/fsp_support.c                               | 2 ++
 arch/x86/lib/hob.c                                            | 1 +
 arch/x86/lib/i8254.c                                          | 1 +
 arch/x86/lib/i8259.c                                          | 1 +
 arch/x86/lib/interrupts.c                                     | 1 +
 arch/x86/lib/mpspec.c                                         | 3 +++
 arch/x86/lib/mrccache.c                                       | 1 +
 arch/x86/lib/physmem.c                                        | 1 +
 arch/x86/lib/pinctrl_ich6.c                                   | 1 +
 arch/x86/lib/pirq_routing.c                                   | 2 ++
 arch/x86/lib/pmu.c                                            | 1 +
 arch/x86/lib/ramtest.c                                        | 1 +
 arch/x86/lib/relocate.c                                       | 1 +
 arch/x86/lib/scu.c                                            | 1 +
 arch/x86/lib/sfi.c                                            | 1 +
 arch/x86/lib/spl.c                                            | 2 ++
 arch/x86/lib/tables.c                                         | 1 +
 arch/x86/lib/tpl.c                                            | 2 ++
 arch/x86/lib/zimage.c                                         | 1 +
 arch/xtensa/cpu/cpu.c                                         | 1 +
 arch/xtensa/include/asm/ldscript.h                            | 1 +
 arch/xtensa/lib/bootm.c                                       | 1 +
 arch/xtensa/lib/cache.c                                       | 1 +
 arch/xtensa/lib/relocate.c                                    | 1 +
 arch/xtensa/lib/time.c                                        | 1 +
 board/AndesTech/adp-ae3xx/adp-ae3xx.c                         | 1 +
 board/AndesTech/adp-ag101p/adp-ag101p.c                       | 1 +
 board/AndesTech/ax25-ae350/ax25-ae350.c                       | 1 +
 board/Arcturus/ucp1020/cmd_arc.c                              | 1 +
 board/Arcturus/ucp1020/ddr.c                                  | 1 +
 board/Arcturus/ucp1020/spl.c                                  | 1 +
 board/Arcturus/ucp1020/spl_minimal.c                          | 1 +
 board/Arcturus/ucp1020/ucp1020.c                              | 1 +
 board/BuR/brppt1/board.c                                      | 1 +
 board/BuR/brppt2/board.c                                      | 1 +
 board/BuR/brsmarc1/board.c                                    | 1 +
 board/BuR/brxre1/board.c                                      | 1 +
 board/BuR/common/br_resetc.c                                  | 2 ++
 board/BuR/common/br_resetc.h                                  | 1 +
 board/BuR/common/bur_common.h                                 | 1 +
 board/BuR/common/common.c                                     | 1 +
 board/BuS/eb_cpu5282/eb_cpu5282.c                             | 1 +
 board/CZ.NIC/turris_mox/mox_sp.c                              | 1 +
 board/CZ.NIC/turris_mox/mox_sp.h                              | 1 +
 board/CZ.NIC/turris_mox/turris_mox.c                          | 1 +
 board/CZ.NIC/turris_omnia/turris_omnia.c                      | 2 ++
 board/LaCie/common/common.c                                   | 1 +
 board/LaCie/common/common.h                                   | 1 +
 board/LaCie/edminiv2/edminiv2.c                               | 1 +
 board/LaCie/net2big_v2/net2big_v2.c                           | 1 +
 board/LaCie/netspace_v2/netspace_v2.c                         | 1 +
 board/Marvell/aspenite/aspenite.c                             | 1 +
 board/Marvell/db-88f6281-bp/db-88f6281-bp.c                   | 1 +
 board/Marvell/db-88f6820-amc/db-88f6820-amc.c                 | 1 +
 board/Marvell/db-88f6820-gp/db-88f6820-gp.c                   | 1 +
 board/Marvell/db-mv784mp-gp/db-mv784mp-gp.c                   | 1 +
 board/Marvell/dreamplug/dreamplug.c                           | 1 +
 board/Marvell/gplugd/gplugd.c                                 | 1 +
 board/Marvell/guruplug/guruplug.c                             | 1 +
 board/Marvell/mvebu_armada-37xx/board.c                       | 1 +
 board/Marvell/mvebu_armada-8k/board.c                         | 1 +
 board/Marvell/openrd/openrd.c                                 | 1 +
 board/Marvell/sheevaplug/sheevaplug.c                         | 1 +
 board/Seagate/dockstar/dockstar.c                             | 1 +
 board/Seagate/goflexhome/goflexhome.c                         | 1 +
 board/Seagate/nas220/nas220.c                                 | 1 +
 board/Synology/ds109/ds109.c                                  | 1 +
 board/Synology/ds109/ds109.h                                  | 1 +
 board/Synology/ds414/cmd_syno.c                               | 1 +
 board/Synology/ds414/ds414.c                                  | 1 +
 board/abilis/tb100/tb100.c                                    | 1 +
 board/advantech/dms-ba16/dms-ba16.c                           | 1 +
 board/advantech/imx8qm_rom7720_a1/imx8qm_rom7720_a1.c         | 1 +
 board/advantech/imx8qm_rom7720_a1/spl.c                       | 1 +
 board/advantech/som-db5800-som-6867/som-db5800-som-6867.c     | 1 +
 board/alliedtelesis/SBx81LIFKW/sbx81lifkw.c                   | 1 +
 board/alliedtelesis/SBx81LIFXCAT/sbx81lifxcat.c               | 1 +
 board/alliedtelesis/x530/x530.c                               | 1 +
 board/altera/arria5-socdk/qts/pinmux_config.h                 | 1 +
 board/altera/arria5-socdk/qts/sdram_config.h                  | 1 +
 board/altera/cyclone5-socdk/qts/pinmux_config.h               | 1 +
 board/altera/cyclone5-socdk/qts/sdram_config.h                | 1 +
 board/amazon/kc1/kc1.c                                        | 1 +
 board/amlogic/odroid-n2/odroid-n2.c                           | 1 +
 board/amlogic/p200/p200.c                                     | 1 +
 board/amlogic/p201/p201.c                                     | 1 +
 board/amlogic/p212/p212.c                                     | 1 +
 board/amlogic/q200/q200.c                                     | 1 +
 board/aries/mcvevk/qts/pinmux_config.h                        | 1 +
 board/aries/mcvevk/qts/sdram_config.h                         | 1 +
 board/aristainetos/aristainetos.c                             | 1 +
 board/armadeus/apf27/apf27.c                                  | 1 +
 board/armltd/integrator/integrator.c                          | 1 +
 board/armltd/integrator/pci.c                                 | 1 +
 board/armltd/integrator/timer.c                               | 1 +
 board/armltd/vexpress/vexpress_common.c                       | 1 +
 board/armltd/vexpress/vexpress_tc2.c                          | 1 +
 board/armltd/vexpress64/pcie.c                                | 1 +
 board/armltd/vexpress64/vexpress64.c                          | 2 ++
 board/astro/mcf5373l/fpga.c                                   | 1 +
 board/astro/mcf5373l/mcf5373l.c                               | 1 +
 board/atmark-techno/armadillo-800eva/armadillo-800eva.c       | 1 +
 board/atmel/at91rm9200ek/at91rm9200ek.c                       | 1 +
 board/atmel/at91sam9261ek/at91sam9261ek.c                     | 1 +
 board/atmel/at91sam9263ek/at91sam9263ek.c                     | 1 +
 board/atmel/at91sam9m10g45ek/at91sam9m10g45ek.c               | 1 +
 board/atmel/at91sam9n12ek/at91sam9n12ek.c                     | 1 +
 board/atmel/at91sam9rlek/at91sam9rlek.c                       | 1 +
 board/atmel/common/board.c                                    | 1 +
 board/atmel/common/mac-spi-nor.c                              | 1 +
 board/atmel/common/video_display.c                            | 1 +
 board/atmel/sama5d27_som1_ek/sama5d27_som1_ek.c               | 1 +
 board/atmel/sama5d27_wlsom1_ek/sama5d27_wlsom1_ek.c           | 1 +
 board/atmel/sama5d2_icp/sama5d2_icp.c                         | 1 +
 board/atmel/sama5d2_xplained/sama5d2_xplained.c               | 1 +
 board/atmel/sama5d3_xplained/sama5d3_xplained.c               | 1 +
 board/atmel/sama5d3xek/sama5d3xek.c                           | 1 +
 board/atmel/sama5d4_xplained/sama5d4_xplained.c               | 1 +
 board/atmel/sama5d4ek/sama5d4ek.c                             | 1 +
 board/avionic-design/common/tamonten-ng.c                     | 1 +
 board/bachmann/ot1200/ot1200.c                                | 1 +
 board/bachmann/ot1200/ot1200_spl.c                            | 1 +
 board/barco/platinum/spl_picon.c                              | 1 +
 board/barco/platinum/spl_titanium.c                           | 1 +
 board/beacon/beacon-rzg2m/beacon-rzg2m.c                      | 1 +
 board/beacon/imx8mm/spl.c                                     | 1 +
 board/beckhoff/mx53cx9020/mx53cx9020.c                        | 1 +
 board/beckhoff/mx53cx9020/mx53cx9020_video.c                  | 1 +
 board/bluegiga/apx4devkit/apx4devkit.c                        | 1 +
 board/bluegiga/apx4devkit/spl_boot.c                          | 1 +
 board/bluewater/gurnard/gurnard.c                             | 1 +
 board/bosch/shc/board.c                                       | 1 +
 board/bosch/shc/board.h                                       | 1 +
 board/boundary/nitrogen6x/nitrogen6x.c                        | 1 +
 board/broadcom/bcm_ep/board.c                                 | 1 +
 board/broadcom/bcmns2/northstar2.c                            | 1 +
 board/broadcom/bcmns3/ns3.c                                   | 1 +
 board/bticino/mamoj/spl.c                                     | 1 +
 board/buffalo/lsxl/lsxl.c                                     | 1 +
 board/cadence/xtfpga/xtfpga.c                                 | 1 +
 board/cavium/thunderx/atf.c                                   | 1 +
 board/cavium/thunderx/thunderx.c                              | 1 +
 board/ccv/xpress/spl.c                                        | 1 +
 board/ccv/xpress/xpress.c                                     | 1 +
 board/cirrus/edb93xx/edb93xx.c                                | 1 +
 board/cloudengines/pogo_e02/pogo_e02.c                        | 1 +
 board/cobra5272/flash.c                                       | 1 +
 board/compulab/cl-som-imx7/cl-som-imx7.c                      | 1 +
 board/compulab/cl-som-imx7/spl.c                              | 1 +
 board/compulab/cm_fx6/cm_fx6.c                                | 1 +
 board/compulab/cm_fx6/spl.c                                   | 1 +
 board/compulab/cm_t335/cm_t335.c                              | 1 +
 board/compulab/cm_t43/cm_t43.c                                | 1 +
 board/compulab/cm_t43/spl.c                                   | 1 +
 board/compulab/common/common.c                                | 2 ++
 board/compulab/common/common.h                                | 1 +
 board/compulab/common/eeprom.c                                | 1 +
 board/compulab/common/eeprom.h                                | 1 +
 board/compulab/common/omap3_display.c                         | 1 +
 board/compulab/common/omap3_smc911x.c                         | 1 +
 board/congatec/cgtqmx6eval/cgtqmx6eval.c                      | 2 ++
 board/congatec/conga-qeval20-qa3-e3845/conga-qeval20-qa3.c    | 1 +
 board/corscience/tricorder/led.c                              | 1 +
 board/corscience/tricorder/tricorder-eeprom.c                 | 2 ++
 board/corscience/tricorder/tricorder-eeprom.h                 | 2 ++
 board/corscience/tricorder/tricorder.c                        | 1 +
 board/cortina/presidio-asic/presidio.c                        | 1 +
 board/creative/xfi3/spl_boot.c                                | 1 +
 board/creative/xfi3/xfi3.c                                    | 1 +
 board/cssi/MCR3000/MCR3000.c                                  | 2 ++
 board/cssi/MCR3000/nand.c                                     | 1 +
 board/d-link/dns325/dns325.c                                  | 1 +
 board/davinci/da8xxevm/da850evm.c                             | 1 +
 board/davinci/da8xxevm/omapl138_lcdk.c                        | 1 +
 board/devboards/dbm-soc1/qts/pinmux_config.h                  | 1 +
 board/devboards/dbm-soc1/qts/sdram_config.h                   | 1 +
 board/dhelectronics/dh_imx6/dh_imx6.c                         | 1 +
 board/dhelectronics/dh_imx6/dh_imx6_spl.c                     | 1 +
 board/dhelectronics/dh_stm32mp1/board.c                       | 2 ++
 board/ebv/socrates/qts/pinmux_config.h                        | 1 +
 board/ebv/socrates/qts/sdram_config.h                         | 1 +
 board/eets/pdu001/board.c                                     | 1 +
 board/eets/pdu001/board.h                                     | 1 +
 board/eets/pdu001/mux.c                                       | 1 +
 board/egnite/ethernut5/ethernut5_pwrman.c                     | 1 +
 board/el/el6x/el6x.c                                          | 1 +
 board/embest/mx6boards/mx6boards.c                            | 1 +
 board/emulation/qemu-arm/qemu-arm.c                           | 1 +
 board/emulation/qemu-riscv/qemu-riscv.c                       | 1 +
 board/engicam/common/board.c                                  | 1 +
 board/engicam/common/spl.c                                    | 1 +
 board/engicam/imx6q/imx6q.c                                   | 1 +
 board/esd/meesc/meesc.c                                       | 1 +
 board/esd/vme8349/caddy.c                                     | 1 +
 board/esd/vme8349/caddy.h                                     | 1 +
 board/esd/vme8349/pci.c                                       | 1 +
 board/esd/vme8349/vme8349.c                                   | 1 +
 board/freescale/common/arm_sleep.c                            | 2 ++
 board/freescale/common/cadmus.c                               | 1 +
 board/freescale/common/cds_pci_ft.c                           | 1 +
 board/freescale/common/cmd_esbc_validate.c                    | 1 +
 board/freescale/common/dcu_sii9022a.c                         | 1 +
 board/freescale/common/diu_ch7301.c                           | 1 +
 board/freescale/common/emc2305.c                              | 1 +
 board/freescale/common/emc2305.h                              | 1 +
 board/freescale/common/fman.c                                 | 1 +
 board/freescale/common/fman.h                                 | 1 +
 board/freescale/common/fsl_chain_of_trust.c                   | 2 ++
 board/freescale/common/fsl_validate.c                         | 2 ++
 board/freescale/common/ics307_clk.c                           | 1 +
 board/freescale/common/idt8t49n222a_serdes_clk.h              | 1 +
 board/freescale/common/ls102xa_stream_id.c                    | 1 +
 board/freescale/common/mc34vr500.c                            | 1 +
 board/freescale/common/mpc85xx_sleep.c                        | 2 ++
 board/freescale/common/ngpixis.c                              | 1 +
 board/freescale/common/ngpixis.h                              | 1 +
 board/freescale/common/ns_access.c                            | 1 +
 board/freescale/common/pfuze.c                                | 1 +
 board/freescale/common/pfuze.h                                | 1 +
 board/freescale/common/pixis.c                                | 1 +
 board/freescale/common/pixis.h                                | 1 +
 board/freescale/common/pq-mds-pib.c                           | 1 +
 board/freescale/common/qixis.c                                | 2 ++
 board/freescale/common/qixis.h                                | 1 +
 board/freescale/common/sdhc_boot.c                            | 1 +
 board/freescale/common/sgmii_riser.c                          | 1 +
 board/freescale/common/spl.h                                  | 1 +
 board/freescale/common/sys_eeprom.c                           | 2 ++
 board/freescale/common/vid.c                                  | 2 ++
 board/freescale/common/vid.h                                  | 1 +
 board/freescale/corenet_ds/corenet_ds.c                       | 1 +
 board/freescale/corenet_ds/ddr.c                              | 1 +
 board/freescale/corenet_ds/eth_hydra.c                        | 1 +
 board/freescale/corenet_ds/eth_p4080.c                        | 1 +
 board/freescale/corenet_ds/eth_superhydra.c                   | 1 +
 board/freescale/imx8mm_evk/spl.c                              | 1 +
 board/freescale/imx8mn_evk/spl.c                              | 1 +
 board/freescale/imx8mp_evk/spl.c                              | 1 +
 board/freescale/imx8mq_evk/spl.c                              | 1 +
 board/freescale/imx8qm_mek/imx8qm_mek.c                       | 2 ++
 board/freescale/imx8qm_mek/spl.c                              | 1 +
 board/freescale/imx8qxp_mek/imx8qxp_mek.c                     | 2 ++
 board/freescale/imx8qxp_mek/spl.c                             | 1 +
 board/freescale/imxrt1020-evk/imxrt1020-evk.c                 | 1 +
 board/freescale/imxrt1050-evk/imxrt1050-evk.c                 | 1 +
 board/freescale/ls1012afrdm/ls1012afrdm.c                     | 1 +
 board/freescale/ls1012aqds/eth.c                              | 1 +
 board/freescale/ls1012aqds/ls1012aqds.c                       | 2 ++
 board/freescale/ls1012ardb/eth.c                              | 1 +
 board/freescale/ls1012ardb/ls1012ardb.c                       | 1 +
 board/freescale/ls1021aiot/ls1021aiot.c                       | 1 +
 board/freescale/ls1021aqds/dcu.c                              | 1 +
 board/freescale/ls1021aqds/ddr.c                              | 2 ++
 board/freescale/ls1021aqds/ddr.h                              | 1 +
 board/freescale/ls1021aqds/eth.c                              | 1 +
 board/freescale/ls1021aqds/ls1021aqds.c                       | 2 ++
 board/freescale/ls1021atsn/ls1021atsn.c                       | 1 +
 board/freescale/ls1021atwr/ls1021atwr.c                       | 2 ++
 board/freescale/ls1028a/ls1028a.c                             | 2 ++
 board/freescale/ls1043aqds/ddr.c                              | 1 +
 board/freescale/ls1043aqds/ddr.h                              | 1 +
 board/freescale/ls1043aqds/eth.c                              | 1 +
 board/freescale/ls1043aqds/ls1043aqds.c                       | 2 ++
 board/freescale/ls1043ardb/cpld.c                             | 1 +
 board/freescale/ls1043ardb/cpld.h                             | 1 +
 board/freescale/ls1043ardb/ddr.c                              | 1 +
 board/freescale/ls1043ardb/ddr.h                              | 1 +
 board/freescale/ls1043ardb/eth.c                              | 1 +
 board/freescale/ls1043ardb/ls1043ardb.c                       | 1 +
 board/freescale/ls1046afrwy/eth.c                             | 1 +
 board/freescale/ls1046afrwy/ls1046afrwy.c                     | 1 +
 board/freescale/ls1046aqds/ddr.c                              | 1 +
 board/freescale/ls1046aqds/ddr.h                              | 1 +
 board/freescale/ls1046aqds/eth.c                              | 1 +
 board/freescale/ls1046aqds/ls1046aqds.c                       | 2 ++
 board/freescale/ls1046ardb/cpld.c                             | 1 +
 board/freescale/ls1046ardb/cpld.h                             | 1 +
 board/freescale/ls1046ardb/ddr.c                              | 1 +
 board/freescale/ls1046ardb/ddr.h                              | 1 +
 board/freescale/ls1046ardb/eth.c                              | 1 +
 board/freescale/ls1046ardb/ls1046ardb.c                       | 1 +
 board/freescale/ls1088a/ddr.c                                 | 1 +
 board/freescale/ls1088a/ddr.h                                 | 1 +
 board/freescale/ls1088a/eth_ls1088aqds.c                      | 3 +++
 board/freescale/ls1088a/eth_ls1088ardb.c                      | 1 +
 board/freescale/ls1088a/ls1088a.c                             | 3 +++
 board/freescale/ls2080a/ddr.c                                 | 1 +
 board/freescale/ls2080a/ddr.h                                 | 1 +
 board/freescale/ls2080a/ls2080a.c                             | 1 +
 board/freescale/ls2080aqds/ddr.c                              | 1 +
 board/freescale/ls2080aqds/ddr.h                              | 1 +
 board/freescale/ls2080aqds/eth.c                              | 3 +++
 board/freescale/ls2080aqds/ls2080aqds.c                       | 2 ++
 board/freescale/ls2080ardb/ddr.c                              | 1 +
 board/freescale/ls2080ardb/ddr.h                              | 1 +
 board/freescale/ls2080ardb/eth_ls2080rdb.c                    | 1 +
 board/freescale/ls2080ardb/ls2080ardb.c                       | 2 ++
 board/freescale/lx2160a/eth_lx2160aqds.c                      | 2 ++
 board/freescale/lx2160a/eth_lx2160ardb.c                      | 1 +
 board/freescale/lx2160a/lx2160a.c                             | 2 ++
 board/freescale/m5208evbe/m5208evbe.c                         | 1 +
 board/freescale/m52277evb/m52277evb.c                         | 1 +
 board/freescale/m5235evb/m5235evb.c                           | 1 +
 board/freescale/m5249evb/m5249evb.c                           | 1 +
 board/freescale/m5253demo/flash.c                             | 1 +
 board/freescale/m5253demo/m5253demo.c                         | 1 +
 board/freescale/m5282evb/m5282evb.c                           | 1 +
 board/freescale/m53017evb/m53017evb.c                         | 1 +
 board/freescale/m5329evb/m5329evb.c                           | 1 +
 board/freescale/m5329evb/nand.c                               | 1 +
 board/freescale/m5373evb/m5373evb.c                           | 1 +
 board/freescale/m5373evb/nand.c                               | 1 +
 board/freescale/m54418twr/m54418twr.c                         | 1 +
 board/freescale/m54451evb/m54451evb.c                         | 1 +
 board/freescale/m54455evb/m54455evb.c                         | 1 +
 board/freescale/m547xevb/m547xevb.c                           | 1 +
 board/freescale/m548xevb/m548xevb.c                           | 1 +
 board/freescale/mpc8308rdb/mpc8308rdb.c                       | 1 +
 board/freescale/mpc8308rdb/sdram.c                            | 1 +
 board/freescale/mpc8313erdb/mpc8313erdb.c                     | 1 +
 board/freescale/mpc8313erdb/sdram.c                           | 1 +
 board/freescale/mpc8315erdb/mpc8315erdb.c                     | 1 +
 board/freescale/mpc8315erdb/sdram.c                           | 1 +
 board/freescale/mpc8323erdb/mpc8323erdb.c                     | 1 +
 board/freescale/mpc832xemds/mpc832xemds.c                     | 1 +
 board/freescale/mpc8349emds/ddr.c                             | 1 +
 board/freescale/mpc8349emds/mpc8349emds.c                     | 1 +
 board/freescale/mpc8349emds/pci.c                             | 1 +
 board/freescale/mpc8349itx/mpc8349itx.c                       | 1 +
 board/freescale/mpc8349itx/pci.c                              | 1 +
 board/freescale/mpc837xemds/mpc837xemds.c                     | 2 ++
 board/freescale/mpc837xemds/pci.c                             | 1 +
 board/freescale/mpc837xerdb/mpc837xerdb.c                     | 2 ++
 board/freescale/mpc837xerdb/pci.c                             | 1 +
 board/freescale/mpc8541cds/mpc8541cds.c                       | 1 +
 board/freescale/mpc8544ds/mpc8544ds.c                         | 1 +
 board/freescale/mpc8548cds/mpc8548cds.c                       | 1 +
 board/freescale/mpc8555cds/mpc8555cds.c                       | 1 +
 board/freescale/mpc8568mds/bcsr.c                             | 1 +
 board/freescale/mpc8568mds/mpc8568mds.c                       | 1 +
 board/freescale/mpc8569mds/bcsr.c                             | 1 +
 board/freescale/mpc8569mds/mpc8569mds.c                       | 2 ++
 board/freescale/mpc8572ds/ddr.c                               | 1 +
 board/freescale/mpc8572ds/mpc8572ds.c                         | 2 ++
 board/freescale/mpc8610hpcd/mpc8610hpcd.c                     | 2 ++
 board/freescale/mpc8610hpcd/mpc8610hpcd_diu.c                 | 1 +
 board/freescale/mpc8641hpcn/ddr.c                             | 1 +
 board/freescale/mpc8641hpcn/mpc8641hpcn.c                     | 2 ++
 board/freescale/mx23evk/spl_boot.c                            | 1 +
 board/freescale/mx28evk/iomux.c                               | 1 +
 board/freescale/mx51evk/mx51evk.c                             | 1 +
 board/freescale/mx53ard/mx53ard.c                             | 1 +
 board/freescale/mx53evk/mx53evk.c                             | 1 +
 board/freescale/mx53loco/mx53loco.c                           | 1 +
 board/freescale/mx53smd/mx53smd.c                             | 1 +
 board/freescale/mx6memcal/spl.c                               | 1 +
 board/freescale/mx6qarm2/mx6qarm2.c                           | 1 +
 board/freescale/mx6sabreauto/mx6sabreauto.c                   | 1 +
 board/freescale/mx6sabresd/mx6sabresd.c                       | 1 +
 board/freescale/mx6slevk/mx6slevk.c                           | 1 +
 board/freescale/mx6sllevk/mx6sllevk.c                         | 1 +
 board/freescale/mx6sxsabreauto/mx6sxsabreauto.c               | 1 +
 board/freescale/mx6sxsabresd/mx6sxsabresd.c                   | 1 +
 board/freescale/mx6ul_14x14_evk/mx6ul_14x14_evk.c             | 1 +
 board/freescale/p1010rdb/ddr.c                                | 1 +
 board/freescale/p1010rdb/p1010rdb.c                           | 2 ++
 board/freescale/p1010rdb/spl.c                                | 1 +
 board/freescale/p1010rdb/spl_minimal.c                        | 1 +
 board/freescale/p1023rdb/p1023rdb.c                           | 1 +
 board/freescale/p1_p2_rdb_pc/ddr.c                            | 1 +
 board/freescale/p1_p2_rdb_pc/p1_p2_rdb_pc.c                   | 1 +
 board/freescale/p1_p2_rdb_pc/spl.c                            | 1 +
 board/freescale/p1_p2_rdb_pc/spl_minimal.c                    | 1 +
 board/freescale/p2041rdb/cpld.c                               | 1 +
 board/freescale/p2041rdb/cpld.h                               | 1 +
 board/freescale/p2041rdb/ddr.c                                | 1 +
 board/freescale/p2041rdb/eth.c                                | 1 +
 board/freescale/p2041rdb/p2041rdb.c                           | 1 +
 board/freescale/qemu-ppce500/qemu-ppce500.c                   | 1 +
 board/freescale/s32v234evb/clock.c                            | 1 +
 board/freescale/s32v234evb/lpddr2.c                           | 1 +
 board/freescale/t102xrdb/cpld.c                               | 1 +
 board/freescale/t102xrdb/cpld.h                               | 1 +
 board/freescale/t102xrdb/ddr.c                                | 2 ++
 board/freescale/t102xrdb/eth_t102xrdb.c                       | 1 +
 board/freescale/t102xrdb/spl.c                                | 2 ++
 board/freescale/t102xrdb/t102xrdb.c                           | 2 ++
 board/freescale/t102xrdb/t102xrdb.h                           | 1 +
 board/freescale/t104xrdb/cpld.c                               | 1 +
 board/freescale/t104xrdb/cpld.h                               | 1 +
 board/freescale/t104xrdb/ddr.c                                | 2 ++
 board/freescale/t104xrdb/ddr.h                                | 1 +
 board/freescale/t104xrdb/diu.c                                | 1 +
 board/freescale/t104xrdb/spl.c                                | 1 +
 board/freescale/t104xrdb/t104xrdb.c                           | 2 ++
 board/freescale/t208xqds/ddr.c                                | 1 +
 board/freescale/t208xqds/ddr.h                                | 1 +
 board/freescale/t208xqds/eth_t208xqds.c                       | 1 +
 board/freescale/t208xqds/spl.c                                | 1 +
 board/freescale/t208xqds/t208xqds.c                           | 1 +
 board/freescale/t208xrdb/cpld.c                               | 1 +
 board/freescale/t208xrdb/cpld.h                               | 1 +
 board/freescale/t208xrdb/ddr.c                                | 1 +
 board/freescale/t208xrdb/ddr.h                                | 1 +
 board/freescale/t208xrdb/eth_t208xrdb.c                       | 1 +
 board/freescale/t208xrdb/spl.c                                | 1 +
 board/freescale/t208xrdb/t208xrdb.c                           | 1 +
 board/freescale/t4rdb/cpld.c                                  | 1 +
 board/freescale/t4rdb/cpld.h                                  | 1 +
 board/freescale/t4rdb/ddr.c                                   | 1 +
 board/freescale/t4rdb/ddr.h                                   | 1 +
 board/freescale/t4rdb/eth.c                                   | 1 +
 board/freescale/t4rdb/spl.c                                   | 1 +
 board/freescale/t4rdb/t4240rdb.c                              | 1 +
 board/friendlyarm/nanopi2/board.c                             | 1 +
 board/friendlyarm/nanopi2/hwrev.c                             | 1 +
 board/friendlyarm/nanopi2/hwrev.h                             | 1 +
 board/gardena/smart-gateway-mt7688/board.c                    | 2 ++
 board/gateworks/gw_ventana/common.c                           | 1 +
 board/gateworks/gw_ventana/eeprom.c                           | 1 +
 board/gateworks/gw_ventana/gsc.c                              | 1 +
 board/gateworks/gw_ventana/gsc.h                              | 1 +
 board/gateworks/gw_ventana/gw_ventana.c                       | 1 +
 board/gateworks/gw_ventana/gw_ventana_spl.c                   | 1 +
 board/gateworks/gw_ventana/ventana_eeprom.h                   | 1 +
 board/gdsys/a38x/controlcenterdc.c                            | 1 +
 board/gdsys/a38x/dt_helpers.c                                 | 1 +
 board/gdsys/a38x/dt_helpers.h                                 | 1 +
 board/gdsys/a38x/hre.c                                        | 2 ++
 board/gdsys/a38x/hre.h                                        | 1 +
 board/gdsys/a38x/hydra.c                                      | 2 ++
 board/gdsys/a38x/hydra.h                                      | 1 +
 board/gdsys/a38x/ihs_phys.c                                   | 2 ++
 board/gdsys/a38x/ihs_phys.h                                   | 1 +
 board/gdsys/a38x/keyprogram.c                                 | 1 +
 board/gdsys/a38x/spl.c                                        | 1 +
 board/gdsys/common/cmd_ioloop.c                               | 2 ++
 board/gdsys/common/dp501.c                                    | 1 +
 board/gdsys/common/dp501.h                                    | 1 +
 board/gdsys/common/fanctrl.h                                  | 1 +
 board/gdsys/common/ihs_mdio.c                                 | 1 +
 board/gdsys/common/ihs_mdio.h                                 | 1 +
 board/gdsys/common/ioep-fpga.c                                | 1 +
 board/gdsys/common/mclink.h                                   | 1 +
 board/gdsys/common/osd.c                                      | 1 +
 board/gdsys/common/osd_cmd.c                                  | 1 +
 board/gdsys/common/phy.c                                      | 1 +
 board/gdsys/mpc8308/hrcon.c                                   | 2 ++
 board/gdsys/mpc8308/mpc8308.c                                 | 1 +
 board/gdsys/mpc8308/mpc8308.h                                 | 1 +
 board/gdsys/mpc8308/strider.c                                 | 2 ++
 board/gdsys/p1022/controlcenterd-id.c                         | 2 ++
 board/gdsys/p1022/controlcenterd.c                            | 1 +
 board/gdsys/p1022/ddr.c                                       | 1 +
 board/gdsys/p1022/diu.c                                       | 1 +
 board/gdsys/p1022/sdhc_boot.c                                 | 1 +
 board/ge/bx50v3/bx50v3.c                                      | 2 ++
 board/ge/common/ge_common.c                                   | 1 +
 board/ge/common/vpd_reader.c                                  | 1 +
 board/ge/common/vpd_reader.h                                  | 1 +
 board/ge/mx53ppd/mx53ppd.c                                    | 1 +
 board/ge/mx53ppd/mx53ppd_video.c                              | 1 +
 board/google/imx8mq_phanbell/spl.c                            | 1 +
 board/grinn/chiliboard/board.c                                | 1 +
 board/grinn/liteboard/board.c                                 | 1 +
 board/highbank/ahci.c                                         | 1 +
 board/highbank/highbank.c                                     | 2 ++
 board/hisilicon/hikey/hikey.c                                 | 1 +
 board/hisilicon/hikey960/hikey960.c                           | 1 +
 board/hisilicon/poplar/poplar.c                               | 1 +
 board/ids/ids8313/ids8313.c                                   | 1 +
 board/imgtec/boston/checkboard.c                              | 1 +
 board/imgtec/boston/ddr.c                                     | 1 +
 board/imgtec/ci20/ci20.c                                      | 2 ++
 board/imgtec/malta/malta.c                                    | 2 ++
 board/imgtec/malta/superio.c                                  | 1 +
 board/intel/edison/edison.c                                   | 1 +
 board/intel/galileo/galileo.c                                 | 1 +
 board/inversepath/usbarmory/usbarmory.c                       | 1 +
 board/iomega/iconnect/iconnect.c                              | 1 +
 board/is1/qts/pinmux_config.h                                 | 1 +
 board/is1/qts/sdram_config.h                                  | 1 +
 board/isee/igep003x/board.c                                   | 1 +
 board/isee/igep00x0/igep00x0.c                                | 1 +
 board/k+p/kp_imx53/kp_id_rev.c                                | 1 +
 board/k+p/kp_imx53/kp_id_rev.h                                | 2 ++
 board/k+p/kp_imx53/kp_imx53.c                                 | 1 +
 board/k+p/kp_imx6q_tpc/kp_imx6q_tpc_spl.c                     | 1 +
 board/keymile/common/common.c                                 | 1 +
 board/keymile/common/common.h                                 | 1 +
 board/keymile/common/qrio.c                                   | 2 ++
 board/keymile/common/qrio.h                                   | 1 +
 board/keymile/km83xx/km83xx.c                                 | 2 ++
 board/keymile/km83xx/km83xx_i2c.c                             | 1 +
 board/keymile/km_arm/fpga_config.c                            | 1 +
 board/keymile/km_arm/km_arm.c                                 | 1 +
 board/keymile/kmp204x/kmp204x.c                               | 1 +
 board/keymile/kmp204x/pci.c                                   | 1 +
 board/keymile/secu1/qts/pinmux_config.h                       | 1 +
 board/keymile/secu1/qts/sdram_config.h                        | 1 +
 board/keymile/secu1/socfpga.c                                 | 1 +
 board/kmc/kzm9g/kzm9g.c                                       | 1 +
 board/kobol/helios4/helios4.c                                 | 1 +
 board/kosagi/novena/novena.c                                  | 1 +
 board/kosagi/novena/novena_spl.c                              | 1 +
 board/kosagi/novena/video.c                                   | 1 +
 board/laird/wb50n/wb50n.c                                     | 1 +
 board/lego/ev3/legoev3.c                                      | 1 +
 board/lg/sniper/sniper.c                                      | 1 +
 board/liebherr/display5/display5.c                            | 2 ++
 board/liebherr/display5/spl.c                                 | 1 +
 board/liebherr/mccmon6/spl.c                                  | 1 +
 board/liebherr/xea/spl_xea.c                                  | 1 +
 board/liebherr/xea/xea.c                                      | 1 +
 board/logicpd/am3517evm/am3517evm.c                           | 1 +
 board/logicpd/imx6/imx6logic.c                                | 1 +
 board/logicpd/omap3som/omap3logic.c                           | 1 +
 board/menlo/m53menlo/m53menlo.c                               | 1 +
 board/microchip/pic32mzda/pic32mzda.c                         | 1 +
 board/mini-box/picosam9g45/picosam9g45.c                      | 1 +
 board/mpc8308_p1m/sdram.c                                     | 1 +
 board/mscc/common/spi.c                                       | 1 +
 board/mscc/jr2/jr2.c                                          | 2 ++
 board/mscc/luton/luton.c                                      | 1 +
 board/mscc/serval/serval.c                                    | 1 +
 board/netgear/dgnd3700v2/dgnd3700v2.c                         | 1 +
 board/nokia/rx51/rx51.c                                       | 1 +
 board/nokia/rx51/rx51.h                                       | 1 +
 board/nokia/rx51/tag_omap.h                                   | 1 +
 board/nvidia/cardhu/cardhu.c                                  | 1 +
 board/nvidia/dalmore/dalmore.c                                | 1 +
 board/nvidia/e2220-1170/e2220-1170.c                          | 1 +
 board/nvidia/p2371-0000/p2371-0000.c                          | 1 +
 board/nvidia/p2371-2180/p2371-2180.c                          | 1 +
 board/nvidia/p2571/p2571.c                                    | 1 +
 board/nvidia/p2771-0000/p2771-0000.c                          | 1 +
 board/nvidia/p3450-0000/p3450-0000.c                          | 1 +
 board/nvidia/venice2/as3722_init.c                            | 1 +
 board/olimex/mx23_olinuxino/spl_boot.c                        | 1 +
 board/phytec/pcl063/pcl063.c                                  | 1 +
 board/phytec/pcl063/spl.c                                     | 1 +
 board/phytec/pcm052/pcm052.c                                  | 1 +
 board/phytec/pcm058/pcm058.c                                  | 1 +
 board/phytec/pfla02/pfla02.c                                  | 1 +
 board/phytec/phycore_rk3288/phycore-rk3288.c                  | 1 +
 board/phytec/phycore_rk3288/som.h                             | 1 +
 board/phytium/durian/durian.c                                 | 1 +
 board/pine64/pinebook-pro-rk3399/pinebook-pro-rk3399.c        | 1 +
 board/pine64/rockpro64_rk3399/rockpro64-rk3399.c              | 1 +
 board/ppcag/bg0900/spl_boot.c                                 | 1 +
 board/qca/ap121/ap121.c                                       | 1 +
 board/qca/ap143/ap143.c                                       | 1 +
 board/qca/ap152/ap152.c                                       | 1 +
 board/qemu-mips/qemu-mips.c                                   | 1 +
 board/qualcomm/dragonboard410c/dragonboard410c.c              | 1 +
 board/qualcomm/dragonboard820c/dragonboard820c.c              | 1 +
 board/raidsonic/ib62x0/ib62x0.c                               | 1 +
 board/raspberrypi/rpi/rpi.c                                   | 2 ++
 board/renesas/alt/alt.c                                       | 1 +
 board/renesas/alt/alt_spl.c                                   | 1 +
 board/renesas/alt/qos.c                                       | 1 +
 board/renesas/blanche/blanche.c                               | 1 +
 board/renesas/blanche/qos.c                                   | 1 +
 board/renesas/condor/condor.c                                 | 1 +
 board/renesas/draak/draak.c                                   | 1 +
 board/renesas/eagle/eagle.c                                   | 1 +
 board/renesas/ebisu/ebisu.c                                   | 1 +
 board/renesas/gose/gose.c                                     | 1 +
 board/renesas/gose/gose_spl.c                                 | 1 +
 board/renesas/gose/qos.c                                      | 1 +
 board/renesas/grpeach/grpeach.c                               | 1 +
 board/renesas/koelsch/koelsch.c                               | 1 +
 board/renesas/koelsch/koelsch_spl.c                           | 1 +
 board/renesas/koelsch/qos.c                                   | 1 +
 board/renesas/lager/lager.c                                   | 1 +
 board/renesas/lager/lager_spl.c                               | 1 +
 board/renesas/lager/qos.c                                     | 1 +
 board/renesas/porter/porter.c                                 | 1 +
 board/renesas/porter/porter_spl.c                             | 1 +
 board/renesas/porter/qos.c                                    | 1 +
 board/renesas/rcar-common/gen3-spl.c                          | 1 +
 board/renesas/salvator-x/salvator-x.c                         | 1 +
 board/renesas/sh7757lcr/sh7757lcr.c                           | 1 +
 board/renesas/sh7763rdp/sh7763rdp.c                           | 1 +
 board/renesas/silk/qos.c                                      | 1 +
 board/renesas/silk/silk.c                                     | 1 +
 board/renesas/silk/silk_spl.c                                 | 1 +
 board/renesas/stout/cpld.c                                    | 1 +
 board/renesas/stout/qos.c                                     | 1 +
 board/renesas/stout/stout.c                                   | 1 +
 board/renesas/stout/stout_spl.c                               | 1 +
 board/renesas/ulcb/cpld.c                                     | 1 +
 board/renesas/ulcb/ulcb.c                                     | 1 +
 board/rockchip/tinker_rk3288/tinker-rk3288.c                  | 1 +
 board/samsung/arndale/arndale.c                               | 1 +
 board/samsung/common/board.c                                  | 2 ++
 board/samsung/common/exynos5-dt-types.c                       | 2 ++
 board/samsung/common/exynos5-dt.c                             | 1 +
 board/samsung/common/misc.c                                   | 1 +
 board/samsung/goni/goni.c                                     | 1 +
 board/samsung/origen/origen.c                                 | 1 +
 board/samsung/smdkc100/smdkc100.c                             | 1 +
 board/samsung/smdkv310/smdkv310.c                             | 1 +
 board/samsung/trats/trats.c                                   | 1 +
 board/samsung/trats2/trats2.c                                 | 1 +
 board/samsung/universal_c210/universal.c                      | 1 +
 board/sandbox/sandbox.c                                       | 1 +
 board/sandisk/sansa_fuze_plus/sfp.c                           | 1 +
 board/sandisk/sansa_fuze_plus/spl_boot.c                      | 1 +
 board/sbc8349/sbc8349.c                                       | 1 +
 board/sbc8548/ddr.c                                           | 2 ++
 board/sbc8548/sbc8548.c                                       | 1 +
 board/sbc8641d/sbc8641d.c                                     | 1 +
 board/schulercontrol/sc_sps_1/spl_boot.c                      | 1 +
 board/seco/mx6quq7/mx6quq7.c                                  | 1 +
 board/seeed/linkit-smart-7688/board.c                         | 1 +
 board/siemens/capricorn/board.c                               | 2 ++
 board/siemens/capricorn/spl.c                                 | 1 +
 board/siemens/common/factoryset.c                             | 1 +
 board/siemens/common/factoryset.h                             | 1 +
 board/siemens/corvus/board.c                                  | 1 +
 board/siemens/draco/board.c                                   | 1 +
 board/siemens/pxm2/board.c                                    | 1 +
 board/siemens/rut/board.c                                     | 2 ++
 board/sifive/fu540/fu540.c                                    | 1 +
 board/sifive/fu540/spl.c                                      | 1 +
 board/sks-kinkel/sksimx6/sksimx6.c                            | 1 +
 board/socrates/nand.c                                         | 1 +
 board/socrates/sdram.c                                        | 2 ++
 board/socrates/socrates.c                                     | 1 +
 board/softing/vining_2000/vining_2000.c                       | 2 ++
 board/softing/vining_fpga/qts/pinmux_config.h                 | 1 +
 board/softing/vining_fpga/qts/sdram_config.h                  | 1 +
 board/softing/vining_fpga/socfpga.c                           | 1 +
 board/solidrun/clearfog/clearfog.c                            | 2 ++
 board/solidrun/common/tlv_data.c                              | 2 ++
 board/solidrun/mx6cuboxi/mx6cuboxi.c                          | 2 ++
 board/spear/spear300/spear300.c                               | 1 +
 board/spear/spear310/spear310.c                               | 1 +
 board/spear/spear320/spear320.c                               | 1 +
 board/spear/spear600/spear600.c                               | 1 +
 board/spear/x600/fpga.c                                       | 1 +
 board/sr1500/qts/pinmux_config.h                              | 1 +
 board/sr1500/qts/sdram_config.h                               | 1 +
 board/st/common/stm32mp_dfu.c                                 | 2 ++
 board/st/common/stpmic1.c                                     | 1 +
 board/st/common/stpmic1.h                                     | 1 +
 board/st/stm32f429-discovery/stm32f429-discovery.c            | 1 +
 board/st/stm32f429-evaluation/stm32f429-evaluation.c          | 1 +
 board/st/stm32f469-discovery/stm32f469-discovery.c            | 1 +
 board/st/stm32f746-disco/stm32f746-disco.c                    | 1 +
 board/st/stm32h743-disco/stm32h743-disco.c                    | 1 +
 board/st/stm32h743-eval/stm32h743-eval.c                      | 1 +
 board/st/stm32mp1/spl.c                                       | 1 +
 board/st/stm32mp1/stm32mp1.c                                  | 2 ++
 board/st/stv0991/stv0991.c                                    | 1 +
 board/sunxi/board.c                                           | 1 +
 board/synopsys/axs10x/axs10x.c                                | 2 ++
 board/synopsys/emsdp/emsdp.c                                  | 1 +
 board/synopsys/hsdk/clk-lib.c                                 | 1 +
 board/synopsys/hsdk/clk-lib.h                                 | 1 +
 board/synopsys/hsdk/env-lib.h                                 | 1 +
 board/synopsys/hsdk/hsdk.c                                    | 3 +++
 board/synopsys/iot_devkit/iot_devkit.c                        | 1 +
 board/sysam/amcore/amcore.c                                   | 1 +
 board/sysam/stmark2/stmark2.c                                 | 1 +
 board/tbs/tbs2910/tbs2910.c                                   | 1 +
 board/tcl/sl50/board.c                                        | 1 +
 board/technexion/pico-imx6/pico-imx6.c                        | 1 +
 board/technexion/pico-imx6/spl.c                              | 1 +
 board/technexion/pico-imx6ul/pico-imx6ul.c                    | 1 +
 board/technexion/pico-imx6ul/spl.c                            | 1 +
 board/technexion/pico-imx7d/spl.c                             | 2 ++
 board/technexion/pico-imx8mq/spl.c                            | 1 +
 board/technologic/ts4600/iomux.c                              | 1 +
 board/technologic/ts4800/ts4800.c                             | 1 +
 board/technologic/ts4800/ts4800.h                             | 1 +
 board/terasic/de0-nano-soc/qts/pinmux_config.h                | 1 +
 board/terasic/de0-nano-soc/qts/sdram_config.h                 | 1 +
 board/terasic/de1-soc/qts/pinmux_config.h                     | 1 +
 board/terasic/de1-soc/qts/sdram_config.h                      | 1 +
 board/terasic/de1-soc/socfpga.c                               | 1 +
 board/terasic/de10-nano/qts/pinmux_config.h                   | 1 +
 board/terasic/de10-nano/qts/sdram_config.h                    | 1 +
 board/terasic/sockit/qts/pinmux_config.h                      | 1 +
 board/terasic/sockit/qts/sdram_config.h                       | 1 +
 board/theadorable/fpga.c                                      | 1 +
 board/theadorable/theadorable.c                               | 1 +
 board/theobroma-systems/puma_rk3399/puma-rk3399.c             | 1 +
 board/ti/am335x/board.c                                       | 1 +
 board/ti/am43xx/board.c                                       | 2 ++
 board/ti/am57xx/board.c                                       | 2 ++
 board/ti/am65x/evm.c                                          | 1 +
 board/ti/beagle/beagle.c                                      | 1 +
 board/ti/common/board_detect.c                                | 3 +++
 board/ti/common/board_detect.h                                | 2 ++
 board/ti/dra7xx/evm.c                                         | 1 +
 board/ti/evm/evm.c                                            | 1 +
 board/ti/evm/evm.h                                            | 1 +
 board/ti/j721e/evm.c                                          | 2 ++
 board/ti/ks2_evm/board.c                                      | 2 ++
 board/ti/ks2_evm/board_k2e.c                                  | 1 +
 board/ti/ks2_evm/board_k2g.c                                  | 1 +
 board/ti/ks2_evm/board_k2hk.c                                 | 1 +
 board/ti/ks2_evm/board_k2l.c                                  | 1 +
 board/ti/ks2_evm/ddr3_k2e.c                                   | 1 +
 board/ti/ks2_evm/ddr3_k2g.c                                   | 1 +
 board/ti/ks2_evm/ddr3_k2hk.c                                  | 1 +
 board/ti/ks2_evm/ddr3_k2l.c                                   | 1 +
 board/ti/omap5_uevm/evm.c                                     | 1 +
 board/ti/panda/panda.c                                        | 1 +
 board/ti/sdp4430/sdp.c                                        | 1 +
 board/ti/ti816x/evm.c                                         | 1 +
 board/timll/devkit3250/devkit3250_spl.c                       | 1 +
 board/timll/devkit8000/devkit8000.c                           | 1 +
 board/toradex/apalis-imx8/apalis-imx8.c                       | 1 +
 board/toradex/apalis-tk1/apalis-tk1.c                         | 1 +
 board/toradex/apalis-tk1/as3722_init.c                        | 1 +
 board/toradex/apalis_imx6/apalis_imx6.c                       | 1 +
 board/toradex/apalis_imx6/pf0100.c                            | 1 +
 board/toradex/apalis_t30/apalis_t30.c                         | 1 +
 board/toradex/colibri-imx8x/colibri-imx8x.c                   | 1 +
 board/toradex/colibri_imx6/colibri_imx6.c                     | 1 +
 board/toradex/colibri_imx6/pf0100.c                           | 1 +
 board/toradex/colibri_imx7/colibri_imx7.c                     | 1 +
 board/toradex/colibri_t20/colibri_t20.c                       | 1 +
 board/toradex/colibri_vf/colibri_vf.c                         | 1 +
 board/toradex/common/tdx-cfg-block.c                          | 2 ++
 board/toradex/common/tdx-common.c                             | 1 +
 board/toradex/verdin-imx8mm/spl.c                             | 1 +
 board/tplink/wdr4300/wdr4300.c                                | 1 +
 board/tqc/tqm834x/pci.c                                       | 1 +
 board/tqc/tqm834x/tqm834x.c                                   | 1 +
 board/tqc/tqma6/tqma6.c                                       | 2 ++
 board/udoo/neo/neo.c                                          | 1 +
 board/udoo/udoo.c                                             | 1 +
 board/udoo/udoo_spl.c                                         | 1 +
 board/variscite/dart_6ul/spl.c                                | 1 +
 board/varisys/common/sys_eeprom.c                             | 2 ++
 board/varisys/cyrus/cyrus.c                                   | 1 +
 board/varisys/cyrus/ddr.c                                     | 1 +
 board/ve8313/ve8313.c                                         | 1 +
 board/vscom/baltos/board.c                                    | 1 +
 board/vscom/baltos/board.h                                    | 1 +
 board/wandboard/spl.c                                         | 1 +
 board/wandboard/wandboard.c                                   | 2 ++
 board/work-microwave/work_92105/work_92105_display.c          | 1 +
 board/work-microwave/work_92105/work_92105_spl.c              | 1 +
 board/xes/common/actl_nand.c                                  | 1 +
 board/xes/common/fsl_8xxx_clk.c                               | 1 +
 board/xes/common/fsl_8xxx_misc.c                              | 1 +
 board/xes/common/fsl_8xxx_misc.h                              | 1 +
 board/xes/common/fsl_8xxx_pci.c                               | 1 +
 board/xes/xpedite517x/ddr.c                                   | 1 +
 board/xes/xpedite520x/ddr.c                                   | 1 +
 board/xes/xpedite537x/ddr.c                                   | 1 +
 board/xes/xpedite550x/ddr.c                                   | 1 +
 board/xilinx/common/board.c                                   | 1 +
 board/xilinx/microblaze-generic/microblaze-generic.c          | 1 +
 board/xilinx/versal/board.c                                   | 1 +
 board/xilinx/zynq/bootimg.c                                   | 1 +
 board/xilinx/zynq/cmds.c                                      | 2 ++
 board/xilinx/zynqmp/cmds.c                                    | 1 +
 board/xilinx/zynqmp/pm_cfg_obj.h                              | 1 +
 board/xilinx/zynqmp/tap_delays.c                              | 1 +
 board/xilinx/zynqmp/zynqmp.c                                  | 2 ++
 board/zyxel/nsa310s/nsa310s.c                                 | 1 +
 cmd/abootimg.c                                                | 1 +
 cmd/acpi.c                                                    | 1 +
 cmd/adtimg.c                                                  | 1 +
 cmd/aes.c                                                     | 1 +
 cmd/armflash.c                                                | 1 +
 cmd/avb.c                                                     | 2 ++
 cmd/axi.c                                                     | 1 +
 cmd/bcb.c                                                     | 1 +
 cmd/bdinfo.c                                                  | 2 ++
 cmd/bedbug.c                                                  | 1 +
 cmd/binop.c                                                   | 1 +
 cmd/blk_common.c                                              | 1 +
 cmd/blob.c                                                    | 2 ++
 cmd/bmp.c                                                     | 2 ++
 cmd/boot.c                                                    | 1 +
 cmd/bootefi.c                                                 | 1 +
 cmd/booti.c                                                   | 1 +
 cmd/bootm.c                                                   | 1 +
 cmd/bootstage.c                                               | 1 +
 cmd/bootz.c                                                   | 2 ++
 cmd/cache.c                                                   | 1 +
 cmd/cbfs.c                                                    | 1 +
 cmd/clk.c                                                     | 2 ++
 cmd/cpu.c                                                     | 1 +
 cmd/cramfs.c                                                  | 1 +
 cmd/cros_ec.c                                                 | 1 +
 cmd/demo.c                                                    | 1 +
 cmd/disk.c                                                    | 1 +
 cmd/eeprom.c                                                  | 2 ++
 cmd/efi.c                                                     | 2 ++
 cmd/efidebug.c                                                | 1 +
 cmd/elf.c                                                     | 1 +
 cmd/fastboot.c                                                | 1 +
 cmd/fat.c                                                     | 1 +
 cmd/flash.c                                                   | 1 +
 cmd/fpga.c                                                    | 1 +
 cmd/fpgad.c                                                   | 1 +
 cmd/fuse.c                                                    | 1 +
 cmd/gpio.c                                                    | 2 ++
 cmd/gpt.c                                                     | 2 ++
 cmd/i2c.c                                                     | 2 ++
 cmd/ini.c                                                     | 1 +
 cmd/io.c                                                      | 1 +
 cmd/iotrace.c                                                 | 1 +
 cmd/itest.c                                                   | 1 +
 cmd/jffs2.c                                                   | 1 +
 cmd/legacy-mtd-utils.c                                        | 1 +
 cmd/legacy-mtd-utils.h                                        | 1 +
 cmd/legacy_led.c                                              | 1 +
 cmd/load.c                                                    | 1 +
 cmd/log.c                                                     | 1 +
 cmd/lzmadec.c                                                 | 1 +
 cmd/md5sum.c                                                  | 1 +
 cmd/mdio.c                                                    | 1 +
 cmd/mem.c                                                     | 2 ++
 cmd/mii.c                                                     | 2 ++
 cmd/misc.c                                                    | 1 +
 cmd/mmc.c                                                     | 2 ++
 cmd/mtd.c                                                     | 2 ++
 cmd/mtdparts.c                                                | 1 +
 cmd/mvebu/bubt.c                                              | 1 +
 cmd/nand.c                                                    | 1 +
 cmd/net.c                                                     | 1 +
 cmd/nvedit.c                                                  | 2 ++
 cmd/nvedit_efi.c                                              | 2 ++
 cmd/onenand.c                                                 | 1 +
 cmd/osd.c                                                     | 1 +
 cmd/pcap.c                                                    | 1 +
 cmd/pci.c                                                     | 2 ++
 cmd/pmic.c                                                    | 1 +
 cmd/pxe_utils.c                                               | 2 ++
 cmd/pxe_utils.h                                               | 1 +
 cmd/qfw.c                                                     | 1 +
 cmd/read.c                                                    | 1 +
 cmd/regulator.c                                               | 1 +
 cmd/reiser.c                                                  | 1 +
 cmd/remoteproc.c                                              | 1 +
 cmd/rng.c                                                     | 1 +
 cmd/rtc.c                                                     | 1 +
 cmd/setexpr.c                                                 | 1 +
 cmd/sf.c                                                      | 2 ++
 cmd/source.c                                                  | 1 +
 cmd/spi.c                                                     | 1 +
 cmd/ti/ddr3.c                                                 | 1 +
 cmd/time.c                                                    | 1 +
 cmd/tlv_eeprom.c                                              | 2 ++
 cmd/tpm-common.c                                              | 1 +
 cmd/tpm-user-utils.h                                          | 1 +
 cmd/tpm-v1.c                                                  | 1 +
 cmd/tpm-v2.c                                                  | 1 +
 cmd/tpm_test.c                                                | 1 +
 cmd/trace.c                                                   | 1 +
 cmd/tsi148.c                                                  | 1 +
 cmd/ubi.c                                                     | 2 ++
 cmd/ubifs.c                                                   | 1 +
 cmd/universe.c                                                | 1 +
 cmd/unlz4.c                                                   | 1 +
 cmd/usb.c                                                     | 1 +
 cmd/usb_mass_storage.c                                        | 1 +
 cmd/version.c                                                 | 1 +
 cmd/w1.c                                                      | 1 +
 cmd/wdt.c                                                     | 1 +
 cmd/wol.c                                                     | 1 +
 cmd/x86/fsp.c                                                 | 1 +
 cmd/x86/hob.c                                                 | 1 +
 cmd/x86/mtrr.c                                                | 1 +
 cmd/ximg.c                                                    | 1 +
 cmd/yaffs2.c                                                  | 1 +
 cmd/zfs.c                                                     | 1 +
 common/android_ab.c                                           | 2 ++
 common/autoboot.c                                             | 1 +
 common/avb_verify.c                                           | 2 ++
 common/bloblist.c                                             | 2 ++
 common/board_f.c                                              | 3 +++
 common/board_info.c                                           | 1 +
 common/board_r.c                                              | 2 ++
 common/bootm.c                                                | 3 +++
 common/bootm_os.c                                             | 3 +++
 common/bootretry.c                                            | 1 +
 common/bootstage.c                                            | 1 +
 common/bouncebuf.c                                            | 1 +
 common/cli.c                                                  | 1 +
 common/cli_hush.c                                             | 1 +
 common/cli_readline.c                                         | 1 +
 common/command.c                                              | 1 +
 common/common_fit.c                                           | 1 +
 common/console.c                                              | 1 +
 common/ddr_spd.c                                              | 1 +
 common/dlmalloc.c                                             | 1 +
 common/edid.c                                                 | 2 ++
 common/eeprom/eeprom_layout.c                                 | 1 +
 common/fdt_region.c                                           | 1 +
 common/fdt_support.c                                          | 1 +
 common/flash.c                                                | 1 +
 common/hash.c                                                 | 2 ++
 common/hwconfig.c                                             | 1 +
 common/image-android-dt.c                                     | 1 +
 common/image-android.c                                        | 2 ++
 common/image-cipher.c                                         | 1 +
 common/image-fdt.c                                            | 2 ++
 common/image-fit-sig.c                                        | 2 ++
 common/image-fit.c                                            | 1 +
 common/image-sig.c                                            | 1 +
 common/image.c                                                | 2 ++
 common/init/board_init.c                                      | 2 ++
 common/iotrace.c                                              | 1 +
 common/lcd.c                                                  | 1 +
 common/lcd_console.c                                          | 2 ++
 common/lcd_console_rotation.c                                 | 1 +
 common/lcd_simplefb.c                                         | 1 +
 common/log.c                                                  | 1 +
 common/log_syslog.c                                           | 1 +
 common/malloc_simple.c                                        | 1 +
 common/memsize.c                                              | 1 +
 common/s_record.c                                             | 1 +
 common/spl/spl.c                                              | 3 +++
 common/spl/spl_atf.c                                          | 2 ++
 common/spl/spl_bootrom.c                                      | 1 +
 common/spl/spl_ext.c                                          | 1 +
 common/spl/spl_fat.c                                          | 1 +
 common/spl/spl_fit.c                                          | 2 ++
 common/spl/spl_legacy.c                                       | 1 +
 common/spl/spl_mmc.c                                          | 2 ++
 common/spl/spl_nand.c                                         | 2 ++
 common/spl/spl_net.c                                          | 1 +
 common/spl/spl_nor.c                                          | 2 ++
 common/spl/spl_opensbi.c                                      | 1 +
 common/spl/spl_ram.c                                          | 1 +
 common/spl/spl_sata.c                                         | 1 +
 common/spl/spl_spi.c                                          | 2 ++
 common/spl/spl_ymodem.c                                       | 1 +
 common/splash.c                                               | 2 ++
 common/splash_source.c                                        | 2 ++
 common/stdio.c                                                | 1 +
 common/update.c                                               | 1 +
 common/usb.c                                                  | 2 ++
 common/usb_hub.c                                              | 3 +++
 common/usb_kbd.c                                              | 1 +
 common/usb_storage.c                                          | 1 +
 common/xyzModem.c                                             | 1 +
 disk/part.c                                                   | 1 +
 disk/part_amiga.c                                             | 1 +
 disk/part_amiga.h                                             | 1 +
 disk/part_dos.c                                               | 1 +
 disk/part_efi.c                                               | 1 +
 disk/part_iso.c                                               | 1 +
 disk/part_mac.c                                               | 1 +
 disk/part_mac.h                                               | 1 +
 drivers/adc/meson-saradc.c                                    | 2 ++
 drivers/adc/rockchip-saradc.c                                 | 1 +
 drivers/adc/stm32-adc-core.c                                  | 1 +
 drivers/adc/stm32-adc-core.h                                  | 1 +
 drivers/adc/stm32-adc.c                                       | 2 ++
 drivers/ata/ahci.c                                            | 2 ++
 drivers/ata/ahci_mvebu.c                                      | 2 ++
 drivers/ata/ahci_sunxi.c                                      | 1 +
 drivers/ata/dwc_ahci.c                                        | 1 +
 drivers/ata/dwc_ahsata.c                                      | 2 ++
 drivers/ata/fsl_sata.c                                        | 2 ++
 drivers/ata/fsl_sata.h                                        | 1 +
 drivers/ata/libata.c                                          | 1 +
 drivers/ata/mvsata_ide.c                                      | 1 +
 drivers/ata/sata.c                                            | 1 +
 drivers/ata/sata_ceva.c                                       | 1 +
 drivers/ata/sata_mv.c                                         | 1 +
 drivers/ata/sata_sandbox.c                                    | 1 +
 drivers/ata/sata_sil.c                                        | 1 +
 drivers/ata/sata_sil.h                                        | 1 +
 drivers/ata/sata_sil3114.c                                    | 1 +
 drivers/axi/axi-emul-uclass.c                                 | 1 +
 drivers/axi/axi-uclass.c                                      | 1 +
 drivers/axi/axi_sandbox.c                                     | 1 +
 drivers/axi/ihs_axi.c                                         | 1 +
 drivers/axi/sandbox_store.c                                   | 1 +
 drivers/bios_emulator/atibios.c                               | 1 +
 drivers/bios_emulator/besys.c                                 | 1 +
 drivers/bios_emulator/bios.c                                  | 1 +
 drivers/bios_emulator/biosemu.c                               | 1 +
 drivers/bios_emulator/include/biosemu.h                       | 1 +
 drivers/bios_emulator/include/x86emu/debug.h                  | 1 +
 drivers/bios_emulator/include/x86emu/decode.h                 | 1 +
 drivers/bios_emulator/include/x86emu/ops.h                    | 1 +
 drivers/bios_emulator/include/x86emu/prim_ops.h               | 1 +
 drivers/bios_emulator/include/x86emu/regs.h                   | 1 +
 drivers/bios_emulator/x86emu/debug.c                          | 1 +
 drivers/bios_emulator/x86emu/decode.c                         | 1 +
 drivers/bios_emulator/x86emu/ops.c                            | 1 +
 drivers/bios_emulator/x86emu/ops2.c                           | 1 +
 drivers/bios_emulator/x86emu/prim_ops.c                       | 1 +
 drivers/bios_emulator/x86emu/sys.c                            | 1 +
 drivers/block/blk-uclass.c                                    | 2 ++
 drivers/block/blk_legacy.c                                    | 2 ++
 drivers/block/ide.c                                           | 2 ++
 drivers/block/sandbox.c                                       | 1 +
 drivers/board/board-uclass.c                                  | 1 +
 drivers/board/sandbox.c                                       | 2 ++
 drivers/bootcount/bootcount-uclass.c                          | 1 +
 drivers/bootcount/bootcount.c                                 | 3 +++
 drivers/bootcount/bootcount_at91.c                            | 1 +
 drivers/bootcount/bootcount_davinci.c                         | 1 +
 drivers/bootcount/bootcount_env.c                             | 1 +
 drivers/bootcount/bootcount_ext.c                             | 1 +
 drivers/bootcount/bootcount_i2c.c                             | 1 +
 drivers/bootcount/bootcount_ram.c                             | 1 +
 drivers/bootcount/i2c-eeprom.c                                | 1 +
 drivers/bootcount/rtc.c                                       | 1 +
 drivers/bus/uniphier-system-bus.c                             | 1 +
 drivers/cache/cache-l2x0.c                                    | 1 +
 drivers/cache/cache-ncore.c                                   | 2 ++
 drivers/cache/cache-v5l2.c                                    | 2 ++
 drivers/clk/altera/clk-agilex.c                               | 2 ++
 drivers/clk/altera/clk-agilex.h                               | 1 +
 drivers/clk/altera/clk-arria10.c                              | 2 ++
 drivers/clk/analogbits/wrpll-cln28hpc.c                       | 1 +
 drivers/clk/aspeed/clk_ast2500.c                              | 2 ++
 drivers/clk/at91/clk-generated.c                              | 1 +
 drivers/clk/at91/clk-h32mx.c                                  | 1 +
 drivers/clk/at91/clk-main.c                                   | 1 +
 drivers/clk/at91/clk-master.c                                 | 1 +
 drivers/clk/at91/clk-peripheral.c                             | 1 +
 drivers/clk/at91/clk-plla.c                                   | 1 +
 drivers/clk/at91/clk-plladiv.c                                | 1 +
 drivers/clk/at91/clk-slow.c                                   | 1 +
 drivers/clk/at91/clk-system.c                                 | 1 +
 drivers/clk/at91/clk-usb.c                                    | 1 +
 drivers/clk/at91/clk-utmi.c                                   | 1 +
 drivers/clk/clk-cdce9xx.c                                     | 1 +
 drivers/clk/clk-composite.c                                   | 1 +
 drivers/clk/clk-divider.c                                     | 3 +++
 drivers/clk/clk-fixed-factor.c                                | 1 +
 drivers/clk/clk-gate.c                                        | 2 ++
 drivers/clk/clk-hsdk-cgu.c                                    | 3 +++
 drivers/clk/clk-mux.c                                         | 2 ++
 drivers/clk/clk-ti-sci.c                                      | 1 +
 drivers/clk/clk-uclass.c                                      | 2 ++
 drivers/clk/clk.c                                             | 1 +
 drivers/clk/clk_bcm6345.c                                     | 1 +
 drivers/clk/clk_boston.c                                      | 1 +
 drivers/clk/clk_fixed_factor.c                                | 1 +
 drivers/clk/clk_fixed_rate.c                                  | 1 +
 drivers/clk/clk_pic32.c                                       | 2 ++
 drivers/clk/clk_sandbox.c                                     | 1 +
 drivers/clk/clk_sandbox_ccf.c                                 | 3 +++
 drivers/clk/clk_sandbox_test.c                                | 1 +
 drivers/clk/clk_stm32f.c                                      | 2 ++
 drivers/clk/clk_stm32h7.c                                     | 1 +
 drivers/clk/clk_stm32mp1.c                                    | 3 +++
 drivers/clk/clk_versal.c                                      | 1 +
 drivers/clk/clk_vexpress_osc.c                                | 1 +
 drivers/clk/clk_zynq.c                                        | 2 ++
 drivers/clk/clk_zynqmp.c                                      | 2 ++
 drivers/clk/exynos/clk-exynos7420.c                           | 1 +
 drivers/clk/exynos/clk-pll.c                                  | 1 +
 drivers/clk/ics8n3qv01.c                                      | 1 +
 drivers/clk/imx/clk-composite-8m.c                            | 2 ++
 drivers/clk/imx/clk-gate2.c                                   | 2 ++
 drivers/clk/imx/clk-imx6q.c                                   | 2 ++
 drivers/clk/imx/clk-imx8.c                                    | 2 ++
 drivers/clk/imx/clk-imx8.h                                    | 1 +
 drivers/clk/imx/clk-imx8mm.c                                  | 3 +++
 drivers/clk/imx/clk-imx8mn.c                                  | 3 +++
 drivers/clk/imx/clk-imx8mp.c                                  | 3 +++
 drivers/clk/imx/clk-imx8qm.c                                  | 2 ++
 drivers/clk/imx/clk-imx8qxp.c                                 | 2 ++
 drivers/clk/imx/clk-imxrt1020.c                               | 2 ++
 drivers/clk/imx/clk-imxrt1050.c                               | 2 ++
 drivers/clk/imx/clk-pfd.c                                     | 2 ++
 drivers/clk/imx/clk-pll14xx.c                                 | 3 +++
 drivers/clk/imx/clk-pllv3.c                                   | 3 +++
 drivers/clk/imx/clk.h                                         | 2 ++
 drivers/clk/intel/clk_intel.c                                 | 1 +
 drivers/clk/kendryte/bypass.c                                 | 1 +
 drivers/clk/kendryte/clk.c                                    | 2 ++
 drivers/clk/kendryte/pll.c                                    | 3 +++
 drivers/clk/mediatek/clk-mt7622.c                             | 1 +
 drivers/clk/mediatek/clk-mt7623.c                             | 1 +
 drivers/clk/mediatek/clk-mt7629.c                             | 1 +
 drivers/clk/mediatek/clk-mtk.c                                | 2 ++
 drivers/clk/mediatek/clk-mtk.h                                | 2 ++
 drivers/clk/meson/axg.c                                       | 2 ++
 drivers/clk/meson/clk_meson.h                                 | 1 +
 drivers/clk/meson/g12a.c                                      | 2 ++
 drivers/clk/meson/gxbb.c                                      | 2 ++
 drivers/clk/mpc83xx_clk.c                                     | 2 ++
 drivers/clk/mpc83xx_clk.h                                     | 1 +
 drivers/clk/mtmips/clk-mt7628.c                               | 2 ++
 drivers/clk/mvebu/armada-37xx-periph.c                        | 3 +++
 drivers/clk/mvebu/armada-37xx-tbg.c                           | 2 ++
 drivers/clk/owl/clk_owl.c                                     | 1 +
 drivers/clk/owl/clk_owl.h                                     | 1 +
 drivers/clk/renesas/clk-rcar-gen2.c                           | 1 +
 drivers/clk/renesas/clk-rcar-gen3.c                           | 1 +
 drivers/clk/renesas/r8a774a1-cpg-mssr.c                       | 1 +
 drivers/clk/renesas/r8a7790-cpg-mssr.c                        | 1 +
 drivers/clk/renesas/r8a7791-cpg-mssr.c                        | 1 +
 drivers/clk/renesas/r8a7792-cpg-mssr.c                        | 1 +
 drivers/clk/renesas/r8a7794-cpg-mssr.c                        | 1 +
 drivers/clk/renesas/r8a7795-cpg-mssr.c                        | 1 +
 drivers/clk/renesas/r8a7796-cpg-mssr.c                        | 1 +
 drivers/clk/renesas/r8a77965-cpg-mssr.c                       | 1 +
 drivers/clk/renesas/r8a77970-cpg-mssr.c                       | 1 +
 drivers/clk/renesas/r8a77980-cpg-mssr.c                       | 1 +
 drivers/clk/renesas/r8a77990-cpg-mssr.c                       | 1 +
 drivers/clk/renesas/r8a77995-cpg-mssr.c                       | 1 +
 drivers/clk/renesas/rcar-gen2-cpg.h                           | 1 +
 drivers/clk/renesas/rcar-gen3-cpg.h                           | 2 ++
 drivers/clk/renesas/renesas-cpg-mssr.c                        | 2 ++
 drivers/clk/renesas/renesas-cpg-mssr.h                        | 2 ++
 drivers/clk/rockchip/clk_pll.c                                | 2 ++
 drivers/clk/rockchip/clk_px30.c                               | 1 +
 drivers/clk/rockchip/clk_rk3036.c                             | 1 +
 drivers/clk/rockchip/clk_rk3128.c                             | 1 +
 drivers/clk/rockchip/clk_rk3188.c                             | 2 ++
 drivers/clk/rockchip/clk_rk322x.c                             | 1 +
 drivers/clk/rockchip/clk_rk3288.c                             | 2 ++
 drivers/clk/rockchip/clk_rk3308.c                             | 1 +
 drivers/clk/rockchip/clk_rk3328.c                             | 1 +
 drivers/clk/rockchip/clk_rk3368.c                             | 1 +
 drivers/clk/rockchip/clk_rk3399.c                             | 1 +
 drivers/clk/rockchip/clk_rv1108.c                             | 1 +
 drivers/clk/sifive/fu540-prci.c                               | 2 ++
 drivers/clk/sunxi/clk_a10.c                                   | 1 +
 drivers/clk/sunxi/clk_a10s.c                                  | 1 +
 drivers/clk/sunxi/clk_a23.c                                   | 1 +
 drivers/clk/sunxi/clk_a31.c                                   | 1 +
 drivers/clk/sunxi/clk_a64.c                                   | 1 +
 drivers/clk/sunxi/clk_a80.c                                   | 1 +
 drivers/clk/sunxi/clk_a83t.c                                  | 1 +
 drivers/clk/sunxi/clk_h3.c                                    | 1 +
 drivers/clk/sunxi/clk_h6.c                                    | 1 +
 drivers/clk/sunxi/clk_r40.c                                   | 1 +
 drivers/clk/sunxi/clk_sunxi.c                                 | 2 ++
 drivers/clk/sunxi/clk_v3s.c                                   | 1 +
 drivers/clk/tegra/tegra-car-clk.c                             | 1 +
 drivers/clk/tegra/tegra186-clk.c                              | 1 +
 drivers/clk/uniphier/clk-uniphier-core.c                      | 2 ++
 drivers/core/acpi.c                                           | 1 +
 drivers/core/device-remove.c                                  | 1 +
 drivers/core/device.c                                         | 2 ++
 drivers/core/devres.c                                         | 2 ++
 drivers/core/dump.c                                           | 1 +
 drivers/core/fdtaddr.c                                        | 1 +
 drivers/core/of_access.c                                      | 2 ++
 drivers/core/of_addr.c                                        | 1 +
 drivers/core/of_extra.c                                       | 1 +
 drivers/core/ofnode.c                                         | 2 ++
 drivers/core/read.c                                           | 1 +
 drivers/core/regmap.c                                         | 1 +
 drivers/core/root.c                                           | 3 +++
 drivers/core/simple-bus.c                                     | 1 +
 drivers/core/syscon-uclass.c                                  | 1 +
 drivers/core/uclass.c                                         | 1 +
 drivers/cpu/bmips_cpu.c                                       | 2 ++
 drivers/cpu/imx8_cpu.c                                        | 1 +
 drivers/cpu/mpc83xx_cpu.c                                     | 1 +
 drivers/cpu/riscv_cpu.c                                       | 1 +
 drivers/crypto/ace_sha.h                                      | 1 +
 drivers/crypto/fsl/desc.h                                     | 2 ++
 drivers/crypto/fsl/desc_constr.h                              | 1 +
 drivers/crypto/fsl/error.c                                    | 1 +
 drivers/crypto/fsl/fsl_blob.c                                 | 1 +
 drivers/crypto/fsl/fsl_hash.c                                 | 1 +
 drivers/crypto/fsl/fsl_hash.h                                 | 1 +
 drivers/crypto/fsl/fsl_rsa.c                                  | 1 +
 drivers/crypto/fsl/jobdesc.c                                  | 1 +
 drivers/crypto/fsl/jobdesc.h                                  | 1 +
 drivers/crypto/fsl/jr.c                                       | 2 ++
 drivers/crypto/fsl/jr.h                                       | 2 ++
 drivers/crypto/fsl/rng.c                                      | 1 +
 drivers/crypto/fsl/rsa_caam.h                                 | 1 +
 drivers/crypto/fsl/sec.c                                      | 2 ++
 drivers/crypto/rsa_mod_exp/mod_exp_sw.c                       | 1 +
 drivers/crypto/rsa_mod_exp/mod_exp_uclass.c                   | 1 +
 drivers/ddr/altera/sdram_agilex.c                             | 1 +
 drivers/ddr/altera/sdram_arria10.c                            | 1 +
 drivers/ddr/altera/sdram_gen5.c                               | 1 +
 drivers/ddr/altera/sdram_s10.c                                | 1 +
 drivers/ddr/altera/sdram_soc64.c                              | 2 ++
 drivers/ddr/altera/sdram_soc64.h                              | 2 ++
 drivers/ddr/altera/sequencer.c                                | 2 ++
 drivers/ddr/altera/sequencer.h                                | 1 +
 drivers/ddr/fsl/arm_ddr_gen3.c                                | 2 ++
 drivers/ddr/fsl/ctrl_regs.c                                   | 3 +++
 drivers/ddr/fsl/ddr3_dimm_params.c                            | 1 +
 drivers/ddr/fsl/ddr4_dimm_params.c                            | 1 +
 drivers/ddr/fsl/fsl_ddr_gen4.c                                | 2 ++
 drivers/ddr/fsl/fsl_mmdc.c                                    | 1 +
 drivers/ddr/fsl/interactive.c                                 | 1 +
 drivers/ddr/fsl/main.c                                        | 3 +++
 drivers/ddr/fsl/mpc85xx_ddr_gen1.c                            | 1 +
 drivers/ddr/fsl/mpc85xx_ddr_gen2.c                            | 2 ++
 drivers/ddr/fsl/mpc85xx_ddr_gen3.c                            | 2 ++
 drivers/ddr/fsl/mpc86xx_ddr.c                                 | 1 +
 drivers/ddr/fsl/options.c                                     | 2 ++
 drivers/ddr/fsl/util.c                                        | 2 ++
 drivers/ddr/imx/imx8m/ddr_init.c                              | 1 +
 drivers/ddr/imx/imx8m/ddrphy_csr.c                            | 1 +
 drivers/ddr/imx/imx8m/ddrphy_utils.c                          | 1 +
 drivers/ddr/imx/imx8m/helper.c                                | 1 +
 drivers/ddr/marvell/a38x/ddr3_logging_def.h                   | 1 +
 drivers/ddr/marvell/a38x/ddr3_patterns_64bit.h                | 1 +
 drivers/ddr/marvell/a38x/ddr3_training_hw_algo.h              | 1 +
 drivers/ddr/marvell/a38x/ddr3_training_ip_centralization.h    | 1 +
 drivers/ddr/marvell/a38x/ddr3_training_ip_db.h                | 1 +
 drivers/ddr/marvell/a38x/ddr3_training_ip_pbs.h               | 1 +
 drivers/ddr/marvell/a38x/ddr3_training_leveling.h             | 1 +
 drivers/ddr/marvell/a38x/ddr_ml_wrapper.h                     | 1 +
 drivers/ddr/marvell/a38x/mv_ddr_common.h                      | 1 +
 drivers/ddr/marvell/a38x/seq_exec.h                           | 1 +
 drivers/ddr/marvell/a38x/xor.h                                | 1 +
 drivers/ddr/marvell/axp/ddr3_dfs.c                            | 1 +
 drivers/ddr/marvell/axp/ddr3_dqs.c                            | 1 +
 drivers/ddr/marvell/axp/ddr3_hw_training.c                    | 1 +
 drivers/ddr/marvell/axp/ddr3_init.c                           | 2 ++
 drivers/ddr/marvell/axp/ddr3_patterns_64bit.h                 | 1 +
 drivers/ddr/marvell/axp/ddr3_pbs.c                            | 1 +
 drivers/ddr/marvell/axp/ddr3_read_leveling.c                  | 1 +
 drivers/ddr/marvell/axp/ddr3_sdram.c                          | 1 +
 drivers/ddr/marvell/axp/ddr3_spd.c                            | 1 +
 drivers/ddr/marvell/axp/ddr3_write_leveling.c                 | 1 +
 drivers/ddr/marvell/axp/xor.c                                 | 1 +
 drivers/ddr/microchip/ddr2.c                                  | 2 ++
 drivers/ddr/microchip/ddr2_regs.h                             | 1 +
 drivers/demo/demo-shape.c                                     | 1 +
 drivers/demo/demo-simple.c                                    | 1 +
 drivers/dfu/dfu.c                                             | 3 +++
 drivers/dfu/dfu_mmc.c                                         | 1 +
 drivers/dfu/dfu_mtd.c                                         | 2 ++
 drivers/dfu/dfu_nand.c                                        | 1 +
 drivers/dfu/dfu_ram.c                                         | 1 +
 drivers/dfu/dfu_sf.c                                          | 1 +
 drivers/dfu/dfu_tftp.c                                        | 1 +
 drivers/dfu/dfu_virt.c                                        | 2 ++
 drivers/dma/MCD_dmaApi.c                                      | 1 +
 drivers/dma/MCD_tasks.c                                       | 1 +
 drivers/dma/MCD_tasksInit.c                                   | 1 +
 drivers/dma/apbh_dma.c                                        | 1 +
 drivers/dma/bcm6348-iudma.c                                   | 2 ++
 drivers/dma/dma-uclass.c                                      | 1 +
 drivers/dma/fsl_dma.c                                         | 1 +
 drivers/dma/keystone_nav.c                                    | 1 +
 drivers/dma/keystone_nav_cfg.c                                | 1 +
 drivers/dma/lpc32xx_dma.c                                     | 1 +
 drivers/dma/sandbox-dma-test.c                                | 1 +
 drivers/dma/ti-edma3.c                                        | 1 +
 drivers/dma/ti/k3-psil.c                                      | 1 +
 drivers/dma/ti/k3-udma.c                                      | 3 +++
 drivers/fastboot/fb_command.c                                 | 1 +
 drivers/fastboot/fb_common.c                                  | 2 ++
 drivers/fastboot/fb_getvar.c                                  | 1 +
 drivers/fastboot/fb_mmc.c                                     | 1 +
 drivers/fastboot/fb_nand.c                                    | 2 ++
 drivers/firmware/firmware-zynqmp.c                            | 1 +
 drivers/firmware/ti_sci.c                                     | 2 ++
 drivers/firmware/ti_sci.h                                     | 2 ++
 drivers/fpga/ACEX1K.c                                         | 1 +
 drivers/fpga/altera.c                                         | 1 +
 drivers/fpga/cyclon2.c                                        | 1 +
 drivers/fpga/fpga.c                                           | 2 ++
 drivers/fpga/lattice.c                                        | 1 +
 drivers/fpga/socfpga.c                                        | 1 +
 drivers/fpga/socfpga_arria10.c                                | 1 +
 drivers/fpga/socfpga_gen5.c                                   | 1 +
 drivers/fpga/spartan2.c                                       | 1 +
 drivers/fpga/spartan3.c                                       | 1 +
 drivers/fpga/stratix10.c                                      | 1 +
 drivers/fpga/stratixII.c                                      | 1 +
 drivers/fpga/stratixv.c                                       | 1 +
 drivers/fpga/versalpl.c                                       | 1 +
 drivers/fpga/virtex2.c                                        | 1 +
 drivers/fpga/xilinx.c                                         | 1 +
 drivers/fpga/zynqmppl.c                                       | 2 ++
 drivers/fpga/zynqpl.c                                         | 1 +
 drivers/gpio/74x164_gpio.c                                    | 1 +
 drivers/gpio/adi_gpio2.c                                      | 1 +
 drivers/gpio/altera_pio.c                                     | 1 +
 drivers/gpio/at91_gpio.c                                      | 1 +
 drivers/gpio/atmel_pio4.c                                     | 1 +
 drivers/gpio/axp_gpio.c                                       | 1 +
 drivers/gpio/bcm2835_gpio.c                                   | 1 +
 drivers/gpio/bcm6345_gpio.c                                   | 1 +
 drivers/gpio/cortina_gpio.c                                   | 1 +
 drivers/gpio/da8xx_gpio.h                                     | 1 +
 drivers/gpio/db8500_gpio.c                                    | 2 ++
 drivers/gpio/dwapb_gpio.c                                     | 1 +
 drivers/gpio/gpio-rcar.c                                      | 2 ++
 drivers/gpio/gpio-rza1.c                                      | 1 +
 drivers/gpio/gpio-uclass.c                                    | 2 ++
 drivers/gpio/gpio-uniphier.c                                  | 2 ++
 drivers/gpio/hi6220_gpio.c                                    | 1 +
 drivers/gpio/hsdk-creg-gpio.c                                 | 1 +
 drivers/gpio/imx_rgpio2p.c                                    | 1 +
 drivers/gpio/intel_broadwell_gpio.c                           | 1 +
 drivers/gpio/intel_gpio.c                                     | 1 +
 drivers/gpio/intel_ich6_gpio.c                                | 1 +
 drivers/gpio/iproc_gpio.c                                     | 2 ++
 drivers/gpio/kona_gpio.c                                      | 1 +
 drivers/gpio/kw_gpio.c                                        | 1 +
 drivers/gpio/mpc83xx_spisel_boot.c                            | 2 ++
 drivers/gpio/mpc8xxx_gpio.c                                   | 2 ++
 drivers/gpio/mscc_sgpio.c                                     | 2 ++
 drivers/gpio/msm_gpio.c                                       | 1 +
 drivers/gpio/mt7621_gpio.c                                    | 2 ++
 drivers/gpio/mvebu_gpio.c                                     | 1 +
 drivers/gpio/mvgpio.c                                         | 1 +
 drivers/gpio/mvgpio.h                                         | 1 +
 drivers/gpio/mvmfp.c                                          | 1 +
 drivers/gpio/mxc_gpio.c                                       | 1 +
 drivers/gpio/mxs_gpio.c                                       | 1 +
 drivers/gpio/nx_gpio.c                                        | 1 +
 drivers/gpio/omap_gpio.c                                      | 1 +
 drivers/gpio/pca953x.c                                        | 1 +
 drivers/gpio/pca953x_gpio.c                                   | 1 +
 drivers/gpio/pca9698.c                                        | 1 +
 drivers/gpio/pcf8575_gpio.c                                   | 1 +
 drivers/gpio/pm8916_gpio.c                                    | 1 +
 drivers/gpio/rk_gpio.c                                        | 1 +
 drivers/gpio/s5p_gpio.c                                       | 1 +
 drivers/gpio/sandbox.c                                        | 1 +
 drivers/gpio/sh_pfc.c                                         | 1 +
 drivers/gpio/sifive-gpio.c                                    | 2 ++
 drivers/gpio/spear_gpio.c                                     | 1 +
 drivers/gpio/stm32_gpio.c                                     | 1 +
 drivers/gpio/sunxi_gpio.c                                     | 1 +
 drivers/gpio/tca642x.c                                        | 1 +
 drivers/gpio/tegra186_gpio.c                                  | 2 ++
 drivers/gpio/tegra_gpio.c                                     | 1 +
 drivers/gpio/vybrid_gpio.c                                    | 1 +
 drivers/gpio/xilinx_gpio.c                                    | 1 +
 drivers/gpio/zynq_gpio.c                                      | 1 +
 drivers/hwspinlock/hwspinlock-uclass.c                        | 1 +
 drivers/hwspinlock/stm32_hwspinlock.c                         | 1 +
 drivers/i2c/ast_i2c.c                                         | 2 ++
 drivers/i2c/ast_i2c.h                                         | 1 +
 drivers/i2c/at91_i2c.c                                        | 2 ++
 drivers/i2c/at91_i2c.h                                        | 1 +
 drivers/i2c/cros_ec_ldo.c                                     | 1 +
 drivers/i2c/davinci_i2c.c                                     | 1 +
 drivers/i2c/davinci_i2c.h                                     | 1 +
 drivers/i2c/designware_i2c.c                                  | 2 ++
 drivers/i2c/designware_i2c.h                                  | 1 +
 drivers/i2c/designware_i2c_pci.c                              | 2 ++
 drivers/i2c/exynos_hs_i2c.c                                   | 1 +
 drivers/i2c/fsl_i2c.c                                         | 1 +
 drivers/i2c/i2c-cdns.c                                        | 2 ++
 drivers/i2c/i2c-cortina.c                                     | 1 +
 drivers/i2c/i2c-cortina.h                                     | 1 +
 drivers/i2c/i2c-gpio.c                                        | 2 ++
 drivers/i2c/i2c-uclass.c                                      | 1 +
 drivers/i2c/i2c-uniphier-f.c                                  | 1 +
 drivers/i2c/i2c-uniphier.c                                    | 1 +
 drivers/i2c/i2c-versatile.c                                   | 1 +
 drivers/i2c/i2c_core.c                                        | 2 ++
 drivers/i2c/ihs_i2c.c                                         | 2 ++
 drivers/i2c/imx_lpi2c.c                                       | 2 ++
 drivers/i2c/intel_i2c.c                                       | 1 +
 drivers/i2c/iproc_i2c.c                                       | 2 ++
 drivers/i2c/kona_i2c.c                                        | 1 +
 drivers/i2c/lpc32xx_i2c.c                                     | 1 +
 drivers/i2c/meson_i2c.c                                       | 2 ++
 drivers/i2c/muxes/i2c-arb-gpio-challenge.c                    | 1 +
 drivers/i2c/muxes/i2c-mux-gpio.c                              | 1 +
 drivers/i2c/muxes/i2c-mux-uclass.c                            | 1 +
 drivers/i2c/muxes/pca954x.c                                   | 1 +
 drivers/i2c/mv_i2c.c                                          | 2 ++
 drivers/i2c/mvtwsi.c                                          | 1 +
 drivers/i2c/mxc_i2c.c                                         | 2 ++
 drivers/i2c/nx_i2c.c                                          | 1 +
 drivers/i2c/octeon_i2c.c                                      | 2 ++
 drivers/i2c/omap24xx_i2c.c                                    | 2 ++
 drivers/i2c/rcar_i2c.c                                        | 2 ++
 drivers/i2c/rcar_iic.c                                        | 2 ++
 drivers/i2c/rk_i2c.c                                          | 2 ++
 drivers/i2c/s3c24x0_i2c.c                                     | 1 +
 drivers/i2c/s3c24x0_i2c.h                                     | 1 +
 drivers/i2c/sh_i2c.c                                          | 1 +
 drivers/i2c/soft_i2c.c                                        | 1 +
 drivers/i2c/stm32f7_i2c.c                                     | 2 ++
 drivers/i2c/tegra186_bpmp_i2c.c                               | 1 +
 drivers/i2c/tegra_i2c.c                                       | 2 ++
 drivers/i2c/xilinx_xiic.c                                     | 2 ++
 drivers/input/input.c                                         | 2 ++
 drivers/input/key_matrix.c                                    | 1 +
 drivers/input/tegra-kbc.c                                     | 1 +
 drivers/input/twl4030.c                                       | 1 +
 drivers/input/twl6030.c                                       | 1 +
 drivers/led/led_bcm6328.c                                     | 2 ++
 drivers/led/led_bcm6358.c                                     | 2 ++
 drivers/led/led_bcm6858.c                                     | 2 ++
 drivers/mailbox/k3-sec-proxy.c                                | 1 +
 drivers/mailbox/mailbox-uclass.c                              | 1 +
 drivers/mailbox/sandbox-mbox-test.c                           | 1 +
 drivers/mailbox/sandbox-mbox.c                                | 1 +
 drivers/mailbox/stm32-ipcc.c                                  | 2 ++
 drivers/mailbox/tegra-hsp.c                                   | 1 +
 drivers/mailbox/zynqmp-ipi.c                                  | 2 ++
 drivers/misc/ali512x.c                                        | 1 +
 drivers/misc/altera_sysid.c                                   | 1 +
 drivers/misc/atsha204a-i2c.c                                  | 1 +
 drivers/misc/cbmem_console.c                                  | 2 ++
 drivers/misc/cros_ec.c                                        | 2 ++
 drivers/misc/cros_ec_i2c.c                                    | 2 ++
 drivers/misc/cros_ec_lpc.c                                    | 1 +
 drivers/misc/cros_ec_sandbox.c                                | 2 ++
 drivers/misc/cros_ec_spi.c                                    | 1 +
 drivers/misc/ds4510.c                                         | 1 +
 drivers/misc/fs_loader.c                                      | 1 +
 drivers/misc/fsl_devdis.c                                     | 2 ++
 drivers/misc/fsl_ifc.c                                        | 1 +
 drivers/misc/fsl_iim.c                                        | 1 +
 drivers/misc/fsl_portals.c                                    | 2 ++
 drivers/misc/fsl_sec_mon.c                                    | 1 +
 drivers/misc/gdsys_ioep.c                                     | 1 +
 drivers/misc/gdsys_ioep.h                                     | 2 ++
 drivers/misc/gdsys_rxaui_ctrl.c                               | 1 +
 drivers/misc/i2c_eeprom.c                                     | 1 +
 drivers/misc/i2c_eeprom_emul.c                                | 1 +
 drivers/misc/ihs_fpga.c                                       | 1 +
 drivers/misc/ihs_fpga.h                                       | 1 +
 drivers/misc/imx8/fuse.c                                      | 1 +
 drivers/misc/imx8/scu.c                                       | 1 +
 drivers/misc/imx8/scu_api.c                                   | 1 +
 drivers/misc/irq-uclass.c                                     | 1 +
 drivers/misc/irq_sandbox.c                                    | 1 +
 drivers/misc/jz4780_efuse.c                                   | 2 ++
 drivers/misc/k3_avs.c                                         | 1 +
 drivers/misc/k3_esm.c                                         | 2 ++
 drivers/misc/microchip_flexcom.c                              | 1 +
 drivers/misc/misc_sandbox.c                                   | 1 +
 drivers/misc/mpc83xx_serdes.c                                 | 1 +
 drivers/misc/mpc83xx_serdes.h                                 | 1 +
 drivers/misc/mxc_ocotp.c                                      | 1 +
 drivers/misc/mxs_ocotp.c                                      | 1 +
 drivers/misc/p2sb-uclass.c                                    | 2 ++
 drivers/misc/p2sb_emul.c                                      | 1 +
 drivers/misc/p2sb_sandbox.c                                   | 1 +
 drivers/misc/pca9551_led.c                                    | 1 +
 drivers/misc/qfw.c                                            | 2 ++
 drivers/misc/rockchip-efuse.c                                 | 2 ++
 drivers/misc/rockchip-otp.c                                   | 2 ++
 drivers/misc/sandbox_adder.c                                  | 1 +
 drivers/misc/sifive-otp.c                                     | 2 ++
 drivers/misc/smsc_lpc47m.c                                    | 1 +
 drivers/misc/smsc_sio1007.c                                   | 1 +
 drivers/misc/spltest_sandbox.c                                | 1 +
 drivers/misc/status_led.c                                     | 1 +
 drivers/misc/stm32_rcc.c                                      | 1 +
 drivers/misc/stm32mp_fuse.c                                   | 1 +
 drivers/misc/swap_case.c                                      | 1 +
 drivers/misc/tegra186_bpmp.c                                  | 1 +
 drivers/misc/vexpress_config.c                                | 1 +
 drivers/misc/winbond_w83627.c                                 | 1 +
 drivers/mmc/am654_sdhci.c                                     | 2 ++
 drivers/mmc/arm_pl180_mmci.h                                  | 1 +
 drivers/mmc/aspeed_sdhci.c                                    | 1 +
 drivers/mmc/atmel_sdhci.c                                     | 1 +
 drivers/mmc/bcm2835_sdhci.c                                   | 1 +
 drivers/mmc/bcm2835_sdhost.c                                  | 3 +++
 drivers/mmc/ca_dw_mmc.c                                       | 2 ++
 drivers/mmc/davinci_mmc.c                                     | 1 +
 drivers/mmc/dw_mmc.c                                          | 1 +
 drivers/mmc/exynos_dw_mmc.c                                   | 1 +
 drivers/mmc/fsl_esdhc.c                                       | 3 +++
 drivers/mmc/fsl_esdhc_imx.c                                   | 2 ++
 drivers/mmc/fsl_esdhc_spl.c                                   | 1 +
 drivers/mmc/ftsdc010_mci.c                                    | 3 +++
 drivers/mmc/ftsdc010_mci.h                                    | 2 ++
 drivers/mmc/gen_atmel_mci.c                                   | 1 +
 drivers/mmc/hi6220_dw_mmc.c                                   | 1 +
 drivers/mmc/iproc_sdhci.c                                     | 1 +
 drivers/mmc/jz_mmc.c                                          | 2 ++
 drivers/mmc/kona_sdhci.c                                      | 1 +
 drivers/mmc/meson_gx_mmc.c                                    | 2 ++
 drivers/mmc/mmc-uclass.c                                      | 2 ++
 drivers/mmc/mmc.c                                             | 3 +++
 drivers/mmc/mmc_boot.c                                        | 1 +
 drivers/mmc/mmc_private.h                                     | 1 +
 drivers/mmc/mmc_spi.c                                         | 1 +
 drivers/mmc/mmc_write.c                                       | 1 +
 drivers/mmc/msm_sdhci.c                                       | 1 +
 drivers/mmc/mtk-sd.c                                          | 2 ++
 drivers/mmc/mv_sdhci.c                                        | 2 ++
 drivers/mmc/mvebu_mmc.c                                       | 1 +
 drivers/mmc/mxcmmc.c                                          | 1 +
 drivers/mmc/mxsmmc.c                                          | 1 +
 drivers/mmc/nexell_dw_mmc.c                                   | 1 +
 drivers/mmc/omap_hsmmc.c                                      | 3 +++
 drivers/mmc/pic32_sdhci.c                                     | 1 +
 drivers/mmc/pxa_mmc_gen.c                                     | 1 +
 drivers/mmc/renesas-sdhi.c                                    | 2 ++
 drivers/mmc/rockchip_dw_mmc.c                                 | 2 ++
 drivers/mmc/s5p_sdhci.c                                       | 1 +
 drivers/mmc/sandbox_mmc.c                                     | 1 +
 drivers/mmc/sdhci-cadence.c                                   | 2 ++
 drivers/mmc/sdhci.c                                           | 2 ++
 drivers/mmc/sh_mmcif.c                                        | 1 +
 drivers/mmc/sh_mmcif.h                                        | 1 +
 drivers/mmc/sh_sdhi.c                                         | 2 ++
 drivers/mmc/snps_dw_mmc.c                                     | 1 +
 drivers/mmc/socfpga_dw_mmc.c                                  | 1 +
 drivers/mmc/stm32_sdmmc2.c                                    | 2 ++
 drivers/mmc/sunxi_mmc.c                                       | 1 +
 drivers/mmc/tangier_sdhci.c                                   | 1 +
 drivers/mmc/tegra_mmc.c                                       | 1 +
 drivers/mmc/tmio-common.c                                     | 2 ++
 drivers/mmc/tmio-common.h                                     | 2 ++
 drivers/mmc/uniphier-sd.c                                     | 1 +
 drivers/mmc/xenon_sdhci.c                                     | 1 +
 drivers/mmc/zynq_sdhci.c                                      | 1 +
 drivers/mtd/altera_qspi.c                                     | 1 +
 drivers/mtd/cfi_flash.c                                       | 2 ++
 drivers/mtd/cfi_mtd.c                                         | 1 +
 drivers/mtd/hbmc-am654.c                                      | 2 ++
 drivers/mtd/jedec_flash.c                                     | 1 +
 drivers/mtd/mtd_uboot.c                                       | 1 +
 drivers/mtd/mtdcore.c                                         | 2 ++
 drivers/mtd/mtdpart.c                                         | 1 +
 drivers/mtd/mw_eeprom.c                                       | 1 +
 drivers/mtd/nand/raw/am335x_spl_bch.c                         | 2 ++
 drivers/mtd/nand/raw/arasan_nfc.c                             | 3 +++
 drivers/mtd/nand/raw/atmel_nand.c                             | 2 ++
 drivers/mtd/nand/raw/atmel_nand_ecc.h                         | 1 +
 drivers/mtd/nand/raw/brcmnand/bcm63158_nand.c                 | 3 +++
 drivers/mtd/nand/raw/brcmnand/bcm6368_nand.c                  | 3 +++
 drivers/mtd/nand/raw/brcmnand/bcm68360_nand.c                 | 3 +++
 drivers/mtd/nand/raw/brcmnand/bcm6838_nand.c                  | 3 +++
 drivers/mtd/nand/raw/brcmnand/bcm6858_nand.c                  | 3 +++
 drivers/mtd/nand/raw/brcmnand/brcmnand.c                      | 3 +++
 drivers/mtd/nand/raw/brcmnand/brcmnand.h                      | 1 +
 drivers/mtd/nand/raw/brcmnand/brcmnand_compat.c               | 1 +
 drivers/mtd/nand/raw/brcmnand/brcmnand_compat.h               | 1 +
 drivers/mtd/nand/raw/davinci_nand.c                           | 2 ++
 drivers/mtd/nand/raw/denali.c                                 | 1 +
 drivers/mtd/nand/raw/denali.h                                 | 1 +
 drivers/mtd/nand/raw/denali_spl.c                             | 2 ++
 drivers/mtd/nand/raw/fsl_elbc_nand.c                          | 2 ++
 drivers/mtd/nand/raw/fsl_elbc_spl.c                           | 1 +
 drivers/mtd/nand/raw/fsl_ifc_nand.c                           | 2 ++
 drivers/mtd/nand/raw/fsl_ifc_spl.c                            | 1 +
 drivers/mtd/nand/raw/fsl_upm.c                                | 2 ++
 drivers/mtd/nand/raw/fsmc_nand.c                              | 2 ++
 drivers/mtd/nand/raw/kb9202_nand.c                            | 1 +
 drivers/mtd/nand/raw/kirkwood_nand.c                          | 1 +
 drivers/mtd/nand/raw/kmeter1_nand.c                           | 1 +
 drivers/mtd/nand/raw/lpc32xx_nand_mlc.c                       | 2 ++
 drivers/mtd/nand/raw/lpc32xx_nand_slc.c                       | 2 ++
 drivers/mtd/nand/raw/mxc_nand.c                               | 2 ++
 drivers/mtd/nand/raw/mxc_nand.h                               | 1 +
 drivers/mtd/nand/raw/mxc_nand_spl.c                           | 1 +
 drivers/mtd/nand/raw/mxs_nand.c                               | 1 +
 drivers/mtd/nand/raw/mxs_nand_spl.c                           | 1 +
 drivers/mtd/nand/raw/nand.c                                   | 2 ++
 drivers/mtd/nand/raw/nand_base.c                              | 2 ++
 drivers/mtd/nand/raw/nand_bbt.c                               | 1 +
 drivers/mtd/nand/raw/nand_ecc.c                               | 1 +
 drivers/mtd/nand/raw/nand_spl_loaders.c                       | 1 +
 drivers/mtd/nand/raw/nand_spl_simple.c                        | 2 ++
 drivers/mtd/nand/raw/nand_util.c                              | 1 +
 drivers/mtd/nand/raw/omap_elm.c                               | 1 +
 drivers/mtd/nand/raw/omap_gpmc.c                              | 2 ++
 drivers/mtd/nand/raw/pxa3xx_nand.c                            | 1 +
 drivers/mtd/nand/raw/pxa3xx_nand.h                            | 1 +
 drivers/mtd/nand/raw/stm32_fmc2_nand.c                        | 3 +++
 drivers/mtd/nand/raw/sunxi_nand.c                             | 3 +++
 drivers/mtd/nand/raw/sunxi_nand_spl.c                         | 2 ++
 drivers/mtd/nand/raw/tegra_nand.c                             | 1 +
 drivers/mtd/nand/raw/tegra_nand.h                             | 1 +
 drivers/mtd/nand/raw/vf610_nfc.c                              | 2 ++
 drivers/mtd/nand/raw/zynq_nand.c                              | 3 +++
 drivers/mtd/nand/spi/core.c                                   | 2 ++
 drivers/mtd/nand/spi/gigadevice.c                             | 1 +
 drivers/mtd/nand/spi/macronix.c                               | 1 +
 drivers/mtd/nand/spi/micron.c                                 | 1 +
 drivers/mtd/nand/spi/toshiba.c                                | 1 +
 drivers/mtd/nand/spi/winbond.c                                | 1 +
 drivers/mtd/onenand/onenand_base.c                            | 2 ++
 drivers/mtd/onenand/onenand_bbt.c                             | 1 +
 drivers/mtd/onenand/onenand_spl.c                             | 1 +
 drivers/mtd/onenand/samsung.c                                 | 2 ++
 drivers/mtd/pic32_flash.c                                     | 2 ++
 drivers/mtd/renesas_rpc_hf.c                                  | 2 ++
 drivers/mtd/spi/fsl_espi_spl.c                                | 1 +
 drivers/mtd/spi/sandbox.c                                     | 1 +
 drivers/mtd/spi/sf-uclass.c                                   | 1 +
 drivers/mtd/spi/sf_dataflash.c                                | 1 +
 drivers/mtd/spi/sf_mtd.c                                      | 1 +
 drivers/mtd/spi/sf_probe.c                                    | 1 +
 drivers/mtd/spi/spi-nor-core.c                                | 2 ++
 drivers/mtd/spi/spi-nor-tiny.c                                | 2 ++
 drivers/mtd/st_smi.c                                          | 1 +
 drivers/mtd/stm32_flash.c                                     | 1 +
 drivers/mtd/stm32_flash.h                                     | 1 +
 drivers/mtd/ubi/attach.c                                      | 1 +
 drivers/mtd/ubi/build.c                                       | 2 ++
 drivers/mtd/ubi/crc32table.h                                  | 1 +
 drivers/mtd/ubi/debug.c                                       | 1 +
 drivers/mtd/ubi/eba.c                                         | 1 +
 drivers/mtd/ubi/fastmap.c                                     | 1 +
 drivers/mtd/ubi/io.c                                          | 1 +
 drivers/mtd/ubi/misc.c                                        | 1 +
 drivers/mtd/ubi/ubi-media.h                                   | 2 ++
 drivers/mtd/ubi/upd.c                                         | 1 +
 drivers/mtd/ubi/vmt.c                                         | 1 +
 drivers/mtd/ubi/vtbl.c                                        | 1 +
 drivers/mtd/ubispl/ubispl.c                                   | 1 +
 drivers/net/ag7xxx.c                                          | 2 ++
 drivers/net/altera_tse.c                                      | 1 +
 drivers/net/altera_tse.h                                      | 2 ++
 drivers/net/armada100_fec.h                                   | 1 +
 drivers/net/at91_emac.c                                       | 1 +
 drivers/net/ax88796.c                                         | 1 +
 drivers/net/ax88796.h                                         | 1 +
 drivers/net/bcm-sf2-eth-gmac.c                                | 2 ++
 drivers/net/bcm-sf2-eth-gmac.h                                | 1 +
 drivers/net/bcm-sf2-eth.c                                     | 1 +
 drivers/net/bcm-sf2-eth.h                                     | 1 +
 drivers/net/bcm6348-eth.c                                     | 2 ++
 drivers/net/bcm6368-eth.c                                     | 2 ++
 drivers/net/bcmgenet.c                                        | 1 +
 drivers/net/calxedaxgmac.c                                    | 1 +
 drivers/net/cs8900.c                                          | 1 +
 drivers/net/cs8900.h                                          | 1 +
 drivers/net/dc2114x.c                                         | 2 ++
 drivers/net/designware.c                                      | 1 +
 drivers/net/designware.h                                      | 1 +
 drivers/net/dm9000x.c                                         | 1 +
 drivers/net/dnet.c                                            | 1 +
 drivers/net/dnet.h                                            | 1 +
 drivers/net/dwc_eth_qos.c                                     | 3 +++
 drivers/net/dwmac_socfpga.c                                   | 1 +
 drivers/net/e1000.c                                           | 2 ++
 drivers/net/e1000.h                                           | 1 +
 drivers/net/e1000_spi.c                                       | 2 ++
 drivers/net/eepro100.c                                        | 2 ++
 drivers/net/ep93xx_eth.h                                      | 1 +
 drivers/net/ethoc.c                                           | 2 ++
 drivers/net/fec_mxc.c                                         | 2 ++
 drivers/net/fec_mxc.h                                         | 1 +
 drivers/net/fm/b4860.c                                        | 1 +
 drivers/net/fm/eth.c                                          | 2 ++
 drivers/net/fm/fdt.c                                          | 1 +
 drivers/net/fm/fm.c                                           | 1 +
 drivers/net/fm/fm.h                                           | 1 +
 drivers/net/fm/init.c                                         | 1 +
 drivers/net/fm/ls1043.c                                       | 1 +
 drivers/net/fm/ls1046.c                                       | 1 +
 drivers/net/fm/memac_phy.c                                    | 1 +
 drivers/net/fm/p1023.c                                        | 1 +
 drivers/net/fm/p4080.c                                        | 1 +
 drivers/net/fm/p5020.c                                        | 1 +
 drivers/net/fm/p5040.c                                        | 1 +
 drivers/net/fm/t1024.c                                        | 2 ++
 drivers/net/fm/t1040.c                                        | 1 +
 drivers/net/fm/t2080.c                                        | 2 ++
 drivers/net/fm/t4240.c                                        | 2 ++
 drivers/net/fm/tgec_phy.c                                     | 1 +
 drivers/net/fsl-mc/dpbp.c                                     | 1 +
 drivers/net/fsl-mc/dpio/dpio.c                                | 1 +
 drivers/net/fsl-mc/dpio/qbman_portal.c                        | 1 +
 drivers/net/fsl-mc/dpio/qbman_sys.h                           | 2 ++
 drivers/net/fsl-mc/dpmac.c                                    | 1 +
 drivers/net/fsl-mc/dpmng.c                                    | 1 +
 drivers/net/fsl-mc/dpni.c                                     | 1 +
 drivers/net/fsl-mc/dprc.c                                     | 1 +
 drivers/net/fsl-mc/dpsparser.c                                | 1 +
 drivers/net/fsl-mc/fsl_dpmng_cmd.h                            | 1 +
 drivers/net/fsl-mc/mc.c                                       | 3 +++
 drivers/net/fsl-mc/mc_sys.c                                   | 1 +
 drivers/net/fsl_enetc.c                                       | 2 ++
 drivers/net/fsl_enetc.h                                       | 1 +
 drivers/net/fsl_enetc_mdio.c                                  | 1 +
 drivers/net/fsl_ls_mdio.c                                     | 1 +
 drivers/net/fsl_mcdmafec.c                                    | 1 +
 drivers/net/fsl_mdio.c                                        | 2 ++
 drivers/net/ftgmac100.c                                       | 1 +
 drivers/net/ftmac100.c                                        | 1 +
 drivers/net/ftmac110.c                                        | 2 ++
 drivers/net/ftmac110.h                                        | 1 +
 drivers/net/gmac_rockchip.c                                   | 1 +
 drivers/net/higmacv300.c                                      | 2 ++
 drivers/net/ks8851_mll.c                                      | 1 +
 drivers/net/lan91c96.c                                        | 1 +
 drivers/net/ldpaa_eth/ldpaa_eth.c                             | 1 +
 drivers/net/ldpaa_eth/ldpaa_eth.h                             | 2 ++
 drivers/net/ldpaa_eth/ldpaa_wriop.c                           | 1 +
 drivers/net/ldpaa_eth/ls1088a.c                               | 2 ++
 drivers/net/ldpaa_eth/ls2080a.c                               | 2 ++
 drivers/net/ldpaa_eth/lx2160a.c                               | 2 ++
 drivers/net/lpc32xx_eth.c                                     | 1 +
 drivers/net/macb.c                                            | 3 +++
 drivers/net/mcffec.c                                          | 1 +
 drivers/net/mcfmii.c                                          | 1 +
 drivers/net/mdio_mux_i2creg.c                                 | 1 +
 drivers/net/mdio_mux_sandbox.c                                | 1 +
 drivers/net/mdio_sandbox.c                                    | 1 +
 drivers/net/mpc8xx_fec.c                                      | 2 ++
 drivers/net/mscc_eswitch/jr2_switch.c                         | 2 ++
 drivers/net/mscc_eswitch/luton_switch.c                       | 2 ++
 drivers/net/mscc_eswitch/mscc_mac_table.c                     | 2 ++
 drivers/net/mscc_eswitch/mscc_mac_table.h                     | 1 +
 drivers/net/mscc_eswitch/mscc_miim.c                          | 1 +
 drivers/net/mscc_eswitch/mscc_miim.h                          | 2 ++
 drivers/net/mscc_eswitch/mscc_xfer.c                          | 2 ++
 drivers/net/mscc_eswitch/mscc_xfer.h                          | 2 ++
 drivers/net/mscc_eswitch/ocelot_switch.c                      | 2 ++
 drivers/net/mscc_eswitch/serval_switch.c                      | 2 ++
 drivers/net/mscc_eswitch/servalt_switch.c                     | 2 ++
 drivers/net/mt7628-eth.c                                      | 3 +++
 drivers/net/mtk_eth.c                                         | 2 ++
 drivers/net/mvgbe.c                                           | 2 ++
 drivers/net/mvgbe.h                                           | 1 +
 drivers/net/mvmdio.c                                          | 1 +
 drivers/net/mvneta.c                                          | 2 ++
 drivers/net/mvpp2.c                                           | 3 +++
 drivers/net/natsemi.c                                         | 1 +
 drivers/net/ne2000.c                                          | 1 +
 drivers/net/ne2000.h                                          | 1 +
 drivers/net/ne2000_base.c                                     | 1 +
 drivers/net/ne2000_base.h                                     | 1 +
 drivers/net/netconsole.c                                      | 1 +
 drivers/net/ns8382x.c                                         | 1 +
 drivers/net/pch_gbe.c                                         | 1 +
 drivers/net/pch_gbe.h                                         | 1 +
 drivers/net/pcnet.c                                           | 2 ++
 drivers/net/pfe_eth/pfe_cmd.c                                 | 1 +
 drivers/net/pfe_eth/pfe_driver.c                              | 1 +
 drivers/net/pfe_eth/pfe_eth.c                                 | 1 +
 drivers/net/pfe_eth/pfe_firmware.c                            | 1 +
 drivers/net/pfe_eth/pfe_hw.c                                  | 1 +
 drivers/net/pfe_eth/pfe_mdio.c                                | 1 +
 drivers/net/phy/aquantia.c                                    | 2 ++
 drivers/net/phy/atheros.c                                     | 1 +
 drivers/net/phy/b53.c                                         | 1 +
 drivers/net/phy/broadcom.c                                    | 1 +
 drivers/net/phy/cortina.c                                     | 1 +
 drivers/net/phy/dp83867.c                                     | 1 +
 drivers/net/phy/fixed.c                                       | 1 +
 drivers/net/phy/generic_10g.c                                 | 1 +
 drivers/net/phy/marvell.c                                     | 1 +
 drivers/net/phy/micrel_ksz90x1.c                              | 1 +
 drivers/net/phy/miiphybb.c                                    | 1 +
 drivers/net/phy/mscc.c                                        | 2 ++
 drivers/net/phy/mv88e61xx.c                                   | 2 ++
 drivers/net/phy/mv88e6352.c                                   | 1 +
 drivers/net/phy/ncsi.c                                        | 2 ++
 drivers/net/phy/phy.c                                         | 3 +++
 drivers/net/phy/realtek.c                                     | 1 +
 drivers/net/phy/teranetics.c                                  | 1 +
 drivers/net/phy/vitesse.c                                     | 1 +
 drivers/net/phy/xilinx_gmii2rgmii.c                           | 1 +
 drivers/net/phy/xilinx_phy.c                                  | 1 +
 drivers/net/pic32_eth.c                                       | 2 ++
 drivers/net/pic32_eth.h                                       | 1 +
 drivers/net/pic32_mdio.c                                      | 1 +
 drivers/net/ravb.c                                            | 2 ++
 drivers/net/rtl8169.c                                         | 1 +
 drivers/net/sandbox-raw-bus.c                                 | 1 +
 drivers/net/sandbox-raw.c                                     | 1 +
 drivers/net/sandbox.c                                         | 1 +
 drivers/net/sh_eth.c                                          | 2 ++
 drivers/net/sh_eth.h                                          | 2 ++
 drivers/net/smc91111.c                                        | 1 +
 drivers/net/smc911x.c                                         | 1 +
 drivers/net/sni_ave.c                                         | 2 ++
 drivers/net/sun8i_emac.c                                      | 2 ++
 drivers/net/sunxi_emac.c                                      | 1 +
 drivers/net/ti/am65-cpsw-nuss.c                               | 2 ++
 drivers/net/ti/cpsw-common.c                                  | 1 +
 drivers/net/ti/cpsw.c                                         | 2 ++
 drivers/net/ti/cpsw_mdio.c                                    | 1 +
 drivers/net/ti/cpsw_mdio.h                                    | 1 +
 drivers/net/ti/davinci_emac.c                                 | 1 +
 drivers/net/ti/davinci_emac.h                                 | 1 +
 drivers/net/ti/keystone_net.c                                 | 1 +
 drivers/net/tsec.c                                            | 2 ++
 drivers/net/uli526x.c                                         | 1 +
 drivers/net/vsc7385.c                                         | 1 +
 drivers/net/vsc9953.c                                         | 1 +
 drivers/net/xilinx_axi_emac.c                                 | 1 +
 drivers/net/xilinx_emaclite.c                                 | 2 ++
 drivers/net/zynq_gem.c                                        | 3 +++
 drivers/nvme/nvme.c                                           | 3 +++
 drivers/nvme/nvme.h                                           | 2 ++
 drivers/nvme/nvme_show.c                                      | 1 +
 drivers/pch/pch-uclass.c                                      | 1 +
 drivers/pch/pch7.c                                            | 1 +
 drivers/pch/pch9.c                                            | 1 +
 drivers/pch/sandbox_pch.c                                     | 1 +
 drivers/pci/fsl_pci_init.c                                    | 1 +
 drivers/pci/pci-aardvark.c                                    | 1 +
 drivers/pci/pci-emul-uclass.c                                 | 1 +
 drivers/pci/pci-rcar-gen2.c                                   | 1 +
 drivers/pci/pci-rcar-gen3.c                                   | 1 +
 drivers/pci/pci-uclass.c                                      | 2 ++
 drivers/pci/pci.c                                             | 2 ++
 drivers/pci/pci_auto.c                                        | 1 +
 drivers/pci/pci_auto_common.c                                 | 1 +
 drivers/pci/pci_auto_old.c                                    | 1 +
 drivers/pci/pci_common.c                                      | 2 ++
 drivers/pci/pci_compat.c                                      | 1 +
 drivers/pci/pci_gt64120.c                                     | 1 +
 drivers/pci/pci_indirect.c                                    | 1 +
 drivers/pci/pci_mpc85xx.c                                     | 2 ++
 drivers/pci/pci_msc01.c                                       | 1 +
 drivers/pci/pci_mvebu.c                                       | 3 +++
 drivers/pci/pci_rom.c                                         | 3 +++
 drivers/pci/pci_sandbox.c                                     | 1 +
 drivers/pci/pci_sh7751.c                                      | 1 +
 drivers/pci/pci_sh7780.c                                      | 1 +
 drivers/pci/pci_tegra.c                                       | 2 ++
 drivers/pci/pci_x86.c                                         | 1 +
 drivers/pci/pcie_brcmstb.c                                    | 3 +++
 drivers/pci/pcie_dw_mvebu.c                                   | 1 +
 drivers/pci/pcie_dw_ti.c                                      | 3 +++
 drivers/pci/pcie_ecam_generic.c                               | 2 ++
 drivers/pci/pcie_fsl.c                                        | 2 ++
 drivers/pci/pcie_fsl.h                                        | 2 ++
 drivers/pci/pcie_imx.c                                        | 3 +++
 drivers/pci/pcie_intel_fpga.c                                 | 2 ++
 drivers/pci/pcie_layerscape.c                                 | 1 +
 drivers/pci/pcie_layerscape.h                                 | 2 ++
 drivers/pci/pcie_layerscape_ep.c                              | 2 ++
 drivers/pci/pcie_layerscape_fixup.c                           | 1 +
 drivers/pci/pcie_layerscape_fixup_common.c                    | 1 +
 drivers/pci/pcie_layerscape_gen4.c                            | 2 ++
 drivers/pci/pcie_layerscape_gen4.h                            | 2 ++
 drivers/pci/pcie_layerscape_gen4_fixup.c                      | 1 +
 drivers/pci/pcie_layerscape_rc.c                              | 1 +
 drivers/pci/pcie_mediatek.c                                   | 2 ++
 drivers/pci/pcie_phytium.c                                    | 1 +
 drivers/pci/pcie_rockchip.c                                   | 1 +
 drivers/pci/pcie_xilinx.c                                     | 1 +
 drivers/pci_endpoint/pci_ep-uclass.c                          | 1 +
 drivers/pci_endpoint/pcie-cadence-ep.c                        | 2 ++
 drivers/pci_endpoint/pcie-cadence.h                           | 2 ++
 drivers/pci_endpoint/sandbox-pci_ep.c                         | 1 +
 drivers/phy/allwinner/phy-sun4i-usb.c                         | 3 +++
 drivers/phy/bcm6318-usbh-phy.c                                | 1 +
 drivers/phy/bcm6348-usbh-phy.c                                | 1 +
 drivers/phy/bcm6358-usbh-phy.c                                | 1 +
 drivers/phy/bcm6368-usbh-phy.c                                | 2 ++
 drivers/phy/keystone-usb-phy.c                                | 2 ++
 drivers/phy/marvell/comphy_a3700.c                            | 1 +
 drivers/phy/marvell/comphy_core.c                             | 2 ++
 drivers/phy/marvell/comphy_core.h                             | 2 ++
 drivers/phy/marvell/comphy_cp110.c                            | 2 ++
 drivers/phy/marvell/comphy_mux.c                              | 2 ++
 drivers/phy/meson-g12a-usb3-pcie.c                            | 1 +
 drivers/phy/meson-gxbb-usb2.c                                 | 1 +
 drivers/phy/meson-gxl-usb2.c                                  | 1 +
 drivers/phy/meson-gxl-usb3.c                                  | 1 +
 drivers/phy/msm8916-usbh-phy.c                                | 2 ++
 drivers/phy/mt76x8-usb-phy.c                                  | 2 ++
 drivers/phy/omap-usb2-phy.c                                   | 2 ++
 drivers/phy/phy-mtk-tphy.c                                    | 2 ++
 drivers/phy/phy-rcar-gen2.c                                   | 1 +
 drivers/phy/phy-stm32-usbphyc.c                               | 1 +
 drivers/phy/phy-ti-am654.c                                    | 1 +
 drivers/phy/rockchip/phy-rockchip-inno-usb2.c                 | 1 +
 drivers/phy/rockchip/phy-rockchip-pcie.c                      | 1 +
 drivers/phy/rockchip/phy-rockchip-typec.c                     | 3 +++
 drivers/phy/sti_usb_phy.c                                     | 2 ++
 drivers/phy/ti-pipe3-phy.c                                    | 2 ++
 drivers/pinctrl/aspeed/pinctrl_ast2500.c                      | 1 +
 drivers/pinctrl/ath79/pinctrl_ar933x.c                        | 2 ++
 drivers/pinctrl/ath79/pinctrl_qca953x.c                       | 2 ++
 drivers/pinctrl/broadcom/pinctrl-bcm283x.c                    | 1 +
 drivers/pinctrl/broadcom/pinctrl-bcm6838.c                    | 1 +
 drivers/pinctrl/exynos/pinctrl-exynos.c                       | 1 +
 drivers/pinctrl/exynos/pinctrl-exynos7420.c                   | 1 +
 drivers/pinctrl/intel/pinctrl.c                               | 1 +
 drivers/pinctrl/mediatek/pinctrl-mtk-common.c                 | 1 +
 drivers/pinctrl/mediatek/pinctrl-mtk-common.h                 | 2 ++
 drivers/pinctrl/meson/pinctrl-meson-axg.c                     | 1 +
 drivers/pinctrl/meson/pinctrl-meson-g12a.c                    | 1 +
 drivers/pinctrl/meson/pinctrl-meson-gx-pmx.c                  | 2 ++
 drivers/pinctrl/meson/pinctrl-meson-gxbb.c                    | 1 +
 drivers/pinctrl/meson/pinctrl-meson-gxl.c                     | 1 +
 drivers/pinctrl/meson/pinctrl-meson.c                         | 1 +
 drivers/pinctrl/meson/pinctrl-meson.h                         | 1 +
 drivers/pinctrl/mscc/mscc-common.c                            | 1 +
 drivers/pinctrl/mscc/mscc-common.h                            | 1 +
 drivers/pinctrl/mtmips/pinctrl-mt7628.c                       | 2 ++
 drivers/pinctrl/mtmips/pinctrl-mtmips-common.c                | 1 +
 drivers/pinctrl/mtmips/pinctrl-mtmips-common.h                | 2 ++
 drivers/pinctrl/mvebu/pinctrl-armada-37xx.c                   | 2 ++
 drivers/pinctrl/mvebu/pinctrl-mvebu.c                         | 1 +
 drivers/pinctrl/mvebu/pinctrl-mvebu.h                         | 1 +
 drivers/pinctrl/nexell/pinctrl-nexell.c                       | 1 +
 drivers/pinctrl/nexell/pinctrl-nexell.h                       | 1 +
 drivers/pinctrl/nexell/pinctrl-s5pxx18.c                      | 2 ++
 drivers/pinctrl/nxp/pinctrl-imx.c                             | 1 +
 drivers/pinctrl/nxp/pinctrl-imx.h                             | 2 ++
 drivers/pinctrl/nxp/pinctrl-imx5.c                            | 1 +
 drivers/pinctrl/nxp/pinctrl-imx6.c                            | 1 +
 drivers/pinctrl/nxp/pinctrl-imx7.c                            | 1 +
 drivers/pinctrl/nxp/pinctrl-imx7ulp.c                         | 1 +
 drivers/pinctrl/nxp/pinctrl-imx8.c                            | 1 +
 drivers/pinctrl/nxp/pinctrl-imx8m.c                           | 1 +
 drivers/pinctrl/nxp/pinctrl-imxrt.c                           | 1 +
 drivers/pinctrl/nxp/pinctrl-mxs.c                             | 2 ++
 drivers/pinctrl/nxp/pinctrl-mxs.h                             | 2 ++
 drivers/pinctrl/nxp/pinctrl-scu.c                             | 1 +
 drivers/pinctrl/nxp/pinctrl-vf610.c                           | 1 +
 drivers/pinctrl/pinctrl-at91-pio4.c                           | 1 +
 drivers/pinctrl/pinctrl-at91.c                                | 2 ++
 drivers/pinctrl/pinctrl-generic.c                             | 1 +
 drivers/pinctrl/pinctrl-single.c                              | 1 +
 drivers/pinctrl/pinctrl-sti.c                                 | 1 +
 drivers/pinctrl/pinctrl-stmfx.c                               | 1 +
 drivers/pinctrl/pinctrl-uclass.c                              | 2 ++
 drivers/pinctrl/pinctrl_pic32.c                               | 2 ++
 drivers/pinctrl/pinctrl_stm32.c                               | 1 +
 drivers/pinctrl/renesas/pfc-r7s72100.c                        | 2 ++
 drivers/pinctrl/renesas/pfc-r8a7790.c                         | 1 +
 drivers/pinctrl/renesas/pfc-r8a7791.c                         | 1 +
 drivers/pinctrl/renesas/pfc-r8a7792.c                         | 1 +
 drivers/pinctrl/renesas/pfc-r8a7794.c                         | 1 +
 drivers/pinctrl/renesas/pfc-r8a7795.c                         | 1 +
 drivers/pinctrl/renesas/pfc-r8a7796.c                         | 1 +
 drivers/pinctrl/renesas/pfc-r8a77965.c                        | 1 +
 drivers/pinctrl/renesas/pfc-r8a77970.c                        | 1 +
 drivers/pinctrl/renesas/pfc-r8a77980.c                        | 1 +
 drivers/pinctrl/renesas/pfc-r8a77990.c                        | 1 +
 drivers/pinctrl/renesas/pfc-r8a77995.c                        | 1 +
 drivers/pinctrl/renesas/pfc.c                                 | 3 +++
 drivers/pinctrl/renesas/sh_pfc.h                              | 2 ++
 drivers/pinctrl/rockchip/pinctrl-px30.c                       | 1 +
 drivers/pinctrl/rockchip/pinctrl-rk3036.c                     | 1 +
 drivers/pinctrl/rockchip/pinctrl-rk3128.c                     | 1 +
 drivers/pinctrl/rockchip/pinctrl-rk3188.c                     | 1 +
 drivers/pinctrl/rockchip/pinctrl-rk322x.c                     | 1 +
 drivers/pinctrl/rockchip/pinctrl-rk3288.c                     | 1 +
 drivers/pinctrl/rockchip/pinctrl-rk3308.c                     | 1 +
 drivers/pinctrl/rockchip/pinctrl-rk3328.c                     | 1 +
 drivers/pinctrl/rockchip/pinctrl-rk3368.c                     | 1 +
 drivers/pinctrl/rockchip/pinctrl-rk3399.c                     | 1 +
 drivers/pinctrl/rockchip/pinctrl-rockchip-core.c              | 2 ++
 drivers/pinctrl/rockchip/pinctrl-rv1108.c                     | 1 +
 drivers/pinctrl/uniphier/pinctrl-uniphier-core.c              | 2 ++
 drivers/pinctrl/uniphier/pinctrl-uniphier.h                   | 1 +
 drivers/power/acpi_pmc/acpi-pmc-uclass.c                      | 1 +
 drivers/power/acpi_pmc/pmc_emul.c                             | 1 +
 drivers/power/acpi_pmc/sandbox.c                              | 1 +
 drivers/power/axp152.c                                        | 1 +
 drivers/power/axp209.c                                        | 1 +
 drivers/power/axp221.c                                        | 1 +
 drivers/power/axp809.c                                        | 1 +
 drivers/power/axp818.c                                        | 1 +
 drivers/power/domain/bcm6328-power-domain.c                   | 1 +
 drivers/power/domain/imx8-power-domain.c                      | 1 +
 drivers/power/domain/meson-ee-pwrc.c                          | 2 ++
 drivers/power/domain/meson-gx-pwrc-vpu.c                      | 1 +
 drivers/power/domain/mtk-power-domain.c                       | 2 ++
 drivers/power/domain/ti-sci-power-domain.c                    | 1 +
 drivers/power/exynos-tmu.c                                    | 1 +
 drivers/power/fuel_gauge/fg_max17042.c                        | 1 +
 drivers/power/mfd/fg_max77693.c                               | 1 +
 drivers/power/mt6323.c                                        | 1 +
 drivers/power/palmas.c                                        | 1 +
 drivers/power/pmic/act8846.c                                  | 1 +
 drivers/power/pmic/as3722.c                                   | 1 +
 drivers/power/pmic/as3722_gpio.c                              | 1 +
 drivers/power/pmic/bd71837.c                                  | 1 +
 drivers/power/pmic/da9063.c                                   | 2 ++
 drivers/power/pmic/fan53555.c                                 | 1 +
 drivers/power/pmic/i2c_pmic_emul.c                            | 1 +
 drivers/power/pmic/lp873x.c                                   | 1 +
 drivers/power/pmic/lp87565.c                                  | 1 +
 drivers/power/pmic/max77686.c                                 | 1 +
 drivers/power/pmic/max8997.c                                  | 1 +
 drivers/power/pmic/max8998.c                                  | 1 +
 drivers/power/pmic/mc34708.c                                  | 1 +
 drivers/power/pmic/palmas.c                                   | 1 +
 drivers/power/pmic/pca9450.c                                  | 1 +
 drivers/power/pmic/pfuze100.c                                 | 1 +
 drivers/power/pmic/pm8916.c                                   | 1 +
 drivers/power/pmic/pmic-uclass.c                              | 1 +
 drivers/power/pmic/pmic_hi6553.c                              | 1 +
 drivers/power/pmic/pmic_max8997.c                             | 1 +
 drivers/power/pmic/pmic_tps65217.c                            | 1 +
 drivers/power/pmic/pmic_tps65218.c                            | 1 +
 drivers/power/pmic/pmic_tps65910.c                            | 1 +
 drivers/power/pmic/pmic_tps65910_dm.c                         | 1 +
 drivers/power/pmic/rk8xx.c                                    | 1 +
 drivers/power/pmic/rn5t567.c                                  | 1 +
 drivers/power/pmic/s2mps11.c                                  | 1 +
 drivers/power/pmic/s5m8767.c                                  | 1 +
 drivers/power/pmic/sandbox.c                                  | 1 +
 drivers/power/pmic/stpmic1.c                                  | 1 +
 drivers/power/pmic/tps65090.c                                 | 1 +
 drivers/power/pmic/tps65941.c                                 | 1 +
 drivers/power/power_fsl.c                                     | 1 +
 drivers/power/regulator/act8846.c                             | 1 +
 drivers/power/regulator/as3722_regulator.c                    | 1 +
 drivers/power/regulator/bd71837.c                             | 2 ++
 drivers/power/regulator/da9063.c                              | 2 ++
 drivers/power/regulator/fan53555.c                            | 2 ++
 drivers/power/regulator/gpio-regulator.c                      | 1 +
 drivers/power/regulator/max77686.c                            | 1 +
 drivers/power/regulator/palmas_regulator.c                    | 1 +
 drivers/power/regulator/pbias_regulator.c                     | 2 ++
 drivers/power/regulator/pfuze100.c                            | 1 +
 drivers/power/regulator/regulator-uclass.c                    | 1 +
 drivers/power/regulator/rk8xx.c                               | 2 ++
 drivers/power/regulator/s2mps11_regulator.c                   | 2 ++
 drivers/power/regulator/sandbox.c                             | 2 ++
 drivers/power/regulator/stm32-vrefbuf.c                       | 3 +++
 drivers/power/regulator/stpmic1.c                             | 2 ++
 drivers/power/regulator/tps62360_regulator.c                  | 1 +
 drivers/power/regulator/tps65090_regulator.c                  | 1 +
 drivers/power/regulator/tps65910_regulator.c                  | 2 ++
 drivers/power/sy8106a.c                                       | 1 +
 drivers/power/tps6586x.c                                      | 1 +
 drivers/power/twl4030.c                                       | 1 +
 drivers/power/twl6030.c                                       | 1 +
 drivers/pwm/exynos_pwm.c                                      | 1 +
 drivers/pwm/pwm-imx.c                                         | 1 +
 drivers/pwm/pwm-mtk.c                                         | 3 +++
 drivers/pwm/pwm-sifive.c                                      | 3 +++
 drivers/pwm/pwm-uclass.c                                      | 1 +
 drivers/pwm/rk_pwm.c                                          | 1 +
 drivers/pwm/sandbox_pwm.c                                     | 1 +
 drivers/pwm/sunxi_pwm.c                                       | 1 +
 drivers/pwm/tegra_pwm.c                                       | 1 +
 drivers/qe/qe.c                                               | 2 ++
 drivers/qe/uccf.c                                             | 1 +
 drivers/qe/uec.c                                              | 1 +
 drivers/qe/uec_phy.c                                          | 1 +
 drivers/qe/uec_phy.h                                          | 1 +
 drivers/ram/bmips_ram.c                                       | 2 ++
 drivers/ram/imxrt_sdram.c                                     | 1 +
 drivers/ram/k3-am654-ddrss.c                                  | 2 ++
 drivers/ram/k3-am654-ddrss.h                                  | 1 +
 drivers/ram/k3-j721e/cps_drv_lpddr4.h                         | 1 +
 drivers/ram/k3-j721e/k3-j721e-ddrss.c                         | 2 ++
 drivers/ram/k3-j721e/lpddr4_private.h                         | 1 +
 drivers/ram/mediatek/ddr3-mt7629.c                            | 1 +
 drivers/ram/mpc83xx_sdram.c                                   | 1 +
 drivers/ram/rockchip/dmc-rk3368.c                             | 2 ++
 drivers/ram/rockchip/sdram_common.c                           | 2 ++
 drivers/ram/rockchip/sdram_pctl_px30.c                        | 2 ++
 drivers/ram/rockchip/sdram_phy_px30.c                         | 2 ++
 drivers/ram/rockchip/sdram_px30.c                             | 2 ++
 drivers/ram/rockchip/sdram_rk3128.c                           | 1 +
 drivers/ram/rockchip/sdram_rk3188.c                           | 2 ++
 drivers/ram/rockchip/sdram_rk3288.c                           | 2 ++
 drivers/ram/rockchip/sdram_rk3308.c                           | 1 +
 drivers/ram/rockchip/sdram_rk3328.c                           | 2 ++
 drivers/ram/rockchip/sdram_rk3399.c                           | 3 +++
 drivers/ram/sifive/fu540_ddr.c                                | 1 +
 drivers/ram/stm32_sdram.c                                     | 1 +
 drivers/ram/stm32mp1/stm32mp1_ddr.c                           | 3 +++
 drivers/ram/stm32mp1/stm32mp1_ddr.h                           | 1 +
 drivers/ram/stm32mp1/stm32mp1_ddr_regs.h                      | 1 +
 drivers/ram/stm32mp1/stm32mp1_interactive.c                   | 2 ++
 drivers/ram/stm32mp1/stm32mp1_ram.c                           | 3 +++
 drivers/ram/stm32mp1/stm32mp1_tests.c                         | 2 ++
 drivers/ram/stm32mp1/stm32mp1_tuning.c                        | 2 ++
 drivers/remoteproc/k3_system_controller.c                     | 2 ++
 drivers/remoteproc/rproc-elf-loader.c                         | 2 ++
 drivers/remoteproc/rproc-uclass.c                             | 1 +
 drivers/remoteproc/sandbox_testproc.c                         | 1 +
 drivers/remoteproc/stm32_copro.c                              | 2 ++
 drivers/remoteproc/ti_k3_arm64_rproc.c                        | 1 +
 drivers/remoteproc/ti_k3_dsp_rproc.c                          | 3 +++
 drivers/remoteproc/ti_k3_r5f_rproc.c                          | 3 +++
 drivers/remoteproc/ti_power_proc.c                            | 1 +
 drivers/remoteproc/ti_sci_proc.h                              | 1 +
 drivers/reset/ast2500-reset.c                                 | 1 +
 drivers/reset/reset-bcm6345.c                                 | 1 +
 drivers/reset/reset-hisilicon.c                               | 2 ++
 drivers/reset/reset-hsdk.c                                    | 2 ++
 drivers/reset/reset-imx7.c                                    | 2 ++
 drivers/reset/reset-mediatek.c                                | 1 +
 drivers/reset/reset-meson.c                                   | 1 +
 drivers/reset/reset-mtmips.c                                  | 1 +
 drivers/reset/reset-rockchip.c                                | 2 ++
 drivers/reset/reset-socfpga.c                                 | 2 ++
 drivers/reset/reset-sunxi.c                                   | 2 ++
 drivers/reset/reset-syscon.c                                  | 2 ++
 drivers/reset/reset-ti-sci.c                                  | 2 ++
 drivers/reset/reset-uniphier.c                                | 2 ++
 drivers/reset/sti-reset.c                                     | 3 +++
 drivers/rng/meson-rng.c                                       | 1 +
 drivers/rng/rng-uclass.c                                      | 1 +
 drivers/rng/rockchip_rng.c                                    | 1 +
 drivers/rng/sandbox_rng.c                                     | 1 +
 drivers/rng/stm32mp1_rng.c                                    | 1 +
 drivers/rtc/at91sam9_rtt.c                                    | 1 +
 drivers/rtc/ds1306.c                                          | 1 +
 drivers/rtc/ds1307.c                                          | 1 +
 drivers/rtc/ds1337.c                                          | 1 +
 drivers/rtc/ds1374.c                                          | 1 +
 drivers/rtc/ds1556.c                                          | 1 +
 drivers/rtc/ds164x.c                                          | 1 +
 drivers/rtc/ds174x.c                                          | 1 +
 drivers/rtc/ds3231.c                                          | 1 +
 drivers/rtc/ds3232.c                                          | 1 +
 drivers/rtc/i2c_rtc_emul.c                                    | 1 +
 drivers/rtc/imxdi.c                                           | 2 ++
 drivers/rtc/isl1208.c                                         | 1 +
 drivers/rtc/m41t11.c                                          | 1 +
 drivers/rtc/m41t60.c                                          | 1 +
 drivers/rtc/m41t62.c                                          | 1 +
 drivers/rtc/m41t94.c                                          | 1 +
 drivers/rtc/m48t35ax.c                                        | 1 +
 drivers/rtc/max6900.c                                         | 1 +
 drivers/rtc/mc13xxx-rtc.c                                     | 1 +
 drivers/rtc/mc146818.c                                        | 1 +
 drivers/rtc/mk48t59.c                                         | 1 +
 drivers/rtc/mvrtc.c                                           | 1 +
 drivers/rtc/mvrtc.h                                           | 1 +
 drivers/rtc/mx27rtc.c                                         | 1 +
 drivers/rtc/mxsrtc.c                                          | 1 +
 drivers/rtc/pcf2127.c                                         | 1 +
 drivers/rtc/pcf8563.c                                         | 1 +
 drivers/rtc/pt7c4338.c                                        | 1 +
 drivers/rtc/rtc-uclass.c                                      | 1 +
 drivers/rtc/rv3029.c                                          | 1 +
 drivers/rtc/rv8803.c                                          | 1 +
 drivers/rtc/rx8010sj.c                                        | 1 +
 drivers/rtc/rx8025.c                                          | 1 +
 drivers/rtc/s35392a.c                                         | 1 +
 drivers/rtc/s3c24x0_rtc.c                                     | 1 +
 drivers/rtc/sandbox_rtc.c                                     | 1 +
 drivers/rtc/stm32_rtc.c                                       | 1 +
 drivers/rtc/x1205.c                                           | 1 +
 drivers/scsi/scsi.c                                           | 2 ++
 drivers/serial/altera_jtag_uart.c                             | 1 +
 drivers/serial/altera_uart.c                                  | 1 +
 drivers/serial/atmel_usart.c                                  | 2 ++
 drivers/serial/atmel_usart.h                                  | 1 +
 drivers/serial/lpc32xx_hsuart.c                               | 1 +
 drivers/serial/ns16550.c                                      | 1 +
 drivers/serial/sandbox.c                                      | 2 ++
 drivers/serial/serial-uclass.c                                | 1 +
 drivers/serial/serial.c                                       | 1 +
 drivers/serial/serial_ar933x.c                                | 2 ++
 drivers/serial/serial_arc.c                                   | 1 +
 drivers/serial/serial_bcm283x_mu.c                            | 1 +
 drivers/serial/serial_bcm6345.c                               | 2 ++
 drivers/serial/serial_cortina.c                               | 2 ++
 drivers/serial/serial_efi.c                                   | 1 +
 drivers/serial/serial_linflexuart.c                           | 1 +
 drivers/serial/serial_lpuart.c                                | 2 ++
 drivers/serial/serial_mcf.c                                   | 1 +
 drivers/serial/serial_meson.c                                 | 1 +
 drivers/serial/serial_mpc8xx.c                                | 2 ++
 drivers/serial/serial_msm.c                                   | 1 +
 drivers/serial/serial_mtk.c                                   | 2 ++
 drivers/serial/serial_mvebu_a3700.c                           | 1 +
 drivers/serial/serial_mxc.c                                   | 2 ++
 drivers/serial/serial_ns16550.c                               | 1 +
 drivers/serial/serial_omap.c                                  | 1 +
 drivers/serial/serial_pic32.c                                 | 3 +++
 drivers/serial/serial_pl01x.c                                 | 1 +
 drivers/serial/serial_pl01x_internal.h                        | 1 +
 drivers/serial/serial_pxa.c                                   | 2 ++
 drivers/serial/serial_s5p.c                                   | 1 +
 drivers/serial/serial_sh.c                                    | 1 +
 drivers/serial/serial_sifive.c                                | 2 ++
 drivers/serial/serial_sti_asc.c                               | 1 +
 drivers/serial/serial_stm32.c                                 | 2 ++
 drivers/serial/serial_stm32.h                                 | 1 +
 drivers/serial/serial_uniphier.c                              | 3 +++
 drivers/serial/serial_zynq.c                                  | 2 ++
 drivers/serial/usbtty.c                                       | 1 +
 drivers/smem/msm_smem.c                                       | 2 ++
 drivers/smem/sandbox_smem.c                                   | 1 +
 drivers/smem/smem-uclass.c                                    | 1 +
 drivers/soc/soc_ti_k3.c                                       | 1 +
 drivers/soc/ti/k3-navss-ringacc.c                             | 3 +++
 drivers/soc/ti/keystone_serdes.c                              | 1 +
 drivers/sound/broadwell_i2s.c                                 | 1 +
 drivers/sound/broadwell_i2s.h                                 | 1 +
 drivers/sound/broadwell_sound.c                               | 1 +
 drivers/sound/codec-uclass.c                                  | 1 +
 drivers/sound/da7219.c                                        | 1 +
 drivers/sound/hda_codec.c                                     | 1 +
 drivers/sound/i2s-uclass.c                                    | 1 +
 drivers/sound/ivybridge_sound.c                               | 1 +
 drivers/sound/max98088.c                                      | 1 +
 drivers/sound/max98090.c                                      | 1 +
 drivers/sound/max98095.c                                      | 1 +
 drivers/sound/max98357a.c                                     | 1 +
 drivers/sound/rockchip_i2s.c                                  | 1 +
 drivers/sound/rockchip_sound.c                                | 1 +
 drivers/sound/rt5677.c                                        | 1 +
 drivers/sound/samsung-i2s.c                                   | 1 +
 drivers/sound/samsung_sound.c                                 | 1 +
 drivers/sound/sandbox.c                                       | 1 +
 drivers/sound/sound-uclass.c                                  | 1 +
 drivers/sound/sound.c                                         | 1 +
 drivers/sound/tegra_ahub.c                                    | 1 +
 drivers/sound/tegra_i2s.c                                     | 1 +
 drivers/sound/tegra_i2s_priv.h                                | 1 +
 drivers/sound/tegra_sound.c                                   | 1 +
 drivers/sound/wm8994.c                                        | 1 +
 drivers/spi/altera_spi.c                                      | 1 +
 drivers/spi/atcspi200_spi.c                                   | 1 +
 drivers/spi/ath79_spi.c                                       | 1 +
 drivers/spi/atmel-quadspi.c                                   | 3 +++
 drivers/spi/atmel_spi.c                                       | 1 +
 drivers/spi/bcm63xx_hsspi.c                                   | 2 ++
 drivers/spi/bcm63xx_spi.c                                     | 2 ++
 drivers/spi/bcmstb_spi.c                                      | 1 +
 drivers/spi/cadence_qspi.c                                    | 1 +
 drivers/spi/cadence_qspi.h                                    | 1 +
 drivers/spi/cadence_qspi_apb.c                                | 1 +
 drivers/spi/cf_spi.c                                          | 1 +
 drivers/spi/davinci_spi.c                                     | 1 +
 drivers/spi/designware_spi.c                                  | 3 +++
 drivers/spi/exynos_spi.c                                      | 1 +
 drivers/spi/fsl_dspi.c                                        | 2 ++
 drivers/spi/fsl_espi.c                                        | 1 +
 drivers/spi/fsl_qspi.c                                        | 3 +++
 drivers/spi/ich.c                                             | 2 ++
 drivers/spi/ich.h                                             | 2 ++
 drivers/spi/kirkwood_spi.c                                    | 1 +
 drivers/spi/meson_spifc.c                                     | 2 ++
 drivers/spi/mpc8xx_spi.c                                      | 2 ++
 drivers/spi/mpc8xxx_spi.c                                     | 2 ++
 drivers/spi/mscc_bb_spi.c                                     | 2 ++
 drivers/spi/mt7621_spi.c                                      | 2 ++
 drivers/spi/mtk_snfi_spi.c                                    | 2 ++
 drivers/spi/mvebu_a3700_spi.c                                 | 1 +
 drivers/spi/mxc_spi.c                                         | 2 ++
 drivers/spi/mxs_spi.c                                         | 1 +
 drivers/spi/nxp_fspi.c                                        | 3 +++
 drivers/spi/omap3_spi.c                                       | 1 +
 drivers/spi/pic32_spi.c                                       | 1 +
 drivers/spi/pl022_spi.c                                       | 2 ++
 drivers/spi/renesas_rpc_spi.c                                 | 2 ++
 drivers/spi/rk_spi.c                                          | 2 ++
 drivers/spi/rk_spi.h                                          | 1 +
 drivers/spi/sandbox_spi.c                                     | 2 ++
 drivers/spi/sh_qspi.c                                         | 1 +
 drivers/spi/soft_spi.c                                        | 1 +
 drivers/spi/spi-mem-nodm.c                                    | 1 +
 drivers/spi/spi-mem.c                                         | 2 ++
 drivers/spi/spi-sifive.c                                      | 1 +
 drivers/spi/spi-sunxi.c                                       | 2 ++
 drivers/spi/spi-uclass.c                                      | 2 ++
 drivers/spi/spi.c                                             | 1 +
 drivers/spi/stm32_qspi.c                                      | 3 +++
 drivers/spi/stm32_spi.c                                       | 3 +++
 drivers/spi/tegra114_spi.c                                    | 1 +
 drivers/spi/tegra20_sflash.c                                  | 1 +
 drivers/spi/tegra20_slink.c                                   | 1 +
 drivers/spi/tegra210_qspi.c                                   | 1 +
 drivers/spi/tegra_spi.h                                       | 1 +
 drivers/spi/ti_qspi.c                                         | 2 ++
 drivers/spi/uniphier_spi.c                                    | 2 ++
 drivers/spi/xilinx_spi.c                                      | 1 +
 drivers/spi/zynq_qspi.c                                       | 1 +
 drivers/spi/zynq_spi.c                                        | 1 +
 drivers/spi/zynqmp_gqspi.c                                    | 1 +
 drivers/spmi/spmi-msm.c                                       | 1 +
 drivers/spmi/spmi-sandbox.c                                   | 1 +
 drivers/spmi/spmi-uclass.c                                    | 1 +
 drivers/sysreset/sysreset-uclass.c                            | 1 +
 drivers/sysreset/sysreset_ast.c                               | 1 +
 drivers/sysreset/sysreset_mpc83xx.c                           | 2 ++
 drivers/sysreset/sysreset_octeon.c                            | 1 +
 drivers/sysreset/sysreset_socfpga.c                           | 1 +
 drivers/sysreset/sysreset_sti.c                               | 2 ++
 drivers/sysreset/sysreset_syscon.c                            | 1 +
 drivers/sysreset/sysreset_x86.c                               | 1 +
 drivers/tee/broadcom/chimp_optee.c                            | 1 +
 drivers/tee/optee/core.c                                      | 2 ++
 drivers/tee/optee/optee_private.h                             | 1 +
 drivers/tee/optee/optee_smc.h                                 | 1 +
 drivers/tee/optee/rpmb.c                                      | 1 +
 drivers/tee/sandbox.c                                         | 1 +
 drivers/tee/tee-uclass.c                                      | 1 +
 drivers/thermal/imx_scu_thermal.c                             | 1 +
 drivers/thermal/imx_thermal.c                                 | 1 +
 drivers/thermal/imx_tmu.c                                     | 2 ++
 drivers/thermal/ti-bandgap.c                                  | 1 +
 drivers/timer/ag101p_timer.c                                  | 1 +
 drivers/timer/altera_timer.c                                  | 1 +
 drivers/timer/arc_timer.c                                     | 1 +
 drivers/timer/atcpit100_timer.c                               | 1 +
 drivers/timer/atmel_pit_timer.c                               | 1 +
 drivers/timer/cadence-ttc.c                                   | 1 +
 drivers/timer/mpc83xx_timer.c                                 | 1 +
 drivers/timer/mtk_timer.c                                     | 2 ++
 drivers/timer/nomadik-mtu-timer.c                             | 1 +
 drivers/timer/rockchip_timer.c                                | 1 +
 drivers/timer/sti-timer.c                                     | 1 +
 drivers/timer/stm32_timer.c                                   | 1 +
 drivers/timer/timer-uclass.c                                  | 1 +
 drivers/timer/tsc_timer.c                                     | 2 ++
 drivers/tpm/cr50_i2c.c                                        | 2 ++
 drivers/tpm/tpm-uclass.c                                      | 1 +
 drivers/tpm/tpm2_ftpm_tee.c                                   | 1 +
 drivers/tpm/tpm2_ftpm_tee.h                                   | 1 +
 drivers/tpm/tpm2_tis_sandbox.c                                | 1 +
 drivers/tpm/tpm2_tis_spi.c                                    | 1 +
 drivers/tpm/tpm_atmel_twi.c                                   | 1 +
 drivers/tpm/tpm_internal.h                                    | 1 +
 drivers/tpm/tpm_tis.h                                         | 1 +
 drivers/tpm/tpm_tis_lpc.c                                     | 1 +
 drivers/tpm/tpm_tis_sandbox.c                                 | 2 ++
 drivers/ufs/cdns-platform.c                                   | 1 +
 drivers/ufs/ti-j721e-ufs.c                                    | 2 ++
 drivers/ufs/ufs.c                                             | 2 ++
 drivers/ufs/ufs.h                                             | 2 ++
 drivers/usb/cdns3/cdns3-ti.c                                  | 2 ++
 drivers/usb/cdns3/core.h                                      | 1 +
 drivers/usb/cdns3/drd.c                                       | 2 ++
 drivers/usb/cdns3/ep0.c                                       | 3 +++
 drivers/usb/cdns3/gadget.c                                    | 3 +++
 drivers/usb/cdns3/gadget.h                                    | 2 ++
 drivers/usb/common/fsl-dt-fixup.c                             | 1 +
 drivers/usb/common/fsl-errata.c                               | 1 +
 drivers/usb/dwc3/core.c                                       | 1 +
 drivers/usb/dwc3/core.h                                       | 2 ++
 drivers/usb/dwc3/dwc3-generic.c                               | 1 +
 drivers/usb/dwc3/dwc3-omap.c                                  | 2 ++
 drivers/usb/dwc3/dwc3-uniphier.c                              | 2 ++
 drivers/usb/dwc3/ep0.c                                        | 2 ++
 drivers/usb/dwc3/gadget.c                                     | 2 ++
 drivers/usb/dwc3/gadget.h                                     | 1 +
 drivers/usb/dwc3/io.h                                         | 2 ++
 drivers/usb/dwc3/linux-compat.h                               | 1 +
 drivers/usb/dwc3/samsung_usb_phy.c                            | 1 +
 drivers/usb/dwc3/ti_usb_phy.c                                 | 2 ++
 drivers/usb/emul/sandbox_flash.c                              | 2 ++
 drivers/usb/emul/sandbox_keyb.c                               | 1 +
 drivers/usb/emul/usb-emul-uclass.c                            | 2 ++
 drivers/usb/eth/asix.c                                        | 1 +
 drivers/usb/eth/asix88179.c                                   | 1 +
 drivers/usb/eth/lan75xx.c                                     | 1 +
 drivers/usb/eth/lan78xx.c                                     | 1 +
 drivers/usb/eth/lan7x.c                                       | 1 +
 drivers/usb/eth/lan7x.h                                       | 1 +
 drivers/usb/eth/mcs7830.c                                     | 2 ++
 drivers/usb/eth/r8152.c                                       | 2 ++
 drivers/usb/eth/r8152.h                                       | 2 ++
 drivers/usb/eth/r8152_fw.c                                    | 1 +
 drivers/usb/eth/smsc95xx.c                                    | 1 +
 drivers/usb/eth/usb_ether.c                                   | 1 +
 drivers/usb/gadget/at91_udc.c                                 | 2 ++
 drivers/usb/gadget/at91_udc.h                                 | 2 ++
 drivers/usb/gadget/atmel_usba_udc.c                           | 1 +
 drivers/usb/gadget/atmel_usba_udc.h                           | 1 +
 drivers/usb/gadget/bcm_udc_otg.h                              | 1 +
 drivers/usb/gadget/ci_udc.c                                   | 2 ++
 drivers/usb/gadget/ci_udc.h                                   | 1 +
 drivers/usb/gadget/composite.c                                | 2 ++
 drivers/usb/gadget/config.c                                   | 1 +
 drivers/usb/gadget/core.c                                     | 1 +
 drivers/usb/gadget/designware_udc.c                           | 1 +
 drivers/usb/gadget/dwc2_udc_otg.c                             | 3 +++
 drivers/usb/gadget/dwc2_udc_otg_priv.h                        | 1 +
 drivers/usb/gadget/dwc2_udc_otg_regs.h                        | 1 +
 drivers/usb/gadget/dwc2_udc_otg_xfer_dma.c                    | 1 +
 drivers/usb/gadget/epautoconf.c                               | 1 +
 drivers/usb/gadget/ether.c                                    | 1 +
 drivers/usb/gadget/f_dfu.c                                    | 1 +
 drivers/usb/gadget/f_dfu.h                                    | 2 ++
 drivers/usb/gadget/f_mass_storage.c                           | 1 +
 drivers/usb/gadget/f_rockusb.c                                | 2 ++
 drivers/usb/gadget/f_sdp.c                                    | 3 +++
 drivers/usb/gadget/f_thor.c                                   | 1 +
 drivers/usb/gadget/f_thor.h                                   | 1 +
 drivers/usb/gadget/fotg210.c                                  | 1 +
 drivers/usb/gadget/g_dnl.c                                    | 1 +
 drivers/usb/gadget/ndis.h                                     | 1 +
 drivers/usb/gadget/pxa25x_udc.c                               | 1 +
 drivers/usb/gadget/pxa27x_udc.c                               | 1 +
 drivers/usb/gadget/storage_common.c                           | 1 +
 drivers/usb/gadget/usbstring.c                                | 1 +
 drivers/usb/host/dwc2.c                                       | 2 ++
 drivers/usb/host/dwc2.h                                       | 1 +
 drivers/usb/host/dwc3-sti-glue.c                              | 1 +
 drivers/usb/host/ehci-armada100.c                             | 1 +
 drivers/usb/host/ehci-atmel.c                                 | 1 +
 drivers/usb/host/ehci-exynos.c                                | 1 +
 drivers/usb/host/ehci-faraday.c                               | 2 ++
 drivers/usb/host/ehci-fsl.c                                   | 1 +
 drivers/usb/host/ehci-generic.c                               | 1 +
 drivers/usb/host/ehci-hcd.c                                   | 2 ++
 drivers/usb/host/ehci-marvell.c                               | 1 +
 drivers/usb/host/ehci-msm.c                                   | 1 +
 drivers/usb/host/ehci-mx5.c                                   | 2 ++
 drivers/usb/host/ehci-mx6.c                                   | 2 ++
 drivers/usb/host/ehci-mxc.c                                   | 1 +
 drivers/usb/host/ehci-mxs.c                                   | 2 ++
 drivers/usb/host/ehci-omap.c                                  | 1 +
 drivers/usb/host/ehci-pci.c                                   | 1 +
 drivers/usb/host/ehci-rmobile.c                               | 1 +
 drivers/usb/host/ehci-spear.c                                 | 1 +
 drivers/usb/host/ehci-tegra.c                                 | 1 +
 drivers/usb/host/ehci-vct.c                                   | 1 +
 drivers/usb/host/ehci-vf.c                                    | 2 ++
 drivers/usb/host/ehci-zynq.c                                  | 1 +
 drivers/usb/host/ehci.h                                       | 1 +
 drivers/usb/host/ohci-hcd.c                                   | 2 ++
 drivers/usb/host/ohci-lpc32xx.c                               | 1 +
 drivers/usb/host/ohci.h                                       | 1 +
 drivers/usb/host/r8a66597-hcd.c                               | 1 +
 drivers/usb/host/r8a66597.h                                   | 1 +
 drivers/usb/host/sl811-hcd.c                                  | 2 ++
 drivers/usb/host/usb-sandbox.c                                | 1 +
 drivers/usb/host/usb-uclass.c                                 | 1 +
 drivers/usb/host/xhci-brcm.c                                  | 1 +
 drivers/usb/host/xhci-dwc3.c                                  | 1 +
 drivers/usb/host/xhci-exynos5.c                               | 1 +
 drivers/usb/host/xhci-fsl.c                                   | 2 ++
 drivers/usb/host/xhci-mem.c                                   | 2 ++
 drivers/usb/host/xhci-mtk.c                                   | 2 ++
 drivers/usb/host/xhci-mvebu.c                                 | 2 ++
 drivers/usb/host/xhci-omap.c                                  | 1 +
 drivers/usb/host/xhci-pci.c                                   | 1 +
 drivers/usb/host/xhci-rcar-r8a779x_usb3_v3.h                  | 1 +
 drivers/usb/host/xhci-rcar.c                                  | 2 ++
 drivers/usb/host/xhci-ring.c                                  | 2 ++
 drivers/usb/host/xhci.c                                       | 2 ++
 drivers/usb/musb-new/am35x.c                                  | 2 ++
 drivers/usb/musb-new/da8xx.c                                  | 2 ++
 drivers/usb/musb-new/mt85xx.c                                 | 2 ++
 drivers/usb/musb-new/musb_core.c                              | 3 +++
 drivers/usb/musb-new/musb_core.h                              | 3 +++
 drivers/usb/musb-new/musb_dma.h                               | 2 ++
 drivers/usb/musb-new/musb_dsps.c                              | 2 ++
 drivers/usb/musb-new/musb_gadget.c                            | 2 ++
 drivers/usb/musb-new/musb_gadget.h                            | 1 +
 drivers/usb/musb-new/musb_gadget_ep0.c                        | 2 ++
 drivers/usb/musb-new/musb_host.c                              | 3 +++
 drivers/usb/musb-new/musb_io.h                                | 2 ++
 drivers/usb/musb-new/musb_regs.h                              | 2 ++
 drivers/usb/musb-new/musb_uboot.c                             | 2 ++
 drivers/usb/musb-new/omap2430.c                               | 1 +
 drivers/usb/musb-new/pic32.c                                  | 2 ++
 drivers/usb/musb-new/sunxi.c                                  | 3 +++
 drivers/usb/musb-new/ti-musb.c                                | 1 +
 drivers/usb/musb-new/usb-compat.h                             | 1 +
 drivers/usb/musb/am35x.c                                      | 1 +
 drivers/usb/musb/am35x.h                                      | 1 +
 drivers/usb/musb/musb_core.c                                  | 1 +
 drivers/usb/musb/musb_core.h                                  | 1 +
 drivers/usb/musb/musb_hcd.c                                   | 2 ++
 drivers/usb/musb/musb_udc.c                                   | 1 +
 drivers/usb/musb/omap3.c                                      | 1 +
 drivers/usb/musb/omap3.h                                      | 1 +
 drivers/usb/phy/omap_usb_phy.c                                | 1 +
 drivers/usb/phy/rockchip_usb2_phy.c                           | 1 +
 drivers/usb/phy/twl4030.c                                     | 1 +
 drivers/usb/ulpi/omap-ulpi-viewport.c                         | 1 +
 drivers/usb/ulpi/ulpi-viewport.c                              | 1 +
 drivers/usb/ulpi/ulpi.c                                       | 1 +
 drivers/video/am335x-fb.c                                     | 2 ++
 drivers/video/anx9804.c                                       | 1 +
 drivers/video/anx9804.h                                       | 1 +
 drivers/video/ati_radeon_fb.c                                 | 1 +
 drivers/video/ati_radeon_fb.h                                 | 1 +
 drivers/video/atmel_hlcdfb.c                                  | 1 +
 drivers/video/atmel_lcdfb.c                                   | 1 +
 drivers/video/bcm2835.c                                       | 1 +
 drivers/video/bridge/anx6345.c                                | 1 +
 drivers/video/bridge/ps862x.c                                 | 1 +
 drivers/video/bridge/video-bridge-uclass.c                    | 1 +
 drivers/video/broadwell_igd.c                                 | 2 ++
 drivers/video/bus_vcxk.c                                      | 1 +
 drivers/video/cfb_console.c                                   | 2 ++
 drivers/video/console_normal.c                                | 1 +
 drivers/video/console_rotate.c                                | 1 +
 drivers/video/console_truetype.c                              | 1 +
 drivers/video/da8xx-fb.c                                      | 1 +
 drivers/video/display-uclass.c                                | 1 +
 drivers/video/dw_hdmi.c                                       | 2 ++
 drivers/video/dw_mipi_dsi.c                                   | 3 +++
 drivers/video/efi.c                                           | 1 +
 drivers/video/exynos/exynos_dp.c                              | 1 +
 drivers/video/exynos/exynos_dp_lowlevel.c                     | 1 +
 drivers/video/exynos/exynos_dp_lowlevel.h                     | 1 +
 drivers/video/exynos/exynos_fb.c                              | 1 +
 drivers/video/exynos/exynos_mipi_dsi_common.c                 | 1 +
 drivers/video/exynos/exynos_mipi_dsi_lowlevel.c               | 1 +
 drivers/video/formike.c                                       | 1 +
 drivers/video/fsl_dcu_fb.c                                    | 1 +
 drivers/video/fsl_diu_fb.c                                    | 1 +
 drivers/video/hitachi_tx18d42vm_lcd.c                         | 1 +
 drivers/video/ihs_video_out.c                                 | 1 +
 drivers/video/imx/ipu_common.c                                | 1 +
 drivers/video/imx/ipu_regs.h                                  | 1 +
 drivers/video/imx/mxc_ipuv3_fb.c                              | 1 +
 drivers/video/ivybridge_igd.c                                 | 1 +
 drivers/video/lg4573.c                                        | 1 +
 drivers/video/logicore_dp_tx.c                                | 1 +
 drivers/video/logicore_dp_tx.h                                | 1 +
 drivers/video/logicore_dp_tx_regif.h                          | 1 +
 drivers/video/mali_dp.c                                       | 1 +
 drivers/video/mb862xx.c                                       | 1 +
 drivers/video/meson/meson_canvas.c                            | 1 +
 drivers/video/meson/meson_dw_hdmi.c                           | 3 +++
 drivers/video/meson/meson_plane.c                             | 1 +
 drivers/video/meson/meson_registers.h                         | 1 +
 drivers/video/meson/meson_vclk.c                              | 2 ++
 drivers/video/meson/meson_venc.c                              | 1 +
 drivers/video/meson/meson_vpu.c                               | 1 +
 drivers/video/meson/meson_vpu.h                               | 2 ++
 drivers/video/meson/meson_vpu_init.c                          | 1 +
 drivers/video/mipi_dsi.c                                      | 1 +
 drivers/video/mvebu_lcd.c                                     | 1 +
 drivers/video/mx3fb.c                                         | 1 +
 drivers/video/mxsfb.c                                         | 2 ++
 drivers/video/nexell/s5pxx18_dp.c                             | 1 +
 drivers/video/nexell/s5pxx18_dp_hdmi.c                        | 1 +
 drivers/video/nexell/s5pxx18_dp_lvds.c                        | 1 +
 drivers/video/nexell/s5pxx18_dp_mipi.c                        | 2 ++
 drivers/video/nexell/soc/s5pxx18_soc_lvds.h                   | 1 +
 drivers/video/nexell/soc/s5pxx18_soc_mipi.h                   | 1 +
 drivers/video/nexell_display.c                                | 2 ++
 drivers/video/omap3_dss.c                                     | 1 +
 drivers/video/orisetech_otm8009a.c                            | 1 +
 drivers/video/pwm_backlight.c                                 | 1 +
 drivers/video/pxa_lcd.c                                       | 1 +
 drivers/video/raydium-rm68200.c                               | 1 +
 drivers/video/rockchip/rk3288_vop.c                           | 1 +
 drivers/video/rockchip/rk3399_vop.c                           | 1 +
 drivers/video/rockchip/rk_edp.c                               | 2 ++
 drivers/video/rockchip/rk_hdmi.c                              | 1 +
 drivers/video/rockchip/rk_hdmi.h                              | 1 +
 drivers/video/rockchip/rk_lvds.c                              | 2 ++
 drivers/video/rockchip/rk_mipi.c                              | 1 +
 drivers/video/rockchip/rk_mipi.h                              | 1 +
 drivers/video/rockchip/rk_vop.c                               | 1 +
 drivers/video/rockchip/rk_vop.h                               | 1 +
 drivers/video/sandbox_osd.c                                   | 1 +
 drivers/video/scf0403_lcd.c                                   | 1 +
 drivers/video/ssd2828.c                                       | 1 +
 drivers/video/stb_truetype.h                                  | 1 +
 drivers/video/stm32/stm32_dsi.c                               | 2 ++
 drivers/video/stm32/stm32_ltdc.c                              | 2 ++
 drivers/video/sunxi/lcdc.c                                    | 1 +
 drivers/video/sunxi/sunxi_de2.c                               | 1 +
 drivers/video/sunxi/sunxi_display.c                           | 2 ++
 drivers/video/sunxi/sunxi_dw_hdmi.c                           | 1 +
 drivers/video/sunxi/sunxi_lcd.c                               | 1 +
 drivers/video/tda19988.c                                      | 1 +
 drivers/video/tegra.c                                         | 1 +
 drivers/video/tegra124/display.c                              | 1 +
 drivers/video/tegra124/displayport.h                          | 1 +
 drivers/video/tegra124/dp.c                                   | 2 ++
 drivers/video/tegra124/sor.c                                  | 2 ++
 drivers/video/tegra124/sor.h                                  | 1 +
 drivers/video/vesa.c                                          | 1 +
 drivers/video/vidconsole-uclass.c                             | 1 +
 drivers/video/video-uclass.c                                  | 2 ++
 drivers/video/video_bmp.c                                     | 3 +++
 drivers/video/video_osd-uclass.c                              | 1 +
 drivers/virtio/virtio-uclass.c                                | 1 +
 drivers/virtio/virtio_blk.c                                   | 1 +
 drivers/virtio/virtio_blk.h                                   | 1 +
 drivers/virtio/virtio_mmio.c                                  | 2 ++
 drivers/virtio/virtio_mmio.h                                  | 2 ++
 drivers/virtio/virtio_net.c                                   | 2 ++
 drivers/virtio/virtio_net.h                                   | 1 +
 drivers/virtio/virtio_pci.h                                   | 1 +
 drivers/virtio/virtio_pci_legacy.c                            | 2 ++
 drivers/virtio/virtio_pci_modern.c                            | 2 ++
 drivers/virtio/virtio_ring.c                                  | 1 +
 drivers/virtio/virtio_rng.c                                   | 1 +
 drivers/virtio/virtio_sandbox.c                               | 1 +
 drivers/w1-eeprom/ds24xxx.c                                   | 1 +
 drivers/w1-eeprom/ds2502.c                                    | 1 +
 drivers/w1-eeprom/eep_sandbox.c                               | 1 +
 drivers/w1-eeprom/w1-eeprom-uclass.c                          | 1 +
 drivers/w1/mxc_w1.c                                           | 1 +
 drivers/w1/w1-gpio.c                                          | 1 +
 drivers/w1/w1-uclass.c                                        | 1 +
 drivers/watchdog/armada-37xx-wdt.c                            | 2 ++
 drivers/watchdog/ast_wdt.c                                    | 1 +
 drivers/watchdog/at91sam9_wdt.c                               | 1 +
 drivers/watchdog/bcm6345_wdt.c                                | 2 ++
 drivers/watchdog/cdns_wdt.c                                   | 2 ++
 drivers/watchdog/cortina_wdt.c                                | 2 ++
 drivers/watchdog/designware_wdt.c                             | 2 ++
 drivers/watchdog/imx_watchdog.c                               | 3 +++
 drivers/watchdog/mpc8xx_wdt.c                                 | 2 ++
 drivers/watchdog/mt7621_wdt.c                                 | 2 ++
 drivers/watchdog/mtk_wdt.c                                    | 2 ++
 drivers/watchdog/omap_wdt.c                                   | 1 +
 drivers/watchdog/orion_wdt.c                                  | 3 +++
 drivers/watchdog/sandbox_wdt.c                                | 1 +
 drivers/watchdog/sbsa_gwdt.c                                  | 2 ++
 drivers/watchdog/sp805_wdt.c                                  | 2 ++
 drivers/watchdog/stm32mp_wdt.c                                | 1 +
 drivers/watchdog/tangier_wdt.c                                | 1 +
 drivers/watchdog/ulp_wdog.c                                   | 1 +
 drivers/watchdog/wdt-uclass.c                                 | 1 +
 drivers/watchdog/xilinx_tb_wdt.c                              | 2 ++
 drivers/watchdog/xilinx_wwdt.c                                | 1 +
 env/common.c                                                  | 1 +
 env/eeprom.c                                                  | 1 +
 env/env.c                                                     | 3 +++
 env/ext4.c                                                    | 2 ++
 env/fat.c                                                     | 2 ++
 env/flags.c                                                   | 1 +
 env/flash.c                                                   | 1 +
 env/mmc.c                                                     | 2 ++
 env/nand.c                                                    | 1 +
 env/nowhere.c                                                 | 1 +
 env/nvram.c                                                   | 1 +
 env/onenand.c                                                 | 1 +
 env/remote.c                                                  | 1 +
 env/sata.c                                                    | 2 ++
 env/sf.c                                                      | 2 ++
 examples/api/glue.c                                           | 1 +
 examples/api/glue.h                                           | 1 +
 examples/standalone/atmel_df_pow2.c                           | 1 +
 examples/standalone/sched.c                                   | 1 +
 fs/btrfs/btrfs.c                                              | 1 +
 fs/btrfs/btrfs.h                                              | 1 +
 fs/btrfs/btrfs_tree.h                                         | 1 +
 fs/btrfs/ctree.h                                              | 1 +
 fs/btrfs/subvolume.c                                          | 1 +
 fs/btrfs/super.c                                              | 1 +
 fs/cbfs/cbfs.c                                                | 1 +
 fs/cramfs/cramfs.c                                            | 1 +
 fs/ext4/dev.c                                                 | 1 +
 fs/ext4/ext4_common.c                                         | 1 +
 fs/ext4/ext4_common.h                                         | 1 +
 fs/ext4/ext4_journal.c                                        | 1 +
 fs/ext4/ext4_journal.h                                        | 1 +
 fs/ext4/ext4_write.c                                          | 2 ++
 fs/ext4/ext4fs.c                                              | 1 +
 fs/fat/fat.c                                                  | 1 +
 fs/fat/fat_write.c                                            | 1 +
 fs/fs.c                                                       | 2 ++
 fs/fs_internal.c                                              | 1 +
 fs/jffs2/compr_lzo.c                                          | 1 +
 fs/jffs2/compr_rtime.c                                        | 1 +
 fs/jffs2/compr_rubin.c                                        | 1 +
 fs/jffs2/jffs2_1pass.c                                        | 1 +
 fs/jffs2/jffs2_private.h                                      | 1 +
 fs/jffs2/summary.h                                            | 1 +
 fs/reiserfs/mode_string.c                                     | 1 +
 fs/reiserfs/reiserfs.c                                        | 1 +
 fs/reiserfs/reiserfs_private.h                                | 1 +
 fs/sandbox/sandboxfs.c                                        | 1 +
 fs/ubifs/debug.c                                              | 1 +
 fs/ubifs/debug.h                                              | 1 +
 fs/ubifs/io.c                                                 | 1 +
 fs/ubifs/key.h                                                | 1 +
 fs/ubifs/lprops.c                                             | 1 +
 fs/ubifs/lpt_commit.c                                         | 1 +
 fs/ubifs/misc.h                                               | 1 +
 fs/ubifs/orphan.c                                             | 1 +
 fs/ubifs/recovery.c                                           | 1 +
 fs/ubifs/replay.c                                             | 1 +
 fs/ubifs/scan.c                                               | 1 +
 fs/ubifs/super.c                                              | 1 +
 fs/ubifs/tnc.c                                                | 1 +
 fs/ubifs/tnc_misc.c                                           | 1 +
 fs/ubifs/ubifs-media.h                                        | 2 ++
 fs/ubifs/ubifs.c                                              | 1 +
 fs/ubifs/ubifs.h                                              | 1 +
 fs/yaffs2/yaffs_uboot_glue.c                                  | 1 +
 fs/yaffs2/yaffsfs.c                                           | 1 +
 fs/yaffs2/ydirectenv.h                                        | 1 +
 fs/zfs/zfs.c                                                  | 1 +
 fs/zfs/zfs_fletcher.c                                         | 1 +
 fs/zfs/zfs_lzjb.c                                             | 1 +
 fs/zfs/zfs_sha256.c                                           | 1 +
 include/ACEX1K.h                                              | 1 +
 include/MCD_dma.h                                             | 3 +++
 include/acpi/acpi_device.h                                    | 1 +
 include/acpi/acpi_s3.h                                        | 1 +
 include/acpi/acpi_table.h                                     | 2 ++
 include/ahci.h                                                | 1 +
 include/ali512x.h                                             | 1 +
 include/altera.h                                              | 1 +
 include/android_bootloader_message.h                          | 1 +
 include/api_public.h                                          | 1 +
 include/asm-generic/global_data.h                             | 1 +
 include/asm-generic/gpio.h                                    | 1 +
 include/asm-generic/int-ll64.h                                | 1 +
 include/asm-generic/io.h                                      | 1 +
 include/ata.h                                                 | 1 +
 include/atf_common.h                                          | 1 +
 include/atmel_hlcdc.h                                         | 1 +
 include/atmel_lcd.h                                           | 3 +++
 include/atmel_mci.h                                           | 1 +
 include/atsha204a-i2c.h                                       | 1 +
 include/audio_codec.h                                         | 1 +
 include/autoboot.h                                            | 2 ++
 include/avb_verify.h                                          | 1 +
 include/axi.h                                                 | 1 +
 include/binman.h                                              | 1 +
 include/blk.h                                                 | 1 +
 include/bloblist.h                                            | 1 +
 include/board.h                                               | 1 +
 include/bootcount.h                                           | 1 +
 include/bootm.h                                               | 1 +
 include/bootstage.h                                           | 1 +
 include/broadcom/chimp.h                                      | 1 +
 include/btrfs.h                                               | 1 +
 include/bus_vcxk.h                                            | 1 +
 include/cache.h                                               | 2 ++
 include/capitalization.h                                      | 1 +
 include/cavium/atf.h                                          | 1 +
 include/cbfs.h                                                | 1 +
 include/cli.h                                                 | 1 +
 include/clk-uclass.h                                          | 1 +
 include/command.h                                             | 1 +
 include/common.h                                              | 1 -
 include/cpsw.h                                                | 1 +
 include/cpu.h                                                 | 1 +
 include/cramfs/cramfs_fs.h                                    | 1 +
 include/cros_ec.h                                             | 1 +
 include/crypto/pkcs7.h                                        | 1 +
 include/crypto/pkcs7_parser.h                                 | 1 +
 include/crypto/x509_parser.h                                  | 1 +
 include/ddr_spd.h                                             | 1 +
 include/dfu.h                                                 | 1 +
 include/display.h                                             | 1 +
 include/display_options.h                                     | 1 +
 include/dm/device-internal.h                                  | 1 +
 include/dm/device.h                                           | 1 +
 include/dm/devres.h                                           | 1 +
 include/dm/of.h                                               | 1 +
 include/dm/of_access.h                                        | 1 +
 include/dm/of_addr.h                                          | 1 +
 include/dm/of_extra.h                                         | 1 +
 include/dm/ofnode.h                                           | 1 +
 include/dm/pci.h                                              | 1 +
 include/dm/pinctrl.h                                          | 1 +
 include/dm/platdata.h                                         | 1 +
 include/dm/platform_data/fsl_espi.h                           | 1 +
 include/dm/platform_data/net_ethoc.h                          | 1 +
 include/dm/platform_data/spi_coldfire.h                       | 1 +
 include/dm/platform_data/spi_davinci.h                        | 1 +
 include/dm/read.h                                             | 1 +
 include/dm/root.h                                             | 1 +
 include/dm/test.h                                             | 1 +
 include/dm/uclass.h                                           | 1 +
 include/dm9000.h                                              | 1 +
 include/dma-uclass.h                                          | 1 +
 include/dw_hdmi.h                                             | 1 +
 include/dwc3-uboot.h                                          | 1 +
 include/dwmmc.h                                               | 1 +
 include/ec_commands.h                                         | 2 ++
 include/edid.h                                                | 1 +
 include/eeprom.h                                              | 4 +++-
 include/eeprom_layout.h                                       | 1 +
 include/efi_api.h                                             | 2 ++
 include/efi_loader.h                                          | 2 ++
 include/efi_selftest.h                                        | 1 +
 include/efi_variable.h                                        | 1 +
 include/env_default.h                                         | 1 +
 include/env_internal.h                                        | 1 +
 include/ethsw.h                                               | 1 +
 include/exports.h                                             | 1 +
 include/ext4fs.h                                              | 1 +
 include/ext_common.h                                          | 1 +
 include/exynos_lcd.h                                          | 1 +
 include/fastboot-internal.h                                   | 1 +
 include/fastboot.h                                            | 1 +
 include/fat.h                                                 | 1 +
 include/fb_mmc.h                                              | 1 +
 include/fb_nand.h                                             | 1 +
 include/fdt_support.h                                         | 1 +
 include/fdtdec.h                                              | 1 +
 include/fis.h                                                 | 1 +
 include/flash.h                                               | 1 +
 include/fs.h                                                  | 1 +
 include/fs_loader.h                                           | 1 +
 include/fsl-mc/fsl_dpaa_fd.h                                  | 1 +
 include/fsl-mc/fsl_dpbp.h                                     | 1 +
 include/fsl-mc/fsl_dpio.h                                     | 1 +
 include/fsl-mc/fsl_dpmac.h                                    | 1 +
 include/fsl-mc/fsl_dpmng.h                                    | 1 +
 include/fsl-mc/fsl_dpni.h                                     | 1 +
 include/fsl-mc/fsl_dprc.h                                     | 1 +
 include/fsl-mc/fsl_dpsparser.h                                | 1 +
 include/fsl-mc/fsl_mc.h                                       | 2 ++
 include/fsl-mc/fsl_mc_cmd.h                                   | 2 ++
 include/fsl-mc/fsl_mc_sys.h                                   | 1 +
 include/fsl-mc/fsl_qbman_base.h                               | 1 +
 include/fsl-mc/fsl_qbman_portal.h                             | 1 +
 include/fsl-mc/ldpaa_wriop.h                                  | 1 +
 include/fsl_csu.h                                             | 1 +
 include/fsl_ddr.h                                             | 1 +
 include/fsl_ddr_sdram.h                                       | 1 +
 include/fsl_devdis.h                                          | 1 +
 include/fsl_diu_fb.h                                          | 1 +
 include/fsl_dspi.h                                            | 1 +
 include/fsl_errata.h                                          | 1 +
 include/fsl_esdhc.h                                           | 1 +
 include/fsl_esdhc_imx.h                                       | 1 +
 include/fsl_ifc.h                                             | 1 +
 include/fsl_immap.h                                           | 1 +
 include/fsl_lpuart.h                                          | 1 +
 include/fsl_mdio.h                                            | 2 ++
 include/fsl_memac.h                                           | 1 +
 include/fsl_mmdc.h                                            | 1 +
 include/fsl_qbman.h                                           | 2 ++
 include/fsl_sec.h                                             | 1 +
 include/fsl_sec_mon.h                                         | 1 +
 include/fsl_sfp.h                                             | 1 +
 include/fsl_tgec.h                                            | 1 +
 include/fsl_usb.h                                             | 1 +
 include/fsl_wdog.h                                            | 1 +
 include/fuse.h                                                | 1 +
 include/gdsys_fpga.h                                          | 1 +
 include/gzip.h                                                | 1 +
 include/hash.h                                                | 1 +
 include/hda_codec.h                                           | 1 +
 include/hw_sha.h                                              | 1 +
 include/i2c.h                                                 | 1 +
 include/i2c_eeprom.h                                          | 1 +
 include/i2s.h                                                 | 1 +
 include/ide.h                                                 | 1 +
 include/imx8image.h                                           | 2 ++
 include/imx_lpi2c.h                                           | 1 +
 include/imximage.h                                            | 1 +
 include/input.h                                               | 1 +
 include/ioports.h                                             | 1 +
 include/ipu_pixfmt.h                                          | 1 +
 include/irq.h                                                 | 1 +
 include/jffs2/jffs2_1pass.h                                   | 1 +
 include/jffs2/load_kernel.h                                   | 1 +
 include/k3-avs.h                                              | 2 ++
 include/kendryte/bypass.h                                     | 1 +
 include/kendryte/clk.h                                        | 1 +
 include/kendryte/pll.h                                        | 2 ++
 include/key_matrix.h                                          | 1 +
 include/keys/asymmetric-type.h                                | 1 +
 include/lattice.h                                             | 1 +
 include/lcd.h                                                 | 1 +
 include/lcd_console.h                                         | 1 +
 include/lcdvideo.h                                            | 1 +
 include/libata.h                                              | 1 +
 include/linux/mtd/omap_gpmc.h                                 | 2 ++
 include/linux/soc/ti/cppi5.h                                  | 3 +++
 include/linux/soc/ti/k3-navss-ringacc.h                       | 1 +
 include/linux/soc/ti/k3-sec-proxy.h                           | 1 +
 include/linux/soc/ti/ti-udma.h                                | 1 +
 include/linux/soc/ti/ti_sci_protocol.h                        | 2 ++
 include/lmb.h                                                 | 1 +
 include/lynxkdi.h                                             | 1 +
 include/lz4.h                                                 | 1 +
 include/mailbox.h                                             | 1 +
 include/malloc.h                                              | 1 +
 include/mapmem.h                                              | 1 +
 include/mc9sdz60.h                                            | 1 +
 include/memalign.h                                            | 1 +
 include/miiphy.h                                              | 1 +
 include/mipi_dsi.h                                            | 1 +
 include/mm_communication.h                                    | 1 +
 include/mmc.h                                                 | 1 +
 include/mpc86xx.h                                             | 1 +
 include/mtd/cfi_flash.h                                       | 1 +
 include/mtd/ubi-user.h                                        | 1 +
 include/mv88e6352.h                                           | 1 +
 include/mvebu/comphy.h                                        | 1 +
 include/mvebu_mmc.h                                           | 1 +
 include/mvmfp.h                                               | 1 +
 include/mxs_nand.h                                            | 1 +
 include/nand.h                                                | 1 +
 include/net/ncsi-pkt.h                                        | 1 +
 include/net/pcap.h                                            | 1 +
 include/net/pfe_eth/pfe/cbus/bmu.h                            | 1 +
 include/net/pfe_eth/pfe/cbus/class_csr.h                      | 1 +
 include/net/pfe_eth/pfe/cbus/gpi.h                            | 1 +
 include/net/pfe_eth/pfe/cbus/tmu_csr.h                        | 1 +
 include/net/pfe_eth/pfe/pfe_hw.h                              | 1 +
 include/net/pfe_eth/pfe_driver.h                              | 2 ++
 include/net/tftp.h                                            | 1 +
 include/netdev.h                                              | 1 +
 include/nvme.h                                                | 1 +
 include/opensbi.h                                             | 1 +
 include/p2sb.h                                                | 1 +
 include/palmas.h                                              | 1 +
 include/part.h                                                | 1 +
 include/part_efi.h                                            | 2 ++
 include/pca953x.h                                             | 1 +
 include/pca9698.h                                             | 1 +
 include/pch.h                                                 | 1 +
 include/pci.h                                                 | 1 +
 include/pci_ep.h                                              | 1 +
 include/pci_rom.h                                             | 1 +
 include/pe.h                                                  | 1 +
 include/phy.h                                                 | 1 +
 include/physmem.h                                             | 1 +
 include/post.h                                                | 1 +
 include/power/acpi_pmc.h                                      | 1 +
 include/power/as3722.h                                        | 1 +
 include/power/battery.h                                       | 1 +
 include/power/fg_battery_cell_params.h                        | 1 +
 include/power/hi6553_pmic.h                                   | 1 +
 include/power/max77686_pmic.h                                 | 1 +
 include/power/mc34vr500_pmic.h                                | 1 +
 include/power/pmic.h                                          | 1 +
 include/power/regulator.h                                     | 1 +
 include/power/rk8xx_pmic.h                                    | 1 +
 include/power/s5m8767.h                                       | 1 +
 include/power/tps65217.h                                      | 1 +
 include/power/tps65218.h                                      | 1 +
 include/power/tps65910_pmic.h                                 | 1 +
 include/pwm.h                                                 | 1 +
 include/pxa_lcd.h                                             | 1 +
 include/qfw.h                                                 | 2 ++
 include/ram.h                                                 | 1 +
 include/regmap.h                                              | 1 +
 include/remoteproc.h                                          | 1 +
 include/rng.h                                                 | 2 ++
 include/rtc.h                                                 | 1 +
 include/s_record.h                                            | 1 +
 include/samsung/misc.h                                        | 1 +
 include/sandbox-clk.h                                         | 2 ++
 include/sandboxfs.h                                           | 1 +
 include/sandboxtee.h                                          | 1 +
 include/sata.h                                                | 1 +
 include/sdhci.h                                               | 1 +
 include/search.h                                              | 1 +
 include/serial.h                                              | 1 +
 include/sja1000.h                                             | 1 +
 include/smbios.h                                              | 2 ++
 include/smem.h                                                | 1 +
 include/smsc_lpc47m.h                                         | 1 +
 include/sort.h                                                | 1 +
 include/sound.h                                               | 1 +
 include/spi-mem.h                                             | 1 +
 include/spi.h                                                 | 1 +
 include/spl.h                                                 | 1 +
 include/spl_gpio.h                                            | 1 +
 include/splash.h                                              | 1 +
 include/spmi/spmi.h                                           | 1 +
 include/stm32_rcc.h                                           | 1 +
 include/stratixII.h                                           | 1 +
 include/syscon.h                                              | 1 +
 include/sysreset.h                                            | 1 +
 include/tables_csum.h                                         | 1 +
 include/tca642x.h                                             | 1 +
 include/tee.h                                                 | 1 +
 include/tee/optee.h                                           | 1 +
 include/tegra-kbc.h                                           | 1 +
 include/test/ut.h                                             | 1 +
 include/timer.h                                               | 1 +
 include/tlv_eeprom.h                                          | 1 +
 include/tpm-common.h                                          | 1 +
 include/tpm-v1.h                                              | 2 ++
 include/tpm-v2.h                                              | 1 +
 include/trace.h                                               | 1 +
 include/tsec.h                                                | 2 ++
 include/twl4030.h                                             | 1 +
 include/twl6030.h                                             | 1 +
 include/u-boot/aes.h                                          | 1 +
 include/u-boot/crc.h                                          | 1 +
 include/u-boot/rsa-checksum.h                                 | 1 +
 include/u-boot/rsa-mod-exp.h                                  | 1 +
 include/u-boot/rsa.h                                          | 1 +
 include/u-boot/sha1.h                                         | 1 +
 include/u-boot/sha256.h                                       | 1 +
 include/u-boot/sha512.h                                       | 1 +
 include/u-boot/zlib.h                                         | 1 +
 include/ubifs_uboot.h                                         | 1 +
 include/ubispl.h                                              | 1 +
 include/uboot_aes.h                                           | 1 +
 include/usb.h                                                 | 1 +
 include/usb/designware_udc.h                                  | 1 +
 include/usb/dwc2_udc.h                                        | 1 +
 include/usb/ehci-ci.h                                         | 1 +
 include/usb/fotg210.h                                         | 1 +
 include/usb/fusbh200.h                                        | 1 +
 include/usb/ulpi.h                                            | 1 +
 include/usb/xhci.h                                            | 1 +
 include/usb_ether.h                                           | 1 +
 include/usb_mass_storage.h                                    | 1 +
 include/usbdevice.h                                           | 1 +
 include/uuid.h                                                | 1 +
 include/vbe.h                                                 | 2 ++
 include/video.h                                               | 1 +
 include/video_bridge.h                                        | 1 +
 include/video_console.h                                       | 1 +
 include/video_osd.h                                           | 1 +
 include/virtio.h                                              | 1 +
 include/virtio_ring.h                                         | 1 +
 include/vxworks.h                                             | 1 +
 include/w1-eeprom.h                                           | 1 +
 include/w1.h                                                  | 1 +
 include/wait_bit.h                                            | 1 +
 include/wdt.h                                                 | 1 +
 include/winbond_w83627.h                                      | 1 +
 include/xilinx.h                                              | 1 +
 include/zfs/dmu_objset.h                                      | 1 +
 include/zfs/dnode.h                                           | 1 +
 include/zfs/dsl_dataset.h                                     | 1 +
 include/zfs/dsl_dir.h                                         | 1 +
 include/zfs/sa_impl.h                                         | 1 +
 include/zfs/spa.h                                             | 1 +
 include/zfs/uberblock_impl.h                                  | 1 +
 include/zfs/vdev_impl.h                                       | 1 +
 include/zfs/zap_impl.h                                        | 1 +
 include/zfs/zap_leaf.h                                        | 1 +
 include/zfs/zfs.h                                             | 1 +
 include/zfs/zfs_acl.h                                         | 1 +
 include/zfs/zfs_znode.h                                       | 1 +
 include/zfs/zil.h                                             | 1 +
 include/zfs/zio.h                                             | 1 +
 include/zfs/zio_checksum.h                                    | 1 +
 include/zfs_common.h                                          | 1 +
 include/zynq_bootimg.h                                        | 1 +
 include/zynqmp_firmware.h                                     | 1 +
 include/zynqmp_tap_delay.h                                    | 1 +
 include/zynqpl.h                                              | 1 +
 lib/acpi/acpi_device.c                                        | 2 ++
 lib/acpi/acpi_dp.c                                            | 1 +
 lib/acpi/acpi_table.c                                         | 1 +
 lib/acpi/acpigen.c                                            | 1 +
 lib/addr_map.c                                                | 1 +
 lib/aes.c                                                     | 1 +
 lib/aes/aes-decrypt.c                                         | 1 +
 lib/asn1_decoder.c                                            | 1 +
 lib/at91/at91.c                                               | 1 +
 lib/bch.c                                                     | 1 +
 lib/charset.c                                                 | 1 +
 lib/crc16.c                                                   | 1 +
 lib/crc32.c                                                   | 1 +
 lib/crc32c.c                                                  | 1 +
 lib/crypto/asymmetric_type.c                                  | 2 ++
 lib/crypto/pkcs7_parser.c                                     | 2 ++
 lib/crypto/pkcs7_verify.c                                     | 1 +
 lib/crypto/public_key.c                                       | 1 +
 lib/crypto/rsa_helper.c                                       | 1 +
 lib/crypto/x509_cert_parser.c                                 | 1 +
 lib/crypto/x509_public_key.c                                  | 2 ++
 lib/dhry/cmd_dhry.c                                           | 1 +
 lib/display_options.c                                         | 2 ++
 lib/div64.c                                                   | 1 +
 lib/efi/efi_info.c                                            | 1 +
 lib/efi/efi_stub.c                                            | 2 ++
 lib/efi_driver/efi_block_device.c                             | 1 +
 lib/efi_driver/efi_uclass.c                                   | 1 +
 lib/efi_loader/efi_acpi.c                                     | 1 +
 lib/efi_loader/efi_bootmgr.c                                  | 1 +
 lib/efi_loader/efi_boottime.c                                 | 2 ++
 lib/efi_loader/efi_console.c                                  | 1 +
 lib/efi_loader/efi_device_path.c                              | 2 ++
 lib/efi_loader/efi_device_path_to_text.c                      | 1 +
 lib/efi_loader/efi_device_path_utilities.c                    | 1 +
 lib/efi_loader/efi_disk.c                                     | 2 ++
 lib/efi_loader/efi_file.c                                     | 1 +
 lib/efi_loader/efi_freestanding.c                             | 1 +
 lib/efi_loader/efi_gop.c                                      | 1 +
 lib/efi_loader/efi_hii.c                                      | 1 +
 lib/efi_loader/efi_hii_config.c                               | 1 +
 lib/efi_loader/efi_image_loader.c                             | 3 +++
 lib/efi_loader/efi_load_initrd.c                              | 1 +
 lib/efi_loader/efi_memory.c                                   | 3 +++
 lib/efi_loader/efi_net.c                                      | 2 ++
 lib/efi_loader/efi_rng.c                                      | 2 ++
 lib/efi_loader/efi_root_node.c                                | 1 +
 lib/efi_loader/efi_runtime.c                                  | 3 +++
 lib/efi_loader/efi_setup.c                                    | 1 +
 lib/efi_loader/efi_signature.c                                | 1 +
 lib/efi_loader/efi_smbios.c                                   | 1 +
 lib/efi_loader/efi_unicode_collation.c                        | 1 +
 lib/efi_loader/efi_var_common.c                               | 2 ++
 lib/efi_loader/efi_var_file.c                                 | 1 +
 lib/efi_loader/efi_var_mem.c                                  | 2 ++
 lib/efi_loader/efi_variable.c                                 | 1 +
 lib/efi_loader/efi_variable_tee.c                             | 1 +
 lib/efi_loader/helloworld.c                                   | 1 +
 lib/efi_selftest/efi_selftest.c                               | 1 +
 lib/efi_selftest/efi_selftest_bitblt.c                        | 1 +
 lib/efi_selftest/efi_selftest_block_device.c                  | 1 +
 lib/efi_selftest/efi_selftest_config_table.c                  | 1 +
 lib/efi_selftest/efi_selftest_console.c                       | 1 +
 lib/efi_selftest/efi_selftest_controllers.c                   | 1 +
 lib/efi_selftest/efi_selftest_crc32.c                         | 1 +
 lib/efi_selftest/efi_selftest_devicepath.c                    | 2 ++
 lib/efi_selftest/efi_selftest_event_groups.c                  | 1 +
 lib/efi_selftest/efi_selftest_exception.c                     | 1 +
 lib/efi_selftest/efi_selftest_fdt.c                           | 1 +
 lib/efi_selftest/efi_selftest_gop.c                           | 1 +
 lib/efi_selftest/efi_selftest_hii.c                           | 1 +
 lib/efi_selftest/efi_selftest_hii_data.c                      | 1 +
 lib/efi_selftest/efi_selftest_load_initrd.c                   | 1 +
 lib/efi_selftest/efi_selftest_loadimage.c                     | 2 ++
 lib/efi_selftest/efi_selftest_manageprotocols.c               | 1 +
 lib/efi_selftest/efi_selftest_mem.c                           | 1 +
 lib/efi_selftest/efi_selftest_memory.c                        | 1 +
 lib/efi_selftest/efi_selftest_miniapp_exit.c                  | 1 +
 lib/efi_selftest/efi_selftest_rng.c                           | 1 +
 lib/efi_selftest/efi_selftest_set_virtual_address_map.c       | 1 +
 lib/efi_selftest/efi_selftest_snp.c                           | 2 ++
 lib/efi_selftest/efi_selftest_startimage_exit.c               | 1 +
 lib/efi_selftest/efi_selftest_startimage_return.c             | 1 +
 lib/efi_selftest/efi_selftest_textinputex.c                   | 1 +
 lib/efi_selftest/efi_selftest_textoutput.c                    | 1 +
 lib/efi_selftest/efi_selftest_unaligned.c                     | 1 +
 lib/efi_selftest/efi_selftest_unicode_collation.c             | 1 +
 lib/efi_selftest/efi_selftest_util.c                          | 1 +
 lib/efi_selftest/efi_selftest_variables.c                     | 1 +
 lib/efi_selftest/efi_selftest_variables_runtime.c             | 1 +
 lib/efi_selftest/efi_selftest_watchdog.c                      | 1 +
 lib/elf.c                                                     | 1 +
 lib/fdtdec.c                                                  | 3 +++
 lib/fdtdec_test.c                                             | 1 +
 lib/gunzip.c                                                  | 2 ++
 lib/hashtable.c                                               | 1 +
 lib/hexdump.c                                                 | 2 ++
 lib/image-sparse.c                                            | 1 +
 lib/libavb/avb_sysdeps.h                                      | 1 +
 lib/libavb/avb_sysdeps_posix.c                                | 1 +
 lib/linux_compat.c                                            | 1 +
 lib/linux_string.c                                            | 1 +
 lib/lmb.c                                                     | 2 ++
 lib/lz4.c                                                     | 1 +
 lib/lzma/LzmaDec.c                                            | 1 +
 lib/lzma/LzmaTools.c                                          | 1 +
 lib/lzma/Types.h                                              | 1 +
 lib/lzo/lzo1x_decompress.c                                    | 1 +
 lib/lzo/lzodefs.h                                             | 1 +
 lib/membuff.c                                                 | 2 ++
 lib/net_utils.c                                               | 1 +
 lib/of_live.c                                                 | 2 ++
 lib/oid_registry.c                                            | 1 +
 lib/optee/optee.c                                             | 1 +
 lib/physmem.c                                                 | 2 ++
 lib/rsa/rsa-checksum.c                                        | 1 +
 lib/rsa/rsa-keyprop.c                                         | 1 +
 lib/rsa/rsa-mod-exp.c                                         | 1 +
 lib/rsa/rsa-verify.c                                          | 1 +
 lib/sha1.c                                                    | 1 +
 lib/sha256.c                                                  | 1 +
 lib/sha512.c                                                  | 1 +
 lib/smbios.c                                                  | 1 +
 lib/strto.c                                                   | 1 +
 lib/tables_csum.c                                             | 1 +
 lib/time.c                                                    | 1 +
 lib/tiny-printf.c                                             | 1 +
 lib/tizen/tizen.c                                             | 1 +
 lib/tpm-common.c                                              | 1 +
 lib/tpm-utils.h                                               | 1 +
 lib/tpm-v1.c                                                  | 1 +
 lib/tpm-v2.c                                                  | 1 +
 lib/trace.c                                                   | 1 +
 lib/uuid.c                                                    | 1 +
 lib/vsprintf.c                                                | 1 +
 lib/xxhash.c                                                  | 1 +
 lib/zstd/zstd_opt.h                                           | 1 +
 net/arp.c                                                     | 1 +
 net/arp.h                                                     | 1 +
 net/bootp.c                                                   | 2 ++
 net/bootp.h                                                   | 1 +
 net/cdp.c                                                     | 1 +
 net/cdp.h                                                     | 1 +
 net/dns.c                                                     | 1 +
 net/dns.h                                                     | 1 +
 net/eth-uclass.c                                              | 1 +
 net/eth_common.c                                              | 1 +
 net/eth_internal.h                                            | 1 +
 net/eth_legacy.c                                              | 1 +
 net/fastboot.c                                                | 3 +++
 net/mdio-mux-uclass.c                                         | 1 +
 net/mdio-uclass.c                                             | 1 +
 net/net.c                                                     | 1 +
 net/nfs.c                                                     | 1 +
 net/nfs.h                                                     | 1 +
 net/pcap.c                                                    | 1 +
 net/rarp.c                                                    | 1 +
 net/sntp.c                                                    | 1 +
 net/sntp.h                                                    | 1 +
 net/tftp.c                                                    | 2 ++
 net/wol.c                                                     | 1 +
 net/wol.h                                                     | 1 +
 post/cpu/mpc83xx/ecc.c                                        | 1 +
 post/drivers/flash.c                                          | 1 +
 post/drivers/memory.c                                         | 1 +
 post/drivers/rtc.c                                            | 1 +
 post/lib_powerpc/andi.c                                       | 1 +
 post/lib_powerpc/b.c                                          | 1 +
 post/lib_powerpc/cmp.c                                        | 1 +
 post/lib_powerpc/cmpi.c                                       | 1 +
 post/lib_powerpc/cpu.c                                        | 1 +
 post/lib_powerpc/cr.c                                         | 1 +
 post/lib_powerpc/load.c                                       | 1 +
 post/lib_powerpc/multi.c                                      | 1 +
 post/lib_powerpc/rlwimi.c                                     | 1 +
 post/lib_powerpc/rlwinm.c                                     | 1 +
 post/lib_powerpc/rlwnm.c                                      | 1 +
 post/lib_powerpc/srawi.c                                      | 1 +
 post/lib_powerpc/store.c                                      | 1 +
 post/lib_powerpc/string.c                                     | 1 +
 post/lib_powerpc/three.c                                      | 1 +
 post/lib_powerpc/threei.c                                     | 1 +
 post/lib_powerpc/threex.c                                     | 1 +
 post/lib_powerpc/two.c                                        | 1 +
 post/lib_powerpc/twox.c                                       | 1 +
 post/post.c                                                   | 2 ++
 test/bloblist.c                                               | 1 +
 test/cmd/mem_search.c                                         | 1 +
 test/compression.c                                            | 1 +
 test/dm/acpi.c                                                | 2 ++
 test/dm/acpi.h                                                | 1 +
 test/dm/acpi_dp.c                                             | 1 +
 test/dm/acpigen.c                                             | 1 +
 test/dm/audio.c                                               | 1 +
 test/dm/axi.c                                                 | 1 +
 test/dm/bootcount.c                                           | 1 +
 test/dm/clk.c                                                 | 1 +
 test/dm/core.c                                                | 1 +
 test/dm/devres.c                                              | 1 +
 test/dm/dma.c                                                 | 1 +
 test/dm/dsi_host.c                                            | 1 +
 test/dm/fdtdec.c                                              | 1 +
 test/dm/gpio.c                                                | 1 +
 test/dm/i2c.c                                                 | 1 +
 test/dm/i2s.c                                                 | 1 +
 test/dm/k210_pll.c                                            | 1 +
 test/dm/mailbox.c                                             | 1 +
 test/dm/mdio.c                                                | 1 +
 test/dm/mdio_mux.c                                            | 1 +
 test/dm/misc.c                                                | 1 +
 test/dm/ofnode.c                                              | 1 +
 test/dm/osd.c                                                 | 1 +
 test/dm/panel.c                                               | 1 +
 test/dm/pch.c                                                 | 1 +
 test/dm/pci.c                                                 | 1 +
 test/dm/pmic.c                                                | 1 +
 test/dm/power-domain.c                                        | 1 +
 test/dm/regmap.c                                              | 1 +
 test/dm/regulator.c                                           | 1 +
 test/dm/remoteproc.c                                          | 1 +
 test/dm/reset.c                                               | 1 +
 test/dm/rtc.c                                                 | 1 +
 test/dm/serial.c                                              | 1 +
 test/dm/sf.c                                                  | 1 +
 test/dm/smem.c                                                | 1 +
 test/dm/syscon-reset.c                                        | 1 +
 test/dm/tee.c                                                 | 1 +
 test/dm/test-fdt.c                                            | 1 +
 test/dm/video.c                                               | 1 +
 test/dm/virtio.c                                              | 1 +
 test/dm/wdt.c                                                 | 1 +
 test/env/hashtable.c                                          | 1 +
 test/lib/hexdump.c                                            | 1 +
 test/lib/lmb.c                                                | 1 +
 test/lib/string.c                                             | 1 +
 test/lib/test_aes.c                                           | 1 +
 test/optee/cmd_ut_optee.c                                     | 1 +
 test/overlay/cmd_ut_overlay.c                                 | 1 +
 test/print_ut.c                                               | 1 +
 test/stdint/int-types.c                                       | 1 +
 test/str_ut.c                                                 | 2 ++
 test/time_ut.c                                                | 1 +
 test/unicode_ut.c                                             | 1 +
 test/ut.c                                                     | 1 +
 4662 files changed, 5730 insertions(+), 5 deletions(-)
diff mbox series

Patch

diff --git a/api/api_display.c b/api/api_display.c
index 4f2cdd7330e..499a75d9e04 100644
--- a/api/api_display.c
+++ b/api/api_display.c
@@ -8,6 +8,7 @@ 
 #include <lcd.h>
 #include <log.h>
 #include <video_font.h> /* Get font width and height */
+#include <linux/types.h>
 
 /* lcd.h needs BMP_LOGO_HEIGHT to calculate CONSOLE_ROWS */
 #if defined(CONFIG_LCD_LOGO) && !defined(CONFIG_LCD_INFO_BELOW_LOGO)
diff --git a/api/api_private.h b/api/api_private.h
index 07fd50ad3a3..11499e45d33 100644
--- a/api/api_private.h
+++ b/api/api_private.h
@@ -8,6 +8,7 @@ 
 #ifndef _API_PRIVATE_H_
 #define _API_PRIVATE_H_
 
+#include <linux/types.h>
 void	api_init(void);
 void	platform_set_mr(struct sys_info *, unsigned long, unsigned long, int);
 int	platform_sys_info(struct sys_info *);
diff --git a/api/api_storage.c b/api/api_storage.c
index d4474d7d55c..49a1637d4d3 100644
--- a/api/api_storage.c
+++ b/api/api_storage.c
@@ -10,6 +10,7 @@ 
 #include <api_public.h>
 #include <part.h>
 #include <stdio.h>
+#include <linux/types.h>
 
 #if defined(CONFIG_CMD_USB) && defined(CONFIG_USB_STORAGE)
 #include <usb.h>
diff --git a/arch/arc/include/asm/sections.h b/arch/arc/include/asm/sections.h
index 1c9c9db1386..62cbe9b7904 100644
--- a/arch/arc/include/asm/sections.h
+++ b/arch/arc/include/asm/sections.h
@@ -7,6 +7,7 @@ 
 #define __ASM_ARC_SECTIONS_H
 
 #include <asm-generic/sections.h>
+#include <linux/types.h>
 
 extern ulong __ivt_start;
 extern ulong __ivt_end;
diff --git a/arch/arc/include/asm/u-boot-arc.h b/arch/arc/include/asm/u-boot-arc.h
index dd2c0949c68..17e55876996 100644
--- a/arch/arc/include/asm/u-boot-arc.h
+++ b/arch/arc/include/asm/u-boot-arc.h
@@ -6,6 +6,7 @@ 
 #ifndef __ASM_ARC_U_BOOT_ARC_H__
 #define __ASM_ARC_U_BOOT_ARC_H__
 
+#include <linux/types.h>
 int arch_early_init_r(void);
 
 void	board_init_f_r_trampoline(ulong) __attribute__ ((noreturn));
diff --git a/arch/arc/lib/bootm.c b/arch/arc/lib/bootm.c
index cf2f269882f..4289b6e134f 100644
--- a/arch/arc/lib/bootm.c
+++ b/arch/arc/lib/bootm.c
@@ -5,6 +5,7 @@ 
 
 #include <common.h>
 #include <bootstage.h>
+#include <compiler.h>
 #include <env.h>
 #include <image.h>
 #include <irq_func.h>
@@ -14,6 +15,7 @@ 
 #include <asm/cache.h>
 #include <asm/global_data.h>
 #include <asm/u-boot.h>
+#include <linux/types.h>
 
 DECLARE_GLOBAL_DATA_PTR;
 
diff --git a/arch/arc/lib/cache.c b/arch/arc/lib/cache.c
index 1bdffd052e4..fa58e5216ab 100644
--- a/arch/arc/lib/cache.c
+++ b/arch/arc/lib/cache.c
@@ -6,6 +6,7 @@ 
 #include <config.h>
 #include <common.h>
 #include <cpu_func.h>
+#include <stdbool.h>
 #include <vsprintf.h>
 #include <asm/global_data.h>
 #include <linux/bitops.h>
diff --git a/arch/arc/lib/cpu.c b/arch/arc/lib/cpu.c
index b8d9ab5ab6d..b2ebe0ff455 100644
--- a/arch/arc/lib/cpu.c
+++ b/arch/arc/lib/cpu.c
@@ -4,6 +4,7 @@ 
  */
 
 #include <common.h>
+#include <compiler.h>
 #include <init.h>
 #include <malloc.h>
 #include <stdbool.h>
diff --git a/arch/arc/lib/relocate.c b/arch/arc/lib/relocate.c
index a1663c1eb39..f55ff930a87 100644
--- a/arch/arc/lib/relocate.c
+++ b/arch/arc/lib/relocate.c
@@ -9,6 +9,7 @@ 
 #include <asm-generic/sections.h>
 #include <asm/global_data.h>
 #include <linux/string.h>
+#include <linux/types.h>
 
 extern ulong __image_copy_start;
 extern ulong __ivt_start;
diff --git a/arch/arc/lib/reset.c b/arch/arc/lib/reset.c
index 4869fa936bf..13fa8849ac8 100644
--- a/arch/arc/lib/reset.c
+++ b/arch/arc/lib/reset.c
@@ -5,8 +5,10 @@ 
 
 #include <command.h>
 #include <common.h>
+#include <compiler.h>
 #include <cpu_func.h>
 #include <stdio.h>
+#include <linux/types.h>
 
 __weak void reset_cpu(ulong addr)
 {
diff --git a/arch/arm/cpu/arm1136/mx31/generic.c b/arch/arm/cpu/arm1136/mx31/generic.c
index c6814a82d76..095f2dad226 100644
--- a/arch/arm/cpu/arm1136/mx31/generic.c
+++ b/arch/arm/cpu/arm1136/mx31/generic.c
@@ -12,6 +12,7 @@ 
 #include <asm/arch/clock.h>
 #include <asm/io.h>
 #include <asm/arch/sys_proto.h>
+#include <asm/types.h>
 #include <linux/kernel.h>
 
 static u32 mx31_decode_pll(u32 reg, u32 infreq)
diff --git a/arch/arm/cpu/arm1136/mx35/generic.c b/arch/arm/cpu/arm1136/mx35/generic.c
index a001dee838d..160787d8af3 100644
--- a/arch/arm/cpu/arm1136/mx35/generic.c
+++ b/arch/arm/cpu/arm1136/mx35/generic.c
@@ -15,6 +15,7 @@ 
 #include <stdio.h>
 #include <asm/global_data.h>
 #include <asm/io.h>
+#include <asm/types.h>
 #include <asm/u-boot.h>
 #include <linux/errno.h>
 #include <asm/arch/imx-regs.h>
diff --git a/arch/arm/cpu/arm720t/interrupts.c b/arch/arm/cpu/arm720t/interrupts.c
index f0fc58deadb..ed5313ce469 100644
--- a/arch/arm/cpu/arm720t/interrupts.c
+++ b/arch/arm/cpu/arm720t/interrupts.c
@@ -10,6 +10,7 @@ 
  */
 
 #include <common.h>
+#include <linux/types.h>
 
 #if defined(CONFIG_ARCH_TEGRA)
 static ulong timestamp;
diff --git a/arch/arm/cpu/arm920t/ep93xx/cpu.c b/arch/arm/cpu/arm920t/ep93xx/cpu.c
index c9ea4e46a87..a53d4c6d1f3 100644
--- a/arch/arm/cpu/arm920t/ep93xx/cpu.c
+++ b/arch/arm/cpu/arm920t/ep93xx/cpu.c
@@ -12,6 +12,7 @@ 
 #include <cpu_func.h>
 #include <asm/arch/ep93xx.h>
 #include <asm/io.h>
+#include <linux/types.h>
 
 /* We reset the CPU by generating a 1-->0 transition on DeviceCfg bit 31. */
 extern void reset_cpu(ulong addr)
diff --git a/arch/arm/cpu/arm920t/ep93xx/led.c b/arch/arm/cpu/arm920t/ep93xx/led.c
index 862663acbab..6eadb157e6e 100644
--- a/arch/arm/cpu/arm920t/ep93xx/led.c
+++ b/arch/arm/cpu/arm920t/ep93xx/led.c
@@ -7,6 +7,7 @@ 
 #include <asm/arch/ep93xx.h>
 #include <config.h>
 #include <status_led.h>
+#include <linux/types.h>
 
 static uint8_t saved_state[2] = {CONFIG_LED_STATUS_OFF, CONFIG_LED_STATUS_OFF};
 static uint32_t gpio_pin[2] = {1 << CONFIG_LED_STATUS_GREEN,
diff --git a/arch/arm/cpu/arm920t/ep93xx/speed.c b/arch/arm/cpu/arm920t/ep93xx/speed.c
index 51e9dda0550..69832d7138a 100644
--- a/arch/arm/cpu/arm920t/ep93xx/speed.c
+++ b/arch/arm/cpu/arm920t/ep93xx/speed.c
@@ -9,6 +9,7 @@ 
 #include <asm/arch/ep93xx.h>
 #include <asm/io.h>
 #include <div64.h>
+#include <linux/types.h>
 
 /*
  * CONFIG_SYS_CLK_FREQ should be defined as the input frequency of the PLL.
diff --git a/arch/arm/cpu/arm926ejs/armada100/cpu.c b/arch/arm/cpu/arm926ejs/armada100/cpu.c
index 5c178ae6170..6ef6a6919e3 100644
--- a/arch/arm/cpu/arm926ejs/armada100/cpu.c
+++ b/arch/arm/cpu/arm926ejs/armada100/cpu.c
@@ -12,6 +12,7 @@ 
 #include <stdio.h>
 #include <asm/arch/cpu.h>
 #include <asm/arch/armada100.h>
+#include <asm/types.h>
 #include <asm/u-boot.h>
 
 #define UARTCLK14745KHZ	(APBC_APBCLK | APBC_FNCLK | APBC_FNCLKSEL(1))
diff --git a/arch/arm/cpu/arm926ejs/armada100/dram.c b/arch/arm/cpu/arm926ejs/armada100/dram.c
index 56bda678d67..bdd75b6d547 100644
--- a/arch/arm/cpu/arm926ejs/armada100/dram.c
+++ b/arch/arm/cpu/arm926ejs/armada100/dram.c
@@ -12,6 +12,7 @@ 
 #include <asm/global_data.h>
 #include <asm/io.h>
 #include <asm/arch/armada100.h>
+#include <asm/types.h>
 #include <asm/u-boot.h>
 
 DECLARE_GLOBAL_DATA_PTR;
diff --git a/arch/arm/cpu/arm926ejs/armada100/timer.c b/arch/arm/cpu/arm926ejs/armada100/timer.c
index ec73393d0fc..54289331a7e 100644
--- a/arch/arm/cpu/arm926ejs/armada100/timer.c
+++ b/arch/arm/cpu/arm926ejs/armada100/timer.c
@@ -14,6 +14,7 @@ 
 #include <asm/arch/armada100.h>
 #include <asm/global_data.h>
 #include <linux/delay.h>
+#include <linux/types.h>
 
 /*
  * Timer registers
diff --git a/arch/arm/cpu/arm926ejs/cache.c b/arch/arm/cpu/arm926ejs/cache.c
index acab9bccc01..67d80774ae4 100644
--- a/arch/arm/cpu/arm926ejs/cache.c
+++ b/arch/arm/cpu/arm926ejs/cache.c
@@ -3,6 +3,7 @@ 
  * (C) Copyright 2011
  * Ilya Yanok, EmCraft Systems
  */
+#include <compiler.h>
 #include <cpu_func.h>
 #include <asm/cache.h>
 #include <linux/types.h>
diff --git a/arch/arm/cpu/arm926ejs/mx25/generic.c b/arch/arm/cpu/arm926ejs/mx25/generic.c
index 71e143b8a92..f22b37df3ca 100644
--- a/arch/arm/cpu/arm926ejs/mx25/generic.c
+++ b/arch/arm/cpu/arm926ejs/mx25/generic.c
@@ -24,6 +24,7 @@ 
 #include <asm/arch/clock.h>
 #include <asm/u-boot.h>
 #include <linux/errno.h>
+#include <linux/types.h>
 
 #ifdef CONFIG_FSL_ESDHC_IMX
 #include <fsl_esdhc_imx.h>
diff --git a/arch/arm/cpu/arm926ejs/mx25/reset.c b/arch/arm/cpu/arm926ejs/mx25/reset.c
index 38df1c94022..6148adbaa4e 100644
--- a/arch/arm/cpu/arm926ejs/mx25/reset.c
+++ b/arch/arm/cpu/arm926ejs/mx25/reset.c
@@ -19,6 +19,7 @@ 
 #include <cpu_func.h>
 #include <asm/io.h>
 #include <asm/arch/imx-regs.h>
+#include <linux/types.h>
 
 /*
  * Reset the cpu by setting up the watchdog timer and let it time out
diff --git a/arch/arm/cpu/arm926ejs/mx27/generic.c b/arch/arm/cpu/arm926ejs/mx27/generic.c
index 376ab2eaeac..7d080b9bdde 100644
--- a/arch/arm/cpu/arm926ejs/mx27/generic.c
+++ b/arch/arm/cpu/arm926ejs/mx27/generic.c
@@ -20,6 +20,7 @@ 
 #endif
 #include <asm/u-boot.h>
 #include <linux/kernel.h>
+#include <linux/types.h>
 
 /*
  *  get the system pll clock in Hz
diff --git a/arch/arm/cpu/arm926ejs/mx27/reset.c b/arch/arm/cpu/arm926ejs/mx27/reset.c
index 320b0a65e70..bcfb8834210 100644
--- a/arch/arm/cpu/arm926ejs/mx27/reset.c
+++ b/arch/arm/cpu/arm926ejs/mx27/reset.c
@@ -19,6 +19,7 @@ 
 #include <cpu_func.h>
 #include <asm/io.h>
 #include <asm/arch/imx-regs.h>
+#include <linux/types.h>
 
 /*
  * Reset the cpu by setting up the watchdog timer and let it time out
diff --git a/arch/arm/cpu/arm926ejs/mx27/timer.c b/arch/arm/cpu/arm926ejs/mx27/timer.c
index 4fd6a805968..d486585f8a4 100644
--- a/arch/arm/cpu/arm926ejs/mx27/timer.c
+++ b/arch/arm/cpu/arm926ejs/mx27/timer.c
@@ -24,6 +24,7 @@ 
 #include <asm/arch/imx-regs.h>
 #include <asm/ptrace.h>
 #include <linux/delay.h>
+#include <linux/types.h>
 
 /* General purpose timers bitfields */
 #define GPTCR_SWR		(1 << 15)	/* Software reset	*/
diff --git a/arch/arm/cpu/arm926ejs/mxs/clock.c b/arch/arm/cpu/arm926ejs/mxs/clock.c
index 4e1cf3a1e32..52208774ce0 100644
--- a/arch/arm/cpu/arm926ejs/mxs/clock.c
+++ b/arch/arm/cpu/arm926ejs/mxs/clock.c
@@ -15,6 +15,7 @@ 
 #include <asm/io.h>
 #include <asm/arch/clock.h>
 #include <asm/arch/imx-regs.h>
+#include <linux/types.h>
 
 /*
  * The PLL frequency is 480MHz and XTAL frequency is 24MHz
diff --git a/arch/arm/cpu/arm926ejs/mxs/iomux.c b/arch/arm/cpu/arm926ejs/mxs/iomux.c
index 381264b8a18..4c80dd5d36a 100644
--- a/arch/arm/cpu/arm926ejs/mxs/iomux.c
+++ b/arch/arm/cpu/arm926ejs/mxs/iomux.c
@@ -7,6 +7,7 @@ 
  */
 
 #include <common.h>
+#include <asm/types.h>
 #include <linux/errno.h>
 #include <asm/io.h>
 #include <asm/arch/clock.h>
diff --git a/arch/arm/cpu/arm926ejs/mxs/mxs.c b/arch/arm/cpu/arm926ejs/mxs/mxs.c
index 84d67228631..1094477aeb3 100644
--- a/arch/arm/cpu/arm926ejs/mxs/mxs.c
+++ b/arch/arm/cpu/arm926ejs/mxs/mxs.c
@@ -11,6 +11,7 @@ 
 
 #include <common.h>
 #include <command.h>
+#include <compiler.h>
 #include <cpu_func.h>
 #include <hang.h>
 #include <init.h>
@@ -29,6 +30,7 @@ 
 #include <asm/arch/sys_proto.h>
 #include <linux/compiler.h>
 #include <linux/string.h>
+#include <linux/types.h>
 
 DECLARE_GLOBAL_DATA_PTR;
 
diff --git a/arch/arm/cpu/arm926ejs/mxs/mxs_init.h b/arch/arm/cpu/arm926ejs/mxs/mxs_init.h
index 062deb7793f..31836d7d8d1 100644
--- a/arch/arm/cpu/arm926ejs/mxs/mxs_init.h
+++ b/arch/arm/cpu/arm926ejs/mxs/mxs_init.h
@@ -9,6 +9,7 @@ 
 #ifndef	__M28_INIT_H__
 #define	__M28_INIT_H__
 
+#include <linux/types.h>
 void early_delay(int delay);
 
 void mxs_power_init(void);
diff --git a/arch/arm/cpu/arm926ejs/mxs/spl_boot.c b/arch/arm/cpu/arm926ejs/mxs/spl_boot.c
index 88386dbb20f..3fe7d79b905 100644
--- a/arch/arm/cpu/arm926ejs/mxs/spl_boot.c
+++ b/arch/arm/cpu/arm926ejs/mxs/spl_boot.c
@@ -20,6 +20,7 @@ 
 #include <linux/compiler.h>
 #include <linux/kernel.h>
 #include <linux/string.h>
+#include <linux/types.h>
 
 #include "mxs_init.h"
 
diff --git a/arch/arm/cpu/arm926ejs/mxs/spl_mem_init.c b/arch/arm/cpu/arm926ejs/mxs/spl_mem_init.c
index 4d2d988c287..ff46c86b620 100644
--- a/arch/arm/cpu/arm926ejs/mxs/spl_mem_init.c
+++ b/arch/arm/cpu/arm926ejs/mxs/spl_mem_init.c
@@ -7,6 +7,7 @@ 
  */
 
 #include <common.h>
+#include <compiler.h>
 #include <config.h>
 #include <init.h>
 #include <log.h>
@@ -15,6 +16,7 @@ 
 #include <asm/arch/sys_proto.h>
 #include <linux/compiler.h>
 #include <linux/kernel.h>
+#include <linux/types.h>
 
 #include "mxs_init.h"
 
diff --git a/arch/arm/cpu/arm926ejs/mxs/spl_power_init.c b/arch/arm/cpu/arm926ejs/mxs/spl_power_init.c
index f57e1bb96c8..dcab4c12093 100644
--- a/arch/arm/cpu/arm926ejs/mxs/spl_power_init.c
+++ b/arch/arm/cpu/arm926ejs/mxs/spl_power_init.c
@@ -7,12 +7,14 @@ 
  */
 
 #include <common.h>
+#include <compiler.h>
 #include <config.h>
 #include <hang.h>
 #include <log.h>
 #include <asm/io.h>
 #include <asm/arch/imx-regs.h>
 #include <linux/kernel.h>
+#include <linux/types.h>
 
 #include "mxs_init.h"
 
diff --git a/arch/arm/cpu/arm926ejs/mxs/timer.c b/arch/arm/cpu/arm926ejs/mxs/timer.c
index 3dff3d768d1..58b1d041585 100644
--- a/arch/arm/cpu/arm926ejs/mxs/timer.c
+++ b/arch/arm/cpu/arm926ejs/mxs/timer.c
@@ -17,6 +17,7 @@ 
 #include <asm/arch/imx-regs.h>
 #include <asm/arch/sys_proto.h>
 #include <linux/delay.h>
+#include <linux/types.h>
 
 /* Maximum fixed count */
 #if defined(CONFIG_MX23)
diff --git a/arch/arm/cpu/arm926ejs/spear/cpu.c b/arch/arm/cpu/arm926ejs/spear/cpu.c
index 1c5f3af1bda..b82551bc56d 100644
--- a/arch/arm/cpu/arm926ejs/spear/cpu.c
+++ b/arch/arm/cpu/arm926ejs/spear/cpu.c
@@ -11,6 +11,7 @@ 
 #include <asm/io.h>
 #include <asm/arch/hardware.h>
 #include <asm/arch/spr_misc.h>
+#include <asm/types.h>
 #include <asm/u-boot.h>
 #include <linux/string.h>
 
diff --git a/arch/arm/cpu/arm926ejs/spear/reset.c b/arch/arm/cpu/arm926ejs/spear/reset.c
index 7c3ba8b2dbd..38dfa023497 100644
--- a/arch/arm/cpu/arm926ejs/spear/reset.c
+++ b/arch/arm/cpu/arm926ejs/spear/reset.c
@@ -11,6 +11,7 @@ 
 #include <asm/arch/hardware.h>
 #include <asm/arch/spr_syscntl.h>
 #include <linux/delay.h>
+#include <linux/types.h>
 
 void reset_cpu(ulong ignored)
 {
diff --git a/arch/arm/cpu/arm926ejs/spear/spear600.c b/arch/arm/cpu/arm926ejs/spear/spear600.c
index 2b036215d1c..ca5c770f42a 100644
--- a/arch/arm/cpu/arm926ejs/spear/spear600.c
+++ b/arch/arm/cpu/arm926ejs/spear/spear600.c
@@ -11,6 +11,7 @@ 
 #include <asm/io.h>
 #include <asm/arch/spr_misc.h>
 #include <asm/arch/spr_defs.h>
+#include <asm/types.h>
 
 void spear_late_init(void)
 {
diff --git a/arch/arm/cpu/arm926ejs/spear/spl.c b/arch/arm/cpu/arm926ejs/spear/spl.c
index fa4beced986..00670b35559 100644
--- a/arch/arm/cpu/arm926ejs/spear/spl.c
+++ b/arch/arm/cpu/arm926ejs/spear/spl.c
@@ -19,6 +19,7 @@ 
 #include <asm/arch/spr_syscntl.h>
 #include <asm/u-boot.h>
 #include <linux/mtd/st_smi.h>
+#include <linux/types.h>
 
 /* Reserve some space to store the BootROM's stack pointer during SPL operation.
  * The BSS cannot be used for this purpose because it will be zeroed after
diff --git a/arch/arm/cpu/arm926ejs/spear/spr600_mt47h128m8_3_266_cl5_async.c b/arch/arm/cpu/arm926ejs/spear/spr600_mt47h128m8_3_266_cl5_async.c
index 79ab2a70dc5..9b761c8d1f6 100644
--- a/arch/arm/cpu/arm926ejs/spear/spr600_mt47h128m8_3_266_cl5_async.c
+++ b/arch/arm/cpu/arm926ejs/spear/spr600_mt47h128m8_3_266_cl5_async.c
@@ -5,6 +5,7 @@ 
  */
 
 #include <common.h>
+#include <asm/types.h>
 
 #if (CONFIG_DDR_PLL2)
 
diff --git a/arch/arm/cpu/arm926ejs/spear/spr600_mt47h32m16_333_cl5_psync.c b/arch/arm/cpu/arm926ejs/spear/spr600_mt47h32m16_333_cl5_psync.c
index 121b6360778..2e6bb0c8a69 100644
--- a/arch/arm/cpu/arm926ejs/spear/spr600_mt47h32m16_333_cl5_psync.c
+++ b/arch/arm/cpu/arm926ejs/spear/spr600_mt47h32m16_333_cl5_psync.c
@@ -5,6 +5,7 @@ 
  */
 
 #include <common.h>
+#include <asm/types.h>
 
 #if (CONFIG_DDR_PLL2 || CONFIG_DDR_2HCLK)
 
diff --git a/arch/arm/cpu/arm926ejs/spear/spr600_mt47h32m16_37e_166_cl4_sync.c b/arch/arm/cpu/arm926ejs/spear/spr600_mt47h32m16_37e_166_cl4_sync.c
index 64c8bab9bfa..d0473d0d680 100644
--- a/arch/arm/cpu/arm926ejs/spear/spr600_mt47h32m16_37e_166_cl4_sync.c
+++ b/arch/arm/cpu/arm926ejs/spear/spr600_mt47h32m16_37e_166_cl4_sync.c
@@ -5,6 +5,7 @@ 
  */
 
 #include <common.h>
+#include <asm/types.h>
 
 #if (CONFIG_DDR_HCLK)
 
diff --git a/arch/arm/cpu/arm926ejs/spear/spr600_mt47h64m16_3_333_cl5_psync.c b/arch/arm/cpu/arm926ejs/spear/spr600_mt47h64m16_3_333_cl5_psync.c
index 87654663fcf..0bcedb19758 100644
--- a/arch/arm/cpu/arm926ejs/spear/spr600_mt47h64m16_3_333_cl5_psync.c
+++ b/arch/arm/cpu/arm926ejs/spear/spr600_mt47h64m16_3_333_cl5_psync.c
@@ -5,6 +5,7 @@ 
  */
 
 #include <common.h>
+#include <asm/types.h>
 
 #if (CONFIG_DDR_PLL2 || CONFIG_DDR_2HCLK)
 
diff --git a/arch/arm/cpu/arm926ejs/spear/spr_misc.c b/arch/arm/cpu/arm926ejs/spear/spr_misc.c
index b111d6126b6..378439fdec6 100644
--- a/arch/arm/cpu/arm926ejs/spear/spr_misc.c
+++ b/arch/arm/cpu/arm926ejs/spear/spr_misc.c
@@ -21,6 +21,7 @@ 
 #include <asm/arch/spr_emi.h>
 #include <asm/arch/spr_defs.h>
 #include <linux/string.h>
+#include <linux/types.h>
 
 #define CPU		0
 #define DDR		1
diff --git a/arch/arm/cpu/arm926ejs/spear/timer.c b/arch/arm/cpu/arm926ejs/spear/timer.c
index b42baa71506..b5b7814d130 100644
--- a/arch/arm/cpu/arm926ejs/spear/timer.c
+++ b/arch/arm/cpu/arm926ejs/spear/timer.c
@@ -14,6 +14,7 @@ 
 #include <asm/arch/spr_misc.h>
 #include <asm/ptrace.h>
 #include <linux/delay.h>
+#include <linux/types.h>
 
 #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/arm946es/cpu.c b/arch/arm/cpu/arm946es/cpu.c
index fb0ea5e817f..cb8adf58ece 100644
--- a/arch/arm/cpu/arm946es/cpu.c
+++ b/arch/arm/cpu/arm946es/cpu.c
@@ -18,6 +18,7 @@ 
 #include <irq_func.h>
 #include <asm/system.h>
 #include <asm/io.h>
+#include <linux/types.h>
 
 static void cache_flush(void);
 
diff --git a/arch/arm/cpu/armv7/arch_timer.c b/arch/arm/cpu/armv7/arch_timer.c
index d96406f7626..774c5ad52c3 100644
--- a/arch/arm/cpu/armv7/arch_timer.c
+++ b/arch/arm/cpu/armv7/arch_timer.c
@@ -11,6 +11,7 @@ 
 #include <asm/io.h>
 #include <div64.h>
 #include <bootstage.h>
+#include <linux/types.h>
 
 DECLARE_GLOBAL_DATA_PTR;
 
diff --git a/arch/arm/cpu/armv7/bcm235xx/clk-bsc.c b/arch/arm/cpu/armv7/bcm235xx/clk-bsc.c
index c8a8e358f74..40eda46d954 100644
--- a/arch/arm/cpu/armv7/bcm235xx/clk-bsc.c
+++ b/arch/arm/cpu/armv7/bcm235xx/clk-bsc.c
@@ -6,6 +6,7 @@ 
 #include <common.h>
 #include <stdio.h>
 #include <asm/io.h>
+#include <asm/types.h>
 #include <linux/errno.h>
 #include <asm/arch/sysmap.h>
 #include <asm/kona-common/clk.h>
diff --git a/arch/arm/cpu/armv7/bcm235xx/clk-core.c b/arch/arm/cpu/armv7/bcm235xx/clk-core.c
index 098c5afb731..059a2464c1b 100644
--- a/arch/arm/cpu/armv7/bcm235xx/clk-core.c
+++ b/arch/arm/cpu/armv7/bcm235xx/clk-core.c
@@ -11,8 +11,10 @@ 
 
 #include <common.h>
 #include <log.h>
+#include <stdbool.h>
 #include <stdio.h>
 #include <asm/io.h>
+#include <asm/types.h>
 #include <linux/delay.h>
 #include <linux/errno.h>
 #include <bitfield.h>
diff --git a/arch/arm/cpu/armv7/bcm235xx/clk-core.h b/arch/arm/cpu/armv7/bcm235xx/clk-core.h
index 6dfc4afb006..e654d4a7aec 100644
--- a/arch/arm/cpu/armv7/bcm235xx/clk-core.h
+++ b/arch/arm/cpu/armv7/bcm235xx/clk-core.h
@@ -4,6 +4,7 @@ 
  */
 
 #include <stdio.h>
+#include <asm/types.h>
 #include <linux/kernel.h>
 #include <linux/stddef.h>
 #include <linux/stringify.h>
diff --git a/arch/arm/cpu/armv7/bcm235xx/clk-sdio.c b/arch/arm/cpu/armv7/bcm235xx/clk-sdio.c
index c21a23c2abe..301e24f359c 100644
--- a/arch/arm/cpu/armv7/bcm235xx/clk-sdio.c
+++ b/arch/arm/cpu/armv7/bcm235xx/clk-sdio.c
@@ -6,6 +6,7 @@ 
 #include <common.h>
 #include <stdio.h>
 #include <asm/io.h>
+#include <asm/types.h>
 #include <linux/errno.h>
 #include <asm/arch/sysmap.h>
 #include <asm/kona-common/clk.h>
diff --git a/arch/arm/cpu/armv7/bcm235xx/clk-usb-otg.c b/arch/arm/cpu/armv7/bcm235xx/clk-usb-otg.c
index f065560d2d0..99a45c6f870 100644
--- a/arch/arm/cpu/armv7/bcm235xx/clk-usb-otg.c
+++ b/arch/arm/cpu/armv7/bcm235xx/clk-usb-otg.c
@@ -5,6 +5,7 @@ 
 
 #include <common.h>
 #include <stdio.h>
+#include <asm/types.h>
 #include <linux/errno.h>
 #include <asm/arch/sysmap.h>
 #include "clk-core.h"
diff --git a/arch/arm/cpu/armv7/bcm281xx/clk-bsc.c b/arch/arm/cpu/armv7/bcm281xx/clk-bsc.c
index c8a8e358f74..40eda46d954 100644
--- a/arch/arm/cpu/armv7/bcm281xx/clk-bsc.c
+++ b/arch/arm/cpu/armv7/bcm281xx/clk-bsc.c
@@ -6,6 +6,7 @@ 
 #include <common.h>
 #include <stdio.h>
 #include <asm/io.h>
+#include <asm/types.h>
 #include <linux/errno.h>
 #include <asm/arch/sysmap.h>
 #include <asm/kona-common/clk.h>
diff --git a/arch/arm/cpu/armv7/bcm281xx/clk-core.c b/arch/arm/cpu/armv7/bcm281xx/clk-core.c
index 2fb195bf8f9..17530c8b739 100644
--- a/arch/arm/cpu/armv7/bcm281xx/clk-core.c
+++ b/arch/arm/cpu/armv7/bcm281xx/clk-core.c
@@ -11,8 +11,10 @@ 
 
 #include <common.h>
 #include <log.h>
+#include <stdbool.h>
 #include <stdio.h>
 #include <asm/io.h>
+#include <asm/types.h>
 #include <linux/delay.h>
 #include <linux/errno.h>
 #include <bitfield.h>
diff --git a/arch/arm/cpu/armv7/bcm281xx/clk-core.h b/arch/arm/cpu/armv7/bcm281xx/clk-core.h
index 74780012e24..1ce30b3e092 100644
--- a/arch/arm/cpu/armv7/bcm281xx/clk-core.h
+++ b/arch/arm/cpu/armv7/bcm281xx/clk-core.h
@@ -4,6 +4,7 @@ 
  */
 
 #include <stdio.h>
+#include <asm/types.h>
 #include <linux/kernel.h>
 #include <linux/stddef.h>
 #include <linux/stringify.h>
diff --git a/arch/arm/cpu/armv7/bcm281xx/clk-sdio.c b/arch/arm/cpu/armv7/bcm281xx/clk-sdio.c
index c21a23c2abe..301e24f359c 100644
--- a/arch/arm/cpu/armv7/bcm281xx/clk-sdio.c
+++ b/arch/arm/cpu/armv7/bcm281xx/clk-sdio.c
@@ -6,6 +6,7 @@ 
 #include <common.h>
 #include <stdio.h>
 #include <asm/io.h>
+#include <asm/types.h>
 #include <linux/errno.h>
 #include <asm/arch/sysmap.h>
 #include <asm/kona-common/clk.h>
diff --git a/arch/arm/cpu/armv7/bcm281xx/clk-usb-otg.c b/arch/arm/cpu/armv7/bcm281xx/clk-usb-otg.c
index f065560d2d0..99a45c6f870 100644
--- a/arch/arm/cpu/armv7/bcm281xx/clk-usb-otg.c
+++ b/arch/arm/cpu/armv7/bcm281xx/clk-usb-otg.c
@@ -5,6 +5,7 @@ 
 
 #include <common.h>
 #include <stdio.h>
+#include <asm/types.h>
 #include <linux/errno.h>
 #include <asm/arch/sysmap.h>
 #include "clk-core.h"
diff --git a/arch/arm/cpu/armv7/bcm281xx/reset.c b/arch/arm/cpu/armv7/bcm281xx/reset.c
index fda5a9527ec..281d2e46eee 100644
--- a/arch/arm/cpu/armv7/bcm281xx/reset.c
+++ b/arch/arm/cpu/armv7/bcm281xx/reset.c
@@ -7,6 +7,7 @@ 
 #include <cpu_func.h>
 #include <asm/io.h>
 #include <asm/arch/sysmap.h>
+#include <linux/types.h>
 
 #define EN_MASK		0x08000000	/* Enable timer */
 #define SRSTEN_MASK	0x04000000	/* Enable soft reset */
diff --git a/arch/arm/cpu/armv7/bcmcygnus/reset.c b/arch/arm/cpu/armv7/bcmcygnus/reset.c
index 3bfed34533b..023cbd64299 100644
--- a/arch/arm/cpu/armv7/bcmcygnus/reset.c
+++ b/arch/arm/cpu/armv7/bcmcygnus/reset.c
@@ -6,6 +6,7 @@ 
 #include <common.h>
 #include <cpu_func.h>
 #include <asm/io.h>
+#include <linux/types.h>
 
 #define CRMU_MAIL_BOX1		0x03024028
 #define CRMU_SOFT_RESET_CMD	0xFFFFFFFF
diff --git a/arch/arm/cpu/armv7/bcmnsp/reset.c b/arch/arm/cpu/armv7/bcmnsp/reset.c
index 675f99fe998..547defa92b4 100644
--- a/arch/arm/cpu/armv7/bcmnsp/reset.c
+++ b/arch/arm/cpu/armv7/bcmnsp/reset.c
@@ -6,6 +6,7 @@ 
 #include <common.h>
 #include <cpu_func.h>
 #include <asm/io.h>
+#include <linux/types.h>
 
 #define CRU_RESET_OFFSET	0x1803F184
 
diff --git a/arch/arm/cpu/armv7/cache_v7.c b/arch/arm/cpu/armv7/cache_v7.c
index 146cf526089..a19aea275db 100644
--- a/arch/arm/cpu/armv7/cache_v7.c
+++ b/arch/arm/cpu/armv7/cache_v7.c
@@ -4,6 +4,7 @@ 
  * Texas Instruments, <www.ti.com>
  * Aneesh V <aneesh@ti.com>
  */
+#include <compiler.h>
 #include <cpu_func.h>
 #include <asm/cache.h>
 #include <linux/types.h>
diff --git a/arch/arm/cpu/armv7/cp15.c b/arch/arm/cpu/armv7/cp15.c
index 0ac4e7ba8c8..482d1969a96 100644
--- a/arch/arm/cpu/armv7/cp15.c
+++ b/arch/arm/cpu/armv7/cp15.c
@@ -9,9 +9,11 @@ 
 
 #include <common.h>
 #include <command.h>
+#include <compiler.h>
 #include <asm/system.h>
 #include <asm/cache.h>
 #include <asm/armv7.h>
+#include <asm/types.h>
 #include <linux/compiler.h>
 
 void __weak v7_arch_cp15_set_l2aux_ctrl(u32 l2actlr, u32 cpu_midr,
diff --git a/arch/arm/cpu/armv7/cpu.c b/arch/arm/cpu/armv7/cpu.c
index 8d1f91cd439..43b33f1585f 100644
--- a/arch/arm/cpu/armv7/cpu.c
+++ b/arch/arm/cpu/armv7/cpu.c
@@ -16,6 +16,7 @@ 
 
 #include <common.h>
 #include <command.h>
+#include <compiler.h>
 #include <cpu_func.h>
 #include <irq_func.h>
 #include <asm/system.h>
diff --git a/arch/arm/cpu/armv7/exception_level.c b/arch/arm/cpu/armv7/exception_level.c
index 5845cca9a33..08e558817f6 100644
--- a/arch/arm/cpu/armv7/exception_level.c
+++ b/arch/arm/cpu/armv7/exception_level.c
@@ -16,6 +16,7 @@ 
 #include <asm/armv7.h>
 #include <asm/secure.h>
 #include <asm/setjmp.h>
+#include <linux/types.h>
 
 /**
  * entry_non_secure() - entry point when switching to non-secure mode
diff --git a/arch/arm/cpu/armv7/iproc-common/armpll.c b/arch/arm/cpu/armv7/iproc-common/armpll.c
index 2ac598cee7b..89a5e37d39b 100644
--- a/arch/arm/cpu/armv7/iproc-common/armpll.c
+++ b/arch/arm/cpu/armv7/iproc-common/armpll.c
@@ -8,6 +8,7 @@ 
 #include <asm/io.h>
 #include <asm/iproc-common/armpll.h>
 #include <asm/iproc-common/sysmap.h>
+#include <linux/types.h>
 
 #define NELEMS(x)	(sizeof(x) / sizeof(x[0]))
 
diff --git a/arch/arm/cpu/armv7/iproc-common/timer.c b/arch/arm/cpu/armv7/iproc-common/timer.c
index a4255a44c00..057071b5681 100644
--- a/arch/arm/cpu/armv7/iproc-common/timer.c
+++ b/arch/arm/cpu/armv7/iproc-common/timer.c
@@ -11,6 +11,7 @@ 
 #include <asm/iproc-common/timer.h>
 #include <asm/iproc-common/sysmap.h>
 #include <linux/delay.h>
+#include <linux/types.h>
 
 static inline uint64_t timer_global_read(void)
 {
diff --git a/arch/arm/cpu/armv7/kona-common/clk-stubs.c b/arch/arm/cpu/armv7/kona-common/clk-stubs.c
index 19aa6c07358..634937d5b21 100644
--- a/arch/arm/cpu/armv7/kona-common/clk-stubs.c
+++ b/arch/arm/cpu/armv7/kona-common/clk-stubs.c
@@ -5,6 +5,7 @@ 
 
 #include <common.h>
 #include <compiler.h>
+#include <asm/types.h>
 
 /*
  * These weak functions are available to kona architectures that don't
diff --git a/arch/arm/cpu/armv7/ls102xa/clock.c b/arch/arm/cpu/armv7/ls102xa/clock.c
index b7c2ec6b5d2..c8206ce7bd8 100644
--- a/arch/arm/cpu/armv7/ls102xa/clock.c
+++ b/arch/arm/cpu/armv7/ls102xa/clock.c
@@ -5,6 +5,7 @@ 
 
 #include <common.h>
 #include <clock_legacy.h>
+#include <compiler.h>
 #include <stdio.h>
 #include <asm/global_data.h>
 #include <asm/io.h>
@@ -12,6 +13,7 @@ 
 #include <asm/arch/clock.h>
 #include <fsl_ifc.h>
 #include <asm/u-boot.h>
+#include <linux/types.h>
 
 DECLARE_GLOBAL_DATA_PTR;
 
diff --git a/arch/arm/cpu/armv7/ls102xa/cpu.c b/arch/arm/cpu/armv7/ls102xa/cpu.c
index 5e922953c96..4548feca08c 100644
--- a/arch/arm/cpu/armv7/ls102xa/cpu.c
+++ b/arch/arm/cpu/armv7/ls102xa/cpu.c
@@ -4,6 +4,7 @@ 
  */
 
 #include <common.h>
+#include <compiler.h>
 #include <cpu_func.h>
 #include <init.h>
 #include <net.h>
@@ -23,6 +24,7 @@ 
 #include <asm/u-boot.h>
 #include <linux/delay.h>
 #include <linux/kernel.h>
+#include <linux/types.h>
 
 #include "fsl_epu.h"
 
diff --git a/arch/arm/cpu/armv7/ls102xa/fdt.c b/arch/arm/cpu/armv7/ls102xa/fdt.c
index aef54ebf3c8..a70bbc1be1a 100644
--- a/arch/arm/cpu/armv7/ls102xa/fdt.c
+++ b/arch/arm/cpu/armv7/ls102xa/fdt.c
@@ -5,6 +5,7 @@ 
 
 #include <common.h>
 #include <clock_legacy.h>
+#include <compiler.h>
 #include <net.h>
 #include <stdio.h>
 #include <vsprintf.h>
@@ -25,6 +26,7 @@ 
 #include <fsl_sec.h>
 #include <dm.h>
 #include <linux/string.h>
+#include <linux/types.h>
 
 DECLARE_GLOBAL_DATA_PTR;
 
diff --git a/arch/arm/cpu/armv7/ls102xa/fsl_epu.c b/arch/arm/cpu/armv7/ls102xa/fsl_epu.c
index e31a4fb6c31..c6c6fb4e411 100644
--- a/arch/arm/cpu/armv7/ls102xa/fsl_epu.c
+++ b/arch/arm/cpu/armv7/ls102xa/fsl_epu.c
@@ -5,6 +5,7 @@ 
 
 #include <common.h>
 #include <asm/io.h>
+#include <asm/types.h>
 
 #include "fsl_epu.h"
 
diff --git a/arch/arm/cpu/armv7/ls102xa/fsl_ls1_serdes.c b/arch/arm/cpu/armv7/ls102xa/fsl_ls1_serdes.c
index 2683b59a2a0..bf789cd6208 100644
--- a/arch/arm/cpu/armv7/ls102xa/fsl_ls1_serdes.c
+++ b/arch/arm/cpu/armv7/ls102xa/fsl_ls1_serdes.c
@@ -4,9 +4,11 @@ 
  */
 
 #include <common.h>
+#include <compiler.h>
 #include <stdio.h>
 #include <asm/arch/fsl_serdes.h>
 #include <asm/arch/immap_ls102xa.h>
+#include <asm/types.h>
 #include <linux/errno.h>
 #include <asm/io.h>
 #include "fsl_ls1_serdes.h"
diff --git a/arch/arm/cpu/armv7/ls102xa/fsl_ls1_serdes.h b/arch/arm/cpu/armv7/ls102xa/fsl_ls1_serdes.h
index 7382aef8ee3..6500f183c45 100644
--- a/arch/arm/cpu/armv7/ls102xa/fsl_ls1_serdes.h
+++ b/arch/arm/cpu/armv7/ls102xa/fsl_ls1_serdes.h
@@ -6,6 +6,7 @@ 
 #ifndef __FSL_LS1_SERDES_H
 #define __FSL_LS1_SERDES_H
 
+#include <asm/types.h>
 int is_serdes_prtcl_valid(int serdes, u32 prtcl);
 int serdes_lane_enabled(int lane);
 #endif /* __FSL_LS1_SERDES_H */
diff --git a/arch/arm/cpu/armv7/ls102xa/ls102xa_psci.c b/arch/arm/cpu/armv7/ls102xa/ls102xa_psci.c
index 4a4b3c6f232..e1c417926bb 100644
--- a/arch/arm/cpu/armv7/ls102xa/ls102xa_psci.c
+++ b/arch/arm/cpu/armv7/ls102xa/ls102xa_psci.c
@@ -5,12 +5,14 @@ 
  * This file implements LS102X platform PSCI SYSTEM-SUSPEND function
  */
 
+#include <compiler.h>
 #include <config.h>
 #include <cpu_func.h>
 #include <asm/io.h>
 #include <asm/psci.h>
 #include <asm/arch/immap_ls102xa.h>
 #include <fsl_immap.h>
+#include <asm/types.h>
 #include "fsl_epu.h"
 
 #define __secure __attribute__((section("._secure.text")))
diff --git a/arch/arm/cpu/armv7/ls102xa/ls102xa_serdes.c b/arch/arm/cpu/armv7/ls102xa/ls102xa_serdes.c
index 3d313b1ad76..c29f7563b33 100644
--- a/arch/arm/cpu/armv7/ls102xa/ls102xa_serdes.c
+++ b/arch/arm/cpu/armv7/ls102xa/ls102xa_serdes.c
@@ -6,6 +6,7 @@ 
 #include <common.h>
 #include <asm/arch/fsl_serdes.h>
 #include <asm/arch/immap_ls102xa.h>
+#include <asm/types.h>
 #include <linux/kernel.h>
 
 static u8 serdes_cfg_tbl[][SRDS_MAX_LANES] = {
diff --git a/arch/arm/cpu/armv7/ls102xa/soc.c b/arch/arm/cpu/armv7/ls102xa/soc.c
index caba26abcbe..35b627e789c 100644
--- a/arch/arm/cpu/armv7/ls102xa/soc.c
+++ b/arch/arm/cpu/armv7/ls102xa/soc.c
@@ -4,6 +4,7 @@ 
  */
 
 #include <common.h>
+#include <compiler.h>
 #include <log.h>
 #include <asm/arch/clock.h>
 #include <asm/io.h>
@@ -13,6 +14,7 @@ 
 #include <asm/arch/ls102xa_stream_id.h>
 #include <fsl_csu.h>
 #include <fsl_ddr_sdram.h>
+#include <asm/types.h>
 #include <asm/u-boot.h>
 #include <linux/kernel.h>
 
diff --git a/arch/arm/cpu/armv7/ls102xa/spl.c b/arch/arm/cpu/armv7/ls102xa/spl.c
index 308536c3362..03a879a44c6 100644
--- a/arch/arm/cpu/armv7/ls102xa/spl.c
+++ b/arch/arm/cpu/armv7/ls102xa/spl.c
@@ -5,6 +5,7 @@ 
 
 #include <common.h>
 #include <spl.h>
+#include <asm/types.h>
 
 u32 spl_boot_device(void)
 {
diff --git a/arch/arm/cpu/armv7/ls102xa/timer.c b/arch/arm/cpu/armv7/ls102xa/timer.c
index d79bf105f13..02f96ac2ea5 100644
--- a/arch/arm/cpu/armv7/ls102xa/timer.c
+++ b/arch/arm/cpu/armv7/ls102xa/timer.c
@@ -12,6 +12,7 @@ 
 #include <asm/arch/immap_ls102xa.h>
 #include <asm/arch/clock.h>
 #include <linux/delay.h>
+#include <linux/types.h>
 
 DECLARE_GLOBAL_DATA_PTR;
 
diff --git a/arch/arm/cpu/armv7/mpu_v7r.c b/arch/arm/cpu/armv7/mpu_v7r.c
index 57ab640e263..eba9d3f86dd 100644
--- a/arch/arm/cpu/armv7/mpu_v7r.c
+++ b/arch/arm/cpu/armv7/mpu_v7r.c
@@ -12,6 +12,7 @@ 
 #include <asm/armv7.h>
 #include <asm/system.h>
 #include <asm/barriers.h>
+#include <asm/types.h>
 #include <linux/bitops.h>
 #include <linux/compiler.h>
 
diff --git a/arch/arm/cpu/armv7/psci-common.c b/arch/arm/cpu/armv7/psci-common.c
index a328b2bc0e8..ce7d339eb20 100644
--- a/arch/arm/cpu/armv7/psci-common.c
+++ b/arch/arm/cpu/armv7/psci-common.c
@@ -22,6 +22,7 @@ 
 #include <asm/macro.h>
 #include <asm/psci.h>
 #include <asm/secure.h>
+#include <asm/types.h>
 #include <linux/linkage.h>
 
 static u32 psci_target_pc[CONFIG_ARMV7_PSCI_NR_CPUS] __secure_data = { 0 };
diff --git a/arch/arm/cpu/armv7/s5p-common/cpu_info.c b/arch/arm/cpu/armv7/s5p-common/cpu_info.c
index 0a00762ee06..1c5a2745e83 100644
--- a/arch/arm/cpu/armv7/s5p-common/cpu_info.c
+++ b/arch/arm/cpu/armv7/s5p-common/cpu_info.c
@@ -11,6 +11,7 @@ 
 #include <asm/global_data.h>
 #include <asm/io.h>
 #include <asm/arch/clk.h>
+#include <asm/types.h>
 #include <asm/u-boot.h>
 
 DECLARE_GLOBAL_DATA_PTR;
diff --git a/arch/arm/cpu/armv7/s5p-common/pwm.c b/arch/arm/cpu/armv7/s5p-common/pwm.c
index 67c9208084d..8a48dc11eb1 100644
--- a/arch/arm/cpu/armv7/s5p-common/pwm.c
+++ b/arch/arm/cpu/armv7/s5p-common/pwm.c
@@ -11,6 +11,7 @@ 
 #include <asm/io.h>
 #include <asm/arch/pwm.h>
 #include <asm/arch/clk.h>
+#include <asm/types.h>
 #include <linux/errno.h>
 
 int pwm_enable(int pwm_id)
diff --git a/arch/arm/cpu/armv7/s5p-common/sromc.c b/arch/arm/cpu/armv7/s5p-common/sromc.c
index 0fc170936ae..0aed9e947e6 100644
--- a/arch/arm/cpu/armv7/s5p-common/sromc.c
+++ b/arch/arm/cpu/armv7/s5p-common/sromc.c
@@ -7,6 +7,7 @@ 
 #include <common.h>
 #include <asm/io.h>
 #include <asm/arch/sromc.h>
+#include <asm/types.h>
 
 /*
  * s5p_config_sromc() - select the proper SROMC Bank and configure the
diff --git a/arch/arm/cpu/armv7/s5p-common/timer.c b/arch/arm/cpu/armv7/s5p-common/timer.c
index 777a119438a..46d45d78c1a 100644
--- a/arch/arm/cpu/armv7/s5p-common/timer.c
+++ b/arch/arm/cpu/armv7/s5p-common/timer.c
@@ -16,6 +16,7 @@ 
 #include <asm/arch/clk.h>
 #include <asm/u-boot.h>
 #include <linux/delay.h>
+#include <linux/types.h>
 
 /* Use the old PWM interface for now */
 #undef CONFIG_DM_PWM
diff --git a/arch/arm/cpu/armv7/s5p4418/cpu.c b/arch/arm/cpu/armv7/s5p4418/cpu.c
index 3c71a37a74b..699918d0625 100644
--- a/arch/arm/cpu/armv7/s5p4418/cpu.c
+++ b/arch/arm/cpu/armv7/s5p4418/cpu.c
@@ -17,6 +17,7 @@ 
 #include <asm/arch/tieoff.h>
 #include <cpu_func.h>
 #include <linux/delay.h>
+#include <linux/types.h>
 
 DECLARE_GLOBAL_DATA_PTR;
 
diff --git a/arch/arm/cpu/armv7/stv0991/reset.c b/arch/arm/cpu/armv7/stv0991/reset.c
index 1be1dc486d4..58098d296e5 100644
--- a/arch/arm/cpu/armv7/stv0991/reset.c
+++ b/arch/arm/cpu/armv7/stv0991/reset.c
@@ -10,6 +10,7 @@ 
 #include <asm/io.h>
 #include <asm/arch/stv0991_wdru.h>
 #include <linux/delay.h>
+#include <linux/types.h>
 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 07033acb5c1..aad61d72add 100644
--- a/arch/arm/cpu/armv7/stv0991/timer.c
+++ b/arch/arm/cpu/armv7/stv0991/timer.c
@@ -13,6 +13,7 @@ 
 #include <asm/arch-stv0991/stv0991_cgu.h>
 #include <asm/arch-stv0991/stv0991_gpt.h>
 #include <linux/delay.h>
+#include <linux/types.h>
 
 static struct stv0991_cgu_regs *const stv0991_cgu_regs = \
 				(struct stv0991_cgu_regs *) (CGU_BASE_ADDR);
diff --git a/arch/arm/cpu/armv7/sunxi/psci.c b/arch/arm/cpu/armv7/sunxi/psci.c
index 5f21529bf2e..8f6532e344d 100644
--- a/arch/arm/cpu/armv7/sunxi/psci.c
+++ b/arch/arm/cpu/armv7/sunxi/psci.c
@@ -10,6 +10,7 @@ 
 #include <common.h>
 #include <stdbool.h>
 #include <asm/cache.h>
+#include <asm/types.h>
 
 #include <asm/arch/cpu.h>
 #include <asm/arch/cpucfg.h>
diff --git a/arch/arm/cpu/armv7/sunxi/timer.c b/arch/arm/cpu/armv7/sunxi/timer.c
index b7585996369..29193cf3ed6 100644
--- a/arch/arm/cpu/armv7/sunxi/timer.c
+++ b/arch/arm/cpu/armv7/sunxi/timer.c
@@ -12,6 +12,7 @@ 
 #include <asm/io.h>
 #include <asm/arch/timer.h>
 #include <linux/delay.h>
+#include <linux/types.h>
 
 DECLARE_GLOBAL_DATA_PTR;
 
diff --git a/arch/arm/cpu/armv7/syslib.c b/arch/arm/cpu/armv7/syslib.c
index 7e29636972d..7e0b7b0da98 100644
--- a/arch/arm/cpu/armv7/syslib.c
+++ b/arch/arm/cpu/armv7/syslib.c
@@ -9,6 +9,7 @@ 
 
 #include <common.h>
 #include <asm/io.h>
+#include <asm/types.h>
 
 /************************************************************
  * sdelay() - simple spin loop.  Will be constant time as
diff --git a/arch/arm/cpu/armv7/vf610/generic.c b/arch/arm/cpu/armv7/vf610/generic.c
index 93418ce9a8c..80e22fcd624 100644
--- a/arch/arm/cpu/armv7/vf610/generic.c
+++ b/arch/arm/cpu/armv7/vf610/generic.c
@@ -6,6 +6,7 @@ 
 #include <common.h>
 #include <clock_legacy.h>
 #include <command.h>
+#include <compiler.h>
 #include <cpu_func.h>
 #include <init.h>
 #include <net.h>
@@ -22,6 +23,7 @@ 
 #ifdef CONFIG_FSL_ESDHC_IMX
 #include <fsl_esdhc_imx.h>
 #endif
+#include <asm/types.h>
 #include <asm/u-boot.h>
 #include <linux/errno.h>
 #include <linux/string.h>
diff --git a/arch/arm/cpu/armv7/vf610/timer.c b/arch/arm/cpu/armv7/vf610/timer.c
index a9c1a8fcebc..1afa86b558c 100644
--- a/arch/arm/cpu/armv7/vf610/timer.c
+++ b/arch/arm/cpu/armv7/vf610/timer.c
@@ -12,6 +12,7 @@ 
 #include <asm/arch/imx-regs.h>
 #include <asm/arch/clock.h>
 #include <linux/delay.h>
+#include <linux/types.h>
 
 static struct pit_reg *cur_pit = (struct pit_reg *)PIT_BASE_ADDR;
 
diff --git a/arch/arm/cpu/armv7/virt-v7.c b/arch/arm/cpu/armv7/virt-v7.c
index cf0954cb9b3..7aadb18cf1b 100644
--- a/arch/arm/cpu/armv7/virt-v7.c
+++ b/arch/arm/cpu/armv7/virt-v7.c
@@ -9,6 +9,7 @@ 
  */
 
 #include <common.h>
+#include <compiler.h>
 #include <cpu_func.h>
 #include <stdio.h>
 #include <asm/armv7.h>
@@ -18,6 +19,7 @@ 
 #include <asm/secure.h>
 #include <linux/kernel.h>
 #include <linux/string.h>
+#include <linux/types.h>
 
 static unsigned int read_id_pfr1(void)
 {
diff --git a/arch/arm/cpu/armv7m/cache.c b/arch/arm/cpu/armv7m/cache.c
index abed2e36df4..d81c0b12154 100644
--- a/arch/arm/cpu/armv7m/cache.c
+++ b/arch/arm/cpu/armv7m/cache.c
@@ -14,6 +14,7 @@ 
 #include <asm/io.h>
 #include <linux/bitops.h>
 #include <linux/errno.h>
+#include <linux/types.h>
 
 /* Cache maintenance operation registers */
 
diff --git a/arch/arm/cpu/armv7m/cpu.c b/arch/arm/cpu/armv7m/cpu.c
index 1d1c629c44c..ae8504fe5b2 100644
--- a/arch/arm/cpu/armv7m/cpu.c
+++ b/arch/arm/cpu/armv7m/cpu.c
@@ -13,6 +13,7 @@ 
 #include <asm/io.h>
 #include <asm/armv7m.h>
 #include <asm/u-boot.h>
+#include <linux/types.h>
 
 /*
  * This is called right before passing control to
diff --git a/arch/arm/cpu/armv7m/mpu.c b/arch/arm/cpu/armv7m/mpu.c
index 81e7492f1c8..cdd4b7d2518 100644
--- a/arch/arm/cpu/armv7m/mpu.c
+++ b/arch/arm/cpu/armv7m/mpu.c
@@ -8,6 +8,7 @@ 
 #include <asm/armv7m.h>
 #include <asm/armv7_mpu.h>
 #include <asm/io.h>
+#include <linux/types.h>
 
 #define V7M_MPU_CTRL_ENABLE		BIT(0)
 #define V7M_MPU_CTRL_DISABLE		(0 << 0)
diff --git a/arch/arm/cpu/armv7m/systick-timer.c b/arch/arm/cpu/armv7m/systick-timer.c
index 556eaf8c74a..cc1e13d74d2 100644
--- a/arch/arm/cpu/armv7m/systick-timer.c
+++ b/arch/arm/cpu/armv7m/systick-timer.c
@@ -27,6 +27,7 @@ 
 #include <asm/global_data.h>
 #include <asm/io.h>
 #include <linux/bitops.h>
+#include <linux/types.h>
 
 DECLARE_GLOBAL_DATA_PTR;
 
diff --git a/arch/arm/cpu/armv8/cache_v8.c b/arch/arm/cpu/armv8/cache_v8.c
index 8add6ac333b..b128367e82f 100644
--- a/arch/arm/cpu/armv8/cache_v8.c
+++ b/arch/arm/cpu/armv8/cache_v8.c
@@ -8,9 +8,11 @@ 
  */
 
 #include <common.h>
+#include <compiler.h>
 #include <cpu_func.h>
 #include <hang.h>
 #include <log.h>
+#include <stdbool.h>
 #include <stdio.h>
 #include <vsprintf.h>
 #include <asm/cache.h>
@@ -19,6 +21,7 @@ 
 #include <asm/armv8/mmu.h>
 #include <linux/kernel.h>
 #include <linux/string.h>
+#include <linux/types.h>
 
 DECLARE_GLOBAL_DATA_PTR;
 
diff --git a/arch/arm/cpu/armv8/cpu.c b/arch/arm/cpu/armv8/cpu.c
index 8c0a492a3fa..ae6453a3130 100644
--- a/arch/arm/cpu/armv8/cpu.c
+++ b/arch/arm/cpu/armv8/cpu.c
@@ -12,6 +12,7 @@ 
 
 #include <common.h>
 #include <command.h>
+#include <compiler.h>
 #include <cpu_func.h>
 #include <irq_func.h>
 #include <asm/cache.h>
@@ -20,6 +21,7 @@ 
 #include <asm/u-boot.h>
 #include <linux/compiler.h>
 #include <linux/string.h>
+#include <linux/types.h>
 
 /*
  * sdelay() - simple spin loop.
diff --git a/arch/arm/cpu/armv8/exception_level.c b/arch/arm/cpu/armv8/exception_level.c
index b11936548fb..edb7ef89a6c 100644
--- a/arch/arm/cpu/armv8/exception_level.c
+++ b/arch/arm/cpu/armv8/exception_level.c
@@ -14,6 +14,7 @@ 
 #include <log.h>
 #include <asm/cache.h>
 #include <asm/setjmp.h>
+#include <linux/types.h>
 
 /**
  * entry_non_secure() - entry point when switching to non-secure mode
diff --git a/arch/arm/cpu/armv8/fsl-layerscape/cpu.c b/arch/arm/cpu/armv8/fsl-layerscape/cpu.c
index 38ff2ce207d..56c076b70a9 100644
--- a/arch/arm/cpu/armv8/fsl-layerscape/cpu.c
+++ b/arch/arm/cpu/armv8/fsl-layerscape/cpu.c
@@ -5,6 +5,7 @@ 
  */
 
 #include <common.h>
+#include <compiler.h>
 #include <cpu_func.h>
 #include <env.h>
 #include <fsl_ddr_sdram.h>
@@ -44,6 +45,7 @@ 
 #include <fsl_qbman.h>
 #include <linux/kernel.h>
 #include <linux/string.h>
+#include <linux/types.h>
 
 #ifdef CONFIG_TFABOOT
 #include <env_internal.h>
diff --git a/arch/arm/cpu/armv8/fsl-layerscape/cpu.h b/arch/arm/cpu/armv8/fsl-layerscape/cpu.h
index dca5fd0f7dc..99f48597e2e 100644
--- a/arch/arm/cpu/armv8/fsl-layerscape/cpu.h
+++ b/arch/arm/cpu/armv8/fsl-layerscape/cpu.h
@@ -3,6 +3,7 @@ 
  * Copyright 2014-2015, Freescale Semiconductor
  */
 
+#include <asm/types.h>
 int fsl_qoriq_core_to_cluster(unsigned int core);
 u32 initiator_type(u32 cluster, int init_id);
 u32 cpu_mask(void);
diff --git a/arch/arm/cpu/armv8/fsl-layerscape/fdt.c b/arch/arm/cpu/armv8/fsl-layerscape/fdt.c
index 09750dc2e88..9ef6ca33b47 100644
--- a/arch/arm/cpu/armv8/fsl-layerscape/fdt.c
+++ b/arch/arm/cpu/armv8/fsl-layerscape/fdt.c
@@ -6,6 +6,7 @@ 
 
 #include <common.h>
 #include <clock_legacy.h>
+#include <compiler.h>
 #include <efi_loader.h>
 #include <log.h>
 #include <stdio.h>
@@ -34,6 +35,7 @@ 
 #include <asm/arch/speed.h>
 #include <fsl_qbman.h>
 #include <linux/string.h>
+#include <linux/types.h>
 
 int fdt_fixup_phy_connection(void *blob, int offset, phy_interface_t phyc)
 {
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 86b2d335ab0..88f80433ab4 100644
--- a/arch/arm/cpu/armv8/fsl-layerscape/fsl_lsch2_serdes.c
+++ b/arch/arm/cpu/armv8/fsl-layerscape/fsl_lsch2_serdes.c
@@ -4,9 +4,11 @@ 
  */
 
 #include <common.h>
+#include <compiler.h>
 #include <log.h>
 #include <stdio.h>
 #include <asm/io.h>
+#include <asm/types.h>
 #include <linux/delay.h>
 #include <linux/errno.h>
 #include <asm/arch/fsl_serdes.h>
diff --git a/arch/arm/cpu/armv8/fsl-layerscape/fsl_lsch2_speed.c b/arch/arm/cpu/armv8/fsl-layerscape/fsl_lsch2_speed.c
index dce6cac4f7a..467856d3ab8 100644
--- a/arch/arm/cpu/armv8/fsl-layerscape/fsl_lsch2_speed.c
+++ b/arch/arm/cpu/armv8/fsl-layerscape/fsl_lsch2_speed.c
@@ -6,6 +6,7 @@ 
 
 #include <common.h>
 #include <clock_legacy.h>
+#include <compiler.h>
 #include <cpu_func.h>
 #include <stdio.h>
 #include <asm/global_data.h>
@@ -16,6 +17,7 @@ 
 #include <asm/arch/clock.h>
 #include <asm/arch/soc.h>
 #include <fsl_ifc.h>
+#include <linux/types.h>
 #include "cpu.h"
 
 DECLARE_GLOBAL_DATA_PTR;
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 f79328394c9..806ac73b1a6 100644
--- a/arch/arm/cpu/armv8/fsl-layerscape/fsl_lsch3_serdes.c
+++ b/arch/arm/cpu/armv8/fsl-layerscape/fsl_lsch3_serdes.c
@@ -5,12 +5,14 @@ 
  */
 
 #include <common.h>
+#include <compiler.h>
 #include <env.h>
 #include <log.h>
 #include <stdbool.h>
 #include <stdio.h>
 #include <vsprintf.h>
 #include <asm/io.h>
+#include <asm/types.h>
 #include <linux/bitops.h>
 #include <linux/delay.h>
 #include <linux/errno.h>
diff --git a/arch/arm/cpu/armv8/fsl-layerscape/fsl_lsch3_speed.c b/arch/arm/cpu/armv8/fsl-layerscape/fsl_lsch3_speed.c
index 36182fcf97a..9543f32771f 100644
--- a/arch/arm/cpu/armv8/fsl-layerscape/fsl_lsch3_speed.c
+++ b/arch/arm/cpu/armv8/fsl-layerscape/fsl_lsch3_speed.c
@@ -8,6 +8,7 @@ 
 
 #include <common.h>
 #include <clock_legacy.h>
+#include <compiler.h>
 #include <cpu_func.h>
 #include <stdio.h>
 #include <asm/global_data.h>
@@ -19,6 +20,7 @@ 
 #include <asm/arch-fsl-layerscape/immap_lsch3.h>
 #include <asm/arch/clock.h>
 #include <asm/arch/soc.h>
+#include <linux/types.h>
 #include "cpu.h"
 
 DECLARE_GLOBAL_DATA_PTR;
diff --git a/arch/arm/cpu/armv8/fsl-layerscape/icid.c b/arch/arm/cpu/armv8/fsl-layerscape/icid.c
index 5c378da0636..f4801173466 100644
--- a/arch/arm/cpu/armv8/fsl-layerscape/icid.c
+++ b/arch/arm/cpu/armv8/fsl-layerscape/icid.c
@@ -5,6 +5,7 @@ 
 
 #include <common.h>
 #include <stdio.h>
+#include <asm/types.h>
 #include <linux/kernel.h>
 #include <linux/libfdt.h>
 #include <fdt_support.h>
diff --git a/arch/arm/cpu/armv8/fsl-layerscape/ls1012a_serdes.c b/arch/arm/cpu/armv8/fsl-layerscape/ls1012a_serdes.c
index 33d9a64e680..3db03fc450e 100644
--- a/arch/arm/cpu/armv8/fsl-layerscape/ls1012a_serdes.c
+++ b/arch/arm/cpu/armv8/fsl-layerscape/ls1012a_serdes.c
@@ -6,6 +6,7 @@ 
 #include <common.h>
 #include <asm/arch/fsl_serdes.h>
 #include <asm/arch/immap_lsch2.h>
+#include <asm/types.h>
 #include <linux/kernel.h>
 
 struct serdes_config {
diff --git a/arch/arm/cpu/armv8/fsl-layerscape/ls1028_ids.c b/arch/arm/cpu/armv8/fsl-layerscape/ls1028_ids.c
index 4d12ffae1bd..57c3652e376 100644
--- a/arch/arm/cpu/armv8/fsl-layerscape/ls1028_ids.c
+++ b/arch/arm/cpu/armv8/fsl-layerscape/ls1028_ids.c
@@ -11,6 +11,7 @@ 
 #include <asm/arch-fsl-layerscape/fsl_portals.h>
 #include <linux/kernel.h>
 #include <linux/string.h>
+#include <linux/types.h>
 
 struct icid_id_table icid_tbl[] = {
 	SET_USB_ICID(1, "snps,dwc3", FSL_USB1_STREAM_ID),
diff --git a/arch/arm/cpu/armv8/fsl-layerscape/ls1028a_serdes.c b/arch/arm/cpu/armv8/fsl-layerscape/ls1028a_serdes.c
index 1079dd8b95f..0785c3999a2 100644
--- a/arch/arm/cpu/armv8/fsl-layerscape/ls1028a_serdes.c
+++ b/arch/arm/cpu/armv8/fsl-layerscape/ls1028a_serdes.c
@@ -5,6 +5,7 @@ 
 
 #include <common.h>
 #include <asm/arch/fsl_serdes.h>
+#include <asm/types.h>
 #include <linux/kernel.h>
 
 struct serdes_config {
diff --git a/arch/arm/cpu/armv8/fsl-layerscape/ls1043a_serdes.c b/arch/arm/cpu/armv8/fsl-layerscape/ls1043a_serdes.c
index 8a9ef8fef93..f3c5341d1aa 100644
--- a/arch/arm/cpu/armv8/fsl-layerscape/ls1043a_serdes.c
+++ b/arch/arm/cpu/armv8/fsl-layerscape/ls1043a_serdes.c
@@ -6,6 +6,7 @@ 
 #include <common.h>
 #include <asm/arch/fsl_serdes.h>
 #include <asm/arch/immap_lsch2.h>
+#include <asm/types.h>
 #include <linux/kernel.h>
 
 struct serdes_config {
diff --git a/arch/arm/cpu/armv8/fsl-layerscape/ls1046a_serdes.c b/arch/arm/cpu/armv8/fsl-layerscape/ls1046a_serdes.c
index 0c1c40d04b3..0a5bd79ed10 100644
--- a/arch/arm/cpu/armv8/fsl-layerscape/ls1046a_serdes.c
+++ b/arch/arm/cpu/armv8/fsl-layerscape/ls1046a_serdes.c
@@ -7,6 +7,7 @@ 
 #include <common.h>
 #include <asm/arch/fsl_serdes.h>
 #include <asm/arch/immap_lsch2.h>
+#include <asm/types.h>
 #include <linux/kernel.h>
 
 struct serdes_config {
diff --git a/arch/arm/cpu/armv8/fsl-layerscape/ls1088a_serdes.c b/arch/arm/cpu/armv8/fsl-layerscape/ls1088a_serdes.c
index fb7680fdc5f..4fdbb796069 100644
--- a/arch/arm/cpu/armv8/fsl-layerscape/ls1088a_serdes.c
+++ b/arch/arm/cpu/armv8/fsl-layerscape/ls1088a_serdes.c
@@ -4,9 +4,12 @@ 
  */
 
 #include <common.h>
+#include <compiler.h>
+#include <stdbool.h>
 #include <asm/arch/fsl_serdes.h>
 #include <asm/arch/soc.h>
 #include <asm/io.h>
+#include <asm/types.h>
 #include <linux/kernel.h>
 
 struct serdes_config {
diff --git a/arch/arm/cpu/armv8/fsl-layerscape/ls2080a_serdes.c b/arch/arm/cpu/armv8/fsl-layerscape/ls2080a_serdes.c
index b21da530dcf..fea83f0cce1 100644
--- a/arch/arm/cpu/armv8/fsl-layerscape/ls2080a_serdes.c
+++ b/arch/arm/cpu/armv8/fsl-layerscape/ls2080a_serdes.c
@@ -5,6 +5,7 @@ 
 
 #include <common.h>
 #include <asm/arch/fsl_serdes.h>
+#include <asm/types.h>
 #include <linux/kernel.h>
 
 struct serdes_config {
diff --git a/arch/arm/cpu/armv8/fsl-layerscape/lx2160a_serdes.c b/arch/arm/cpu/armv8/fsl-layerscape/lx2160a_serdes.c
index 67c8f665146..6b2b0b4d79a 100644
--- a/arch/arm/cpu/armv8/fsl-layerscape/lx2160a_serdes.c
+++ b/arch/arm/cpu/armv8/fsl-layerscape/lx2160a_serdes.c
@@ -5,6 +5,7 @@ 
 
 #include <common.h>
 #include <asm/arch/fsl_serdes.h>
+#include <asm/types.h>
 #include <linux/kernel.h>
 
 struct serdes_config {
diff --git a/arch/arm/cpu/armv8/fsl-layerscape/mp.c b/arch/arm/cpu/armv8/fsl-layerscape/mp.c
index 0bccb38998c..396c2ba78dd 100644
--- a/arch/arm/cpu/armv8/fsl-layerscape/mp.c
+++ b/arch/arm/cpu/armv8/fsl-layerscape/mp.c
@@ -4,6 +4,7 @@ 
  */
 
 #include <common.h>
+#include <compiler.h>
 #include <cpu_func.h>
 #include <image.h>
 #include <log.h>
@@ -19,6 +20,7 @@ 
 #include <linux/delay.h>
 #include <linux/kernel.h>
 #include <linux/string.h>
+#include <linux/types.h>
 #include "cpu.h"
 #include <asm/arch-fsl-layerscape/soc.h>
 #include <efi_loader.h>
diff --git a/arch/arm/cpu/armv8/fsl-layerscape/ppa.c b/arch/arm/cpu/armv8/fsl-layerscape/ppa.c
index 4aaeda367bf..3b5298b708b 100644
--- a/arch/arm/cpu/armv8/fsl-layerscape/ppa.c
+++ b/arch/arm/cpu/armv8/fsl-layerscape/ppa.c
@@ -3,6 +3,7 @@ 
  * Copyright 2016 NXP Semiconductor, Inc.
  */
 #include <common.h>
+#include <compiler.h>
 #include <log.h>
 #include <malloc.h>
 #include <config.h>
@@ -26,6 +27,7 @@ 
 #endif
 #include <linux/errno.h>
 #include <linux/kernel.h>
+#include <linux/types.h>
 
 #ifdef CONFIG_SYS_LS_PPA_FW_IN_NAND
 #include <nand.h>
diff --git a/arch/arm/cpu/armv8/fsl-layerscape/soc.c b/arch/arm/cpu/armv8/fsl-layerscape/soc.c
index 1bd6f2111c5..b53c06f35fa 100644
--- a/arch/arm/cpu/armv8/fsl-layerscape/soc.c
+++ b/arch/arm/cpu/armv8/fsl-layerscape/soc.c
@@ -6,6 +6,7 @@ 
 
 #include <common.h>
 #include <clock_legacy.h>
+#include <compiler.h>
 #include <cpu_func.h>
 #include <env.h>
 #include <fsl_immap.h>
@@ -44,6 +45,7 @@ 
 #if defined(CONFIG_TFABOOT) || defined(CONFIG_GIC_V3_ITS)
 DECLARE_GLOBAL_DATA_PTR;
 #endif
+#include <linux/types.h>
 
 #ifdef CONFIG_GIC_V3_ITS
 int ls_gic_rd_tables_init(void *blob)
diff --git a/arch/arm/cpu/armv8/fsl-layerscape/spl.c b/arch/arm/cpu/armv8/fsl-layerscape/spl.c
index 5ba5db3223a..a30b3547cc4 100644
--- a/arch/arm/cpu/armv8/fsl-layerscape/spl.c
+++ b/arch/arm/cpu/armv8/fsl-layerscape/spl.c
@@ -5,6 +5,7 @@ 
 
 #include <common.h>
 #include <clock_legacy.h>
+#include <compiler.h>
 #include <cpu_func.h>
 #include <env.h>
 #include <image.h>
@@ -22,6 +23,7 @@ 
 #include <asm/arch/soc.h>
 #include <asm/u-boot.h>
 #include <linux/string.h>
+#include <linux/types.h>
 
 DECLARE_GLOBAL_DATA_PTR;
 
diff --git a/arch/arm/cpu/armv8/fwcall.c b/arch/arm/cpu/armv8/fwcall.c
index 8085a0351f3..d57680892c9 100644
--- a/arch/arm/cpu/armv8/fwcall.c
+++ b/arch/arm/cpu/armv8/fwcall.c
@@ -14,6 +14,7 @@ 
 #include <asm/psci.h>
 #include <asm/ptrace.h>
 #include <asm/system.h>
+#include <asm/types.h>
 
 /*
  * Issue the hypervisor call
diff --git a/arch/arm/cpu/armv8/generic_timer.c b/arch/arm/cpu/armv8/generic_timer.c
index f27a74b9d09..2f7fbc20e49 100644
--- a/arch/arm/cpu/armv8/generic_timer.c
+++ b/arch/arm/cpu/armv8/generic_timer.c
@@ -11,6 +11,7 @@ 
 #include <asm/global_data.h>
 #include <asm/system.h>
 #include <linux/bitops.h>
+#include <linux/types.h>
 
 DECLARE_GLOBAL_DATA_PTR;
 
diff --git a/arch/arm/cpu/armv8/hisilicon/pinmux.c b/arch/arm/cpu/armv8/hisilicon/pinmux.c
index 5183e00a44c..4d90ea1130f 100644
--- a/arch/arm/cpu/armv8/hisilicon/pinmux.c
+++ b/arch/arm/cpu/armv8/hisilicon/pinmux.c
@@ -10,6 +10,7 @@ 
 #include <asm/gpio.h>
 #include <asm/io.h>
 #include <asm/arch/pinmux.h>
+#include <asm/types.h>
 #include <linux/bitops.h>
 
 struct hi6220_pinmux0_regs *pmx0 =
diff --git a/arch/arm/cpu/armv8/s32v234/cpu.c b/arch/arm/cpu/armv8/s32v234/cpu.c
index c58fb38e531..e3d151d3210 100644
--- a/arch/arm/cpu/armv8/s32v234/cpu.c
+++ b/arch/arm/cpu/armv8/s32v234/cpu.c
@@ -13,6 +13,7 @@ 
 #include <asm/armv8/mmu.h>
 #include <asm/io.h>
 #include <asm/arch/mc_me_regs.h>
+#include <asm/types.h>
 #include <asm/u-boot.h>
 #include <linux/bitops.h>
 #include "cpu.h"
diff --git a/arch/arm/cpu/armv8/s32v234/cpu.h b/arch/arm/cpu/armv8/s32v234/cpu.h
index 11c3a6b435e..a066661d90a 100644
--- a/arch/arm/cpu/armv8/s32v234/cpu.h
+++ b/arch/arm/cpu/armv8/s32v234/cpu.h
@@ -3,5 +3,6 @@ 
  * (C) Copyright 2014-2016, Freescale Semiconductor, Inc.
  */
 
+#include <asm/types.h>
 u32 cpu_mask(void);
 int cpu_numcores(void);
diff --git a/arch/arm/cpu/armv8/s32v234/generic.c b/arch/arm/cpu/armv8/s32v234/generic.c
index 575dbb1f609..0f43135b206 100644
--- a/arch/arm/cpu/armv8/s32v234/generic.c
+++ b/arch/arm/cpu/armv8/s32v234/generic.c
@@ -21,6 +21,7 @@ 
 #include <errno.h>
 #include <asm/u-boot.h>
 #include <linux/errno.h>
+#include <linux/types.h>
 
 u32 get_cpu_rev(void)
 {
diff --git a/arch/arm/cpu/armv8/sec_firmware.c b/arch/arm/cpu/armv8/sec_firmware.c
index 1b273db4f98..a2a7e52a975 100644
--- a/arch/arm/cpu/armv8/sec_firmware.c
+++ b/arch/arm/cpu/armv8/sec_firmware.c
@@ -4,11 +4,13 @@ 
  */
 
 #include <common.h>
+#include <compiler.h>
 #include <cpu_func.h>
 #include <errno.h>
 #include <fdt_support.h>
 #include <image.h>
 #include <log.h>
+#include <stdbool.h>
 #include <stdio.h>
 #include <asm/cache.h>
 #include <asm/global_data.h>
@@ -21,6 +23,7 @@ 
 #include <asm/macro.h>
 #include <asm/armv8/sec_firmware.h>
 #include <linux/string.h>
+#include <linux/types.h>
 
 DECLARE_GLOBAL_DATA_PTR;
 extern void c_runtime_cpu_setup(void);
diff --git a/arch/arm/cpu/armv8/spl_data.c b/arch/arm/cpu/armv8/spl_data.c
index f8f9fe2e026..864b2ebe7a7 100644
--- a/arch/arm/cpu/armv8/spl_data.c
+++ b/arch/arm/cpu/armv8/spl_data.c
@@ -5,6 +5,7 @@ 
 
 #include <common.h>
 #include <spl.h>
+#include <asm/types.h>
 #include <linux/string.h>
 
 char __data_save_start[0] __section(.__data_save_start);
diff --git a/arch/arm/cpu/pxa/cache.c b/arch/arm/cpu/pxa/cache.c
index a2ec5e28c7d..97b6b3a0fd6 100644
--- a/arch/arm/cpu/pxa/cache.c
+++ b/arch/arm/cpu/pxa/cache.c
@@ -3,6 +3,7 @@ 
  * (C) Copyright 2016 Vasily Khoruzhick <anarsoul@gmail.com>
  */
 
+#include <compiler.h>
 #include <cpu_func.h>
 #include <asm/cache.h>
 #include <linux/types.h>
diff --git a/arch/arm/cpu/pxa/cpuinfo.c b/arch/arm/cpu/pxa/cpuinfo.c
index ff56c3a82be..e54d06210d5 100644
--- a/arch/arm/cpu/pxa/cpuinfo.c
+++ b/arch/arm/cpu/pxa/cpuinfo.c
@@ -12,6 +12,7 @@ 
 #include <errno.h>
 #include <linux/compiler.h>
 #include <linux/errno.h>
+#include <linux/types.h>
 
 #ifdef CONFIG_CPU_PXA25X
 #if ((CONFIG_SYS_INIT_SP_ADDR) != 0xfffff800)
diff --git a/arch/arm/cpu/pxa/pxa2xx.c b/arch/arm/cpu/pxa/pxa2xx.c
index 9a8b2361ad9..4bcef607c23 100644
--- a/arch/arm/cpu/pxa/pxa2xx.c
+++ b/arch/arm/cpu/pxa/pxa2xx.c
@@ -19,6 +19,7 @@ 
 #include <asm/system.h>
 #include <command.h>
 #include <asm/u-boot.h>
+#include <linux/types.h>
 
 /* Flush I/D-cache */
 static void cache_flush(void)
diff --git a/arch/arm/cpu/sa1100/cpu.c b/arch/arm/cpu/sa1100/cpu.c
index 91e100af1b6..f264d1b5601 100644
--- a/arch/arm/cpu/sa1100/cpu.c
+++ b/arch/arm/cpu/sa1100/cpu.c
@@ -19,6 +19,7 @@ 
 #include <irq_func.h>
 #include <asm/system.h>
 #include <asm/io.h>
+#include <linux/types.h>
 
 static void cache_flush(void);
 
diff --git a/arch/arm/cpu/sa1100/timer.c b/arch/arm/cpu/sa1100/timer.c
index 5d597dd1ab4..e3227d7c25c 100644
--- a/arch/arm/cpu/sa1100/timer.c
+++ b/arch/arm/cpu/sa1100/timer.c
@@ -13,6 +13,7 @@ 
 #include <SA-1100.h>
 #include <time.h>
 #include <linux/delay.h>
+#include <linux/types.h>
 
 static ulong get_timer_masked (void)
 {
diff --git a/arch/arm/include/asm/arch-am33xx/clk_synthesizer.h b/arch/arm/include/asm/arch-am33xx/clk_synthesizer.h
index 7bcafba6f0b..6d09b53fb93 100644
--- a/arch/arm/include/asm/arch-am33xx/clk_synthesizer.h
+++ b/arch/arm/include/asm/arch-am33xx/clk_synthesizer.h
@@ -10,6 +10,7 @@ 
 #ifndef __CLK_SYNTHESIZER_H
 #define __CLK_SYNTHESIZER_H
 
+#include <asm/types.h>
 #define CLK_SYNTHESIZER_ID_REG		0x0
 #define CLK_SYNTHESIZER_XCSEL		0x05
 #define CLK_SYNTHESIZER_MUX_REG		0x14
diff --git a/arch/arm/include/asm/arch-am33xx/clock.h b/arch/arm/include/asm/arch-am33xx/clock.h
index dc7a9b188d3..a5b14ca4563 100644
--- a/arch/arm/include/asm/arch-am33xx/clock.h
+++ b/arch/arm/include/asm/arch-am33xx/clock.h
@@ -12,6 +12,7 @@ 
 
 #include <asm/arch/clocks_am33xx.h>
 #include <asm/arch/hardware.h>
+#include <linux/types.h>
 
 #if defined(CONFIG_TI816X) || defined(CONFIG_TI814X)
 #include <asm/arch/clock_ti81xx.h>
diff --git a/arch/arm/include/asm/arch-am33xx/ddr_defs.h b/arch/arm/include/asm/arch-am33xx/ddr_defs.h
index 15a5b641ffa..4fd111ef700 100644
--- a/arch/arm/include/asm/arch-am33xx/ddr_defs.h
+++ b/arch/arm/include/asm/arch-am33xx/ddr_defs.h
@@ -12,6 +12,7 @@ 
 
 #include <asm/arch/hardware.h>
 #include <asm/emif.h>
+#include <asm/types.h>
 
 /* AM335X EMIF Register values */
 #define VTP_CTRL_READY		(0x1 << 5)
diff --git a/arch/arm/include/asm/arch-am33xx/sys_proto.h b/arch/arm/include/asm/arch-am33xx/sys_proto.h
index be17aad29ee..46fef0da51f 100644
--- a/arch/arm/include/asm/arch-am33xx/sys_proto.h
+++ b/arch/arm/include/asm/arch-am33xx/sys_proto.h
@@ -11,6 +11,7 @@ 
 #define _SYS_PROTO_H_
 #include <linux/mtd/omap_gpmc.h>
 #include <asm/arch/cpu.h>
+#include <linux/types.h>
 
 u32 get_cpu_rev(void);
 u32 get_sysboot_value(void);
diff --git a/arch/arm/include/asm/arch-armada100/cpu.h b/arch/arm/include/asm/arch-armada100/cpu.h
index cd5e5051d51..1565e101832 100644
--- a/arch/arm/include/asm/arch-armada100/cpu.h
+++ b/arch/arm/include/asm/arch-armada100/cpu.h
@@ -10,6 +10,7 @@ 
 
 #include <asm/io.h>
 #include <asm/system.h>
+#include <asm/types.h>
 
 /*
  * Main Power Management (MPMU) Registers
diff --git a/arch/arm/include/asm/arch-armada100/spi.h b/arch/arm/include/asm/arch-armada100/spi.h
index 873ba6e91c9..4a4dcd95f94 100644
--- a/arch/arm/include/asm/arch-armada100/spi.h
+++ b/arch/arm/include/asm/arch-armada100/spi.h
@@ -12,6 +12,7 @@ 
 #define __ARMADA100_SPI_H_
 
 #include <asm/arch/armada100.h>
+#include <asm/types.h>
 
 #define CAT_BASE_ADDR(x)	ARMD1_SSP ## x ## _BASE
 #define SSP_REG_BASE(x)		CAT_BASE_ADDR(x)
diff --git a/arch/arm/include/asm/arch-armada100/utmi-armada100.h b/arch/arm/include/asm/arch-armada100/utmi-armada100.h
index 28147f42acf..8511b875ea6 100644
--- a/arch/arm/include/asm/arch-armada100/utmi-armada100.h
+++ b/arch/arm/include/asm/arch-armada100/utmi-armada100.h
@@ -11,6 +11,7 @@ 
 #ifndef __UTMI_ARMADA100__
 #define __UTMI_ARMADA100__
 
+#include <asm/types.h>
 #define UTMI_PHY_BASE		0xD4206000
 
 /* utmi_ctrl - bits */
diff --git a/arch/arm/include/asm/arch-armv7/globaltimer.h b/arch/arm/include/asm/arch-armv7/globaltimer.h
index 2d9cf77980c..a4e8eaa4f96 100644
--- a/arch/arm/include/asm/arch-armv7/globaltimer.h
+++ b/arch/arm/include/asm/arch-armv7/globaltimer.h
@@ -6,6 +6,7 @@ 
 #ifndef _GLOBALTIMER_H_
 #define _GLOBALTIMER_H_
 
+#include <asm/types.h>
 struct globaltimer {
 	u32 cnt_l; /* 0x00 */
 	u32 cnt_h;
diff --git a/arch/arm/include/asm/arch-armv7/sysctrl.h b/arch/arm/include/asm/arch-armv7/sysctrl.h
index fc72fac8d87..e7e660362cf 100644
--- a/arch/arm/include/asm/arch-armv7/sysctrl.h
+++ b/arch/arm/include/asm/arch-armv7/sysctrl.h
@@ -7,6 +7,7 @@ 
 #define _SYSCTRL_H_
 
 /* System controller (SP810) register definitions */
+#include <asm/types.h>
 #define SP810_TIMER0_ENSEL	(1 << 15)
 #define SP810_TIMER1_ENSEL	(1 << 17)
 #define SP810_TIMER2_ENSEL	(1 << 19)
diff --git a/arch/arm/include/asm/arch-armv7/systimer.h b/arch/arm/include/asm/arch-armv7/systimer.h
index 04c41304581..4b9a29b0b4c 100644
--- a/arch/arm/include/asm/arch-armv7/systimer.h
+++ b/arch/arm/include/asm/arch-armv7/systimer.h
@@ -7,6 +7,7 @@ 
 #define _SYSTIMER_H_
 
 /* AMBA timer register base address */
+#include <asm/types.h>
 #define SYSTIMER_BASE		0x10011000
 
 #define SYSHZ_CLOCK		1000000		/* Timers -> 1Mhz */
diff --git a/arch/arm/include/asm/arch-armv7/wdt.h b/arch/arm/include/asm/arch-armv7/wdt.h
index e3fa16ffab5..593ec779490 100644
--- a/arch/arm/include/asm/arch-armv7/wdt.h
+++ b/arch/arm/include/asm/arch-armv7/wdt.h
@@ -7,6 +7,7 @@ 
 #define _WDT_H_
 
 /* Watchdog timer (SP805) register base address */
+#include <asm/types.h>
 #define WDT_BASE	0x100E5000
 
 #define WDT_EN		0x2
diff --git a/arch/arm/include/asm/arch-aspeed/scu_ast2500.h b/arch/arm/include/asm/arch-aspeed/scu_ast2500.h
index 8db4901cc9b..c2a1e122f9b 100644
--- a/arch/arm/include/asm/arch-aspeed/scu_ast2500.h
+++ b/arch/arm/include/asm/arch-aspeed/scu_ast2500.h
@@ -141,6 +141,7 @@ 
 
 #ifndef __ASSEMBLY__
 
+#include <asm/types.h>
 struct ast2500_clk_priv {
 	struct ast2500_scu *scu;
 };
diff --git a/arch/arm/include/asm/arch-aspeed/sdram_ast2500.h b/arch/arm/include/asm/arch-aspeed/sdram_ast2500.h
index 0bc551fbecf..e66dff74e6b 100644
--- a/arch/arm/include/asm/arch-aspeed/sdram_ast2500.h
+++ b/arch/arm/include/asm/arch-aspeed/sdram_ast2500.h
@@ -97,6 +97,7 @@ 
 
 #ifndef __ASSEMBLY__
 
+#include <asm/types.h>
 struct ast2500_sdrammc_regs {
 	u32 protection_key;
 	u32 config;
diff --git a/arch/arm/include/asm/arch-aspeed/timer.h b/arch/arm/include/asm/arch-aspeed/timer.h
index ff24e2f86e3..332c0f850b2 100644
--- a/arch/arm/include/asm/arch-aspeed/timer.h
+++ b/arch/arm/include/asm/arch-aspeed/timer.h
@@ -28,6 +28,7 @@ 
  * it this just one device.
  */
 
+#include <asm/types.h>
 struct ast_timer_counter {
 	u32 status;
 	u32 reload_val;
diff --git a/arch/arm/include/asm/arch-aspeed/wdt.h b/arch/arm/include/asm/arch-aspeed/wdt.h
index fb04d41d3cb..f71fcaad969 100644
--- a/arch/arm/include/asm/arch-aspeed/wdt.h
+++ b/arch/arm/include/asm/arch-aspeed/wdt.h
@@ -67,6 +67,7 @@ 
 	 WDT_RESET_ADC | WDT_RESET_GPIO | WDT_RESET_MISC)
 
 #ifndef __ASSEMBLY__
+#include <linux/types.h>
 struct ast_wdt {
 	u32 counter_status;
 	u32 counter_reload_val;
diff --git a/arch/arm/include/asm/arch-ep93xx/ep93xx.h b/arch/arm/include/asm/arch-ep93xx/ep93xx.h
index 272b64480d1..4f7561a74fe 100644
--- a/arch/arm/include/asm/arch-ep93xx/ep93xx.h
+++ b/arch/arm/include/asm/arch-ep93xx/ep93xx.h
@@ -31,6 +31,7 @@ 
 #define DMA_BASE			(EP93XX_AHB_BASE | DMA_OFFSET)
 
 #ifndef __ASSEMBLY__
+#include <linux/types.h>
 struct dma_channel {
 	uint32_t control;
 	uint32_t interrupt;
diff --git a/arch/arm/include/asm/arch-fsl-layerscape/clock.h b/arch/arm/include/asm/arch-fsl-layerscape/clock.h
index 41272e44bf3..6720f939d46 100644
--- a/arch/arm/include/asm/arch-fsl-layerscape/clock.h
+++ b/arch/arm/include/asm/arch-fsl-layerscape/clock.h
@@ -9,6 +9,7 @@ 
 #define __ASM_ARCH_FSL_LAYERSCAPE_CLOCK_H_
 
 #include <asm/u-boot.h>
+#include <linux/types.h>
 enum mxc_clock {
 	MXC_ARM_CLK = 0,
 	MXC_BUS_CLK,
diff --git a/arch/arm/include/asm/arch-fsl-layerscape/cpu.h b/arch/arm/include/asm/arch-fsl-layerscape/cpu.h
index 7759acdb8f6..6ef62fb8eea 100644
--- a/arch/arm/include/asm/arch-fsl-layerscape/cpu.h
+++ b/arch/arm/include/asm/arch-fsl-layerscape/cpu.h
@@ -17,6 +17,7 @@ 
 #define CONFIG_SYS_FSL_IFC_SIZE1	0x10000000
 #define CONFIG_SYS_FSL_IFC_SIZE1_1	0x400000
 #endif
+#include <asm/types.h>
 #define CONFIG_SYS_FSL_DRAM_BASE1	0x80000000
 #define CONFIG_SYS_FSL_DRAM_SIZE1	0x80000000
 #define CONFIG_SYS_FSL_QSPI_BASE2	0x400000000
diff --git a/arch/arm/include/asm/arch-fsl-layerscape/fsl_portals.h b/arch/arm/include/asm/arch-fsl-layerscape/fsl_portals.h
index 1577e935a60..7713a515023 100644
--- a/arch/arm/include/asm/arch-fsl-layerscape/fsl_portals.h
+++ b/arch/arm/include/asm/arch-fsl-layerscape/fsl_portals.h
@@ -6,6 +6,7 @@ 
 #ifndef _FSL_PORTALS_H_
 #define _FSL_PORTALS_H_
 
+#include <asm/types.h>
 struct qportal_info {
 	u16	dicid;	/* DQRR ICID */
 	u16	ficid;	/* frame data ICID */
diff --git a/arch/arm/include/asm/arch-fsl-layerscape/fsl_serdes.h b/arch/arm/include/asm/arch-fsl-layerscape/fsl_serdes.h
index 8f436517569..86ef17b6283 100644
--- a/arch/arm/include/asm/arch-fsl-layerscape/fsl_serdes.h
+++ b/arch/arm/include/asm/arch-fsl-layerscape/fsl_serdes.h
@@ -8,6 +8,7 @@ 
 #define __FSL_SERDES_H__
 
 #include <config.h>
+#include <asm/types.h>
 
 #ifdef CONFIG_FSL_LSCH3
 enum srds_prtcl {
diff --git a/arch/arm/include/asm/arch-fsl-layerscape/gpio.h b/arch/arm/include/asm/arch-fsl-layerscape/gpio.h
index 7ae5eee8b66..0b959b00fd1 100644
--- a/arch/arm/include/asm/arch-fsl-layerscape/gpio.h
+++ b/arch/arm/include/asm/arch-fsl-layerscape/gpio.h
@@ -13,6 +13,7 @@ 
 #ifndef __ASM_ARCH_MX85XX_GPIO_H
 #define __ASM_ARCH_MX85XX_GPIO_H
 
+#include <linux/types.h>
 struct mpc8xxx_gpio_plat {
 	ulong addr;
 	ulong size;
diff --git a/arch/arm/include/asm/arch-fsl-layerscape/immap_lsch2.h b/arch/arm/include/asm/arch-fsl-layerscape/immap_lsch2.h
index ae0504652bf..6a0081d46db 100644
--- a/arch/arm/include/asm/arch-fsl-layerscape/immap_lsch2.h
+++ b/arch/arm/include/asm/arch-fsl-layerscape/immap_lsch2.h
@@ -10,6 +10,7 @@ 
 #ifndef __ASSEMBLY__
 #include <asm/u-boot.h>
 #include <linux/bitops.h>
+#include <linux/types.h>
 #endif
 
 #define CONFIG_SYS_IMMR				0x01000000
diff --git a/arch/arm/include/asm/arch-fsl-layerscape/immap_lsch3.h b/arch/arm/include/asm/arch-fsl-layerscape/immap_lsch3.h
index baa9fa8529c..73d50e08926 100644
--- a/arch/arm/include/asm/arch-fsl-layerscape/immap_lsch3.h
+++ b/arch/arm/include/asm/arch-fsl-layerscape/immap_lsch3.h
@@ -292,6 +292,7 @@ 
 #define TP_INIT_PER_CLUSTER     4
 /* This is chassis generation 3 */
 #ifndef __ASSEMBLY__
+#include <asm/types.h>
 struct sys_info {
 	unsigned long freq_processor[CONFIG_MAX_CPUS];
 	/* frequency of platform PLL */
diff --git a/arch/arm/include/asm/arch-fsl-layerscape/mp.h b/arch/arm/include/asm/arch-fsl-layerscape/mp.h
index faac8f11286..ad70074d18d 100644
--- a/arch/arm/include/asm/arch-fsl-layerscape/mp.h
+++ b/arch/arm/include/asm/arch-fsl-layerscape/mp.h
@@ -32,6 +32,7 @@ 
 
 #define id_to_core(x)	((x & 3) | (x >> 6))
 #ifndef __ASSEMBLY__
+#include <linux/types.h>
 extern u64 __real_cntfrq;
 extern void *secondary_boot_addr;
 extern void *secondary_boot_code_start;
diff --git a/arch/arm/include/asm/arch-hi6220/dwmmc.h b/arch/arm/include/asm/arch-hi6220/dwmmc.h
index cf51c178c3f..ae61e7109f6 100644
--- a/arch/arm/include/asm/arch-hi6220/dwmmc.h
+++ b/arch/arm/include/asm/arch-hi6220/dwmmc.h
@@ -4,4 +4,5 @@ 
  * Peter Griffin <peter.griffin@linaro.org>
  */
 
+#include <asm/types.h>
 int hi6220_dwmci_add_port(int index, u32 regbase, int bus_width);
diff --git a/arch/arm/include/asm/arch-hi6220/gpio.h b/arch/arm/include/asm/arch-hi6220/gpio.h
index c5ee359a3a1..c02a1fcb992 100644
--- a/arch/arm/include/asm/arch-hi6220/gpio.h
+++ b/arch/arm/include/asm/arch-hi6220/gpio.h
@@ -7,6 +7,7 @@ 
 #ifndef _HI6220_GPIO_H_
 #define _HI6220_GPIO_H_
 
+#include <linux/types.h>
 #define HI6220_GPIO_BASE(bank)	(((bank < 4) ? 0xf8011000 : \
 				0xf7020000 - 0x4000) + (0x1000 * bank))
 
diff --git a/arch/arm/include/asm/arch-hi6220/hi6220_regs_alwayson.h b/arch/arm/include/asm/arch-hi6220/hi6220_regs_alwayson.h
index 4b9a0d44acb..d719169c77f 100644
--- a/arch/arm/include/asm/arch-hi6220/hi6220_regs_alwayson.h
+++ b/arch/arm/include/asm/arch-hi6220/hi6220_regs_alwayson.h
@@ -7,6 +7,7 @@ 
 #ifndef __HI6220_ALWAYSON_H__
 #define __HI6220_ALWAYSON_H__
 
+#include <asm/types.h>
 #define ALWAYSON_CTRL_BASE			0xF7800000
 
 struct alwayson_sc_regs {
diff --git a/arch/arm/include/asm/arch-hi6220/pinmux.h b/arch/arm/include/asm/arch-hi6220/pinmux.h
index b4a9957e807..2673c1acc99 100644
--- a/arch/arm/include/asm/arch-hi6220/pinmux.h
+++ b/arch/arm/include/asm/arch-hi6220/pinmux.h
@@ -57,6 +57,7 @@ 
 /* maybe more registers, but highest used is 123 */
 #define REG_NUM 123
 
+#include <linux/types.h>
 struct hi6220_pinmux0_regs {
 	uint32_t	iomg[REG_NUM];
 };
diff --git a/arch/arm/include/asm/arch-imx/cpu.h b/arch/arm/include/asm/arch-imx/cpu.h
index 75ff991248c..4e95c8a7a12 100644
--- a/arch/arm/include/asm/arch-imx/cpu.h
+++ b/arch/arm/include/asm/arch-imx/cpu.h
@@ -3,6 +3,7 @@ 
  * (C) Copyright 2014 Freescale Semiconductor, Inc.
  */
 
+#include <linux/types.h>
 #define MXC_CPU_MX23		0x23
 #define MXC_CPU_MX25		0x25
 #define MXC_CPU_MX27		0x27
diff --git a/arch/arm/include/asm/arch-imx8/clock.h b/arch/arm/include/asm/arch-imx8/clock.h
index bea157171fb..ce2d65a69d6 100644
--- a/arch/arm/include/asm/arch-imx8/clock.h
+++ b/arch/arm/include/asm/arch-imx8/clock.h
@@ -7,6 +7,7 @@ 
 #define __ASM_ARCH_IMX8_CLOCK_H__
 
 /* Mainly for compatible to imx common code. */
+#include <asm/types.h>
 enum mxc_clock {
 	MXC_ARM_CLK = 0,
 	MXC_AHB_CLK,
diff --git a/arch/arm/include/asm/arch-imx8/gpio.h b/arch/arm/include/asm/arch-imx8/gpio.h
index 24cfde3c297..3ba211b0a61 100644
--- a/arch/arm/include/asm/arch-imx8/gpio.h
+++ b/arch/arm/include/asm/arch-imx8/gpio.h
@@ -18,4 +18,5 @@  struct gpio_regs {
 /* IMX8 the GPIO index is from 0 not 1 */
 #define IMX_GPIO_NR(port, index)		(((port) * 32) + ((index) & 31))
 
+#include <asm/types.h>
 #endif /* __ASM_ARCH_IMX8_GPIO_H */
diff --git a/arch/arm/include/asm/arch-imx8/image.h b/arch/arm/include/asm/arch-imx8/image.h
index c1e5700859d..1c6e05b49eb 100644
--- a/arch/arm/include/asm/arch-imx8/image.h
+++ b/arch/arm/include/asm/arch-imx8/image.h
@@ -6,6 +6,7 @@ 
 #ifndef __CONTAINER_HEADER_H_
 #define __CONTAINER_HEADER_H_
 
+#include <compiler.h>
 #include <linux/sizes.h>
 #include <linux/types.h>
 
diff --git a/arch/arm/include/asm/arch-imx8/iomux.h b/arch/arm/include/asm/arch-imx8/iomux.h
index 3acef1ea6ba..c7cab5770d3 100644
--- a/arch/arm/include/asm/arch-imx8/iomux.h
+++ b/arch/arm/include/asm/arch-imx8/iomux.h
@@ -7,6 +7,7 @@ 
 #define __ASM_ARCH_IMX8_IOMUX_H__
 
 #ifndef __ASSEMBLY__
+#include <asm/types.h>
 #include <linux/bitops.h>
 #endif
 
diff --git a/arch/arm/include/asm/arch-imx8/sci/rpc.h b/arch/arm/include/asm/arch-imx8/sci/rpc.h
index 9f55904f442..04dd413aa04 100644
--- a/arch/arm/include/asm/arch-imx8/sci/rpc.h
+++ b/arch/arm/include/asm/arch-imx8/sci/rpc.h
@@ -10,6 +10,7 @@ 
 /* Note: Check SCFW API Released DOC before you want to modify something */
 /* Defines */
 
+#include <asm/types.h>
 #define SCFW_API_VERSION_MAJOR  1U
 #define SCFW_API_VERSION_MINOR  15U
 
diff --git a/arch/arm/include/asm/arch-imx8/sci/sci.h b/arch/arm/include/asm/arch-imx8/sci/sci.h
index 1c29209b399..ff7be2184f3 100644
--- a/arch/arm/include/asm/arch-imx8/sci/sci.h
+++ b/arch/arm/include/asm/arch-imx8/sci/sci.h
@@ -16,6 +16,7 @@ 
 #include <asm/arch/sci/rpc.h>
 #include <dt-bindings/soc/imx_rsrc.h>
 #include <linux/errno.h>
+#include <linux/types.h>
 
 static inline int sc_err_to_linux(sc_err_t err)
 {
diff --git a/arch/arm/include/asm/arch-imx8/sci/svc/misc/api.h b/arch/arm/include/asm/arch-imx8/sci/svc/misc/api.h
index 3629eb68d7a..4fb7c01f9c4 100644
--- a/arch/arm/include/asm/arch-imx8/sci/svc/misc/api.h
+++ b/arch/arm/include/asm/arch-imx8/sci/svc/misc/api.h
@@ -7,6 +7,7 @@ 
 #define SC_MISC_API_H
 
 /* Defines for sc_misc_boot_status_t */
+#include <asm/types.h>
 #define SC_MISC_BOOT_STATUS_SUCCESS	0U	/* Success */
 #define SC_MISC_BOOT_STATUS_SECURITY	1U	/* Security violation */
 
diff --git a/arch/arm/include/asm/arch-imx8/sci/svc/pm/api.h b/arch/arm/include/asm/arch-imx8/sci/svc/pm/api.h
index 9008b85c6f6..ca80fd3927f 100644
--- a/arch/arm/include/asm/arch-imx8/sci/svc/pm/api.h
+++ b/arch/arm/include/asm/arch-imx8/sci/svc/pm/api.h
@@ -7,6 +7,7 @@ 
 #define SC_PM_API_H
 
 /* Defines for sc_pm_power_mode_t */
+#include <asm/types.h>
 #define SC_PM_PW_MODE_OFF	0U /* Power off */
 #define SC_PM_PW_MODE_STBY	1U /* Power in standby */
 #define SC_PM_PW_MODE_LP	2U /* Power in low-power */
diff --git a/arch/arm/include/asm/arch-imx8/sci/svc/rm/api.h b/arch/arm/include/asm/arch-imx8/sci/svc/rm/api.h
index ed303881e73..4783682e4de 100644
--- a/arch/arm/include/asm/arch-imx8/sci/svc/rm/api.h
+++ b/arch/arm/include/asm/arch-imx8/sci/svc/rm/api.h
@@ -7,6 +7,7 @@ 
 #define SC_RM_API_H
 
 #include <asm/arch/sci/types.h>
+#include <asm/types.h>
 
 /* Defines for type widths */
 #define SC_RM_PARTITION_W   5U      /* Width of sc_rm_pt_t */
diff --git a/arch/arm/include/asm/arch-imx8/sci/svc/seco/api.h b/arch/arm/include/asm/arch-imx8/sci/svc/seco/api.h
index 3ed05842d99..524f857bfb7 100644
--- a/arch/arm/include/asm/arch-imx8/sci/svc/seco/api.h
+++ b/arch/arm/include/asm/arch-imx8/sci/svc/seco/api.h
@@ -9,6 +9,7 @@ 
 /* Includes */
 
 #include <asm/arch/sci/types.h>
+#include <asm/types.h>
 
 /* Defines */
 #define SC_SECO_AUTH_CONTAINER          0U   /* Authenticate container */
diff --git a/arch/arm/include/asm/arch-imx8m/clock.h b/arch/arm/include/asm/arch-imx8m/clock.h
index 848a93ec3f2..2bb81f2bddf 100644
--- a/arch/arm/include/asm/arch-imx8m/clock.h
+++ b/arch/arm/include/asm/arch-imx8m/clock.h
@@ -7,6 +7,7 @@ 
 
 #include <stdbool.h>
 #include <linux/bitops.h>
+#include <linux/types.h>
 
 #ifdef CONFIG_IMX8MQ
 #include <asm/arch/clock_imx8mq.h>
diff --git a/arch/arm/include/asm/arch-imx8m/clock_imx8mm.h b/arch/arm/include/asm/arch-imx8m/clock_imx8mm.h
index 63b14b9ca58..c2f530bf090 100644
--- a/arch/arm/include/asm/arch-imx8m/clock_imx8mm.h
+++ b/arch/arm/include/asm/arch-imx8m/clock_imx8mm.h
@@ -9,6 +9,7 @@ 
 #define _ASM_ARCH_IMX8MM_CLOCK_H
 
 #ifndef __ASSEMBLY__
+#include <asm/types.h>
 #include <linux/bitops.h>
 #endif
 
diff --git a/arch/arm/include/asm/arch-imx8m/ddr.h b/arch/arm/include/asm/arch-imx8m/ddr.h
index 0f1e832c038..790e9d9dfb2 100644
--- a/arch/arm/include/asm/arch-imx8m/ddr.h
+++ b/arch/arm/include/asm/arch-imx8m/ddr.h
@@ -9,6 +9,7 @@ 
 #include <asm/io.h>
 #include <asm/types.h>
 #include <asm/arch/ddr.h>
+#include <linux/types.h>
 
 #define DDRC_DDR_SS_GPR0		0x3d000000
 #define DDRC_IPS_BASE_ADDR_0		0x3f400000
diff --git a/arch/arm/include/asm/arch-imxrt/gpio.h b/arch/arm/include/asm/arch-imxrt/gpio.h
index da31a7438aa..1752bd23fe8 100644
--- a/arch/arm/include/asm/arch-imxrt/gpio.h
+++ b/arch/arm/include/asm/arch-imxrt/gpio.h
@@ -16,4 +16,5 @@  struct gpio_regs {
 };
 #endif
 
+#include <asm/types.h>
 #endif /* __ASM_ARCH_GPIO_H__ */
diff --git a/arch/arm/include/asm/arch-lpc32xx/dma.h b/arch/arm/include/asm/arch-lpc32xx/dma.h
index d69e3c4664d..f480f7c7cd8 100644
--- a/arch/arm/include/asm/arch-lpc32xx/dma.h
+++ b/arch/arm/include/asm/arch-lpc32xx/dma.h
@@ -12,6 +12,7 @@ 
 #define _LPC32XX_DMA_H
 
 /*
+#include <asm/types.h>
  * DMA linked list structure used with a channel's LLI register;
  * refer to UM10326, "LPC32x0 and LPC32x0/01 User manual" - Rev. 3
  * tables 84, 85, 86 & 87 for details.
diff --git a/arch/arm/include/asm/arch-lpc32xx/gpio.h b/arch/arm/include/asm/arch-lpc32xx/gpio.h
index 93e7a887521..332ae6f8850 100644
--- a/arch/arm/include/asm/arch-lpc32xx/gpio.h
+++ b/arch/arm/include/asm/arch-lpc32xx/gpio.h
@@ -10,6 +10,7 @@ 
  * GPIO Register map for LPC32xx
  */
 
+#include <asm/types.h>
 struct gpio_regs {
 	u32 p3_inp_state;
 	u32 p3_outp_set;
diff --git a/arch/arm/include/asm/arch-lpc32xx/i2c.h b/arch/arm/include/asm/arch-lpc32xx/i2c.h
index f39b14001b6..3f9ef1096d3 100644
--- a/arch/arm/include/asm/arch-lpc32xx/i2c.h
+++ b/arch/arm/include/asm/arch-lpc32xx/i2c.h
@@ -2,6 +2,7 @@ 
 #define _LPC32XX_I2C_H
 
 #include <asm/types.h>
+#include <linux/types.h>
 
 /* i2c register set */
 struct lpc32xx_i2c_base {
diff --git a/arch/arm/include/asm/arch-lpc32xx/mux.h b/arch/arm/include/asm/arch-lpc32xx/mux.h
index d661e8236f3..aff08caae19 100644
--- a/arch/arm/include/asm/arch-lpc32xx/mux.h
+++ b/arch/arm/include/asm/arch-lpc32xx/mux.h
@@ -10,6 +10,7 @@ 
  * MUX register map for LPC32xx
  */
 
+#include <asm/types.h>
 struct mux_regs {
 	u32 reserved1[10];
 	u32 p2_mux_set;
diff --git a/arch/arm/include/asm/arch-ls102xa/clock.h b/arch/arm/include/asm/arch-ls102xa/clock.h
index bfb58d75455..53b002f7c95 100644
--- a/arch/arm/include/asm/arch-ls102xa/clock.h
+++ b/arch/arm/include/asm/arch-ls102xa/clock.h
@@ -8,6 +8,7 @@ 
 #define __ASM_ARCH_LS102XA_CLOCK_H_
 
 #include <asm/u-boot.h>
+#include <linux/types.h>
 enum mxc_clock {
 	MXC_ARM_CLK = 0,
 	MXC_UART_CLK,
diff --git a/arch/arm/include/asm/arch-ls102xa/fsl_serdes.h b/arch/arm/include/asm/arch-ls102xa/fsl_serdes.h
index d99a6f318f8..b418a906f9c 100644
--- a/arch/arm/include/asm/arch-ls102xa/fsl_serdes.h
+++ b/arch/arm/include/asm/arch-ls102xa/fsl_serdes.h
@@ -7,6 +7,7 @@ 
 #define __FSL_SERDES_H
 
 #include <config.h>
+#include <asm/types.h>
 
 enum srds_prtcl {
 	/*
diff --git a/arch/arm/include/asm/arch-ls102xa/immap_ls102xa.h b/arch/arm/include/asm/arch-ls102xa/immap_ls102xa.h
index 4bae3f4ed5d..bdc43d34b1d 100644
--- a/arch/arm/include/asm/arch-ls102xa/immap_ls102xa.h
+++ b/arch/arm/include/asm/arch-ls102xa/immap_ls102xa.h
@@ -7,6 +7,7 @@ 
 #define __ASM_ARCH_LS102XA_IMMAP_H_
 #include <fsl_immap.h>
 #include <asm/u-boot.h>
+#include <linux/types.h>
 
 #define SVR_MAJ(svr)		(((svr) >>  4) & 0xf)
 #define SVR_MIN(svr)		(((svr) >>  0) & 0xf)
diff --git a/arch/arm/include/asm/arch-ls102xa/ls102xa_stream_id.h b/arch/arm/include/asm/arch-ls102xa/ls102xa_stream_id.h
index 93b0a26091e..06df4c59043 100644
--- a/arch/arm/include/asm/arch-ls102xa/ls102xa_stream_id.h
+++ b/arch/arm/include/asm/arch-ls102xa/ls102xa_stream_id.h
@@ -7,6 +7,7 @@ 
 #define __FSL_LS102XA_STREAM_ID_H_
 
 #include <fsl_sec.h>
+#include <linux/types.h>
 
 #define SET_LIODN_ENTRY_1(name, idA, off, compatoff) \
 	{ .compat = name, \
diff --git a/arch/arm/include/asm/arch-mediatek/reset.h b/arch/arm/include/asm/arch-mediatek/reset.h
index 9704666d24e..83fe9d5fbc2 100644
--- a/arch/arm/include/asm/arch-mediatek/reset.h
+++ b/arch/arm/include/asm/arch-mediatek/reset.h
@@ -7,6 +7,7 @@ 
 #define __MEDIATEK_RESET_H
 
 #include <dm.h>
+#include <asm/types.h>
 
 int mediatek_reset_bind(struct udevice *pdev, u32 regofs, u32 num_regs);
 
diff --git a/arch/arm/include/asm/arch-meson/clock-gx.h b/arch/arm/include/asm/arch-meson/clock-gx.h
index 13a2e7688fc..2a9bd52102a 100644
--- a/arch/arm/include/asm/arch-meson/clock-gx.h
+++ b/arch/arm/include/asm/arch-meson/clock-gx.h
@@ -13,6 +13,7 @@ 
  * Those offsets must be multiplied by 4 before adding them to the base address
  * to get the right value
  */
+#include <linux/types.h>
 #define SCR				0x2C /* 0x0b offset in data sheet */
 #define TIMEOUT_VALUE			0x3c /* 0x0f offset in data sheet */
 
diff --git a/arch/arm/include/asm/arch-meson/sm.h b/arch/arm/include/asm/arch-meson/sm.h
index f3ae46a6d6b..53a93347c18 100644
--- a/arch/arm/include/asm/arch-meson/sm.h
+++ b/arch/arm/include/asm/arch-meson/sm.h
@@ -6,6 +6,7 @@ 
 #ifndef __MESON_SM_H__
 #define __MESON_SM_H__
 
+#include <linux/types.h>
 ssize_t meson_sm_read_efuse(uintptr_t offset, void *buffer, size_t size);
 
 #define SM_SERIAL_SIZE	12
diff --git a/arch/arm/include/asm/arch-mvebu/spi.h b/arch/arm/include/asm/arch-mvebu/spi.h
index 58b6c32c4d8..7c0d55bfe6c 100644
--- a/arch/arm/include/asm/arch-mvebu/spi.h
+++ b/arch/arm/include/asm/arch-mvebu/spi.h
@@ -11,6 +11,7 @@ 
 #define __KW_SPI_H__
 
 /* SPI Registers on kirkwood SOC */
+#include <asm/types.h>
 struct kwspi_registers {
 	u32 ctrl;	/* 0x10600 */
 	u32 cfg;	/* 0x10604 */
diff --git a/arch/arm/include/asm/arch-mx27/gpio.h b/arch/arm/include/asm/arch-mx27/gpio.h
index 9f342eb7f71..fcc57071ce9 100644
--- a/arch/arm/include/asm/arch-mx27/gpio.h
+++ b/arch/arm/include/asm/arch-mx27/gpio.h
@@ -9,6 +9,7 @@ 
 #define __ASM_ARCH_MX27_GPIO_H
 
 /* GPIO registers */
+#include <asm/types.h>
 struct gpio_regs {
 	u32 gpio_dir; /* DDIR */
 	u32 ocr1;
diff --git a/arch/arm/include/asm/arch-mx27/imx-regs.h b/arch/arm/include/asm/arch-mx27/imx-regs.h
index d39f6b03508..dd2773a8878 100644
--- a/arch/arm/include/asm/arch-mx27/imx-regs.h
+++ b/arch/arm/include/asm/arch-mx27/imx-regs.h
@@ -11,6 +11,7 @@ 
 
 #ifndef __ASSEMBLY__
 
+#include <asm/types.h>
 extern void imx_gpio_mode (int gpio_mode);
 
 #ifdef CONFIG_MXC_UART
diff --git a/arch/arm/include/asm/arch-mx27/regs-rtc.h b/arch/arm/include/asm/arch-mx27/regs-rtc.h
index 8434f4c1cb1..ee7a8c29008 100644
--- a/arch/arm/include/asm/arch-mx27/regs-rtc.h
+++ b/arch/arm/include/asm/arch-mx27/regs-rtc.h
@@ -9,6 +9,7 @@ 
 #define __MX27_REGS_RTC_H__
 
 #ifndef	__ASSEMBLY__
+#include <asm/types.h>
 struct rtc_regs {
 	u32 hourmin;
 	u32 seconds;
diff --git a/arch/arm/include/asm/arch-mx31/clock.h b/arch/arm/include/asm/arch-mx31/clock.h
index e99e115f79e..5b084dc359b 100644
--- a/arch/arm/include/asm/arch-mx31/clock.h
+++ b/arch/arm/include/asm/arch-mx31/clock.h
@@ -7,6 +7,7 @@ 
 #ifndef __ASM_ARCH_CLOCK_H
 #define __ASM_ARCH_CLOCK_H
 
+#include <asm/types.h>
 #define MXC_HCLK	CONFIG_MX31_HCLK_FREQ
 
 #define MXC_CLK32	CONFIG_MX31_CLK32
diff --git a/arch/arm/include/asm/arch-mx31/sys_proto.h b/arch/arm/include/asm/arch-mx31/sys_proto.h
index a530afcbc91..72ce987ab20 100644
--- a/arch/arm/include/asm/arch-mx31/sys_proto.h
+++ b/arch/arm/include/asm/arch-mx31/sys_proto.h
@@ -8,6 +8,7 @@ 
 #define _MX31_SYS_PROTO_H_
 
 #include <asm/mach-imx/sys_proto.h>
+#include <asm/types.h>
 #include <asm/u-boot.h>
 
 struct mxc_weimcs {
diff --git a/arch/arm/include/asm/arch-mx35/clock.h b/arch/arm/include/asm/arch-mx35/clock.h
index cb0b53a69f4..e2b0f661cc7 100644
--- a/arch/arm/include/asm/arch-mx35/clock.h
+++ b/arch/arm/include/asm/arch-mx35/clock.h
@@ -19,6 +19,7 @@ 
 #define MXC_CLK32	32768
 #endif
 
+#include <asm/types.h>
 enum mxc_clock {
 	MXC_ARM_CLK,
 	MXC_AHB_CLK,
diff --git a/arch/arm/include/asm/arch-mx35/sys_proto.h b/arch/arm/include/asm/arch-mx35/sys_proto.h
index 6e8b84128bc..20b18d058cb 100644
--- a/arch/arm/include/asm/arch-mx35/sys_proto.h
+++ b/arch/arm/include/asm/arch-mx35/sys_proto.h
@@ -8,6 +8,7 @@ 
 #define _MX35_SYS_PROTO_H_
 
 #include <asm/mach-imx/sys_proto.h>
+#include <asm/types.h>
 
 void mx3_setup_sdram_bank(u32 start_address, u32 ddr2_config, u32 row,
 			  u32 col, u32 dsize, u32 refresh);
diff --git a/arch/arm/include/asm/arch-mx5/clock.h b/arch/arm/include/asm/arch-mx5/clock.h
index 86aeb5d5610..ad6b56c9bab 100644
--- a/arch/arm/include/asm/arch-mx5/clock.h
+++ b/arch/arm/include/asm/arch-mx5/clock.h
@@ -20,6 +20,7 @@ 
 #endif
 
 #include <stdbool.h>
+#include <asm/types.h>
 enum mxc_clock {
 	MXC_ARM_CLK = 0,
 	MXC_AHB_CLK,
diff --git a/arch/arm/include/asm/arch-mx5/crm_regs.h b/arch/arm/include/asm/arch-mx5/crm_regs.h
index 9d54ab7fb07..913318e314f 100644
--- a/arch/arm/include/asm/arch-mx5/crm_regs.h
+++ b/arch/arm/include/asm/arch-mx5/crm_regs.h
@@ -6,6 +6,7 @@ 
 #ifndef __ARCH_ARM_MACH_MX51_CRM_REGS_H__
 #define __ARCH_ARM_MACH_MX51_CRM_REGS_H__
 
+#include <asm/types.h>
 #define MXC_CCM_BASE	CCM_BASE_ADDR
 
 /* DPLL register mapping structure */
diff --git a/arch/arm/include/asm/arch-mx6/crm_regs.h b/arch/arm/include/asm/arch-mx6/crm_regs.h
index 4174f244afa..3bbd049dd91 100644
--- a/arch/arm/include/asm/arch-mx6/crm_regs.h
+++ b/arch/arm/include/asm/arch-mx6/crm_regs.h
@@ -18,6 +18,7 @@ 
 #define PMU_MISC2		0x020C8170
 
 #ifndef __ASSEMBLY__
+#include <asm/types.h>
 struct mxc_ccm_reg {
 	u32 ccr;	/* 0x0000 */
 	u32 ccdr;
diff --git a/arch/arm/include/asm/arch-mx6/mx6-ddr.h b/arch/arm/include/asm/arch-mx6/mx6-ddr.h
index dbc97b25df8..069dd7ce8fc 100644
--- a/arch/arm/include/asm/arch-mx6/mx6-ddr.h
+++ b/arch/arm/include/asm/arch-mx6/mx6-ddr.h
@@ -23,6 +23,7 @@ 
 #else
 #error "Please select cpu"
 #endif	/* CONFIG_MX6SL */
+#include <asm/types.h>
 #endif	/* CONFIG_MX6UL */
 #endif	/* CONFIG_MX6SX */
 #endif	/* CONFIG_MX6DL or CONFIG_MX6S */
diff --git a/arch/arm/include/asm/arch-mx6/mxc_hdmi.h b/arch/arm/include/asm/arch-mx6/mxc_hdmi.h
index 71ad0e307c4..5009609022e 100644
--- a/arch/arm/include/asm/arch-mx6/mxc_hdmi.h
+++ b/arch/arm/include/asm/arch-mx6/mxc_hdmi.h
@@ -14,6 +14,7 @@  void imx_setup_hdmi(void);
 /*
  * Hdmi controller registers
  */
+#include <asm/types.h>
 struct hdmi_regs {
 	/*Identification Registers */
 	u8 design_id;			/* 0x000 */
diff --git a/arch/arm/include/asm/arch-mx6/sys_proto.h b/arch/arm/include/asm/arch-mx6/sys_proto.h
index 1e5fa1a75eb..eddce1aeba9 100644
--- a/arch/arm/include/asm/arch-mx6/sys_proto.h
+++ b/arch/arm/include/asm/arch-mx6/sys_proto.h
@@ -9,6 +9,7 @@ 
 
 #include <asm/mach-imx/sys_proto.h>
 #include <asm/arch/iomux.h>
+#include <asm/types.h>
 
 #define USBPHY_PWD		0x00000000
 
diff --git a/arch/arm/include/asm/arch-mx7/clock.h b/arch/arm/include/asm/arch-mx7/clock.h
index 48c7c3367a5..cf0b0ce9654 100644
--- a/arch/arm/include/asm/arch-mx7/clock.h
+++ b/arch/arm/include/asm/arch-mx7/clock.h
@@ -10,6 +10,7 @@ 
 #define _ASM_ARCH_CLOCK_H
 
 #include <asm/arch/crm_regs.h>
+#include <linux/types.h>
 
 #ifdef CONFIG_SYS_MX7_HCLK
 #define MXC_HCLK	CONFIG_SYS_MX7_HCLK
diff --git a/arch/arm/include/asm/arch-mx7/clock_slice.h b/arch/arm/include/asm/arch-mx7/clock_slice.h
index 1eac3bec5cb..d7910a8d96c 100644
--- a/arch/arm/include/asm/arch-mx7/clock_slice.h
+++ b/arch/arm/include/asm/arch-mx7/clock_slice.h
@@ -10,6 +10,7 @@ 
 #define _ASM_ARCH_CLOCK_SLICE_H
 
 #include <stdbool.h>
+#include <asm/types.h>
 enum root_pre_div {
 	CLK_ROOT_PRE_DIV1 = 0,
 	CLK_ROOT_PRE_DIV2,
diff --git a/arch/arm/include/asm/arch-mx7/crm_regs.h b/arch/arm/include/asm/arch-mx7/crm_regs.h
index f3515fab031..7c72f294e63 100644
--- a/arch/arm/include/asm/arch-mx7/crm_regs.h
+++ b/arch/arm/include/asm/arch-mx7/crm_regs.h
@@ -20,6 +20,7 @@ 
 
 #ifndef __ASSEMBLY__
 
+#include <linux/types.h>
 struct mxc_ccm_ccgr {
 	uint32_t ccgr;
 	uint32_t ccgr_set;
diff --git a/arch/arm/include/asm/arch-mx7/imx-regs.h b/arch/arm/include/asm/arch-mx7/imx-regs.h
index f37419c07f1..f3b0a3f9be5 100644
--- a/arch/arm/include/asm/arch-mx7/imx-regs.h
+++ b/arch/arm/include/asm/arch-mx7/imx-regs.h
@@ -226,6 +226,7 @@ 
 #include <asm/mach-imx/regs-lcdif.h>
 #include <asm/types.h>
 #include <linux/bitops.h>
+#include <linux/types.h>
 
 extern void imx_get_mac_from_fuse(int dev_id, unsigned char *mac);
 
diff --git a/arch/arm/include/asm/arch-mx7/mx7-ddr.h b/arch/arm/include/asm/arch-mx7/mx7-ddr.h
index bea5dd8ec5e..8a4d21ed819 100644
--- a/arch/arm/include/asm/arch-mx7/mx7-ddr.h
+++ b/arch/arm/include/asm/arch-mx7/mx7-ddr.h
@@ -11,6 +11,7 @@ 
 #define __ASM_ARCH_MX7_DDR_H__
 
 #ifndef __ASSEMBLY__
+#include <asm/types.h>
 #include <linux/bitops.h>
 #endif
 
diff --git a/arch/arm/include/asm/arch-mx7ulp/clock.h b/arch/arm/include/asm/arch-mx7ulp/clock.h
index 92d4463dff5..5025fa39cfd 100644
--- a/arch/arm/include/asm/arch-mx7ulp/clock.h
+++ b/arch/arm/include/asm/arch-mx7ulp/clock.h
@@ -8,6 +8,7 @@ 
 
 #include <asm/arch/pcc.h>
 #include <asm/arch/scg.h>
+#include <asm/types.h>
 
 /* Mainly for compatible to imx common code. */
 enum mxc_clock {
diff --git a/arch/arm/include/asm/arch-mx7ulp/gpio.h b/arch/arm/include/asm/arch-mx7ulp/gpio.h
index 7c625609bac..b20b8ba26b9 100644
--- a/arch/arm/include/asm/arch-mx7ulp/gpio.h
+++ b/arch/arm/include/asm/arch-mx7ulp/gpio.h
@@ -6,6 +6,7 @@ 
 #ifndef __ASM_ARCH_MX7ULP_GPIO_H
 #define __ASM_ARCH_MX7ULP_GPIO_H
 
+#include <asm/types.h>
 struct gpio_regs {
 	u32 gpio_pdor;
 	u32 gpio_psor;
diff --git a/arch/arm/include/asm/arch-mx7ulp/pcc.h b/arch/arm/include/asm/arch-mx7ulp/pcc.h
index 25d10fb7d1a..c1e12009a2e 100644
--- a/arch/arm/include/asm/arch-mx7ulp/pcc.h
+++ b/arch/arm/include/asm/arch-mx7ulp/pcc.h
@@ -8,6 +8,7 @@ 
 
 #include <stdbool.h>
 #include <asm/arch/scg.h>
+#include <asm/types.h>
 
 /* PCC2 */
 
diff --git a/arch/arm/include/asm/arch-mx7ulp/scg.h b/arch/arm/include/asm/arch-mx7ulp/scg.h
index b4d92d1ed44..0be3ae1dc27 100644
--- a/arch/arm/include/asm/arch-mx7ulp/scg.h
+++ b/arch/arm/include/asm/arch-mx7ulp/scg.h
@@ -8,6 +8,7 @@ 
 
 #include <stdbool.h>
 #include <stdio.h>
+#include <asm/types.h>
 
 #ifdef CONFIG_CLK_DEBUG
 #define clk_debug(fmt, args...)	printf(fmt, ##args)
diff --git a/arch/arm/include/asm/arch-mxs/clock.h b/arch/arm/include/asm/arch-mxs/clock.h
index ee56d10fec2..bfaa72ce3f2 100644
--- a/arch/arm/include/asm/arch-mxs/clock.h
+++ b/arch/arm/include/asm/arch-mxs/clock.h
@@ -9,6 +9,7 @@ 
 #ifndef __CLOCK_H__
 #define __CLOCK_H__
 
+#include <linux/types.h>
 enum mxc_clock {
 	MXC_ARM_CLK = 0,
 	MXC_AHB_CLK,
diff --git a/arch/arm/include/asm/arch-mxs/regs-clkctrl-mx23.h b/arch/arm/include/asm/arch-mxs/regs-clkctrl-mx23.h
index 50fdc9cd032..96976ed0a4a 100644
--- a/arch/arm/include/asm/arch-mxs/regs-clkctrl-mx23.h
+++ b/arch/arm/include/asm/arch-mxs/regs-clkctrl-mx23.h
@@ -15,6 +15,7 @@ 
 #include <asm/mach-imx/regs-common.h>
 
 #ifndef	__ASSEMBLY__
+#include <linux/types.h>
 struct mxs_clkctrl_regs {
 	mxs_reg_32(hw_clkctrl_pll0ctrl0)	/* 0x00 */
 	uint32_t	hw_clkctrl_pll0ctrl1;	/* 0x10 */
diff --git a/arch/arm/include/asm/arch-mxs/regs-clkctrl-mx28.h b/arch/arm/include/asm/arch-mxs/regs-clkctrl-mx28.h
index caef9e4b1fc..494757fe622 100644
--- a/arch/arm/include/asm/arch-mxs/regs-clkctrl-mx28.h
+++ b/arch/arm/include/asm/arch-mxs/regs-clkctrl-mx28.h
@@ -15,6 +15,7 @@ 
 #include <asm/mach-imx/regs-common.h>
 
 #ifndef	__ASSEMBLY__
+#include <linux/types.h>
 struct mxs_clkctrl_regs {
 	mxs_reg_32(hw_clkctrl_pll0ctrl0)	/* 0x00 */
 	uint32_t	hw_clkctrl_pll0ctrl1;	/* 0x10 */
diff --git a/arch/arm/include/asm/arch-mxs/regs-digctl.h b/arch/arm/include/asm/arch-mxs/regs-digctl.h
index 219f58ba75f..63735af5ec3 100644
--- a/arch/arm/include/asm/arch-mxs/regs-digctl.h
+++ b/arch/arm/include/asm/arch-mxs/regs-digctl.h
@@ -11,6 +11,7 @@ 
 #include <asm/mach-imx/regs-common.h>
 
 #ifndef	__ASSEMBLY__
+#include <linux/types.h>
 struct mxs_digctl_regs {
 	mxs_reg_32(hw_digctl_ctrl)				/* 0x000 */
 	mxs_reg_32(hw_digctl_status)				/* 0x010 */
diff --git a/arch/arm/include/asm/arch-mxs/regs-pinctrl.h b/arch/arm/include/asm/arch-mxs/regs-pinctrl.h
index 134d436ee92..d06b3b83914 100644
--- a/arch/arm/include/asm/arch-mxs/regs-pinctrl.h
+++ b/arch/arm/include/asm/arch-mxs/regs-pinctrl.h
@@ -15,6 +15,7 @@ 
 #include <asm/mach-imx/regs-common.h>
 
 #ifndef	__ASSEMBLY__
+#include <linux/types.h>
 struct mxs_pinctrl_regs {
 	mxs_reg_32(hw_pinctrl_ctrl)		/* 0x0 */
 
diff --git a/arch/arm/include/asm/arch-mxs/regs-power-mx23.h b/arch/arm/include/asm/arch-mxs/regs-power-mx23.h
index a0dc7810230..9cfb7223b99 100644
--- a/arch/arm/include/asm/arch-mxs/regs-power-mx23.h
+++ b/arch/arm/include/asm/arch-mxs/regs-power-mx23.h
@@ -11,6 +11,7 @@ 
 #include <asm/mach-imx/regs-common.h>
 
 #ifndef	__ASSEMBLY__
+#include <linux/types.h>
 struct mxs_power_regs {
 	mxs_reg_32(hw_power_ctrl)
 	mxs_reg_32(hw_power_5vctrl)
diff --git a/arch/arm/include/asm/arch-mxs/regs-power-mx28.h b/arch/arm/include/asm/arch-mxs/regs-power-mx28.h
index 39250c506d0..7ceb576e6f5 100644
--- a/arch/arm/include/asm/arch-mxs/regs-power-mx28.h
+++ b/arch/arm/include/asm/arch-mxs/regs-power-mx28.h
@@ -11,6 +11,7 @@ 
 #include <asm/mach-imx/regs-common.h>
 
 #ifndef	__ASSEMBLY__
+#include <linux/types.h>
 struct mxs_power_regs {
 	mxs_reg_32(hw_power_ctrl)
 	mxs_reg_32(hw_power_5vctrl)
diff --git a/arch/arm/include/asm/arch-mxs/regs-ssp.h b/arch/arm/include/asm/arch-mxs/regs-ssp.h
index eeb7e7f44c0..947a3624c2f 100644
--- a/arch/arm/include/asm/arch-mxs/regs-ssp.h
+++ b/arch/arm/include/asm/arch-mxs/regs-ssp.h
@@ -86,6 +86,7 @@  static inline int mxs_ssp_clock_by_bus(unsigned int clock)
 #endif
 }
 
+#include <linux/types.h>
 static inline struct mxs_ssp_regs *mxs_ssp_regs_by_bus(unsigned int port)
 {
 	switch (port) {
diff --git a/arch/arm/include/asm/arch-mxs/regs-usb.h b/arch/arm/include/asm/arch-mxs/regs-usb.h
index 8d5168dd8ea..d21c26428b0 100644
--- a/arch/arm/include/asm/arch-mxs/regs-usb.h
+++ b/arch/arm/include/asm/arch-mxs/regs-usb.h
@@ -9,6 +9,7 @@ 
 #ifndef __REGS_USB_H__
 #define __REGS_USB_H__
 
+#include <linux/types.h>
 struct mxs_usb_regs {
 	uint32_t		hw_usbctrl_id;			/* 0x000 */
 	uint32_t		hw_usbctrl_hwgeneral;		/* 0x004 */
diff --git a/arch/arm/include/asm/arch-mxs/sys_proto.h b/arch/arm/include/asm/arch-mxs/sys_proto.h
index 85374e2b87c..5ade99aa5dc 100644
--- a/arch/arm/include/asm/arch-mxs/sys_proto.h
+++ b/arch/arm/include/asm/arch-mxs/sys_proto.h
@@ -11,6 +11,7 @@ 
 
 #include <asm/mach-imx/sys_proto.h>
 #include <asm/u-boot.h>
+#include <linux/types.h>
 
 int mxsmmc_initialize(struct bd_info *bis, int id, int (*wp)(int),
 		      int (*cd)(int));
diff --git a/arch/arm/include/asm/arch-omap3/dma.h b/arch/arm/include/asm/arch-omap3/dma.h
index d26e490d2db..2df9d075870 100644
--- a/arch/arm/include/asm/arch-omap3/dma.h
+++ b/arch/arm/include/asm/arch-omap3/dma.h
@@ -7,6 +7,7 @@ 
  */
 
 /* Functions */
+#include <linux/types.h>
 void omap3_dma_init(void);
 int omap3_dma_conf_transfer(uint32_t chan, uint32_t *src, uint32_t *dst,
 		uint32_t sze);
diff --git a/arch/arm/include/asm/arch-omap3/dss.h b/arch/arm/include/asm/arch-omap3/dss.h
index 8bf6b4895fc..c16156b749e 100644
--- a/arch/arm/include/asm/arch-omap3/dss.h
+++ b/arch/arm/include/asm/arch-omap3/dss.h
@@ -29,6 +29,7 @@ 
 #define DSS_H
 
 /* DSS Base Registers */
+#include <asm/types.h>
 #define OMAP3_DSS_BASE		0x48050000
 #define OMAP3_DISPC_BASE	0x48050400
 #define OMAP3_VENC_BASE		0x48050C00
diff --git a/arch/arm/include/asm/arch-omap3/mem.h b/arch/arm/include/asm/arch-omap3/mem.h
index 7adc134a752..a09b5a2ca79 100644
--- a/arch/arm/include/asm/arch-omap3/mem.h
+++ b/arch/arm/include/asm/arch-omap3/mem.h
@@ -12,6 +12,7 @@ 
 #define CS1		0x1 /* mirror CS1 regs appear offset 0x30 from CS0 */
 
 #ifndef __ASSEMBLY__
+#include <asm/types.h>
 enum {
 	STACKED = 0,
 	IP_DDR = 1,
diff --git a/arch/arm/include/asm/arch-omap3/musb.h b/arch/arm/include/asm/arch-omap3/musb.h
index cb3f5d89daa..58a5616ee08 100644
--- a/arch/arm/include/asm/arch-omap3/musb.h
+++ b/arch/arm/include/asm/arch-omap3/musb.h
@@ -6,6 +6,7 @@ 
 
 #ifndef __ASM_ARCH_OMAP3_MUSB_H
 #define __ASM_ARCH_OMAP3_MUSB_H
+#include <asm/types.h>
 void am35x_musb_reset(struct udevice *dev);
 void am35x_musb_phy_power(struct udevice *dev, u8 on);
 void am35x_musb_clear_irq(struct udevice *dev);
diff --git a/arch/arm/include/asm/arch-omap3/sys_proto.h b/arch/arm/include/asm/arch-omap3/sys_proto.h
index 32ac0335158..7fc9b09337a 100644
--- a/arch/arm/include/asm/arch-omap3/sys_proto.h
+++ b/arch/arm/include/asm/arch-omap3/sys_proto.h
@@ -8,6 +8,7 @@ 
 #define _SYS_PROTO_H_
 #include <linux/mtd/omap_gpmc.h>
 #include <asm/omap_common.h>
+#include <linux/types.h>
 
 typedef struct {
 	u32 mtype;
diff --git a/arch/arm/include/asm/arch-omap4/clock.h b/arch/arm/include/asm/arch-omap4/clock.h
index 0a626fe647a..d2e14ff8962 100644
--- a/arch/arm/include/asm/arch-omap4/clock.h
+++ b/arch/arm/include/asm/arch-omap4/clock.h
@@ -8,6 +8,7 @@ 
 #ifndef _CLOCKS_OMAP4_H_
 #define _CLOCKS_OMAP4_H_
 #include <asm/omap_common.h>
+#include <asm/types.h>
 
 /*
  * Assuming a maximum of 1.5 GHz ARM speed and a minimum of 2 cycles per
diff --git a/arch/arm/include/asm/arch-omap4/sys_proto.h b/arch/arm/include/asm/arch-omap4/sys_proto.h
index b2a68876585..51bc1b82948 100644
--- a/arch/arm/include/asm/arch-omap4/sys_proto.h
+++ b/arch/arm/include/asm/arch-omap4/sys_proto.h
@@ -11,6 +11,7 @@ 
 #include <asm/arch/clock.h>
 #include <asm/io.h>
 #include <asm/omap_common.h>
+#include <asm/types.h>
 #include <linux/mtd/omap_gpmc.h>
 #include <asm/arch/mux_omap4.h>
 #include <asm/ti-common/sys_proto.h>
diff --git a/arch/arm/include/asm/arch-omap5/dra7xx_iodelay.h b/arch/arm/include/asm/arch-omap5/dra7xx_iodelay.h
index ea2f113f98d..bdfc026dc05 100644
--- a/arch/arm/include/asm/arch-omap5/dra7xx_iodelay.h
+++ b/arch/arm/include/asm/arch-omap5/dra7xx_iodelay.h
@@ -10,6 +10,7 @@ 
 #define _DRA7_IODELAY_H_
 
 #include <asm/arch/sys_proto.h>
+#include <asm/types.h>
 
 /* CONFIG_REG_0 */
 #define CFG_REG_0_OFFSET		0xC
diff --git a/arch/arm/include/asm/arch-omap5/sys_proto.h b/arch/arm/include/asm/arch-omap5/sys_proto.h
index 80b0c93b5eb..069515e253d 100644
--- a/arch/arm/include/asm/arch-omap5/sys_proto.h
+++ b/arch/arm/include/asm/arch-omap5/sys_proto.h
@@ -14,6 +14,7 @@ 
 #include <linux/mtd/omap_gpmc.h>
 #include <asm/arch/clock.h>
 #include <asm/ti-common/sys_proto.h>
+#include <linux/types.h>
 
 /*
  * Structure for Iodelay configuration registers.
diff --git a/arch/arm/include/asm/arch-pxa/pxa.h b/arch/arm/include/asm/arch-pxa/pxa.h
index 428a848e157..7fd0ebad5c0 100644
--- a/arch/arm/include/asm/arch-pxa/pxa.h
+++ b/arch/arm/include/asm/arch-pxa/pxa.h
@@ -8,6 +8,7 @@ 
 #ifndef	__PXA_H__
 #define	__PXA_H__
 
+#include <linux/types.h>
 #define PXA255_A0	0x00000106
 #define PXA250_C0	0x00000105
 #define PXA250_B2	0x00000104
diff --git a/arch/arm/include/asm/arch-pxa/regs-mmc.h b/arch/arm/include/asm/arch-pxa/regs-mmc.h
index 6d9a736d9c0..7ed111cf99a 100644
--- a/arch/arm/include/asm/arch-pxa/regs-mmc.h
+++ b/arch/arm/include/asm/arch-pxa/regs-mmc.h
@@ -6,6 +6,7 @@ 
 #ifndef __REGS_MMC_H__
 #define __REGS_MMC_H__
 
+#include <linux/types.h>
 #define MMC0_BASE	0x41100000
 #define MMC1_BASE	0x42000000
 
diff --git a/arch/arm/include/asm/arch-pxa/regs-uart.h b/arch/arm/include/asm/arch-pxa/regs-uart.h
index bdd0a4757b5..fc7690ee4f3 100644
--- a/arch/arm/include/asm/arch-pxa/regs-uart.h
+++ b/arch/arm/include/asm/arch-pxa/regs-uart.h
@@ -6,6 +6,7 @@ 
 #ifndef	__REGS_UART_H__
 #define	__REGS_UART_H__
 
+#include <linux/types.h>
 #define	FFUART_BASE		0x40100000
 #define	BTUART_BASE		0x40200000
 #define	STUART_BASE		0x40700000
diff --git a/arch/arm/include/asm/arch-pxa/regs-usb.h b/arch/arm/include/asm/arch-pxa/regs-usb.h
index e46887c9ed4..60e56458087 100644
--- a/arch/arm/include/asm/arch-pxa/regs-usb.h
+++ b/arch/arm/include/asm/arch-pxa/regs-usb.h
@@ -8,6 +8,7 @@ 
 #ifndef __REGS_USB_H__
 #define __REGS_USB_H__
 
+#include <linux/types.h>
 struct pxa25x_udc_regs {
 	/* UDC Control Register */
 	uint32_t	udccr; /* 0x000 */
diff --git a/arch/arm/include/asm/arch-rk3308/cru_rk3308.h b/arch/arm/include/asm/arch-rk3308/cru_rk3308.h
index 08af4f547dd..d8feb8bff4e 100644
--- a/arch/arm/include/asm/arch-rk3308/cru_rk3308.h
+++ b/arch/arm/include/asm/arch-rk3308/cru_rk3308.h
@@ -6,6 +6,7 @@ 
 #define _ASM_ARCH_CRU_RK3308_H
 
 #include <linux/kernel.h>
+#include <linux/types.h>
 #define MHz		1000000
 #define OSC_HZ		(24 * MHz)
 
diff --git a/arch/arm/include/asm/arch-rockchip/bootrom.h b/arch/arm/include/asm/arch-rockchip/bootrom.h
index 0da78f30b61..a1937c251f1 100644
--- a/arch/arm/include/asm/arch-rockchip/bootrom.h
+++ b/arch/arm/include/asm/arch-rockchip/bootrom.h
@@ -11,6 +11,7 @@ 
  * Saved Stack pointer address.
  * Access might be needed in some special cases.
  */
+#include <asm/types.h>
 extern u32 SAVE_SP_ADDR;
 
 /**
diff --git a/arch/arm/include/asm/arch-rockchip/clock.h b/arch/arm/include/asm/arch-rockchip/clock.h
index 2b47b7a9d26..f05d88bc0a6 100644
--- a/arch/arm/include/asm/arch-rockchip/clock.h
+++ b/arch/arm/include/asm/arch-rockchip/clock.h
@@ -6,7 +6,9 @@ 
 #ifndef _ASM_ARCH_CLOCK_H
 #define _ASM_ARCH_CLOCK_H
 
+#include <compiler.h>
 #include <linux/kernel.h>
+#include <linux/types.h>
 
 struct udevice;
 
diff --git a/arch/arm/include/asm/arch-rockchip/cpu_rk3288.h b/arch/arm/include/asm/arch-rockchip/cpu_rk3288.h
index 3536f444946..0180290cad4 100644
--- a/arch/arm/include/asm/arch-rockchip/cpu_rk3288.h
+++ b/arch/arm/include/asm/arch-rockchip/cpu_rk3288.h
@@ -8,6 +8,7 @@ 
 
 #include <stdbool.h>
 #include <asm/io.h>
+#include <asm/types.h>
 
 #define ROCKCHIP_CPU_MASK       0xffff0000
 #define ROCKCHIP_CPU_RK3288     0x32880000
diff --git a/arch/arm/include/asm/arch-rockchip/cru_px30.h b/arch/arm/include/asm/arch-rockchip/cru_px30.h
index c76d5751ef5..3c58db1d263 100644
--- a/arch/arm/include/asm/arch-rockchip/cru_px30.h
+++ b/arch/arm/include/asm/arch-rockchip/cru_px30.h
@@ -6,6 +6,7 @@ 
 #define _ASM_ARCH_CRU_PX30_H
 
 #include <linux/kernel.h>
+#include <linux/types.h>
 #define MHz		1000000
 #define KHz		1000
 #define OSC_HZ		(24 * MHz)
diff --git a/arch/arm/include/asm/arch-rockchip/cru_rk3036.h b/arch/arm/include/asm/arch-rockchip/cru_rk3036.h
index c580bf12034..ac62de5b9f1 100644
--- a/arch/arm/include/asm/arch-rockchip/cru_rk3036.h
+++ b/arch/arm/include/asm/arch-rockchip/cru_rk3036.h
@@ -6,6 +6,7 @@ 
 #define _ASM_ARCH_CRU_RK3036_H
 
 #include <linux/kernel.h>
+#include <linux/types.h>
 #define OSC_HZ		(24 * 1000 * 1000)
 
 #define APLL_HZ		(600 * 1000000)
diff --git a/arch/arm/include/asm/arch-rockchip/cru_rk3128.h b/arch/arm/include/asm/arch-rockchip/cru_rk3128.h
index e7dec3c7c9e..63c697b9839 100644
--- a/arch/arm/include/asm/arch-rockchip/cru_rk3128.h
+++ b/arch/arm/include/asm/arch-rockchip/cru_rk3128.h
@@ -7,6 +7,7 @@ 
 #define _ASM_ARCH_CRU_RK3128_H
 
 #ifndef __ASSEMBLY__
+#include <asm/types.h>
 #include <linux/bitops.h>
 #include <linux/kernel.h>
 #endif
diff --git a/arch/arm/include/asm/arch-rockchip/cru_rk3188.h b/arch/arm/include/asm/arch-rockchip/cru_rk3188.h
index 97268b8777e..62120dc2589 100644
--- a/arch/arm/include/asm/arch-rockchip/cru_rk3188.h
+++ b/arch/arm/include/asm/arch-rockchip/cru_rk3188.h
@@ -7,6 +7,7 @@ 
 
 #include <stdbool.h>
 #include <linux/kernel.h>
+#include <linux/types.h>
 #define OSC_HZ		(24 * 1000 * 1000)
 
 #define APLL_HZ		(1608 * 1000000)
diff --git a/arch/arm/include/asm/arch-rockchip/cru_rk322x.h b/arch/arm/include/asm/arch-rockchip/cru_rk322x.h
index ca4d727a6a7..706fca369b0 100644
--- a/arch/arm/include/asm/arch-rockchip/cru_rk322x.h
+++ b/arch/arm/include/asm/arch-rockchip/cru_rk322x.h
@@ -6,6 +6,7 @@ 
 #define _ASM_ARCH_CRU_RK322X_H
 
 #include <linux/kernel.h>
+#include <linux/types.h>
 #define MHz		1000000
 #define OSC_HZ		(24 * MHz)
 
diff --git a/arch/arm/include/asm/arch-rockchip/cru_rk3288.h b/arch/arm/include/asm/arch-rockchip/cru_rk3288.h
index 7affb2f0644..82ba61abcbe 100644
--- a/arch/arm/include/asm/arch-rockchip/cru_rk3288.h
+++ b/arch/arm/include/asm/arch-rockchip/cru_rk3288.h
@@ -9,6 +9,7 @@ 
 #define _ASM_ARCH_CRU_RK3288_H
 
 #include <linux/kernel.h>
+#include <linux/types.h>
 #define OSC_HZ		(24 * 1000 * 1000)
 
 #define APLL_HZ		(1800 * 1000000)
diff --git a/arch/arm/include/asm/arch-rockchip/cru_rk3328.h b/arch/arm/include/asm/arch-rockchip/cru_rk3328.h
index 2cd984ad009..5a95a0173c5 100644
--- a/arch/arm/include/asm/arch-rockchip/cru_rk3328.h
+++ b/arch/arm/include/asm/arch-rockchip/cru_rk3328.h
@@ -7,6 +7,7 @@ 
 #define __ASM_ARCH_CRU_RK3328_H_
 
 #include <linux/kernel.h>
+#include <linux/types.h>
 struct rk3328_clk_priv {
 	struct rk3328_cru *cru;
 	ulong rate;
diff --git a/arch/arm/include/asm/arch-rockchip/cru_rk3399.h b/arch/arm/include/asm/arch-rockchip/cru_rk3399.h
index fdeb3735770..97e44815621 100644
--- a/arch/arm/include/asm/arch-rockchip/cru_rk3399.h
+++ b/arch/arm/include/asm/arch-rockchip/cru_rk3399.h
@@ -7,6 +7,7 @@ 
 #define __ASM_ARCH_CRU_RK3399_H_
 
 /* Private data for the clock driver - used by rockchip_get_cru() */
+#include <asm/types.h>
 #include <linux/kernel.h>
 struct rk3399_clk_priv {
 	struct rockchip_cru *cru;
diff --git a/arch/arm/include/asm/arch-rockchip/cru_rv1108.h b/arch/arm/include/asm/arch-rockchip/cru_rv1108.h
index 4499b453b68..3a69195ce51 100644
--- a/arch/arm/include/asm/arch-rockchip/cru_rv1108.h
+++ b/arch/arm/include/asm/arch-rockchip/cru_rv1108.h
@@ -9,6 +9,7 @@ 
 #ifndef __ASSEMBLY__
 #include <linux/bitops.h>
 #include <linux/kernel.h>
+#include <linux/types.h>
 #endif
 
 #define OSC_HZ		(24 * 1000 * 1000)
diff --git a/arch/arm/include/asm/arch-rockchip/ddr_rk3188.h b/arch/arm/include/asm/arch-rockchip/ddr_rk3188.h
index c60655fcae0..be3d9d4d36b 100644
--- a/arch/arm/include/asm/arch-rockchip/ddr_rk3188.h
+++ b/arch/arm/include/asm/arch-rockchip/ddr_rk3188.h
@@ -7,6 +7,7 @@ 
 #define _ASM_ARCH_DDR_RK3188_H
 
 #include <asm/arch-rockchip/ddr_rk3288.h>
+#include <asm/types.h>
 #include <linux/kernel.h>
 
 /*
diff --git a/arch/arm/include/asm/arch-rockchip/ddr_rk3288.h b/arch/arm/include/asm/arch-rockchip/ddr_rk3288.h
index ea3b6f48d90..312bdbc6de5 100644
--- a/arch/arm/include/asm/arch-rockchip/ddr_rk3288.h
+++ b/arch/arm/include/asm/arch-rockchip/ddr_rk3288.h
@@ -6,6 +6,7 @@ 
 #ifndef _ASM_ARCH_DDR_RK3288_H
 #define _ASM_ARCH_DDR_RK3288_H
 
+#include <asm/types.h>
 #include <linux/kernel.h>
 struct rk3288_ddr_pctl {
 	u32 scfg;
diff --git a/arch/arm/include/asm/arch-rockchip/ddr_rk3368.h b/arch/arm/include/asm/arch-rockchip/ddr_rk3368.h
index a03d3318e02..7ee787c526b 100644
--- a/arch/arm/include/asm/arch-rockchip/ddr_rk3368.h
+++ b/arch/arm/include/asm/arch-rockchip/ddr_rk3368.h
@@ -7,6 +7,7 @@ 
 #define __ASM_ARCH_DDR_RK3368_H__
 
 #ifndef __ASSEMBLY__
+#include <asm/types.h>
 #include <linux/bitops.h>
 #include <linux/kernel.h>
 #endif
diff --git a/arch/arm/include/asm/arch-rockchip/edp_rk3288.h b/arch/arm/include/asm/arch-rockchip/edp_rk3288.h
index 97383fce190..d51094f1bfc 100644
--- a/arch/arm/include/asm/arch-rockchip/edp_rk3288.h
+++ b/arch/arm/include/asm/arch-rockchip/edp_rk3288.h
@@ -7,6 +7,7 @@ 
 #ifndef _ASM_ARCH_EDP_H
 #define _ASM_ARCH_EDP_H
 
+#include <asm/types.h>
 #include <linux/kernel.h>
 struct rk3288_edp {
 	u8	res0[0x10];
diff --git a/arch/arm/include/asm/arch-rockchip/f_rockusb.h b/arch/arm/include/asm/arch-rockchip/f_rockusb.h
index 9772321023b..46bcbf7fce4 100644
--- a/arch/arm/include/asm/arch-rockchip/f_rockusb.h
+++ b/arch/arm/include/asm/arch-rockchip/f_rockusb.h
@@ -8,6 +8,7 @@ 
 #ifndef _F_ROCKUSB_H_
 #define _F_ROCKUSB_H_
 #include <blk.h>
+#include <linux/types.h>
 
 #define ROCKUSB_VERSION		"0.1"
 
diff --git a/arch/arm/include/asm/arch-rockchip/gpio.h b/arch/arm/include/asm/arch-rockchip/gpio.h
index 0ec09d40b4e..810b292329c 100644
--- a/arch/arm/include/asm/arch-rockchip/gpio.h
+++ b/arch/arm/include/asm/arch-rockchip/gpio.h
@@ -6,6 +6,7 @@ 
 #ifndef _ASM_ARCH_GPIO_H
 #define _ASM_ARCH_GPIO_H
 
+#include <asm/types.h>
 #include <linux/kernel.h>
 struct rockchip_gpio_regs {
 	u32 swport_dr;
diff --git a/arch/arm/include/asm/arch-rockchip/grf_rk3188.h b/arch/arm/include/asm/arch-rockchip/grf_rk3188.h
index 8e80749a76e..6899f652408 100644
--- a/arch/arm/include/asm/arch-rockchip/grf_rk3188.h
+++ b/arch/arm/include/asm/arch-rockchip/grf_rk3188.h
@@ -6,6 +6,7 @@ 
 #ifndef _ASM_ARCH_GRF_RK3188_H
 #define _ASM_ARCH_GRF_RK3188_H
 
+#include <asm/types.h>
 #include <linux/kernel.h>
 struct rk3188_grf_gpio_lh {
 	u32 l;
diff --git a/arch/arm/include/asm/arch-rockchip/grf_rk3288.h b/arch/arm/include/asm/arch-rockchip/grf_rk3288.h
index 894d3a40b09..f30e3c05dc0 100644
--- a/arch/arm/include/asm/arch-rockchip/grf_rk3288.h
+++ b/arch/arm/include/asm/arch-rockchip/grf_rk3288.h
@@ -7,6 +7,7 @@ 
 #ifndef _ASM_ARCH_GRF_RK3288_H
 #define _ASM_ARCH_GRF_RK3288_H
 
+#include <asm/types.h>
 struct rk3288_grf_gpio_lh {
 	u32 l;
 	u32 h;
diff --git a/arch/arm/include/asm/arch-rockchip/grf_rk3328.h b/arch/arm/include/asm/arch-rockchip/grf_rk3328.h
index 663a3fa52e3..312f6f4193c 100644
--- a/arch/arm/include/asm/arch-rockchip/grf_rk3328.h
+++ b/arch/arm/include/asm/arch-rockchip/grf_rk3328.h
@@ -6,6 +6,7 @@ 
 #ifndef __SOC_ROCKCHIP_RK3328_GRF_H__
 #define __SOC_ROCKCHIP_RK3328_GRF_H__
 
+#include <asm/types.h>
 #include <linux/kernel.h>
 struct rk3328_grf_regs {
 	u32 gpio0a_iomux;
diff --git a/arch/arm/include/asm/arch-rockchip/grf_rk3368.h b/arch/arm/include/asm/arch-rockchip/grf_rk3368.h
index 8e4b3ec481c..62fd8792cfa 100644
--- a/arch/arm/include/asm/arch-rockchip/grf_rk3368.h
+++ b/arch/arm/include/asm/arch-rockchip/grf_rk3368.h
@@ -7,6 +7,7 @@ 
 #define _ASM_ARCH_GRF_RK3368_H
 
 #ifndef __ASSEMBLY__
+#include <asm/types.h>
 #include <linux/bitops.h>
 #include <linux/kernel.h>
 #endif
diff --git a/arch/arm/include/asm/arch-rockchip/grf_rk3399.h b/arch/arm/include/asm/arch-rockchip/grf_rk3399.h
index 0a7249560f2..7d7708576ed 100644
--- a/arch/arm/include/asm/arch-rockchip/grf_rk3399.h
+++ b/arch/arm/include/asm/arch-rockchip/grf_rk3399.h
@@ -6,6 +6,7 @@ 
 #ifndef __SOC_ROCKCHIP_RK3399_GRF_H__
 #define __SOC_ROCKCHIP_RK3399_GRF_H__
 
+#include <asm/types.h>
 #include <linux/kernel.h>
 struct rk3399_grf_regs {
 	u32 reserved[0x800];
diff --git a/arch/arm/include/asm/arch-rockchip/grf_rv1108.h b/arch/arm/include/asm/arch-rockchip/grf_rv1108.h
index aefbe9b56e1..470e91c2970 100644
--- a/arch/arm/include/asm/arch-rockchip/grf_rv1108.h
+++ b/arch/arm/include/asm/arch-rockchip/grf_rv1108.h
@@ -5,6 +5,7 @@ 
 #ifndef _ASM_ARCH_GRF_RV1108_H
 #define _ASM_ARCH_GRF_RV1108_H
 
+#include <asm/types.h>
 #include <linux/kernel.h>
 struct rv1108_grf {
 	u32 reserved[4];
diff --git a/arch/arm/include/asm/arch-rockchip/i2c.h b/arch/arm/include/asm/arch-rockchip/i2c.h
index b0e1936f608..4da43237214 100644
--- a/arch/arm/include/asm/arch-rockchip/i2c.h
+++ b/arch/arm/include/asm/arch-rockchip/i2c.h
@@ -7,6 +7,7 @@ 
 #ifndef __ASM_ARCH_I2C_H
 #define __ASM_ARCH_I2C_H
 
+#include <asm/types.h>
 struct i2c_regs {
 	u32 con;
 	u32 clkdiv;
diff --git a/arch/arm/include/asm/arch-rockchip/misc.h b/arch/arm/include/asm/arch-rockchip/misc.h
index b6b03c934ed..8689e3dadac 100644
--- a/arch/arm/include/asm/arch-rockchip/misc.h
+++ b/arch/arm/include/asm/arch-rockchip/misc.h
@@ -6,6 +6,7 @@ 
  *      Rohan Garg <rohan.garg@collabora.com>
  */
 
+#include <asm/types.h>
 int rockchip_cpuid_from_efuse(const u32 cpuid_offset,
 			      const u32 cpuid_length,
 			      u8 *cpuid);
diff --git a/arch/arm/include/asm/arch-rockchip/pmu_rk3188.h b/arch/arm/include/asm/arch-rockchip/pmu_rk3188.h
index 6227dc0ed5a..24de34758fb 100644
--- a/arch/arm/include/asm/arch-rockchip/pmu_rk3188.h
+++ b/arch/arm/include/asm/arch-rockchip/pmu_rk3188.h
@@ -6,6 +6,7 @@ 
 #ifndef _ASM_ARCH_PMU_RK3188_H
 #define _ASM_ARCH_PMU_RK3188_H
 
+#include <asm/types.h>
 #include <linux/kernel.h>
 struct rk3188_pmu {
 	u32 wakeup_cfg[2];
diff --git a/arch/arm/include/asm/arch-rockchip/pmu_rk3288.h b/arch/arm/include/asm/arch-rockchip/pmu_rk3288.h
index 1b50cd5326e..7574eb975c3 100644
--- a/arch/arm/include/asm/arch-rockchip/pmu_rk3288.h
+++ b/arch/arm/include/asm/arch-rockchip/pmu_rk3288.h
@@ -8,6 +8,7 @@ 
 #ifndef _ASM_ARCH_PMU_RK3288_H
 #define _ASM_ARCH_PMU_RK3288_H
 
+#include <asm/types.h>
 #include <linux/kernel.h>
 struct rk3288_pmu {
 	u32 wakeup_cfg[2];
diff --git a/arch/arm/include/asm/arch-rockchip/pmu_rk3399.h b/arch/arm/include/asm/arch-rockchip/pmu_rk3399.h
index 350559d5054..0408683765c 100644
--- a/arch/arm/include/asm/arch-rockchip/pmu_rk3399.h
+++ b/arch/arm/include/asm/arch-rockchip/pmu_rk3399.h
@@ -7,6 +7,7 @@ 
 #ifndef __SOC_ROCKCHIP_RK3399_PMU_H__
 #define __SOC_ROCKCHIP_RK3399_PMU_H__
 
+#include <asm/types.h>
 #include <linux/kernel.h>
 struct rk3399_pmu_regs {
 	u32 pmu_wakeup_cfg[5];
diff --git a/arch/arm/include/asm/arch-rockchip/sdram.h b/arch/arm/include/asm/arch-rockchip/sdram.h
index cf2a7b7d105..e02fea9f4fa 100644
--- a/arch/arm/include/asm/arch-rockchip/sdram.h
+++ b/arch/arm/include/asm/arch-rockchip/sdram.h
@@ -6,6 +6,7 @@ 
 #ifndef _ASM_ARCH_SDRAM_H
 #define _ASM_ARCH_SDRAM_H
 
+#include <linux/types.h>
 enum {
 	DDR4 = 0,
 	DDR3 = 0x3,
diff --git a/arch/arm/include/asm/arch-rockchip/sdram_common.h b/arch/arm/include/asm/arch-rockchip/sdram_common.h
index 5efa6e9445d..6d8c93092f3 100644
--- a/arch/arm/include/asm/arch-rockchip/sdram_common.h
+++ b/arch/arm/include/asm/arch-rockchip/sdram_common.h
@@ -10,6 +10,7 @@ 
 #define MHZ		(1000 * 1000)
 #endif
 
+#include <asm/types.h>
 #define PATTERN		(0x5aa5f00f)
 
 #define MIN(a, b)	(((a) > (b)) ? (b) : (a))
diff --git a/arch/arm/include/asm/arch-rockchip/sdram_msch.h b/arch/arm/include/asm/arch-rockchip/sdram_msch.h
index cfb3d9cc869..9ae4d271592 100644
--- a/arch/arm/include/asm/arch-rockchip/sdram_msch.h
+++ b/arch/arm/include/asm/arch-rockchip/sdram_msch.h
@@ -6,6 +6,7 @@ 
 #ifndef _ASM_ARCH_SDRAM_MSCH_H
 #define _ASM_ARCH_SDRAM_MSCH_H
 
+#include <asm/types.h>
 union noc_ddrtiminga0 {
 	u32 d32;
 	struct {
diff --git a/arch/arm/include/asm/arch-rockchip/sdram_pctl_px30.h b/arch/arm/include/asm/arch-rockchip/sdram_pctl_px30.h
index 3a3657789f6..e48a6b87f73 100644
--- a/arch/arm/include/asm/arch-rockchip/sdram_pctl_px30.h
+++ b/arch/arm/include/asm/arch-rockchip/sdram_pctl_px30.h
@@ -8,6 +8,8 @@ 
 #include <asm/arch-rockchip/sdram_common.h>
 
 #ifndef __ASSEMBLY__
+#include <compiler.h>
+#include <asm/types.h>
 #include <linux/bitops.h>
 #endif
 
diff --git a/arch/arm/include/asm/arch-rockchip/sdram_phy_px30.h b/arch/arm/include/asm/arch-rockchip/sdram_phy_px30.h
index a033a185388..548f076ef76 100644
--- a/arch/arm/include/asm/arch-rockchip/sdram_phy_px30.h
+++ b/arch/arm/include/asm/arch-rockchip/sdram_phy_px30.h
@@ -9,6 +9,8 @@ 
 #include <asm/arch-rockchip/sdram_phy_ron_rtt_px30.h>
 
 #ifndef __ASSEMBLY__
+#include <compiler.h>
+#include <asm/types.h>
 #include <linux/bitops.h>
 #endif
 
diff --git a/arch/arm/include/asm/arch-rockchip/sdram_px30.h b/arch/arm/include/asm/arch-rockchip/sdram_px30.h
index 2ab8e97ae1d..2a4353976f1 100644
--- a/arch/arm/include/asm/arch-rockchip/sdram_px30.h
+++ b/arch/arm/include/asm/arch-rockchip/sdram_px30.h
@@ -10,6 +10,7 @@ 
 #include <asm/arch-rockchip/sdram_pctl_px30.h>
 #include <asm/arch-rockchip/sdram_phy_px30.h>
 #include <asm/arch-rockchip/sdram_phy_ron_rtt_px30.h>
+#include <asm/types.h>
 
 #define SR_IDLE				93
 #define PD_IDLE				13
diff --git a/arch/arm/include/asm/arch-rockchip/sdram_rk3036.h b/arch/arm/include/asm/arch-rockchip/sdram_rk3036.h
index 7f89d7f9211..85a9f54e6d6 100644
--- a/arch/arm/include/asm/arch-rockchip/sdram_rk3036.h
+++ b/arch/arm/include/asm/arch-rockchip/sdram_rk3036.h
@@ -6,6 +6,7 @@ 
 #define _ASM_ARCH_SDRAM_RK3036_H
 
 #include <linux/kernel.h>
+#include <linux/types.h>
 struct rk3036_ddr_pctl {
 	u32 scfg;
 	u32 sctl;
diff --git a/arch/arm/include/asm/arch-rockchip/sdram_rk322x.h b/arch/arm/include/asm/arch-rockchip/sdram_rk322x.h
index 2aaf66c1ab0..60c68f751a5 100644
--- a/arch/arm/include/asm/arch-rockchip/sdram_rk322x.h
+++ b/arch/arm/include/asm/arch-rockchip/sdram_rk322x.h
@@ -6,6 +6,7 @@ 
 #define _ASM_ARCH_SDRAM_RK322X_H
 
 #ifndef __ASSEMBLY__
+#include <asm/types.h>
 #include <linux/bitops.h>
 #include <linux/kernel.h>
 #endif
diff --git a/arch/arm/include/asm/arch-rockchip/sdram_rk3288.h b/arch/arm/include/asm/arch-rockchip/sdram_rk3288.h
index 9dede806843..75a465c3c0d 100644
--- a/arch/arm/include/asm/arch-rockchip/sdram_rk3288.h
+++ b/arch/arm/include/asm/arch-rockchip/sdram_rk3288.h
@@ -8,6 +8,7 @@ 
 #ifndef _ASM_ARCH_RK3288_SDRAM_H__
 #define _ASM_ARCH_RK3288_SDRAM_H__
 
+#include <asm/types.h>
 #include <linux/kernel.h>
 struct rk3288_sdram_channel {
 	/*
diff --git a/arch/arm/include/asm/arch-rockchip/sdram_rk3328.h b/arch/arm/include/asm/arch-rockchip/sdram_rk3328.h
index 10923505d6e..cfb07c646af 100644
--- a/arch/arm/include/asm/arch-rockchip/sdram_rk3328.h
+++ b/arch/arm/include/asm/arch-rockchip/sdram_rk3328.h
@@ -10,6 +10,7 @@ 
 #include <asm/arch-rockchip/sdram_pctl_px30.h>
 #include <asm/arch-rockchip/sdram_phy_px30.h>
 #include <asm/arch-rockchip/sdram_phy_ron_rtt_px30.h>
+#include <asm/types.h>
 
 #define SR_IDLE		93
 #define PD_IDLE		13
diff --git a/arch/arm/include/asm/arch-rockchip/sdram_rk3399.h b/arch/arm/include/asm/arch-rockchip/sdram_rk3399.h
index c76372ee826..6123cd2b9a5 100644
--- a/arch/arm/include/asm/arch-rockchip/sdram_rk3399.h
+++ b/arch/arm/include/asm/arch-rockchip/sdram_rk3399.h
@@ -8,6 +8,7 @@ 
 #include <asm/arch-rockchip/sdram_common.h>
 #include <asm/arch-rockchip/sdram_msch.h>
 #ifndef __ASSEMBLY__
+#include <asm/types.h>
 #include <linux/bitops.h>
 #endif
 
diff --git a/arch/arm/include/asm/arch-rockchip/timer.h b/arch/arm/include/asm/arch-rockchip/timer.h
index 77b54220447..befe0b66b40 100644
--- a/arch/arm/include/asm/arch-rockchip/timer.h
+++ b/arch/arm/include/asm/arch-rockchip/timer.h
@@ -6,6 +6,7 @@ 
 #ifndef __ASM_ARCH_TIMER_H
 #define __ASM_ARCH_TIMER_H
 
+#include <asm/types.h>
 struct rk_timer {
 	u32 timer_load_count0;
 	u32 timer_load_count1;
diff --git a/arch/arm/include/asm/arch-rockchip/vop_rk3288.h b/arch/arm/include/asm/arch-rockchip/vop_rk3288.h
index c1aab4219e4..5e6fa4f32d7 100644
--- a/arch/arm/include/asm/arch-rockchip/vop_rk3288.h
+++ b/arch/arm/include/asm/arch-rockchip/vop_rk3288.h
@@ -7,6 +7,7 @@ 
 #ifndef _ASM_ARCH_VOP_RK3288_H
 #define _ASM_ARCH_VOP_RK3288_H
 
+#include <asm/types.h>
 #include <linux/kernel.h>
 struct rk3288_vop {
 	u32 reg_cfg_done;
diff --git a/arch/arm/include/asm/arch-s32v234/lpddr2.h b/arch/arm/include/asm/arch-s32v234/lpddr2.h
index c5efee5b75d..6b215738ec2 100644
--- a/arch/arm/include/asm/arch-s32v234/lpddr2.h
+++ b/arch/arm/include/asm/arch-s32v234/lpddr2.h
@@ -7,6 +7,7 @@ 
 #define __ARCH_ARM_MACH_S32V234_LPDDR2_H__
 
 /* definitions for LPDDR2 PAD values */
+#include <linux/types.h>
 #define LPDDR2_CLK0_PAD	\
 	(SIUL2_MSCR_DDR_SEL_LPDDR2 | SIUL2_MSCR_DDR_INPUT_DIFF_DDR | SIUL2_MSCR_DDR_ODT_120ohm |\
 	 SIUL2_MSCR_DSE_48ohm | SIUL2_MSCR_PUS_100K_UP | SIUL2_MSCR_CRPOINT_TRIM_1 |			\
diff --git a/arch/arm/include/asm/arch-spear/gpio.h b/arch/arm/include/asm/arch-spear/gpio.h
index 4c8c40b1c99..69a1fd0d9e2 100644
--- a/arch/arm/include/asm/arch-spear/gpio.h
+++ b/arch/arm/include/asm/arch-spear/gpio.h
@@ -7,6 +7,7 @@ 
 #ifndef __ASM_ARCH_SPEAR_GPIO_H
 #define __ASM_ARCH_SPEAR_GPIO_H
 
+#include <asm/types.h>
 enum gpio_direction {
 	GPIO_DIRECTION_IN,
 	GPIO_DIRECTION_OUT,
diff --git a/arch/arm/include/asm/arch-spear/spr_defs.h b/arch/arm/include/asm/arch-spear/spr_defs.h
index d09e7eb63a4..1a37dd72efa 100644
--- a/arch/arm/include/asm/arch-spear/spr_defs.h
+++ b/arch/arm/include/asm/arch-spear/spr_defs.h
@@ -7,6 +7,7 @@ 
 #ifndef __SPR_DEFS_H__
 #define __SPR_DEFS_H__
 
+#include <linux/types.h>
 extern int spear_board_init(ulong);
 extern void setfreq(unsigned int, unsigned int);
 extern unsigned int setfreq_sz;
diff --git a/arch/arm/include/asm/arch-spear/spr_emi.h b/arch/arm/include/asm/arch-spear/spr_emi.h
index 7b1cf35d3ab..1667929de29 100644
--- a/arch/arm/include/asm/arch-spear/spr_emi.h
+++ b/arch/arm/include/asm/arch-spear/spr_emi.h
@@ -34,4 +34,5 @@  struct emi_regs {
 
 #endif
 
+#include <asm/types.h>
 #endif
diff --git a/arch/arm/include/asm/arch-spear/spr_gpt.h b/arch/arm/include/asm/arch-spear/spr_gpt.h
index dced0a17a62..cb63e314b57 100644
--- a/arch/arm/include/asm/arch-spear/spr_gpt.h
+++ b/arch/arm/include/asm/arch-spear/spr_gpt.h
@@ -7,6 +7,7 @@ 
 #ifndef _SPR_GPT_H
 #define _SPR_GPT_H
 
+#include <asm/types.h>
 struct gpt_regs {
 	u8 reserved[0x80];
 	u32 control;
diff --git a/arch/arm/include/asm/arch-spear/spr_misc.h b/arch/arm/include/asm/arch-spear/spr_misc.h
index 01711193519..a177d69c7fb 100644
--- a/arch/arm/include/asm/arch-spear/spr_misc.h
+++ b/arch/arm/include/asm/arch-spear/spr_misc.h
@@ -7,6 +7,7 @@ 
 #ifndef _SPR_MISC_H
 #define _SPR_MISC_H
 
+#include <linux/types.h>
 struct misc_regs {
 	u32 auto_cfg_reg;	/* 0x0 */
 	u32 armdbg_ctr_reg;	/* 0x4 */
diff --git a/arch/arm/include/asm/arch-spear/spr_ssp.h b/arch/arm/include/asm/arch-spear/spr_ssp.h
index 088d34b405e..48344f6b9f2 100644
--- a/arch/arm/include/asm/arch-spear/spr_ssp.h
+++ b/arch/arm/include/asm/arch-spear/spr_ssp.h
@@ -6,6 +6,7 @@ 
 #ifndef _SPR_SSP_H
 #define _SPR_SSP_H
 
+#include <asm/types.h>
 struct ssp_regs {
 	u32 sspcr0;
 	u32 sspcr1;
diff --git a/arch/arm/include/asm/arch-spear/spr_syscntl.h b/arch/arm/include/asm/arch-spear/spr_syscntl.h
index 6a83d87d134..d4b259e3fae 100644
--- a/arch/arm/include/asm/arch-spear/spr_syscntl.h
+++ b/arch/arm/include/asm/arch-spear/spr_syscntl.h
@@ -7,6 +7,7 @@ 
 #ifndef __SYSCTRL_H
 #define __SYSCTRL_H
 
+#include <asm/types.h>
 struct syscntl_regs {
 	u32 scctrl;
 	u32 scsysstat;
diff --git a/arch/arm/include/asm/arch-stm32/gpio.h b/arch/arm/include/asm/arch-stm32/gpio.h
index 570e80a6ba8..1b4f560ba70 100644
--- a/arch/arm/include/asm/arch-stm32/gpio.h
+++ b/arch/arm/include/asm/arch-stm32/gpio.h
@@ -7,6 +7,7 @@ 
 #ifndef _GPIO_H_
 #define _GPIO_H_
 
+#include <asm/types.h>
 #define STM32_GPIOS_PER_BANK		16
 
 enum stm32_gpio_port {
diff --git a/arch/arm/include/asm/arch-stm32f4/stm32.h b/arch/arm/include/asm/arch-stm32f4/stm32.h
index 2094bd73212..74ee7130fb8 100644
--- a/arch/arm/include/asm/arch-stm32f4/stm32.h
+++ b/arch/arm/include/asm/arch-stm32f4/stm32.h
@@ -11,6 +11,7 @@ 
 #define _MACH_STM32_H_
 
 #include <asm/arch-stm32/stm32f.h>
+#include <asm/types.h>
 
 /*
  * Peripheral memory map
diff --git a/arch/arm/include/asm/arch-stm32f4/stm32_pwr.h b/arch/arm/include/asm/arch-stm32f4/stm32_pwr.h
index 8af6de220d8..a199b4ec53e 100644
--- a/arch/arm/include/asm/arch-stm32f4/stm32_pwr.h
+++ b/arch/arm/include/asm/arch-stm32f4/stm32_pwr.h
@@ -8,6 +8,7 @@ 
 #define __STM32_PWR_H_
 
 #ifndef __ASSEMBLY__
+#include <asm/types.h>
 #include <linux/bitops.h>
 #endif
 
diff --git a/arch/arm/include/asm/arch-stm32f7/stm32.h b/arch/arm/include/asm/arch-stm32f7/stm32.h
index 3451e74a3d0..83893393f40 100644
--- a/arch/arm/include/asm/arch-stm32f7/stm32.h
+++ b/arch/arm/include/asm/arch-stm32f7/stm32.h
@@ -8,6 +8,7 @@ 
 #define _ASM_ARCH_HARDWARE_H
 
 #include <asm/arch-stm32/stm32f.h>
+#include <asm/types.h>
 
 static const u32 sect_sz_kb[CONFIG_SYS_MAX_FLASH_SECT] = {
 	[0 ... 3] =	32 * 1024,
diff --git a/arch/arm/include/asm/arch-stm32f7/stm32_pwr.h b/arch/arm/include/asm/arch-stm32f7/stm32_pwr.h
index 02faaeb663c..fe244e7ed5c 100644
--- a/arch/arm/include/asm/arch-stm32f7/stm32_pwr.h
+++ b/arch/arm/include/asm/arch-stm32f7/stm32_pwr.h
@@ -8,6 +8,7 @@ 
 #define __STM32_PWR_H_
 
 #ifndef __ASSEMBLY__
+#include <asm/types.h>
 #include <linux/bitops.h>
 #endif
 
diff --git a/arch/arm/include/asm/arch-stm32f7/syscfg.h b/arch/arm/include/asm/arch-stm32f7/syscfg.h
index 985ae2544de..c1f7ebeb7b9 100644
--- a/arch/arm/include/asm/arch-stm32f7/syscfg.h
+++ b/arch/arm/include/asm/arch-stm32f7/syscfg.h
@@ -8,6 +8,7 @@ 
 #define _STM32_SYSCFG_H
 
 #ifndef __ASSEMBLY__
+#include <asm/types.h>
 #include <linux/bitops.h>
 #endif
 
diff --git a/arch/arm/include/asm/arch-stv0991/gpio.h b/arch/arm/include/asm/arch-stv0991/gpio.h
index b27f4078582..0dd9f8f0fdf 100644
--- a/arch/arm/include/asm/arch-stv0991/gpio.h
+++ b/arch/arm/include/asm/arch-stv0991/gpio.h
@@ -7,6 +7,7 @@ 
 #ifndef __ASM_ARCH_STV0991_GPIO_H
 #define __ASM_ARCH_STV0991_GPIO_H
 
+#include <asm/types.h>
 enum gpio_direction {
 	GPIO_DIRECTION_IN,
 	GPIO_DIRECTION_OUT,
diff --git a/arch/arm/include/asm/arch-stv0991/stv0991_cgu.h b/arch/arm/include/asm/arch-stv0991/stv0991_cgu.h
index df9dd54e5a8..81c80dc2afb 100644
--- a/arch/arm/include/asm/arch-stv0991/stv0991_cgu.h
+++ b/arch/arm/include/asm/arch-stv0991/stv0991_cgu.h
@@ -7,6 +7,7 @@ 
 #ifndef _STV0991_CGU_H
 #define _STV0991_CGU_H
 
+#include <asm/types.h>
 struct stv0991_cgu_regs {
 	u32 cpu_freq;		/* offset 0x0 */
 	u32 icn2_freq;		/* offset 0x4 */
diff --git a/arch/arm/include/asm/arch-stv0991/stv0991_creg.h b/arch/arm/include/asm/arch-stv0991/stv0991_creg.h
index 4d444a6df16..ed6ebbfbff9 100644
--- a/arch/arm/include/asm/arch-stv0991/stv0991_creg.h
+++ b/arch/arm/include/asm/arch-stv0991/stv0991_creg.h
@@ -7,6 +7,7 @@ 
 #ifndef _STV0991_CREG_H
 #define _STV0991_CREG_H
 
+#include <asm/types.h>
 struct stv0991_creg {
 	u32 version;		/* offset 0x0 */
 	u32 hdpctl;		/* offset 0x4 */
diff --git a/arch/arm/include/asm/arch-stv0991/stv0991_gpt.h b/arch/arm/include/asm/arch-stv0991/stv0991_gpt.h
index cd27472ad7e..0dbc88db1d8 100644
--- a/arch/arm/include/asm/arch-stv0991/stv0991_gpt.h
+++ b/arch/arm/include/asm/arch-stv0991/stv0991_gpt.h
@@ -8,6 +8,7 @@ 
 #define _STV0991_GPT_H
 
 #include <asm/arch-stv0991/hardware.h>
+#include <asm/types.h>
 
 struct gpt_regs {
 	u32 cr1;
diff --git a/arch/arm/include/asm/arch-stv0991/stv0991_wdru.h b/arch/arm/include/asm/arch-stv0991/stv0991_wdru.h
index 8cb8a8a6137..b90fa1cd5a2 100644
--- a/arch/arm/include/asm/arch-stv0991/stv0991_wdru.h
+++ b/arch/arm/include/asm/arch-stv0991/stv0991_wdru.h
@@ -7,6 +7,7 @@ 
 #ifndef _STV0991_WD_RST_H
 #define _STV0991_WD_RST_H
 #include <asm/arch-stv0991/hardware.h>
+#include <asm/types.h>
 
 struct stv0991_wd_ru {
 	u32 wdru_config;
diff --git a/arch/arm/include/asm/arch-sunxi/ccu.h b/arch/arm/include/asm/arch-sunxi/ccu.h
index cac5c5faf05..161fbd0eabe 100644
--- a/arch/arm/include/asm/arch-sunxi/ccu.h
+++ b/arch/arm/include/asm/arch-sunxi/ccu.h
@@ -9,6 +9,7 @@ 
 
 #ifndef __ASSEMBLY__
 #include <linux/bitops.h>
+#include <linux/types.h>
 #endif
 
 /**
diff --git a/arch/arm/include/asm/arch-sunxi/clock_sun4i.h b/arch/arm/include/asm/arch-sunxi/clock_sun4i.h
index 2cec91cb20e..67d84f60bb6 100644
--- a/arch/arm/include/asm/arch-sunxi/clock_sun4i.h
+++ b/arch/arm/include/asm/arch-sunxi/clock_sun4i.h
@@ -352,6 +352,7 @@  struct sunxi_ccm_reg {
 #define CCM_DE_CTRL_GATE		(1 << 31)
 
 #ifndef __ASSEMBLY__
+#include <asm/types.h>
 void clock_set_pll1(unsigned int hz);
 void clock_set_pll3(unsigned int hz);
 unsigned int clock_get_pll3(void);
diff --git a/arch/arm/include/asm/arch-sunxi/clock_sun50i_h6.h b/arch/arm/include/asm/arch-sunxi/clock_sun50i_h6.h
index 426069fc69a..1c4a8bc589f 100644
--- a/arch/arm/include/asm/arch-sunxi/clock_sun50i_h6.h
+++ b/arch/arm/include/asm/arch-sunxi/clock_sun50i_h6.h
@@ -10,6 +10,7 @@ 
 #define _SUNXI_CLOCK_SUN50I_H6_H
 
 #ifndef __ASSEMBLY__
+#include <asm/types.h>
 #include <linux/bitops.h>
 #endif
 
diff --git a/arch/arm/include/asm/arch-sunxi/clock_sun6i.h b/arch/arm/include/asm/arch-sunxi/clock_sun6i.h
index 3c3ebfd3a20..cf2f5bfcee9 100644
--- a/arch/arm/include/asm/arch-sunxi/clock_sun6i.h
+++ b/arch/arm/include/asm/arch-sunxi/clock_sun6i.h
@@ -519,6 +519,7 @@  struct sunxi_ccm_reg {
 #define CCM_SEC_SWITCH_PLL_NONSEC	(1 << 0)
 
 #ifndef __ASSEMBLY__
+#include <asm/types.h>
 void clock_set_pll1(unsigned int hz);
 void clock_set_pll3(unsigned int hz);
 void clock_set_pll3_factors(int m, int n);
diff --git a/arch/arm/include/asm/arch-sunxi/clock_sun8i_a83t.h b/arch/arm/include/asm/arch-sunxi/clock_sun8i_a83t.h
index 14df3cc8f46..7c6f14f49cd 100644
--- a/arch/arm/include/asm/arch-sunxi/clock_sun8i_a83t.h
+++ b/arch/arm/include/asm/arch-sunxi/clock_sun8i_a83t.h
@@ -297,6 +297,7 @@  struct sunxi_ccm_reg {
 
 
 #ifndef __ASSEMBLY__
+#include <asm/types.h>
 void clock_set_pll1(unsigned int hz);
 void clock_set_pll5(unsigned int clk);
 unsigned int clock_get_pll6(void);
diff --git a/arch/arm/include/asm/arch-sunxi/clock_sun9i.h b/arch/arm/include/asm/arch-sunxi/clock_sun9i.h
index fe6b8ba2732..6b990940d6a 100644
--- a/arch/arm/include/asm/arch-sunxi/clock_sun9i.h
+++ b/arch/arm/include/asm/arch-sunxi/clock_sun9i.h
@@ -9,6 +9,7 @@ 
 #define _SUNXI_CLOCK_SUN9I_H
 
 #ifndef __ASSEMBLY__
+#include <asm/types.h>
 #include <linux/bitops.h>
 #endif
 
diff --git a/arch/arm/include/asm/arch-sunxi/cpucfg.h b/arch/arm/include/asm/arch-sunxi/cpucfg.h
index 4aaebe0a976..a5911e77a7a 100644
--- a/arch/arm/include/asm/arch-sunxi/cpucfg.h
+++ b/arch/arm/include/asm/arch-sunxi/cpucfg.h
@@ -13,6 +13,7 @@ 
 
 #ifndef __ASSEMBLY__
 
+#include <compiler.h>
 struct __packed sunxi_cpucfg_cpu {
 	u32 rst;		/* base + 0x0 */
 	u32 ctrl;		/* base + 0x4 */
diff --git a/arch/arm/include/asm/arch-sunxi/display.h b/arch/arm/include/asm/arch-sunxi/display.h
index 525f9cb839d..87a9237cc7f 100644
--- a/arch/arm/include/asm/arch-sunxi/display.h
+++ b/arch/arm/include/asm/arch-sunxi/display.h
@@ -8,6 +8,7 @@ 
 #ifndef _SUNXI_DISPLAY_H
 #define _SUNXI_DISPLAY_H
 
+#include <asm/types.h>
 struct sunxi_de_fe_reg {
 	u32 enable;			/* 0x000 */
 	u32 frame_ctrl;			/* 0x004 */
diff --git a/arch/arm/include/asm/arch-sunxi/display2.h b/arch/arm/include/asm/arch-sunxi/display2.h
index 7202d2756cf..d7912aa8c7f 100644
--- a/arch/arm/include/asm/arch-sunxi/display2.h
+++ b/arch/arm/include/asm/arch-sunxi/display2.h
@@ -13,6 +13,7 @@ 
 #define _SUNXI_DISPLAY2_H
 
 /* internal clock settings */
+#include <asm/types.h>
 struct de_clk {
 	u32 gate_cfg;
 	u32 bus_cfg;
diff --git a/arch/arm/include/asm/arch-sunxi/dma_sun4i.h b/arch/arm/include/asm/arch-sunxi/dma_sun4i.h
index 309dc4f7cfd..bcf4ecf3c51 100644
--- a/arch/arm/include/asm/arch-sunxi/dma_sun4i.h
+++ b/arch/arm/include/asm/arch-sunxi/dma_sun4i.h
@@ -6,6 +6,7 @@ 
 #ifndef _SUNXI_DMA_SUN4I_H
 #define _SUNXI_DMA_SUN4I_H
 
+#include <asm/types.h>
 struct sunxi_dma_cfg
 {
 	u32 ctl;		/* 0x00 Control */
diff --git a/arch/arm/include/asm/arch-sunxi/dram_sun4i.h b/arch/arm/include/asm/arch-sunxi/dram_sun4i.h
index 69c6600e981..8881a9721f1 100644
--- a/arch/arm/include/asm/arch-sunxi/dram_sun4i.h
+++ b/arch/arm/include/asm/arch-sunxi/dram_sun4i.h
@@ -11,6 +11,7 @@ 
 #ifndef _SUNXI_DRAM_SUN4I_H
 #define _SUNXI_DRAM_SUN4I_H
 
+#include <asm/types.h>
 struct sunxi_dram_reg {
 	u32 ccr;		/* 0x00 controller configuration register */
 	u32 dcr;		/* 0x04 dram configuration register */
diff --git a/arch/arm/include/asm/arch-sunxi/dram_sun50i_h6.h b/arch/arm/include/asm/arch-sunxi/dram_sun50i_h6.h
index ddaa238c279..a524ac72d27 100644
--- a/arch/arm/include/asm/arch-sunxi/dram_sun50i_h6.h
+++ b/arch/arm/include/asm/arch-sunxi/dram_sun50i_h6.h
@@ -11,6 +11,7 @@ 
 
 #include <stdbool.h>
 #ifndef __ASSEMBLY__
+#include <asm/types.h>
 #include <linux/bitops.h>
 #include <linux/kernel.h>
 #endif
diff --git a/arch/arm/include/asm/arch-sunxi/dram_sun6i.h b/arch/arm/include/asm/arch-sunxi/dram_sun6i.h
index b66d58cd73b..b5392faa689 100644
--- a/arch/arm/include/asm/arch-sunxi/dram_sun6i.h
+++ b/arch/arm/include/asm/arch-sunxi/dram_sun6i.h
@@ -14,6 +14,7 @@ 
 #define _SUNXI_DRAM_SUN6I_H
 
 #ifndef __ASSEMBLY__
+#include <asm/types.h>
 #include <linux/bitops.h>
 #endif
 
diff --git a/arch/arm/include/asm/arch-sunxi/dram_sun8i_a23.h b/arch/arm/include/asm/arch-sunxi/dram_sun8i_a23.h
index ca98597f1f8..611f881467e 100644
--- a/arch/arm/include/asm/arch-sunxi/dram_sun8i_a23.h
+++ b/arch/arm/include/asm/arch-sunxi/dram_sun8i_a23.h
@@ -13,6 +13,7 @@ 
 #ifndef _SUNXI_DRAM_SUN8I_H
 #define _SUNXI_DRAM_SUN8I_H
 
+#include <asm/types.h>
 struct dram_para {
 	u32 clock;
 	u32 type;
diff --git a/arch/arm/include/asm/arch-sunxi/dram_sun8i_a33.h b/arch/arm/include/asm/arch-sunxi/dram_sun8i_a33.h
index 3f65306cc68..d66d933db3b 100644
--- a/arch/arm/include/asm/arch-sunxi/dram_sun8i_a33.h
+++ b/arch/arm/include/asm/arch-sunxi/dram_sun8i_a33.h
@@ -12,6 +12,7 @@ 
 #define _SUNXI_DRAM_SUN8I_A33_H
 
 #ifndef __ASSEMBLY__
+#include <asm/types.h>
 #include <linux/bitops.h>
 #endif
 
diff --git a/arch/arm/include/asm/arch-sunxi/dram_sun8i_a83t.h b/arch/arm/include/asm/arch-sunxi/dram_sun8i_a83t.h
index 2a879963547..afc128ce80f 100644
--- a/arch/arm/include/asm/arch-sunxi/dram_sun8i_a83t.h
+++ b/arch/arm/include/asm/arch-sunxi/dram_sun8i_a83t.h
@@ -12,6 +12,7 @@ 
 #define _SUNXI_DRAM_SUN8I_A83T_H
 
 #ifndef __ASSEMBLY__
+#include <asm/types.h>
 #include <linux/bitops.h>
 #endif
 
diff --git a/arch/arm/include/asm/arch-sunxi/dram_sun9i.h b/arch/arm/include/asm/arch-sunxi/dram_sun9i.h
index 41df5fe5b6f..21f8f661371 100644
--- a/arch/arm/include/asm/arch-sunxi/dram_sun9i.h
+++ b/arch/arm/include/asm/arch-sunxi/dram_sun9i.h
@@ -12,6 +12,7 @@ 
 #define _SUNXI_DRAM_SUN9I_H
 
 #ifndef __ASSEMBLY__
+#include <asm/types.h>
 #include <linux/bitops.h>
 #endif
 
diff --git a/arch/arm/include/asm/arch-sunxi/dram_sunxi_dw.h b/arch/arm/include/asm/arch-sunxi/dram_sunxi_dw.h
index 3420f939f24..8fc2c12c6e4 100644
--- a/arch/arm/include/asm/arch-sunxi/dram_sunxi_dw.h
+++ b/arch/arm/include/asm/arch-sunxi/dram_sunxi_dw.h
@@ -14,6 +14,7 @@ 
 
 #include <linux/bitops.h>
 #include <linux/kernel.h>
+#include <linux/types.h>
 
 struct sunxi_mctl_com_reg {
 	u32 cr;			/* 0x00 control register */
diff --git a/arch/arm/include/asm/arch-sunxi/lcdc.h b/arch/arm/include/asm/arch-sunxi/lcdc.h
index 7fca301df96..a971de33205 100644
--- a/arch/arm/include/asm/arch-sunxi/lcdc.h
+++ b/arch/arm/include/asm/arch-sunxi/lcdc.h
@@ -11,6 +11,7 @@ 
 
 #include <fdtdec.h>
 #include <stdbool.h>
+#include <asm/types.h>
 
 struct sunxi_lcdc_reg {
 	u32 ctrl;			/* 0x00 */
diff --git a/arch/arm/include/asm/arch-sunxi/prcm.h b/arch/arm/include/asm/arch-sunxi/prcm.h
index 767d1ff98d7..43a7a532ea9 100644
--- a/arch/arm/include/asm/arch-sunxi/prcm.h
+++ b/arch/arm/include/asm/arch-sunxi/prcm.h
@@ -200,6 +200,7 @@ 
 #define PRCM_SEC_SWITCH_PWR_GATE_NONSEC (0x1 << 2)
 
 #ifndef __ASSEMBLY__
+#include <asm/types.h>
 #include <linux/compiler.h>
 
 struct sunxi_prcm_reg {
diff --git a/arch/arm/include/asm/arch-sunxi/pwm.h b/arch/arm/include/asm/arch-sunxi/pwm.h
index b89bddd2e89..15e8381b5ac 100644
--- a/arch/arm/include/asm/arch-sunxi/pwm.h
+++ b/arch/arm/include/asm/arch-sunxi/pwm.h
@@ -7,6 +7,7 @@ 
 #define _SUNXI_PWM_H
 
 #ifndef __ASSEMBLY__
+#include <asm/types.h>
 #include <linux/bitops.h>
 #endif
 
diff --git a/arch/arm/include/asm/arch-sunxi/rsb.h b/arch/arm/include/asm/arch-sunxi/rsb.h
index 8c64a995f25..1fab543dce4 100644
--- a/arch/arm/include/asm/arch-sunxi/rsb.h
+++ b/arch/arm/include/asm/arch-sunxi/rsb.h
@@ -12,6 +12,7 @@ 
 #define __SUNXI_RSB_H
 
 #include <asm/io.h>
+#include <asm/types.h>
 
 struct sunxi_rsb_reg {
 	u32 ctrl;	/* 0x00 */
diff --git a/arch/arm/include/asm/arch-sunxi/spl.h b/arch/arm/include/asm/arch-sunxi/spl.h
index 8c916e8c752..de1a9c21d3f 100644
--- a/arch/arm/include/asm/arch-sunxi/spl.h
+++ b/arch/arm/include/asm/arch-sunxi/spl.h
@@ -7,6 +7,7 @@ 
 #ifndef	_ASM_ARCH_SPL_H_
 #define	_ASM_ARCH_SPL_H_
 
+#include <linux/types.h>
 #define BOOT0_MAGIC		"eGON.BT0"
 #define SPL_SIGNATURE		"SPL" /* marks "sunxi" SPL header */
 #define SPL_MAJOR_BITS		3
diff --git a/arch/arm/include/asm/arch-sunxi/tve.h b/arch/arm/include/asm/arch-sunxi/tve.h
index 46cd87e79e8..109e46bf455 100644
--- a/arch/arm/include/asm/arch-sunxi/tve.h
+++ b/arch/arm/include/asm/arch-sunxi/tve.h
@@ -9,6 +9,7 @@ 
 #ifndef _TVE_H
 #define _TVE_H
 
+#include <asm/types.h>
 enum tve_mode {
 	tve_mode_vga,
 	tve_mode_composite_pal,
diff --git a/arch/arm/include/asm/arch-sunxi/tzpc.h b/arch/arm/include/asm/arch-sunxi/tzpc.h
index 7a6fcaebdb5..6a94083ae03 100644
--- a/arch/arm/include/asm/arch-sunxi/tzpc.h
+++ b/arch/arm/include/asm/arch-sunxi/tzpc.h
@@ -7,6 +7,7 @@ 
 #define _SUNXI_TZPC_H
 
 #ifndef __ASSEMBLY__
+#include <asm/types.h>
 struct sunxi_tzpc {
 	u32 r0size;		/* 0x00 Size of secure RAM region */
 	u32 decport0_status;	/* 0x04 Status of decode protection port 0 */
diff --git a/arch/arm/include/asm/arch-sunxi/watchdog.h b/arch/arm/include/asm/arch-sunxi/watchdog.h
index 38e2ef2aca3..c30bb276ae9 100644
--- a/arch/arm/include/asm/arch-sunxi/watchdog.h
+++ b/arch/arm/include/asm/arch-sunxi/watchdog.h
@@ -9,6 +9,7 @@ 
 #ifndef _SUNXI_WATCHDOG_H_
 #define _SUNXI_WATCHDOG_H_
 
+#include <asm/types.h>
 #define WDT_CTRL_RESTART	(0x1 << 0)
 #define WDT_CTRL_KEY		(0x0a57 << 1)
 
diff --git a/arch/arm/include/asm/arch-tegra/apb_misc.h b/arch/arm/include/asm/arch-tegra/apb_misc.h
index d438966afbe..af98f984c9f 100644
--- a/arch/arm/include/asm/arch-tegra/apb_misc.h
+++ b/arch/arm/include/asm/arch-tegra/apb_misc.h
@@ -7,6 +7,7 @@ 
 #define _GP_PADCTRL_H_
 
 /* APB_MISC_PP registers */
+#include <asm/types.h>
 struct apb_misc_pp_ctlr {
 	u32	reserved0[2];
 	u32	strapping_opt_a;/* 0x08: APB_MISC_PP_STRAPPING_OPT_A */
diff --git a/arch/arm/include/asm/arch-tegra/bpmp_abi.h b/arch/arm/include/asm/arch-tegra/bpmp_abi.h
index 373da526ed6..599982a5f02 100644
--- a/arch/arm/include/asm/arch-tegra/bpmp_abi.h
+++ b/arch/arm/include/asm/arch-tegra/bpmp_abi.h
@@ -73,6 +73,7 @@ 
  *
  * @todo document the flags
  */
+#include <linux/types.h>
 struct mrq_request {
 	/** @brief MRQ number of the request */
 	uint32_t mrq;
diff --git a/arch/arm/include/asm/arch-tegra/cboot.h b/arch/arm/include/asm/arch-tegra/cboot.h
index d89e784f2d2..03ba29859bd 100644
--- a/arch/arm/include/asm/arch-tegra/cboot.h
+++ b/arch/arm/include/asm/arch-tegra/cboot.h
@@ -8,6 +8,7 @@ 
 
 #include <net.h>
 #include <linux/errno.h>
+#include <linux/types.h>
 
 #ifdef CONFIG_ARM64
 
diff --git a/arch/arm/include/asm/arch-tegra/clk_rst.h b/arch/arm/include/asm/arch-tegra/clk_rst.h
index 2359e142fb7..7771dc5cbee 100644
--- a/arch/arm/include/asm/arch-tegra/clk_rst.h
+++ b/arch/arm/include/asm/arch-tegra/clk_rst.h
@@ -8,6 +8,7 @@ 
 #define _TEGRA_CLK_RST_H_
 
 /* PLL registers - there are several PLLs in the clock controller */
+#include <linux/types.h>
 struct clk_pll {
 	uint pll_base;		/* the control register */
 	/* pll_out[0] is output A control, pll_out[1] is output B control */
diff --git a/arch/arm/include/asm/arch-tegra/clock.h b/arch/arm/include/asm/arch-tegra/clock.h
index 630287c1b78..cd35095cb10 100644
--- a/arch/arm/include/asm/arch-tegra/clock.h
+++ b/arch/arm/include/asm/arch-tegra/clock.h
@@ -8,6 +8,7 @@ 
 #ifndef _TEGRA_CLOCK_H_
 #define _TEGRA_CLOCK_H_
 
+#include <linux/types.h>
 struct udevice;
 
 /* Set of oscillator frequencies supported in the internal API. */
diff --git a/arch/arm/include/asm/arch-tegra/dc.h b/arch/arm/include/asm/arch-tegra/dc.h
index 6444af2993a..d8a079e3221 100644
--- a/arch/arm/include/asm/arch-tegra/dc.h
+++ b/arch/arm/include/asm/arch-tegra/dc.h
@@ -9,6 +9,7 @@ 
 
 #ifndef __ASSEMBLY__
 #include <linux/bitops.h>
+#include <linux/types.h>
 #endif
 
 /* Register definitions for the Tegra display controller */
diff --git a/arch/arm/include/asm/arch-tegra/fuse.h b/arch/arm/include/asm/arch-tegra/fuse.h
index 5b8e0bd8d16..e2412d0676f 100644
--- a/arch/arm/include/asm/arch-tegra/fuse.h
+++ b/arch/arm/include/asm/arch-tegra/fuse.h
@@ -8,6 +8,7 @@ 
 #define _FUSE_H_
 
 /* FUSE registers */
+#include <asm/types.h>
 struct fuse_regs {
 	u32 reserved0[64];		/* 0x00 - 0xFC: */
 	u32 production_mode;		/* 0x100: FUSE_PRODUCTION_MODE */
diff --git a/arch/arm/include/asm/arch-tegra/gpio.h b/arch/arm/include/asm/arch-tegra/gpio.h
index fe7b3a50e0d..15384670c95 100644
--- a/arch/arm/include/asm/arch-tegra/gpio.h
+++ b/arch/arm/include/asm/arch-tegra/gpio.h
@@ -6,6 +6,7 @@ 
 #ifndef _TEGRA_GPIO_H_
 #define _TEGRA_GPIO_H_
 
+#include <asm/types.h>
 #include <dt-bindings/gpio/tegra-gpio.h>
 
 #define TEGRA_GPIOS_PER_PORT	8
diff --git a/arch/arm/include/asm/arch-tegra/ivc.h b/arch/arm/include/asm/arch-tegra/ivc.h
index 52c10b8fab3..4f0e6a1300a 100644
--- a/arch/arm/include/asm/arch-tegra/ivc.h
+++ b/arch/arm/include/asm/arch-tegra/ivc.h
@@ -28,6 +28,7 @@ 
  */
 
 /**
+#include <linux/types.h>
  * struct tegra_ivc - In-memory shared memory layout.
  *
  * This is described in detail in ivc.c.
diff --git a/arch/arm/include/asm/arch-tegra/pmc.h b/arch/arm/include/asm/arch-tegra/pmc.h
index e1f5a738135..e4ab21552a8 100644
--- a/arch/arm/include/asm/arch-tegra/pmc.h
+++ b/arch/arm/include/asm/arch-tegra/pmc.h
@@ -9,6 +9,7 @@ 
 
 #ifndef __ASSEMBLY__
 #include <linux/bitops.h>
+#include <linux/types.h>
 #endif
 
 /* Power Management Controller (APBDEV_PMC_) registers */
diff --git a/arch/arm/include/asm/arch-tegra/pwm.h b/arch/arm/include/asm/arch-tegra/pwm.h
index eebd104de9d..77de1478293 100644
--- a/arch/arm/include/asm/arch-tegra/pwm.h
+++ b/arch/arm/include/asm/arch-tegra/pwm.h
@@ -9,6 +9,7 @@ 
 #define __ASM_ARCH_TEGRA_PWM_H
 
 /* This is a single PWM channel */
+#include <linux/types.h>
 struct pwm_ctlr {
 	uint control;		/* Control register */
 	uint reserved[3];	/* Space space */
diff --git a/arch/arm/include/asm/arch-tegra/scu.h b/arch/arm/include/asm/arch-tegra/scu.h
index afe076419cf..942f644cc3b 100644
--- a/arch/arm/include/asm/arch-tegra/scu.h
+++ b/arch/arm/include/asm/arch-tegra/scu.h
@@ -8,6 +8,7 @@ 
 #define _SCU_H_
 
 /* ARM Snoop Control Unit (SCU) registers */
+#include <linux/types.h>
 struct scu_ctlr {
 	uint scu_ctrl;		/* SCU Control Register, offset 00 */
 	uint scu_cfg;		/* SCU Config Register, offset 04 */
diff --git a/arch/arm/include/asm/arch-tegra/tegra_ahub.h b/arch/arm/include/asm/arch-tegra/tegra_ahub.h
index 96d542a91ca..36de87033e7 100644
--- a/arch/arm/include/asm/arch-tegra/tegra_ahub.h
+++ b/arch/arm/include/asm/arch-tegra/tegra_ahub.h
@@ -14,6 +14,7 @@ 
  * Each TX CIF transmits data into the XBAR. Each RX CIF can receive audio
  * transmitted by a particular TX CIF.
  */
+#include <asm/types.h>
 struct xbar_regs {
 	u32 apbif_rx0;		/* AUDIO_APBIF_RX0, offset 0x00 */
 	u32 apbif_rx1;		/* AUDIO_APBIF_RX1, offset 0x04 */
diff --git a/arch/arm/include/asm/arch-tegra/tegra_i2s.h b/arch/arm/include/asm/arch-tegra/tegra_i2s.h
index 9319383f7c1..55bd31acc7e 100644
--- a/arch/arm/include/asm/arch-tegra/tegra_i2s.h
+++ b/arch/arm/include/asm/arch-tegra/tegra_i2s.h
@@ -1,6 +1,7 @@ 
 /* SPDX-License-Identifier: GPL-2.0 */
 /*
  * tegra_i2s.h - Definitions for Tegra124 I2S driver.
+#include <asm/types.h>
  * Note, some structures (ex, CIF) are different in Tegra114.
  *
  * NVIDIA Tegra I2S controller
diff --git a/arch/arm/include/asm/arch-tegra/uart.h b/arch/arm/include/asm/arch-tegra/uart.h
index 24f0bdd51b8..01404dd12fd 100644
--- a/arch/arm/include/asm/arch-tegra/uart.h
+++ b/arch/arm/include/asm/arch-tegra/uart.h
@@ -8,6 +8,7 @@ 
 #define _UART_H_
 
 /* UART registers */
+#include <linux/types.h>
 struct uart_ctlr {
 	uint uart_thr_dlab_0;		/* UART_THR_DLAB_0_0, offset 00 */
 	uint uart_ier_dlab_0;		/* UART_IER_DLAB_0_0, offset 04 */
diff --git a/arch/arm/include/asm/arch-tegra/usb.h b/arch/arm/include/asm/arch-tegra/usb.h
index 6e6ea1443cb..9fc96dc251b 100644
--- a/arch/arm/include/asm/arch-tegra/usb.h
+++ b/arch/arm/include/asm/arch-tegra/usb.h
@@ -8,6 +8,7 @@ 
 #define _TEGRA_USB_H_
 
 /* USB Controller (USBx_CONTROLLER_) regs */
+#include <linux/types.h>
 struct usb_ctlr {
 	/* 0x000 */
 	uint id;
diff --git a/arch/arm/include/asm/arch-tegra/warmboot.h b/arch/arm/include/asm/arch-tegra/warmboot.h
index 3f02073ee49..0c2f0a56c25 100644
--- a/arch/arm/include/asm/arch-tegra/warmboot.h
+++ b/arch/arm/include/asm/arch-tegra/warmboot.h
@@ -7,6 +7,7 @@ 
 #ifndef _WARM_BOOT_H_
 #define _WARM_BOOT_H_
 
+#include <asm/types.h>
 #define STRAP_OPT_A_RAM_CODE_SHIFT	4
 #define STRAP_OPT_A_RAM_CODE_MASK	(0xf << STRAP_OPT_A_RAM_CODE_SHIFT)
 
diff --git a/arch/arm/include/asm/arch-tegra114/flow.h b/arch/arm/include/asm/arch-tegra114/flow.h
index 4f0fc3b7fb3..4c5fcfbb4d3 100644
--- a/arch/arm/include/asm/arch-tegra114/flow.h
+++ b/arch/arm/include/asm/arch-tegra114/flow.h
@@ -6,6 +6,7 @@ 
 #ifndef _TEGRA114_FLOW_H_
 #define _TEGRA114_FLOW_H_
 
+#include <asm/types.h>
 struct flow_ctlr {
 	u32 halt_cpu_events;
 	u32 halt_cop_events;
diff --git a/arch/arm/include/asm/arch-tegra114/gp_padctrl.h b/arch/arm/include/asm/arch-tegra114/gp_padctrl.h
index 69b35a1411e..9a09456dc58 100644
--- a/arch/arm/include/asm/arch-tegra114/gp_padctrl.h
+++ b/arch/arm/include/asm/arch-tegra114/gp_padctrl.h
@@ -7,6 +7,7 @@ 
 #define _TEGRA114_GP_PADCTRL_H_
 
 #include <asm/arch-tegra/gp_padctrl.h>
+#include <asm/types.h>
 
 /* APB_MISC_GP and padctrl registers */
 struct apb_misc_gp_ctlr {
diff --git a/arch/arm/include/asm/arch-tegra114/mc.h b/arch/arm/include/asm/arch-tegra114/mc.h
index 3930bab571f..7d60efe4383 100644
--- a/arch/arm/include/asm/arch-tegra114/mc.h
+++ b/arch/arm/include/asm/arch-tegra114/mc.h
@@ -10,6 +10,7 @@ 
 /**
  * Defines the memory controller registers we need/care about
  */
+#include <asm/types.h>
 struct mc_ctlr {
 	u32 reserved0[4];			/* offset 0x00 - 0x0C */
 	u32 mc_smmu_config;			/* offset 0x10 */
diff --git a/arch/arm/include/asm/arch-tegra114/sysctr.h b/arch/arm/include/asm/arch-tegra114/sysctr.h
index 228f423bed0..67731bbc05f 100644
--- a/arch/arm/include/asm/arch-tegra114/sysctr.h
+++ b/arch/arm/include/asm/arch-tegra114/sysctr.h
@@ -6,6 +6,7 @@ 
 #ifndef _TEGRA114_SYSCTR_H_
 #define _TEGRA114_SYSCTR_H_
 
+#include <asm/types.h>
 struct sysctr_ctlr {
 	u32 cntcr;		/* 0x00: SYSCTR0_CNTCR Counter Control */
 	u32 cntsr;		/* 0x04: SYSCTR0_CNTSR Counter Status */
diff --git a/arch/arm/include/asm/arch-tegra124/ahb.h b/arch/arm/include/asm/arch-tegra124/ahb.h
index d88cdfecea4..5180925d6fd 100644
--- a/arch/arm/include/asm/arch-tegra124/ahb.h
+++ b/arch/arm/include/asm/arch-tegra124/ahb.h
@@ -7,6 +7,7 @@ 
 #ifndef _TEGRA124_AHB_H_
 #define _TEGRA124_AHB_H_
 
+#include <asm/types.h>
 struct ahb_ctlr {
 	u32 reserved0;			/* 00h */
 	u32 arbitration_disable;	/* _ARBITRATION_DISABLE_0,	04h */
diff --git a/arch/arm/include/asm/arch-tegra124/clock.h b/arch/arm/include/asm/arch-tegra124/clock.h
index 3f54d362777..7c24026cce4 100644
--- a/arch/arm/include/asm/arch-tegra124/clock.h
+++ b/arch/arm/include/asm/arch-tegra124/clock.h
@@ -10,6 +10,7 @@ 
 #define _TEGRA124_CLOCK_H_
 
 #include <asm/arch-tegra/clock.h>
+#include <asm/types.h>
 
 /* CLK_RST_CONTROLLER_OSC_CTRL_0 */
 #define OSC_FREQ_SHIFT          28
diff --git a/arch/arm/include/asm/arch-tegra124/flow.h b/arch/arm/include/asm/arch-tegra124/flow.h
index ebcb22f1cb9..8b060acd756 100644
--- a/arch/arm/include/asm/arch-tegra124/flow.h
+++ b/arch/arm/include/asm/arch-tegra124/flow.h
@@ -8,6 +8,7 @@ 
 #define _TEGRA124_FLOW_H_
 
 #ifndef __ASSEMBLY__
+#include <asm/types.h>
 #include <linux/bitops.h>
 #endif
 
diff --git a/arch/arm/include/asm/arch-tegra124/gp_padctrl.h b/arch/arm/include/asm/arch-tegra124/gp_padctrl.h
index 750a2dc649a..85628af19f7 100644
--- a/arch/arm/include/asm/arch-tegra124/gp_padctrl.h
+++ b/arch/arm/include/asm/arch-tegra124/gp_padctrl.h
@@ -8,6 +8,7 @@ 
 #define _TEGRA124_GP_PADCTRL_H_
 
 #include <asm/arch-tegra/gp_padctrl.h>
+#include <asm/types.h>
 
 /* APB_MISC_GP and padctrl registers */
 struct apb_misc_gp_ctlr {
diff --git a/arch/arm/include/asm/arch-tegra124/gpio.h b/arch/arm/include/asm/arch-tegra124/gpio.h
index e5ea2815afa..2ec69bb57eb 100644
--- a/arch/arm/include/asm/arch-tegra124/gpio.h
+++ b/arch/arm/include/asm/arch-tegra124/gpio.h
@@ -15,6 +15,7 @@ 
 #define TEGRA_GPIO_BANKS	8	/* number of banks */
 
 #include <asm/arch-tegra/gpio.h>
+#include <linux/types.h>
 
 /* GPIO Controller registers for a single bank */
 struct gpio_ctlr_bank {
diff --git a/arch/arm/include/asm/arch-tegra124/mc.h b/arch/arm/include/asm/arch-tegra124/mc.h
index 617e55af20e..26b44574f66 100644
--- a/arch/arm/include/asm/arch-tegra124/mc.h
+++ b/arch/arm/include/asm/arch-tegra124/mc.h
@@ -9,6 +9,7 @@ 
 /**
  * Defines the memory controller registers we need/care about
  */
+#include <asm/types.h>
 struct mc_ctlr {
 	u32 reserved0[4];			/* offset 0x00 - 0x0C */
 	u32 mc_smmu_config;			/* offset 0x10 */
diff --git a/arch/arm/include/asm/arch-tegra124/sysctr.h b/arch/arm/include/asm/arch-tegra124/sysctr.h
index 6567104d083..f5b3ab565ff 100644
--- a/arch/arm/include/asm/arch-tegra124/sysctr.h
+++ b/arch/arm/include/asm/arch-tegra124/sysctr.h
@@ -7,6 +7,7 @@ 
 #ifndef _TEGRA124_SYSCTR_H_
 #define _TEGRA124_SYSCTR_H_
 
+#include <asm/types.h>
 struct sysctr_ctlr {
 	u32 cntcr;		/* 0x00: SYSCTR0_CNTCR Counter Control */
 	u32 cntsr;		/* 0x04: SYSCTR0_CNTSR Counter Status */
diff --git a/arch/arm/include/asm/arch-tegra20/display.h b/arch/arm/include/asm/arch-tegra20/display.h
index e7b3cffd466..26b0fa9d766 100644
--- a/arch/arm/include/asm/arch-tegra20/display.h
+++ b/arch/arm/include/asm/arch-tegra20/display.h
@@ -8,6 +8,7 @@ 
 #define __ASM_ARCH_TEGRA_DISPLAY_H
 
 #include <asm/arch-tegra/dc.h>
+#include <asm/types.h>
 
 /* This holds information about a window which can be displayed */
 struct disp_ctl_win {
diff --git a/arch/arm/include/asm/arch-tegra20/flow.h b/arch/arm/include/asm/arch-tegra20/flow.h
index 33be841ddbd..3bf0d0d1aa2 100644
--- a/arch/arm/include/asm/arch-tegra20/flow.h
+++ b/arch/arm/include/asm/arch-tegra20/flow.h
@@ -7,6 +7,7 @@ 
 #ifndef _FLOW_H_
 #define _FLOW_H_
 
+#include <asm/types.h>
 struct flow_ctlr {
 	u32	halt_cpu_events;
 	u32	halt_cop_events;
diff --git a/arch/arm/include/asm/arch-tegra20/gp_padctrl.h b/arch/arm/include/asm/arch-tegra20/gp_padctrl.h
index dd2ee126550..ab06bfb4cba 100644
--- a/arch/arm/include/asm/arch-tegra20/gp_padctrl.h
+++ b/arch/arm/include/asm/arch-tegra20/gp_padctrl.h
@@ -8,6 +8,7 @@ 
 #define _TEGRA20_GP_PADCTRL_H_
 
 #include <asm/arch-tegra/gp_padctrl.h>
+#include <asm/types.h>
 
 /* APB_MISC_GP and padctrl registers */
 struct apb_misc_gp_ctlr {
diff --git a/arch/arm/include/asm/arch-tegra20/gpio.h b/arch/arm/include/asm/arch-tegra20/gpio.h
index 6818c28723b..fb203d21468 100644
--- a/arch/arm/include/asm/arch-tegra20/gpio.h
+++ b/arch/arm/include/asm/arch-tegra20/gpio.h
@@ -15,6 +15,7 @@ 
 #define TEGRA_GPIO_BANKS	7	/* number of banks */
 
 #include <asm/arch-tegra/gpio.h>
+#include <linux/types.h>
 
 /* GPIO Controller registers for a single bank */
 struct gpio_ctlr_bank {
diff --git a/arch/arm/include/asm/arch-tegra20/mc.h b/arch/arm/include/asm/arch-tegra20/mc.h
index 71283e4e21e..67c5742e082 100644
--- a/arch/arm/include/asm/arch-tegra20/mc.h
+++ b/arch/arm/include/asm/arch-tegra20/mc.h
@@ -10,6 +10,7 @@ 
 /**
  * Defines the memory controller registers we need/care about
  */
+#include <asm/types.h>
 struct mc_ctlr {
 	u32 reserved0[3];			/* offset 0x00 - 0x08 */
 	u32 mc_emem_cfg;			/* offset 0x0C */
diff --git a/arch/arm/include/asm/arch-tegra20/sdram_param.h b/arch/arm/include/asm/arch-tegra20/sdram_param.h
index 3d1405fa3ba..75c1182a869 100644
--- a/arch/arm/include/asm/arch-tegra20/sdram_param.h
+++ b/arch/arm/include/asm/arch-tegra20/sdram_param.h
@@ -11,6 +11,7 @@ 
  * Defines the number of 32-bit words provided in each set of SDRAM parameters
  * for arbitration configuration data.
  */
+#include <asm/types.h>
 #define BCT_SDRAM_ARB_CONFIG_WORDS 27
 
 enum memory_type {
diff --git a/arch/arm/include/asm/arch-tegra210/ahb.h b/arch/arm/include/asm/arch-tegra210/ahb.h
index 8ecd6d9bae2..7b4a8994d8b 100644
--- a/arch/arm/include/asm/arch-tegra210/ahb.h
+++ b/arch/arm/include/asm/arch-tegra210/ahb.h
@@ -7,6 +7,7 @@ 
 #ifndef _TEGRA210_AHB_H_
 #define _TEGRA210_AHB_H_
 
+#include <asm/types.h>
 struct ahb_ctlr {
 	u32 reserved0;			/* 00h */
 	u32 arbitration_disable;	/* _ARBITRATION_DISABLE_0,	04h */
diff --git a/arch/arm/include/asm/arch-tegra210/flow.h b/arch/arm/include/asm/arch-tegra210/flow.h
index ef0be19e587..73ee94ef738 100644
--- a/arch/arm/include/asm/arch-tegra210/flow.h
+++ b/arch/arm/include/asm/arch-tegra210/flow.h
@@ -7,6 +7,7 @@ 
 #ifndef _TEGRA210_FLOW_H_
 #define _TEGRA210_FLOW_H_
 
+#include <asm/types.h>
 struct flow_ctlr {
 	u32 halt_cpu_events;	/* offset 0x00 */
 	u32 halt_cop_events;	/* offset 0x04 */
diff --git a/arch/arm/include/asm/arch-tegra210/gp_padctrl.h b/arch/arm/include/asm/arch-tegra210/gp_padctrl.h
index e9ff9037526..92a315f34fd 100644
--- a/arch/arm/include/asm/arch-tegra210/gp_padctrl.h
+++ b/arch/arm/include/asm/arch-tegra210/gp_padctrl.h
@@ -8,6 +8,7 @@ 
 #define _TEGRA210_GP_PADCTRL_H_
 
 #include <asm/arch-tegra/gp_padctrl.h>
+#include <asm/types.h>
 
 /* APB_MISC_GP and padctrl registers */
 struct apb_misc_gp_ctlr {
diff --git a/arch/arm/include/asm/arch-tegra210/gpio.h b/arch/arm/include/asm/arch-tegra210/gpio.h
index cb91b10bed8..9a3b5be72ee 100644
--- a/arch/arm/include/asm/arch-tegra210/gpio.h
+++ b/arch/arm/include/asm/arch-tegra210/gpio.h
@@ -15,6 +15,7 @@ 
 #define TEGRA_GPIO_BANKS	8	/* number of banks */
 
 #include <asm/arch-tegra/gpio.h>
+#include <linux/types.h>
 
 /* GPIO Controller registers for a single bank */
 struct gpio_ctlr_bank {
diff --git a/arch/arm/include/asm/arch-tegra210/mc.h b/arch/arm/include/asm/arch-tegra210/mc.h
index 5a2a5681d7a..a80e36c011f 100644
--- a/arch/arm/include/asm/arch-tegra210/mc.h
+++ b/arch/arm/include/asm/arch-tegra210/mc.h
@@ -9,6 +9,7 @@ 
 /**
  * Defines the memory controller registers we need/care about
  */
+#include <asm/types.h>
 struct mc_ctlr {
 	u32 reserved0[4];			/* offset 0x00 - 0x0C */
 	u32 mc_smmu_config;			/* offset 0x10 */
diff --git a/arch/arm/include/asm/arch-tegra210/sysctr.h b/arch/arm/include/asm/arch-tegra210/sysctr.h
index cb1c4997fac..8ada6e5c60c 100644
--- a/arch/arm/include/asm/arch-tegra210/sysctr.h
+++ b/arch/arm/include/asm/arch-tegra210/sysctr.h
@@ -7,6 +7,7 @@ 
 #ifndef _TEGRA210_SYSCTR_H_
 #define _TEGRA210_SYSCTR_H_
 
+#include <asm/types.h>
 struct sysctr_ctlr {
 	u32 cntcr;		/* 0x00: SYSCTR0_CNTCR Counter Control */
 	u32 cntsr;		/* 0x04: SYSCTR0_CNTSR Counter Status */
diff --git a/arch/arm/include/asm/arch-tegra30/flow.h b/arch/arm/include/asm/arch-tegra30/flow.h
index f3e947e9eee..3924b418040 100644
--- a/arch/arm/include/asm/arch-tegra30/flow.h
+++ b/arch/arm/include/asm/arch-tegra30/flow.h
@@ -6,6 +6,7 @@ 
 #ifndef _TEGRA30_FLOW_H_
 #define _TEGRA30_FLOW_H_
 
+#include <asm/types.h>
 struct flow_ctlr {
 	u32 halt_cpu_events;
 	u32 halt_cop_events;
diff --git a/arch/arm/include/asm/arch-tegra30/gp_padctrl.h b/arch/arm/include/asm/arch-tegra30/gp_padctrl.h
index 4ff785de8ea..65e811ababa 100644
--- a/arch/arm/include/asm/arch-tegra30/gp_padctrl.h
+++ b/arch/arm/include/asm/arch-tegra30/gp_padctrl.h
@@ -7,6 +7,7 @@ 
 #define _TEGRA30_GP_PADCTRL_H_
 
 #include <asm/arch-tegra/gp_padctrl.h>
+#include <asm/types.h>
 
 /* APB_MISC_GP and padctrl registers */
 struct apb_misc_gp_ctlr {
diff --git a/arch/arm/include/asm/arch-tegra30/gpio.h b/arch/arm/include/asm/arch-tegra30/gpio.h
index 1dd2e426ba6..5289e33fd92 100644
--- a/arch/arm/include/asm/arch-tegra30/gpio.h
+++ b/arch/arm/include/asm/arch-tegra30/gpio.h
@@ -14,6 +14,7 @@ 
 #define TEGRA_GPIO_BANKS	8	/* number of banks */
 
 #include <asm/arch-tegra/gpio.h>
+#include <linux/types.h>
 
 /* GPIO Controller registers for a single bank */
 struct gpio_ctlr_bank {
diff --git a/arch/arm/include/asm/arch-tegra30/mc.h b/arch/arm/include/asm/arch-tegra30/mc.h
index bbb0fe77bc4..9643ed81f90 100644
--- a/arch/arm/include/asm/arch-tegra30/mc.h
+++ b/arch/arm/include/asm/arch-tegra30/mc.h
@@ -10,6 +10,7 @@ 
 /**
  * Defines the memory controller registers we need/care about
  */
+#include <asm/types.h>
 struct mc_ctlr {
 	u32 reserved0[4];			/* offset 0x00 - 0x0C */
 	u32 mc_smmu_config;			/* offset 0x10 */
diff --git a/arch/arm/include/asm/arch-vf610/clock.h b/arch/arm/include/asm/arch-vf610/clock.h
index ec9786ce4fe..6cdad57e78f 100644
--- a/arch/arm/include/asm/arch-vf610/clock.h
+++ b/arch/arm/include/asm/arch-vf610/clock.h
@@ -6,6 +6,7 @@ 
 #ifndef __ASM_ARCH_CLOCK_H
 #define __ASM_ARCH_CLOCK_H
 
+#include <asm/types.h>
 enum mxc_clock {
 	MXC_ARM_CLK = 0,
 	MXC_BUS_CLK,
diff --git a/arch/arm/include/asm/arch-vf610/ddrmc-vf610.h b/arch/arm/include/asm/arch-vf610/ddrmc-vf610.h
index 03e3cecb95a..8adfbefd0c8 100644
--- a/arch/arm/include/asm/arch-vf610/ddrmc-vf610.h
+++ b/arch/arm/include/asm/arch-vf610/ddrmc-vf610.h
@@ -11,6 +11,7 @@ 
 #define __ASM_ARCH_VF610_DDRMC_H
 
 #include <asm/arch/iomux-vf610.h>
+#include <asm/types.h>
 
 struct ddr3_jedec_timings {
 	u8 tinit;
diff --git a/arch/arm/include/asm/arch-vf610/gpio.h b/arch/arm/include/asm/arch-vf610/gpio.h
index 9bfdf168730..07ae0e4f64f 100644
--- a/arch/arm/include/asm/arch-vf610/gpio.h
+++ b/arch/arm/include/asm/arch-vf610/gpio.h
@@ -7,6 +7,7 @@ 
 #ifndef __ASM_ARCH_VF610_GPIO_H
 #define __ASM_ARCH_VF610_GPIO_H
 
+#include <asm/types.h>
 #define VYBRID_GPIO_COUNT		32
 #define VF610_GPIO_DIRECTION_IN	0x0
 #define VF610_GPIO_DIRECTION_OUT	0x1
diff --git a/arch/arm/include/asm/armv7_mpu.h b/arch/arm/include/asm/armv7_mpu.h
index 16b9d0d1aeb..bbad00406cd 100644
--- a/arch/arm/include/asm/armv7_mpu.h
+++ b/arch/arm/include/asm/armv7_mpu.h
@@ -9,6 +9,7 @@ 
 
 #ifndef __ASSEMBLY__
 #include <linux/bitops.h>
+#include <linux/types.h>
 #endif
 
 #ifdef CONFIG_CPU_V7M
diff --git a/arch/arm/include/asm/armv7m.h b/arch/arm/include/asm/armv7m.h
index ad67b4fa34e..c8411475eb2 100644
--- a/arch/arm/include/asm/armv7m.h
+++ b/arch/arm/include/asm/armv7m.h
@@ -23,6 +23,7 @@ 
 #define V7M_SCB_VTOR		0x08
 
 #if !defined(__ASSEMBLY__)
+#include <linux/types.h>
 struct v7m_scb {
 	uint32_t cpuid;		/* CPUID Base Register */
 	uint32_t icsr;		/* Interrupt Control and State Register */
diff --git a/arch/arm/include/asm/armv8/mmu.h b/arch/arm/include/asm/armv8/mmu.h
index fc97c551146..5af66bea144 100644
--- a/arch/arm/include/asm/armv8/mmu.h
+++ b/arch/arm/include/asm/armv8/mmu.h
@@ -104,6 +104,8 @@ 
 #define TCR_EL3_RSVD		(1 << 31 | 1 << 23)
 
 #ifndef __ASSEMBLY__
+#include <linux/types.h>
+
 static inline void set_ttbr_tcr_mair(int el, u64 table, u64 tcr, u64 attr)
 {
 	asm volatile("dsb sy");
diff --git a/arch/arm/include/asm/armv8/sec_firmware.h b/arch/arm/include/asm/armv8/sec_firmware.h
index 9c010953f5f..b83f93f4415 100644
--- a/arch/arm/include/asm/armv8/sec_firmware.h
+++ b/arch/arm/include/asm/armv8/sec_firmware.h
@@ -7,6 +7,7 @@ 
 #define __SEC_FIRMWARE_H_
 
 #include <stdbool.h>
+#include <linux/types.h>
 
 #define PSCI_INVALID_VER		0xffffffff
 #define SEC_JR3_OFFSET			0x40000
diff --git a/arch/arm/include/asm/bootm.h b/arch/arm/include/asm/bootm.h
index a2131ca07c5..5a41f0e52cc 100644
--- a/arch/arm/include/asm/bootm.h
+++ b/arch/arm/include/asm/bootm.h
@@ -8,6 +8,7 @@ 
 #ifndef ARM_BOOTM_H
 #define ARM_BOOTM_H
 
+#include <asm/types.h>
 extern void udc_disconnect(void);
 
 #if defined(CONFIG_SETUP_MEMORY_TAGS) || \
diff --git a/arch/arm/include/asm/ehci-omap.h b/arch/arm/include/asm/ehci-omap.h
index f970bba9375..fc8b619ecdb 100644
--- a/arch/arm/include/asm/ehci-omap.h
+++ b/arch/arm/include/asm/ehci-omap.h
@@ -11,6 +11,7 @@ 
 #ifndef _OMAP_COMMON_EHCI_H_
 #define _OMAP_COMMON_EHCI_H_
 
+#include <asm/types.h>
 enum usbhs_omap_port_mode {
 	OMAP_USBHS_PORT_MODE_UNUSED,
 	OMAP_EHCI_PORT_MODE_PHY,
diff --git a/arch/arm/include/asm/handoff.h b/arch/arm/include/asm/handoff.h
index 0790d2ab1e2..e1e1708b241 100644
--- a/arch/arm/include/asm/handoff.h
+++ b/arch/arm/include/asm/handoff.h
@@ -10,6 +10,7 @@ 
 #define __asm_handoff_h
 
 /**
+#include <linux/types.h>
  * struct arch_spl_handoff - architecture-specific handoff info
  *
  * @usable_ram_top: Value returned by board_get_usable_ram_top() in SPL
diff --git a/arch/arm/include/asm/io.h b/arch/arm/include/asm/io.h
index c53224bb2b8..d4b64375b8f 100644
--- a/arch/arm/include/asm/io.h
+++ b/arch/arm/include/asm/io.h
@@ -30,6 +30,7 @@ 
 #if 0	/* XXX###XXX */
 #include <asm/arch/hardware.h>
 #endif	/* XXX###XXX */
+#include <compiler.h>
 #include <linux/string.h>
 
 static inline void sync(void)
diff --git a/arch/arm/include/asm/iproc-common/iproc_sdhci.h b/arch/arm/include/asm/iproc-common/iproc_sdhci.h
index 4e299217fcf..7c4f35d23bc 100644
--- a/arch/arm/include/asm/iproc-common/iproc_sdhci.h
+++ b/arch/arm/include/asm/iproc-common/iproc_sdhci.h
@@ -7,6 +7,7 @@ 
 #ifndef __IPROC_SDHCI_H
 #define __IPROC_SDHCI_H
 
+#include <asm/types.h>
 int iproc_sdhci_init(int dev_index, u32 quirks);
 
 #endif
diff --git a/arch/arm/include/asm/kona-common/kona_sdhci.h b/arch/arm/include/asm/kona-common/kona_sdhci.h
index 22db651a4eb..f8887ceb4c9 100644
--- a/arch/arm/include/asm/kona-common/kona_sdhci.h
+++ b/arch/arm/include/asm/kona-common/kona_sdhci.h
@@ -6,6 +6,7 @@ 
 #ifndef __KONA_SDHCI_H
 #define __KONA_SDHCI_H
 
+#include <asm/types.h>
 int kona_sdhci_init(int dev_index, u32 min_clk, u32 quirks);
 
 #endif
diff --git a/arch/arm/include/asm/mach-imx/dma.h b/arch/arm/include/asm/mach-imx/dma.h
index 55eb84cb8e7..c4f76e93291 100644
--- a/arch/arm/include/asm/mach-imx/dma.h
+++ b/arch/arm/include/asm/mach-imx/dma.h
@@ -14,6 +14,7 @@ 
 #define __DMA_H__
 
 #include <asm/cache.h>
+#include <asm/types.h>
 #include <linux/list.h>
 #include <linux/compiler.h>
 
diff --git a/arch/arm/include/asm/mach-imx/gpio.h b/arch/arm/include/asm/mach-imx/gpio.h
index 1b7c9cd5249..fa6d2e0e7f4 100644
--- a/arch/arm/include/asm/mach-imx/gpio.h
+++ b/arch/arm/include/asm/mach-imx/gpio.h
@@ -9,6 +9,7 @@ 
 #define __ASM_ARCH_IMX_GPIO_H
 
 #if !(defined(__KERNEL_STRICT_NAMES) || defined(__ASSEMBLY__))
+#include <asm/types.h>
 /* GPIO registers */
 struct gpio_regs {
 	u32 gpio_dr;	/* data */
diff --git a/arch/arm/include/asm/mach-imx/hab.h b/arch/arm/include/asm/mach-imx/hab.h
index f89f750169b..41e20929019 100644
--- a/arch/arm/include/asm/mach-imx/hab.h
+++ b/arch/arm/include/asm/mach-imx/hab.h
@@ -7,6 +7,7 @@ 
 #ifndef __SECURE_MX6Q_H__
 #define __SECURE_MX6Q_H__
 
+#include <compiler.h>
 #include <stdbool.h>
 #include <linux/types.h>
 #include <linux/compiler.h>
diff --git a/arch/arm/include/asm/mach-imx/imx-nandbcb.h b/arch/arm/include/asm/mach-imx/imx-nandbcb.h
index 74c9031d4e7..4b3f4a53578 100644
--- a/arch/arm/include/asm/mach-imx/imx-nandbcb.h
+++ b/arch/arm/include/asm/mach-imx/imx-nandbcb.h
@@ -7,6 +7,7 @@ 
 #ifndef _IMX_NAND_BCB_H_
 #define _IMX_NAND_BCB_H_
 
+#include <asm/types.h>
 #define FCB_FINGERPRINT		0x20424346      /* 'FCB' */
 #define FCB_VERSION_1		0x01000000
 #define FCB_FINGERPRINT_OFF	0x4		/* FCB fingerprint offset*/
diff --git a/arch/arm/include/asm/mach-imx/module_fuse.h b/arch/arm/include/asm/mach-imx/module_fuse.h
index a46fc3f1f8e..781e62d6147 100644
--- a/arch/arm/include/asm/mach-imx/module_fuse.h
+++ b/arch/arm/include/asm/mach-imx/module_fuse.h
@@ -6,6 +6,7 @@ 
 #ifndef __MODULE_FUSE_H__
 #define __MODULE_FUSE_H__
 
+#include <linux/types.h>
 enum fuse_module_type {
 	MODULE_TSC,
 	MODULE_ADC1,
diff --git a/arch/arm/include/asm/mach-imx/mxc_i2c.h b/arch/arm/include/asm/mach-imx/mxc_i2c.h
index 81fd9814447..9a934c517b5 100644
--- a/arch/arm/include/asm/mach-imx/mxc_i2c.h
+++ b/arch/arm/include/asm/mach-imx/mxc_i2c.h
@@ -9,6 +9,7 @@ 
 #if CONFIG_IS_ENABLED(CLK)
 #include <clk.h>
 #endif
+#include <linux/types.h>
 
 struct i2c_pin_ctrl {
 	iomux_v3_cfg_t i2c_mode;
diff --git a/arch/arm/include/asm/mach-imx/rdc-sema.h b/arch/arm/include/asm/mach-imx/rdc-sema.h
index 70d6a76a9d7..7b4d1fdf952 100644
--- a/arch/arm/include/asm/mach-imx/rdc-sema.h
+++ b/arch/arm/include/asm/mach-imx/rdc-sema.h
@@ -13,6 +13,7 @@ 
  *      d3      d2      d1       d0    | master id  |  peri id
  *   d[x] means domain[x], x can be [3 - 0].
  */
+#include <asm/types.h>
 typedef u32 rdc_peri_cfg_t;
 typedef u32 rdc_ma_cfg_t;
 
diff --git a/arch/arm/include/asm/mach-imx/regs-apbh.h b/arch/arm/include/asm/mach-imx/regs-apbh.h
index 94c330c7f92..917e72e35ad 100644
--- a/arch/arm/include/asm/mach-imx/regs-apbh.h
+++ b/arch/arm/include/asm/mach-imx/regs-apbh.h
@@ -237,6 +237,7 @@  struct mxs_apbh_regs {
 };
 #endif
 
+#include <linux/types.h>
 #endif
 
 #define	APBH_CTRL0_SFTRST				(1 << 31)
diff --git a/arch/arm/include/asm/mach-imx/regs-bch.h b/arch/arm/include/asm/mach-imx/regs-bch.h
index 5a149002e2a..37b2e97f8e0 100644
--- a/arch/arm/include/asm/mach-imx/regs-bch.h
+++ b/arch/arm/include/asm/mach-imx/regs-bch.h
@@ -17,6 +17,7 @@ 
 #include <asm/mach-imx/regs-common.h>
 
 #ifndef	__ASSEMBLY__
+#include <linux/types.h>
 struct mxs_bch_regs {
 	mxs_reg_32(hw_bch_ctrl)
 	mxs_reg_32(hw_bch_status0)
diff --git a/arch/arm/include/asm/mach-imx/regs-gpmi.h b/arch/arm/include/asm/mach-imx/regs-gpmi.h
index 33daa53c45d..6723caef6a1 100644
--- a/arch/arm/include/asm/mach-imx/regs-gpmi.h
+++ b/arch/arm/include/asm/mach-imx/regs-gpmi.h
@@ -15,6 +15,7 @@ 
 #include <asm/mach-imx/regs-common.h>
 
 #ifndef	__ASSEMBLY__
+#include <linux/types.h>
 struct mxs_gpmi_regs {
 	mxs_reg_32(hw_gpmi_ctrl0)
 	mxs_reg_32(hw_gpmi_compare)
diff --git a/arch/arm/include/asm/mach-imx/regs-lcdif.h b/arch/arm/include/asm/mach-imx/regs-lcdif.h
index 58746387966..67b961931a6 100644
--- a/arch/arm/include/asm/mach-imx/regs-lcdif.h
+++ b/arch/arm/include/asm/mach-imx/regs-lcdif.h
@@ -14,6 +14,7 @@ 
 
 #ifndef	__ASSEMBLY__
 #include <asm/mach-imx/regs-common.h>
+#include <linux/types.h>
 
 struct mxs_lcdif_regs {
 	mxs_reg_32(hw_lcdif_ctrl)		/* 0x00 */
diff --git a/arch/arm/include/asm/mach-imx/sys_proto.h b/arch/arm/include/asm/mach-imx/sys_proto.h
index ae33d6a9a49..5c87a0fcf1a 100644
--- a/arch/arm/include/asm/mach-imx/sys_proto.h
+++ b/arch/arm/include/asm/mach-imx/sys_proto.h
@@ -10,6 +10,7 @@ 
 #include <asm/io.h>
 #include <asm/mach-imx/regs-common.h>
 #include <asm/mach-imx/module_fuse.h>
+#include <asm/types.h>
 #include <asm/u-boot.h>
 #include <linux/bitops.h>
 #include "../arch-imx/cpu.h"
diff --git a/arch/arm/include/asm/mach-imx/syscounter.h b/arch/arm/include/asm/mach-imx/syscounter.h
index a2cae1edb81..a291b8ebec3 100644
--- a/arch/arm/include/asm/mach-imx/syscounter.h
+++ b/arch/arm/include/asm/mach-imx/syscounter.h
@@ -7,6 +7,7 @@ 
 #define _ASM_ARCH_SYSTEM_COUNTER_H
 
 /* System Counter */
+#include <asm/types.h>
 struct sctr_regs {
 	u32 cntcr;
 	u32 cntsr;
diff --git a/arch/arm/include/asm/mach-imx/video.h b/arch/arm/include/asm/mach-imx/video.h
index 1fdc2de662a..e31c68d12b9 100644
--- a/arch/arm/include/asm/mach-imx/video.h
+++ b/arch/arm/include/asm/mach-imx/video.h
@@ -5,6 +5,7 @@ 
 
 #include <linux/fb.h>
 #include <ipu_pixfmt.h>
+#include <linux/types.h>
 
 struct display_info_t {
 	int	bus;
diff --git a/arch/arm/include/asm/omap_gpio.h b/arch/arm/include/asm/omap_gpio.h
index 151afa8f44c..c25032453a8 100644
--- a/arch/arm/include/asm/omap_gpio.h
+++ b/arch/arm/include/asm/omap_gpio.h
@@ -21,6 +21,7 @@ 
 #define _GPIO_H
 
 #include <asm/arch/cpu.h>
+#include <linux/types.h>
 
 #if CONFIG_IS_ENABLED(DM_GPIO)
 
diff --git a/arch/arm/include/asm/omap_i2c.h b/arch/arm/include/asm/omap_i2c.h
index a6975401dab..582d9c43867 100644
--- a/arch/arm/include/asm/omap_i2c.h
+++ b/arch/arm/include/asm/omap_i2c.h
@@ -14,6 +14,7 @@  struct omap_i2c_platdata {
 
 #endif
 
+#include <linux/types.h>
 enum {
 	OMAP_I2C_REV_V1 = 0,
 	OMAP_I2C_REV_V2 = 1,
diff --git a/arch/arm/include/asm/omap_mmc.h b/arch/arm/include/asm/omap_mmc.h
index 7933ad5a867..fbc83164a2b 100644
--- a/arch/arm/include/asm/omap_mmc.h
+++ b/arch/arm/include/asm/omap_mmc.h
@@ -28,6 +28,7 @@ 
 #include <mmc.h>
 #ifndef __ASSEMBLY__
 #include <linux/bitops.h>
+#include <linux/types.h>
 #endif
 
 struct hsmmc {
diff --git a/arch/arm/include/asm/omap_musb.h b/arch/arm/include/asm/omap_musb.h
index b40ea005bec..feedd2725af 100644
--- a/arch/arm/include/asm/omap_musb.h
+++ b/arch/arm/include/asm/omap_musb.h
@@ -1,5 +1,6 @@ 
 /* SPDX-License-Identifier: GPL-2.0+ */
 /*
+#include <asm/types.h>
  * Board data structure for musb gadget on OMAPs
  *
  * Copyright (C) 2012, Ilya Yanok <ilya.yanok@gmail.com>
diff --git a/arch/arm/include/asm/omap_sec_common.h b/arch/arm/include/asm/omap_sec_common.h
index 30f0a9f5cbc..3331dcb55c6 100644
--- a/arch/arm/include/asm/omap_sec_common.h
+++ b/arch/arm/include/asm/omap_sec_common.h
@@ -13,6 +13,7 @@ 
  * the variable argument list into the format expected by the ROM code before
  * triggering the actual low-level smc entry.
  */
+#include <linux/types.h>
 u32 secure_rom_call(u32 service, u32 proc_id, u32 flag, ...);
 
 /*
diff --git a/arch/arm/include/asm/secure.h b/arch/arm/include/asm/secure.h
index 64e5582c1f2..ce332e6558f 100644
--- a/arch/arm/include/asm/secure.h
+++ b/arch/arm/include/asm/secure.h
@@ -9,6 +9,7 @@ 
 
 #ifndef __ASSEMBLY__
 
+#include <asm/types.h>
 typedef struct secure_svc_tbl {
 	u32	id;
 #ifdef CONFIG_ARMV8_PSCI
diff --git a/arch/arm/include/asm/setjmp.h b/arch/arm/include/asm/setjmp.h
index 662bec86321..1e86def1de6 100644
--- a/arch/arm/include/asm/setjmp.h
+++ b/arch/arm/include/asm/setjmp.h
@@ -9,6 +9,7 @@ 
 
 /*
  * This really should be opaque, but the EFI implementation wrongly
+#include <asm/types.h>
  * assumes that a 'struct jmp_buf_data' is defined.
  */
 struct jmp_buf_data {
diff --git a/arch/arm/include/asm/setup.h b/arch/arm/include/asm/setup.h
index 3a4e902af14..a4e3c69c6b9 100644
--- a/arch/arm/include/asm/setup.h
+++ b/arch/arm/include/asm/setup.h
@@ -13,6 +13,7 @@ 
  *
  * NOTE:
  *  This file contains two ways to pass information from the boot
+#include <asm/types.h>
  *  loader to the kernel. The old struct param_struct is deprecated,
  *  but it will be kept in the kernel for 5 years from now
  *  (2001). This will allow boot loaders to convert to the new struct
diff --git a/arch/arm/include/asm/system.h b/arch/arm/include/asm/system.h
index ce552944b70..2d5084b6d16 100644
--- a/arch/arm/include/asm/system.h
+++ b/arch/arm/include/asm/system.h
@@ -109,6 +109,7 @@ 
 
 #ifndef __ASSEMBLY__
 
+#include <linux/types.h>
 struct pt_regs;
 
 u64 get_page_table_size(void);
diff --git a/arch/arm/include/asm/ti-common/davinci_nand.h b/arch/arm/include/asm/ti-common/davinci_nand.h
index 28842c3b155..dffcd9250ba 100644
--- a/arch/arm/include/asm/ti-common/davinci_nand.h
+++ b/arch/arm/include/asm/ti-common/davinci_nand.h
@@ -11,6 +11,7 @@ 
 
 #include <linux/mtd/rawnand.h>
 #include <asm/arch/hardware.h>
+#include <linux/types.h>
 
 #define NAND_READ_START  	0x00
 #define NAND_READ_END    	0x30
diff --git a/arch/arm/include/asm/ti-common/keystone_nav.h b/arch/arm/include/asm/ti-common/keystone_nav.h
index e577514428a..b61b8a64183 100644
--- a/arch/arm/include/asm/ti-common/keystone_nav.h
+++ b/arch/arm/include/asm/ti-common/keystone_nav.h
@@ -11,6 +11,7 @@ 
 
 #include <asm/arch/hardware.h>
 #include <asm/io.h>
+#include <asm/types.h>
 
 #define QM_OK                    0
 #define QM_ERR                  -1
diff --git a/arch/arm/include/asm/ti-common/keystone_net.h b/arch/arm/include/asm/ti-common/keystone_net.h
index 0852ce80a64..90884643c39 100644
--- a/arch/arm/include/asm/ti-common/keystone_net.h
+++ b/arch/arm/include/asm/ti-common/keystone_net.h
@@ -13,6 +13,7 @@ 
 #include <phy.h>
 #ifndef __ASSEMBLY__
 #include <linux/bitops.h>
+#include <linux/types.h>
 #endif
 
 /* EMAC */
diff --git a/arch/arm/include/asm/ti-common/keystone_serdes.h b/arch/arm/include/asm/ti-common/keystone_serdes.h
index 623438856d5..a3ca1eff2c3 100644
--- a/arch/arm/include/asm/ti-common/keystone_serdes.h
+++ b/arch/arm/include/asm/ti-common/keystone_serdes.h
@@ -10,6 +10,7 @@ 
 #define __TI_KEYSTONE_SERDES_H__
 
 /* SERDES Reference clock */
+#include <asm/types.h>
 enum ks2_serdes_clock {
 	SERDES_CLOCK_100M,		/* 100 MHz */
 	SERDES_CLOCK_122P88M,		/* 122.88 MHz */
diff --git a/arch/arm/include/asm/ti-common/sys_proto.h b/arch/arm/include/asm/ti-common/sys_proto.h
index a96a8382fb6..f3db16e54d6 100644
--- a/arch/arm/include/asm/ti-common/sys_proto.h
+++ b/arch/arm/include/asm/ti-common/sys_proto.h
@@ -7,6 +7,7 @@ 
 #define _TI_COMMON_SYS_PROTO_H_
 
 #include <asm/global_data.h>
+#include <asm/types.h>
 
 DECLARE_GLOBAL_DATA_PTR;
 
diff --git a/arch/arm/include/asm/ti-common/ti-edma3.h b/arch/arm/include/asm/ti-common/ti-edma3.h
index 9abdbc88e40..d5b98815a68 100644
--- a/arch/arm/include/asm/ti-common/ti-edma3.h
+++ b/arch/arm/include/asm/ti-common/ti-edma3.h
@@ -10,7 +10,9 @@ 
 #define _EDMA3_H_
 
 #ifndef __ASSEMBLY__
+#include <compiler.h>
 #include <linux/bitops.h>
+#include <linux/types.h>
 #endif
 #include <linux/stddef.h>
 
diff --git a/arch/arm/include/asm/u-boot-arm.h b/arch/arm/include/asm/u-boot-arm.h
index 0b93cc48c50..afb55b48818 100644
--- a/arch/arm/include/asm/u-boot-arm.h
+++ b/arch/arm/include/asm/u-boot-arm.h
@@ -15,6 +15,7 @@ 
 #ifndef __ASSEMBLY__
 
 /* for the following variables, see start.S */
+#include <linux/types.h>
 extern ulong IRQ_STACK_START;	/* top of IRQ stack */
 extern ulong FIQ_STACK_START;	/* top of FIQ stack */
 extern ulong _datarel_start_ofs;
diff --git a/arch/arm/include/asm/utils.h b/arch/arm/include/asm/utils.h
index eee60c50e99..481cbd64ff8 100644
--- a/arch/arm/include/asm/utils.h
+++ b/arch/arm/include/asm/utils.h
@@ -7,6 +7,7 @@ 
 #ifndef _UTILS_H_
 #define _UTILS_H_
 
+#include <asm/types.h>
 static inline s32 log_2_n_round_up(u32 n)
 {
 	s32 log2n = -1;
diff --git a/arch/arm/lib/bootm-fdt.c b/arch/arm/lib/bootm-fdt.c
index 72a86f7defe..e21cf6c1a50 100644
--- a/arch/arm/lib/bootm-fdt.c
+++ b/arch/arm/lib/bootm-fdt.c
@@ -15,6 +15,7 @@ 
  */
 
 #include <common.h>
+#include <compiler.h>
 #include <fdt_support.h>
 #ifdef CONFIG_ARMV7_NONSEC
 #include <asm/armv7.h>
diff --git a/arch/arm/lib/bootm.c b/arch/arm/lib/bootm.c
index a11fe7ed31e..40ce3c7a04b 100644
--- a/arch/arm/lib/bootm.c
+++ b/arch/arm/lib/bootm.c
@@ -14,6 +14,7 @@ 
 #include <common.h>
 #include <bootstage.h>
 #include <command.h>
+#include <compiler.h>
 #include <cpu_func.h>
 #include <dm.h>
 #include <hang.h>
@@ -28,6 +29,7 @@ 
 #include <env.h>
 #include <image.h>
 #include <linux/string.h>
+#include <linux/types.h>
 #include <u-boot/zlib.h>
 #include <asm/byteorder.h>
 #include <linux/libfdt.h>
diff --git a/arch/arm/lib/cache-cp15.c b/arch/arm/lib/cache-cp15.c
index 39d51859ed7..b7f9baa74ac 100644
--- a/arch/arm/lib/cache-cp15.c
+++ b/arch/arm/lib/cache-cp15.c
@@ -5,6 +5,7 @@ 
  */
 
 #include <common.h>
+#include <compiler.h>
 #include <cpu_func.h>
 #include <log.h>
 #include <stdio.h>
@@ -15,6 +16,7 @@ 
 #include <linux/compiler.h>
 #include <asm/armv7_mpu.h>
 #include <linux/kernel.h>
+#include <linux/types.h>
 
 #if !(CONFIG_IS_ENABLED(SYS_ICACHE_OFF) && CONFIG_IS_ENABLED(SYS_DCACHE_OFF))
 
diff --git a/arch/arm/lib/cache.c b/arch/arm/lib/cache.c
index 6509052ddcf..870d4c7d659 100644
--- a/arch/arm/lib/cache.c
+++ b/arch/arm/lib/cache.c
@@ -7,6 +7,7 @@ 
 /* for now: just dummy functions to satisfy the linker */
 
 #include <common.h>
+#include <compiler.h>
 #include <cpu_func.h>
 #include <log.h>
 #include <malloc.h>
@@ -14,6 +15,7 @@ 
 #include <asm/cache.h>
 #include <asm/global_data.h>
 #include <linux/kernel.h>
+#include <linux/types.h>
 
 DECLARE_GLOBAL_DATA_PTR;
 
diff --git a/arch/arm/lib/cmd_boot.c b/arch/arm/lib/cmd_boot.c
index c905ecc4bd9..00d58816dca 100644
--- a/arch/arm/lib/cmd_boot.c
+++ b/arch/arm/lib/cmd_boot.c
@@ -19,6 +19,7 @@ 
 
 #include <common.h>
 #include <command.h>
+#include <linux/types.h>
 
 /*
  * ARMv7M does not support ARM instruction mode. However, the
diff --git a/arch/arm/lib/eabi_compat.c b/arch/arm/lib/eabi_compat.c
index 9e2912ffe39..3e13dbb6ab6 100644
--- a/arch/arm/lib/eabi_compat.c
+++ b/arch/arm/lib/eabi_compat.c
@@ -8,6 +8,7 @@ 
 #include <common.h>
 #include <stdio.h>
 #include <linux/string.h>
+#include <linux/types.h>
 
 int raise (int signum)
 {
diff --git a/arch/arm/lib/gic-v3-its.c b/arch/arm/lib/gic-v3-its.c
index 4fc9f9b7833..6b884ac375a 100644
--- a/arch/arm/lib/gic-v3-its.c
+++ b/arch/arm/lib/gic-v3-its.c
@@ -14,6 +14,7 @@ 
 #include <linux/kernel.h>
 #include <linux/printk.h>
 #include <linux/sizes.h>
+#include <linux/types.h>
 
 static u32 lpi_id_bits;
 
diff --git a/arch/arm/lib/image.c b/arch/arm/lib/image.c
index 5dfa8eff31a..47776bd7ba8 100644
--- a/arch/arm/lib/image.c
+++ b/arch/arm/lib/image.c
@@ -7,12 +7,14 @@ 
 #include <common.h>
 #include <image.h>
 #include <mapmem.h>
+#include <stdbool.h>
 #include <stdio.h>
 #include <asm/global_data.h>
 #include <asm/u-boot.h>
 #include <linux/bitops.h>
 #include <linux/kernel.h>
 #include <linux/sizes.h>
+#include <linux/types.h>
 
 DECLARE_GLOBAL_DATA_PTR;
 
diff --git a/arch/arm/lib/interrupts.c b/arch/arm/lib/interrupts.c
index af65144f7a7..fafe4b04d9b 100644
--- a/arch/arm/lib/interrupts.c
+++ b/arch/arm/lib/interrupts.c
@@ -27,6 +27,7 @@ 
 #include <asm/proc-armv/ptrace.h>
 #include <asm/ptrace.h>
 #include <asm/u-boot-arm.h>
+#include <linux/types.h>
 
 DECLARE_GLOBAL_DATA_PTR;
 
diff --git a/arch/arm/lib/interrupts_64.c b/arch/arm/lib/interrupts_64.c
index 9e8d8eb6f1a..9c228333d30 100644
--- a/arch/arm/lib/interrupts_64.c
+++ b/arch/arm/lib/interrupts_64.c
@@ -5,11 +5,13 @@ 
  */
 
 #include <common.h>
+#include <compiler.h>
 #include <stdio.h>
 #include <vsprintf.h>
 #include <asm/global_data.h>
 #include <asm/ptrace.h>
 #include <irq_func.h>
+#include <asm/types.h>
 #include <asm/u-boot.h>
 #include <linux/compiler.h>
 #include <efi_loader.h>
diff --git a/arch/arm/lib/reloc_aarch64_efi.c b/arch/arm/lib/reloc_aarch64_efi.c
index 1aa57dbc80d..5aab6acec5a 100644
--- a/arch/arm/lib/reloc_aarch64_efi.c
+++ b/arch/arm/lib/reloc_aarch64_efi.c
@@ -35,6 +35,7 @@ 
 */
 
 #include <efi.h>
+#include <linux/types.h>
 
 #include <elf.h>
 
diff --git a/arch/arm/lib/reloc_arm_efi.c b/arch/arm/lib/reloc_arm_efi.c
index 9103c035c54..bf07a63c487 100644
--- a/arch/arm/lib/reloc_arm_efi.c
+++ b/arch/arm/lib/reloc_arm_efi.c
@@ -13,6 +13,7 @@ 
 
 #include <efi.h>
 #include <elf.h>
+#include <linux/types.h>
 
 efi_status_t EFIAPI _relocate(long ldbase, Elf32_Dyn *dyn)
 {
diff --git a/arch/arm/lib/reset.c b/arch/arm/lib/reset.c
index 109ed120482..904eeaaf26e 100644
--- a/arch/arm/lib/reset.c
+++ b/arch/arm/lib/reset.c
@@ -22,6 +22,7 @@ 
 
 #include <common.h>
 #include <command.h>
+#include <compiler.h>
 #include <cpu_func.h>
 #include <irq_func.h>
 #include <asm/u-boot.h>
diff --git a/arch/arm/lib/semihosting.c b/arch/arm/lib/semihosting.c
index 8b09d87cb16..685351c59f9 100644
--- a/arch/arm/lib/semihosting.c
+++ b/arch/arm/lib/semihosting.c
@@ -18,6 +18,7 @@ 
 #include <stdio.h>
 #include <vsprintf.h>
 #include <linux/string.h>
+#include <linux/types.h>
 
 #define SYSOPEN		0x01
 #define SYSCLOSE	0x02
diff --git a/arch/arm/lib/spl.c b/arch/arm/lib/spl.c
index 2dbbc53c516..66cafd41800 100644
--- a/arch/arm/lib/spl.c
+++ b/arch/arm/lib/spl.c
@@ -8,6 +8,7 @@ 
  */
 
 #include <common.h>
+#include <compiler.h>
 #include <config.h>
 #include <init.h>
 #include <log.h>
@@ -18,6 +19,7 @@ 
 #include <asm/u-boot.h>
 #include <linux/compiler.h>
 #include <asm/mach-types.h>
+#include <linux/types.h>
 
 #ifndef CONFIG_SPL_DM
 /* Pointer to as well as the global data structure for SPL */
diff --git a/arch/arm/lib/zimage.c b/arch/arm/lib/zimage.c
index b5155c2a914..08f55927db5 100644
--- a/arch/arm/lib/zimage.c
+++ b/arch/arm/lib/zimage.c
@@ -7,8 +7,10 @@ 
  * Copyright (C) 2012 Marek Vasut <marek.vasut@gmail.com>
  */
 #include <common.h>
+#include <compiler.h>
 #include <image.h>
 #include <stdio.h>
+#include <linux/types.h>
 
 #define	LINUX_ARM_ZIMAGE_MAGIC	0x016f2818
 #define	BAREBOX_IMAGE_MAGIC	0x00786f62
diff --git a/arch/arm/mach-aspeed/ast2500/sdram_ast2500.c b/arch/arm/mach-aspeed/ast2500/sdram_ast2500.c
index 9eefeef5fb3..e6618d4c76e 100644
--- a/arch/arm/mach-aspeed/ast2500/sdram_ast2500.c
+++ b/arch/arm/mach-aspeed/ast2500/sdram_ast2500.c
@@ -22,6 +22,7 @@ 
 #include <linux/errno.h>
 #include <linux/kernel.h>
 #include <dt-bindings/clock/ast2500-scu.h>
+#include <linux/types.h>
 
 /* These configuration parameters are taken from Aspeed SDK */
 #define DDR4_MR46_MODE		0x08000000
diff --git a/arch/arm/mach-aspeed/ast_wdt.c b/arch/arm/mach-aspeed/ast_wdt.c
index 5bc442ef33c..461d20303e3 100644
--- a/arch/arm/mach-aspeed/ast_wdt.c
+++ b/arch/arm/mach-aspeed/ast_wdt.c
@@ -7,6 +7,7 @@ 
 #include <asm/io.h>
 #include <asm/arch/wdt.h>
 #include <linux/err.h>
+#include <linux/types.h>
 
 u32 ast_reset_mode_from_flags(ulong flags)
 {
diff --git a/arch/arm/mach-at91/arm920t/clock.c b/arch/arm/mach-at91/arm920t/clock.c
index 57cb159d1f6..b73864c6977 100644
--- a/arch/arm/mach-at91/arm920t/clock.c
+++ b/arch/arm/mach-at91/arm920t/clock.c
@@ -15,6 +15,7 @@ 
 #include <asm/arch/hardware.h>
 #include <asm/arch/at91_pmc.h>
 #include <asm/arch/clk.h>
+#include <linux/types.h>
 
 #if !defined(CONFIG_AT91FAMILY)
 # error You need to define CONFIG_AT91FAMILY in your board config!
diff --git a/arch/arm/mach-at91/arm920t/reset.c b/arch/arm/mach-at91/arm920t/reset.c
index d92bc57d669..a264b2b1c54 100644
--- a/arch/arm/mach-at91/arm920t/reset.c
+++ b/arch/arm/mach-at91/arm920t/reset.c
@@ -18,6 +18,7 @@ 
 #include <asm/io.h>
 #include <asm/arch/hardware.h>
 #include <asm/arch/at91_st.h>
+#include <linux/types.h>
 
 void  __attribute__((weak)) board_reset(void)
 {
diff --git a/arch/arm/mach-at91/arm920t/timer.c b/arch/arm/mach-at91/arm920t/timer.c
index c400e878135..fa0e582f062 100644
--- a/arch/arm/mach-at91/arm920t/timer.c
+++ b/arch/arm/mach-at91/arm920t/timer.c
@@ -18,6 +18,7 @@ 
 #include <time.h>
 #include <asm/global_data.h>
 #include <linux/delay.h>
+#include <linux/types.h>
 
 #include <asm/io.h>
 #include <asm/arch/hardware.h>
diff --git a/arch/arm/mach-at91/arm926ejs/clock.c b/arch/arm/mach-at91/arm926ejs/clock.c
index 97e45fffd1d..6a742766d4e 100644
--- a/arch/arm/mach-at91/arm926ejs/clock.c
+++ b/arch/arm/mach-at91/arm926ejs/clock.c
@@ -15,6 +15,7 @@ 
 #include <asm/arch/hardware.h>
 #include <asm/arch/at91_pmc.h>
 #include <asm/arch/clk.h>
+#include <linux/types.h>
 
 #if !defined(CONFIG_AT91FAMILY)
 # error You need to define CONFIG_AT91FAMILY in your board config!
diff --git a/arch/arm/mach-at91/arm926ejs/cpu.c b/arch/arm/mach-at91/arm926ejs/cpu.c
index 9fb8b98944a..f64aa14a6b2 100644
--- a/arch/arm/mach-at91/arm926ejs/cpu.c
+++ b/arch/arm/mach-at91/arm926ejs/cpu.c
@@ -16,6 +16,7 @@ 
 #include <asm/arch/at91_gpbr.h>
 #include <asm/arch/clk.h>
 #include <asm/u-boot.h>
+#include <linux/types.h>
 
 #ifndef CONFIG_SYS_AT91_MAIN_CLOCK
 #define CONFIG_SYS_AT91_MAIN_CLOCK 0
diff --git a/arch/arm/mach-at91/arm926ejs/eflash.c b/arch/arm/mach-at91/arm926ejs/eflash.c
index ca52791d5bc..9a727b5c163 100644
--- a/arch/arm/mach-at91/arm926ejs/eflash.c
+++ b/arch/arm/mach-at91/arm926ejs/eflash.c
@@ -52,6 +52,7 @@ 
 #include <asm/arch/at91_common.h>
 #include <asm/arch/at91_eefc.h>
 #include <asm/arch/at91_dbu.h>
+#include <linux/types.h>
 
 /* checks to detect configuration errors */
 #if CONFIG_SYS_MAX_FLASH_BANKS!=1
diff --git a/arch/arm/mach-at91/arm926ejs/reset.c b/arch/arm/mach-at91/arm926ejs/reset.c
index 56fbbd991e5..6a604d2432c 100644
--- a/arch/arm/mach-at91/arm926ejs/reset.c
+++ b/arch/arm/mach-at91/arm926ejs/reset.c
@@ -10,6 +10,7 @@ 
 #include <asm/io.h>
 #include <asm/arch/hardware.h>
 #include <asm/arch/at91_rstc.h>
+#include <linux/types.h>
 
 /* Reset the cpu by telling the reset controller to do so */
 void reset_cpu(ulong ignored)
diff --git a/arch/arm/mach-at91/arm926ejs/timer.c b/arch/arm/mach-at91/arm926ejs/timer.c
index a8cf0e4bd79..b479feeca4d 100644
--- a/arch/arm/mach-at91/arm926ejs/timer.c
+++ b/arch/arm/mach-at91/arm926ejs/timer.c
@@ -14,6 +14,7 @@ 
 #include <asm/arch/at91_pit.h>
 #include <asm/arch/clk.h>
 #include <div64.h>
+#include <linux/types.h>
 
 #if !defined(CONFIG_AT91FAMILY)
 # error You need to define CONFIG_AT91FAMILY in your board config!
diff --git a/arch/arm/mach-at91/armv7/clock.c b/arch/arm/mach-at91/armv7/clock.c
index 7fab52d1e7e..984b9033e41 100644
--- a/arch/arm/mach-at91/armv7/clock.c
+++ b/arch/arm/mach-at91/armv7/clock.c
@@ -12,6 +12,7 @@ 
 #include <common.h>
 #include <stdio.h>
 #include <asm/global_data.h>
+#include <asm/types.h>
 #include <linux/delay.h>
 #include <linux/errno.h>
 #include <asm/io.h>
diff --git a/arch/arm/mach-at91/armv7/cpu.c b/arch/arm/mach-at91/armv7/cpu.c
index b40834bcbe3..04815b01054 100644
--- a/arch/arm/mach-at91/armv7/cpu.c
+++ b/arch/arm/mach-at91/armv7/cpu.c
@@ -19,6 +19,7 @@ 
 #include <asm/arch/at91_gpbr.h>
 #include <asm/arch/clk.h>
 #include <asm/u-boot.h>
+#include <linux/types.h>
 
 #ifndef CONFIG_SYS_AT91_MAIN_CLOCK
 #define CONFIG_SYS_AT91_MAIN_CLOCK 0
diff --git a/arch/arm/mach-at91/armv7/reset.c b/arch/arm/mach-at91/armv7/reset.c
index 8f4c81d1afd..08e0e69359d 100644
--- a/arch/arm/mach-at91/armv7/reset.c
+++ b/arch/arm/mach-at91/armv7/reset.c
@@ -13,6 +13,7 @@ 
 #include <asm/io.h>
 #include <asm/arch/hardware.h>
 #include <asm/arch/at91_rstc.h>
+#include <linux/types.h>
 
 /* Reset the cpu by telling the reset controller to do so */
 void reset_cpu(ulong ignored)
diff --git a/arch/arm/mach-at91/armv7/timer.c b/arch/arm/mach-at91/armv7/timer.c
index 1f54c5dcad9..edb9eefe71e 100644
--- a/arch/arm/mach-at91/armv7/timer.c
+++ b/arch/arm/mach-at91/armv7/timer.c
@@ -17,6 +17,7 @@ 
 #include <asm/arch/at91_pit.h>
 #include <asm/arch/clk.h>
 #include <div64.h>
+#include <linux/types.h>
 
 #if !defined(CONFIG_AT91FAMILY)
 # error You need to define CONFIG_AT91FAMILY in your board config!
diff --git a/arch/arm/mach-at91/atmel_sfr.c b/arch/arm/mach-at91/atmel_sfr.c
index c2677c51c0c..a80afaa90a1 100644
--- a/arch/arm/mach-at91/atmel_sfr.c
+++ b/arch/arm/mach-at91/atmel_sfr.c
@@ -9,6 +9,7 @@ 
 #include <asm/hardware.h>
 #include <asm/io.h>
 #include <asm/arch/at91_sfr.h>
+#include <asm/types.h>
 
 #if defined(CONFIG_SAMA5D2) || defined(CONFIG_SAMA5D4)
 void redirect_int_from_saic_to_aic(void)
diff --git a/arch/arm/mach-at91/clock.c b/arch/arm/mach-at91/clock.c
index f9723bd145e..714ff6b0d31 100644
--- a/arch/arm/mach-at91/clock.c
+++ b/arch/arm/mach-at91/clock.c
@@ -13,6 +13,7 @@ 
 #include <asm/arch/hardware.h>
 #include <asm/arch/at91_pmc.h>
 #include <asm/arch/at91_wdt.h>
+#include <linux/types.h>
 
 #define EN_UPLL_TIMEOUT		500
 
diff --git a/arch/arm/mach-at91/include/mach/at91_common.h b/arch/arm/mach-at91/include/mach/at91_common.h
index f3551832f3a..a226f7eea72 100644
--- a/arch/arm/mach-at91/include/mach/at91_common.h
+++ b/arch/arm/mach-at91/include/mach/at91_common.h
@@ -9,6 +9,7 @@ 
 #define AT91_COMMON_H
 
 #include <stdbool.h>
+#include <asm/types.h>
 void at91_can_hw_init(void);
 void at91_gmac_hw_init(void);
 void at91_macb_hw_init(void);
diff --git a/arch/arm/mach-at91/include/mach/at91_dbu.h b/arch/arm/mach-at91/include/mach/at91_dbu.h
index 91bb686bc10..5592cb903ce 100644
--- a/arch/arm/mach-at91/include/mach/at91_dbu.h
+++ b/arch/arm/mach-at91/include/mach/at91_dbu.h
@@ -12,6 +12,7 @@ 
 
 #ifndef __ASSEMBLY__
 
+#include <asm/types.h>
 typedef struct at91_dbu {
 	u32	cr;	/* Control Register WO */
 	u32	mr;	/* Mode Register  RW */
diff --git a/arch/arm/mach-at91/include/mach/at91_eefc.h b/arch/arm/mach-at91/include/mach/at91_eefc.h
index e7bb2bfecba..6c38f51e980 100644
--- a/arch/arm/mach-at91/include/mach/at91_eefc.h
+++ b/arch/arm/mach-at91/include/mach/at91_eefc.h
@@ -12,6 +12,7 @@ 
 
 #ifndef __ASSEMBLY__
 
+#include <asm/types.h>
 typedef struct at91_eefc {
 	u32	fmr;	/* Flash Mode Register RW */
 	u32	fcr;	/* Flash Command Register WO */
diff --git a/arch/arm/mach-at91/include/mach/at91_emac.h b/arch/arm/mach-at91/include/mach/at91_emac.h
index 44b943be3dc..397ed032d44 100644
--- a/arch/arm/mach-at91/include/mach/at91_emac.h
+++ b/arch/arm/mach-at91/include/mach/at91_emac.h
@@ -8,6 +8,7 @@ 
 #ifndef AT91_H
 #define AT91_H
 
+#include <asm/types.h>
 typedef struct at91_emac {
 	u32	 ctl;
 	u32	 cfg;
diff --git a/arch/arm/mach-at91/include/mach/at91_gpbr.h b/arch/arm/mach-at91/include/mach/at91_gpbr.h
index ac1bb1cf01a..576685a2920 100644
--- a/arch/arm/mach-at91/include/mach/at91_gpbr.h
+++ b/arch/arm/mach-at91/include/mach/at91_gpbr.h
@@ -32,6 +32,7 @@ 
 
 #ifndef __ASSEMBLY__
 
+#include <asm/types.h>
 typedef struct at91_gpbr {
 	u32 reg[4];
 } at91_gpbr_t;
diff --git a/arch/arm/mach-at91/include/mach/at91_matrix.h b/arch/arm/mach-at91/include/mach/at91_matrix.h
index d98fcf51051..a7c9281356f 100644
--- a/arch/arm/mach-at91/include/mach/at91_matrix.h
+++ b/arch/arm/mach-at91/include/mach/at91_matrix.h
@@ -23,6 +23,7 @@ 
 #define AT91_ASM_MATRIX_MCFG	ATMEL_BASE_MATRIX
 
 #else
+#include <asm/types.h>
 #if defined(CONFIG_AT91SAM9260) || defined(CONFIG_AT91SAM9G20)
 #define AT91_MATRIX_MASTERS	6
 #define AT91_MATRIX_SLAVES	5
diff --git a/arch/arm/mach-at91/include/mach/at91_mc.h b/arch/arm/mach-at91/include/mach/at91_mc.h
index 18b0e163c09..4d7dd361b14 100644
--- a/arch/arm/mach-at91/include/mach/at91_mc.h
+++ b/arch/arm/mach-at91/include/mach/at91_mc.h
@@ -15,6 +15,7 @@ 
 
 #ifndef __ASSEMBLY__
 
+#include <asm/types.h>
 typedef struct at91_ebi {
 	u32 	csa;		/* 0x00 Chip Select Assignment Register */
 	u32	cfgr;		/* 0x04 Configuration Register */
diff --git a/arch/arm/mach-at91/include/mach/at91_pdc.h b/arch/arm/mach-at91/include/mach/at91_pdc.h
index a855a7177ac..16115b2e81b 100644
--- a/arch/arm/mach-at91/include/mach/at91_pdc.h
+++ b/arch/arm/mach-at91/include/mach/at91_pdc.h
@@ -6,6 +6,7 @@ 
 #ifndef AT91_PDC_H
 #define AT91_PDC_H
 
+#include <asm/types.h>
 typedef struct at91_pdc {
 	u32	rpr;		/* 0x100 Receive Pointer Register */
 	u32	rcr;		/* 0x104 Receive Counter Register */
diff --git a/arch/arm/mach-at91/include/mach/at91_pio.h b/arch/arm/mach-at91/include/mach/at91_pio.h
index f51e47e55d5..60e36e753e8 100644
--- a/arch/arm/mach-at91/include/mach/at91_pio.h
+++ b/arch/arm/mach-at91/include/mach/at91_pio.h
@@ -35,6 +35,7 @@ 
 
 #ifndef __ASSEMBLY__
 
+#include <asm/types.h>
 typedef struct at91_port {
 	u32	per;		/* 0x00 PIO Enable Register */
 	u32	pdr;		/* 0x04 PIO Disable Register */
diff --git a/arch/arm/mach-at91/include/mach/at91_pit.h b/arch/arm/mach-at91/include/mach/at91_pit.h
index dfaf2e02608..bed0304a47f 100644
--- a/arch/arm/mach-at91/include/mach/at91_pit.h
+++ b/arch/arm/mach-at91/include/mach/at91_pit.h
@@ -12,6 +12,7 @@ 
 #ifndef AT91_PIT_H
 #define AT91_PIT_H
 
+#include <asm/types.h>
 typedef struct at91_pit {
 	u32	mr;	/* 0x00 Mode Register */
 	u32	sr;	/* 0x04 Status Register */
diff --git a/arch/arm/mach-at91/include/mach/at91_rstc.h b/arch/arm/mach-at91/include/mach/at91_rstc.h
index 11ffe4454a6..c1846de3ae1 100644
--- a/arch/arm/mach-at91/include/mach/at91_rstc.h
+++ b/arch/arm/mach-at91/include/mach/at91_rstc.h
@@ -18,6 +18,7 @@ 
 
 #ifndef __ASSEMBLY__
 
+#include <asm/types.h>
 typedef struct at91_rstc {
 	u32	cr;	/* Reset Controller Control Register */
 	u32	sr;	/* Reset Controller Status Register */
diff --git a/arch/arm/mach-at91/include/mach/at91_rtt.h b/arch/arm/mach-at91/include/mach/at91_rtt.h
index ba88c441e33..3d39328873f 100644
--- a/arch/arm/mach-at91/include/mach/at91_rtt.h
+++ b/arch/arm/mach-at91/include/mach/at91_rtt.h
@@ -12,6 +12,7 @@ 
 
 #ifndef __ASSEMBLY__
 
+#include <asm/types.h>
 typedef struct at91_rtt {
 	u32	mr;	/* Mode Register   RW 0x00008000 */
 	u32	ar;	/* Alarm Register  RW 0xFFFFFFFF */
diff --git a/arch/arm/mach-at91/include/mach/at91_sfr.h b/arch/arm/mach-at91/include/mach/at91_sfr.h
index 4517df41bce..1044f6b77a9 100644
--- a/arch/arm/mach-at91/include/mach/at91_sfr.h
+++ b/arch/arm/mach-at91/include/mach/at91_sfr.h
@@ -9,6 +9,7 @@ 
 #ifndef __AT91_SFR_H
 #define __AT91_SFR_H
 
+#include <asm/types.h>
 #include <linux/bitops.h>
 struct atmel_sfr {
 	u32 reserved1;	/* 0x00 */
diff --git a/arch/arm/mach-at91/include/mach/at91_spi.h b/arch/arm/mach-at91/include/mach/at91_spi.h
index ce7bbf276d0..4f1f5fca3ba 100644
--- a/arch/arm/mach-at91/include/mach/at91_spi.h
+++ b/arch/arm/mach-at91/include/mach/at91_spi.h
@@ -13,6 +13,7 @@ 
 #define AT91_SPI_H
 
 #include <asm/arch/at91_pdc.h>
+#include <asm/types.h>
 
 typedef struct at91_spi {
 	u32		cr;		/* 0x00 Control Register */
diff --git a/arch/arm/mach-at91/include/mach/at91_st.h b/arch/arm/mach-at91/include/mach/at91_st.h
index ec4658a3917..24f5bad6017 100644
--- a/arch/arm/mach-at91/include/mach/at91_st.h
+++ b/arch/arm/mach-at91/include/mach/at91_st.h
@@ -6,6 +6,7 @@ 
 #ifndef AT91_ST_H
 #define AT91_ST_H
 
+#include <asm/types.h>
 typedef struct at91_st {
 
 	u32	cr;
diff --git a/arch/arm/mach-at91/include/mach/at91_tc.h b/arch/arm/mach-at91/include/mach/at91_tc.h
index eb6950ab28c..0ddc0103429 100644
--- a/arch/arm/mach-at91/include/mach/at91_tc.h
+++ b/arch/arm/mach-at91/include/mach/at91_tc.h
@@ -6,6 +6,7 @@ 
 #ifndef AT91_TC_H
 #define AT91_TC_H
 
+#include <asm/types.h>
 typedef struct at91_tcc {
 	u32		ccr;	/* 0x00 Channel Control Register */
 	u32		cmr;	/* 0x04 Channel Mode Register */
diff --git a/arch/arm/mach-at91/include/mach/at91_wdt.h b/arch/arm/mach-at91/include/mach/at91_wdt.h
index 8ef8e007d77..1f1d81ef1ca 100644
--- a/arch/arm/mach-at91/include/mach/at91_wdt.h
+++ b/arch/arm/mach-at91/include/mach/at91_wdt.h
@@ -19,6 +19,8 @@ 
 
 #else
 
+#include <compiler.h>
+#include <asm/types.h>
 typedef struct at91_wdt {
 	u32	cr;
 	u32	mr;
diff --git a/arch/arm/mach-at91/include/mach/at91sam9260_matrix.h b/arch/arm/mach-at91/include/mach/at91sam9260_matrix.h
index 7271129f6be..bb39119d55f 100644
--- a/arch/arm/mach-at91/include/mach/at91sam9260_matrix.h
+++ b/arch/arm/mach-at91/include/mach/at91sam9260_matrix.h
@@ -14,6 +14,7 @@ 
 #ifndef __ASSEMBLY__
 
 /*
+#include <asm/types.h>
  * This struct defines access to the matrix' maximum of
  * 16 masters and 16 slaves.
  * However, on the AT91SAM9260/9G20/9XE there exist only
diff --git a/arch/arm/mach-at91/include/mach/at91sam9261_matrix.h b/arch/arm/mach-at91/include/mach/at91sam9261_matrix.h
index b856759b1db..d2f3345b4bd 100644
--- a/arch/arm/mach-at91/include/mach/at91sam9261_matrix.h
+++ b/arch/arm/mach-at91/include/mach/at91sam9261_matrix.h
@@ -13,6 +13,7 @@ 
 
 #ifndef __ASSEMBLY__
 
+#include <asm/types.h>
 struct at91_matrix {
 	u32	mcfg;	/* Master Configuration Registers */
 	u32	scfg[5];	/* Slave Configuration Registers */
diff --git a/arch/arm/mach-at91/include/mach/at91sam9263_matrix.h b/arch/arm/mach-at91/include/mach/at91sam9263_matrix.h
index f08d2eb1fac..fd2aaad5a17 100644
--- a/arch/arm/mach-at91/include/mach/at91sam9263_matrix.h
+++ b/arch/arm/mach-at91/include/mach/at91sam9263_matrix.h
@@ -14,6 +14,7 @@ 
 #ifndef __ASSEMBLY__
 
 /*
+#include <asm/types.h>
  * This struct defines access to the matrix' maximum of
  * 16 masters and 16 slaves.
  * Note: not all masters/slaves are available
diff --git a/arch/arm/mach-at91/include/mach/at91sam9_sdramc.h b/arch/arm/mach-at91/include/mach/at91sam9_sdramc.h
index 64abf70c5b4..9feabe9252f 100644
--- a/arch/arm/mach-at91/include/mach/at91sam9_sdramc.h
+++ b/arch/arm/mach-at91/include/mach/at91sam9_sdramc.h
@@ -25,6 +25,7 @@ 
 #define AT91_ASM_SDRAMC_MDR	(ATMEL_BASE_SDRAMC + 0x24)
 
 #else
+#include <asm/types.h>
 struct sdramc_reg {
 	u32	mr;
 	u32	tr;
diff --git a/arch/arm/mach-at91/include/mach/at91sam9_smc.h b/arch/arm/mach-at91/include/mach/at91sam9_smc.h
index 404ffaad442..f4045b1173e 100644
--- a/arch/arm/mach-at91/include/mach/at91sam9_smc.h
+++ b/arch/arm/mach-at91/include/mach/at91sam9_smc.h
@@ -24,6 +24,7 @@ 
 #define AT91_ASM_SMC_MODE0	(ATMEL_BASE_SMC + 0x0C)
 
 #else
+#include <asm/types.h>
 
 typedef struct	at91_cs {
 	u32	setup;		/* 0x00 SMC Setup Register */
diff --git a/arch/arm/mach-at91/include/mach/at91sam9g45_matrix.h b/arch/arm/mach-at91/include/mach/at91sam9g45_matrix.h
index 62d4901bc1c..fde18a212e8 100644
--- a/arch/arm/mach-at91/include/mach/at91sam9g45_matrix.h
+++ b/arch/arm/mach-at91/include/mach/at91sam9g45_matrix.h
@@ -13,6 +13,7 @@ 
 
 #ifndef __ASSEMBLY__
 
+#include <asm/types.h>
 struct at91_matrix {
 	u32	mcfg[16];
 	u32	scfg[16];
diff --git a/arch/arm/mach-at91/include/mach/at91sam9rl_matrix.h b/arch/arm/mach-at91/include/mach/at91sam9rl_matrix.h
index 295f768b552..b798c181b46 100644
--- a/arch/arm/mach-at91/include/mach/at91sam9rl_matrix.h
+++ b/arch/arm/mach-at91/include/mach/at91sam9rl_matrix.h
@@ -16,6 +16,7 @@ 
 
 #ifndef __ASSEMBLY__
 
+#include <asm/types.h>
 struct at91_matrix {
 	u32	mcfg[16];	/* Master Configuration Registers */
 	u32	scfg[16];	/* Slave Configuration Registers */
diff --git a/arch/arm/mach-at91/include/mach/at91sam9x5_matrix.h b/arch/arm/mach-at91/include/mach/at91sam9x5_matrix.h
index 8288090d5a1..ddb6b1aec89 100644
--- a/arch/arm/mach-at91/include/mach/at91sam9x5_matrix.h
+++ b/arch/arm/mach-at91/include/mach/at91sam9x5_matrix.h
@@ -14,6 +14,7 @@ 
 #ifndef __ASSEMBLY__
 
 /* AT91SAM9N12 Matrix definition is a subset of AT91SAM9X5. */
+#include <asm/types.h>
 struct at91_matrix {
 	u32	mcfg[16];
 	u32	scfg[16];
diff --git a/arch/arm/mach-at91/include/mach/atmel_mpddrc.h b/arch/arm/mach-at91/include/mach/atmel_mpddrc.h
index 40ec87e2ff9..d68c93cdd3c 100644
--- a/arch/arm/mach-at91/include/mach/atmel_mpddrc.h
+++ b/arch/arm/mach-at91/include/mach/atmel_mpddrc.h
@@ -10,6 +10,7 @@ 
 #ifndef __ATMEL_MPDDRC_H__
 #define __ATMEL_MPDDRC_H__
 
+#include <asm/types.h>
 struct atmel_mpddrc_config {
 	u32 mr;
 	u32 rtr;
diff --git a/arch/arm/mach-at91/include/mach/atmel_pio4.h b/arch/arm/mach-at91/include/mach/atmel_pio4.h
index f348b05bc85..c87ca43d9f9 100644
--- a/arch/arm/mach-at91/include/mach/atmel_pio4.h
+++ b/arch/arm/mach-at91/include/mach/atmel_pio4.h
@@ -9,6 +9,7 @@ 
 
 #ifndef __ASSEMBLY__
 
+#include <asm/types.h>
 #include <linux/bitops.h>
 struct atmel_pio4_port {
 	u32 mskr;		/* 0x00 PIO Mask Register */
diff --git a/arch/arm/mach-at91/include/mach/atmel_sdhci.h b/arch/arm/mach-at91/include/mach/atmel_sdhci.h
index 48b6bd22368..5c237a0a687 100644
--- a/arch/arm/mach-at91/include/mach/atmel_sdhci.h
+++ b/arch/arm/mach-at91/include/mach/atmel_sdhci.h
@@ -7,6 +7,7 @@ 
 #ifndef __ATMEL_SDHCI_H
 #define __ATMEL_SDHCI_H
 
+#include <asm/types.h>
 int atmel_sdhci_init(void *regbase, u32 id);
 
 #endif
diff --git a/arch/arm/mach-at91/include/mach/atmel_serial.h b/arch/arm/mach-at91/include/mach/atmel_serial.h
index c53a509ff8b..6f348225645 100644
--- a/arch/arm/mach-at91/include/mach/atmel_serial.h
+++ b/arch/arm/mach-at91/include/mach/atmel_serial.h
@@ -7,6 +7,7 @@ 
 #define _ATMEL_SERIAL_H
 
 /* Information about a serial port */
+#include <linux/types.h>
 struct atmel_serial_platdata {
 	uint32_t base_addr;
 };
diff --git a/arch/arm/mach-at91/include/mach/clk.h b/arch/arm/mach-at91/include/mach/clk.h
index c1d92739e47..f6ceea2b2b2 100644
--- a/arch/arm/mach-at91/include/mach/clk.h
+++ b/arch/arm/mach-at91/include/mach/clk.h
@@ -11,6 +11,7 @@ 
 #include <asm/arch/hardware.h>
 #include <asm/arch/at91_pmc.h>
 #include <asm/global_data.h>
+#include <asm/types.h>
 
 #define GCK_CSS_SLOW_CLK	0
 #define GCK_CSS_MAIN_CLK	1
diff --git a/arch/arm/mach-at91/include/mach/gpio.h b/arch/arm/mach-at91/include/mach/gpio.h
index 575c6436ad3..1cbe1fcba16 100644
--- a/arch/arm/mach-at91/include/mach/gpio.h
+++ b/arch/arm/mach-at91/include/mach/gpio.h
@@ -12,6 +12,7 @@ 
 #include <linux/errno.h>
 #include <asm/arch/at91_pio.h>
 #include <asm/arch/hardware.h>
+#include <linux/types.h>
 
 #ifdef CONFIG_ATMEL_LEGACY
 
diff --git a/arch/arm/mach-at91/include/mach/sama5_matrix.h b/arch/arm/mach-at91/include/mach/sama5_matrix.h
index 2a92d701610..8f315efdb10 100644
--- a/arch/arm/mach-at91/include/mach/sama5_matrix.h
+++ b/arch/arm/mach-at91/include/mach/sama5_matrix.h
@@ -9,6 +9,7 @@ 
 #ifndef __SAMA5_MATRIX_H
 #define __SAMA5_MATRIX_H
 
+#include <asm/types.h>
 struct atmel_matrix {
 	u32 mcfg[16];	/* 0x00 ~ 0x3c: Master Configuration Register */
 	u32 scfg[16];	/* 0x40 ~ 0x7c: Slave Configuration Register */
diff --git a/arch/arm/mach-at91/include/mach/sama5d2_smc.h b/arch/arm/mach-at91/include/mach/sama5d2_smc.h
index 928a078f5f4..03f04af9302 100644
--- a/arch/arm/mach-at91/include/mach/sama5d2_smc.h
+++ b/arch/arm/mach-at91/include/mach/sama5d2_smc.h
@@ -16,6 +16,7 @@ 
 #define AT91_ASM_SMC_TIMINGS0	(ATMEL_BASE_SMC + 0x70c)
 #define AT91_ASM_SMC_MODE0	(ATMEL_BASE_SMC + 0x710)
 #else
+#include <asm/types.h>
 struct at91_cs {
 	u32	setup;		/* 0x600 SMC Setup Register */
 	u32	pulse;		/* 0x604 SMC Pulse Register */
diff --git a/arch/arm/mach-at91/include/mach/sama5d3_smc.h b/arch/arm/mach-at91/include/mach/sama5d3_smc.h
index 547e7b72f4a..9c2b8461b70 100644
--- a/arch/arm/mach-at91/include/mach/sama5d3_smc.h
+++ b/arch/arm/mach-at91/include/mach/sama5d3_smc.h
@@ -16,6 +16,7 @@ 
 #define AT91_ASM_SMC_TIMINGS0	(ATMEL_BASE_SMC + 0x60c)
 #define AT91_ASM_SMC_MODE0	(ATMEL_BASE_SMC + 0x610)
 #else
+#include <asm/types.h>
 struct at91_cs {
 	u32	setup;		/* 0x600 SMC Setup Register */
 	u32	pulse;		/* 0x604 SMC Pulse Register */
diff --git a/arch/arm/mach-at91/mpddrc.c b/arch/arm/mach-at91/mpddrc.c
index 5422c05456e..a2bcf4924c8 100644
--- a/arch/arm/mach-at91/mpddrc.c
+++ b/arch/arm/mach-at91/mpddrc.c
@@ -11,6 +11,7 @@ 
 #include <asm/io.h>
 #include <asm/arch/atmel_mpddrc.h>
 #include <asm/arch/at91_common.h>
+#include <asm/types.h>
 #include <linux/delay.h>
 
 #define SAMA5D3_MPDDRC_VERSION		0x140
diff --git a/arch/arm/mach-at91/spl.c b/arch/arm/mach-at91/spl.c
index 217fcfa6689..32e154922be 100644
--- a/arch/arm/mach-at91/spl.c
+++ b/arch/arm/mach-at91/spl.c
@@ -12,6 +12,7 @@ 
 #include <asm/arch/at91_wdt.h>
 #include <asm/arch/clk.h>
 #include <spl.h>
+#include <asm/types.h>
 
 #if !defined(CONFIG_WDT_AT91)
 void at91_disable_wdt(void)
diff --git a/arch/arm/mach-at91/spl_at91.c b/arch/arm/mach-at91/spl_at91.c
index d0c73253924..e3b85d3c541 100644
--- a/arch/arm/mach-at91/spl_at91.c
+++ b/arch/arm/mach-at91/spl_at91.c
@@ -9,6 +9,7 @@ 
  */
 
 #include <common.h>
+#include <compiler.h>
 #include <hang.h>
 #include <init.h>
 #include <log.h>
@@ -21,6 +22,7 @@ 
 #include <asm/arch/at91_wdt.h>
 #include <asm/arch/clk.h>
 #include <spl.h>
+#include <linux/types.h>
 
 DECLARE_GLOBAL_DATA_PTR;
 
diff --git a/arch/arm/mach-at91/spl_atmel.c b/arch/arm/mach-at91/spl_atmel.c
index 526379fae1a..0a3777176bb 100644
--- a/arch/arm/mach-at91/spl_atmel.c
+++ b/arch/arm/mach-at91/spl_atmel.c
@@ -5,6 +5,7 @@ 
  */
 
 #include <common.h>
+#include <compiler.h>
 #include <hang.h>
 #include <init.h>
 #include <log.h>
@@ -17,6 +18,7 @@ 
 #include <asm/arch/clk.h>
 #include <spl.h>
 #include <asm/u-boot.h>
+#include <linux/types.h>
 
 static void switch_to_main_crystal_osc(void)
 {
diff --git a/arch/arm/mach-bcm283x/include/mach/gpio.h b/arch/arm/mach-bcm283x/include/mach/gpio.h
index 3263de9a352..840388815a1 100644
--- a/arch/arm/mach-bcm283x/include/mach/gpio.h
+++ b/arch/arm/mach-bcm283x/include/mach/gpio.h
@@ -8,6 +8,7 @@ 
 #ifndef _BCM2835_GPIO_H_
 #define _BCM2835_GPIO_H_
 
+#include <asm/types.h>
 #define BCM2835_GPIO_COUNT		54
 
 #define BCM2835_GPIO_FSEL_MASK		0x7
diff --git a/arch/arm/mach-bcm283x/include/mach/mbox.h b/arch/arm/mach-bcm283x/include/mach/mbox.h
index 70029eefded..61586eb8591 100644
--- a/arch/arm/mach-bcm283x/include/mach/mbox.h
+++ b/arch/arm/mach-bcm283x/include/mach/mbox.h
@@ -6,7 +6,9 @@ 
 #ifndef _BCM2835_MBOX_H
 #define _BCM2835_MBOX_H
 
+#include <compiler.h>
 #include <asm/arch/base.h>
+#include <asm/types.h>
 #include <linux/compiler.h>
 #include <linux/string.h>
 
diff --git a/arch/arm/mach-bcm283x/include/mach/msg.h b/arch/arm/mach-bcm283x/include/mach/msg.h
index e45c1bf010f..483fb5b0e14 100644
--- a/arch/arm/mach-bcm283x/include/mach/msg.h
+++ b/arch/arm/mach-bcm283x/include/mach/msg.h
@@ -12,6 +12,7 @@ 
  * @module: ID of module to power on (BCM2835_MBOX_POWER_DEVID_...)
  * @return 0 if OK, -EIO on error
  */
+#include <linux/types.h>
 int bcm2835_power_on_module(u32 module);
 
 /**
diff --git a/arch/arm/mach-bcm283x/include/mach/sdhci.h b/arch/arm/mach-bcm283x/include/mach/sdhci.h
index 73236906870..481dc091439 100644
--- a/arch/arm/mach-bcm283x/include/mach/sdhci.h
+++ b/arch/arm/mach-bcm283x/include/mach/sdhci.h
@@ -7,6 +7,7 @@ 
 #define _BCM2835_SDHCI_H_
 
 #include <asm/arch/base.h>
+#include <asm/types.h>
 
 #define BCM2835_SDHCI_PHYSADDR ({ BUG_ON(!rpi_bcm283x_base); \
 				  rpi_bcm283x_base + 0x00300000; })
diff --git a/arch/arm/mach-bcm283x/include/mach/wdog.h b/arch/arm/mach-bcm283x/include/mach/wdog.h
index 99426667205..2d8d7e0b0a3 100644
--- a/arch/arm/mach-bcm283x/include/mach/wdog.h
+++ b/arch/arm/mach-bcm283x/include/mach/wdog.h
@@ -7,6 +7,7 @@ 
 #define _BCM2835_WDOG_H
 
 #include <asm/arch/base.h>
+#include <asm/types.h>
 
 #define BCM2835_WDOG_PHYSADDR ({ BUG_ON(!rpi_bcm283x_base); \
 				 rpi_bcm283x_base + 0x00100000; })
diff --git a/arch/arm/mach-bcm283x/init.c b/arch/arm/mach-bcm283x/init.c
index c80c77e0fcc..70e1e22ebdc 100644
--- a/arch/arm/mach-bcm283x/init.c
+++ b/arch/arm/mach-bcm283x/init.c
@@ -13,6 +13,7 @@ 
 #include <asm/u-boot.h>
 #include <dm/device.h>
 #include <fdt_support.h>
+#include <linux/types.h>
 
 #define BCM2711_RPI4_PCIE_XHCI_MMIO_PHYS	0x600000000UL
 #define BCM2711_RPI4_PCIE_XHCI_MMIO_SIZE	0x800000UL
diff --git a/arch/arm/mach-bcm283x/mbox.c b/arch/arm/mach-bcm283x/mbox.c
index 0c8cf78c188..8d036a18755 100644
--- a/arch/arm/mach-bcm283x/mbox.c
+++ b/arch/arm/mach-bcm283x/mbox.c
@@ -14,6 +14,7 @@ 
 #include <asm/arch/mbox.h>
 #include <phys2bus.h>
 #include <linux/kernel.h>
+#include <linux/types.h>
 
 #define TIMEOUT 1000 /* ms */
 
diff --git a/arch/arm/mach-bcm283x/msg.c b/arch/arm/mach-bcm283x/msg.c
index 3c3eac9025b..57411b9d600 100644
--- a/arch/arm/mach-bcm283x/msg.c
+++ b/arch/arm/mach-bcm283x/msg.c
@@ -10,6 +10,7 @@ 
 #include <asm/arch/mbox.h>
 #include <linux/delay.h>
 #include <linux/errno.h>
+#include <linux/types.h>
 
 struct msg_set_power_state {
 	struct bcm2835_mbox_hdr hdr;
diff --git a/arch/arm/mach-bcm283x/reset.c b/arch/arm/mach-bcm283x/reset.c
index 2b4ccd47279..0d39bbdcf46 100644
--- a/arch/arm/mach-bcm283x/reset.c
+++ b/arch/arm/mach-bcm283x/reset.c
@@ -12,6 +12,7 @@ 
 #include <asm/arch/base.h>
 #include <asm/arch/wdog.h>
 #include <efi_loader.h>
+#include <linux/types.h>
 
 #define RESET_TIMEOUT 10
 
diff --git a/arch/arm/mach-bcmstb/include/mach/timer.h b/arch/arm/mach-bcmstb/include/mach/timer.h
index 039dd664c2c..8767a4602f6 100644
--- a/arch/arm/mach-bcmstb/include/mach/timer.h
+++ b/arch/arm/mach-bcmstb/include/mach/timer.h
@@ -8,6 +8,7 @@ 
 #ifndef _BCMSTB_TIMER_H
 #define _BCMSTB_TIMER_H
 
+#include <linux/types.h>
 uint64_t get_ticks(void);
 
 #endif /* _BCMSTB_TIMER_H */
diff --git a/arch/arm/mach-davinci/include/mach/davinci_misc.h b/arch/arm/mach-davinci/include/mach/davinci_misc.h
index 41b2c6648ec..711fb4b3d14 100644
--- a/arch/arm/mach-davinci/include/mach/davinci_misc.h
+++ b/arch/arm/mach-davinci/include/mach/davinci_misc.h
@@ -8,6 +8,7 @@ 
 
 #include <asm/arch/hardware.h>
 #include <linux/kernel.h>
+#include <linux/types.h>
 
 /* pin muxer definitions */
 #define PIN_MUX_NUM_FIELDS	8	/* Per register */
diff --git a/arch/arm/mach-davinci/include/mach/dm365_lowlevel.h b/arch/arm/mach-davinci/include/mach/dm365_lowlevel.h
index eb1488e7442..000e32f0574 100644
--- a/arch/arm/mach-davinci/include/mach/dm365_lowlevel.h
+++ b/arch/arm/mach-davinci/include/mach/dm365_lowlevel.h
@@ -11,6 +11,7 @@ 
 #include <common.h>
 #include <asm/arch/hardware.h>
 #include <asm/io.h>
+#include <linux/types.h>
 
 void dm365_waitloop(unsigned long loopcnt);
 int dm365_pll1_init(unsigned long pllmult, unsigned long prediv);
diff --git a/arch/arm/mach-davinci/include/mach/sdmmc_defs.h b/arch/arm/mach-davinci/include/mach/sdmmc_defs.h
index e1851c5ae4e..6c28974f68d 100644
--- a/arch/arm/mach-davinci/include/mach/sdmmc_defs.h
+++ b/arch/arm/mach-davinci/include/mach/sdmmc_defs.h
@@ -10,6 +10,7 @@ 
 
 #include <asm/arch/hardware.h>
 #include <asm/u-boot.h>
+#include <linux/types.h>
 
 /* MMC Control Reg fields */
 #define MMCCTL_DATRST		(1 << 0)
diff --git a/arch/arm/mach-davinci/include/mach/timer_defs.h b/arch/arm/mach-davinci/include/mach/timer_defs.h
index 110e67e454c..f880b7ef927 100644
--- a/arch/arm/mach-davinci/include/mach/timer_defs.h
+++ b/arch/arm/mach-davinci/include/mach/timer_defs.h
@@ -6,6 +6,7 @@ 
 #ifndef _TIMER_DEFS_H_
 #define _TIMER_DEFS_H_
 
+#include <linux/types.h>
 struct davinci_timer {
 	u_int32_t	pid12;
 	u_int32_t	emumgt;
diff --git a/arch/arm/mach-davinci/misc.c b/arch/arm/mach-davinci/misc.c
index 6ae7ab2887a..e19a300f390 100644
--- a/arch/arm/mach-davinci/misc.c
+++ b/arch/arm/mach-davinci/misc.c
@@ -20,6 +20,7 @@ 
 #include <asm/io.h>
 #include <asm/arch/davinci_misc.h>
 #include <asm/u-boot.h>
+#include <linux/types.h>
 
 DECLARE_GLOBAL_DATA_PTR;
 
diff --git a/arch/arm/mach-davinci/spl.c b/arch/arm/mach-davinci/spl.c
index 9e14284ab02..a9732fc5264 100644
--- a/arch/arm/mach-davinci/spl.c
+++ b/arch/arm/mach-davinci/spl.c
@@ -17,6 +17,7 @@ 
 #include <malloc.h>
 #include <spi_flash.h>
 #include <mmc.h>
+#include <linux/types.h>
 
 #ifndef CONFIG_SPL_LIBCOMMON_SUPPORT
 void puts(const char *str)
diff --git a/arch/arm/mach-davinci/timer.c b/arch/arm/mach-davinci/timer.c
index 43e0574901e..562363af34f 100644
--- a/arch/arm/mach-davinci/timer.c
+++ b/arch/arm/mach-davinci/timer.c
@@ -28,6 +28,7 @@ 
 #include <asm/arch/timer_defs.h>
 #include <div64.h>
 #include <linux/delay.h>
+#include <linux/types.h>
 
 DECLARE_GLOBAL_DATA_PTR;
 
diff --git a/arch/arm/mach-exynos/clock.c b/arch/arm/mach-exynos/clock.c
index 33995ff4ec6..bd570b9e341 100644
--- a/arch/arm/mach-exynos/clock.c
+++ b/arch/arm/mach-exynos/clock.c
@@ -13,6 +13,7 @@ 
 #include <asm/arch/clk.h>
 #include <asm/arch/periph.h>
 #include <linux/kernel.h>
+#include <linux/types.h>
 
 #define PLL_DIV_1024	1024
 #define PLL_DIV_65535	65535
diff --git a/arch/arm/mach-exynos/clock_init.h b/arch/arm/mach-exynos/clock_init.h
index a4d3fdae851..6d0fe3a5bcc 100644
--- a/arch/arm/mach-exynos/clock_init.h
+++ b/arch/arm/mach-exynos/clock_init.h
@@ -8,6 +8,7 @@ 
 #ifndef __EXYNOS_CLOCK_INIT_H
 #define __EXYNOS_CLOCK_INIT_H
 
+#include <linux/types.h>
 enum {
 #ifdef CONFIG_EXYNOS5420
 	MEM_TIMINGS_MSR_COUNT	= 5,
diff --git a/arch/arm/mach-exynos/clock_init_exynos5.c b/arch/arm/mach-exynos/clock_init_exynos5.c
index cf83ef9391a..c5e2380e516 100644
--- a/arch/arm/mach-exynos/clock_init_exynos5.c
+++ b/arch/arm/mach-exynos/clock_init_exynos5.c
@@ -12,6 +12,7 @@ 
 #include <asm/arch/clock.h>
 #include <asm/arch/spl.h>
 #include <asm/arch/dwmmc.h>
+#include <asm/types.h>
 #include <linux/kernel.h>
 
 #include "clock_init.h"
diff --git a/arch/arm/mach-exynos/common_setup.h b/arch/arm/mach-exynos/common_setup.h
index 4e3702b9285..afae76531a9 100644
--- a/arch/arm/mach-exynos/common_setup.h
+++ b/arch/arm/mach-exynos/common_setup.h
@@ -24,6 +24,7 @@ 
  */
 
 #include <asm/arch/system.h>
+#include <linux/types.h>
 
 #define DMC_OFFSET	0x10000
 
diff --git a/arch/arm/mach-exynos/dmc_common.c b/arch/arm/mach-exynos/dmc_common.c
index 44923dd5520..880e9fc2b66 100644
--- a/arch/arm/mach-exynos/dmc_common.c
+++ b/arch/arm/mach-exynos/dmc_common.c
@@ -7,6 +7,7 @@ 
 
 #include <common.h>
 #include <asm/arch/spl.h>
+#include <linux/types.h>
 
 #include "clock_init.h"
 #include "common_setup.h"
diff --git a/arch/arm/mach-exynos/dmc_init_ddr3.c b/arch/arm/mach-exynos/dmc_init_ddr3.c
index 2cf3c2fa06a..0c0b68391b6 100644
--- a/arch/arm/mach-exynos/dmc_init_ddr3.c
+++ b/arch/arm/mach-exynos/dmc_init_ddr3.c
@@ -14,6 +14,7 @@ 
 #include <asm/arch/dmc.h>
 #include <asm/arch/power.h>
 #include <linux/kernel.h>
+#include <linux/types.h>
 #include "common_setup.h"
 #include "exynos5_setup.h"
 #include "clock_init.h"
diff --git a/arch/arm/mach-exynos/exynos5_setup.h b/arch/arm/mach-exynos/exynos5_setup.h
index bf4cca9e193..7bb31e917dc 100644
--- a/arch/arm/mach-exynos/exynos5_setup.h
+++ b/arch/arm/mach-exynos/exynos5_setup.h
@@ -10,6 +10,7 @@ 
 
 #include <config.h>
 #include <asm/arch/dmc.h>
+#include <linux/types.h>
 
 #define NOT_AVAILABLE		0
 #define DATA_MASK		0xFFFFF
diff --git a/arch/arm/mach-exynos/include/mach/mmc.h b/arch/arm/mach-exynos/include/mach/mmc.h
index eece44ea1aa..88e23b1138e 100644
--- a/arch/arm/mach-exynos/include/mach/mmc.h
+++ b/arch/arm/mach-exynos/include/mach/mmc.h
@@ -7,6 +7,7 @@ 
 #ifndef __ASM_ARCH_MMC_H_
 #define __ASM_ARCH_MMC_H_
 
+#include <asm/types.h>
 #define S5P_MMC_DEV_OFFSET	0x10000
 
 #define SDHCI_CONTROL2		0x80
diff --git a/arch/arm/mach-exynos/include/mach/power.h b/arch/arm/mach-exynos/include/mach/power.h
index a3d8974dcb5..27960c619b5 100644
--- a/arch/arm/mach-exynos/include/mach/power.h
+++ b/arch/arm/mach-exynos/include/mach/power.h
@@ -8,6 +8,7 @@ 
 #define __ASM_ARM_ARCH_POWER_H_
 
 #ifndef __ASSEMBLY__
+#include <linux/types.h>
 struct exynos4_power {
 	unsigned int	om_stat;
 	unsigned char	res1[0x8];
diff --git a/arch/arm/mach-exynos/include/mach/spl.h b/arch/arm/mach-exynos/include/mach/spl.h
index 9d642461bd6..7675d4dc724 100644
--- a/arch/arm/mach-exynos/include/mach/spl.h
+++ b/arch/arm/mach-exynos/include/mach/spl.h
@@ -11,6 +11,8 @@ 
 
 #ifndef __ASSEMBLY__
 /* Parameters of early board initialization in SPL */
+#include <compiler.h>
+#include <asm/types.h>
 struct spl_machine_param {
 	/* Add fields as and when required */
 	u32		signature;
diff --git a/arch/arm/mach-exynos/include/mach/sromc.h b/arch/arm/mach-exynos/include/mach/sromc.h
index 15c9ccc723d..81776988961 100644
--- a/arch/arm/mach-exynos/include/mach/sromc.h
+++ b/arch/arm/mach-exynos/include/mach/sromc.h
@@ -24,6 +24,7 @@ 
 #define SROMC_BC_PMC(x)  (x << 0)  /* normal(1data)page mode configuration */
 
 #ifndef __ASSEMBLY__
+#include <asm/types.h>
 struct s5p_sromc {
 	unsigned int	bw;
 	unsigned int	bc[4];
diff --git a/arch/arm/mach-exynos/include/mach/sys_proto.h b/arch/arm/mach-exynos/include/mach/sys_proto.h
index 53d53bc6b6d..23c8b643e2c 100644
--- a/arch/arm/mach-exynos/include/mach/sys_proto.h
+++ b/arch/arm/mach-exynos/include/mach/sys_proto.h
@@ -7,6 +7,7 @@ 
 #ifndef _SYS_PROTO_H_
 #define _SYS_PROTO_H_
 
+#include <asm/types.h>
 u32 get_device_type(void);
 void invalidate_dcache(u32);
 void l2_cache_disable(void);
diff --git a/arch/arm/mach-exynos/include/mach/tmu.h b/arch/arm/mach-exynos/include/mach/tmu.h
index cad35694f64..b301f17b874 100644
--- a/arch/arm/mach-exynos/include/mach/tmu.h
+++ b/arch/arm/mach-exynos/include/mach/tmu.h
@@ -20,6 +20,7 @@ 
 #ifndef __ASM_ARCH_TMU_H
 #define __ASM_ARCH_TMU_H
 
+#include <asm/types.h>
 struct exynos5_tmu_reg {
 	u32 triminfo;
 	u32 rsvd1[4];
diff --git a/arch/arm/mach-exynos/lowlevel_init.c b/arch/arm/mach-exynos/lowlevel_init.c
index 7a2fe744527..a94483ce9a0 100644
--- a/arch/arm/mach-exynos/lowlevel_init.c
+++ b/arch/arm/mach-exynos/lowlevel_init.c
@@ -37,6 +37,7 @@ 
 #include <asm/arch/system.h>
 #include <asm/armv7.h>
 #include <asm/u-boot.h>
+#include <linux/types.h>
 #include "common_setup.h"
 #include "exynos5_setup.h"
 
diff --git a/arch/arm/mach-exynos/pinmux.c b/arch/arm/mach-exynos/pinmux.c
index 5d7738ae5ba..5a818ac2b1e 100644
--- a/arch/arm/mach-exynos/pinmux.c
+++ b/arch/arm/mach-exynos/pinmux.c
@@ -10,6 +10,7 @@ 
 #include <asm/gpio.h>
 #include <asm/arch/pinmux.h>
 #include <asm/arch/sromc.h>
+#include <asm/types.h>
 #include <linux/kernel.h>
 
 static void exynos5_uart_config(int peripheral)
diff --git a/arch/arm/mach-exynos/power.c b/arch/arm/mach-exynos/power.c
index f2a6c00dd62..b36c395bebc 100644
--- a/arch/arm/mach-exynos/power.c
+++ b/arch/arm/mach-exynos/power.c
@@ -7,6 +7,7 @@ 
 #include <common.h>
 #include <asm/io.h>
 #include <asm/arch/power.h>
+#include <linux/types.h>
 
 static void exynos4_mipi_phy_control(unsigned int dev_index,
 					unsigned int enable)
diff --git a/arch/arm/mach-exynos/soc.c b/arch/arm/mach-exynos/soc.c
index 810fa348eea..388d50ff64d 100644
--- a/arch/arm/mach-exynos/soc.c
+++ b/arch/arm/mach-exynos/soc.c
@@ -9,6 +9,7 @@ 
 #include <asm/cache.h>
 #include <asm/io.h>
 #include <asm/system.h>
+#include <linux/types.h>
 
 #ifdef CONFIG_TARGET_ESPRESSO7420
 /*
diff --git a/arch/arm/mach-exynos/spl_boot.c b/arch/arm/mach-exynos/spl_boot.c
index 3ed5d10f1ae..4c19cce1a47 100644
--- a/arch/arm/mach-exynos/spl_boot.c
+++ b/arch/arm/mach-exynos/spl_boot.c
@@ -9,6 +9,7 @@ 
 #include <log.h>
 #include <asm/global_data.h>
 #include <linux/kernel.h>
+#include <linux/types.h>
 
 #include <asm/cache.h>
 #include <asm/arch/clock.h>
diff --git a/arch/arm/mach-imx/cache.c b/arch/arm/mach-imx/cache.c
index ce49253d0b4..c35720502bc 100644
--- a/arch/arm/mach-imx/cache.c
+++ b/arch/arm/mach-imx/cache.c
@@ -11,6 +11,7 @@ 
 #include <asm/pl310.h>
 #include <asm/io.h>
 #include <asm/mach-imx/sys_proto.h>
+#include <asm/types.h>
 
 static void enable_ca7_smp(void)
 {
diff --git a/arch/arm/mach-imx/cmd_dek.c b/arch/arm/mach-imx/cmd_dek.c
index a8199497a91..62a9afe8b10 100644
--- a/arch/arm/mach-imx/cmd_dek.c
+++ b/arch/arm/mach-imx/cmd_dek.c
@@ -15,6 +15,7 @@ 
 #include <fsl_sec.h>
 #include <asm/arch/clock.h>
 #include <mapmem.h>
+#include <linux/types.h>
 
 /**
 * blob_dek() - Encapsulate the DEK as a blob using CAM's Key
diff --git a/arch/arm/mach-imx/cmd_nandbcb.c b/arch/arm/mach-imx/cmd_nandbcb.c
index 9165140e494..882e71aee4c 100644
--- a/arch/arm/mach-imx/cmd_nandbcb.c
+++ b/arch/arm/mach-imx/cmd_nandbcb.c
@@ -16,6 +16,7 @@ 
 #include <log.h>
 #include <malloc.h>
 #include <nand.h>
+#include <stdbool.h>
 #include <stdio.h>
 #include <vsprintf.h>
 #include <dm/devres.h>
@@ -23,6 +24,7 @@ 
 #include <linux/errno.h>
 #include <linux/kernel.h>
 #include <linux/string.h>
+#include <linux/types.h>
 
 #include <asm/io.h>
 #include <jffs2/jffs2.h>
diff --git a/arch/arm/mach-imx/cpu.c b/arch/arm/mach-imx/cpu.c
index 837bd7e3a45..8988c60ca94 100644
--- a/arch/arm/mach-imx/cpu.c
+++ b/arch/arm/mach-imx/cpu.c
@@ -25,6 +25,7 @@ 
 #include <ipu_pixfmt.h>
 #include <thermal.h>
 #include <sata.h>
+#include <linux/types.h>
 
 #ifdef CONFIG_FSL_ESDHC_IMX
 #include <fsl_esdhc_imx.h>
diff --git a/arch/arm/mach-imx/ddrmc-vf610-calibration.c b/arch/arm/mach-imx/ddrmc-vf610-calibration.c
index cd7e95e61d0..fbe3bfd07f2 100644
--- a/arch/arm/mach-imx/ddrmc-vf610-calibration.c
+++ b/arch/arm/mach-imx/ddrmc-vf610-calibration.c
@@ -11,6 +11,7 @@ 
 #include <log.h>
 #include <asm/io.h>
 #include <asm/arch/imx-regs.h>
+#include <asm/types.h>
 #include <linux/bitmap.h>
 
 #include "ddrmc-vf610-calibration.h"
diff --git a/arch/arm/mach-imx/hab.c b/arch/arm/mach-imx/hab.c
index b576b032ec6..73ae2b12a02 100644
--- a/arch/arm/mach-imx/hab.c
+++ b/arch/arm/mach-imx/hab.c
@@ -18,6 +18,7 @@ 
 #include <asm/arch/clock.h>
 #include <asm/arch/sys_proto.h>
 #include <asm/mach-imx/hab.h>
+#include <linux/types.h>
 
 #define ALIGN_SIZE		0x1000
 #define MX6DQ_PU_IROM_MMU_EN_VAR	0x009024a8
diff --git a/arch/arm/mach-imx/i2c-mxv7.c b/arch/arm/mach-imx/i2c-mxv7.c
index 1e1b14c1272..963946769b8 100644
--- a/arch/arm/mach-imx/i2c-mxv7.c
+++ b/arch/arm/mach-imx/i2c-mxv7.c
@@ -15,6 +15,7 @@ 
 #include <asm/mach-imx/mxc_i2c.h>
 #include <watchdog.h>
 #include <linux/kernel.h>
+#include <linux/types.h>
 
 int force_idle_bus(void *priv)
 {
diff --git a/arch/arm/mach-imx/imx8/ahab.c b/arch/arm/mach-imx/imx8/ahab.c
index f3c370914c6..d779b476ece 100644
--- a/arch/arm/mach-imx/imx8/ahab.c
+++ b/arch/arm/mach-imx/imx8/ahab.c
@@ -7,6 +7,7 @@ 
 #include <command.h>
 #include <errno.h>
 #include <log.h>
+#include <stdbool.h>
 #include <stdio.h>
 #include <vsprintf.h>
 #include <asm/global_data.h>
@@ -21,6 +22,7 @@ 
 #include <linux/errno.h>
 #include <linux/kernel.h>
 #include <linux/string.h>
+#include <linux/types.h>
 
 DECLARE_GLOBAL_DATA_PTR;
 
diff --git a/arch/arm/mach-imx/imx8/clock.c b/arch/arm/mach-imx/imx8/clock.c
index 9288282dfb0..96a7d8bdcf3 100644
--- a/arch/arm/mach-imx/imx8/clock.c
+++ b/arch/arm/mach-imx/imx8/clock.c
@@ -6,6 +6,7 @@ 
 #include <common.h>
 #include <stdio.h>
 #include <asm/global_data.h>
+#include <asm/types.h>
 #include <linux/errno.h>
 #include <asm/arch/clock.h>
 
diff --git a/arch/arm/mach-imx/imx8/cpu.c b/arch/arm/mach-imx/imx8/cpu.c
index 55a424f6e2f..cab3177e03a 100644
--- a/arch/arm/mach-imx/imx8/cpu.c
+++ b/arch/arm/mach-imx/imx8/cpu.c
@@ -5,14 +5,17 @@ 
 
 #include <common.h>
 #include <clk.h>
+#include <compiler.h>
 #include <cpu.h>
 #include <cpu_func.h>
 #include <dm.h>
 #include <init.h>
 #include <log.h>
+#include <stdbool.h>
 #include <stdio.h>
 #include <asm/cache.h>
 #include <asm/global_data.h>
+#include <asm/types.h>
 #include <asm/u-boot.h>
 #include <dm/device-internal.h>
 #include <dm/lists.h>
diff --git a/arch/arm/mach-imx/imx8/fdt.c b/arch/arm/mach-imx/imx8/fdt.c
index eee6e529cdc..4ffdc5e5727 100644
--- a/arch/arm/mach-imx/imx8/fdt.c
+++ b/arch/arm/mach-imx/imx8/fdt.c
@@ -10,6 +10,7 @@ 
 #include <asm/arch/sci/sci.h>
 #include <asm/arch/sys_proto.h>
 #include <asm/global_data.h>
+#include <asm/types.h>
 #include <asm/u-boot.h>
 #include <dm/ofnode.h>
 #include <fdt_support.h>
diff --git a/arch/arm/mach-imx/imx8/image.c b/arch/arm/mach-imx/imx8/image.c
index 4258abecd08..d685c9f5e7d 100644
--- a/arch/arm/mach-imx/imx8/image.c
+++ b/arch/arm/mach-imx/imx8/image.c
@@ -18,6 +18,7 @@ 
 #include <linux/errno.h>
 #include <linux/kernel.h>
 #include <linux/string.h>
+#include <linux/types.h>
 
 #define MMC_DEV		0
 #define QSPI_DEV	1
diff --git a/arch/arm/mach-imx/imx8/iomux.c b/arch/arm/mach-imx/imx8/iomux.c
index 0f4f0cac107..4c00622c381 100644
--- a/arch/arm/mach-imx/imx8/iomux.c
+++ b/arch/arm/mach-imx/imx8/iomux.c
@@ -10,6 +10,7 @@ 
 #include <asm/io.h>
 #include <asm/arch/iomux.h>
 #include <asm/arch/sci/sci.h>
+#include <asm/types.h>
 
 DECLARE_GLOBAL_DATA_PTR;
 
diff --git a/arch/arm/mach-imx/imx8/misc.c b/arch/arm/mach-imx/imx8/misc.c
index e83c0517fca..29566ad7c78 100644
--- a/arch/arm/mach-imx/imx8/misc.c
+++ b/arch/arm/mach-imx/imx8/misc.c
@@ -6,6 +6,7 @@ 
 #include <asm/mach-imx/sys_proto.h>
 #include <imx_sip.h>
 #include <linux/arm-smccc.h>
+#include <linux/types.h>
 
 int sc_pm_setup_uart(sc_rsrc_t uart_rsrc, sc_pm_clock_rate_t clk_rate)
 {
diff --git a/arch/arm/mach-imx/imx8/parse-container.c b/arch/arm/mach-imx/imx8/parse-container.c
index a5332358ca5..ba254516c2d 100644
--- a/arch/arm/mach-imx/imx8/parse-container.c
+++ b/arch/arm/mach-imx/imx8/parse-container.c
@@ -13,6 +13,7 @@ 
 #include <linux/errno.h>
 #include <linux/kernel.h>
 #include <linux/string.h>
+#include <linux/types.h>
 
 #define SEC_SECURE_RAM_BASE		0x31800000UL
 #define SEC_SECURE_RAM_END_BASE		(SEC_SECURE_RAM_BASE + 0xFFFFUL)
diff --git a/arch/arm/mach-imx/imx8/snvs_security_sc.c b/arch/arm/mach-imx/imx8/snvs_security_sc.c
index 086e89b0e5c..cb815395314 100644
--- a/arch/arm/mach-imx/imx8/snvs_security_sc.c
+++ b/arch/arm/mach-imx/imx8/snvs_security_sc.c
@@ -21,6 +21,7 @@ 
 #include <asm/arch-imx8/imx8-pins.h>
 #include <asm/arch-imx8/snvs_security_sc.h>
 #include <asm/global_data.h>
+#include <asm/types.h>
 #include <linux/errno.h>
 #include <linux/kernel.h>
 
diff --git a/arch/arm/mach-imx/imx8m/clock_imx8mm.c b/arch/arm/mach-imx/imx8m/clock_imx8mm.c
index ac4d0766dab..20f450c440b 100644
--- a/arch/arm/mach-imx/imx8m/clock_imx8mm.c
+++ b/arch/arm/mach-imx/imx8m/clock_imx8mm.c
@@ -6,6 +6,7 @@ 
  */
 
 #include <common.h>
+#include <compiler.h>
 #include <stdio.h>
 #include <asm/arch/clock.h>
 #include <asm/arch/imx-regs.h>
@@ -18,6 +19,7 @@ 
 #include <linux/delay.h>
 #include <linux/errno.h>
 #include <linux/kernel.h>
+#include <linux/types.h>
 
 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 95a1dbb7180..9b1956cf378 100644
--- a/arch/arm/mach-imx/imx8m/clock_imx8mq.c
+++ b/arch/arm/mach-imx/imx8m/clock_imx8mq.c
@@ -7,6 +7,7 @@ 
 
 #include <common.h>
 #include <command.h>
+#include <compiler.h>
 #include <stdio.h>
 #include <asm/arch/clock.h>
 #include <asm/arch/imx-regs.h>
@@ -17,6 +18,7 @@ 
 #include <linux/errno.h>
 #include <linux/iopoll.h>
 #include <linux/kernel.h>
+#include <linux/types.h>
 
 static struct anamix_pll *ana_pll = (struct anamix_pll *)ANATOP_BASE_ADDR;
 
diff --git a/arch/arm/mach-imx/imx8m/clock_slice.c b/arch/arm/mach-imx/imx8m/clock_slice.c
index 4074e1e4c52..ff8bd35cf9a 100644
--- a/arch/arm/mach-imx/imx8m/clock_slice.c
+++ b/arch/arm/mach-imx/imx8m/clock_slice.c
@@ -6,10 +6,13 @@ 
  */
 
 #include <common.h>
+#include <compiler.h>
+#include <stdbool.h>
 #include <asm/arch/clock.h>
 #include <asm/arch/imx-regs.h>
 #include <asm/io.h>
 #include <errno.h>
+#include <asm/types.h>
 #include <linux/errno.h>
 #include <linux/kernel.h>
 
diff --git a/arch/arm/mach-imx/imx8m/soc.c b/arch/arm/mach-imx/imx8m/soc.c
index f05760771be..9c7e0b1247f 100644
--- a/arch/arm/mach-imx/imx8m/soc.c
+++ b/arch/arm/mach-imx/imx8m/soc.c
@@ -6,9 +6,11 @@ 
  */
 
 #include <common.h>
+#include <compiler.h>
 #include <cpu_func.h>
 #include <init.h>
 #include <log.h>
+#include <stdbool.h>
 #include <stdio.h>
 #include <vsprintf.h>
 #include <asm/arch/imx-regs.h>
@@ -35,6 +37,7 @@ 
 #include <linux/errno.h>
 #include <linux/kernel.h>
 #include <linux/string.h>
+#include <linux/types.h>
 
 DECLARE_GLOBAL_DATA_PTR;
 
diff --git a/arch/arm/mach-imx/imx_bootaux.c b/arch/arm/mach-imx/imx_bootaux.c
index 02fa1d7b62b..e24f430e3c4 100644
--- a/arch/arm/mach-imx/imx_bootaux.c
+++ b/arch/arm/mach-imx/imx_bootaux.c
@@ -16,6 +16,7 @@ 
 #include <linux/compiler.h>
 #include <cpu_func.h>
 #include <linux/errno.h>
+#include <linux/types.h>
 
 int arch_auxiliary_core_up(u32 core_id, ulong addr)
 {
diff --git a/arch/arm/mach-imx/init.c b/arch/arm/mach-imx/init.c
index 693b7244299..be9aac6e221 100644
--- a/arch/arm/mach-imx/init.c
+++ b/arch/arm/mach-imx/init.c
@@ -9,6 +9,7 @@ 
 #include <asm/arch/sys_proto.h>
 #include <asm/mach-imx/boot_mode.h>
 #include <asm/arch/crm_regs.h>
+#include <asm/types.h>
 
 void init_aips(void)
 {
diff --git a/arch/arm/mach-imx/iomux-v3.c b/arch/arm/mach-imx/iomux-v3.c
index 18131a20f43..219dd98a549 100644
--- a/arch/arm/mach-imx/iomux-v3.c
+++ b/arch/arm/mach-imx/iomux-v3.c
@@ -12,6 +12,7 @@ 
 #include <asm/arch/imx-regs.h>
 #include <asm/mach-imx/iomux-v3.h>
 #include <asm/mach-imx/sys_proto.h>
+#include <asm/types.h>
 
 static void *base = (void *)IOMUXC_BASE_ADDR;
 
diff --git a/arch/arm/mach-imx/mac.c b/arch/arm/mach-imx/mac.c
index b23315cf90e..d054f2e37f0 100644
--- a/arch/arm/mach-imx/mac.c
+++ b/arch/arm/mach-imx/mac.c
@@ -11,6 +11,7 @@ 
 #include <asm/io.h>
 #include <asm/arch/sys_proto.h>
 #include <errno.h>
+#include <linux/types.h>
 
 struct imx_mac_fuse {
 	u32 mac_addr0;
diff --git a/arch/arm/mach-imx/misc.c b/arch/arm/mach-imx/misc.c
index e30e87d3aa0..9360a727c47 100644
--- a/arch/arm/mach-imx/misc.c
+++ b/arch/arm/mach-imx/misc.c
@@ -13,6 +13,7 @@ 
 #include <linux/errno.h>
 #include <asm/io.h>
 #include <asm/mach-imx/regs-common.h>
+#include <linux/types.h>
 
 DECLARE_GLOBAL_DATA_PTR;
 
diff --git a/arch/arm/mach-imx/mmc_env.c b/arch/arm/mach-imx/mmc_env.c
index 9c822f721c6..9ad2cf4dc8f 100644
--- a/arch/arm/mach-imx/mmc_env.c
+++ b/arch/arm/mach-imx/mmc_env.c
@@ -4,10 +4,12 @@ 
  */
 
 #include <common.h>
+#include <compiler.h>
 #include <asm/arch/imx-regs.h>
 #include <asm/arch/sys_proto.h>
 #include <asm/io.h>
 #include <asm/mach-imx/boot_mode.h>
+#include <linux/types.h>
 
 __weak int board_mmc_get_env_dev(int devno)
 {
diff --git a/arch/arm/mach-imx/mmdc_size.c b/arch/arm/mach-imx/mmdc_size.c
index 1a094726aad..05d71b236bc 100644
--- a/arch/arm/mach-imx/mmdc_size.c
+++ b/arch/arm/mach-imx/mmdc_size.c
@@ -2,6 +2,7 @@ 
 
 #include <common.h>
 #include <asm/io.h>
+#include <asm/types.h>
 
 #if defined(CONFIG_MX53)
 #define MEMCTL_BASE	ESDCTL_BASE_ADDR
diff --git a/arch/arm/mach-imx/mx5/clock.c b/arch/arm/mach-imx/mx5/clock.c
index adc7dbee7d3..0b4fa84db79 100644
--- a/arch/arm/mach-imx/mx5/clock.c
+++ b/arch/arm/mach-imx/mx5/clock.c
@@ -9,6 +9,7 @@ 
 #include <common.h>
 #include <command.h>
 #include <log.h>
+#include <stdbool.h>
 #include <stdio.h>
 #include <asm/io.h>
 #include <linux/errno.h>
@@ -19,6 +20,7 @@ 
 #include <asm/arch/sys_proto.h>
 #include <linux/kernel.h>
 #include <linux/string.h>
+#include <linux/types.h>
 
 enum pll_clocks {
 	PLL1_CLOCK = 0,
diff --git a/arch/arm/mach-imx/mx5/soc.c b/arch/arm/mach-imx/mx5/soc.c
index c61fcce3eb4..d4431a44fc6 100644
--- a/arch/arm/mach-imx/mx5/soc.c
+++ b/arch/arm/mach-imx/mx5/soc.c
@@ -7,11 +7,13 @@ 
  */
 
 #include <common.h>
+#include <compiler.h>
 #include <cpu_func.h>
 #include <asm/arch/imx-regs.h>
 #include <asm/arch/clock.h>
 #include <asm/arch/sys_proto.h>
 #include <asm/cache.h>
+#include <asm/types.h>
 
 #include <linux/errno.h>
 #include <asm/io.h>
diff --git a/arch/arm/mach-imx/mx6/clock.c b/arch/arm/mach-imx/mx6/clock.c
index 7e066d39b2d..4fdcb7b3f5a 100644
--- a/arch/arm/mach-imx/mx6/clock.c
+++ b/arch/arm/mach-imx/mx6/clock.c
@@ -5,6 +5,7 @@ 
 
 #include <common.h>
 #include <command.h>
+#include <compiler.h>
 #include <div64.h>
 #include <log.h>
 #include <stdbool.h>
@@ -16,6 +17,7 @@ 
 #include <asm/arch/crm_regs.h>
 #include <asm/arch/clock.h>
 #include <asm/arch/sys_proto.h>
+#include <linux/types.h>
 
 enum pll_clocks {
 	PLL_SYS,	/* System PLL */
diff --git a/arch/arm/mach-imx/mx6/ddr.c b/arch/arm/mach-imx/mx6/ddr.c
index d5230d516a1..c02bcabc744 100644
--- a/arch/arm/mach-imx/mx6/ddr.c
+++ b/arch/arm/mach-imx/mx6/ddr.c
@@ -7,6 +7,7 @@ 
 #include <common.h>
 #include <hang.h>
 #include <log.h>
+#include <stdbool.h>
 #include <stdio.h>
 #include <linux/delay.h>
 #include <linux/kernel.h>
diff --git a/arch/arm/mach-imx/mx6/module_fuse.c b/arch/arm/mach-imx/mx6/module_fuse.c
index c1731a82856..c162b9c528a 100644
--- a/arch/arm/mach-imx/mx6/module_fuse.c
+++ b/arch/arm/mach-imx/mx6/module_fuse.c
@@ -14,6 +14,7 @@ 
 #include <linux/errno.h>
 #include <linux/kernel.h>
 #include <linux/string.h>
+#include <linux/types.h>
 
 static struct fuse_entry_desc mx6_fuse_descs[] = {
 #if defined(CONFIG_MX6ULL)
diff --git a/arch/arm/mach-imx/mx6/mp.c b/arch/arm/mach-imx/mx6/mp.c
index d28d55d4be5..1791bd29466 100644
--- a/arch/arm/mach-imx/mx6/mp.c
+++ b/arch/arm/mach-imx/mx6/mp.c
@@ -14,6 +14,7 @@ 
 #include <linux/errno.h>
 #include <asm/arch/sys_proto.h>
 #include <asm/arch/imx-regs.h>
+#include <linux/types.h>
 
 #define MAX_CPUS 4
 static struct src *src = (struct src *)SRC_BASE_ADDR;
diff --git a/arch/arm/mach-imx/mx6/opos6ul.c b/arch/arm/mach-imx/mx6/opos6ul.c
index 67b8c65963d..d7398f7ace7 100644
--- a/arch/arm/mach-imx/mx6/opos6ul.c
+++ b/arch/arm/mach-imx/mx6/opos6ul.c
@@ -3,6 +3,7 @@ 
  * Copyright (C) 2018 Armadeus Systems
  */
 
+#include <compiler.h>
 #include <init.h>
 #include <asm/arch/clock.h>
 #include <asm/arch/crm_regs.h>
@@ -13,6 +14,7 @@ 
 #include <common.h>
 #include <env.h>
 #include <asm/u-boot.h>
+#include <linux/types.h>
 
 DECLARE_GLOBAL_DATA_PTR;
 
diff --git a/arch/arm/mach-imx/mx6/soc.c b/arch/arm/mach-imx/mx6/soc.c
index 51d1cbc24de..99240f02b9c 100644
--- a/arch/arm/mach-imx/mx6/soc.c
+++ b/arch/arm/mach-imx/mx6/soc.c
@@ -7,6 +7,7 @@ 
  */
 
 #include <common.h>
+#include <compiler.h>
 #include <init.h>
 #include <asm/u-boot.h>
 #include <linux/delay.h>
@@ -27,6 +28,7 @@ 
 #include <imx_thermal.h>
 #include <mmc.h>
 #include <linux/kernel.h>
+#include <linux/types.h>
 
 struct scu_regs {
 	u32	ctrl;
diff --git a/arch/arm/mach-imx/mx7/clock.c b/arch/arm/mach-imx/mx7/clock.c
index b2d566737a4..6f6dbc9faba 100644
--- a/arch/arm/mach-imx/mx7/clock.c
+++ b/arch/arm/mach-imx/mx7/clock.c
@@ -20,6 +20,7 @@ 
 #include <asm/arch/crm_regs.h>
 #include <asm/arch/clock.h>
 #include <asm/arch/sys_proto.h>
+#include <linux/types.h>
 
 struct mxc_ccm_anatop_reg *ccm_anatop = (struct mxc_ccm_anatop_reg *)
 					 ANATOP_BASE_ADDR;
diff --git a/arch/arm/mach-imx/mx7/clock_slice.c b/arch/arm/mach-imx/mx7/clock_slice.c
index c5aea2bffd6..b7ad9e4a406 100644
--- a/arch/arm/mach-imx/mx7/clock_slice.c
+++ b/arch/arm/mach-imx/mx7/clock_slice.c
@@ -8,8 +8,10 @@ 
 
 #include <common.h>
 #include <div64.h>
+#include <stdbool.h>
 #include <stdio.h>
 #include <asm/io.h>
+#include <asm/types.h>
 #include <linux/errno.h>
 #include <asm/arch/imx-regs.h>
 #include <asm/arch/crm_regs.h>
diff --git a/arch/arm/mach-imx/mx7/psci-mx7.c b/arch/arm/mach-imx/mx7/psci-mx7.c
index 214e4043f44..0b93af39977 100644
--- a/arch/arm/mach-imx/mx7/psci-mx7.c
+++ b/arch/arm/mach-imx/mx7/psci-mx7.c
@@ -13,6 +13,7 @@ 
 #include <asm/arch/imx-regs.h>
 #include <asm/armv7.h>
 #include <asm/gic.h>
+#include <asm/types.h>
 #include <linux/bitops.h>
 #include <common.h>
 #include <fsl_wdog.h>
diff --git a/arch/arm/mach-imx/mx7/snvs.c b/arch/arm/mach-imx/mx7/snvs.c
index 359bbbb41c7..acc3356c3be 100644
--- a/arch/arm/mach-imx/mx7/snvs.c
+++ b/arch/arm/mach-imx/mx7/snvs.c
@@ -5,6 +5,7 @@ 
 
 #include <asm/io.h>
 #include <asm/arch/imx-regs.h>
+#include <asm/types.h>
 #include <linux/bitops.h>
 
 #define SNVS_HPCOMR		0x04
diff --git a/arch/arm/mach-imx/mx7/soc.c b/arch/arm/mach-imx/mx7/soc.c
index e97aa8ebe75..652807cee6b 100644
--- a/arch/arm/mach-imx/mx7/soc.c
+++ b/arch/arm/mach-imx/mx7/soc.c
@@ -4,7 +4,9 @@ 
  */
 
 #include <common.h>
+#include <compiler.h>
 #include <init.h>
+#include <stdbool.h>
 #include <asm/io.h>
 #include <asm/arch/imx-regs.h>
 #include <asm/arch/clock.h>
@@ -19,6 +21,7 @@ 
 #include <imx_thermal.h>
 #include <fsl_sec.h>
 #include <asm/setup.h>
+#include <asm/types.h>
 #include <asm/u-boot.h>
 #include <linux/delay.h>
 #include <linux/kernel.h>
diff --git a/arch/arm/mach-imx/mx7ulp/clock.c b/arch/arm/mach-imx/mx7ulp/clock.c
index c7dfa798b45..0b39cf14dba 100644
--- a/arch/arm/mach-imx/mx7ulp/clock.c
+++ b/arch/arm/mach-imx/mx7ulp/clock.c
@@ -14,6 +14,7 @@ 
 #include <asm/arch/clock.h>
 #include <asm/arch/sys_proto.h>
 #include <linux/errno.h>
+#include <linux/types.h>
 
 DECLARE_GLOBAL_DATA_PTR;
 
diff --git a/arch/arm/mach-imx/mx7ulp/iomux.c b/arch/arm/mach-imx/mx7ulp/iomux.c
index 05ddeed2a64..24a31d648c4 100644
--- a/arch/arm/mach-imx/mx7ulp/iomux.c
+++ b/arch/arm/mach-imx/mx7ulp/iomux.c
@@ -7,6 +7,7 @@ 
 #include <asm/io.h>
 #include <asm/arch/imx-regs.h>
 #include <asm/arch/iomux.h>
+#include <asm/types.h>
 
 static void *base = (void *)IOMUXC_BASE_ADDR;
 
diff --git a/arch/arm/mach-imx/mx7ulp/pcc.c b/arch/arm/mach-imx/mx7ulp/pcc.c
index 9d06260bdfa..61dfd6b01e0 100644
--- a/arch/arm/mach-imx/mx7ulp/pcc.c
+++ b/arch/arm/mach-imx/mx7ulp/pcc.c
@@ -6,12 +6,14 @@ 
 #include <common.h>
 #include <div64.h>
 #include <log.h>
+#include <stdbool.h>
 #include <stdio.h>
 #include <asm/io.h>
 #include <errno.h>
 #include <asm/arch/imx-regs.h>
 #include <asm/arch/pcc.h>
 #include <asm/arch/sys_proto.h>
+#include <asm/types.h>
 #include <linux/errno.h>
 #include <linux/kernel.h>
 
diff --git a/arch/arm/mach-imx/mx7ulp/scg.c b/arch/arm/mach-imx/mx7ulp/scg.c
index bc837aae33a..c9be289706d 100644
--- a/arch/arm/mach-imx/mx7ulp/scg.c
+++ b/arch/arm/mach-imx/mx7ulp/scg.c
@@ -13,6 +13,7 @@ 
 #include <asm/arch/imx-regs.h>
 #include <asm/arch/pcc.h>
 #include <asm/arch/sys_proto.h>
+#include <asm/types.h>
 #include <linux/delay.h>
 #include <linux/errno.h>
 
diff --git a/arch/arm/mach-imx/mx7ulp/soc.c b/arch/arm/mach-imx/mx7ulp/soc.c
index 79a4ef3cbf8..d4570d64d60 100644
--- a/arch/arm/mach-imx/mx7ulp/soc.c
+++ b/arch/arm/mach-imx/mx7ulp/soc.c
@@ -4,6 +4,7 @@ 
  */
 
 #include <common.h>
+#include <compiler.h>
 #include <cpu_func.h>
 #include <init.h>
 #include <log.h>
@@ -18,6 +19,7 @@ 
 #include <asm/mach-imx/hab.h>
 #include <asm/u-boot.h>
 #include <linux/bitops.h>
+#include <linux/types.h>
 
 #define PMC0_BASE_ADDR		0x410a1000
 #define PMC0_CTRL		0x28
diff --git a/arch/arm/mach-imx/rdc-sema.c b/arch/arm/mach-imx/rdc-sema.c
index e683673753e..d184406cd13 100644
--- a/arch/arm/mach-imx/rdc-sema.c
+++ b/arch/arm/mach-imx/rdc-sema.c
@@ -7,6 +7,7 @@ 
 #include <asm/arch/imx-regs.h>
 #include <asm/mach-imx/rdc-sema.h>
 #include <asm/arch/imx-rdc.h>
+#include <asm/types.h>
 #include <linux/errno.h>
 
 /*
diff --git a/arch/arm/mach-imx/spl.c b/arch/arm/mach-imx/spl.c
index 8e712607044..ba68395217b 100644
--- a/arch/arm/mach-imx/spl.c
+++ b/arch/arm/mach-imx/spl.c
@@ -7,6 +7,7 @@ 
  */
 
 #include <common.h>
+#include <compiler.h>
 #include <hang.h>
 #include <init.h>
 #include <log.h>
@@ -22,6 +23,7 @@ 
 #include <g_dnl.h>
 #include <asm/u-boot.h>
 #include <linux/kernel.h>
+#include <linux/types.h>
 
 DECLARE_GLOBAL_DATA_PTR;
 
diff --git a/arch/arm/mach-imx/spl_imx_romapi.c b/arch/arm/mach-imx/spl_imx_romapi.c
index 336b3da6264..07b76565392 100644
--- a/arch/arm/mach-imx/spl_imx_romapi.c
+++ b/arch/arm/mach-imx/spl_imx_romapi.c
@@ -13,6 +13,7 @@ 
 #include <linux/libfdt.h>
 #include <spl.h>
 #include <linux/string.h>
+#include <linux/types.h>
 
 #include <asm/arch/sys_proto.h>
 
diff --git a/arch/arm/mach-imx/syscounter.c b/arch/arm/mach-imx/syscounter.c
index 6dfed365d29..33572b943a7 100644
--- a/arch/arm/mach-imx/syscounter.c
+++ b/arch/arm/mach-imx/syscounter.c
@@ -15,6 +15,7 @@ 
 #include <asm/arch/sys_proto.h>
 #include <asm/mach-imx/syscounter.h>
 #include <linux/delay.h>
+#include <linux/types.h>
 
 DECLARE_GLOBAL_DATA_PTR;
 
diff --git a/arch/arm/mach-imx/timer.c b/arch/arm/mach-imx/timer.c
index fa1941aec42..569c05fad25 100644
--- a/arch/arm/mach-imx/timer.c
+++ b/arch/arm/mach-imx/timer.c
@@ -14,6 +14,7 @@ 
 #include <asm/arch/imx-regs.h>
 #include <asm/arch/clock.h>
 #include <asm/arch/sys_proto.h>
+#include <linux/types.h>
 
 /* General purpose timers registers */
 struct mxc_gpt {
diff --git a/arch/arm/mach-ipq40xx/clock-ipq4019.c b/arch/arm/mach-ipq40xx/clock-ipq4019.c
index dae070f0ed6..a15a6871ce4 100644
--- a/arch/arm/mach-ipq40xx/clock-ipq4019.c
+++ b/arch/arm/mach-ipq40xx/clock-ipq4019.c
@@ -13,6 +13,7 @@ 
 #include <dm.h>
 #include <errno.h>
 #include <linux/errno.h>
+#include <linux/types.h>
 
 struct msm_clk_priv {
 	phys_addr_t base;
diff --git a/arch/arm/mach-ipq40xx/pinctrl-snapdragon.c b/arch/arm/mach-ipq40xx/pinctrl-snapdragon.c
index 9f73a62d7a1..c18b87d923a 100644
--- a/arch/arm/mach-ipq40xx/pinctrl-snapdragon.c
+++ b/arch/arm/mach-ipq40xx/pinctrl-snapdragon.c
@@ -18,6 +18,7 @@ 
 #include <linux/bitops.h>
 #include <linux/errno.h>
 #include <linux/kernel.h>
+#include <linux/types.h>
 #include "pinctrl-snapdragon.h"
 
 struct msm_pinctrl_priv {
diff --git a/arch/arm/mach-k3/am6_init.c b/arch/arm/mach-k3/am6_init.c
index bda150df9cf..9bed725f8c5 100644
--- a/arch/arm/mach-k3/am6_init.c
+++ b/arch/arm/mach-k3/am6_init.c
@@ -16,6 +16,7 @@ 
 #include <asm/arch/sysfw-loader.h>
 #include <asm/arch/sys_proto.h>
 #include <linux/kernel.h>
+#include <linux/types.h>
 #include "common.h"
 #include <dm.h>
 #include <dm/uclass-internal.h>
diff --git a/arch/arm/mach-k3/common.c b/arch/arm/mach-k3/common.c
index ef1f3b3209b..f21184b6790 100644
--- a/arch/arm/mach-k3/common.c
+++ b/arch/arm/mach-k3/common.c
@@ -7,6 +7,7 @@ 
  */
 
 #include <common.h>
+#include <compiler.h>
 #include <cpu_func.h>
 #include <image.h>
 #include <init.h>
@@ -18,6 +19,7 @@ 
 #include <linux/kernel.h>
 #include <linux/printk.h>
 #include <linux/string.h>
+#include <linux/types.h>
 #include "common.h"
 #include <dm.h>
 #include <remoteproc.h>
diff --git a/arch/arm/mach-k3/common.h b/arch/arm/mach-k3/common.h
index ba344c5bc9d..df0d17f34a1 100644
--- a/arch/arm/mach-k3/common.h
+++ b/arch/arm/mach-k3/common.h
@@ -7,6 +7,7 @@ 
  */
 
 #include <asm/armv7_mpu.h>
+#include <linux/types.h>
 
 struct fwl_data {
 	const char *name;
diff --git a/arch/arm/mach-k3/include/mach/sys_proto.h b/arch/arm/mach-k3/include/mach/sys_proto.h
index 3c825aa3d1f..62cf760a419 100644
--- a/arch/arm/mach-k3/include/mach/sys_proto.h
+++ b/arch/arm/mach-k3/include/mach/sys_proto.h
@@ -7,6 +7,7 @@ 
 #ifndef _SYS_PROTO_H_
 #define _SYS_PROTO_H_
 
+#include <asm/types.h>
 void sdelay(unsigned long loops);
 u32 wait_on_value(u32 read_bit_mask, u32 match_value, void *read_addr,
 		  u32 bound);
diff --git a/arch/arm/mach-k3/j721e_init.c b/arch/arm/mach-k3/j721e_init.c
index a835309daf1..00fdae69065 100644
--- a/arch/arm/mach-k3/j721e_init.c
+++ b/arch/arm/mach-k3/j721e_init.c
@@ -16,6 +16,7 @@ 
 #include <asm/arch/hardware.h>
 #include <asm/arch/sysfw-loader.h>
 #include <linux/kernel.h>
+#include <linux/types.h>
 #include "common.h"
 #include <asm/arch/sys_proto.h>
 #include <linux/soc/ti/ti_sci_protocol.h>
diff --git a/arch/arm/mach-k3/security.c b/arch/arm/mach-k3/security.c
index f4aef0a025b..7655c9a3205 100644
--- a/arch/arm/mach-k3/security.c
+++ b/arch/arm/mach-k3/security.c
@@ -16,6 +16,7 @@ 
 #include <asm/cache.h>
 #include <linux/kernel.h>
 #include <linux/soc/ti/ti_sci_protocol.h>
+#include <linux/types.h>
 #include <mach/spl.h>
 #include <spl.h>
 #include <asm/arch/sys_proto.h>
diff --git a/arch/arm/mach-k3/sysfw-loader.c b/arch/arm/mach-k3/sysfw-loader.c
index 39a9da1698d..134fec61ab7 100644
--- a/arch/arm/mach-k3/sysfw-loader.c
+++ b/arch/arm/mach-k3/sysfw-loader.c
@@ -23,6 +23,7 @@ 
 #include <dfu.h>
 #include <dm/uclass-internal.h>
 #include <spi_flash.h>
+#include <linux/types.h>
 
 #include <asm/arch/sys_proto.h>
 #include "common.h"
diff --git a/arch/arm/mach-keystone/clock.c b/arch/arm/mach-keystone/clock.c
index 0c59515d2eb..69a7c010dc1 100644
--- a/arch/arm/mach-keystone/clock.c
+++ b/arch/arm/mach-keystone/clock.c
@@ -7,8 +7,10 @@ 
  */
 
 #include <common.h>
+#include <compiler.h>
 #include <asm/arch/clock.h>
 #include <asm/arch/clock_defs.h>
+#include <asm/types.h>
 #include <linux/bitops.h>
 
 /* DEV and ARM speed definitions as specified in DEVSPEED register */
diff --git a/arch/arm/mach-keystone/cmd_mon.c b/arch/arm/mach-keystone/cmd_mon.c
index 5887a89ff11..42935007dc0 100644
--- a/arch/arm/mach-keystone/cmd_mon.c
+++ b/arch/arm/mach-keystone/cmd_mon.c
@@ -11,6 +11,7 @@ 
 #include <image.h>
 #include <stdio.h>
 #include <vsprintf.h>
+#include <asm/types.h>
 #include <linux/errno.h>
 #include <linux/string.h>
 #include <mach/mon.h>
diff --git a/arch/arm/mach-keystone/ddr3.c b/arch/arm/mach-keystone/ddr3.c
index 99c394cd91d..a589935c222 100644
--- a/arch/arm/mach-keystone/ddr3.c
+++ b/arch/arm/mach-keystone/ddr3.c
@@ -15,6 +15,7 @@ 
 #include <asm/arch/msmc.h>
 #include <asm/arch/ddr3.h>
 #include <asm/arch/psc_defs.h>
+#include <asm/types.h>
 #include <linux/delay.h>
 
 #include <asm/ti-common/ti-edma3.h>
diff --git a/arch/arm/mach-keystone/ddr3_spd.c b/arch/arm/mach-keystone/ddr3_spd.c
index a7aa7f36521..85dcac05d3e 100644
--- a/arch/arm/mach-keystone/ddr3_spd.c
+++ b/arch/arm/mach-keystone/ddr3_spd.c
@@ -8,6 +8,7 @@ 
 #include <common.h>
 #include <log.h>
 #include <stdio.h>
+#include <asm/types.h>
 #include <linux/string.h>
 
 #include <i2c.h>
diff --git a/arch/arm/mach-keystone/include/mach/clock_defs.h b/arch/arm/mach-keystone/include/mach/clock_defs.h
index 336b103dc8c..ced9265d0a9 100644
--- a/arch/arm/mach-keystone/include/mach/clock_defs.h
+++ b/arch/arm/mach-keystone/include/mach/clock_defs.h
@@ -10,6 +10,7 @@ 
 
 #include <asm/arch/hardware.h>
 #ifndef __ASSEMBLY__
+#include <asm/types.h>
 #include <linux/bitops.h>
 #endif
 
diff --git a/arch/arm/mach-keystone/include/mach/ddr3.h b/arch/arm/mach-keystone/include/mach/ddr3.h
index cb28068db7d..4d68f562814 100644
--- a/arch/arm/mach-keystone/include/mach/ddr3.h
+++ b/arch/arm/mach-keystone/include/mach/ddr3.h
@@ -10,6 +10,7 @@ 
 #define _DDR3_H_
 
 #include <asm/arch/hardware.h>
+#include <asm/types.h>
 
 struct ddr3_phy_config {
 	unsigned int pllcr;
diff --git a/arch/arm/mach-keystone/include/mach/hardware-k2g.h b/arch/arm/mach-keystone/include/mach/hardware-k2g.h
index 971c081bb3c..8361d459df9 100644
--- a/arch/arm/mach-keystone/include/mach/hardware-k2g.h
+++ b/arch/arm/mach-keystone/include/mach/hardware-k2g.h
@@ -103,6 +103,7 @@ 
 #define MAX_SYSCLK	4
 
 #ifndef __ASSEMBLY__
+#include <asm/types.h>
 static inline u8 get_sysclk_index(void)
 {
 	u32 dev_stat = __raw_readl(KS2_DEVSTAT);
diff --git a/arch/arm/mach-keystone/include/mach/hardware.h b/arch/arm/mach-keystone/include/mach/hardware.h
index 0c5dc6a7395..4044ae65a0c 100644
--- a/arch/arm/mach-keystone/include/mach/hardware.h
+++ b/arch/arm/mach-keystone/include/mach/hardware.h
@@ -11,6 +11,7 @@ 
 #include <config.h>
 
 #ifndef __ASSEMBLY__
+#include <asm/types.h>
 #include <linux/bitops.h>
 
 #include <linux/sizes.h>
diff --git a/arch/arm/mach-keystone/include/mach/mon.h b/arch/arm/mach-keystone/include/mach/mon.h
index e1bef216d99..d23d31d6b74 100644
--- a/arch/arm/mach-keystone/include/mach/mon.h
+++ b/arch/arm/mach-keystone/include/mach/mon.h
@@ -9,6 +9,7 @@ 
 #ifndef _MACH_MON_H_
 #define _MACH_MON_H_
 
+#include <asm/types.h>
 int mon_install(u32 addr, u32 dpsc, u32 freq, u32 bm_addr);
 int mon_power_on(int core_id, void *ep);
 int mon_power_off(int core_id);
diff --git a/arch/arm/mach-keystone/include/mach/msmc.h b/arch/arm/mach-keystone/include/mach/msmc.h
index 3fe09ea5968..d4a9303bd38 100644
--- a/arch/arm/mach-keystone/include/mach/msmc.h
+++ b/arch/arm/mach-keystone/include/mach/msmc.h
@@ -10,6 +10,7 @@ 
 #define _MSMC_H_
 
 #include <asm/arch/hardware.h>
+#include <asm/types.h>
 
 enum mpax_seg_size {
 	MPAX_SEG_4K = 0x0b,
diff --git a/arch/arm/mach-keystone/include/mach/mux-k2g.h b/arch/arm/mach-keystone/include/mach/mux-k2g.h
index 67d47f81721..8030ccfabb0 100644
--- a/arch/arm/mach-keystone/include/mach/mux-k2g.h
+++ b/arch/arm/mach-keystone/include/mach/mux-k2g.h
@@ -11,6 +11,7 @@ 
 
 #include <common.h>
 #include <asm/io.h>
+#include <asm/types.h>
 
 #define K2G_PADCFG_REG	(KS2_DEVICE_STATE_CTRL_BASE + 0x1000)
 
diff --git a/arch/arm/mach-keystone/include/mach/psc_defs.h b/arch/arm/mach-keystone/include/mach/psc_defs.h
index 0864b37a531..1966adb0fe3 100644
--- a/arch/arm/mach-keystone/include/mach/psc_defs.h
+++ b/arch/arm/mach-keystone/include/mach/psc_defs.h
@@ -8,6 +8,7 @@ 
 
 #include <stdbool.h>
 #include <asm/arch/hardware.h>
+#include <asm/types.h>
 
 /*
  * FILE PURPOSE: Local Power Sleep Controller definitions
diff --git a/arch/arm/mach-keystone/init.c b/arch/arm/mach-keystone/init.c
index 880698c5f77..d3386b06d53 100644
--- a/arch/arm/mach-keystone/init.c
+++ b/arch/arm/mach-keystone/init.c
@@ -19,6 +19,7 @@ 
 #include <asm/arch/psc_defs.h>
 #include <asm/u-boot.h>
 #include <linux/bitops.h>
+#include <linux/types.h>
 
 #define MAX_PCI_PORTS		2
 enum pci_mode	{
diff --git a/arch/arm/mach-keystone/keystone.c b/arch/arm/mach-keystone/keystone.c
index a74c4d995b1..e8b805acb60 100644
--- a/arch/arm/mach-keystone/keystone.c
+++ b/arch/arm/mach-keystone/keystone.c
@@ -14,6 +14,7 @@ 
 #include <asm/io.h>
 #include <asm/arch/psc_defs.h>
 #include <asm/arch/hardware.h>
+#include <asm/types.h>
 
 /**
  * cpu_to_bus - swap bytes of the 32-bit data if the device is BE
diff --git a/arch/arm/mach-keystone/mon.c b/arch/arm/mach-keystone/mon.c
index af038dec7ae..f92078964a5 100644
--- a/arch/arm/mach-keystone/mon.c
+++ b/arch/arm/mach-keystone/mon.c
@@ -12,6 +12,7 @@ 
 #include <common.h>
 #include <command.h>
 #include <linux/string.h>
+#include <linux/types.h>
 #include <mach/mon.h>
 #include <spl.h>
 asm(".arch_extension sec\n\t");
diff --git a/arch/arm/mach-keystone/msmc.c b/arch/arm/mach-keystone/msmc.c
index f5cadfbf669..ba9e16d0f0c 100644
--- a/arch/arm/mach-keystone/msmc.c
+++ b/arch/arm/mach-keystone/msmc.c
@@ -8,6 +8,7 @@ 
 
 #include <common.h>
 #include <asm/arch/msmc.h>
+#include <asm/types.h>
 
 struct mpax {
 	u32	mpaxl;
diff --git a/arch/arm/mach-keystone/psc.c b/arch/arm/mach-keystone/psc.c
index 6005cbaeca8..f47b08e4bbe 100644
--- a/arch/arm/mach-keystone/psc.c
+++ b/arch/arm/mach-keystone/psc.c
@@ -9,6 +9,7 @@ 
 #include <common.h>
 #include <stdbool.h>
 #include <stdio.h>
+#include <asm/types.h>
 #include <linux/delay.h>
 #include <linux/errno.h>
 #include <asm/io.h>
diff --git a/arch/arm/mach-kirkwood/cache.c b/arch/arm/mach-kirkwood/cache.c
index 009b7deeca6..13ee22afdc0 100644
--- a/arch/arm/mach-kirkwood/cache.c
+++ b/arch/arm/mach-kirkwood/cache.c
@@ -6,6 +6,7 @@ 
 #include <common.h>
 #include <asm/arch/cpu.h>
 #include <asm/cache.h>
+#include <asm/types.h>
 
 #define FEROCEON_EXTRA_FEATURE_L2C_EN (1<<22)
 
diff --git a/arch/arm/mach-kirkwood/cpu.c b/arch/arm/mach-kirkwood/cpu.c
index 48d4327be76..5bdc2d9b56d 100644
--- a/arch/arm/mach-kirkwood/cpu.c
+++ b/arch/arm/mach-kirkwood/cpu.c
@@ -20,6 +20,7 @@ 
 #include <asm/arch/cpu.h>
 #include <asm/arch/soc.h>
 #include <mvebu_mmc.h>
+#include <asm/types.h>
 #include <asm/u-boot.h>
 #include <linux/kernel.h>
 
diff --git a/arch/arm/mach-kirkwood/include/mach/cpu.h b/arch/arm/mach-kirkwood/include/mach/cpu.h
index ea42182cf9c..ade2ccc8289 100644
--- a/arch/arm/mach-kirkwood/include/mach/cpu.h
+++ b/arch/arm/mach-kirkwood/include/mach/cpu.h
@@ -25,6 +25,7 @@ 
 #define SYSRST_CNT_1SEC_VAL		(25*1000000)
 #define KW_REG_MPP_OUT_DRV_REG		(KW_MPP_BASE + 0xE0)
 
+#include <asm/types.h>
 enum memory_bank {
 	BANK0,
 	BANK1,
diff --git a/arch/arm/mach-kirkwood/mpp.c b/arch/arm/mach-kirkwood/mpp.c
index 4fdad99cade..9525de119cd 100644
--- a/arch/arm/mach-kirkwood/mpp.c
+++ b/arch/arm/mach-kirkwood/mpp.c
@@ -15,6 +15,7 @@ 
 #include <asm/arch/cpu.h>
 #include <asm/arch/soc.h>
 #include <asm/arch/mpp.h>
+#include <asm/types.h>
 
 static u32 kirkwood_variant(void)
 {
diff --git a/arch/arm/mach-lpc32xx/clk.c b/arch/arm/mach-lpc32xx/clk.c
index cb2344d79fe..d6060800f16 100644
--- a/arch/arm/mach-lpc32xx/clk.c
+++ b/arch/arm/mach-lpc32xx/clk.c
@@ -9,6 +9,7 @@ 
 #include <asm/arch/cpu.h>
 #include <asm/arch/clk.h>
 #include <asm/io.h>
+#include <asm/types.h>
 
 static struct clk_pm_regs *clk = (struct clk_pm_regs *)CLK_PM_BASE;
 
diff --git a/arch/arm/mach-lpc32xx/cpu.c b/arch/arm/mach-lpc32xx/cpu.c
index cdc069639d5..65cb6110430 100644
--- a/arch/arm/mach-lpc32xx/cpu.c
+++ b/arch/arm/mach-lpc32xx/cpu.c
@@ -15,6 +15,7 @@ 
 #include <asm/arch/sys_proto.h>
 #include <asm/io.h>
 #include <asm/u-boot.h>
+#include <linux/types.h>
 
 static struct clk_pm_regs *clk = (struct clk_pm_regs *)CLK_PM_BASE;
 static struct wdt_regs  *wdt = (struct wdt_regs *)WDT_BASE;
diff --git a/arch/arm/mach-lpc32xx/devices.c b/arch/arm/mach-lpc32xx/devices.c
index 7e7646a2e15..545236b57b6 100644
--- a/arch/arm/mach-lpc32xx/devices.c
+++ b/arch/arm/mach-lpc32xx/devices.c
@@ -7,6 +7,7 @@ 
 #include <dm.h>
 #include <ns16550.h>
 #include <dm/platform_data/lpc32xx_hsuart.h>
+#include <linux/types.h>
 
 #include <asm/arch/clk.h>
 #include <asm/arch/uart.h>
diff --git a/arch/arm/mach-lpc32xx/dram.c b/arch/arm/mach-lpc32xx/dram.c
index 16022379235..495458af540 100644
--- a/arch/arm/mach-lpc32xx/dram.c
+++ b/arch/arm/mach-lpc32xx/dram.c
@@ -18,6 +18,7 @@ 
 #include <asm/arch/emc.h>
 #include <asm/io.h>
 #include <linux/delay.h>
+#include <linux/types.h>
 
 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 90183e3014e..cf5d3de1b58 100644
--- a/arch/arm/mach-lpc32xx/timer.c
+++ b/arch/arm/mach-lpc32xx/timer.c
@@ -11,6 +11,7 @@ 
 #include <asm/arch/timer.h>
 #include <asm/io.h>
 #include <linux/delay.h>
+#include <linux/types.h>
 
 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-mediatek/mt7622/init.c b/arch/arm/mach-mediatek/mt7622/init.c
index ff07936be34..2ae23c64924 100644
--- a/arch/arm/mach-mediatek/mt7622/init.c
+++ b/arch/arm/mach-mediatek/mt7622/init.c
@@ -10,6 +10,7 @@ 
 #include <stdio.h>
 #include <asm/armv8/mmu.h>
 #include <asm/cache.h>
+#include <linux/types.h>
 
 int print_cpuinfo(void)
 {
diff --git a/arch/arm/mach-mediatek/mt7623/init.c b/arch/arm/mach-mediatek/mt7623/init.c
index fa7a05291bc..78813545eee 100644
--- a/arch/arm/mach-mediatek/mt7623/init.c
+++ b/arch/arm/mach-mediatek/mt7623/init.c
@@ -4,6 +4,7 @@ 
  */
 
 #include <common.h>
+#include <compiler.h>
 #include <init.h>
 #include <stdio.h>
 #include <asm/global_data.h>
@@ -11,6 +12,7 @@ 
 #include <linux/kernel.h>
 #include <linux/sizes.h>
 #include <asm/arch/misc.h>
+#include <linux/types.h>
 
 #include "preloader.h"
 
diff --git a/arch/arm/mach-mediatek/mt7623/preloader.h b/arch/arm/mach-mediatek/mt7623/preloader.h
index 2d2c71ad4c4..a696bf12b88 100644
--- a/arch/arm/mach-mediatek/mt7623/preloader.h
+++ b/arch/arm/mach-mediatek/mt7623/preloader.h
@@ -6,6 +6,7 @@ 
 #ifndef __PRELOADER_H_
 #define __PRELOADER_H_
 
+#include <asm/types.h>
 enum forbidden_mode {
 	F_FACTORY_MODE = 0x0001
 };
diff --git a/arch/arm/mach-mediatek/mt7629/init.c b/arch/arm/mach-mediatek/mt7629/init.c
index a643810d245..cddc82d26e4 100644
--- a/arch/arm/mach-mediatek/mt7629/init.c
+++ b/arch/arm/mach-mediatek/mt7629/init.c
@@ -6,6 +6,7 @@ 
 
 #include <clk.h>
 #include <common.h>
+#include <compiler.h>
 #include <dm.h>
 #include <fdtdec.h>
 #include <init.h>
@@ -15,6 +16,7 @@ 
 #include <asm/arch/misc.h>
 #include <asm/global_data.h>
 #include <asm/sections.h>
+#include <asm/types.h>
 #include <dm/uclass.h>
 #include <linux/bitops.h>
 #include <linux/io.h>
diff --git a/arch/arm/mach-mediatek/mt8512/init.c b/arch/arm/mach-mediatek/mt8512/init.c
index 5a126d317c1..2519e25e1b3 100644
--- a/arch/arm/mach-mediatek/mt8512/init.c
+++ b/arch/arm/mach-mediatek/mt8512/init.c
@@ -22,6 +22,7 @@ 
 #include <asm/u-boot.h>
 #include <dm/uclass.h>
 #include <dt-bindings/clock/mt8512-clk.h>
+#include <linux/types.h>
 
 DECLARE_GLOBAL_DATA_PTR;
 
diff --git a/arch/arm/mach-mediatek/mt8516/init.c b/arch/arm/mach-mediatek/mt8516/init.c
index 11fe96f54f3..dec7d8588cd 100644
--- a/arch/arm/mach-mediatek/mt8516/init.c
+++ b/arch/arm/mach-mediatek/mt8516/init.c
@@ -22,6 +22,7 @@ 
 #include <dm/uclass.h>
 #include <dt-bindings/clock/mt8516-clk.h>
 #include <linux/kernel.h>
+#include <linux/types.h>
 
 DECLARE_GLOBAL_DATA_PTR;
 
diff --git a/arch/arm/mach-mediatek/mt8518/init.c b/arch/arm/mach-mediatek/mt8518/init.c
index dce53612e46..74ba95d9964 100644
--- a/arch/arm/mach-mediatek/mt8518/init.c
+++ b/arch/arm/mach-mediatek/mt8518/init.c
@@ -22,6 +22,7 @@ 
 #include <asm/u-boot.h>
 #include <dm/uclass.h>
 #include <dt-bindings/clock/mt8518-clk.h>
+#include <linux/types.h>
 
 DECLARE_GLOBAL_DATA_PTR;
 
diff --git a/arch/arm/mach-mediatek/spl.c b/arch/arm/mach-mediatek/spl.c
index 927175c5a31..6b963597687 100644
--- a/arch/arm/mach-mediatek/spl.c
+++ b/arch/arm/mach-mediatek/spl.c
@@ -9,6 +9,7 @@ 
 #include <hang.h>
 #include <init.h>
 #include <spl.h>
+#include <linux/types.h>
 
 #include "init.h"
 
diff --git a/arch/arm/mach-meson/board-axg.c b/arch/arm/mach-meson/board-axg.c
index 7e07465d254..3507cda0c44 100644
--- a/arch/arm/mach-meson/board-axg.c
+++ b/arch/arm/mach-meson/board-axg.c
@@ -15,6 +15,7 @@ 
 #include <asm/global_data.h>
 #include <asm/io.h>
 #include <asm/armv8/mmu.h>
+#include <asm/types.h>
 #include <linux/sizes.h>
 #include <phy.h>
 
diff --git a/arch/arm/mach-meson/board-common.c b/arch/arm/mach-meson/board-common.c
index cdae5f98770..fb92a9c46d6 100644
--- a/arch/arm/mach-meson/board-common.c
+++ b/arch/arm/mach-meson/board-common.c
@@ -4,6 +4,7 @@ 
  */
 
 #include <common.h>
+#include <compiler.h>
 #include <cpu_func.h>
 #include <init.h>
 #include <net.h>
@@ -22,6 +23,7 @@ 
 #include <asm/armv8/mmu.h>
 #include <asm/unaligned.h>
 #include <efi_loader.h>
+#include <linux/types.h>
 #include <u-boot/crc.h>
 
 #if CONFIG_IS_ENABLED(FASTBOOT)
diff --git a/arch/arm/mach-meson/board-g12a.c b/arch/arm/mach-meson/board-g12a.c
index 250a9617c0d..b40b5641490 100644
--- a/arch/arm/mach-meson/board-g12a.c
+++ b/arch/arm/mach-meson/board-g12a.c
@@ -17,6 +17,7 @@ 
 #include <asm/global_data.h>
 #include <asm/io.h>
 #include <asm/armv8/mmu.h>
+#include <asm/types.h>
 #include <linux/errno.h>
 #include <linux/kernel.h>
 #include <linux/sizes.h>
diff --git a/arch/arm/mach-meson/board-gx.c b/arch/arm/mach-meson/board-gx.c
index b38811fb951..47c1279a548 100644
--- a/arch/arm/mach-meson/board-gx.c
+++ b/arch/arm/mach-meson/board-gx.c
@@ -16,6 +16,7 @@ 
 #include <asm/global_data.h>
 #include <asm/io.h>
 #include <asm/armv8/mmu.h>
+#include <asm/types.h>
 #include <linux/errno.h>
 #include <linux/printk.h>
 #include <linux/sizes.h>
diff --git a/arch/arm/mach-meson/board-info.c b/arch/arm/mach-meson/board-info.c
index 94c523c17fd..226254038de 100644
--- a/arch/arm/mach-meson/board-info.c
+++ b/arch/arm/mach-meson/board-info.c
@@ -10,6 +10,7 @@ 
 #include <asm/global_data.h>
 #include <asm/io.h>
 #include <dm.h>
+#include <asm/types.h>
 #include <linux/bitfield.h>
 #include <regmap.h>
 #include <syscon.h>
diff --git a/arch/arm/mach-meson/sm.c b/arch/arm/mach-meson/sm.c
index 62feaccfce0..76c62ec6f1b 100644
--- a/arch/arm/mach-meson/sm.c
+++ b/arch/arm/mach-meson/sm.c
@@ -24,6 +24,7 @@ 
 #include <regmap.h>
 #include <syscon.h>
 #include <linux/string.h>
+#include <linux/types.h>
 
 #define FN_GET_SHARE_MEM_INPUT_BASE	0x82000020
 #define FN_GET_SHARE_MEM_OUTPUT_BASE	0x82000021
diff --git a/arch/arm/mach-mvebu/arm64-common.c b/arch/arm/mach-mvebu/arm64-common.c
index 513dcbf9878..640506ece30 100644
--- a/arch/arm/mach-mvebu/arm64-common.c
+++ b/arch/arm/mach-mvebu/arm64-common.c
@@ -4,6 +4,7 @@ 
  */
 
 #include <common.h>
+#include <compiler.h>
 #include <dm.h>
 #include <fdtdec.h>
 #include <init.h>
@@ -20,6 +21,7 @@ 
 #include <asm/arch/cpu.h>
 #include <asm/arch/soc.h>
 #include <asm/armv8/mmu.h>
+#include <linux/types.h>
 
 DECLARE_GLOBAL_DATA_PTR;
 
diff --git a/arch/arm/mach-mvebu/armada3700/cpu.c b/arch/arm/mach-mvebu/armada3700/cpu.c
index a6b92cf8fb8..67ef64deb67 100644
--- a/arch/arm/mach-mvebu/armada3700/cpu.c
+++ b/arch/arm/mach-mvebu/armada3700/cpu.c
@@ -22,6 +22,7 @@ 
 #include <asm/armv8/mmu.h>
 #include <sort.h>
 #include <linux/string.h>
+#include <linux/types.h>
 
 /* Armada 3700 */
 #define MVEBU_GPIO_NB_REG_BASE		(MVEBU_REGISTER(0x13800))
diff --git a/arch/arm/mach-mvebu/armada8k/cpu.c b/arch/arm/mach-mvebu/armada8k/cpu.c
index 529dac90595..81959bb51f0 100644
--- a/arch/arm/mach-mvebu/armada8k/cpu.c
+++ b/arch/arm/mach-mvebu/armada8k/cpu.c
@@ -13,6 +13,7 @@ 
 #include <asm/arch/cpu.h>
 #include <asm/arch/soc.h>
 #include <asm/armv8/mmu.h>
+#include <linux/types.h>
 
 /* Armada 7k/8k */
 #define MVEBU_RFU_BASE			(MVEBU_REGISTER(0x6f0000))
diff --git a/arch/arm/mach-mvebu/cpu.c b/arch/arm/mach-mvebu/cpu.c
index 53c44ede7db..56ef4f3309d 100644
--- a/arch/arm/mach-mvebu/cpu.c
+++ b/arch/arm/mach-mvebu/cpu.c
@@ -5,9 +5,11 @@ 
 
 #include <common.h>
 #include <ahci.h>
+#include <compiler.h>
 #include <cpu_func.h>
 #include <init.h>
 #include <stdio.h>
+#include <asm/types.h>
 #include <asm/u-boot.h>
 #include <linux/bitops.h>
 #include <linux/delay.h>
diff --git a/arch/arm/mach-mvebu/dram.c b/arch/arm/mach-mvebu/dram.c
index eb84ad9333c..e6af9ff06e7 100644
--- a/arch/arm/mach-mvebu/dram.c
+++ b/arch/arm/mach-mvebu/dram.c
@@ -13,6 +13,7 @@ 
 #include <asm/io.h>
 #include <asm/arch/cpu.h>
 #include <asm/arch/soc.h>
+#include <asm/types.h>
 #include <asm/u-boot.h>
 
 #if defined(CONFIG_ARCH_MVEBU)
diff --git a/arch/arm/mach-mvebu/efuse.c b/arch/arm/mach-mvebu/efuse.c
index 8ada3cf93e7..322e2e3db38 100644
--- a/arch/arm/mach-mvebu/efuse.c
+++ b/arch/arm/mach-mvebu/efuse.c
@@ -10,6 +10,7 @@ 
 #include <asm/arch/cpu.h>
 #include <asm/arch/efuse.h>
 #include <asm/arch/soc.h>
+#include <asm/types.h>
 #include <linux/bitops.h>
 #include <linux/delay.h>
 #include <linux/errno.h>
diff --git a/arch/arm/mach-mvebu/gpio.c b/arch/arm/mach-mvebu/gpio.c
index 1d1e3df8ba9..97e5c11865a 100644
--- a/arch/arm/mach-mvebu/gpio.c
+++ b/arch/arm/mach-mvebu/gpio.c
@@ -9,6 +9,7 @@ 
 #include <asm/io.h>
 #include <asm/arch/cpu.h>
 #include <asm/arch/soc.h>
+#include <asm/types.h>
 
 /*
  * mvebu_config_gpio - GPIO configuration
diff --git a/arch/arm/mach-mvebu/include/mach/cpu.h b/arch/arm/mach-mvebu/include/mach/cpu.h
index c3f8ad85065..a58a0d706de 100644
--- a/arch/arm/mach-mvebu/include/mach/cpu.h
+++ b/arch/arm/mach-mvebu/include/mach/cpu.h
@@ -15,6 +15,7 @@ 
 #define MVEBU_REG_PCIE_DEVID		(MVEBU_REG_PCIE_BASE + 0x00)
 #define MVEBU_REG_PCIE_REVID		(MVEBU_REG_PCIE_BASE + 0x08)
 
+#include <asm/types.h>
 enum memory_bank {
 	BANK0,
 	BANK1,
diff --git a/arch/arm/mach-mvebu/include/mach/efuse.h b/arch/arm/mach-mvebu/include/mach/efuse.h
index bbc5844d849..c965b62dcd7 100644
--- a/arch/arm/mach-mvebu/include/mach/efuse.h
+++ b/arch/arm/mach-mvebu/include/mach/efuse.h
@@ -7,6 +7,7 @@ 
 #define _MVEBU_EFUSE_H
 
 #include <common.h>
+#include <asm/types.h>
 
 struct efuse_val {
 	union {
diff --git a/arch/arm/mach-mvebu/mbus.c b/arch/arm/mach-mvebu/mbus.c
index e754f122b1c..cd51e38aed6 100644
--- a/arch/arm/mach-mvebu/mbus.c
+++ b/arch/arm/mach-mvebu/mbus.c
@@ -30,6 +30,8 @@ 
  * This driver:
  *
  * - Reads out the SDRAM address decoding windows at initialization
+#include <compiler.h>
+#include <linux/types.h>
  *   time, and fills the mbus_dram_info structure with these
  *   informations. The exported function mv_mbus_dram_info() allow
  *   device drivers to get those informations related to the SDRAM
diff --git a/arch/arm/mach-mvebu/serdes/a38x/ctrl_pex.c b/arch/arm/mach-mvebu/serdes/a38x/ctrl_pex.c
index adef3331a7c..4768d0537d7 100644
--- a/arch/arm/mach-mvebu/serdes/a38x/ctrl_pex.c
+++ b/arch/arm/mach-mvebu/serdes/a38x/ctrl_pex.c
@@ -4,10 +4,12 @@ 
  */
 
 #include <common.h>
+#include <compiler.h>
 #include <spl.h>
 #include <asm/io.h>
 #include <asm/arch/cpu.h>
 #include <asm/arch/soc.h>
+#include <asm/types.h>
 #include <linux/bitops.h>
 #include <linux/delay.h>
 
diff --git a/arch/arm/mach-mvebu/serdes/a38x/high_speed_env_spec-38x.c b/arch/arm/mach-mvebu/serdes/a38x/high_speed_env_spec-38x.c
index 98354da9b27..b774e62f856 100644
--- a/arch/arm/mach-mvebu/serdes/a38x/high_speed_env_spec-38x.c
+++ b/arch/arm/mach-mvebu/serdes/a38x/high_speed_env_spec-38x.c
@@ -9,6 +9,7 @@ 
 #include <asm/io.h>
 #include <asm/arch/cpu.h>
 #include <asm/arch/soc.h>
+#include <asm/types.h>
 
 #include "high_speed_env_spec.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 e4bec786429..5457868c18e 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
@@ -9,6 +9,7 @@ 
 #include <asm/io.h>
 #include <asm/arch/cpu.h>
 #include <asm/arch/soc.h>
+#include <asm/types.h>
 #include <linux/delay.h>
 
 #include "high_speed_env_spec.h"
diff --git a/arch/arm/mach-mvebu/serdes/a38x/seq_exec.c b/arch/arm/mach-mvebu/serdes/a38x/seq_exec.c
index a8f491b5b41..d4157b1ea72 100644
--- a/arch/arm/mach-mvebu/serdes/a38x/seq_exec.c
+++ b/arch/arm/mach-mvebu/serdes/a38x/seq_exec.c
@@ -9,6 +9,7 @@ 
 #include <asm/io.h>
 #include <asm/arch/cpu.h>
 #include <asm/arch/soc.h>
+#include <asm/types.h>
 #include <linux/delay.h>
 
 #include "seq_exec.h"
diff --git a/arch/arm/mach-mvebu/serdes/a38x/seq_exec.h b/arch/arm/mach-mvebu/serdes/a38x/seq_exec.h
index fe0cb8f75df..71b3a75fb83 100644
--- a/arch/arm/mach-mvebu/serdes/a38x/seq_exec.h
+++ b/arch/arm/mach-mvebu/serdes/a38x/seq_exec.h
@@ -6,6 +6,7 @@ 
 #ifndef _SEQ_EXEC_H
 #define _SEQ_EXEC_H
 
+#include <asm/types.h>
 #define NA			0xff
 #define DEFAULT_PARAM		0
 #define MV_BOARD_TCLK_ERROR	0xffffffff
diff --git a/arch/arm/mach-mvebu/serdes/a38x/sys_env_lib.c b/arch/arm/mach-mvebu/serdes/a38x/sys_env_lib.c
index 1be86bc4ae1..71a1e61f382 100644
--- a/arch/arm/mach-mvebu/serdes/a38x/sys_env_lib.c
+++ b/arch/arm/mach-mvebu/serdes/a38x/sys_env_lib.c
@@ -9,6 +9,7 @@ 
 #include <asm/io.h>
 #include <asm/arch/cpu.h>
 #include <asm/arch/soc.h>
+#include <asm/types.h>
 
 #include "seq_exec.h"
 #include "sys_env_lib.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 3ebda4ec684..85f4b90706e 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
@@ -4,11 +4,13 @@ 
  */
 
 #include <common.h>
+#include <compiler.h>
 #include <i2c.h>
 #include <spl.h>
 #include <asm/io.h>
 #include <asm/arch/cpu.h>
 #include <asm/arch/soc.h>
+#include <asm/types.h>
 #include <linux/delay.h>
 #include <linux/string.h>
 
diff --git a/arch/arm/mach-mvebu/serdes/axp/high_speed_env_spec.c b/arch/arm/mach-mvebu/serdes/axp/high_speed_env_spec.c
index 539d237623a..b4a69374b43 100644
--- a/arch/arm/mach-mvebu/serdes/axp/high_speed_env_spec.c
+++ b/arch/arm/mach-mvebu/serdes/axp/high_speed_env_spec.c
@@ -8,6 +8,7 @@ 
 #include <asm/io.h>
 #include <asm/arch/cpu.h>
 #include <asm/arch/soc.h>
+#include <asm/types.h>
 
 #include "high_speed_env_spec.h"
 
diff --git a/arch/arm/mach-mvebu/spl.c b/arch/arm/mach-mvebu/spl.c
index 16ebb7a59e5..b97401c26ac 100644
--- a/arch/arm/mach-mvebu/spl.c
+++ b/arch/arm/mach-mvebu/spl.c
@@ -15,6 +15,7 @@ 
 #include <asm/io.h>
 #include <asm/arch/cpu.h>
 #include <asm/arch/soc.h>
+#include <linux/types.h>
 
 static u32 get_boot_device(void)
 {
diff --git a/arch/arm/mach-nexell/clock.c b/arch/arm/mach-nexell/clock.c
index cd66248cd65..56e2540fdd8 100644
--- a/arch/arm/mach-nexell/clock.c
+++ b/arch/arm/mach-nexell/clock.c
@@ -6,7 +6,9 @@ 
 
 #include <common.h>
 #include <command.h>
+#include <compiler.h>
 #include <vsprintf.h>
+#include <asm/types.h>
 #include <linux/err.h>
 #include <asm/io.h>
 #include <asm/arch/nexell.h>
diff --git a/arch/arm/mach-nexell/cmd_boot_linux.c b/arch/arm/mach-nexell/cmd_boot_linux.c
index f2dedfe1625..03815a9c09c 100644
--- a/arch/arm/mach-nexell/cmd_boot_linux.c
+++ b/arch/arm/mach-nexell/cmd_boot_linux.c
@@ -11,6 +11,7 @@ 
 #include <errno.h>
 #include <image.h>
 #include <fdt_support.h>
+#include <linux/types.h>
 
 #if !defined(CONFIG_SPL_BUILD) || defined(CONFIG_SPL_CLI_FRAMEWORK)
 
diff --git a/arch/arm/mach-nexell/include/mach/display.h b/arch/arm/mach-nexell/include/mach/display.h
index b167e63a5a4..192341278b1 100644
--- a/arch/arm/mach-nexell/include/mach/display.h
+++ b/arch/arm/mach-nexell/include/mach/display.h
@@ -60,6 +60,7 @@ 
 #define	DPC_PADCLKSEL_VCLK2		1	/* VCLK2 */
 
 /* display sync info for DPC */
+#include <linux/types.h>
 struct dp_sync_info {
 	int interlace;
 	int h_active_len;
diff --git a/arch/arm/mach-nexell/include/mach/display_dev.h b/arch/arm/mach-nexell/include/mach/display_dev.h
index 77eb614768c..ed5b1a641ee 100644
--- a/arch/arm/mach-nexell/include/mach/display_dev.h
+++ b/arch/arm/mach-nexell/include/mach/display_dev.h
@@ -14,6 +14,7 @@ 
 #include <lcd.h>
 #endif
 
+#include <linux/types.h>
 struct nx_display_dev {
 #if defined CONFIG_VIDEO || defined CONFIG_DM_VIDEO
 	GraphicDevice graphic_device;
diff --git a/arch/arm/mach-nexell/include/mach/mipi_display.h b/arch/arm/mach-nexell/include/mach/mipi_display.h
index f3fdec64647..a1cfde27388 100644
--- a/arch/arm/mach-nexell/include/mach/mipi_display.h
+++ b/arch/arm/mach-nexell/include/mach/mipi_display.h
@@ -12,6 +12,7 @@ 
 #define MIPI_DISPLAY_H
 
 /* MIPI DSI Processor-to-Peripheral transaction types */
+#include <linux/types.h>
 enum {
 	MIPI_DSI_V_SYNC_START				= 0x01,
 	MIPI_DSI_V_SYNC_END				= 0x11,
diff --git a/arch/arm/mach-nexell/include/mach/reset.h b/arch/arm/mach-nexell/include/mach/reset.h
index e1301d4e53d..a533e42fa03 100644
--- a/arch/arm/mach-nexell/include/mach/reset.h
+++ b/arch/arm/mach-nexell/include/mach/reset.h
@@ -7,6 +7,7 @@ 
 #ifndef __NEXELL_RESET__
 #define __NEXELL_RESET__
 
+#include <asm/types.h>
 #define NUMBER_OF_RESET_MODULE_PIN      69
 
 enum rstcon {
diff --git a/arch/arm/mach-nexell/include/mach/sec_reg.h b/arch/arm/mach-nexell/include/mach/sec_reg.h
index e3ae5ac1bb4..f8396c460fd 100644
--- a/arch/arm/mach-nexell/include/mach/sec_reg.h
+++ b/arch/arm/mach-nexell/include/mach/sec_reg.h
@@ -4,6 +4,7 @@ 
  * Youngbok, Park <park@nexell.co.kr>
  */
 
+#include <compiler.h>
 #define NEXELL_L2C_SEC_ID	0
 #define NEXELL_MALI_SEC_ID	2
 #define NEXELL_MIPI_SEC_ID	4
diff --git a/arch/arm/mach-nexell/include/mach/tieoff.h b/arch/arm/mach-nexell/include/mach/tieoff.h
index 70e9652b6dc..598ffdd1801 100644
--- a/arch/arm/mach-nexell/include/mach/tieoff.h
+++ b/arch/arm/mach-nexell/include/mach/tieoff.h
@@ -7,6 +7,7 @@ 
 #ifndef _NEXELL_TIEOFF_H
 #define _NEXELL_TIEOFF_H
 
+#include <asm/types.h>
 void nx_tieoff_set(u32 tieoff_index, u32 tieoff_value);
 u32 nx_tieoff_get(u32 tieoff_index);
 
diff --git a/arch/arm/mach-nexell/nx_sec_reg.c b/arch/arm/mach-nexell/nx_sec_reg.c
index 3d3dd9fd8b6..09d2eed48ae 100644
--- a/arch/arm/mach-nexell/nx_sec_reg.c
+++ b/arch/arm/mach-nexell/nx_sec_reg.c
@@ -4,6 +4,7 @@ 
  * Youngbok, Park <park@nexell.co.kr>
  */
 
+#include <compiler.h>
 #include <linux/types.h>
 #include <asm/io.h>
 #include <asm/arch/nexell.h>
diff --git a/arch/arm/mach-nexell/reset.c b/arch/arm/mach-nexell/reset.c
index 1f732a3d373..97155d8ffd0 100644
--- a/arch/arm/mach-nexell/reset.c
+++ b/arch/arm/mach-nexell/reset.c
@@ -12,6 +12,7 @@ 
 #include <asm/io.h>
 #include <asm/arch/nexell.h>
 #include <asm/arch/reset.h>
+#include <asm/types.h>
 
 struct	nx_rstcon_registerset {
 	u32	regrst[(NUMBER_OF_RESET_MODULE_PIN + 31) >> 5];
diff --git a/arch/arm/mach-nexell/tieoff.c b/arch/arm/mach-nexell/tieoff.c
index 5a4744c296a..2c2db9f6ce6 100644
--- a/arch/arm/mach-nexell/tieoff.c
+++ b/arch/arm/mach-nexell/tieoff.c
@@ -5,12 +5,14 @@ 
  */
 
 #include <common.h>
+#include <compiler.h>
 #include <asm/arch/nexell.h>
 #include <asm/arch/clk.h>
 #include <asm/arch/reset.h>
 #include <asm/arch/nx_gpio.h>
 #include <asm/arch/tieoff.h>
 #include <asm/arch/sec_reg.h>
+#include <asm/types.h>
 
 #define	NX_PIN_FN_SIZE	4
 #define TIEOFF_REG_NUM 33
diff --git a/arch/arm/mach-nexell/timer.c b/arch/arm/mach-nexell/timer.c
index 2f98bd7fa4a..1119ce74645 100644
--- a/arch/arm/mach-nexell/timer.c
+++ b/arch/arm/mach-nexell/timer.c
@@ -5,8 +5,10 @@ 
  */
 
 #include <common.h>
+#include <compiler.h>
 #include <log.h>
 #include <linux/kernel.h>
+#include <linux/types.h>
 
 #include <asm/io.h>
 #include <asm/arch/nexell.h>
diff --git a/arch/arm/mach-omap2/abb.c b/arch/arm/mach-omap2/abb.c
index 24775bdc41c..c3487f83b75 100644
--- a/arch/arm/mach-omap2/abb.c
+++ b/arch/arm/mach-omap2/abb.c
@@ -9,11 +9,13 @@ 
  */
 
 #include <common.h>
+#include <compiler.h>
 #include <stdio.h>
 #include <asm/omap_common.h>
 #include <asm/arch/clock.h>
 #include <asm/io.h>
 #include <asm/arch/sys_proto.h>
+#include <asm/types.h>
 #include <linux/bitops.h>
 #include <linux/kernel.h>
 
diff --git a/arch/arm/mach-omap2/am33xx/board.c b/arch/arm/mach-omap2/am33xx/board.c
index 0b0372e22ca..ce399663191 100644
--- a/arch/arm/mach-omap2/am33xx/board.c
+++ b/arch/arm/mach-omap2/am33xx/board.c
@@ -8,6 +8,7 @@ 
  */
 
 #include <common.h>
+#include <compiler.h>
 #include <dm.h>
 #include <debug_uart.h>
 #include <errno.h>
@@ -38,6 +39,7 @@ 
 #include <linux/errno.h>
 #include <linux/compiler.h>
 #include <linux/printk.h>
+#include <linux/types.h>
 #include <linux/usb/ch9.h>
 #include <linux/usb/gadget.h>
 #include <linux/usb/musb.h>
diff --git a/arch/arm/mach-omap2/am33xx/clk_synthesizer.c b/arch/arm/mach-omap2/am33xx/clk_synthesizer.c
index b2493d8179b..ac97bfa69c0 100644
--- a/arch/arm/mach-omap2/am33xx/clk_synthesizer.c
+++ b/arch/arm/mach-omap2/am33xx/clk_synthesizer.c
@@ -12,6 +12,7 @@ 
 #include <stdio.h>
 #include <asm/arch/clk_synthesizer.h>
 #include <i2c.h>
+#include <asm/types.h>
 
 /**
  * clk_synthesizer_reg_read - Read register from synthesizer.
diff --git a/arch/arm/mach-omap2/am33xx/clock.c b/arch/arm/mach-omap2/am33xx/clock.c
index 4339817b556..d665da8856f 100644
--- a/arch/arm/mach-omap2/am33xx/clock.c
+++ b/arch/arm/mach-omap2/am33xx/clock.c
@@ -8,6 +8,7 @@ 
  * Copyright (C) 2013, Texas Instruments, Incorporated - http://www.ti.com/
  */
 #include <common.h>
+#include <compiler.h>
 #include <hang.h>
 #include <init.h>
 #include <log.h>
@@ -17,6 +18,7 @@ 
 #include <asm/arch/hardware.h>
 #include <asm/arch/sys_proto.h>
 #include <asm/io.h>
+#include <asm/types.h>
 
 static void setup_post_dividers(const struct dpll_regs *dpll_regs,
 			 const struct dpll_params *params)
diff --git a/arch/arm/mach-omap2/am33xx/clock_am33xx.c b/arch/arm/mach-omap2/am33xx/clock_am33xx.c
index b5136f8f46c..5a483a9e3d0 100644
--- a/arch/arm/mach-omap2/am33xx/clock_am33xx.c
+++ b/arch/arm/mach-omap2/am33xx/clock_am33xx.c
@@ -8,12 +8,14 @@ 
  */
 
 #include <common.h>
+#include <compiler.h>
 #include <stdio.h>
 #include <asm/arch/cpu.h>
 #include <asm/arch/sys_proto.h>
 #include <asm/arch/clock.h>
 #include <asm/arch/hardware.h>
 #include <asm/io.h>
+#include <asm/types.h>
 
 #define OSC	(V_OSCK/1000000)
 
diff --git a/arch/arm/mach-omap2/am33xx/clock_am43xx.c b/arch/arm/mach-omap2/am33xx/clock_am43xx.c
index b98bb9989c0..ef4b79f272d 100644
--- a/arch/arm/mach-omap2/am33xx/clock_am43xx.c
+++ b/arch/arm/mach-omap2/am33xx/clock_am43xx.c
@@ -14,6 +14,7 @@ 
 #include <asm/arch/hardware.h>
 #include <asm/arch/sys_proto.h>
 #include <asm/io.h>
+#include <asm/types.h>
 
 struct cm_perpll *const cmper = (struct cm_perpll *)CM_PER;
 struct cm_wkuppll *const cmwkup = (struct cm_wkuppll *)CM_WKUP;
diff --git a/arch/arm/mach-omap2/am33xx/clock_ti814x.c b/arch/arm/mach-omap2/am33xx/clock_ti814x.c
index 27abaff48fc..8e2c224bf7e 100644
--- a/arch/arm/mach-omap2/am33xx/clock_ti814x.c
+++ b/arch/arm/mach-omap2/am33xx/clock_ti814x.c
@@ -12,6 +12,7 @@ 
 #include <asm/arch/clock.h>
 #include <asm/arch/hardware.h>
 #include <asm/io.h>
+#include <asm/types.h>
 #include <linux/delay.h>
 
 /* PRCM */
diff --git a/arch/arm/mach-omap2/am33xx/clock_ti816x.c b/arch/arm/mach-omap2/am33xx/clock_ti816x.c
index ec4cc753812..c551a5d7cc6 100644
--- a/arch/arm/mach-omap2/am33xx/clock_ti816x.c
+++ b/arch/arm/mach-omap2/am33xx/clock_ti816x.c
@@ -27,6 +27,7 @@ 
 #include <asm/arch/clock.h>
 #include <asm/arch/hardware.h>
 #include <asm/io.h>
+#include <asm/types.h>
 #include <linux/bitops.h>
 
 #include <asm/emif.h>
diff --git a/arch/arm/mach-omap2/am33xx/ddr.c b/arch/arm/mach-omap2/am33xx/ddr.c
index 4caa2d62ab2..cb30d65bca7 100644
--- a/arch/arm/mach-omap2/am33xx/ddr.c
+++ b/arch/arm/mach-omap2/am33xx/ddr.c
@@ -13,6 +13,7 @@ 
 #include <asm/arch/sys_proto.h>
 #include <asm/io.h>
 #include <asm/emif.h>
+#include <asm/types.h>
 #include <linux/delay.h>
 
 /**
diff --git a/arch/arm/mach-omap2/am33xx/emif4.c b/arch/arm/mach-omap2/am33xx/emif4.c
index a5fdb0433dc..1d5fb534088 100644
--- a/arch/arm/mach-omap2/am33xx/emif4.c
+++ b/arch/arm/mach-omap2/am33xx/emif4.c
@@ -8,6 +8,7 @@ 
  */
 
 #include <common.h>
+#include <compiler.h>
 #include <asm/arch/cpu.h>
 #include <asm/arch/ddr_defs.h>
 #include <asm/arch/hardware.h>
diff --git a/arch/arm/mach-omap2/am33xx/mux.c b/arch/arm/mach-omap2/am33xx/mux.c
index aad3ec85569..06534cb1db4 100644
--- a/arch/arm/mach-omap2/am33xx/mux.c
+++ b/arch/arm/mach-omap2/am33xx/mux.c
@@ -14,6 +14,7 @@ 
  */
 
 #include <common.h>
+#include <compiler.h>
 #include <asm/arch/mux.h>
 #include <asm/arch/hardware.h>
 #include <asm/io.h>
diff --git a/arch/arm/mach-omap2/am33xx/sys_info.c b/arch/arm/mach-omap2/am33xx/sys_info.c
index 86078f856ed..ba81baa914c 100644
--- a/arch/arm/mach-omap2/am33xx/sys_info.c
+++ b/arch/arm/mach-omap2/am33xx/sys_info.c
@@ -19,6 +19,7 @@ 
 #include <asm/arch/cpu.h>
 #include <asm/arch/clock.h>
 #include <linux/kernel.h>
+#include <linux/types.h>
 #include <power/tps65910.h>
 #include <linux/compiler.h>
 
diff --git a/arch/arm/mach-omap2/boot-common.c b/arch/arm/mach-omap2/boot-common.c
index b8fba785a96..8049f786c3f 100644
--- a/arch/arm/mach-omap2/boot-common.c
+++ b/arch/arm/mach-omap2/boot-common.c
@@ -9,6 +9,7 @@ 
 
 #include <common.h>
 #include <ahci.h>
+#include <compiler.h>
 #include <log.h>
 #include <spl.h>
 #include <asm/global_data.h>
@@ -19,6 +20,7 @@ 
 #include <watchdog.h>
 #include <scsi.h>
 #include <i2c.h>
+#include <asm/types.h>
 #include <asm/u-boot.h>
 
 DECLARE_GLOBAL_DATA_PTR;
diff --git a/arch/arm/mach-omap2/clocks-common.c b/arch/arm/mach-omap2/clocks-common.c
index a151358f6e0..bf31d893c57 100644
--- a/arch/arm/mach-omap2/clocks-common.c
+++ b/arch/arm/mach-omap2/clocks-common.c
@@ -13,6 +13,7 @@ 
  *	Rajendra Nayak <rnayak@ti.com>
  */
 #include <common.h>
+#include <compiler.h>
 #include <hang.h>
 #include <i2c.h>
 #include <init.h>
@@ -22,6 +23,7 @@ 
 #include <asm/gpio.h>
 #include <asm/arch/clock.h>
 #include <asm/arch/sys_proto.h>
+#include <asm/types.h>
 #include <asm/utils.h>
 #include <asm/omap_gpio.h>
 #include <asm/emif.h>
diff --git a/arch/arm/mach-omap2/emif-common.c b/arch/arm/mach-omap2/emif-common.c
index 15c13463f90..bfd2c158486 100644
--- a/arch/arm/mach-omap2/emif-common.c
+++ b/arch/arm/mach-omap2/emif-common.c
@@ -9,6 +9,7 @@ 
  */
 
 #include <common.h>
+#include <compiler.h>
 #include <hang.h>
 #include <init.h>
 #include <log.h>
@@ -20,6 +21,7 @@ 
 #include <asm/arch/sys_proto.h>
 #include <asm/omap_common.h>
 #include <asm/omap_sec_common.h>
+#include <asm/types.h>
 #include <asm/utils.h>
 #include <linux/compiler.h>
 #include <asm/ti-common/ti-edma3.h>
diff --git a/arch/arm/mach-omap2/fdt-common.c b/arch/arm/mach-omap2/fdt-common.c
index e1d3a72ec6d..4efccd0d7fc 100644
--- a/arch/arm/mach-omap2/fdt-common.c
+++ b/arch/arm/mach-omap2/fdt-common.c
@@ -6,6 +6,7 @@ 
 #include <common.h>
 #include <log.h>
 #include <stdio.h>
+#include <asm/types.h>
 #include <asm/u-boot.h>
 #include <linux/libfdt.h>
 #include <fdt_support.h>
diff --git a/arch/arm/mach-omap2/hwinit-common.c b/arch/arm/mach-omap2/hwinit-common.c
index c7e912c2da0..d3fb5865022 100644
--- a/arch/arm/mach-omap2/hwinit-common.c
+++ b/arch/arm/mach-omap2/hwinit-common.c
@@ -11,6 +11,7 @@ 
  *	Steve Sakoman	<steve@sakoman.com>
  */
 #include <common.h>
+#include <compiler.h>
 #include <debug_uart.h>
 #include <fdtdec.h>
 #include <init.h>
@@ -25,6 +26,7 @@ 
 #include <linux/compiler.h>
 #include <asm/system.h>
 #include <dm/root.h>
+#include <linux/types.h>
 
 DECLARE_GLOBAL_DATA_PTR;
 
diff --git a/arch/arm/mach-omap2/mem-common.c b/arch/arm/mach-omap2/mem-common.c
index 50d5f3e9eba..2a15692f681 100644
--- a/arch/arm/mach-omap2/mem-common.c
+++ b/arch/arm/mach-omap2/mem-common.c
@@ -18,6 +18,7 @@ 
 #include <asm/arch/mem.h>
 #include <asm/arch/sys_proto.h>
 #include <command.h>
+#include <asm/types.h>
 #include <linux/mtd/omap_gpmc.h>
 #include <jffs2/load_kernel.h>
 
diff --git a/arch/arm/mach-omap2/omap-cache.c b/arch/arm/mach-omap2/omap-cache.c
index 5034404801a..a07e138b110 100644
--- a/arch/arm/mach-omap2/omap-cache.c
+++ b/arch/arm/mach-omap2/omap-cache.c
@@ -16,6 +16,7 @@ 
 #include <log.h>
 #include <asm/cache.h>
 #include <asm/global_data.h>
+#include <asm/types.h>
 #include <asm/u-boot.h>
 
 DECLARE_GLOBAL_DATA_PTR;
diff --git a/arch/arm/mach-omap2/omap3/am35x_musb.c b/arch/arm/mach-omap2/omap3/am35x_musb.c
index 23b55d8d705..902caa1b6b9 100644
--- a/arch/arm/mach-omap2/omap3/am35x_musb.c
+++ b/arch/arm/mach-omap2/omap3/am35x_musb.c
@@ -15,6 +15,7 @@ 
 #include <time.h>
 #include <asm/io.h>
 #include <asm/arch/am35x_def.h>
+#include <asm/types.h>
 
 void am35x_musb_reset(struct udevice *dev)
 {
diff --git a/arch/arm/mach-omap2/omap3/board.c b/arch/arm/mach-omap2/omap3/board.c
index 272a4c9ed95..7ab738f9cb2 100644
--- a/arch/arm/mach-omap2/omap3/board.c
+++ b/arch/arm/mach-omap2/omap3/board.c
@@ -17,6 +17,7 @@ 
  */
 #include <common.h>
 #include <command.h>
+#include <compiler.h>
 #include <dm.h>
 #include <init.h>
 #include <spl.h>
@@ -31,6 +32,7 @@ 
 #include <asm/u-boot.h>
 #include <linux/compiler.h>
 #include <linux/string.h>
+#include <linux/types.h>
 
 /* Declarations */
 extern omap3_sysinfo sysinfo;
diff --git a/arch/arm/mach-omap2/omap3/boot.c b/arch/arm/mach-omap2/omap3/boot.c
index ea26115b711..5544b87894a 100644
--- a/arch/arm/mach-omap2/omap3/boot.c
+++ b/arch/arm/mach-omap2/omap3/boot.c
@@ -9,6 +9,7 @@ 
 #include <asm/io.h>
 #include <asm/arch/sys_proto.h>
 #include <spl.h>
+#include <asm/types.h>
 
 static u32 boot_devices[] = {
 	BOOT_DEVICE_ONENAND,
diff --git a/arch/arm/mach-omap2/omap3/clock.c b/arch/arm/mach-omap2/omap3/clock.c
index 71f73492c6c..2cb751269cc 100644
--- a/arch/arm/mach-omap2/omap3/clock.c
+++ b/arch/arm/mach-omap2/omap3/clock.c
@@ -18,6 +18,7 @@ 
 #include <asm/arch/mem.h>
 #include <asm/arch/sys_proto.h>
 #include <command.h>
+#include <asm/types.h>
 
 /******************************************************************************
  * get_sys_clk_speed() - determine reference oscillator speed
diff --git a/arch/arm/mach-omap2/omap3/emac.c b/arch/arm/mach-omap2/omap3/emac.c
index 4c102dadf42..d96acfed2e5 100644
--- a/arch/arm/mach-omap2/omap3/emac.c
+++ b/arch/arm/mach-omap2/omap3/emac.c
@@ -10,6 +10,7 @@ 
 #include <net.h>
 #include <asm/io.h>
 #include <asm/arch/am35x_def.h>
+#include <asm/types.h>
 #include <asm/u-boot.h>
 
 /*
diff --git a/arch/arm/mach-omap2/omap3/emif4.c b/arch/arm/mach-omap2/omap3/emif4.c
index dd99aeb63bd..6c18a77c100 100644
--- a/arch/arm/mach-omap2/omap3/emif4.c
+++ b/arch/arm/mach-omap2/omap3/emif4.c
@@ -16,6 +16,7 @@ 
 #include <asm/arch/mem.h>
 #include <asm/arch/sys_proto.h>
 #include <asm/arch/emif4.h>
+#include <asm/types.h>
 #include <asm/u-boot.h>
 
 DECLARE_GLOBAL_DATA_PTR;
diff --git a/arch/arm/mach-omap2/omap3/sdrc.c b/arch/arm/mach-omap2/omap3/sdrc.c
index 78456f03f98..f24a5525aa5 100644
--- a/arch/arm/mach-omap2/omap3/sdrc.c
+++ b/arch/arm/mach-omap2/omap3/sdrc.c
@@ -27,6 +27,7 @@ 
 #include <asm/io.h>
 #include <asm/arch/mem.h>
 #include <asm/arch/sys_proto.h>
+#include <asm/types.h>
 #include <asm/u-boot.h>
 
 DECLARE_GLOBAL_DATA_PTR;
diff --git a/arch/arm/mach-omap2/omap3/sys_info.c b/arch/arm/mach-omap2/omap3/sys_info.c
index 5ed2c6bdeee..526d3d60dba 100644
--- a/arch/arm/mach-omap2/omap3/sys_info.c
+++ b/arch/arm/mach-omap2/omap3/sys_info.c
@@ -12,12 +12,14 @@ 
  */
 
 #include <common.h>
+#include <compiler.h>
 #include <stdio.h>
 #include <asm/io.h>
 #include <asm/arch/mem.h>	/* get mem tables */
 #include <asm/arch/sys_proto.h>
 #include <asm/bootm.h>
 #include <asm/omap_common.h>
+#include <asm/types.h>
 
 #include <i2c.h>
 #include <linux/compiler.h>
diff --git a/arch/arm/mach-omap2/omap4/boot.c b/arch/arm/mach-omap2/omap4/boot.c
index 90b5380ae39..95f57366b52 100644
--- a/arch/arm/mach-omap2/omap4/boot.c
+++ b/arch/arm/mach-omap2/omap4/boot.c
@@ -10,6 +10,7 @@ 
 #include <asm/omap_common.h>
 #include <asm/arch/sys_proto.h>
 #include <spl.h>
+#include <asm/types.h>
 
 static u32 boot_devices[] = {
 	BOOT_DEVICE_MMC2,
diff --git a/arch/arm/mach-omap2/omap4/emif.c b/arch/arm/mach-omap2/omap4/emif.c
index 35a51645be7..6fe3fa4e40a 100644
--- a/arch/arm/mach-omap2/omap4/emif.c
+++ b/arch/arm/mach-omap2/omap4/emif.c
@@ -11,6 +11,7 @@ 
 #include <common.h>
 #include <asm/emif.h>
 #include <asm/arch/sys_proto.h>
+#include <asm/types.h>
 #include <asm/utils.h>
 
 #ifndef CONFIG_SYS_EMIF_PRECALCULATED_TIMING_REGS
diff --git a/arch/arm/mach-omap2/omap4/hw_data.c b/arch/arm/mach-omap2/omap4/hw_data.c
index 5f15e086c64..91608d9fed9 100644
--- a/arch/arm/mach-omap2/omap4/hw_data.c
+++ b/arch/arm/mach-omap2/omap4/hw_data.c
@@ -16,6 +16,7 @@ 
 #include <asm/arch/clock.h>
 #include <asm/omap_gpio.h>
 #include <asm/io.h>
+#include <asm/types.h>
 
 struct prcm_regs const **prcm =
 			(struct prcm_regs const **) OMAP_SRAM_SCRATCH_PRCM_PTR;
diff --git a/arch/arm/mach-omap2/omap4/hwinit.c b/arch/arm/mach-omap2/omap4/hwinit.c
index 27dfa9142dc..efb4d6a8048 100644
--- a/arch/arm/mach-omap2/omap4/hwinit.c
+++ b/arch/arm/mach-omap2/omap4/hwinit.c
@@ -19,6 +19,7 @@ 
 #include <asm/emif.h>
 #include <asm/arch/gpio.h>
 #include <asm/omap_common.h>
+#include <linux/types.h>
 
 u32 *const omap_si_rev = (u32 *)OMAP_SRAM_SCRATCH_OMAP_REV;
 
diff --git a/arch/arm/mach-omap2/omap4/sdram_elpida.c b/arch/arm/mach-omap2/omap4/sdram_elpida.c
index 2a18cf0215d..a775494e407 100644
--- a/arch/arm/mach-omap2/omap4/sdram_elpida.c
+++ b/arch/arm/mach-omap2/omap4/sdram_elpida.c
@@ -10,8 +10,10 @@ 
  */
 
 #include <common.h>
+#include <compiler.h>
 #include <asm/emif.h>
 #include <asm/arch/sys_proto.h>
+#include <asm/types.h>
 
 /*
  * This file provides details of the LPDDR2 SDRAM parts used on OMAP4430
diff --git a/arch/arm/mach-omap2/omap5/abb.c b/arch/arm/mach-omap2/omap5/abb.c
index 2f9f8e65d03..730ab832db5 100644
--- a/arch/arm/mach-omap2/omap5/abb.c
+++ b/arch/arm/mach-omap2/omap5/abb.c
@@ -11,6 +11,7 @@ 
 #include <common.h>
 #include <asm/omap_common.h>
 #include <asm/io.h>
+#include <asm/types.h>
 #include <linux/bitops.h>
 
 /*
diff --git a/arch/arm/mach-omap2/omap5/boot.c b/arch/arm/mach-omap2/omap5/boot.c
index 15d6836c6ea..bbc9a90fe69 100644
--- a/arch/arm/mach-omap2/omap5/boot.c
+++ b/arch/arm/mach-omap2/omap5/boot.c
@@ -9,6 +9,7 @@ 
 #include <asm/io.h>
 #include <asm/omap_common.h>
 #include <spl.h>
+#include <asm/types.h>
 
 static u32 boot_devices[] = {
 #if defined(CONFIG_DRA7XX)
diff --git a/arch/arm/mach-omap2/omap5/dra7xx_iodelay.c b/arch/arm/mach-omap2/omap5/dra7xx_iodelay.c
index c5d51aabfc9..509f6617c59 100644
--- a/arch/arm/mach-omap2/omap5/dra7xx_iodelay.c
+++ b/arch/arm/mach-omap2/omap5/dra7xx_iodelay.c
@@ -10,6 +10,7 @@ 
 #include <hang.h>
 #include <log.h>
 #include <stdio.h>
+#include <asm/types.h>
 #include <asm/utils.h>
 #include <asm/arch/dra7xx_iodelay.h>
 #include <asm/arch/omap.h>
diff --git a/arch/arm/mach-omap2/omap5/emif.c b/arch/arm/mach-omap2/omap5/emif.c
index 2de36b6feca..5348921c060 100644
--- a/arch/arm/mach-omap2/omap5/emif.c
+++ b/arch/arm/mach-omap2/omap5/emif.c
@@ -12,6 +12,7 @@ 
 #include <log.h>
 #include <asm/emif.h>
 #include <asm/arch/sys_proto.h>
+#include <asm/types.h>
 #include <asm/utils.h>
 
 #ifndef CONFIG_SYS_EMIF_PRECALCULATED_TIMING_REGS
diff --git a/arch/arm/mach-omap2/omap5/fdt.c b/arch/arm/mach-omap2/omap5/fdt.c
index af9717801e4..c1321f6dc1f 100644
--- a/arch/arm/mach-omap2/omap5/fdt.c
+++ b/arch/arm/mach-omap2/omap5/fdt.c
@@ -12,6 +12,7 @@ 
 #include <linux/libfdt.h>
 #include <fdt_support.h>
 #include <malloc.h>
+#include <linux/types.h>
 
 #include <asm/omap_common.h>
 #include <asm/arch-omap5/sys_proto.h>
diff --git a/arch/arm/mach-omap2/omap5/hw_data.c b/arch/arm/mach-omap2/omap5/hw_data.c
index d9c447c0e8d..171155ddef6 100644
--- a/arch/arm/mach-omap2/omap5/hw_data.c
+++ b/arch/arm/mach-omap2/omap5/hw_data.c
@@ -9,6 +9,7 @@ 
  * Sricharan R <r.sricharan@ti.com>
  */
 #include <common.h>
+#include <compiler.h>
 #include <palmas.h>
 #include <stdio.h>
 #include <asm/arch/omap.h>
@@ -18,6 +19,7 @@ 
 #include <asm/omap_gpio.h>
 #include <asm/io.h>
 #include <asm/emif.h>
+#include <asm/types.h>
 
 struct prcm_regs const **prcm =
 			(struct prcm_regs const **) OMAP_SRAM_SCRATCH_PRCM_PTR;
diff --git a/arch/arm/mach-omap2/omap5/hwinit.c b/arch/arm/mach-omap2/omap5/hwinit.c
index 47ac8656bfe..9773bc29e7d 100644
--- a/arch/arm/mach-omap2/omap5/hwinit.c
+++ b/arch/arm/mach-omap2/omap5/hwinit.c
@@ -12,6 +12,7 @@ 
  *	Sricharan	<r.sricharan@ti.com>
  */
 #include <common.h>
+#include <compiler.h>
 #include <cpu_func.h>
 #include <palmas.h>
 #include <asm/armv7.h>
@@ -24,6 +25,7 @@ 
 #include <asm/arch/gpio.h>
 #include <asm/emif.h>
 #include <asm/omap_common.h>
+#include <linux/types.h>
 
 u32 *const omap_si_rev = (u32 *)OMAP_SRAM_SCRATCH_OMAP_REV;
 
diff --git a/arch/arm/mach-omap2/omap5/prcm-regs.c b/arch/arm/mach-omap2/omap5/prcm-regs.c
index b5baebc0692..3e8086dddb1 100644
--- a/arch/arm/mach-omap2/omap5/prcm-regs.c
+++ b/arch/arm/mach-omap2/omap5/prcm-regs.c
@@ -11,6 +11,7 @@ 
 
 #include <asm/omap_common.h>
 #include <asm/io.h>
+#include <asm/types.h>
 
 struct prcm_regs const omap5_es1_prcm = {
 	/* cm1.ckgen */
diff --git a/arch/arm/mach-omap2/omap5/sdram.c b/arch/arm/mach-omap2/omap5/sdram.c
index f6c8eb9f1bd..4306ea3a63f 100644
--- a/arch/arm/mach-omap2/omap5/sdram.c
+++ b/arch/arm/mach-omap2/omap5/sdram.c
@@ -11,9 +11,11 @@ 
  */
 
 #include <common.h>
+#include <compiler.h>
 #include <stdio.h>
 #include <asm/emif.h>
 #include <asm/arch/sys_proto.h>
+#include <asm/types.h>
 #include <linux/kernel.h>
 
 /*
diff --git a/arch/arm/mach-omap2/pipe3-phy.c b/arch/arm/mach-omap2/pipe3-phy.c
index fb64961db4b..f6e50f92e9f 100644
--- a/arch/arm/mach-omap2/pipe3-phy.c
+++ b/arch/arm/mach-omap2/pipe3-phy.c
@@ -7,11 +7,13 @@ 
  */
 
 #include <common.h>
+#include <compiler.h>
 #include <sata.h>
 #include <stdio.h>
 #include <asm/arch/clock.h>
 #include <asm/arch/sys_proto.h>
 #include <asm/io.h>
+#include <asm/types.h>
 #include <linux/bitops.h>
 #include <linux/delay.h>
 #include <linux/errno.h>
diff --git a/arch/arm/mach-omap2/pipe3-phy.h b/arch/arm/mach-omap2/pipe3-phy.h
index 182bdcd4c81..3999d7b60f5 100644
--- a/arch/arm/mach-omap2/pipe3-phy.h
+++ b/arch/arm/mach-omap2/pipe3-phy.h
@@ -9,6 +9,8 @@ 
 #ifndef __OMAP_PIPE3_PHY_H
 #define __OMAP_PIPE3_PHY_H
 
+#include <compiler.h>
+#include <asm/types.h>
 struct pipe3_dpll_params {
 	u16     m;
 	u8      n;
diff --git a/arch/arm/mach-omap2/reset.c b/arch/arm/mach-omap2/reset.c
index 2bbd5fcb9b8..194e01163aa 100644
--- a/arch/arm/mach-omap2/reset.c
+++ b/arch/arm/mach-omap2/reset.c
@@ -8,10 +8,12 @@ 
  *
  * Sricharan R <r.sricharan@ti.com>
  */
+#include <compiler.h>
 #include <config.h>
 #include <cpu_func.h>
 #include <asm/io.h>
 #include <asm/arch/cpu.h>
+#include <asm/types.h>
 #include <linux/compiler.h>
 
 void __weak reset_cpu(unsigned long ignored)
diff --git a/arch/arm/mach-omap2/sata.c b/arch/arm/mach-omap2/sata.c
index 4672dc534c5..636cfb42ace 100644
--- a/arch/arm/mach-omap2/sata.c
+++ b/arch/arm/mach-omap2/sata.c
@@ -8,11 +8,13 @@ 
 
 #include <common.h>
 #include <ahci.h>
+#include <compiler.h>
 #include <scsi.h>
 #include <asm/arch/clock.h>
 #include <asm/arch/sata.h>
 #include <sata.h>
 #include <asm/io.h>
+#include <asm/types.h>
 #include "pipe3-phy.h"
 
 static struct pipe3_dpll_map dpll_map_sata[] = {
diff --git a/arch/arm/mach-omap2/sec-common.c b/arch/arm/mach-omap2/sec-common.c
index 8dcaa1ac6c9..d0cf68e30be 100644
--- a/arch/arm/mach-omap2/sec-common.c
+++ b/arch/arm/mach-omap2/sec-common.c
@@ -24,6 +24,7 @@ 
 #include <linux/errno.h>
 #include <linux/kernel.h>
 #include <linux/string.h>
+#include <linux/types.h>
 
 #include <asm/arch/sys_proto.h>
 #include <asm/cache.h>
diff --git a/arch/arm/mach-omap2/sysinfo-common.c b/arch/arm/mach-omap2/sysinfo-common.c
index 49bc3a634fb..6bce3a1c7ce 100644
--- a/arch/arm/mach-omap2/sysinfo-common.c
+++ b/arch/arm/mach-omap2/sysinfo-common.c
@@ -9,6 +9,7 @@ 
 #include <asm/arch/omap.h>
 #include <asm/io.h>
 #include <asm/omap_common.h>
+#include <asm/types.h>
 
 /**
  * Tell if device is GP/HS/EMU/TST.
diff --git a/arch/arm/mach-omap2/timer.c b/arch/arm/mach-omap2/timer.c
index 82b10f6b248..c5565a741eb 100644
--- a/arch/arm/mach-omap2/timer.c
+++ b/arch/arm/mach-omap2/timer.c
@@ -23,6 +23,7 @@ 
 #include <asm/arch/cpu.h>
 #include <asm/arch/clock.h>
 #include <linux/delay.h>
+#include <linux/types.h>
 
 DECLARE_GLOBAL_DATA_PTR;
 
diff --git a/arch/arm/mach-omap2/utils.c b/arch/arm/mach-omap2/utils.c
index 4ee409521ef..be082cf2c97 100644
--- a/arch/arm/mach-omap2/utils.c
+++ b/arch/arm/mach-omap2/utils.c
@@ -4,6 +4,7 @@ 
  * Aneesh V <aneesh@ti.com>
  */
 #include <common.h>
+#include <compiler.h>
 #include <env.h>
 #include <part.h>
 #include <stdio.h>
@@ -11,6 +12,7 @@ 
 #include <asm/setup.h>
 #include <asm/arch/sys_proto.h>
 #include <asm/omap_common.h>
+#include <asm/types.h>
 #include <linux/printk.h>
 
 static void do_cancel_out(u32 *num, u32 *den, u32 factor)
diff --git a/arch/arm/mach-omap2/vc.c b/arch/arm/mach-omap2/vc.c
index 5888bc86752..b72c7823716 100644
--- a/arch/arm/mach-omap2/vc.c
+++ b/arch/arm/mach-omap2/vc.c
@@ -19,6 +19,7 @@ 
 #include <asm/omap_common.h>
 #include <asm/arch/sys_proto.h>
 #include <asm/arch/clock.h>
+#include <asm/types.h>
 
 /* Register defines and masks for VC IP Block */
 /* PRM_VC_CFG_I2C_MODE */
diff --git a/arch/arm/mach-orion5x/cpu.c b/arch/arm/mach-orion5x/cpu.c
index 81f3bd37ea3..f050a30d983 100644
--- a/arch/arm/mach-orion5x/cpu.c
+++ b/arch/arm/mach-orion5x/cpu.c
@@ -17,6 +17,7 @@ 
 #include <vsprintf.h>
 #include <asm/cache.h>
 #include <asm/io.h>
+#include <asm/types.h>
 #include <asm/u-boot.h>
 #include <u-boot/md5.h>
 #include <asm/arch/cpu.h>
diff --git a/arch/arm/mach-orion5x/dram.c b/arch/arm/mach-orion5x/dram.c
index 5e6f51de5c4..7d0deed662b 100644
--- a/arch/arm/mach-orion5x/dram.c
+++ b/arch/arm/mach-orion5x/dram.c
@@ -13,6 +13,7 @@ 
 #include <init.h>
 #include <asm/arch/cpu.h>
 #include <asm/global_data.h>
+#include <asm/types.h>
 #include <asm/u-boot.h>
 
 DECLARE_GLOBAL_DATA_PTR;
diff --git a/arch/arm/mach-orion5x/include/mach/cpu.h b/arch/arm/mach-orion5x/include/mach/cpu.h
index c3ff89669e4..6118f42313f 100644
--- a/arch/arm/mach-orion5x/include/mach/cpu.h
+++ b/arch/arm/mach-orion5x/include/mach/cpu.h
@@ -21,6 +21,7 @@ 
 #define ORION5XGBE_PORT_SERIAL_CONTROL1_REG(_x)	\
 		((_x ? ORION5X_EGIGA0_BASE : ORION5X_EGIGA1_BASE) + 0x44c)
 
+#include <asm/types.h>
 enum memory_bank {
 	BANK0,
 	BANK1,
diff --git a/arch/arm/mach-orion5x/timer.c b/arch/arm/mach-orion5x/timer.c
index 0adf3dcc648..3f9f0f9b625 100644
--- a/arch/arm/mach-orion5x/timer.c
+++ b/arch/arm/mach-orion5x/timer.c
@@ -13,6 +13,7 @@ 
 #include <asm/global_data.h>
 #include <asm/io.h>
 #include <linux/delay.h>
+#include <linux/types.h>
 
 #define UBOOT_CNTR	0	/* counter to use for uboot timer */
 
diff --git a/arch/arm/mach-owl/soc.c b/arch/arm/mach-owl/soc.c
index 34b05223c0c..838cc2ff573 100644
--- a/arch/arm/mach-owl/soc.c
+++ b/arch/arm/mach-owl/soc.c
@@ -17,6 +17,7 @@ 
 #include <asm/io.h>
 #include <asm/mach-types.h>
 #include <asm/psci.h>
+#include <linux/types.h>
 
 #define DMM_INTERLEAVE_PER_CH_CFG	0xe0290028
 
diff --git a/arch/arm/mach-rmobile/cpu_info-r8a7740.c b/arch/arm/mach-rmobile/cpu_info-r8a7740.c
index dcbe25f37ab..16a5a8ae29a 100644
--- a/arch/arm/mach-rmobile/cpu_info-r8a7740.c
+++ b/arch/arm/mach-rmobile/cpu_info-r8a7740.c
@@ -5,6 +5,7 @@ 
  */
 #include <common.h>
 #include <asm/io.h>
+#include <asm/types.h>
 
 u32 rmobile_get_cpu_type(void)
 {
diff --git a/arch/arm/mach-rmobile/cpu_info-rcar.c b/arch/arm/mach-rmobile/cpu_info-rcar.c
index ce9312f9d82..724d3c67d59 100644
--- a/arch/arm/mach-rmobile/cpu_info-rcar.c
+++ b/arch/arm/mach-rmobile/cpu_info-rcar.c
@@ -6,6 +6,7 @@ 
  */
 #include <common.h>
 #include <asm/io.h>
+#include <asm/types.h>
 
 #define PRR_MASK		0x7fff
 #define R8A7796_REV_1_0		0x5200
diff --git a/arch/arm/mach-rmobile/cpu_info-sh73a0.c b/arch/arm/mach-rmobile/cpu_info-sh73a0.c
index 0c7ee8acf5a..7f01201629b 100644
--- a/arch/arm/mach-rmobile/cpu_info-sh73a0.c
+++ b/arch/arm/mach-rmobile/cpu_info-sh73a0.c
@@ -5,6 +5,7 @@ 
  */
 #include <common.h>
 #include <asm/io.h>
+#include <asm/types.h>
 
 u32 rmobile_get_cpu_type(void)
 {
diff --git a/arch/arm/mach-rmobile/cpu_info.c b/arch/arm/mach-rmobile/cpu_info.c
index 1380dc61eb2..44e39e248b2 100644
--- a/arch/arm/mach-rmobile/cpu_info.c
+++ b/arch/arm/mach-rmobile/cpu_info.c
@@ -10,6 +10,7 @@ 
 #include <init.h>
 #include <asm/io.h>
 #include <env.h>
+#include <asm/types.h>
 #include <asm/u-boot.h>
 #include <linux/ctype.h>
 #include <linux/kernel.h>
diff --git a/arch/arm/mach-rmobile/include/mach/ehci-rmobile.h b/arch/arm/mach-rmobile/include/mach/ehci-rmobile.h
index ca8c5f37063..641872cbbcd 100644
--- a/arch/arm/mach-rmobile/include/mach/ehci-rmobile.h
+++ b/arch/arm/mach-rmobile/include/mach/ehci-rmobile.h
@@ -8,6 +8,7 @@ 
 #define __EHCI_RMOBILE_H__
 
 /* Register offset */
+#include <asm/types.h>
 #define OHCI_OFFSET	0x00
 #define OHCI_SIZE	0x1000
 #define EHCI_OFFSET	0x1000
diff --git a/arch/arm/mach-rmobile/include/mach/rcar-mstp.h b/arch/arm/mach-rmobile/include/mach/rcar-mstp.h
index f2f8ce95992..f408b1e76e3 100644
--- a/arch/arm/mach-rmobile/include/mach/rcar-mstp.h
+++ b/arch/arm/mach-rmobile/include/mach/rcar-mstp.h
@@ -9,6 +9,7 @@ 
 #ifndef __ASM_ARCH_RCAR_MSTP_H
 #define __ASM_ARCH_RCAR_MSTP_H
 
+#include <asm/types.h>
 #define mstp_setbits(type, addr, saddr, set) \
 		out_##type((saddr), in_##type(addr) | (set))
 #define mstp_clrbits(type, addr, saddr, clear) \
diff --git a/arch/arm/mach-rmobile/include/mach/rmobile.h b/arch/arm/mach-rmobile/include/mach/rmobile.h
index a50249dc963..e41004eb437 100644
--- a/arch/arm/mach-rmobile/include/mach/rmobile.h
+++ b/arch/arm/mach-rmobile/include/mach/rmobile.h
@@ -41,6 +41,7 @@ 
 #define RMOBILE_CPU_TYPE_R8A77995	0x58
 
 #ifndef __ASSEMBLY__
+#include <asm/types.h>
 u32 rmobile_get_cpu_type(void);
 u32 rmobile_get_cpu_rev_integer(void);
 u32 rmobile_get_cpu_rev_fraction(void);
diff --git a/arch/arm/mach-rmobile/timer.c b/arch/arm/mach-rmobile/timer.c
index ba06535e4c2..d911dbea51f 100644
--- a/arch/arm/mach-rmobile/timer.c
+++ b/arch/arm/mach-rmobile/timer.c
@@ -12,6 +12,7 @@ 
 #include <asm/arch-armv7/globaltimer.h>
 #include <asm/arch/rmobile.h>
 #include <linux/delay.h>
+#include <linux/types.h>
 
 static struct globaltimer *global_timer = \
 		(struct globaltimer *)GLOBAL_TIMER_BASE_ADDR;
diff --git a/arch/arm/mach-rockchip/board.c b/arch/arm/mach-rockchip/board.c
index e6e6fc5fbe4..4d4978f6bb6 100644
--- a/arch/arm/mach-rockchip/board.c
+++ b/arch/arm/mach-rockchip/board.c
@@ -4,6 +4,7 @@ 
  */
 #include <common.h>
 #include <clk.h>
+#include <compiler.h>
 #include <cpu_func.h>
 #include <dm.h>
 #include <init.h>
@@ -19,6 +20,7 @@ 
 #include <asm/arch-rockchip/clock.h>
 #include <asm/arch-rockchip/periph.h>
 #include <asm/arch-rockchip/misc.h>
+#include <asm/types.h>
 #include <asm/u-boot.h>
 #include <linux/errno.h>
 #include <linux/string.h>
diff --git a/arch/arm/mach-rockchip/boot_mode.c b/arch/arm/mach-rockchip/boot_mode.c
index 69e64fb39c3..3c52b94e0d0 100644
--- a/arch/arm/mach-rockchip/boot_mode.c
+++ b/arch/arm/mach-rockchip/boot_mode.c
@@ -6,6 +6,7 @@ 
 #include <common.h>
 #include <adc.h>
 #include <command.h>
+#include <compiler.h>
 #include <env.h>
 #include <log.h>
 #include <stdbool.h>
diff --git a/arch/arm/mach-rockchip/bootrom.c b/arch/arm/mach-rockchip/bootrom.c
index 24ba39537cd..3a557e0a101 100644
--- a/arch/arm/mach-rockchip/bootrom.c
+++ b/arch/arm/mach-rockchip/bootrom.c
@@ -13,6 +13,7 @@ 
 #include <asm/io.h>
 #include <asm/setjmp.h>
 #include <asm/system.h>
+#include <asm/types.h>
 
 /*
  * Force the jmp_buf to the data-section, as .bss will not be valid
diff --git a/arch/arm/mach-rockchip/misc.c b/arch/arm/mach-rockchip/misc.c
index 82a106e786e..17a0579bddc 100644
--- a/arch/arm/mach-rockchip/misc.c
+++ b/arch/arm/mach-rockchip/misc.c
@@ -16,6 +16,7 @@ 
 #include <log.h>
 #include <stdio.h>
 #include <vsprintf.h>
+#include <asm/types.h>
 #include <dm/uclass-internal.h>
 #include <misc.h>
 #include <linux/string.h>
diff --git a/arch/arm/mach-rockchip/px30-board-tpl.c b/arch/arm/mach-rockchip/px30-board-tpl.c
index 085e6506201..bb9aac92e5b 100644
--- a/arch/arm/mach-rockchip/px30-board-tpl.c
+++ b/arch/arm/mach-rockchip/px30-board-tpl.c
@@ -13,6 +13,7 @@ 
 #include <asm/io.h>
 #include <asm/arch-rockchip/bootrom.h>
 #include <asm/arch-rockchip/sdram_px30.h>
+#include <linux/types.h>
 
 #define TIMER_LOAD_COUNT0	0x00
 #define TIMER_LOAD_COUNT1	0x04
diff --git a/arch/arm/mach-rockchip/px30/px30.c b/arch/arm/mach-rockchip/px30/px30.c
index f11424d105b..228af5b1115 100644
--- a/arch/arm/mach-rockchip/px30/px30.c
+++ b/arch/arm/mach-rockchip/px30/px30.c
@@ -13,6 +13,7 @@ 
 #include <asm/arch-rockchip/uart.h>
 #include <asm/arch-rockchip/clock.h>
 #include <asm/arch-rockchip/cru_px30.h>
+#include <asm/types.h>
 #include <asm/u-boot.h>
 #include <dt-bindings/clock/px30-cru.h>
 
diff --git a/arch/arm/mach-rockchip/px30/syscon_px30.c b/arch/arm/mach-rockchip/px30/syscon_px30.c
index 4672bdbf009..ce387f007e8 100644
--- a/arch/arm/mach-rockchip/px30/syscon_px30.c
+++ b/arch/arm/mach-rockchip/px30/syscon_px30.c
@@ -8,6 +8,7 @@ 
 #include <log.h>
 #include <syscon.h>
 #include <asm/arch-rockchip/clock.h>
+#include <linux/types.h>
 
 static const struct udevice_id px30_syscon_ids[] = {
 	{ .compatible = "rockchip,px30-pmu", .data = ROCKCHIP_SYSCON_PMU },
diff --git a/arch/arm/mach-rockchip/rk3036-board-spl.c b/arch/arm/mach-rockchip/rk3036-board-spl.c
index 964e981b863..1fbbab9a71c 100644
--- a/arch/arm/mach-rockchip/rk3036-board-spl.c
+++ b/arch/arm/mach-rockchip/rk3036-board-spl.c
@@ -10,6 +10,7 @@ 
 #include <asm/io.h>
 #include <asm/arch-rockchip/bootrom.h>
 #include <asm/arch-rockchip/sdram_rk3036.h>
+#include <linux/types.h>
 
 #define TIMER_LOAD_COUNT_L	0x00
 #define TIMER_LOAD_COUNT_H	0x04
diff --git a/arch/arm/mach-rockchip/rk3036/sdram_rk3036.c b/arch/arm/mach-rockchip/rk3036/sdram_rk3036.c
index 6ae254e99af..38f6f2cba37 100644
--- a/arch/arm/mach-rockchip/rk3036/sdram_rk3036.c
+++ b/arch/arm/mach-rockchip/rk3036/sdram_rk3036.c
@@ -12,6 +12,7 @@ 
 #include <asm/arch-rockchip/sdram_rk3036.h>
 #include <asm/arch-rockchip/uart.h>
 #include <linux/delay.h>
+#include <linux/types.h>
 
 /*
  * we can not fit the code to access the device tree in SPL
diff --git a/arch/arm/mach-rockchip/rk3188/rk3188.c b/arch/arm/mach-rockchip/rk3188/rk3188.c
index 1a6750d39b1..b3e2b5400e5 100644
--- a/arch/arm/mach-rockchip/rk3188/rk3188.c
+++ b/arch/arm/mach-rockchip/rk3188/rk3188.c
@@ -3,6 +3,7 @@ 
  * (C) Copyright 2019 Rockchip Electronics Co., Ltd
  */
 #include <common.h>
+#include <compiler.h>
 #include <dm.h>
 #include <hang.h>
 #include <init.h>
diff --git a/arch/arm/mach-rockchip/rk3188/syscon_rk3188.c b/arch/arm/mach-rockchip/rk3188/syscon_rk3188.c
index ea7d7b5b1ac..81677f9485a 100644
--- a/arch/arm/mach-rockchip/rk3188/syscon_rk3188.c
+++ b/arch/arm/mach-rockchip/rk3188/syscon_rk3188.c
@@ -9,6 +9,7 @@ 
 #include <log.h>
 #include <syscon.h>
 #include <asm/arch-rockchip/clock.h>
+#include <linux/types.h>
 
 static const struct udevice_id rk3188_syscon_ids[] = {
 	{ .compatible = "rockchip,rk3188-noc", .data = ROCKCHIP_SYSCON_NOC },
diff --git a/arch/arm/mach-rockchip/rk3288/rk3288.c b/arch/arm/mach-rockchip/rk3288/rk3288.c
index 1589ab1b2c7..37d9fa02037 100644
--- a/arch/arm/mach-rockchip/rk3288/rk3288.c
+++ b/arch/arm/mach-rockchip/rk3288/rk3288.c
@@ -4,6 +4,7 @@ 
  */
 #include <common.h>
 #include <command.h>
+#include <compiler.h>
 #include <dm.h>
 #include <env.h>
 #include <clk.h>
@@ -25,6 +26,7 @@ 
 #include <asm/u-boot.h>
 #include <linux/err.h>
 #include <linux/kernel.h>
+#include <linux/types.h>
 
 DECLARE_GLOBAL_DATA_PTR;
 
diff --git a/arch/arm/mach-rockchip/rk3288/syscon_rk3288.c b/arch/arm/mach-rockchip/rk3288/syscon_rk3288.c
index e3da0a01947..c4142ef75ad 100644
--- a/arch/arm/mach-rockchip/rk3288/syscon_rk3288.c
+++ b/arch/arm/mach-rockchip/rk3288/syscon_rk3288.c
@@ -9,6 +9,7 @@ 
 #include <log.h>
 #include <syscon.h>
 #include <asm/arch-rockchip/clock.h>
+#include <linux/types.h>
 
 static const struct udevice_id rk3288_syscon_ids[] = {
 	{ .compatible = "rockchip,rk3288-noc", .data = ROCKCHIP_SYSCON_NOC },
diff --git a/arch/arm/mach-rockchip/rk3308/rk3308.c b/arch/arm/mach-rockchip/rk3308/rk3308.c
index c50da1365d5..69b1df1146c 100644
--- a/arch/arm/mach-rockchip/rk3308/rk3308.c
+++ b/arch/arm/mach-rockchip/rk3308/rk3308.c
@@ -3,6 +3,7 @@ 
  *Copyright (c) 2018 Rockchip Electronics Co., Ltd
  */
 #include <common.h>
+#include <compiler.h>
 #include <init.h>
 #include <malloc.h>
 #include <stdio.h>
@@ -12,6 +13,7 @@ 
 #include <asm/arch-rockchip/hardware.h>
 #include <asm/gpio.h>
 #include <debug_uart.h>
+#include <asm/types.h>
 #include <asm/u-boot.h>
 #include <linux/bitops.h>
 
diff --git a/arch/arm/mach-rockchip/rk3368/rk3368.c b/arch/arm/mach-rockchip/rk3368/rk3368.c
index fef8bfc476a..be91ea1e63a 100644
--- a/arch/arm/mach-rockchip/rk3368/rk3368.c
+++ b/arch/arm/mach-rockchip/rk3368/rk3368.c
@@ -18,6 +18,7 @@ 
 #include <asm/u-boot.h>
 #include <linux/bitops.h>
 #include <linux/delay.h>
+#include <linux/types.h>
 
 DECLARE_GLOBAL_DATA_PTR;
 
diff --git a/arch/arm/mach-rockchip/rk3368/syscon_rk3368.c b/arch/arm/mach-rockchip/rk3368/syscon_rk3368.c
index cba0dda3e80..2b02387cc4a 100644
--- a/arch/arm/mach-rockchip/rk3368/syscon_rk3368.c
+++ b/arch/arm/mach-rockchip/rk3368/syscon_rk3368.c
@@ -10,6 +10,7 @@ 
 #include <log.h>
 #include <syscon.h>
 #include <asm/arch-rockchip/clock.h>
+#include <linux/types.h>
 
 static const struct udevice_id rk3368_syscon_ids[] = {
 	{ .compatible = "rockchip,rk3368-grf",
diff --git a/arch/arm/mach-rockchip/rk3399/rk3399.c b/arch/arm/mach-rockchip/rk3399/rk3399.c
index f2ad3f5ec13..7d93be2e4c0 100644
--- a/arch/arm/mach-rockchip/rk3399/rk3399.c
+++ b/arch/arm/mach-rockchip/rk3399/rk3399.c
@@ -4,6 +4,7 @@ 
  */
 
 #include <common.h>
+#include <compiler.h>
 #include <fdt_support.h>
 #include <init.h>
 #include <log.h>
@@ -18,6 +19,7 @@ 
 #include <asm/arch-rockchip/gpio.h>
 #include <asm/arch-rockchip/grf_rk3399.h>
 #include <asm/arch-rockchip/hardware.h>
+#include <asm/types.h>
 #include <asm/u-boot.h>
 #include <linux/bitops.h>
 #include <linux/kernel.h>
diff --git a/arch/arm/mach-rockchip/rk3399/syscon_rk3399.c b/arch/arm/mach-rockchip/rk3399/syscon_rk3399.c
index 690cbe7f278..296998a11bc 100644
--- a/arch/arm/mach-rockchip/rk3399/syscon_rk3399.c
+++ b/arch/arm/mach-rockchip/rk3399/syscon_rk3399.c
@@ -8,6 +8,7 @@ 
 #include <log.h>
 #include <syscon.h>
 #include <asm/arch-rockchip/clock.h>
+#include <linux/types.h>
 
 static const struct udevice_id rk3399_syscon_ids[] = {
 	{ .compatible = "rockchip,rk3399-grf", .data = ROCKCHIP_SYSCON_GRF },
diff --git a/arch/arm/mach-rockchip/sdram.c b/arch/arm/mach-rockchip/sdram.c
index d9cf3255914..15b521f8918 100644
--- a/arch/arm/mach-rockchip/sdram.c
+++ b/arch/arm/mach-rockchip/sdram.c
@@ -14,6 +14,7 @@ 
 #include <asm/u-boot.h>
 #include <dm/uclass-internal.h>
 #include <linux/kernel.h>
+#include <linux/types.h>
 
 DECLARE_GLOBAL_DATA_PTR;
 
diff --git a/arch/arm/mach-rockchip/spl-boot-order.c b/arch/arm/mach-rockchip/spl-boot-order.c
index 57ea84a9346..f67fbe23a3b 100644
--- a/arch/arm/mach-rockchip/spl-boot-order.c
+++ b/arch/arm/mach-rockchip/spl-boot-order.c
@@ -4,11 +4,13 @@ 
  */
 
 #include <common.h>
+#include <compiler.h>
 #include <dm.h>
 #include <log.h>
 #include <mmc.h>
 #include <spl.h>
 #include <asm/global_data.h>
+#include <asm/types.h>
 #include <linux/errno.h>
 #include <linux/string.h>
 
diff --git a/arch/arm/mach-rockchip/spl.c b/arch/arm/mach-rockchip/spl.c
index 345e61058d7..4589c14b904 100644
--- a/arch/arm/mach-rockchip/spl.c
+++ b/arch/arm/mach-rockchip/spl.c
@@ -4,6 +4,7 @@ 
  */
 
 #include <common.h>
+#include <compiler.h>
 #include <debug_uart.h>
 #include <dm.h>
 #include <hang.h>
@@ -19,6 +20,7 @@ 
 #include <asm/u-boot.h>
 #include <linux/bitops.h>
 #include <linux/kernel.h>
+#include <linux/types.h>
 
 DECLARE_GLOBAL_DATA_PTR;
 
diff --git a/arch/arm/mach-rockchip/tpl.c b/arch/arm/mach-rockchip/tpl.c
index df052b82f2f..37f7c493a23 100644
--- a/arch/arm/mach-rockchip/tpl.c
+++ b/arch/arm/mach-rockchip/tpl.c
@@ -4,6 +4,7 @@ 
  */
 
 #include <common.h>
+#include <compiler.h>
 #include <debug_uart.h>
 #include <dm.h>
 #include <hang.h>
@@ -16,6 +17,7 @@ 
 #include <asm/io.h>
 #include <asm/arch-rockchip/bootrom.h>
 #include <linux/bitops.h>
+#include <linux/types.h>
 
 #define TIMER_LOAD_COUNT_L	0x00
 #define TIMER_LOAD_COUNT_H	0x04
diff --git a/arch/arm/mach-s5pc1xx/clock.c b/arch/arm/mach-s5pc1xx/clock.c
index e8809aa8ce2..28e8130ed6a 100644
--- a/arch/arm/mach-s5pc1xx/clock.c
+++ b/arch/arm/mach-s5pc1xx/clock.c
@@ -10,6 +10,7 @@ 
 #include <asm/io.h>
 #include <asm/arch/clock.h>
 #include <asm/arch/clk.h>
+#include <linux/types.h>
 
 #define CLK_M	0
 #define CLK_D	1
diff --git a/arch/arm/mach-s5pc1xx/include/mach/gpio.h b/arch/arm/mach-s5pc1xx/include/mach/gpio.h
index c8dfbdd642a..93e1f0c5320 100644
--- a/arch/arm/mach-s5pc1xx/include/mach/gpio.h
+++ b/arch/arm/mach-s5pc1xx/include/mach/gpio.h
@@ -8,6 +8,7 @@ 
 #define __ASM_ARCH_GPIO_H
 
 #ifndef __ASSEMBLY__
+#include <asm/types.h>
 struct s5p_gpio_bank {
 	unsigned int	con;
 	unsigned int	dat;
diff --git a/arch/arm/mach-s5pc1xx/include/mach/mmc.h b/arch/arm/mach-s5pc1xx/include/mach/mmc.h
index 70787908600..e32a3c9f9d8 100644
--- a/arch/arm/mach-s5pc1xx/include/mach/mmc.h
+++ b/arch/arm/mach-s5pc1xx/include/mach/mmc.h
@@ -7,6 +7,7 @@ 
 #ifndef __ASM_ARCH_MMC_H_
 #define __ASM_ARCH_MMC_H_
 
+#include <asm/types.h>
 #define S5P_MMC_DEV_OFFSET	0x100000
 
 #define SDHCI_CONTROL2		0x80
diff --git a/arch/arm/mach-s5pc1xx/include/mach/sromc.h b/arch/arm/mach-s5pc1xx/include/mach/sromc.h
index 45de4a799d3..cd484edb4ca 100644
--- a/arch/arm/mach-s5pc1xx/include/mach/sromc.h
+++ b/arch/arm/mach-s5pc1xx/include/mach/sromc.h
@@ -27,6 +27,7 @@ 
 #define SMC_BC_PMC(x)  (x << 0)  /* normal(1data)page mode configuration */
 
 #ifndef __ASSEMBLY__
+#include <asm/types.h>
 struct s5p_sromc {
 	unsigned int	bw;
 	unsigned int	bc[6];
diff --git a/arch/arm/mach-s5pc1xx/include/mach/sys_proto.h b/arch/arm/mach-s5pc1xx/include/mach/sys_proto.h
index 89de400043a..d3f6735c8e7 100644
--- a/arch/arm/mach-s5pc1xx/include/mach/sys_proto.h
+++ b/arch/arm/mach-s5pc1xx/include/mach/sys_proto.h
@@ -7,6 +7,7 @@ 
 #ifndef _SYS_PROTO_H_
 #define _SYS_PROTO_H_
 
+#include <asm/types.h>
 u32 get_device_type(void);
 
 #endif
diff --git a/arch/arm/mach-snapdragon/clock-apq8016.c b/arch/arm/mach-snapdragon/clock-apq8016.c
index 6e4a0ccb90a..8a5e0d5f557 100644
--- a/arch/arm/mach-snapdragon/clock-apq8016.c
+++ b/arch/arm/mach-snapdragon/clock-apq8016.c
@@ -13,6 +13,7 @@ 
 #include <errno.h>
 #include <asm/io.h>
 #include <linux/bitops.h>
+#include <linux/types.h>
 #include "clock-snapdragon.h"
 
 /* GPLL0 clock control registers */
diff --git a/arch/arm/mach-snapdragon/clock-apq8096.c b/arch/arm/mach-snapdragon/clock-apq8096.c
index e5011be8f2e..c0116b434d5 100644
--- a/arch/arm/mach-snapdragon/clock-apq8096.c
+++ b/arch/arm/mach-snapdragon/clock-apq8096.c
@@ -13,6 +13,7 @@ 
 #include <errno.h>
 #include <asm/io.h>
 #include <linux/bitops.h>
+#include <linux/types.h>
 #include "clock-snapdragon.h"
 
 /* GPLL0 clock control registers */
diff --git a/arch/arm/mach-snapdragon/clock-snapdragon.c b/arch/arm/mach-snapdragon/clock-snapdragon.c
index 78e30ea5bab..efc3d9493fb 100644
--- a/arch/arm/mach-snapdragon/clock-snapdragon.c
+++ b/arch/arm/mach-snapdragon/clock-snapdragon.c
@@ -14,6 +14,7 @@ 
 #include <asm/io.h>
 #include <linux/bitops.h>
 #include <linux/errno.h>
+#include <linux/types.h>
 #include "clock-snapdragon.h"
 
 /* CBCR register fields */
diff --git a/arch/arm/mach-snapdragon/clock-snapdragon.h b/arch/arm/mach-snapdragon/clock-snapdragon.h
index 58fab40a2e4..32f247a1aaa 100644
--- a/arch/arm/mach-snapdragon/clock-snapdragon.h
+++ b/arch/arm/mach-snapdragon/clock-snapdragon.h
@@ -7,6 +7,7 @@ 
 #ifndef _CLOCK_SNAPDRAGON_H
 #define _CLOCK_SNAPDRAGON_H
 
+#include <linux/types.h>
 #define CFG_CLK_SRC_CXO   (0 << 8)
 #define CFG_CLK_SRC_GPLL0 (1 << 8)
 #define CFG_CLK_SRC_MASK  (7 << 8)
diff --git a/arch/arm/mach-snapdragon/dram.c b/arch/arm/mach-snapdragon/dram.c
index df7148fee11..c168dd23e2d 100644
--- a/arch/arm/mach-snapdragon/dram.c
+++ b/arch/arm/mach-snapdragon/dram.c
@@ -7,6 +7,7 @@ 
  */
 
 #include <common.h>
+#include <compiler.h>
 #include <dm.h>
 #include <log.h>
 #include <part.h>
@@ -15,6 +16,7 @@ 
 #include <stdio.h>
 #include <asm/arch/dram.h>
 #include <linux/errno.h>
+#include <linux/types.h>
 
 #define SMEM_USABLE_RAM_PARTITION_TABLE 402
 #define RAM_PART_NAME_LENGTH            16
diff --git a/arch/arm/mach-snapdragon/include/mach/misc.h b/arch/arm/mach-snapdragon/include/mach/misc.h
index c60e3e47247..5f7d74ba123 100644
--- a/arch/arm/mach-snapdragon/include/mach/misc.h
+++ b/arch/arm/mach-snapdragon/include/mach/misc.h
@@ -7,6 +7,7 @@ 
 #ifndef MISC_H
 #define MISC_H
 
+#include <asm/types.h>
 u32 msm_board_serial(void);
 void msm_generate_mac_addr(u8 *mac);
 
diff --git a/arch/arm/mach-snapdragon/misc.c b/arch/arm/mach-snapdragon/misc.c
index 03515f6d2bf..1af4734bfb7 100644
--- a/arch/arm/mach-snapdragon/misc.c
+++ b/arch/arm/mach-snapdragon/misc.c
@@ -10,6 +10,7 @@ 
 #include <mmc.h>
 #include <vsprintf.h>
 #include <asm/arch/misc.h>
+#include <asm/types.h>
 
 /* UNSTUFF_BITS macro taken from Linux Kernel: drivers/mmc/core/sd.c */
 #define UNSTUFF_BITS(resp, start, size) \
diff --git a/arch/arm/mach-snapdragon/pinctrl-snapdragon.c b/arch/arm/mach-snapdragon/pinctrl-snapdragon.c
index 1587d38cbfb..92d46702fa3 100644
--- a/arch/arm/mach-snapdragon/pinctrl-snapdragon.c
+++ b/arch/arm/mach-snapdragon/pinctrl-snapdragon.c
@@ -14,6 +14,7 @@ 
 #include <linux/bitops.h>
 #include <linux/errno.h>
 #include <linux/kernel.h>
+#include <linux/types.h>
 #include "pinctrl-snapdragon.h"
 
 struct msm_pinctrl_priv {
diff --git a/arch/arm/mach-socfpga/clock_manager.c b/arch/arm/mach-socfpga/clock_manager.c
index 017af139bc9..f8c63355bf8 100644
--- a/arch/arm/mach-socfpga/clock_manager.c
+++ b/arch/arm/mach-socfpga/clock_manager.c
@@ -10,6 +10,7 @@ 
 #include <asm/global_data.h>
 #include <asm/io.h>
 #include <asm/arch/clock_manager.h>
+#include <asm/types.h>
 #include <asm/u-boot.h>
 
 DECLARE_GLOBAL_DATA_PTR;
diff --git a/arch/arm/mach-socfpga/clock_manager_agilex.c b/arch/arm/mach-socfpga/clock_manager_agilex.c
index 9c229de4b92..7b525ab3089 100644
--- a/arch/arm/mach-socfpga/clock_manager_agilex.c
+++ b/arch/arm/mach-socfpga/clock_manager_agilex.c
@@ -16,6 +16,7 @@ 
 #include <asm/io.h>
 #include <dt-bindings/clock/agilex-clock.h>
 #include <linux/errno.h>
+#include <linux/types.h>
 
 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 9d84871d463..b86eaeb8e3d 100644
--- a/arch/arm/mach-socfpga/clock_manager_arria10.c
+++ b/arch/arm/mach-socfpga/clock_manager_arria10.c
@@ -16,6 +16,7 @@ 
 #include <linux/errno.h>
 #include <linux/kernel.h>
 #include <linux/string.h>
+#include <linux/types.h>
 
 #ifdef CONFIG_SPL_BUILD
 
diff --git a/arch/arm/mach-socfpga/clock_manager_gen5.c b/arch/arm/mach-socfpga/clock_manager_gen5.c
index 85a3d1926c1..9c3de1657dd 100644
--- a/arch/arm/mach-socfpga/clock_manager_gen5.c
+++ b/arch/arm/mach-socfpga/clock_manager_gen5.c
@@ -10,6 +10,7 @@ 
 #include <dm.h>
 #include <asm/arch/clock_manager.h>
 #include <wait_bit.h>
+#include <linux/types.h>
 
 /*
  * function to write the bypass register which requires a poll of the
diff --git a/arch/arm/mach-socfpga/clock_manager_s10.c b/arch/arm/mach-socfpga/clock_manager_s10.c
index 6355a312833..35ea1b382ef 100644
--- a/arch/arm/mach-socfpga/clock_manager_s10.c
+++ b/arch/arm/mach-socfpga/clock_manager_s10.c
@@ -11,6 +11,7 @@ 
 #include <asm/arch/clock_manager.h>
 #include <asm/arch/handoff_s10.h>
 #include <asm/arch/system_manager.h>
+#include <asm/types.h>
 
 DECLARE_GLOBAL_DATA_PTR;
 
diff --git a/arch/arm/mach-socfpga/firewall.c b/arch/arm/mach-socfpga/firewall.c
index ed411c62c9c..b3e9e01a137 100644
--- a/arch/arm/mach-socfpga/firewall.c
+++ b/arch/arm/mach-socfpga/firewall.c
@@ -8,6 +8,7 @@ 
 #include <common.h>
 #include <asm/arch/firewall.h>
 #include <asm/arch/system_manager.h>
+#include <asm/types.h>
 #include <linux/kernel.h>
 
 static void firewall_l4_per_disable(void)
diff --git a/arch/arm/mach-socfpga/freeze_controller.c b/arch/arm/mach-socfpga/freeze_controller.c
index e994d38ba62..23930fbb704 100644
--- a/arch/arm/mach-socfpga/freeze_controller.c
+++ b/arch/arm/mach-socfpga/freeze_controller.c
@@ -11,6 +11,7 @@ 
 #include <linux/delay.h>
 #include <linux/errno.h>
 #include <linux/kernel.h>
+#include <linux/types.h>
 
 static const struct socfpga_freeze_controller *freeze_controller_base =
 		(void *)(SOCFPGA_SYSMGR_ADDRESS + SYSMGR_FRZCTRL_ADDRESS);
diff --git a/arch/arm/mach-socfpga/include/mach/clock_manager.h b/arch/arm/mach-socfpga/include/mach/clock_manager.h
index 1f734bcd65e..51e3d83c6dc 100644
--- a/arch/arm/mach-socfpga/include/mach/clock_manager.h
+++ b/arch/arm/mach-socfpga/include/mach/clock_manager.h
@@ -6,9 +6,9 @@ 
 #ifndef _CLOCK_MANAGER_H_
 #define _CLOCK_MANAGER_H_
 
-phys_addr_t socfpga_get_clkmgr_addr(void);
-
 #ifndef __ASSEMBLY__
+#include <asm/types.h>
+phys_addr_t socfpga_get_clkmgr_addr(void);
 void cm_wait_for_lock(u32 mask);
 int cm_wait_for_fsm(void);
 void cm_print_clock_quick_summary(void);
diff --git a/arch/arm/mach-socfpga/include/mach/clock_manager_gen5.h b/arch/arm/mach-socfpga/include/mach/clock_manager_gen5.h
index 5c9abe619b9..2f60680d952 100644
--- a/arch/arm/mach-socfpga/include/mach/clock_manager_gen5.h
+++ b/arch/arm/mach-socfpga/include/mach/clock_manager_gen5.h
@@ -8,6 +8,7 @@ 
 
 #ifndef __ASSEMBLY__
 
+#include <asm/types.h>
 #include <linux/bitops.h>
 
 struct cm_config {
diff --git a/arch/arm/mach-socfpga/include/mach/clock_manager_s10.h b/arch/arm/mach-socfpga/include/mach/clock_manager_s10.h
index cb7923baef8..2d09fc194e2 100644
--- a/arch/arm/mach-socfpga/include/mach/clock_manager_s10.h
+++ b/arch/arm/mach-socfpga/include/mach/clock_manager_s10.h
@@ -8,6 +8,7 @@ 
 #define	_CLOCK_MANAGER_S10_
 
 #include <asm/arch/clock_manager_soc64.h>
+#include <asm/types.h>
 #include <linux/bitops.h>
 
 /* Clock speed accessors */
diff --git a/arch/arm/mach-socfpga/include/mach/firewall.h b/arch/arm/mach-socfpga/include/mach/firewall.h
index adab65bc968..f7ff82d3e8a 100644
--- a/arch/arm/mach-socfpga/include/mach/firewall.h
+++ b/arch/arm/mach-socfpga/include/mach/firewall.h
@@ -7,6 +7,7 @@ 
 #ifndef	_FIREWALL_H_
 #define	_FIREWALL_H_
 
+#include <asm/types.h>
 #include <linux/bitops.h>
 
 struct socfpga_firwall_l4_per {
diff --git a/arch/arm/mach-socfpga/include/mach/fpga_manager.h b/arch/arm/mach-socfpga/include/mach/fpga_manager.h
index 481b66bbd86..3f33e35cb28 100644
--- a/arch/arm/mach-socfpga/include/mach/fpga_manager.h
+++ b/arch/arm/mach-socfpga/include/mach/fpga_manager.h
@@ -24,6 +24,7 @@ 
 #ifndef __ASSEMBLY__
 
 /* Common prototypes */
+#include <linux/types.h>
 int fpgamgr_get_mode(void);
 int fpgamgr_poll_fpga_ready(void);
 void fpgamgr_program_write(const void *rbf_data, size_t rbf_size);
diff --git a/arch/arm/mach-socfpga/include/mach/fpga_manager_arria10.h b/arch/arm/mach-socfpga/include/mach/fpga_manager_arria10.h
index 048708202cc..edb5d4644f7 100644
--- a/arch/arm/mach-socfpga/include/mach/fpga_manager_arria10.h
+++ b/arch/arm/mach-socfpga/include/mach/fpga_manager_arria10.h
@@ -62,6 +62,7 @@ 
 #define FPGA_SOCFPGA_A10_RBF_CORE		0x8001
 #ifndef __ASSEMBLY__
 
+#include <linux/types.h>
 struct socfpga_fpga_manager {
 	u32  _pad_0x0_0x7[2];
 	u32  dclkcnt;
diff --git a/arch/arm/mach-socfpga/include/mach/fpga_manager_gen5.h b/arch/arm/mach-socfpga/include/mach/fpga_manager_gen5.h
index e08c0056286..9519544ec89 100644
--- a/arch/arm/mach-socfpga/include/mach/fpga_manager_gen5.h
+++ b/arch/arm/mach-socfpga/include/mach/fpga_manager_gen5.h
@@ -34,6 +34,7 @@ 
 
 #ifndef __ASSEMBLY__
 
+#include <asm/types.h>
 struct socfpga_fpga_manager {
 	/* FPGA Manager Module */
 	u32	stat;			/* 0x00 */
diff --git a/arch/arm/mach-socfpga/include/mach/freeze_controller.h b/arch/arm/mach-socfpga/include/mach/freeze_controller.h
index 80846a67f19..65119929ee5 100644
--- a/arch/arm/mach-socfpga/include/mach/freeze_controller.h
+++ b/arch/arm/mach-socfpga/include/mach/freeze_controller.h
@@ -6,6 +6,7 @@ 
 #ifndef	_FREEZE_CONTROLLER_H_
 #define	_FREEZE_CONTROLLER_H_
 
+#include <asm/types.h>
 struct socfpga_freeze_controller {
 	u32	vioctrl;
 	u32	padding[3];
diff --git a/arch/arm/mach-socfpga/include/mach/mailbox_s10.h b/arch/arm/mach-socfpga/include/mach/mailbox_s10.h
index 55707ab9c58..e8fa9d1f0b9 100644
--- a/arch/arm/mach-socfpga/include/mach/mailbox_s10.h
+++ b/arch/arm/mach-socfpga/include/mach/mailbox_s10.h
@@ -8,6 +8,7 @@ 
 #define _MAILBOX_S10_H_
 
 /* user define Uboot ID */
+#include <asm/types.h>
 #include <linux/bitops.h>
 #define MBOX_CLIENT_ID_UBOOT	0xB
 #define MBOX_ID_UBOOT		0x1
diff --git a/arch/arm/mach-socfpga/include/mach/misc.h b/arch/arm/mach-socfpga/include/mach/misc.h
index 32bca6775e2..ac023b89bbc 100644
--- a/arch/arm/mach-socfpga/include/mach/misc.h
+++ b/arch/arm/mach-socfpga/include/mach/misc.h
@@ -8,6 +8,7 @@ 
 
 #include <stdbool.h>
 #include <asm/sections.h>
+#include <asm/types.h>
 
 void dwmac_deassert_reset(const unsigned int of_reset_id, const u32 phymode);
 
diff --git a/arch/arm/mach-socfpga/include/mach/nic301.h b/arch/arm/mach-socfpga/include/mach/nic301.h
index 20bebb8c81c..0489e5fe1ad 100644
--- a/arch/arm/mach-socfpga/include/mach/nic301.h
+++ b/arch/arm/mach-socfpga/include/mach/nic301.h
@@ -6,6 +6,7 @@ 
 #ifndef	_NIC301_REGISTERS_H_
 #define	_NIC301_REGISTERS_H_
 
+#include <asm/types.h>
 struct nic301_registers {
 	u32	remap;				/* 0x0 */
 	/* Security Register Group */
diff --git a/arch/arm/mach-socfpga/include/mach/reset_manager.h b/arch/arm/mach-socfpga/include/mach/reset_manager.h
index 7844ad14cb6..3af2c1f9e02 100644
--- a/arch/arm/mach-socfpga/include/mach/reset_manager.h
+++ b/arch/arm/mach-socfpga/include/mach/reset_manager.h
@@ -6,6 +6,7 @@ 
 #ifndef _RESET_MANAGER_H_
 #define _RESET_MANAGER_H_
 
+#include <linux/types.h>
 phys_addr_t socfpga_get_rstmgr_addr(void);
 
 void reset_cpu(ulong addr);
diff --git a/arch/arm/mach-socfpga/include/mach/scan_manager.h b/arch/arm/mach-socfpga/include/mach/scan_manager.h
index 4d8d649be06..7d369aa1b5b 100644
--- a/arch/arm/mach-socfpga/include/mach/scan_manager.h
+++ b/arch/arm/mach-socfpga/include/mach/scan_manager.h
@@ -6,6 +6,7 @@ 
 #ifndef	_SCAN_MANAGER_H_
 #define	_SCAN_MANAGER_H_
 
+#include <asm/types.h>
 struct socfpga_scan_manager {
 	u32	stat;
 	u32	en;
diff --git a/arch/arm/mach-socfpga/include/mach/scu.h b/arch/arm/mach-socfpga/include/mach/scu.h
index b684a550192..7891318486a 100644
--- a/arch/arm/mach-socfpga/include/mach/scu.h
+++ b/arch/arm/mach-socfpga/include/mach/scu.h
@@ -6,6 +6,7 @@ 
 #ifndef __SOCFPGA_SCU_H__
 #define __SOCFPGA_SCU_H__
 
+#include <asm/types.h>
 struct scu_registers {
 	u32	ctrl;			/* 0x00 */
 	u32	cfg;
diff --git a/arch/arm/mach-socfpga/include/mach/sdram_arria10.h b/arch/arm/mach-socfpga/include/mach/sdram_arria10.h
index ff05994ccc3..1af29b11cf7 100644
--- a/arch/arm/mach-socfpga/include/mach/sdram_arria10.h
+++ b/arch/arm/mach-socfpga/include/mach/sdram_arria10.h
@@ -7,6 +7,7 @@ 
 #define _SOCFPGA_SDRAM_ARRIA10_H_
 
 #ifndef __ASSEMBLY__
+#include <asm/types.h>
 #include <linux/bitops.h>
 int ddr_calibration_sequence(void);
 
diff --git a/arch/arm/mach-socfpga/include/mach/sdram_gen5.h b/arch/arm/mach-socfpga/include/mach/sdram_gen5.h
index 8818a6b967f..05627eeed5e 100644
--- a/arch/arm/mach-socfpga/include/mach/sdram_gen5.h
+++ b/arch/arm/mach-socfpga/include/mach/sdram_gen5.h
@@ -7,6 +7,7 @@ 
 
 #ifndef __ASSEMBLY__
 
+#include <asm/types.h>
 const struct socfpga_sdram_config *socfpga_get_sdram_config(void);
 
 void socfpga_get_seq_ac_init(const u32 **init, unsigned int *nelem);
diff --git a/arch/arm/mach-socfpga/include/mach/system_manager.h b/arch/arm/mach-socfpga/include/mach/system_manager.h
index f8169547172..45ea62a7067 100644
--- a/arch/arm/mach-socfpga/include/mach/system_manager.h
+++ b/arch/arm/mach-socfpga/include/mach/system_manager.h
@@ -6,6 +6,7 @@ 
 #ifndef _SYSTEM_MANAGER_H_
 #define _SYSTEM_MANAGER_H_
 
+#include <asm/types.h>
 phys_addr_t socfpga_get_sysmgr_addr(void);
 
 #if defined(CONFIG_TARGET_SOCFPGA_STRATIX10) || \
diff --git a/arch/arm/mach-socfpga/include/mach/system_manager_gen5.h b/arch/arm/mach-socfpga/include/mach/system_manager_gen5.h
index 90cb465d137..3dce656ccb4 100644
--- a/arch/arm/mach-socfpga/include/mach/system_manager_gen5.h
+++ b/arch/arm/mach-socfpga/include/mach/system_manager_gen5.h
@@ -8,6 +8,7 @@ 
 
 #ifndef __ASSEMBLY__
 
+#include <asm/types.h>
 void sysmgr_pinmux_init(void);
 void sysmgr_config_warmrstcfgio(int enable);
 
diff --git a/arch/arm/mach-socfpga/include/mach/system_manager_soc64.h b/arch/arm/mach-socfpga/include/mach/system_manager_soc64.h
index c90f63a754c..b6ae059a8cf 100644
--- a/arch/arm/mach-socfpga/include/mach/system_manager_soc64.h
+++ b/arch/arm/mach-socfpga/include/mach/system_manager_soc64.h
@@ -6,6 +6,7 @@ 
 #ifndef _SYSTEM_MANAGER_SOC64_H_
 #define _SYSTEM_MANAGER_SOC64_H_
 
+#include <asm/types.h>
 #include <linux/bitops.h>
 void sysmgr_pinmux_init(void);
 void populate_sysmgr_fpgaintf_module(void);
diff --git a/arch/arm/mach-socfpga/include/mach/timer.h b/arch/arm/mach-socfpga/include/mach/timer.h
index 82596e412e3..b853f208d73 100644
--- a/arch/arm/mach-socfpga/include/mach/timer.h
+++ b/arch/arm/mach-socfpga/include/mach/timer.h
@@ -6,6 +6,7 @@ 
 #ifndef _SOCFPGA_TIMER_H_
 #define _SOCFPGA_TIMER_H_
 
+#include <asm/types.h>
 struct socfpga_timer {
 	u32	load_val;
 	u32	curr_val;
diff --git a/arch/arm/mach-socfpga/mailbox_s10.c b/arch/arm/mach-socfpga/mailbox_s10.c
index 85df32968d8..46f94423726 100644
--- a/arch/arm/mach-socfpga/mailbox_s10.c
+++ b/arch/arm/mach-socfpga/mailbox_s10.c
@@ -13,6 +13,7 @@ 
 #include <asm/arch/mailbox_s10.h>
 #include <asm/arch/system_manager.h>
 #include <asm/secure.h>
+#include <asm/types.h>
 #include <linux/errno.h>
 
 DECLARE_GLOBAL_DATA_PTR;
diff --git a/arch/arm/mach-socfpga/misc.c b/arch/arm/mach-socfpga/misc.c
index 5a5f1a82779..6266b9d5535 100644
--- a/arch/arm/mach-socfpga/misc.c
+++ b/arch/arm/mach-socfpga/misc.c
@@ -14,6 +14,7 @@ 
 #include <asm/io.h>
 #include <errno.h>
 #include <fdtdec.h>
+#include <asm/types.h>
 #include <asm/u-boot.h>
 #include <linux/errno.h>
 #include <linux/libfdt.h>
diff --git a/arch/arm/mach-socfpga/misc_arria10.c b/arch/arm/mach-socfpga/misc_arria10.c
index 980f0d97e88..999e4784cad 100644
--- a/arch/arm/mach-socfpga/misc_arria10.c
+++ b/arch/arm/mach-socfpga/misc_arria10.c
@@ -22,6 +22,7 @@ 
 #include <asm/arch/nic301.h>
 #include <asm/io.h>
 #include <asm/pl310.h>
+#include <asm/types.h>
 #include <asm/u-boot.h>
 
 #define PINMUX_UART0_TX_SHARED_IO_OFFSET_Q1_3	0x08
diff --git a/arch/arm/mach-socfpga/misc_gen5.c b/arch/arm/mach-socfpga/misc_gen5.c
index 51e3568a1dd..93057bbb38d 100644
--- a/arch/arm/mach-socfpga/misc_gen5.c
+++ b/arch/arm/mach-socfpga/misc_gen5.c
@@ -6,12 +6,14 @@ 
 #include <common.h>
 #include <cpu_func.h>
 #include <init.h>
+#include <stdbool.h>
 #include <stdio.h>
 #include <asm/global_data.h>
 #include <asm/io.h>
 #include <env.h>
 #include <errno.h>
 #include <fdtdec.h>
+#include <asm/types.h>
 #include <asm/u-boot.h>
 #include <linux/bitops.h>
 #include <linux/errno.h>
diff --git a/arch/arm/mach-socfpga/misc_s10.c b/arch/arm/mach-socfpga/misc_s10.c
index 9fea8e042aa..dc39387aebb 100644
--- a/arch/arm/mach-socfpga/misc_s10.c
+++ b/arch/arm/mach-socfpga/misc_s10.c
@@ -21,6 +21,7 @@ 
 #include <asm/arch/system_manager.h>
 #include <asm/arch/misc.h>
 #include <asm/pl310.h>
+#include <asm/types.h>
 #include <asm/u-boot.h>
 #include <linux/errno.h>
 #include <linux/kernel.h>
diff --git a/arch/arm/mach-socfpga/pinmux_arria10.c b/arch/arm/mach-socfpga/pinmux_arria10.c
index aee51c039c9..bcb715c355b 100644
--- a/arch/arm/mach-socfpga/pinmux_arria10.c
+++ b/arch/arm/mach-socfpga/pinmux_arria10.c
@@ -8,6 +8,7 @@ 
 #include <asm/io.h>
 #include <common.h>
 #include <fdtdec.h>
+#include <asm/types.h>
 #include <linux/errno.h>
 #include <linux/string.h>
 
diff --git a/arch/arm/mach-socfpga/reset_manager_arria10.c b/arch/arm/mach-socfpga/reset_manager_arria10.c
index 461c4592800..150e71858df 100644
--- a/arch/arm/mach-socfpga/reset_manager_arria10.c
+++ b/arch/arm/mach-socfpga/reset_manager_arria10.c
@@ -13,6 +13,7 @@ 
 #include <errno.h>
 #include <fdtdec.h>
 #include <wait_bit.h>
+#include <asm/types.h>
 #include <linux/kernel.h>
 
 DECLARE_GLOBAL_DATA_PTR;
diff --git a/arch/arm/mach-socfpga/reset_manager_gen5.c b/arch/arm/mach-socfpga/reset_manager_gen5.c
index e37325f2ac5..7ca52b82917 100644
--- a/arch/arm/mach-socfpga/reset_manager_gen5.c
+++ b/arch/arm/mach-socfpga/reset_manager_gen5.c
@@ -11,6 +11,7 @@ 
 #include <asm/arch/fpga_manager.h>
 #include <asm/arch/reset_manager.h>
 #include <asm/arch/system_manager.h>
+#include <asm/types.h>
 #include <linux/bitops.h>
 
 /* Assert or de-assert SoCFPGA reset manager reset. */
diff --git a/arch/arm/mach-socfpga/reset_manager_s10.c b/arch/arm/mach-socfpga/reset_manager_s10.c
index 81e4c67fba6..a9179940e57 100644
--- a/arch/arm/mach-socfpga/reset_manager_s10.c
+++ b/arch/arm/mach-socfpga/reset_manager_s10.c
@@ -9,6 +9,7 @@ 
 #include <asm/io.h>
 #include <asm/arch/reset_manager.h>
 #include <asm/arch/system_manager.h>
+#include <asm/types.h>
 #include <dt-bindings/reset/altr,rst-mgr-s10.h>
 
 DECLARE_GLOBAL_DATA_PTR;
diff --git a/arch/arm/mach-socfpga/scan_manager.c b/arch/arm/mach-socfpga/scan_manager.c
index d5601739ef6..85c113f5051 100644
--- a/arch/arm/mach-socfpga/scan_manager.c
+++ b/arch/arm/mach-socfpga/scan_manager.c
@@ -9,6 +9,7 @@ 
 #include <asm/arch/freeze_controller.h>
 #include <asm/arch/scan_manager.h>
 #include <asm/arch/system_manager.h>
+#include <asm/types.h>
 #include <linux/delay.h>
 #include <linux/errno.h>
 
diff --git a/arch/arm/mach-socfpga/spl_a10.c b/arch/arm/mach-socfpga/spl_a10.c
index daf75addde7..cda0ba5be50 100644
--- a/arch/arm/mach-socfpga/spl_a10.c
+++ b/arch/arm/mach-socfpga/spl_a10.c
@@ -31,6 +31,7 @@ 
 #include <asm/arch/fpga_manager.h>
 #include <mmc.h>
 #include <memalign.h>
+#include <linux/types.h>
 
 #define FPGA_BUFSIZ	16 * 1024
 
diff --git a/arch/arm/mach-socfpga/spl_agilex.c b/arch/arm/mach-socfpga/spl_agilex.c
index 9871d1b6c8b..0364f5a5d0f 100644
--- a/arch/arm/mach-socfpga/spl_agilex.c
+++ b/arch/arm/mach-socfpga/spl_agilex.c
@@ -22,6 +22,7 @@ 
 #include <asm/arch/system_manager.h>
 #include <watchdog.h>
 #include <dm/uclass.h>
+#include <linux/types.h>
 
 DECLARE_GLOBAL_DATA_PTR;
 
diff --git a/arch/arm/mach-socfpga/spl_gen5.c b/arch/arm/mach-socfpga/spl_gen5.c
index 2cffc2ef778..54f2674b399 100644
--- a/arch/arm/mach-socfpga/spl_gen5.c
+++ b/arch/arm/mach-socfpga/spl_gen5.c
@@ -27,6 +27,7 @@ 
 #include <watchdog.h>
 #include <dm/uclass.h>
 #include <linux/bitops.h>
+#include <linux/types.h>
 
 DECLARE_GLOBAL_DATA_PTR;
 
diff --git a/arch/arm/mach-socfpga/spl_s10.c b/arch/arm/mach-socfpga/spl_s10.c
index cbffa669936..93d20391773 100644
--- a/arch/arm/mach-socfpga/spl_s10.c
+++ b/arch/arm/mach-socfpga/spl_s10.c
@@ -23,6 +23,7 @@ 
 #include <asm/arch/system_manager.h>
 #include <watchdog.h>
 #include <dm/uclass.h>
+#include <linux/types.h>
 
 DECLARE_GLOBAL_DATA_PTR;
 
diff --git a/arch/arm/mach-socfpga/system_manager_gen5.c b/arch/arm/mach-socfpga/system_manager_gen5.c
index 09caebb3c88..ce95062ea80 100644
--- a/arch/arm/mach-socfpga/system_manager_gen5.c
+++ b/arch/arm/mach-socfpga/system_manager_gen5.c
@@ -7,6 +7,7 @@ 
 #include <asm/io.h>
 #include <asm/arch/system_manager.h>
 #include <asm/arch/fpga_manager.h>
+#include <asm/types.h>
 
 /*
  * Populate the value for SYSMGR.FPGAINTF.MODULE based on pinmux setting.
diff --git a/arch/arm/mach-socfpga/system_manager_s10.c b/arch/arm/mach-socfpga/system_manager_s10.c
index c123cc96445..dba1b95ba81 100644
--- a/arch/arm/mach-socfpga/system_manager_s10.c
+++ b/arch/arm/mach-socfpga/system_manager_s10.c
@@ -8,6 +8,7 @@ 
 #include <asm/global_data.h>
 #include <asm/io.h>
 #include <asm/arch/system_manager.h>
+#include <asm/types.h>
 
 DECLARE_GLOBAL_DATA_PTR;
 
diff --git a/arch/arm/mach-socfpga/wrap_pinmux_config.c b/arch/arm/mach-socfpga/wrap_pinmux_config.c
index f5a425db559..b4c1a5cd83a 100644
--- a/arch/arm/mach-socfpga/wrap_pinmux_config.c
+++ b/arch/arm/mach-socfpga/wrap_pinmux_config.c
@@ -5,6 +5,7 @@ 
 
 #include <common.h>
 #include <errno.h>
+#include <asm/types.h>
 #include <linux/kernel.h>
 
 /* Board-specific header. */
diff --git a/arch/arm/mach-socfpga/wrap_pinmux_config_s10.c b/arch/arm/mach-socfpga/wrap_pinmux_config_s10.c
index 8f3688dd19f..877c7a21c7f 100644
--- a/arch/arm/mach-socfpga/wrap_pinmux_config_s10.c
+++ b/arch/arm/mach-socfpga/wrap_pinmux_config_s10.c
@@ -8,6 +8,7 @@ 
 #include <errno.h>
 #include <asm/io.h>
 #include <asm/arch/handoff_s10.h>
+#include <asm/types.h>
 #include <linux/kernel.h>
 
 static void sysmgr_pinmux_handoff_read(void *handoff_address,
diff --git a/arch/arm/mach-socfpga/wrap_pll_config_s10.c b/arch/arm/mach-socfpga/wrap_pll_config_s10.c
index 3da85791a1f..bd754ced8c5 100644
--- a/arch/arm/mach-socfpga/wrap_pll_config_s10.c
+++ b/arch/arm/mach-socfpga/wrap_pll_config_s10.c
@@ -9,6 +9,7 @@ 
 #include <asm/io.h>
 #include <asm/arch/handoff_s10.h>
 #include <asm/arch/system_manager.h>
+#include <asm/types.h>
 
 const struct cm_config * const cm_get_default_config(void)
 {
diff --git a/arch/arm/mach-socfpga/wrap_sdram_config.c b/arch/arm/mach-socfpga/wrap_sdram_config.c
index 50fec073b48..3fe77f55cfa 100644
--- a/arch/arm/mach-socfpga/wrap_sdram_config.c
+++ b/arch/arm/mach-socfpga/wrap_sdram_config.c
@@ -6,6 +6,7 @@ 
 #include <common.h>
 #include <errno.h>
 #include <asm/arch/sdram.h>
+#include <asm/types.h>
 #include <linux/kernel.h>
 
 /* Board-specific header. */
diff --git a/arch/arm/mach-stm32mp/bsec.c b/arch/arm/mach-stm32mp/bsec.c
index 6b5a5c64cb4..ba2c8aaab87 100644
--- a/arch/arm/mach-stm32mp/bsec.c
+++ b/arch/arm/mach-stm32mp/bsec.c
@@ -11,6 +11,7 @@ 
 #include <asm/io.h>
 #include <asm/arch/bsec.h>
 #include <asm/arch/stm32mp1_smc.h>
+#include <asm/types.h>
 #include <linux/arm-smccc.h>
 #include <linux/errno.h>
 #include <linux/iopoll.h>
diff --git a/arch/arm/mach-stm32mp/cmd_stm32key.c b/arch/arm/mach-stm32mp/cmd_stm32key.c
index a5c94d331e6..6260099af16 100644
--- a/arch/arm/mach-stm32mp/cmd_stm32key.c
+++ b/arch/arm/mach-stm32mp/cmd_stm32key.c
@@ -14,6 +14,7 @@ 
 #include <dm/uclass.h>
 #include <linux/printk.h>
 #include <linux/string.h>
+#include <linux/types.h>
 
 #define STM32_OTP_HASH_KEY_START 24
 #define STM32_OTP_HASH_KEY_SIZE 8
diff --git a/arch/arm/mach-stm32mp/cmd_stm32prog/cmd_stm32prog.c b/arch/arm/mach-stm32mp/cmd_stm32prog/cmd_stm32prog.c
index df38f622210..5378f5e1b57 100644
--- a/arch/arm/mach-stm32mp/cmd_stm32prog/cmd_stm32prog.c
+++ b/arch/arm/mach-stm32mp/cmd_stm32prog/cmd_stm32prog.c
@@ -13,6 +13,7 @@ 
 #include <asm/arch/stm32prog.h>
 #include <linux/printk.h>
 #include <linux/string.h>
+#include <linux/types.h>
 #include "stm32prog.h"
 
 struct stm32prog_data *stm32prog_data;
diff --git a/arch/arm/mach-stm32mp/cmd_stm32prog/stm32prog.c b/arch/arm/mach-stm32mp/cmd_stm32prog/stm32prog.c
index 74b2ba277b3..9e61f3dfc19 100644
--- a/arch/arm/mach-stm32mp/cmd_stm32prog/stm32prog.c
+++ b/arch/arm/mach-stm32mp/cmd_stm32prog/stm32prog.c
@@ -10,6 +10,7 @@ 
 #include <misc.h>
 #include <mmc.h>
 #include <part.h>
+#include <stdbool.h>
 #include <stdio.h>
 #include <vsprintf.h>
 #include <asm/arch/stm32mp1_smc.h>
@@ -25,6 +26,7 @@ 
 #include <linux/printk.h>
 #include <linux/sizes.h>
 #include <linux/string.h>
+#include <linux/types.h>
 
 #include "stm32prog.h"
 
diff --git a/arch/arm/mach-stm32mp/cmd_stm32prog/stm32prog.h b/arch/arm/mach-stm32mp/cmd_stm32prog/stm32prog.h
index 46f014cb77f..29e524ef36f 100644
--- a/arch/arm/mach-stm32mp/cmd_stm32prog/stm32prog.h
+++ b/arch/arm/mach-stm32mp/cmd_stm32prog/stm32prog.h
@@ -9,6 +9,7 @@ 
 #include <stdbool.h>
 #include <vsprintf.h>
 #include <linux/printk.h>
+#include <linux/types.h>
 
 /* - phase defines ------------------------------------------------*/
 #define PHASE_FLASHLAYOUT	0x00
diff --git a/arch/arm/mach-stm32mp/cmd_stm32prog/stm32prog_serial.c b/arch/arm/mach-stm32mp/cmd_stm32prog/stm32prog_serial.c
index 55485302012..b90b7149d8d 100644
--- a/arch/arm/mach-stm32mp/cmd_stm32prog/stm32prog_serial.c
+++ b/arch/arm/mach-stm32mp/cmd_stm32prog/stm32prog_serial.c
@@ -13,6 +13,7 @@ 
 #include <vsprintf.h>
 #include <watchdog.h>
 #include <asm/global_data.h>
+#include <asm/types.h>
 #include <dm/lists.h>
 #include <dm/device-internal.h>
 #include <linux/delay.h>
diff --git a/arch/arm/mach-stm32mp/cmd_stm32prog/stm32prog_usb.c b/arch/arm/mach-stm32mp/cmd_stm32prog/stm32prog_usb.c
index a170fdfee94..8afdaffc240 100644
--- a/arch/arm/mach-stm32mp/cmd_stm32prog/stm32prog_usb.c
+++ b/arch/arm/mach-stm32mp/cmd_stm32prog/stm32prog_usb.c
@@ -15,6 +15,7 @@ 
 #include <linux/errno.h>
 #include <linux/printk.h>
 #include <linux/string.h>
+#include <linux/types.h>
 #include "stm32prog.h"
 
 static int stm32prog_set_phase(struct stm32prog_data *data, u8 phase,
diff --git a/arch/arm/mach-stm32mp/cpu.c b/arch/arm/mach-stm32mp/cpu.c
index 50959da323e..c9b475d4a5e 100644
--- a/arch/arm/mach-stm32mp/cpu.c
+++ b/arch/arm/mach-stm32mp/cpu.c
@@ -4,6 +4,7 @@ 
  */
 #include <common.h>
 #include <clk.h>
+#include <compiler.h>
 #include <cpu_func.h>
 #include <debug_uart.h>
 #include <env.h>
@@ -25,6 +26,7 @@ 
 #include <linux/errno.h>
 #include <linux/kernel.h>
 #include <linux/printk.h>
+#include <linux/types.h>
 
 /* RCC register */
 #define RCC_TZCR		(STM32_RCC_BASE + 0x00)
diff --git a/arch/arm/mach-stm32mp/dram_init.c b/arch/arm/mach-stm32mp/dram_init.c
index 77fd34148d7..8da8490fa50 100644
--- a/arch/arm/mach-stm32mp/dram_init.c
+++ b/arch/arm/mach-stm32mp/dram_init.c
@@ -13,6 +13,7 @@ 
 #include <asm/global_data.h>
 #include <asm/u-boot.h>
 #include <linux/kernel.h>
+#include <linux/types.h>
 
 DECLARE_GLOBAL_DATA_PTR;
 
diff --git a/arch/arm/mach-stm32mp/fdt.c b/arch/arm/mach-stm32mp/fdt.c
index e83885440b4..61d633d31b4 100644
--- a/arch/arm/mach-stm32mp/fdt.c
+++ b/arch/arm/mach-stm32mp/fdt.c
@@ -7,9 +7,11 @@ 
 #include <fdtdec.h>
 #include <fdt_support.h>
 #include <log.h>
+#include <stdbool.h>
 #include <stdio.h>
 #include <tee.h>
 #include <asm/arch/sys_proto.h>
+#include <asm/types.h>
 #include <asm/u-boot.h>
 #include <dt-bindings/pinctrl/stm32-pinfunc.h>
 #include <linux/io.h>
diff --git a/arch/arm/mach-stm32mp/include/mach/gpio.h b/arch/arm/mach-stm32mp/include/mach/gpio.h
index 5ca76d21ff1..ba383e82c3a 100644
--- a/arch/arm/mach-stm32mp/include/mach/gpio.h
+++ b/arch/arm/mach-stm32mp/include/mach/gpio.h
@@ -7,6 +7,7 @@ 
 #ifndef _STM32_GPIO_H_
 #define _STM32_GPIO_H_
 #include <asm/gpio.h>
+#include <asm/types.h>
 
 #define STM32_GPIOS_PER_BANK		16
 
diff --git a/arch/arm/mach-stm32mp/include/mach/stm32mp1_smc.h b/arch/arm/mach-stm32mp/include/mach/stm32mp1_smc.h
index fbc082703dc..353ec1b7587 100644
--- a/arch/arm/mach-stm32mp/include/mach/stm32mp1_smc.h
+++ b/arch/arm/mach-stm32mp/include/mach/stm32mp1_smc.h
@@ -6,6 +6,7 @@ 
 #ifndef __STM32MP1_SMC_H__
 #define __STM32MP1_SMC_H__
 
+#include <asm/types.h>
 #include <linux/arm-smccc.h>
 #include <linux/errno.h>
 #include <linux/printk.h>
diff --git a/arch/arm/mach-stm32mp/include/mach/sys_proto.h b/arch/arm/mach-stm32mp/include/mach/sys_proto.h
index 4149d3a1337..ffb2ea2019d 100644
--- a/arch/arm/mach-stm32mp/include/mach/sys_proto.h
+++ b/arch/arm/mach-stm32mp/include/mach/sys_proto.h
@@ -4,6 +4,7 @@ 
  */
 
 /* ID = Device Version (bit31:16) + Device Part Number (RPN) (bit7:0) */
+#include <asm/types.h>
 #define CPU_STM32MP157Cxx	0x05000000
 #define CPU_STM32MP157Axx	0x05000001
 #define CPU_STM32MP153Cxx	0x05000024
diff --git a/arch/arm/mach-stm32mp/psci.c b/arch/arm/mach-stm32mp/psci.c
index 155aa79cd5e..beca18d6fbc 100644
--- a/arch/arm/mach-stm32mp/psci.c
+++ b/arch/arm/mach-stm32mp/psci.c
@@ -11,6 +11,7 @@ 
 #include <asm/io.h>
 #include <asm/psci.h>
 #include <asm/secure.h>
+#include <asm/types.h>
 #include <linux/bitops.h>
 
 #define BOOT_API_A7_CORE0_MAGIC_NUMBER	0xCA7FACE0
diff --git a/arch/arm/mach-stm32mp/pwr_regulator.c b/arch/arm/mach-stm32mp/pwr_regulator.c
index 954603f6745..f478c3b8b00 100644
--- a/arch/arm/mach-stm32mp/pwr_regulator.c
+++ b/arch/arm/mach-stm32mp/pwr_regulator.c
@@ -6,6 +6,7 @@ 
 #include <common.h>
 #include <dm.h>
 #include <errno.h>
+#include <stdbool.h>
 #include <syscon.h>
 #include <time.h>
 #include <asm/io.h>
@@ -13,6 +14,7 @@ 
 #include <linux/bitops.h>
 #include <linux/err.h>
 #include <linux/errno.h>
+#include <linux/types.h>
 #include <power/pmic.h>
 #include <power/regulator.h>
 
diff --git a/arch/arm/mach-stm32mp/spl.c b/arch/arm/mach-stm32mp/spl.c
index d2aae1a69f1..5e6aef9c390 100644
--- a/arch/arm/mach-stm32mp/spl.c
+++ b/arch/arm/mach-stm32mp/spl.c
@@ -4,6 +4,7 @@ 
  */
 
 #include <common.h>
+#include <compiler.h>
 #include <cpu_func.h>
 #include <dm.h>
 #include <hang.h>
@@ -18,6 +19,7 @@ 
 #include <asm/u-boot.h>
 #include <linux/errno.h>
 #include <linux/libfdt.h>
+#include <linux/types.h>
 
 u32 spl_boot_device(void)
 {
diff --git a/arch/arm/mach-sunxi/board.c b/arch/arm/mach-sunxi/board.c
index d7e77f95747..68332d27fe7 100644
--- a/arch/arm/mach-sunxi/board.c
+++ b/arch/arm/mach-sunxi/board.c
@@ -29,6 +29,7 @@ 
 #include <asm/arch/tzpc.h>
 #include <asm/arch/mmc.h>
 #include <asm/u-boot.h>
+#include <linux/types.h>
 
 #include <linux/compiler.h>
 
diff --git a/arch/arm/mach-sunxi/clock.c b/arch/arm/mach-sunxi/clock.c
index f591affebf7..e804cacf186 100644
--- a/arch/arm/mach-sunxi/clock.c
+++ b/arch/arm/mach-sunxi/clock.c
@@ -8,12 +8,14 @@ 
  */
 
 #include <common.h>
+#include <compiler.h>
 #include <asm/io.h>
 #include <asm/arch/clock.h>
 #include <asm/arch/gpio.h>
 #include <asm/arch/prcm.h>
 #include <asm/arch/gtbus.h>
 #include <asm/arch/sys_proto.h>
+#include <linux/types.h>
 
 __weak void clock_init_sec(void)
 {
diff --git a/arch/arm/mach-sunxi/clock_sun4i.c b/arch/arm/mach-sunxi/clock_sun4i.c
index 7799c5750d3..4646d4cff59 100644
--- a/arch/arm/mach-sunxi/clock_sun4i.c
+++ b/arch/arm/mach-sunxi/clock_sun4i.c
@@ -16,6 +16,7 @@ 
 #include <asm/arch/gpio.h>
 #include <asm/arch/sys_proto.h>
 #include <linux/kernel.h>
+#include <linux/types.h>
 
 #ifdef CONFIG_SPL_BUILD
 void clock_init_safe(void)
diff --git a/arch/arm/mach-sunxi/clock_sun50i_h6.c b/arch/arm/mach-sunxi/clock_sun50i_h6.c
index ba8a26eb0d3..10fe7748f03 100644
--- a/arch/arm/mach-sunxi/clock_sun50i_h6.c
+++ b/arch/arm/mach-sunxi/clock_sun50i_h6.c
@@ -2,6 +2,7 @@ 
 #include <asm/io.h>
 #include <asm/arch/cpu.h>
 #include <asm/arch/clock.h>
+#include <linux/types.h>
 
 #ifdef CONFIG_SPL_BUILD
 void clock_init_safe(void)
diff --git a/arch/arm/mach-sunxi/clock_sun6i.c b/arch/arm/mach-sunxi/clock_sun6i.c
index 529fdd7754e..5e79a1a2e57 100644
--- a/arch/arm/mach-sunxi/clock_sun6i.c
+++ b/arch/arm/mach-sunxi/clock_sun6i.c
@@ -17,6 +17,7 @@ 
 #include <asm/arch/sys_proto.h>
 #include <linux/bitops.h>
 #include <linux/delay.h>
+#include <linux/types.h>
 
 #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 31e4281529a..c29cf314023 100644
--- a/arch/arm/mach-sunxi/clock_sun8i_a83t.c
+++ b/arch/arm/mach-sunxi/clock_sun8i_a83t.c
@@ -15,6 +15,7 @@ 
 #include <asm/arch/prcm.h>
 #include <asm/arch/sys_proto.h>
 #include <linux/delay.h>
+#include <linux/types.h>
 
 #ifdef CONFIG_SPL_BUILD
 void clock_init_safe(void)
diff --git a/arch/arm/mach-sunxi/clock_sun9i.c b/arch/arm/mach-sunxi/clock_sun9i.c
index 8ba4802f3b3..1765ac31eb7 100644
--- a/arch/arm/mach-sunxi/clock_sun9i.c
+++ b/arch/arm/mach-sunxi/clock_sun9i.c
@@ -14,6 +14,7 @@ 
 #include <asm/arch/clock.h>
 #include <asm/arch/prcm.h>
 #include <asm/arch/sys_proto.h>
+#include <linux/types.h>
 
 
 #ifdef CONFIG_SPL_BUILD
diff --git a/arch/arm/mach-sunxi/cpu_info.c b/arch/arm/mach-sunxi/cpu_info.c
index 5a7d03dce89..1e10defc075 100644
--- a/arch/arm/mach-sunxi/cpu_info.c
+++ b/arch/arm/mach-sunxi/cpu_info.c
@@ -14,6 +14,7 @@ 
 #include <axp_pmic.h>
 #include <errno.h>
 #include <linux/errno.h>
+#include <linux/types.h>
 
 #ifdef CONFIG_MACH_SUN6I
 int sunxi_get_ss_bonding_id(void)
diff --git a/arch/arm/mach-sunxi/dram_helpers.c b/arch/arm/mach-sunxi/dram_helpers.c
index ffadaa42570..cc61d5747aa 100644
--- a/arch/arm/mach-sunxi/dram_helpers.c
+++ b/arch/arm/mach-sunxi/dram_helpers.c
@@ -12,6 +12,7 @@ 
 #include <asm/barriers.h>
 #include <asm/io.h>
 #include <asm/arch/dram.h>
+#include <linux/types.h>
 
 /*
  * Wait up to 1s for value to be set in given part of reg.
diff --git a/arch/arm/mach-sunxi/dram_sun4i.c b/arch/arm/mach-sunxi/dram_sun4i.c
index 6c406f11156..d51fd207001 100644
--- a/arch/arm/mach-sunxi/dram_sun4i.c
+++ b/arch/arm/mach-sunxi/dram_sun4i.c
@@ -22,12 +22,14 @@ 
 
 #include <common.h>
 #include <init.h>
+#include <stdbool.h>
 #include <vsprintf.h>
 #include <asm/io.h>
 #include <asm/arch/clock.h>
 #include <asm/arch/dram.h>
 #include <asm/arch/timer.h>
 #include <asm/arch/sys_proto.h>
+#include <asm/types.h>
 #include <linux/delay.h>
 #include <linux/kernel.h>
 
diff --git a/arch/arm/mach-sunxi/dram_sun50i_h6.c b/arch/arm/mach-sunxi/dram_sun50i_h6.c
index ea47fa86478..ec351079037 100644
--- a/arch/arm/mach-sunxi/dram_sun50i_h6.c
+++ b/arch/arm/mach-sunxi/dram_sun50i_h6.c
@@ -14,6 +14,7 @@ 
 #include <asm/arch/clock.h>
 #include <asm/arch/dram.h>
 #include <asm/arch/cpu.h>
+#include <asm/types.h>
 #include <linux/bitops.h>
 #include <linux/delay.h>
 #include <linux/kconfig.h>
diff --git a/arch/arm/mach-sunxi/dram_sun6i.c b/arch/arm/mach-sunxi/dram_sun6i.c
index 53f8ac068ae..ba310e1192f 100644
--- a/arch/arm/mach-sunxi/dram_sun6i.c
+++ b/arch/arm/mach-sunxi/dram_sun6i.c
@@ -18,6 +18,7 @@ 
 #include <asm/arch/clock.h>
 #include <asm/arch/dram.h>
 #include <asm/arch/prcm.h>
+#include <asm/types.h>
 #include <linux/delay.h>
 
 #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 3ed97b59a32..25084956ebb 100644
--- a/arch/arm/mach-sunxi/dram_sun8i_a23.c
+++ b/arch/arm/mach-sunxi/dram_sun8i_a23.c
@@ -26,6 +26,7 @@ 
 #include <asm/arch/clock.h>
 #include <asm/arch/dram.h>
 #include <asm/arch/prcm.h>
+#include <asm/types.h>
 #include <linux/delay.h>
 
 static const struct dram_para dram_para = {
diff --git a/arch/arm/mach-sunxi/dram_sun8i_a33.c b/arch/arm/mach-sunxi/dram_sun8i_a33.c
index 5b993afe3ef..c2ea86ffd62 100644
--- a/arch/arm/mach-sunxi/dram_sun8i_a33.c
+++ b/arch/arm/mach-sunxi/dram_sun8i_a33.c
@@ -14,6 +14,7 @@ 
 #include <asm/arch/clock.h>
 #include <asm/arch/dram.h>
 #include <asm/arch/prcm.h>
+#include <asm/types.h>
 #include <linux/delay.h>
 #include <linux/errno.h>
 #include <linux/kernel.h>
diff --git a/arch/arm/mach-sunxi/dram_sun8i_a83t.c b/arch/arm/mach-sunxi/dram_sun8i_a83t.c
index bf627921440..93c90ccbb0f 100644
--- a/arch/arm/mach-sunxi/dram_sun8i_a83t.c
+++ b/arch/arm/mach-sunxi/dram_sun8i_a83t.c
@@ -14,6 +14,7 @@ 
 #include <asm/arch/clock.h>
 #include <asm/arch/dram.h>
 #include <asm/arch/prcm.h>
+#include <asm/types.h>
 #include <linux/delay.h>
 #include <linux/errno.h>
 #include <linux/kernel.h>
diff --git a/arch/arm/mach-sunxi/dram_sun9i.c b/arch/arm/mach-sunxi/dram_sun9i.c
index e2ab5d2fafb..b499b841649 100644
--- a/arch/arm/mach-sunxi/dram_sun9i.c
+++ b/arch/arm/mach-sunxi/dram_sun9i.c
@@ -21,6 +21,7 @@ 
 #include <asm/arch/clock.h>
 #include <asm/arch/dram.h>
 #include <asm/arch/sys_proto.h>
+#include <asm/types.h>
 
 #define DRAM_CLK (CONFIG_DRAM_CLK * 1000000)
 
diff --git a/arch/arm/mach-sunxi/dram_sunxi_dw.c b/arch/arm/mach-sunxi/dram_sunxi_dw.c
index 3fa8509efb9..6147d0f745f 100644
--- a/arch/arm/mach-sunxi/dram_sunxi_dw.c
+++ b/arch/arm/mach-sunxi/dram_sunxi_dw.c
@@ -11,6 +11,7 @@ 
 #include <common.h>
 #include <init.h>
 #include <log.h>
+#include <stdbool.h>
 #include <vsprintf.h>
 #include <asm/io.h>
 #include <asm/arch/clock.h>
@@ -19,6 +20,7 @@ 
 #include <linux/delay.h>
 #include <linux/kconfig.h>
 #include <linux/kernel.h>
+#include <linux/types.h>
 
 static void mctl_phy_init(u32 val)
 {
diff --git a/arch/arm/mach-sunxi/dram_timings/ddr2_v3s.c b/arch/arm/mach-sunxi/dram_timings/ddr2_v3s.c
index 14ee586e147..eef6e0b66da 100644
--- a/arch/arm/mach-sunxi/dram_timings/ddr2_v3s.c
+++ b/arch/arm/mach-sunxi/dram_timings/ddr2_v3s.c
@@ -2,6 +2,7 @@ 
 #include <asm/arch/dram.h>
 #include <asm/arch/cpu.h>
 #include <linux/kernel.h>
+#include <linux/types.h>
 
 void mctl_set_timing_params(uint16_t socid, struct dram_para *para)
 {
diff --git a/arch/arm/mach-sunxi/dram_timings/ddr3_1333.c b/arch/arm/mach-sunxi/dram_timings/ddr3_1333.c
index a297d469a90..d2fb7203822 100644
--- a/arch/arm/mach-sunxi/dram_timings/ddr3_1333.c
+++ b/arch/arm/mach-sunxi/dram_timings/ddr3_1333.c
@@ -2,6 +2,7 @@ 
 #include <asm/arch/dram.h>
 #include <asm/arch/cpu.h>
 #include <linux/kernel.h>
+#include <linux/types.h>
 
 void mctl_set_timing_params(uint16_t socid, struct dram_para *para)
 {
diff --git a/arch/arm/mach-sunxi/dram_timings/h6_ddr3_1333.c b/arch/arm/mach-sunxi/dram_timings/h6_ddr3_1333.c
index 6160518efee..bceae65edb0 100644
--- a/arch/arm/mach-sunxi/dram_timings/h6_ddr3_1333.c
+++ b/arch/arm/mach-sunxi/dram_timings/h6_ddr3_1333.c
@@ -22,6 +22,7 @@ 
 #include <common.h>
 #include <asm/arch/dram.h>
 #include <asm/arch/cpu.h>
+#include <asm/types.h>
 #include <linux/kernel.h>
 
 /*
diff --git a/arch/arm/mach-sunxi/dram_timings/h6_lpddr3.c b/arch/arm/mach-sunxi/dram_timings/h6_lpddr3.c
index 497c59d8ae2..641abdbd9db 100644
--- a/arch/arm/mach-sunxi/dram_timings/h6_lpddr3.c
+++ b/arch/arm/mach-sunxi/dram_timings/h6_lpddr3.c
@@ -9,6 +9,7 @@ 
 #include <common.h>
 #include <asm/arch/dram.h>
 #include <asm/arch/cpu.h>
+#include <asm/types.h>
 #include <linux/kernel.h>
 
 static u32 mr_lpddr3[12] = {
diff --git a/arch/arm/mach-sunxi/dram_timings/lpddr3_stock.c b/arch/arm/mach-sunxi/dram_timings/lpddr3_stock.c
index 6378bbc22a3..071628657c0 100644
--- a/arch/arm/mach-sunxi/dram_timings/lpddr3_stock.c
+++ b/arch/arm/mach-sunxi/dram_timings/lpddr3_stock.c
@@ -2,6 +2,7 @@ 
 #include <asm/arch/dram.h>
 #include <asm/arch/cpu.h>
 #include <linux/kernel.h>
+#include <linux/types.h>
 
 void mctl_set_timing_params(uint16_t socid, struct dram_para *para)
 {
diff --git a/arch/arm/mach-sunxi/p2wi.c b/arch/arm/mach-sunxi/p2wi.c
index 550b37b3663..f8fc04c96eb 100644
--- a/arch/arm/mach-sunxi/p2wi.c
+++ b/arch/arm/mach-sunxi/p2wi.c
@@ -23,6 +23,7 @@ 
 #include <asm/arch/prcm.h>
 #include <asm/arch/clock.h>
 #include <asm/arch/sys_proto.h>
+#include <asm/types.h>
 #include <linux/errno.h>
 
 void p2wi_init(void)
diff --git a/arch/arm/mach-sunxi/pinmux.c b/arch/arm/mach-sunxi/pinmux.c
index 642483f06c5..ab8fc812635 100644
--- a/arch/arm/mach-sunxi/pinmux.c
+++ b/arch/arm/mach-sunxi/pinmux.c
@@ -8,6 +8,7 @@ 
 #include <common.h>
 #include <asm/io.h>
 #include <asm/arch/gpio.h>
+#include <asm/types.h>
 
 void sunxi_gpio_set_cfgbank(struct sunxi_gpio *pio, int bank_offset, u32 val)
 {
diff --git a/arch/arm/mach-sunxi/pmic_bus.c b/arch/arm/mach-sunxi/pmic_bus.c
index dea42de833f..0e23f7fa2f0 100644
--- a/arch/arm/mach-sunxi/pmic_bus.c
+++ b/arch/arm/mach-sunxi/pmic_bus.c
@@ -13,6 +13,7 @@ 
 #include <asm/arch/rsb.h>
 #include <i2c.h>
 #include <asm/arch/pmic_bus.h>
+#include <asm/types.h>
 
 #define AXP152_I2C_ADDR			0x30
 
diff --git a/arch/arm/mach-sunxi/prcm.c b/arch/arm/mach-sunxi/prcm.c
index 71a2e44918e..4970022fe5b 100644
--- a/arch/arm/mach-sunxi/prcm.c
+++ b/arch/arm/mach-sunxi/prcm.c
@@ -19,6 +19,7 @@ 
 #include <asm/arch/cpu.h>
 #include <asm/arch/prcm.h>
 #include <asm/arch/sys_proto.h>
+#include <asm/types.h>
 
 /* APB0 clock gate and reset bit offsets are the same. */
 void prcm_apb0_enable(u32 flags)
diff --git a/arch/arm/mach-sunxi/rsb.c b/arch/arm/mach-sunxi/rsb.c
index 2ec63f5a568..781f22053ea 100644
--- a/arch/arm/mach-sunxi/rsb.c
+++ b/arch/arm/mach-sunxi/rsb.c
@@ -15,6 +15,7 @@ 
 #include <asm/arch/gpio.h>
 #include <asm/arch/prcm.h>
 #include <asm/arch/rsb.h>
+#include <asm/types.h>
 #include <linux/errno.h>
 
 static int rsb_set_device_mode(void);
diff --git a/arch/arm/mach-sunxi/spl_spi_sunxi.c b/arch/arm/mach-sunxi/spl_spi_sunxi.c
index f9e1f27363f..aa8416d3e6a 100644
--- a/arch/arm/mach-sunxi/spl_spi_sunxi.c
+++ b/arch/arm/mach-sunxi/spl_spi_sunxi.c
@@ -13,6 +13,7 @@ 
 #include <linux/bitops.h>
 #include <linux/delay.h>
 #include <linux/libfdt.h>
+#include <linux/types.h>
 
 #ifdef CONFIG_SPL_OS_BOOT
 #error CONFIG_SPL_OS_BOOT is not supported yet
diff --git a/arch/arm/mach-tegra/ap.c b/arch/arm/mach-tegra/ap.c
index f8a1b36ed93..6e4fae24bc9 100644
--- a/arch/arm/mach-tegra/ap.c
+++ b/arch/arm/mach-tegra/ap.c
@@ -21,6 +21,7 @@ 
 #include <asm/arch-tegra/scu.h>
 #include <asm/arch-tegra/tegra.h>
 #include <asm/arch-tegra/warmboot.h>
+#include <linux/types.h>
 
 int tegra_get_chip(void)
 {
diff --git a/arch/arm/mach-tegra/board.c b/arch/arm/mach-tegra/board.c
index cd0eb258bf9..8d5d5e25f80 100644
--- a/arch/arm/mach-tegra/board.c
+++ b/arch/arm/mach-tegra/board.c
@@ -11,6 +11,7 @@ 
 #include <log.h>
 #include <ns16550.h>
 #include <spl.h>
+#include <stdbool.h>
 #include <asm/cache.h>
 #include <asm/global_data.h>
 #include <asm/io.h>
@@ -31,6 +32,7 @@ 
 #include <asm/arch-tegra/sys_proto.h>
 #include <asm/arch-tegra/warmboot.h>
 #include <linux/kernel.h>
+#include <linux/types.h>
 
 void save_boot_params_ret(void);
 
diff --git a/arch/arm/mach-tegra/board2.c b/arch/arm/mach-tegra/board2.c
index 819dabd90ea..3a48f01eb82 100644
--- a/arch/arm/mach-tegra/board2.c
+++ b/arch/arm/mach-tegra/board2.c
@@ -5,6 +5,7 @@ 
  */
 
 #include <common.h>
+#include <compiler.h>
 #include <dm.h>
 #include <env.h>
 #include <errno.h>
@@ -39,6 +40,7 @@ 
 #include <asm/arch/emc.h>
 #endif
 #include <asm/u-boot.h>
+#include <linux/types.h>
 #include "emc.h"
 
 DECLARE_GLOBAL_DATA_PTR;
diff --git a/arch/arm/mach-tegra/cache.c b/arch/arm/mach-tegra/cache.c
index d7063490e22..bea1013f891 100644
--- a/arch/arm/mach-tegra/cache.c
+++ b/arch/arm/mach-tegra/cache.c
@@ -11,6 +11,7 @@ 
 #if IS_ENABLED(CONFIG_TEGRA_GP_PADCTRL)
 #include <asm/arch/gp_padctrl.h>
 #endif
+#include <asm/types.h>
 
 #ifndef CONFIG_ARM64
 void config_cache(void)
diff --git a/arch/arm/mach-tegra/cboot.c b/arch/arm/mach-tegra/cboot.c
index 8760abbe9d4..6523daa48ee 100644
--- a/arch/arm/mach-tegra/cboot.c
+++ b/arch/arm/mach-tegra/cboot.c
@@ -12,6 +12,7 @@ 
 #include <log.h>
 #include <malloc.h>
 #include <net.h>
+#include <stdbool.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
@@ -21,6 +22,7 @@ 
 #include <linux/kernel.h>
 #include <linux/printk.h>
 #include <linux/string.h>
+#include <linux/types.h>
 
 #include <linux/ctype.h>
 #include <linux/sizes.h>
diff --git a/arch/arm/mach-tegra/clock.c b/arch/arm/mach-tegra/clock.c
index 567ba52ee88..17b88423ddd 100644
--- a/arch/arm/mach-tegra/clock.c
+++ b/arch/arm/mach-tegra/clock.c
@@ -6,10 +6,12 @@ 
 /* Tegra SoC common clock control functions */
 
 #include <common.h>
+#include <compiler.h>
 #include <div64.h>
 #include <dm.h>
 #include <errno.h>
 #include <log.h>
+#include <stdbool.h>
 #include <stdio.h>
 #include <time.h>
 #include <asm/io.h>
@@ -22,6 +24,7 @@ 
 #include <linux/delay.h>
 #include <linux/errno.h>
 #include <linux/kernel.h>
+#include <linux/types.h>
 
 /*
  * This is our record of the current clock rate of each clock. We don't
diff --git a/arch/arm/mach-tegra/cpu.c b/arch/arm/mach-tegra/cpu.c
index 216e307ccb2..22a04e30aee 100644
--- a/arch/arm/mach-tegra/cpu.c
+++ b/arch/arm/mach-tegra/cpu.c
@@ -15,6 +15,7 @@ 
 #include <asm/arch-tegra/pmc.h>
 #include <asm/arch-tegra/scu.h>
 #include <linux/delay.h>
+#include <linux/types.h>
 #include "cpu.h"
 
 int get_num_cpus(void)
diff --git a/arch/arm/mach-tegra/ivc.c b/arch/arm/mach-tegra/ivc.c
index 216673e4367..2e75b8bd059 100644
--- a/arch/arm/mach-tegra/ivc.c
+++ b/arch/arm/mach-tegra/ivc.c
@@ -10,6 +10,7 @@ 
 #include <linux/bug.h>
 #include <linux/errno.h>
 #include <linux/printk.h>
+#include <linux/types.h>
 
 #define TEGRA_IVC_ALIGN 64
 
diff --git a/arch/arm/mach-tegra/pinmux-common.c b/arch/arm/mach-tegra/pinmux-common.c
index 64c397fa497..67645261907 100644
--- a/arch/arm/mach-tegra/pinmux-common.c
+++ b/arch/arm/mach-tegra/pinmux-common.c
@@ -9,6 +9,7 @@ 
 #include <stdio.h>
 #include <asm/io.h>
 #include <asm/arch/pinmux.h>
+#include <asm/types.h>
 
 /* return 1 if a pingrp is in range */
 #define pmux_pingrp_isvalid(pin) (((pin) >= 0) && ((pin) < PMUX_PINGRP_COUNT))
diff --git a/arch/arm/mach-tegra/pmc.c b/arch/arm/mach-tegra/pmc.c
index f4747484f29..225ff46d660 100644
--- a/arch/arm/mach-tegra/pmc.c
+++ b/arch/arm/mach-tegra/pmc.c
@@ -9,6 +9,7 @@ 
 #include <stdbool.h>
 #include <stdio.h>
 #include <asm/global_data.h>
+#include <linux/types.h>
 
 #include <linux/arm-smccc.h>
 
diff --git a/arch/arm/mach-tegra/spl.c b/arch/arm/mach-tegra/spl.c
index ed897efc5f0..15e8031efe1 100644
--- a/arch/arm/mach-tegra/spl.c
+++ b/arch/arm/mach-tegra/spl.c
@@ -9,6 +9,7 @@ 
 #include <debug_uart.h>
 #include <log.h>
 #include <spl.h>
+#include <asm/types.h>
 
 #include <asm/io.h>
 #include <asm/arch/clock.h>
diff --git a/arch/arm/mach-tegra/tegra114/clock.c b/arch/arm/mach-tegra/tegra114/clock.c
index 53d958e82dd..10265cc5737 100644
--- a/arch/arm/mach-tegra/tegra114/clock.c
+++ b/arch/arm/mach-tegra/tegra114/clock.c
@@ -19,6 +19,7 @@ 
 #include <div64.h>
 #include <fdtdec.h>
 #include <linux/delay.h>
+#include <linux/types.h>
 
 /*
  * 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 7e529130ad5..04c11747ea9 100644
--- a/arch/arm/mach-tegra/tegra114/cpu.c
+++ b/arch/arm/mach-tegra/tegra114/cpu.c
@@ -14,6 +14,7 @@ 
 #include <asm/arch/tegra.h>
 #include <asm/arch-tegra/clk_rst.h>
 #include <asm/arch-tegra/pmc.h>
+#include <asm/types.h>
 #include <linux/delay.h>
 #include "../cpu.h"
 
diff --git a/arch/arm/mach-tegra/tegra124/clock.c b/arch/arm/mach-tegra/tegra124/clock.c
index edca9c3fdc3..6ae99246965 100644
--- a/arch/arm/mach-tegra/tegra124/clock.c
+++ b/arch/arm/mach-tegra/tegra124/clock.c
@@ -20,6 +20,7 @@ 
 #include <div64.h>
 #include <fdtdec.h>
 #include <linux/delay.h>
+#include <linux/types.h>
 
 /*
  * 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 2fce060037a..0adc4ccb233 100644
--- a/arch/arm/mach-tegra/tegra124/cpu.c
+++ b/arch/arm/mach-tegra/tegra124/cpu.c
@@ -16,6 +16,7 @@ 
 #include <asm/arch-tegra/clk_rst.h>
 #include <asm/arch-tegra/pmc.h>
 #include <asm/arch-tegra/ap.h>
+#include <asm/types.h>
 #include <linux/delay.h>
 #include "../cpu.h"
 
diff --git a/arch/arm/mach-tegra/tegra124/psci.c b/arch/arm/mach-tegra/tegra124/psci.c
index ab102a62261..98e556b3169 100644
--- a/arch/arm/mach-tegra/tegra124/psci.c
+++ b/arch/arm/mach-tegra/tegra124/psci.c
@@ -11,6 +11,7 @@ 
 #include <asm/arch/powergate.h>
 #include <asm/arch-tegra/ap.h>
 #include <asm/arch-tegra/pmc.h>
+#include <asm/types.h>
 
 static void park_cpu(void)
 {
diff --git a/arch/arm/mach-tegra/tegra124/xusb-padctl.c b/arch/arm/mach-tegra/tegra124/xusb-padctl.c
index 52398eba3fa..a4b7b1e25ed 100644
--- a/arch/arm/mach-tegra/tegra124/xusb-padctl.c
+++ b/arch/arm/mach-tegra/tegra124/xusb-padctl.c
@@ -10,6 +10,7 @@ 
 #include <log.h>
 #include <time.h>
 #include <asm/global_data.h>
+#include <asm/types.h>
 #include <dm/of_access.h>
 #include <dm/ofnode.h>
 #include <linux/delay.h>
diff --git a/arch/arm/mach-tegra/tegra20/clock.c b/arch/arm/mach-tegra/tegra20/clock.c
index c8db06cf66c..2bc7f9338ee 100644
--- a/arch/arm/mach-tegra/tegra20/clock.c
+++ b/arch/arm/mach-tegra/tegra20/clock.c
@@ -22,6 +22,7 @@ 
 #include <linux/delay.h>
 #include <linux/errno.h>
 #include <linux/printk.h>
+#include <linux/types.h>
 
 /*
  * 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 e5b60598f7f..9d182acc45f 100644
--- a/arch/arm/mach-tegra/tegra20/cpu.c
+++ b/arch/arm/mach-tegra/tegra20/cpu.c
@@ -7,6 +7,7 @@ 
 #include <asm/io.h>
 #include <asm/arch/tegra.h>
 #include <asm/arch-tegra/pmc.h>
+#include <asm/types.h>
 #include <linux/delay.h>
 #include "../cpu.h"
 
diff --git a/arch/arm/mach-tegra/tegra20/crypto.c b/arch/arm/mach-tegra/tegra20/crypto.c
index 1efaa5c3ecd..e151daa2b27 100644
--- a/arch/arm/mach-tegra/tegra20/crypto.c
+++ b/arch/arm/mach-tegra/tegra20/crypto.c
@@ -6,6 +6,7 @@ 
 
 #include <common.h>
 #include <log.h>
+#include <asm/types.h>
 #include <linux/errno.h>
 #include "crypto.h"
 #include "uboot_aes.h"
diff --git a/arch/arm/mach-tegra/tegra20/crypto.h b/arch/arm/mach-tegra/tegra20/crypto.h
index a773d03fc74..ecd11272c58 100644
--- a/arch/arm/mach-tegra/tegra20/crypto.h
+++ b/arch/arm/mach-tegra/tegra20/crypto.h
@@ -14,6 +14,7 @@ 
  * \param length	Size of source data
  * \param signature	Destination address for signature, AES_KEY_LENGTH bytes
  */
+#include <asm/types.h>
 int sign_data_block(u8 *source, unsigned length, u8 *signature);
 
 #endif /* #ifndef _CRYPTO_H_ */
diff --git a/arch/arm/mach-tegra/tegra20/emc.c b/arch/arm/mach-tegra/tegra20/emc.c
index 58abf790bd1..116393fcc06 100644
--- a/arch/arm/mach-tegra/tegra20/emc.c
+++ b/arch/arm/mach-tegra/tegra20/emc.c
@@ -13,6 +13,7 @@ 
 #include <asm/arch/emc.h>
 #include <asm/arch/tegra.h>
 #include <linux/string.h>
+#include <linux/types.h>
 
 /*
  * The EMC registers have shadow registers.  When the EMC clock is updated
diff --git a/arch/arm/mach-tegra/tegra20/warmboot.c b/arch/arm/mach-tegra/tegra20/warmboot.c
index f0050a4f821..404b93dffd3 100644
--- a/arch/arm/mach-tegra/tegra20/warmboot.c
+++ b/arch/arm/mach-tegra/tegra20/warmboot.c
@@ -8,6 +8,7 @@ 
 #include <stdio.h>
 #include <asm/global_data.h>
 #include <asm/io.h>
+#include <asm/types.h>
 #include <linux/errno.h>
 #include <asm/arch/clock.h>
 #include <asm/arch/emc.h>
diff --git a/arch/arm/mach-tegra/tegra20/warmboot_avp.c b/arch/arm/mach-tegra/tegra20/warmboot_avp.c
index be801d108e3..10ed02bd32f 100644
--- a/arch/arm/mach-tegra/tegra20/warmboot_avp.c
+++ b/arch/arm/mach-tegra/tegra20/warmboot_avp.c
@@ -15,6 +15,7 @@ 
 #include <asm/arch-tegra/clk_rst.h>
 #include <asm/arch-tegra/pmc.h>
 #include <asm/arch-tegra/warmboot.h>
+#include <asm/types.h>
 #include "warmboot_avp.h"
 
 #define DEBUG_RESET_CORESIGHT
diff --git a/arch/arm/mach-tegra/tegra210/clock.c b/arch/arm/mach-tegra/tegra210/clock.c
index 48f7e354108..5597016b8d3 100644
--- a/arch/arm/mach-tegra/tegra210/clock.c
+++ b/arch/arm/mach-tegra/tegra210/clock.c
@@ -24,6 +24,7 @@ 
 #include <linux/bitops.h>
 #include <linux/delay.h>
 #include <linux/errno.h>
+#include <linux/types.h>
 
 /*
  * 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 78cea2b9193..9b4bff7c97e 100644
--- a/arch/arm/mach-tegra/tegra210/xusb-padctl.c
+++ b/arch/arm/mach-tegra/tegra210/xusb-padctl.c
@@ -10,6 +10,7 @@ 
 #include <log.h>
 #include <time.h>
 #include <asm/global_data.h>
+#include <asm/types.h>
 #include <dm/of_access.h>
 #include <dm/ofnode.h>
 #include <linux/delay.h>
diff --git a/arch/arm/mach-tegra/tegra30/clock.c b/arch/arm/mach-tegra/tegra30/clock.c
index b35f02eedd4..a256a068625 100644
--- a/arch/arm/mach-tegra/tegra30/clock.c
+++ b/arch/arm/mach-tegra/tegra30/clock.c
@@ -21,6 +21,7 @@ 
 #include <linux/delay.h>
 #include <linux/errno.h>
 #include <linux/printk.h>
+#include <linux/types.h>
 
 /*
  * 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 651edd27ee8..bb2e711d63e 100644
--- a/arch/arm/mach-tegra/tegra30/cpu.c
+++ b/arch/arm/mach-tegra/tegra30/cpu.c
@@ -13,6 +13,7 @@ 
 #include <asm/arch-tegra/pmc.h>
 #include <asm/arch-tegra/tegra_i2c.h>
 #include <linux/delay.h>
+#include <linux/types.h>
 #include "../cpu.h"
 
 /* Tegra30-specific CPU init code */
diff --git a/arch/arm/mach-tegra/xusb-padctl-common.c b/arch/arm/mach-tegra/xusb-padctl-common.c
index 94a271311ce..d22f1d48759 100644
--- a/arch/arm/mach-tegra/xusb-padctl-common.c
+++ b/arch/arm/mach-tegra/xusb-padctl-common.c
@@ -8,6 +8,7 @@ 
 #include <common.h>
 #include <errno.h>
 #include <log.h>
+#include <asm/types.h>
 #include <linux/errno.h>
 #include <linux/printk.h>
 #include <linux/string.h>
diff --git a/arch/arm/mach-tegra/xusb-padctl-common.h b/arch/arm/mach-tegra/xusb-padctl-common.h
index e3fd613f2be..1899f5aee5d 100644
--- a/arch/arm/mach-tegra/xusb-padctl-common.h
+++ b/arch/arm/mach-tegra/xusb-padctl-common.h
@@ -8,6 +8,7 @@ 
 
 #include <common.h>
 #include <fdtdec.h>
+#include <asm/types.h>
 #include <dm/ofnode.h>
 
 #include <asm/io.h>
diff --git a/arch/arm/mach-u8500/cpuinfo.c b/arch/arm/mach-u8500/cpuinfo.c
index bc3fd036035..9c386005aad 100644
--- a/arch/arm/mach-u8500/cpuinfo.c
+++ b/arch/arm/mach-u8500/cpuinfo.c
@@ -7,6 +7,7 @@ 
 #include <init.h>
 #include <stdio.h>
 #include <asm/io.h>
+#include <asm/types.h>
 
 #define U8500_BOOTROM_BASE	0x90000000
 #define U8500_ASIC_ID_LOC_V2	(U8500_BOOTROM_BASE + 0x1DBF4)
diff --git a/arch/arm/mach-uniphier/arm32/cache-uniphier.c b/arch/arm/mach-uniphier/arm32/cache-uniphier.c
index cde2a8124fe..78b1ad98adf 100644
--- a/arch/arm/mach-uniphier/arm32/cache-uniphier.c
+++ b/arch/arm/mach-uniphier/arm32/cache-uniphier.c
@@ -5,7 +5,9 @@ 
  *   Author: Masahiro Yamada <yamada.masahiro@socionext.com>
  */
 
+#include <compiler.h>
 #include <cpu_func.h>
+#include <asm/types.h>
 #include <linux/io.h>
 #include <linux/kernel.h>
 #include <asm/armv7.h>
diff --git a/arch/arm/mach-uniphier/arm32/psci.c b/arch/arm/mach-uniphier/arm32/psci.c
index a4d260aeced..e099c91bb6a 100644
--- a/arch/arm/mach-uniphier/arm32/psci.c
+++ b/arch/arm/mach-uniphier/arm32/psci.c
@@ -16,6 +16,7 @@ 
 #include <asm/psci.h>
 #include <asm/secure.h>
 #include <asm/system.h>
+#include <linux/types.h>
 
 #include "../debug.h"
 #include "../soc-info.h"
diff --git a/arch/arm/mach-uniphier/base-address.c b/arch/arm/mach-uniphier/base-address.c
index 1ba55eb7ebb..344209f63da 100644
--- a/arch/arm/mach-uniphier/base-address.c
+++ b/arch/arm/mach-uniphier/base-address.c
@@ -3,6 +3,7 @@ 
 // Copyright (C) 2019 Socionext Inc.
 //   Author: Masahiro Yamada <yamada.masahiro@socionext.com>
 
+#include <compiler.h>
 #include <dm/of.h>
 #include <fdt_support.h>
 #include <linux/errno.h>
diff --git a/arch/arm/mach-uniphier/board_init.c b/arch/arm/mach-uniphier/board_init.c
index b112b4c8cad..2cc9c539e8e 100644
--- a/arch/arm/mach-uniphier/board_init.c
+++ b/arch/arm/mach-uniphier/board_init.c
@@ -5,6 +5,7 @@ 
  *   Author: Masahiro Yamada <yamada.masahiro@socionext.com>
  */
 
+#include <asm/types.h>
 #include <asm/u-boot.h>
 #include <linux/errno.h>
 #include <linux/io.h>
diff --git a/arch/arm/mach-uniphier/boot-device/boot-device-ld11.c b/arch/arm/mach-uniphier/boot-device/boot-device-ld11.c
index 4689ed79fdc..85539ea4aa6 100644
--- a/arch/arm/mach-uniphier/boot-device/boot-device-ld11.c
+++ b/arch/arm/mach-uniphier/boot-device/boot-device-ld11.c
@@ -5,6 +5,7 @@ 
  */
 
 #include <spl.h>
+#include <asm/types.h>
 #include <linux/io.h>
 #include <linux/kernel.h>
 
diff --git a/arch/arm/mach-uniphier/boot-device/boot-device-pxs2.c b/arch/arm/mach-uniphier/boot-device/boot-device-pxs2.c
index 677470cdc64..e0724021b91 100644
--- a/arch/arm/mach-uniphier/boot-device/boot-device-pxs2.c
+++ b/arch/arm/mach-uniphier/boot-device/boot-device-pxs2.c
@@ -5,6 +5,7 @@ 
  */
 
 #include <spl.h>
+#include <asm/types.h>
 #include <linux/io.h>
 #include <linux/kernel.h>
 
diff --git a/arch/arm/mach-uniphier/boot-device/boot-device-pxs3.c b/arch/arm/mach-uniphier/boot-device/boot-device-pxs3.c
index 68880993127..9076f55039c 100644
--- a/arch/arm/mach-uniphier/boot-device/boot-device-pxs3.c
+++ b/arch/arm/mach-uniphier/boot-device/boot-device-pxs3.c
@@ -5,6 +5,7 @@ 
  */
 
 #include <spl.h>
+#include <asm/types.h>
 #include <linux/bitops.h>
 #include <linux/io.h>
 #include <linux/kernel.h>
diff --git a/arch/arm/mach-uniphier/boot-device/boot-device.c b/arch/arm/mach-uniphier/boot-device/boot-device.c
index 1e6bc8433f7..fc7404e1f3e 100644
--- a/arch/arm/mach-uniphier/boot-device/boot-device.c
+++ b/arch/arm/mach-uniphier/boot-device/boot-device.c
@@ -6,7 +6,9 @@ 
 
 #include <command.h>
 #include <spl.h>
+#include <stdbool.h>
 #include <stdio.h>
+#include <asm/types.h>
 #include <linux/bitops.h>
 #include <linux/bug.h>
 #include <linux/errno.h>
diff --git a/arch/arm/mach-uniphier/boot-device/boot-device.h b/arch/arm/mach-uniphier/boot-device/boot-device.h
index bbb634316b3..43ec1094760 100644
--- a/arch/arm/mach-uniphier/boot-device/boot-device.h
+++ b/arch/arm/mach-uniphier/boot-device/boot-device.h
@@ -7,6 +7,7 @@ 
 #ifndef _UNIPHIER_BOOT_DEVICE_H_
 #define _UNIPHIER_BOOT_DEVICE_H_
 
+#include <asm/types.h>
 struct uniphier_boot_device {
 	unsigned int boot_device;
 	const char *desc;
diff --git a/arch/arm/mach-uniphier/clk/clk-dram-ld4.c b/arch/arm/mach-uniphier/clk/clk-dram-ld4.c
index 3b721eaf234..004a32f29a8 100644
--- a/arch/arm/mach-uniphier/clk/clk-dram-ld4.c
+++ b/arch/arm/mach-uniphier/clk/clk-dram-ld4.c
@@ -5,6 +5,7 @@ 
  */
 
 #include <spl.h>
+#include <asm/types.h>
 #include <linux/io.h>
 
 #include "../init.h"
diff --git a/arch/arm/mach-uniphier/clk/clk-dram-pro5.c b/arch/arm/mach-uniphier/clk/clk-dram-pro5.c
index 808d1ebfe19..43e215d3ded 100644
--- a/arch/arm/mach-uniphier/clk/clk-dram-pro5.c
+++ b/arch/arm/mach-uniphier/clk/clk-dram-pro5.c
@@ -3,6 +3,7 @@ 
  * Copyright (C) 2015-2017 Socionext Inc.
  */
 
+#include <asm/types.h>
 #include <linux/io.h>
 
 #include "../init.h"
diff --git a/arch/arm/mach-uniphier/clk/clk-dram-pxs2.c b/arch/arm/mach-uniphier/clk/clk-dram-pxs2.c
index 75d3e70d6aa..27629be7656 100644
--- a/arch/arm/mach-uniphier/clk/clk-dram-pxs2.c
+++ b/arch/arm/mach-uniphier/clk/clk-dram-pxs2.c
@@ -4,6 +4,7 @@ 
  */
 
 #include <spl.h>
+#include <asm/types.h>
 #include <linux/io.h>
 
 #include "../init.h"
diff --git a/arch/arm/mach-uniphier/clk/clk-early-ld4.c b/arch/arm/mach-uniphier/clk/clk-early-ld4.c
index 25b72d8926c..1ba584d09be 100644
--- a/arch/arm/mach-uniphier/clk/clk-early-ld4.c
+++ b/arch/arm/mach-uniphier/clk/clk-early-ld4.c
@@ -5,6 +5,7 @@ 
  */
 
 #include <spl.h>
+#include <asm/types.h>
 #include <linux/io.h>
 
 #include "../init.h"
diff --git a/arch/arm/mach-uniphier/clk/clk-ld11.c b/arch/arm/mach-uniphier/clk/clk-ld11.c
index d241a65382f..cf2205c9a1f 100644
--- a/arch/arm/mach-uniphier/clk/clk-ld11.c
+++ b/arch/arm/mach-uniphier/clk/clk-ld11.c
@@ -3,6 +3,7 @@ 
  * Copyright (C) 2016 Socionext Inc.
  */
 
+#include <compiler.h>
 #include <spl.h>
 #include <linux/bitops.h>
 #include <linux/delay.h>
diff --git a/arch/arm/mach-uniphier/clk/clk-ld20.c b/arch/arm/mach-uniphier/clk/clk-ld20.c
index 397b2d7384f..1d077dd0f1d 100644
--- a/arch/arm/mach-uniphier/clk/clk-ld20.c
+++ b/arch/arm/mach-uniphier/clk/clk-ld20.c
@@ -3,6 +3,7 @@ 
  * Copyright (C) 2017 Socionext Inc.
  */
 
+#include <asm/types.h>
 #include <linux/bitops.h>
 #include <linux/io.h>
 
diff --git a/arch/arm/mach-uniphier/clk/clk-pro4.c b/arch/arm/mach-uniphier/clk/clk-pro4.c
index 798128b3024..34d6d90fe68 100644
--- a/arch/arm/mach-uniphier/clk/clk-pro4.c
+++ b/arch/arm/mach-uniphier/clk/clk-pro4.c
@@ -5,6 +5,7 @@ 
  *   Author: Masahiro Yamada <yamada.masahiro@socionext.com>
  */
 
+#include <asm/types.h>
 #include <linux/io.h>
 
 #include "../init.h"
diff --git a/arch/arm/mach-uniphier/clk/clk-pro5.c b/arch/arm/mach-uniphier/clk/clk-pro5.c
index 36006fd256c..821689b12db 100644
--- a/arch/arm/mach-uniphier/clk/clk-pro5.c
+++ b/arch/arm/mach-uniphier/clk/clk-pro5.c
@@ -3,6 +3,7 @@ 
  * Copyright (C) 2015 Masahiro Yamada <yamada.masahiro@socionext.com>
  */
 
+#include <asm/types.h>
 #include <linux/io.h>
 
 #include "../init.h"
diff --git a/arch/arm/mach-uniphier/clk/clk-pxs2.c b/arch/arm/mach-uniphier/clk/clk-pxs2.c
index c2a75ce0001..e1b867ac3b0 100644
--- a/arch/arm/mach-uniphier/clk/clk-pxs2.c
+++ b/arch/arm/mach-uniphier/clk/clk-pxs2.c
@@ -3,6 +3,7 @@ 
  * Copyright (C) 2015 Masahiro Yamada <yamada.masahiro@socionext.com>
  */
 
+#include <asm/types.h>
 #include <linux/bitops.h>
 #include <linux/io.h>
 
diff --git a/arch/arm/mach-uniphier/clk/clk-pxs3.c b/arch/arm/mach-uniphier/clk/clk-pxs3.c
index 33b9c5b73d1..0d6f6a5c666 100644
--- a/arch/arm/mach-uniphier/clk/clk-pxs3.c
+++ b/arch/arm/mach-uniphier/clk/clk-pxs3.c
@@ -3,6 +3,7 @@ 
  * Copyright (C) 2017 Socionext Inc.
  */
 
+#include <asm/types.h>
 #include <linux/bitops.h>
 #include <linux/io.h>
 
diff --git a/arch/arm/mach-uniphier/clk/dpll-ld4.c b/arch/arm/mach-uniphier/clk/dpll-ld4.c
index fcdd2fddab3..082eeea9c67 100644
--- a/arch/arm/mach-uniphier/clk/dpll-ld4.c
+++ b/arch/arm/mach-uniphier/clk/dpll-ld4.c
@@ -4,6 +4,7 @@ 
  * Copyright (C) 2015-2016 Socionext Inc.
  */
 
+#include <asm/types.h>
 #include <asm/u-boot.h>
 #include <linux/delay.h>
 #include <linux/errno.h>
diff --git a/arch/arm/mach-uniphier/clk/dpll-pro4.c b/arch/arm/mach-uniphier/clk/dpll-pro4.c
index b5ba17af136..4d38440d397 100644
--- a/arch/arm/mach-uniphier/clk/dpll-pro4.c
+++ b/arch/arm/mach-uniphier/clk/dpll-pro4.c
@@ -4,6 +4,7 @@ 
  * Copyright (C) 2015-2016 Socionext Inc.
  */
 
+#include <asm/types.h>
 #include <asm/u-boot.h>
 #include <linux/delay.h>
 #include <linux/errno.h>
diff --git a/arch/arm/mach-uniphier/clk/dpll-sld8.c b/arch/arm/mach-uniphier/clk/dpll-sld8.c
index 1ac52d11f34..526b1c4cbbd 100644
--- a/arch/arm/mach-uniphier/clk/dpll-sld8.c
+++ b/arch/arm/mach-uniphier/clk/dpll-sld8.c
@@ -4,6 +4,7 @@ 
  * Copyright (C) 2015-2016 Socionext Inc.
  */
 
+#include <asm/types.h>
 #include <linux/delay.h>
 #include <linux/io.h>
 
diff --git a/arch/arm/mach-uniphier/clk/dpll-tail.c b/arch/arm/mach-uniphier/clk/dpll-tail.c
index 6ba5a367274..ac99313e8c0 100644
--- a/arch/arm/mach-uniphier/clk/dpll-tail.c
+++ b/arch/arm/mach-uniphier/clk/dpll-tail.c
@@ -5,6 +5,7 @@ 
  *   Author: Masahiro Yamada <yamada.masahiro@socionext.com>
  */
 
+#include <asm/types.h>
 #include <linux/io.h>
 
 #include "../sc-regs.h"
diff --git a/arch/arm/mach-uniphier/clk/pll-base-ld20.c b/arch/arm/mach-uniphier/clk/pll-base-ld20.c
index ea96d739c53..8b5b53da439 100644
--- a/arch/arm/mach-uniphier/clk/pll-base-ld20.c
+++ b/arch/arm/mach-uniphier/clk/pll-base-ld20.c
@@ -4,6 +4,8 @@ 
  *   Author: Masahiro Yamada <yamada.masahiro@socionext.com>
  */
 
+#include <compiler.h>
+#include <asm/types.h>
 #include <linux/bitfield.h>
 #include <linux/bitops.h>
 #include <linux/delay.h>
diff --git a/arch/arm/mach-uniphier/clk/pll-ld4.c b/arch/arm/mach-uniphier/clk/pll-ld4.c
index c66031bdd05..91eab0d0565 100644
--- a/arch/arm/mach-uniphier/clk/pll-ld4.c
+++ b/arch/arm/mach-uniphier/clk/pll-ld4.c
@@ -4,6 +4,7 @@ 
  * Copyright (C) 2015-2016 Socionext Inc.
  */
 
+#include <asm/types.h>
 #include <linux/delay.h>
 #include <linux/io.h>
 
diff --git a/arch/arm/mach-uniphier/clk/pll-pro4.c b/arch/arm/mach-uniphier/clk/pll-pro4.c
index b7dc3e261f8..4b27bead1cf 100644
--- a/arch/arm/mach-uniphier/clk/pll-pro4.c
+++ b/arch/arm/mach-uniphier/clk/pll-pro4.c
@@ -4,6 +4,7 @@ 
  * Copyright (C) 2015-2016 Socionext Inc.
  */
 
+#include <asm/types.h>
 #include <linux/delay.h>
 #include <linux/io.h>
 
diff --git a/arch/arm/mach-uniphier/debug-uart/debug-uart-ld6b.c b/arch/arm/mach-uniphier/debug-uart/debug-uart-ld6b.c
index f64ff39c9e6..77b6143b8d3 100644
--- a/arch/arm/mach-uniphier/debug-uart/debug-uart-ld6b.c
+++ b/arch/arm/mach-uniphier/debug-uart/debug-uart-ld6b.c
@@ -4,6 +4,7 @@ 
  */
 
 #include <config.h>
+#include <asm/types.h>
 #include <linux/kernel.h>
 #include <linux/io.h>
 
diff --git a/arch/arm/mach-uniphier/debug-uart/debug-uart-pro4.c b/arch/arm/mach-uniphier/debug-uart/debug-uart-pro4.c
index 79c6c101e22..66a0d3226e4 100644
--- a/arch/arm/mach-uniphier/debug-uart/debug-uart-pro4.c
+++ b/arch/arm/mach-uniphier/debug-uart/debug-uart-pro4.c
@@ -4,6 +4,7 @@ 
  */
 
 #include <config.h>
+#include <asm/types.h>
 #include <linux/kernel.h>
 #include <linux/io.h>
 
diff --git a/arch/arm/mach-uniphier/debug-uart/debug-uart-pro5.c b/arch/arm/mach-uniphier/debug-uart/debug-uart-pro5.c
index ef3b383ee43..347e91871a2 100644
--- a/arch/arm/mach-uniphier/debug-uart/debug-uart-pro5.c
+++ b/arch/arm/mach-uniphier/debug-uart/debug-uart-pro5.c
@@ -4,6 +4,7 @@ 
  */
 
 #include <config.h>
+#include <asm/types.h>
 #include <linux/kernel.h>
 #include <linux/io.h>
 
diff --git a/arch/arm/mach-uniphier/debug-uart/debug-uart-pxs2.c b/arch/arm/mach-uniphier/debug-uart/debug-uart-pxs2.c
index ee8caad1d45..5a6674e5cbb 100644
--- a/arch/arm/mach-uniphier/debug-uart/debug-uart-pxs2.c
+++ b/arch/arm/mach-uniphier/debug-uart/debug-uart-pxs2.c
@@ -4,6 +4,7 @@ 
  */
 
 #include <config.h>
+#include <asm/types.h>
 #include <linux/kernel.h>
 #include <linux/io.h>
 
diff --git a/arch/arm/mach-uniphier/debug-uart/debug-uart.c b/arch/arm/mach-uniphier/debug-uart/debug-uart.c
index d116d46812d..cbe61e614a4 100644
--- a/arch/arm/mach-uniphier/debug-uart/debug-uart.c
+++ b/arch/arm/mach-uniphier/debug-uart/debug-uart.c
@@ -3,7 +3,9 @@ 
  * Copyright (C) 2016 Masahiro Yamada <yamada.masahiro@socionext.com>
  */
 
+#include <compiler.h>
 #include <debug_uart.h>
+#include <asm/types.h>
 #include <linux/io.h>
 #include <linux/serial_reg.h>
 
diff --git a/arch/arm/mach-uniphier/debug.h b/arch/arm/mach-uniphier/debug.h
index 466dc9b03bf..7f699fdb6c7 100644
--- a/arch/arm/mach-uniphier/debug.h
+++ b/arch/arm/mach-uniphier/debug.h
@@ -7,6 +7,7 @@ 
 #ifndef __DEBUG_H__
 #define __DEBUG_H__
 
+#include <compiler.h>
 #include <linux/io.h>
 #include <linux/serial_reg.h>
 
diff --git a/arch/arm/mach-uniphier/dram/cmd_ddrmphy.c b/arch/arm/mach-uniphier/dram/cmd_ddrmphy.c
index be4ce3265bb..d36bc4834b5 100644
--- a/arch/arm/mach-uniphier/dram/cmd_ddrmphy.c
+++ b/arch/arm/mach-uniphier/dram/cmd_ddrmphy.c
@@ -5,11 +5,13 @@ 
  */
 
 #include <command.h>
+#include <compiler.h>
 #include <stdio.h>
 #include <linux/io.h>
 #include <linux/printk.h>
 #include <linux/sizes.h>
 #include <linux/string.h>
+#include <linux/types.h>
 
 #include "../soc-info.h"
 #include "ddrmphy-regs.h"
diff --git a/arch/arm/mach-uniphier/dram/cmd_ddrphy.c b/arch/arm/mach-uniphier/dram/cmd_ddrphy.c
index 3ccafe20638..0d4f88327c8 100644
--- a/arch/arm/mach-uniphier/dram/cmd_ddrphy.c
+++ b/arch/arm/mach-uniphier/dram/cmd_ddrphy.c
@@ -6,11 +6,13 @@ 
  */
 
 #include <command.h>
+#include <compiler.h>
 #include <stdio.h>
 #include <linux/io.h>
 #include <linux/printk.h>
 #include <linux/sizes.h>
 #include <linux/string.h>
+#include <linux/types.h>
 
 #include "../soc-info.h"
 #include "ddrphy-regs.h"
diff --git a/arch/arm/mach-uniphier/dram/ddrphy-ld4.c b/arch/arm/mach-uniphier/dram/ddrphy-ld4.c
index 747bc64403d..a5ee11da47d 100644
--- a/arch/arm/mach-uniphier/dram/ddrphy-ld4.c
+++ b/arch/arm/mach-uniphier/dram/ddrphy-ld4.c
@@ -4,7 +4,9 @@ 
  * Copyright (C) 2015-2016 Socionext Inc.
  */
 
+#include <compiler.h>
 #include <stdbool.h>
+#include <asm/types.h>
 #include <linux/bitops.h>
 #include <linux/errno.h>
 #include <linux/io.h>
diff --git a/arch/arm/mach-uniphier/dram/ddrphy-training.c b/arch/arm/mach-uniphier/dram/ddrphy-training.c
index 1decdf1cbff..afe70f00bb1 100644
--- a/arch/arm/mach-uniphier/dram/ddrphy-training.c
+++ b/arch/arm/mach-uniphier/dram/ddrphy-training.c
@@ -4,6 +4,7 @@ 
  * Copyright (C) 2015-2016 Socionext Inc.
  */
 
+#include <compiler.h>
 #include <linux/bitops.h>
 #include <linux/delay.h>
 #include <linux/errno.h>
@@ -11,6 +12,7 @@ 
 #include <linux/kernel.h>
 #include <linux/printk.h>
 #include <time.h>
+#include <linux/types.h>
 
 #include "ddrphy-init.h"
 #include "ddrphy-regs.h"
diff --git a/arch/arm/mach-uniphier/dram/umc-ld4.c b/arch/arm/mach-uniphier/dram/umc-ld4.c
index 5b840aa0ea1..ad493df603e 100644
--- a/arch/arm/mach-uniphier/dram/umc-ld4.c
+++ b/arch/arm/mach-uniphier/dram/umc-ld4.c
@@ -5,7 +5,9 @@ 
  *   Author: Masahiro Yamada <yamada.masahiro@socionext.com>
  */
 
+#include <compiler.h>
 #include <stdbool.h>
+#include <asm/types.h>
 #include <asm/u-boot.h>
 #include <linux/errno.h>
 #include <linux/io.h>
diff --git a/arch/arm/mach-uniphier/dram/umc-pro4.c b/arch/arm/mach-uniphier/dram/umc-pro4.c
index e1a98e59c05..e4e7fae9ba2 100644
--- a/arch/arm/mach-uniphier/dram/umc-pro4.c
+++ b/arch/arm/mach-uniphier/dram/umc-pro4.c
@@ -5,7 +5,9 @@ 
  *   Author: Masahiro Yamada <yamada.masahiro@socionext.com>
  */
 
+#include <compiler.h>
 #include <stdbool.h>
+#include <asm/types.h>
 #include <asm/u-boot.h>
 #include <linux/errno.h>
 #include <linux/io.h>
diff --git a/arch/arm/mach-uniphier/dram/umc-pxs2.c b/arch/arm/mach-uniphier/dram/umc-pxs2.c
index 0af7ea38621..733550a1b61 100644
--- a/arch/arm/mach-uniphier/dram/umc-pxs2.c
+++ b/arch/arm/mach-uniphier/dram/umc-pxs2.c
@@ -7,6 +7,8 @@ 
  * Copyright (C) 2015 Socionext Inc.
  */
 
+#include <compiler.h>
+#include <asm/types.h>
 #include <asm/u-boot.h>
 #include <linux/bitops.h>
 #include <linux/delay.h>
diff --git a/arch/arm/mach-uniphier/dram/umc-sld8.c b/arch/arm/mach-uniphier/dram/umc-sld8.c
index 28b366ebdea..60ea309e964 100644
--- a/arch/arm/mach-uniphier/dram/umc-sld8.c
+++ b/arch/arm/mach-uniphier/dram/umc-sld8.c
@@ -5,7 +5,9 @@ 
  *   Author: Masahiro Yamada <yamada.masahiro@socionext.com>
  */
 
+#include <compiler.h>
 #include <stdbool.h>
+#include <asm/types.h>
 #include <asm/u-boot.h>
 #include <linux/errno.h>
 #include <linux/io.h>
diff --git a/arch/arm/mach-uniphier/dram_init.c b/arch/arm/mach-uniphier/dram_init.c
index 7f2753190c2..b71ba75d33c 100644
--- a/arch/arm/mach-uniphier/dram_init.c
+++ b/arch/arm/mach-uniphier/dram_init.c
@@ -6,6 +6,8 @@ 
  */
 
 #include <init.h>
+#include <stdbool.h>
+#include <asm/types.h>
 #include <linux/errno.h>
 #include <linux/io.h>
 #include <linux/kernel.h>
diff --git a/arch/arm/mach-uniphier/memconf.c b/arch/arm/mach-uniphier/memconf.c
index 7a79340a92c..7fd798445b7 100644
--- a/arch/arm/mach-uniphier/memconf.c
+++ b/arch/arm/mach-uniphier/memconf.c
@@ -5,6 +5,7 @@ 
  *   Author: Masahiro Yamada <yamada.masahiro@socionext.com>
  */
 
+#include <asm/types.h>
 #include <asm/u-boot.h>
 #include <linux/errno.h>
 #include <linux/io.h>
diff --git a/arch/arm/mach-uniphier/micro-support-card.c b/arch/arm/mach-uniphier/micro-support-card.c
index 07ce46bd9dd..7d2e08fd6eb 100644
--- a/arch/arm/mach-uniphier/micro-support-card.c
+++ b/arch/arm/mach-uniphier/micro-support-card.c
@@ -5,10 +5,12 @@ 
  *   Author: Masahiro Yamada <yamada.masahiro@socionext.com>
  */
 
+#include <compiler.h>
 #include <dm.h>
 #include <fdt_support.h>
 #include <stdbool.h>
 #include <stdio.h>
+#include <asm/types.h>
 #include <linux/ctype.h>
 #include <linux/delay.h>
 #include <linux/io.h>
diff --git a/arch/arm/mach-uniphier/mmc-boot-mode.c b/arch/arm/mach-uniphier/mmc-boot-mode.c
index e47e5df6480..264a3c2a00c 100644
--- a/arch/arm/mach-uniphier/mmc-boot-mode.c
+++ b/arch/arm/mach-uniphier/mmc-boot-mode.c
@@ -6,6 +6,7 @@ 
 
 #include <mmc.h>
 #include <spl.h>
+#include <asm/types.h>
 
 u32 spl_mmc_boot_mode(const u32 boot_device)
 {
diff --git a/arch/arm/mach-uniphier/reset.c b/arch/arm/mach-uniphier/reset.c
index 5fffd23e9a5..a065935af32 100644
--- a/arch/arm/mach-uniphier/reset.c
+++ b/arch/arm/mach-uniphier/reset.c
@@ -6,6 +6,7 @@ 
  */
 
 #include <cpu_func.h>
+#include <asm/types.h>
 #include <linux/io.h>
 #include <asm/secure.h>
 
diff --git a/arch/arm/mach-uniphier/sc-regs.h b/arch/arm/mach-uniphier/sc-regs.h
index e43116e064b..c6ce432c597 100644
--- a/arch/arm/mach-uniphier/sc-regs.h
+++ b/arch/arm/mach-uniphier/sc-regs.h
@@ -11,6 +11,7 @@ 
 #define ARCH_SC_REGS_H
 
 #ifndef __ASSEMBLY__
+#include <compiler.h>
 #include <linux/compiler.h>
 #define sc_base			((void __iomem *)SC_BASE)
 #endif
diff --git a/arch/arm/mach-uniphier/sc64-regs.h b/arch/arm/mach-uniphier/sc64-regs.h
index fdcca232b61..ee34465aa48 100644
--- a/arch/arm/mach-uniphier/sc64-regs.h
+++ b/arch/arm/mach-uniphier/sc64-regs.h
@@ -10,6 +10,7 @@ 
 #define SC64_REGS_H
 
 #ifndef __ASSEMBLY__
+#include <compiler.h>
 #include <linux/compiler.h>
 extern void __iomem *sc_base;
 #endif
diff --git a/arch/arm/mach-uniphier/sg-regs.h b/arch/arm/mach-uniphier/sg-regs.h
index f47d1019498..7a876bcbfe7 100644
--- a/arch/arm/mach-uniphier/sg-regs.h
+++ b/arch/arm/mach-uniphier/sg-regs.h
@@ -11,6 +11,7 @@ 
 #define UNIPHIER_SG_REGS_H
 
 #ifndef __ASSEMBLY__
+#include <compiler.h>
 #include <linux/compiler.h>
 #ifdef CONFIG_ARCH_UNIPHIER_V8_MULTI
 extern void __iomem *sg_base;
diff --git a/arch/arm/mach-versal/include/mach/hardware.h b/arch/arm/mach-versal/include/mach/hardware.h
index 9af5afd3f3f..64b858e79db 100644
--- a/arch/arm/mach-versal/include/mach/hardware.h
+++ b/arch/arm/mach-versal/include/mach/hardware.h
@@ -4,6 +4,7 @@ 
  */
 
 #ifndef __ASSEMBLY__
+#include <asm/types.h>
 #include <linux/bitops.h>
 #endif
 
diff --git a/arch/arm/mach-versal/include/mach/sys_proto.h b/arch/arm/mach-versal/include/mach/sys_proto.h
index 31af049a21c..1f4dc80d8fd 100644
--- a/arch/arm/mach-versal/include/mach/sys_proto.h
+++ b/arch/arm/mach-versal/include/mach/sys_proto.h
@@ -3,6 +3,7 @@ 
  * Copyright 2016 - 2018 Xilinx, Inc.
  */
 
+#include <asm/types.h>
 enum {
 	TCM_LOCK,
 	TCM_SPLIT,
diff --git a/arch/arm/mach-versal/mp.c b/arch/arm/mach-versal/mp.c
index 001c3e9518a..0eada1838d4 100644
--- a/arch/arm/mach-versal/mp.c
+++ b/arch/arm/mach-versal/mp.c
@@ -11,6 +11,7 @@ 
 #include <asm/io.h>
 #include <asm/arch/hardware.h>
 #include <asm/arch/sys_proto.h>
+#include <asm/types.h>
 #include <linux/string.h>
 
 DECLARE_GLOBAL_DATA_PTR;
diff --git a/arch/arm/mach-versatile/timer.c b/arch/arm/mach-versatile/timer.c
index a0babce7baa..108a86d8919 100644
--- a/arch/arm/mach-versatile/timer.c
+++ b/arch/arm/mach-versatile/timer.c
@@ -19,6 +19,7 @@ 
  */
 
 #include <common.h>
+#include <linux/types.h>
 
 #define TIMER_ENABLE	(1 << 7)
 #define TIMER_MODE_MSK	(1 << 6)
diff --git a/arch/arm/mach-zynq/clk.c b/arch/arm/mach-zynq/clk.c
index 188f3803cad..401b06faf34 100644
--- a/arch/arm/mach-zynq/clk.c
+++ b/arch/arm/mach-zynq/clk.c
@@ -13,6 +13,7 @@ 
 #include <asm/global_data.h>
 #include <asm/u-boot.h>
 #include <linux/errno.h>
+#include <linux/types.h>
 
 DECLARE_GLOBAL_DATA_PTR;
 
diff --git a/arch/arm/mach-zynq/cpu.c b/arch/arm/mach-zynq/cpu.c
index d7933afee41..8c7d482a091 100644
--- a/arch/arm/mach-zynq/cpu.c
+++ b/arch/arm/mach-zynq/cpu.c
@@ -16,6 +16,7 @@ 
 #include <asm/arch/sys_proto.h>
 #include <asm/u-boot.h>
 #include <linux/errno.h>
+#include <linux/types.h>
 
 #define ZYNQ_SILICON_VER_MASK	0xF0000000
 #define ZYNQ_SILICON_VER_SHIFT	28
diff --git a/arch/arm/mach-zynq/ddrc.c b/arch/arm/mach-zynq/ddrc.c
index f601c927f1a..bca7d3d62df 100644
--- a/arch/arm/mach-zynq/ddrc.c
+++ b/arch/arm/mach-zynq/ddrc.c
@@ -9,6 +9,7 @@ 
 #include <asm/io.h>
 #include <asm/arch/sys_proto.h>
 #include <asm/arch/hardware.h>
+#include <asm/types.h>
 #include <linux/string.h>
 
 #ifndef CONFIG_ZYNQ_DDRC_INIT
diff --git a/arch/arm/mach-zynq/include/mach/hardware.h b/arch/arm/mach-zynq/include/mach/hardware.h
index 89eb565c941..9b9c1e8f2dc 100644
--- a/arch/arm/mach-zynq/include/mach/hardware.h
+++ b/arch/arm/mach-zynq/include/mach/hardware.h
@@ -6,6 +6,7 @@ 
 #ifndef _ASM_ARCH_HARDWARE_H
 #define _ASM_ARCH_HARDWARE_H
 
+#include <asm/types.h>
 #define ZYNQ_SYS_CTRL_BASEADDR		0xF8000000
 #define ZYNQ_DEV_CFG_APB_BASEADDR	0xF8007000
 #define ZYNQ_SCU_BASEADDR		0xF8F00000
diff --git a/arch/arm/mach-zynq/include/mach/sys_proto.h b/arch/arm/mach-zynq/include/mach/sys_proto.h
index 1dc16d479ea..3451517793b 100644
--- a/arch/arm/mach-zynq/include/mach/sys_proto.h
+++ b/arch/arm/mach-zynq/include/mach/sys_proto.h
@@ -6,6 +6,7 @@ 
 #ifndef _SYS_PROTO_H_
 #define _SYS_PROTO_H_
 
+#include <asm/types.h>
 extern void zynq_slcr_lock(void);
 extern void zynq_slcr_unlock(void);
 extern void zynq_slcr_cpu_reset(void);
diff --git a/arch/arm/mach-zynq/ps7_spl_init.c b/arch/arm/mach-zynq/ps7_spl_init.c
index 4c38724d4d7..35314960cfa 100644
--- a/arch/arm/mach-zynq/ps7_spl_init.c
+++ b/arch/arm/mach-zynq/ps7_spl_init.c
@@ -4,6 +4,7 @@ 
  * (c) Copyright 2016 Topic Embedded Products.
  */
 
+#include <compiler.h>
 #include <asm/io.h>
 #include <asm/spl.h>
 #include <asm/arch/sys_proto.h>
diff --git a/arch/arm/mach-zynq/slcr.c b/arch/arm/mach-zynq/slcr.c
index 67df265ba96..30d6aee8bd1 100644
--- a/arch/arm/mach-zynq/slcr.c
+++ b/arch/arm/mach-zynq/slcr.c
@@ -8,6 +8,7 @@ 
 #include <malloc.h>
 #include <asm/arch/hardware.h>
 #include <asm/arch/sys_proto.h>
+#include <asm/types.h>
 #include <linux/kernel.h>
 #include <linux/string.h>
 
diff --git a/arch/arm/mach-zynq/spl.c b/arch/arm/mach-zynq/spl.c
index 9c3ec9a0c3f..a5582083f22 100644
--- a/arch/arm/mach-zynq/spl.c
+++ b/arch/arm/mach-zynq/spl.c
@@ -13,6 +13,7 @@ 
 #include <asm/u-boot.h>
 #include <generated/dt.h>
 #include <linux/string.h>
+#include <linux/types.h>
 
 #include <asm/io.h>
 #include <asm/spl.h>
diff --git a/arch/arm/mach-zynq/timer.c b/arch/arm/mach-zynq/timer.c
index 08cb4406cc3..1854ee35108 100644
--- a/arch/arm/mach-zynq/timer.c
+++ b/arch/arm/mach-zynq/timer.c
@@ -38,6 +38,7 @@ 
 #include <asm/io.h>
 #include <asm/arch/hardware.h>
 #include <asm/arch/clk.h>
+#include <linux/types.h>
 
 DECLARE_GLOBAL_DATA_PTR;
 
diff --git a/arch/arm/mach-zynqmp-r5/cpu.c b/arch/arm/mach-zynqmp-r5/cpu.c
index a16c2216a29..7eff158a1cf 100644
--- a/arch/arm/mach-zynqmp-r5/cpu.c
+++ b/arch/arm/mach-zynqmp-r5/cpu.c
@@ -9,6 +9,7 @@ 
 #include <asm/armv7_mpu.h>
 #include <asm/global_data.h>
 #include <asm/u-boot.h>
+#include <linux/types.h>
 
 DECLARE_GLOBAL_DATA_PTR;
 
diff --git a/arch/arm/mach-zynqmp/clk.c b/arch/arm/mach-zynqmp/clk.c
index 83dfd4f1bd8..122f427e59e 100644
--- a/arch/arm/mach-zynqmp/clk.c
+++ b/arch/arm/mach-zynqmp/clk.c
@@ -11,6 +11,7 @@ 
 #include <asm/arch/hardware.h>
 #include <asm/arch/sys_proto.h>
 #include <asm/global_data.h>
+#include <asm/types.h>
 #include <asm/u-boot.h>
 
 DECLARE_GLOBAL_DATA_PTR;
diff --git a/arch/arm/mach-zynqmp/cpu.c b/arch/arm/mach-zynqmp/cpu.c
index 892cfb239a0..881080c2a9e 100644
--- a/arch/arm/mach-zynqmp/cpu.c
+++ b/arch/arm/mach-zynqmp/cpu.c
@@ -19,6 +19,7 @@ 
 #include <asm/u-boot.h>
 #include <linux/errno.h>
 #include <linux/string.h>
+#include <linux/types.h>
 
 #define ZYNQ_SILICON_VER_MASK	0xF000
 #define ZYNQ_SILICON_VER_SHIFT	12
diff --git a/arch/arm/mach-zynqmp/handoff.c b/arch/arm/mach-zynqmp/handoff.c
index 64e5320acc6..0318de61a79 100644
--- a/arch/arm/mach-zynqmp/handoff.c
+++ b/arch/arm/mach-zynqmp/handoff.c
@@ -9,6 +9,7 @@ 
 #include <asm/io.h>
 #include <asm/arch/hardware.h>
 #include <asm/arch/sys_proto.h>
+#include <linux/types.h>
 
 /*
  * atfhandoffparams
diff --git a/arch/arm/mach-zynqmp/include/mach/hardware.h b/arch/arm/mach-zynqmp/include/mach/hardware.h
index c5ba42124b0..682b4e32601 100644
--- a/arch/arm/mach-zynqmp/include/mach/hardware.h
+++ b/arch/arm/mach-zynqmp/include/mach/hardware.h
@@ -8,6 +8,7 @@ 
 #define _ASM_ARCH_HARDWARE_H
 
 #ifndef __ASSEMBLY__
+#include <asm/types.h>
 #include <linux/bitops.h>
 #endif
 
diff --git a/arch/arm/mach-zynqmp/include/mach/sys_proto.h b/arch/arm/mach-zynqmp/include/mach/sys_proto.h
index 05c81769d63..f874db3f923 100644
--- a/arch/arm/mach-zynqmp/include/mach/sys_proto.h
+++ b/arch/arm/mach-zynqmp/include/mach/sys_proto.h
@@ -8,6 +8,7 @@ 
 #define _ASM_ARCH_SYS_PROTO_H
 
 #include <stdbool.h>
+#include <linux/types.h>
 #define PAYLOAD_ARG_CNT		5
 
 #define ZYNQMP_CSU_SILICON_VER_MASK	0xF
diff --git a/arch/arm/mach-zynqmp/mp.c b/arch/arm/mach-zynqmp/mp.c
index b31da25933e..258cf27323c 100644
--- a/arch/arm/mach-zynqmp/mp.c
+++ b/arch/arm/mach-zynqmp/mp.c
@@ -13,6 +13,7 @@ 
 #include <asm/arch/hardware.h>
 #include <asm/arch/sys_proto.h>
 #include <asm/io.h>
+#include <asm/types.h>
 #include <linux/delay.h>
 #include <linux/string.h>
 
diff --git a/arch/arm/mach-zynqmp/psu_spl_init.c b/arch/arm/mach-zynqmp/psu_spl_init.c
index 5c5c7d136e7..ddda997165e 100644
--- a/arch/arm/mach-zynqmp/psu_spl_init.c
+++ b/arch/arm/mach-zynqmp/psu_spl_init.c
@@ -5,8 +5,10 @@ 
  * Michal Simek <michal.simek@xilinx.com>
  */
 #include <common.h>
+#include <compiler.h>
 #include <asm/io.h>
 #include <asm/arch/psu_init_gpl.h>
+#include <asm/types.h>
 #include <linux/delay.h>
 
 #define PSU_MASK_POLL_TIME 1100000
diff --git a/arch/arm/mach-zynqmp/spl.c b/arch/arm/mach-zynqmp/spl.c
index e8c2ae57774..8817dd4ae97 100644
--- a/arch/arm/mach-zynqmp/spl.c
+++ b/arch/arm/mach-zynqmp/spl.c
@@ -13,6 +13,7 @@ 
 #include <stdio.h>
 #include <asm/u-boot.h>
 #include <linux/delay.h>
+#include <linux/types.h>
 
 #include <asm/io.h>
 #include <asm/spl.h>
diff --git a/arch/m68k/cpu/mcf5227x/cpu.c b/arch/m68k/cpu/mcf5227x/cpu.c
index e4c7041c421..b9a6cd51cbf 100644
--- a/arch/m68k/cpu/mcf5227x/cpu.c
+++ b/arch/m68k/cpu/mcf5227x/cpu.c
@@ -15,6 +15,7 @@ 
 #include <watchdog.h>
 #include <command.h>
 #include <asm/global_data.h>
+#include <asm/types.h>
 #include <linux/delay.h>
 
 #include <asm/immap.h>
diff --git a/arch/m68k/cpu/mcf5227x/speed.c b/arch/m68k/cpu/mcf5227x/speed.c
index fa9d5cb7887..13f2fa553f8 100644
--- a/arch/m68k/cpu/mcf5227x/speed.c
+++ b/arch/m68k/cpu/mcf5227x/speed.c
@@ -9,6 +9,7 @@ 
 #include <clock_legacy.h>
 #include <asm/global_data.h>
 #include <asm/processor.h>
+#include <asm/types.h>
 
 #include <asm/immap.h>
 #include <asm/io.h>
diff --git a/arch/m68k/cpu/mcf523x/cpu.c b/arch/m68k/cpu/mcf523x/cpu.c
index bf3acb8f893..499b6dbc35f 100644
--- a/arch/m68k/cpu/mcf523x/cpu.c
+++ b/arch/m68k/cpu/mcf523x/cpu.c
@@ -17,6 +17,7 @@ 
 #include <command.h>
 #include <netdev.h>
 #include <asm/global_data.h>
+#include <asm/types.h>
 #include <asm/u-boot.h>
 
 #include <asm/immap.h>
diff --git a/arch/m68k/cpu/mcf52x2/cpu.c b/arch/m68k/cpu/mcf52x2/cpu.c
index 82f5b3c2f80..823221c0ea9 100644
--- a/arch/m68k/cpu/mcf52x2/cpu.c
+++ b/arch/m68k/cpu/mcf52x2/cpu.c
@@ -26,6 +26,7 @@ 
 #include <netdev.h>
 #include <asm/u-boot.h>
 #include <linux/delay.h>
+#include <linux/types.h>
 #include "cpu.h"
 
 DECLARE_GLOBAL_DATA_PTR;
diff --git a/arch/m68k/cpu/mcf52x2/cpu.h b/arch/m68k/cpu/mcf52x2/cpu.h
index 9bba7810e05..2d24333afef 100644
--- a/arch/m68k/cpu/mcf52x2/cpu.h
+++ b/arch/m68k/cpu/mcf52x2/cpu.h
@@ -9,6 +9,7 @@ 
 #define _CPU_H_
 
 #include <command.h>
+#include <compiler.h>
 
 /* Use this to create board specific reset functions */
 void board_reset(void) __attribute__((__weak__));
diff --git a/arch/m68k/cpu/mcf52x2/cpu_init.c b/arch/m68k/cpu/mcf52x2/cpu_init.c
index b564e75dbd0..9a83e853809 100644
--- a/arch/m68k/cpu/mcf52x2/cpu_init.c
+++ b/arch/m68k/cpu/mcf52x2/cpu_init.c
@@ -23,6 +23,7 @@ 
 #include <watchdog.h>
 #include <asm/immap.h>
 #include <asm/io.h>
+#include <asm/types.h>
 #include <asm/u-boot.h>
 
 #if defined(CONFIG_CMD_NET)
diff --git a/arch/m68k/cpu/mcf532x/cpu.c b/arch/m68k/cpu/mcf532x/cpu.c
index 776543f06a9..20ed945a407 100644
--- a/arch/m68k/cpu/mcf532x/cpu.c
+++ b/arch/m68k/cpu/mcf532x/cpu.c
@@ -17,6 +17,7 @@ 
 #include <command.h>
 #include <netdev.h>
 #include <asm/global_data.h>
+#include <asm/types.h>
 #include <asm/u-boot.h>
 #include <linux/delay.h>
 
diff --git a/arch/m68k/cpu/mcf532x/cpu_init.c b/arch/m68k/cpu/mcf532x/cpu_init.c
index f7d371e37a1..f9dcb7d4b61 100644
--- a/arch/m68k/cpu/mcf532x/cpu_init.c
+++ b/arch/m68k/cpu/mcf532x/cpu_init.c
@@ -14,6 +14,7 @@ 
 #include <watchdog.h>
 #include <asm/immap.h>
 #include <asm/io.h>
+#include <asm/types.h>
 #include <asm/u-boot.h>
 
 #if defined(CONFIG_MCFFEC)
diff --git a/arch/m68k/cpu/mcf532x/speed.c b/arch/m68k/cpu/mcf532x/speed.c
index e2985792d96..065938701e3 100644
--- a/arch/m68k/cpu/mcf532x/speed.c
+++ b/arch/m68k/cpu/mcf532x/speed.c
@@ -12,6 +12,7 @@ 
 #include <clock_legacy.h>
 #include <asm/global_data.h>
 #include <asm/processor.h>
+#include <asm/types.h>
 
 #include <asm/immap.h>
 #include <asm/io.h>
diff --git a/arch/m68k/cpu/mcf5445x/cpu.c b/arch/m68k/cpu/mcf5445x/cpu.c
index aa9af8a5a2a..70bf764abb2 100644
--- a/arch/m68k/cpu/mcf5445x/cpu.c
+++ b/arch/m68k/cpu/mcf5445x/cpu.c
@@ -17,6 +17,7 @@ 
 #include <command.h>
 #include <netdev.h>
 #include <asm/global_data.h>
+#include <asm/types.h>
 #include <asm/u-boot.h>
 #include <linux/delay.h>
 
diff --git a/arch/m68k/cpu/mcf5445x/cpu_init.c b/arch/m68k/cpu/mcf5445x/cpu_init.c
index 7610e03fa5f..10c9f635c26 100644
--- a/arch/m68k/cpu/mcf5445x/cpu_init.c
+++ b/arch/m68k/cpu/mcf5445x/cpu_init.c
@@ -16,6 +16,7 @@ 
 #include <asm/processor.h>
 #include <asm/rtc.h>
 #include <asm/io.h>
+#include <asm/types.h>
 #include <asm/u-boot.h>
 #include <linux/compiler.h>
 
diff --git a/arch/m68k/cpu/mcf5445x/pci.c b/arch/m68k/cpu/mcf5445x/pci.c
index af02c4934c9..9868ece5cc2 100644
--- a/arch/m68k/cpu/mcf5445x/pci.c
+++ b/arch/m68k/cpu/mcf5445x/pci.c
@@ -11,6 +11,7 @@ 
 #include <pci.h>
 #include <asm/io.h>
 #include <asm/immap.h>
+#include <asm/types.h>
 #include <linux/delay.h>
 
 #if defined(CONFIG_PCI)
diff --git a/arch/m68k/cpu/mcf5445x/speed.c b/arch/m68k/cpu/mcf5445x/speed.c
index a0b9af8866b..b2e373f9e1a 100644
--- a/arch/m68k/cpu/mcf5445x/speed.c
+++ b/arch/m68k/cpu/mcf5445x/speed.c
@@ -9,6 +9,7 @@ 
 #include <clock_legacy.h>
 #include <asm/global_data.h>
 #include <asm/processor.h>
+#include <asm/types.h>
 
 #include <asm/immap.h>
 #include <asm/io.h>
diff --git a/arch/m68k/cpu/mcf547x_8x/cpu.c b/arch/m68k/cpu/mcf547x_8x/cpu.c
index e1a7f360e77..b99e16a213e 100644
--- a/arch/m68k/cpu/mcf547x_8x/cpu.c
+++ b/arch/m68k/cpu/mcf547x_8x/cpu.c
@@ -17,6 +17,7 @@ 
 #include <command.h>
 #include <netdev.h>
 #include <asm/global_data.h>
+#include <asm/types.h>
 #include <asm/u-boot.h>
 
 #include <asm/immap.h>
diff --git a/arch/m68k/cpu/mcf547x_8x/cpu_init.c b/arch/m68k/cpu/mcf547x_8x/cpu_init.c
index 20443e81835..ac8b4df3b63 100644
--- a/arch/m68k/cpu/mcf547x_8x/cpu_init.c
+++ b/arch/m68k/cpu/mcf547x_8x/cpu_init.c
@@ -14,6 +14,7 @@ 
 #include <init.h>
 #include <asm/immap.h>
 #include <asm/io.h>
+#include <asm/types.h>
 #include <asm/u-boot.h>
 
 #if defined(CONFIG_CMD_NET)
diff --git a/arch/m68k/cpu/mcf547x_8x/pci.c b/arch/m68k/cpu/mcf547x_8x/pci.c
index 74ba68124f1..d83ad111cef 100644
--- a/arch/m68k/cpu/mcf547x_8x/pci.c
+++ b/arch/m68k/cpu/mcf547x_8x/pci.c
@@ -11,6 +11,7 @@ 
 #include <pci.h>
 #include <asm/io.h>
 #include <asm/immap.h>
+#include <asm/types.h>
 #include <linux/delay.h>
 
 #if defined(CONFIG_PCI)
diff --git a/arch/m68k/cpu/mcf547x_8x/slicetimer.c b/arch/m68k/cpu/mcf547x_8x/slicetimer.c
index 49f246b62e1..9439f51ebfe 100644
--- a/arch/m68k/cpu/mcf547x_8x/slicetimer.c
+++ b/arch/m68k/cpu/mcf547x_8x/slicetimer.c
@@ -10,6 +10,7 @@ 
 #include <time.h>
 #include <asm/global_data.h>
 #include <linux/delay.h>
+#include <linux/types.h>
 
 #include <asm/timer.h>
 #include <asm/immap.h>
diff --git a/arch/m68k/include/asm/coldfire/ata.h b/arch/m68k/include/asm/coldfire/ata.h
index d85c052c2eb..6cc7b373303 100644
--- a/arch/m68k/include/asm/coldfire/ata.h
+++ b/arch/m68k/include/asm/coldfire/ata.h
@@ -10,6 +10,7 @@ 
 #define __ATA_H__
 
 /* ATA */
+#include <asm/types.h>
 typedef struct atac {
 	/* PIO */
 	u8 toff;		/* 0x00 */
diff --git a/arch/m68k/include/asm/coldfire/crossbar.h b/arch/m68k/include/asm/coldfire/crossbar.h
index e26da133725..eb1dd3ee013 100644
--- a/arch/m68k/include/asm/coldfire/crossbar.h
+++ b/arch/m68k/include/asm/coldfire/crossbar.h
@@ -12,6 +12,7 @@ 
 /*********************************************************************
 * Cross-bar switch (XBS)
 *********************************************************************/
+#include <asm/types.h>
 typedef struct xbs {
 	u32 prs1;		/* 0x100 Priority Register Slave 1 */
 	u32 res1[3];		/* 0x104 - 0F */
diff --git a/arch/m68k/include/asm/coldfire/dspi.h b/arch/m68k/include/asm/coldfire/dspi.h
index ddd8f338054..5c08bcb6f1c 100644
--- a/arch/m68k/include/asm/coldfire/dspi.h
+++ b/arch/m68k/include/asm/coldfire/dspi.h
@@ -10,6 +10,7 @@ 
 #define __DSPI_H__
 
 /* DMA Serial Peripheral Interface (DSPI) */
+#include <asm/types.h>
 typedef struct dspi {
 	u32 mcr;	/* 0x00 */
 	u32 resv0;	/* 0x04 */
diff --git a/arch/m68k/include/asm/coldfire/edma.h b/arch/m68k/include/asm/coldfire/edma.h
index a89d02ab210..8d86e30e573 100644
--- a/arch/m68k/include/asm/coldfire/edma.h
+++ b/arch/m68k/include/asm/coldfire/edma.h
@@ -14,6 +14,7 @@ 
 *********************************************************************/
 
 /* eDMA module registers */
+#include <asm/types.h>
 typedef struct edma_ctrl {
 	u32 cr;			/* 0x00 Control Register */
 	u32 es;			/* 0x04 Error Status Register */
diff --git a/arch/m68k/include/asm/coldfire/eport.h b/arch/m68k/include/asm/coldfire/eport.h
index 0e64bef5ed6..c8f67c6bd66 100644
--- a/arch/m68k/include/asm/coldfire/eport.h
+++ b/arch/m68k/include/asm/coldfire/eport.h
@@ -10,6 +10,7 @@ 
 #define __EPORT_H__
 
 /* Edge Port Module (EPORT) */
+#include <asm/types.h>
 typedef struct eport {
 #ifdef CONFIG_MCF547x_8x
 	u16 par;	/* 0x00 */
diff --git a/arch/m68k/include/asm/coldfire/flexbus.h b/arch/m68k/include/asm/coldfire/flexbus.h
index c47787a87e7..0be751bec13 100644
--- a/arch/m68k/include/asm/coldfire/flexbus.h
+++ b/arch/m68k/include/asm/coldfire/flexbus.h
@@ -91,6 +91,7 @@  typedef struct fbcs {
 } fbcs_t;
 #endif
 
+#include <asm/types.h>
 #define FBCS_CSAR_BA(x)			((x) & 0xFFFF0000)
 
 #define FBCS_CSMR_BAM(x)		(((x) & 0xFFFF) << 16)
diff --git a/arch/m68k/include/asm/coldfire/flexcan.h b/arch/m68k/include/asm/coldfire/flexcan.h
index 7d8e9e269b6..6604e3502d3 100644
--- a/arch/m68k/include/asm/coldfire/flexcan.h
+++ b/arch/m68k/include/asm/coldfire/flexcan.h
@@ -10,6 +10,7 @@ 
 #define __FLEXCAN_H__
 
 /* FlexCan Message Buffer */
+#include <asm/types.h>
 typedef struct can_msgbuf_ctrl {
 #ifdef CONFIG_M5282
 	u8 tmstamp;		/* 0x00 Timestamp */
diff --git a/arch/m68k/include/asm/coldfire/intctrl.h b/arch/m68k/include/asm/coldfire/intctrl.h
index 7b42e65bc82..1f80a593446 100644
--- a/arch/m68k/include/asm/coldfire/intctrl.h
+++ b/arch/m68k/include/asm/coldfire/intctrl.h
@@ -15,6 +15,7 @@ 
 #	define	CONFIG_SYS_CF_INTC_REG1
 #endif
 
+#include <asm/types.h>
 typedef struct int0_ctrl {
 	/* Interrupt Controller 0 */
 	u32 iprh0;		/* 0x00 Pending High */
diff --git a/arch/m68k/include/asm/coldfire/lcd.h b/arch/m68k/include/asm/coldfire/lcd.h
index a347bed8382..e3124fc8b4f 100644
--- a/arch/m68k/include/asm/coldfire/lcd.h
+++ b/arch/m68k/include/asm/coldfire/lcd.h
@@ -10,6 +10,7 @@ 
 #define __LCDC_H__
 
 /* LCD module registers */
+#include <asm/types.h>
 typedef struct lcd_ctrl {
 	u32 ssar;		/* 0x00 Screen Start Address Register */
 	u32 sr;			/* 0x04 LCD Size Register */
diff --git a/arch/m68k/include/asm/coldfire/mdha.h b/arch/m68k/include/asm/coldfire/mdha.h
index be3dae972ab..647a246b9eb 100644
--- a/arch/m68k/include/asm/coldfire/mdha.h
+++ b/arch/m68k/include/asm/coldfire/mdha.h
@@ -10,6 +10,7 @@ 
 #define __MDHA_H__
 
 /* Message Digest Hardware Accelerator */
+#include <asm/types.h>
 typedef struct mdha_ctrl {
 	u32 mr;			/* 0x00 MDHA Mode */
 	u32 cr;			/* 0x04 Control */
diff --git a/arch/m68k/include/asm/coldfire/pwm.h b/arch/m68k/include/asm/coldfire/pwm.h
index 1b83acfe37b..570d110b737 100644
--- a/arch/m68k/include/asm/coldfire/pwm.h
+++ b/arch/m68k/include/asm/coldfire/pwm.h
@@ -10,6 +10,7 @@ 
 #define __ATA_H__
 
 /* Pulse Width Modulation (PWM) */
+#include <asm/types.h>
 typedef struct pwm_ctrl {
 #ifdef CONFIG_M5272
 	u8 cr0;
diff --git a/arch/m68k/include/asm/coldfire/qspi.h b/arch/m68k/include/asm/coldfire/qspi.h
index dd4565ae96e..13d7b9d364b 100644
--- a/arch/m68k/include/asm/coldfire/qspi.h
+++ b/arch/m68k/include/asm/coldfire/qspi.h
@@ -10,6 +10,7 @@ 
 #define __QSPI_H__
 
 /* QSPI module registers */
+#include <asm/types.h>
 typedef struct qspi_ctrl {
 	u16 mr;			/* 0x00 Mode */
 	u16 res1;
diff --git a/arch/m68k/include/asm/coldfire/rng.h b/arch/m68k/include/asm/coldfire/rng.h
index 88124e36e2e..2b3b8d26dc2 100644
--- a/arch/m68k/include/asm/coldfire/rng.h
+++ b/arch/m68k/include/asm/coldfire/rng.h
@@ -10,6 +10,7 @@ 
 #define __RNG_H__
 
 /* Random Number Generator */
+#include <asm/types.h>
 typedef struct rng_ctrl {
 	u32 cr;			/* 0x00 Control */
 	u32 sr;			/* 0x04 Status */
diff --git a/arch/m68k/include/asm/coldfire/skha.h b/arch/m68k/include/asm/coldfire/skha.h
index 3b48dc970c9..d6168e186da 100644
--- a/arch/m68k/include/asm/coldfire/skha.h
+++ b/arch/m68k/include/asm/coldfire/skha.h
@@ -9,6 +9,7 @@ 
 #ifndef __SKHA_H__
 #define __SKHA_H__
 
+#include <asm/types.h>
 typedef struct skha_ctrl {
 	u32 mr;			/* 0x00 Mode */
 	u32 cr;			/* 0x04 Control */
diff --git a/arch/m68k/include/asm/coldfire/ssi.h b/arch/m68k/include/asm/coldfire/ssi.h
index 900d6bdcf65..01167cb5caa 100644
--- a/arch/m68k/include/asm/coldfire/ssi.h
+++ b/arch/m68k/include/asm/coldfire/ssi.h
@@ -9,6 +9,7 @@ 
 #ifndef __SSI_H__
 #define __SSI_H__
 
+#include <asm/types.h>
 typedef struct ssi {
 	u32 tx0;
 	u32 tx1;
diff --git a/arch/m68k/include/asm/fec.h b/arch/m68k/include/asm/fec.h
index cdb8119d3ea..7f1c34ebd15 100644
--- a/arch/m68k/include/asm/fec.h
+++ b/arch/m68k/include/asm/fec.h
@@ -15,6 +15,7 @@ 
 #define	fec_h
 
 #include <phy.h>
+#include <linux/types.h>
 
 /* Buffer descriptors used FEC.
 */
diff --git a/arch/m68k/include/asm/fsl_mcdmafec.h b/arch/m68k/include/asm/fsl_mcdmafec.h
index de6c548fafd..fdc4fd7daf7 100644
--- a/arch/m68k/include/asm/fsl_mcdmafec.h
+++ b/arch/m68k/include/asm/fsl_mcdmafec.h
@@ -11,6 +11,7 @@ 
 
 /* Re-use of the definitions */
 #include <asm/fec.h>
+#include <linux/types.h>
 
 typedef struct fecdma {
 	u32 rsvd0;		/* 0x000 */
diff --git a/arch/m68k/include/asm/immap_520x.h b/arch/m68k/include/asm/immap_520x.h
index bb1237453ff..f4db2666d48 100644
--- a/arch/m68k/include/asm/immap_520x.h
+++ b/arch/m68k/include/asm/immap_520x.h
@@ -42,6 +42,7 @@ 
 #include <asm/coldfire/flexbus.h>
 #include <asm/coldfire/intctrl.h>
 #include <asm/coldfire/qspi.h>
+#include <asm/types.h>
 
 /* System Controller Module */
 typedef struct scm1 {
diff --git a/arch/m68k/include/asm/immap_5227x.h b/arch/m68k/include/asm/immap_5227x.h
index 710d6f5c0dd..e75f4c2d253 100644
--- a/arch/m68k/include/asm/immap_5227x.h
+++ b/arch/m68k/include/asm/immap_5227x.h
@@ -59,6 +59,7 @@ 
 #include <asm/coldfire/lcd.h>
 #include <asm/coldfire/pwm.h>
 #include <asm/coldfire/ssi.h>
+#include <asm/types.h>
 
 /* Reset Controller Module (RCM) */
 typedef struct rcm {
diff --git a/arch/m68k/include/asm/immap_5235.h b/arch/m68k/include/asm/immap_5235.h
index 27d905ef941..3fbca550209 100644
--- a/arch/m68k/include/asm/immap_5235.h
+++ b/arch/m68k/include/asm/immap_5235.h
@@ -54,6 +54,7 @@ 
 #include <asm/coldfire/qspi.h>
 #include <asm/coldfire/rng.h>
 #include <asm/coldfire/skha.h>
+#include <asm/types.h>
 
 /* System Control Module register */
 typedef struct scm_ctrl {
diff --git a/arch/m68k/include/asm/immap_5272.h b/arch/m68k/include/asm/immap_5272.h
index cd7b67256cf..9b6d5cd04ad 100644
--- a/arch/m68k/include/asm/immap_5272.h
+++ b/arch/m68k/include/asm/immap_5272.h
@@ -28,6 +28,7 @@ 
 #define MMAP_USB	(CONFIG_SYS_MBAR + 0x00001000)
 
 #include <asm/coldfire/pwm.h>
+#include <linux/types.h>
 
 /* System configuration registers */
 typedef struct sys_ctrl {
diff --git a/arch/m68k/include/asm/immap_5275.h b/arch/m68k/include/asm/immap_5275.h
index 8b1a08b4f24..90a39a83b2f 100644
--- a/arch/m68k/include/asm/immap_5275.h
+++ b/arch/m68k/include/asm/immap_5275.h
@@ -57,6 +57,7 @@ 
 #include <asm/coldfire/qspi.h>
 #include <asm/coldfire/rng.h>
 #include <asm/coldfire/skha.h>
+#include <asm/types.h>
 
 /* System configuration registers
 */
diff --git a/arch/m68k/include/asm/immap_5282.h b/arch/m68k/include/asm/immap_5282.h
index d7c68f5749a..20c551de131 100644
--- a/arch/m68k/include/asm/immap_5282.h
+++ b/arch/m68k/include/asm/immap_5282.h
@@ -50,6 +50,7 @@ 
 #include <asm/coldfire/flexcan.h>
 #include <asm/coldfire/intctrl.h>
 #include <asm/coldfire/qspi.h>
+#include <linux/types.h>
 
 /* System Control Module */
 typedef struct scm_ctrl {
diff --git a/arch/m68k/include/asm/immap_5301x.h b/arch/m68k/include/asm/immap_5301x.h
index 29e60863bfd..3500a09e0e1 100644
--- a/arch/m68k/include/asm/immap_5301x.h
+++ b/arch/m68k/include/asm/immap_5301x.h
@@ -59,6 +59,7 @@ 
 #include <asm/coldfire/ssi.h>
 #include <asm/coldfire/rng.h>
 #include <asm/rtc.h>
+#include <asm/types.h>
 
 /* System Controller Module */
 typedef struct scm1 {
diff --git a/arch/m68k/include/asm/immap_5307.h b/arch/m68k/include/asm/immap_5307.h
index e041e7e0afb..b01a1e6243d 100644
--- a/arch/m68k/include/asm/immap_5307.h
+++ b/arch/m68k/include/asm/immap_5307.h
@@ -7,6 +7,7 @@ 
 #ifndef __IMMAP_5307__
 #define __IMMAP_5307__
 
+#include <asm/types.h>
 #define MMAP_SIM	(CONFIG_SYS_MBAR + 0x00000000)
 #define MMAP_INTC	(CONFIG_SYS_MBAR + 0x00000040)
 #define MMAP_CSM	(CONFIG_SYS_MBAR + 0x00000080)
diff --git a/arch/m68k/include/asm/immap_5329.h b/arch/m68k/include/asm/immap_5329.h
index dbf3a2260ee..460d2c2fdf0 100644
--- a/arch/m68k/include/asm/immap_5329.h
+++ b/arch/m68k/include/asm/immap_5329.h
@@ -63,6 +63,7 @@ 
 #include <asm/coldfire/pwm.h>
 #include <asm/coldfire/ssi.h>
 #include <asm/coldfire/skha.h>
+#include <asm/types.h>
 
 /* System control module registers */
 typedef struct scm1_ctrl {
diff --git a/arch/m68k/include/asm/immap_5441x.h b/arch/m68k/include/asm/immap_5441x.h
index 708d0db755a..c4e61b75171 100644
--- a/arch/m68k/include/asm/immap_5441x.h
+++ b/arch/m68k/include/asm/immap_5441x.h
@@ -84,6 +84,7 @@ 
 #include <asm/coldfire/flexcan.h>
 #include <asm/coldfire/intctrl.h>
 #include <asm/coldfire/ssi.h>
+#include <asm/types.h>
 
 /* Serial Boot Facility (SBF) */
 typedef struct sbf {
diff --git a/arch/m68k/include/asm/immap_5445x.h b/arch/m68k/include/asm/immap_5445x.h
index 3111d00d3ee..76e8d2dc0a9 100644
--- a/arch/m68k/include/asm/immap_5445x.h
+++ b/arch/m68k/include/asm/immap_5445x.h
@@ -60,6 +60,7 @@ 
 #include <asm/coldfire/flexbus.h>
 #include <asm/coldfire/intctrl.h>
 #include <asm/coldfire/ssi.h>
+#include <asm/types.h>
 
 /* Watchdog Timer Modules (WTM) */
 typedef struct wtm {
diff --git a/arch/m68k/include/asm/immap_547x_8x.h b/arch/m68k/include/asm/immap_547x_8x.h
index 5e1345684de..8dee82e9e50 100644
--- a/arch/m68k/include/asm/immap_547x_8x.h
+++ b/arch/m68k/include/asm/immap_547x_8x.h
@@ -45,6 +45,7 @@ 
 #include <asm/coldfire/flexbus.h>
 #include <asm/coldfire/flexcan.h>
 #include <asm/coldfire/intctrl.h>
+#include <asm/types.h>
 
 typedef struct siu {
 	u32 mbar;		/* 0x00 */
diff --git a/arch/m68k/include/asm/io.h b/arch/m68k/include/asm/io.h
index 35ad4a1c044..95fcddb075e 100644
--- a/arch/m68k/include/asm/io.h
+++ b/arch/m68k/include/asm/io.h
@@ -10,6 +10,7 @@ 
 #define __ASM_M68K_IO_H__
 
 #include <asm/byteorder.h>
+#include <asm/types.h>
 
 #ifndef _IO_BASE
 #define _IO_BASE 0
diff --git a/arch/m68k/include/asm/m5282.h b/arch/m68k/include/asm/m5282.h
index 0c91cf491e2..261f49fdf20 100644
--- a/arch/m68k/include/asm/m5282.h
+++ b/arch/m68k/include/asm/m5282.h
@@ -11,6 +11,7 @@ 
 * PLL Clock Module
 *********************************************************************/
 /* Bit definitions and macros for PLL_SYNCR */
+#include <linux/types.h>
 #define PLL_SYNCR_LOLRE			(0x8000)
 #define PLL_SYNCR_MFD2			(0x4000)
 #define PLL_SYNCR_MFD1			(0x2000)
diff --git a/arch/m68k/include/asm/ptrace.h b/arch/m68k/include/asm/ptrace.h
index d419824806c..a17708195ea 100644
--- a/arch/m68k/include/asm/ptrace.h
+++ b/arch/m68k/include/asm/ptrace.h
@@ -9,6 +9,7 @@ 
  */
 #ifndef __ASSEMBLY__
 
+#include <linux/types.h>
 struct pt_regs {
 	ulong d0;
 	ulong d1;
diff --git a/arch/m68k/include/asm/rtc.h b/arch/m68k/include/asm/rtc.h
index 1fb492c76e1..544fa821571 100644
--- a/arch/m68k/include/asm/rtc.h
+++ b/arch/m68k/include/asm/rtc.h
@@ -10,6 +10,7 @@ 
 #define __MCFRTC_H__
 
 /* Real time Clock */
+#include <asm/types.h>
 typedef struct rtc_ctrl {
 	u32 hourmin;		/* 0x00 Hours and Minutes Counter Register */
 	u32 seconds;		/* 0x04 Seconds Counter Register */
diff --git a/arch/m68k/include/asm/timer.h b/arch/m68k/include/asm/timer.h
index 982d71a542e..47b75989633 100644
--- a/arch/m68k/include/asm/timer.h
+++ b/arch/m68k/include/asm/timer.h
@@ -12,6 +12,7 @@ 
 /****************************************************************************/
 
 /****************************************************************************/
+#include <asm/types.h>
 /* Timer structure */
 /****************************************************************************/
 /* DMA Timer module registers */
diff --git a/arch/m68k/include/asm/uart.h b/arch/m68k/include/asm/uart.h
index e4a9650a03c..2a41f7e507e 100644
--- a/arch/m68k/include/asm/uart.h
+++ b/arch/m68k/include/asm/uart.h
@@ -12,6 +12,7 @@ 
 /****************************************************************************/
 
 /* UART module registers */
+#include <asm/types.h>
 /* Register read/write struct */
 typedef struct uart {
 	u8 umr;			/* 0x00 Mode Register */
diff --git a/arch/m68k/lib/bdinfo.c b/arch/m68k/lib/bdinfo.c
index da4ad9049bd..e24e7424400 100644
--- a/arch/m68k/lib/bdinfo.c
+++ b/arch/m68k/lib/bdinfo.c
@@ -10,6 +10,7 @@ 
 #include <init.h>
 #include <asm/global_data.h>
 #include <asm/u-boot.h>
+#include <linux/types.h>
 
 DECLARE_GLOBAL_DATA_PTR;
 
diff --git a/arch/m68k/lib/bootm.c b/arch/m68k/lib/bootm.c
index 20ff33f7532..c70b24944e6 100644
--- a/arch/m68k/lib/bootm.c
+++ b/arch/m68k/lib/bootm.c
@@ -14,6 +14,7 @@ 
 #include <stdio.h>
 #include <asm/global_data.h>
 #include <asm/u-boot.h>
+#include <linux/types.h>
 #include <u-boot/zlib.h>
 #include <bzlib.h>
 #include <watchdog.h>
diff --git a/arch/m68k/lib/cache.c b/arch/m68k/lib/cache.c
index 22048d12d70..afd8e3531d7 100644
--- a/arch/m68k/lib/cache.c
+++ b/arch/m68k/lib/cache.c
@@ -5,10 +5,12 @@ 
  */
 
 #include <common.h>
+#include <compiler.h>
 #include <cpu_func.h>
 #include <asm/immap.h>
 #include <asm/cache.h>
 #include <linux/kernel.h>
+#include <linux/types.h>
 
 volatile int *cf_icache_status = (int *)ICACHE_STATUS;
 volatile int *cf_dcache_status = (int *)DCACHE_STATUS;
diff --git a/arch/m68k/lib/fec.c b/arch/m68k/lib/fec.c
index 4f013238928..053ced25452 100644
--- a/arch/m68k/lib/fec.c
+++ b/arch/m68k/lib/fec.c
@@ -6,6 +6,7 @@ 
 #include <common.h>
 #include <stdio.h>
 #include <asm/global_data.h>
+#include <asm/types.h>
 #include <linux/errno.h>
 #include <linux/libfdt.h>
 #include <fdt_support.h>
diff --git a/arch/m68k/lib/time.c b/arch/m68k/lib/time.c
index cbe29e72a86..36056d25ebb 100644
--- a/arch/m68k/lib/time.c
+++ b/arch/m68k/lib/time.c
@@ -12,6 +12,7 @@ 
 #include <time.h>
 #include <asm/global_data.h>
 #include <linux/delay.h>
+#include <linux/types.h>
 
 #include <asm/timer.h>
 #include <asm/immap.h>
diff --git a/arch/m68k/lib/traps.c b/arch/m68k/lib/traps.c
index 3591bb22f09..60b8fa20b94 100644
--- a/arch/m68k/lib/traps.c
+++ b/arch/m68k/lib/traps.c
@@ -15,6 +15,7 @@ 
 #include <asm/processor.h>
 #include <asm/ptrace.h>
 #include <asm/u-boot.h>
+#include <linux/types.h>
 
 
 extern void _exc_handler(void);
diff --git a/arch/microblaze/cpu/cache.c b/arch/microblaze/cpu/cache.c
index aa832d6be6d..20dea1abbee 100644
--- a/arch/microblaze/cpu/cache.c
+++ b/arch/microblaze/cpu/cache.c
@@ -9,6 +9,7 @@ 
 #include <cpu_func.h>
 #include <asm/asm.h>
 #include <asm/cache.h>
+#include <linux/types.h>
 
 int dcache_status(void)
 {
diff --git a/arch/microblaze/cpu/interrupts.c b/arch/microblaze/cpu/interrupts.c
index e86f0cda9df..56ac0c50a87 100644
--- a/arch/microblaze/cpu/interrupts.c
+++ b/arch/microblaze/cpu/interrupts.c
@@ -17,6 +17,7 @@ 
 #include <asm/global_data.h>
 #include <asm/microblaze_intc.h>
 #include <asm/asm.h>
+#include <asm/types.h>
 
 DECLARE_GLOBAL_DATA_PTR;
 
diff --git a/arch/microblaze/cpu/spl.c b/arch/microblaze/cpu/spl.c
index 9f25c2f3952..87eea372539 100644
--- a/arch/microblaze/cpu/spl.c
+++ b/arch/microblaze/cpu/spl.c
@@ -13,6 +13,7 @@ 
 #include <stdbool.h>
 #include <asm/io.h>
 #include <asm/u-boot.h>
+#include <linux/types.h>
 
 bool boot_linux;
 
diff --git a/arch/microblaze/cpu/timer.c b/arch/microblaze/cpu/timer.c
index eb53f0edcdd..fc22d56aa4a 100644
--- a/arch/microblaze/cpu/timer.c
+++ b/arch/microblaze/cpu/timer.c
@@ -16,6 +16,7 @@ 
 #include <asm/u-boot.h>
 #include <linux/delay.h>
 #include <linux/kernel.h>
+#include <linux/types.h>
 
 DECLARE_GLOBAL_DATA_PTR;
 
diff --git a/arch/microblaze/lib/bootm.c b/arch/microblaze/lib/bootm.c
index f8835b591c6..09fc6438b8b 100644
--- a/arch/microblaze/lib/bootm.c
+++ b/arch/microblaze/lib/bootm.c
@@ -21,6 +21,7 @@ 
 #include <asm/cache.h>
 #include <asm/global_data.h>
 #include <asm/u-boot.h>
+#include <linux/types.h>
 #include <u-boot/zlib.h>
 #include <asm/byteorder.h>
 
diff --git a/arch/mips/cpu/cpu.c b/arch/mips/cpu/cpu.c
index 7d5c9fd83ae..bfce17fd36c 100644
--- a/arch/mips/cpu/cpu.c
+++ b/arch/mips/cpu/cpu.c
@@ -6,6 +6,7 @@ 
 
 #include <common.h>
 #include <command.h>
+#include <compiler.h>
 #include <init.h>
 #include <linux/compiler.h>
 #include <asm/cache.h>
diff --git a/arch/mips/cpu/time.c b/arch/mips/cpu/time.c
index aab92ec859b..764b74ce970 100644
--- a/arch/mips/cpu/time.c
+++ b/arch/mips/cpu/time.c
@@ -8,6 +8,7 @@ 
 #include <compiler.h>
 #include <time.h>
 #include <asm/mipsregs.h>
+#include <linux/types.h>
 
 unsigned long notrace timer_read_counter(void)
 {
diff --git a/arch/mips/include/asm/cacheops.h b/arch/mips/include/asm/cacheops.h
index 641e2ad58de..abb3c5018ea 100644
--- a/arch/mips/include/asm/cacheops.h
+++ b/arch/mips/include/asm/cacheops.h
@@ -12,6 +12,7 @@ 
 
 #ifndef __ASSEMBLY__
 
+#include <linux/types.h>
 static inline void mips_cache(int op, const volatile void *addr)
 {
 #ifdef __GCC_HAVE_BUILTIN_MIPS_CACHE
diff --git a/arch/mips/include/asm/io.h b/arch/mips/include/asm/io.h
index 836cd436872..71f6d2da990 100644
--- a/arch/mips/include/asm/io.h
+++ b/arch/mips/include/asm/io.h
@@ -9,6 +9,7 @@ 
 #ifndef _ASM_IO_H
 #define _ASM_IO_H
 
+#include <compiler.h>
 #include <linux/bug.h>
 #include <linux/compiler.h>
 #include <linux/string.h>
diff --git a/arch/mips/include/asm/mach-generic/ioremap.h b/arch/mips/include/asm/mach-generic/ioremap.h
index d6258f5bce5..a9cfee53c15 100644
--- a/arch/mips/include/asm/mach-generic/ioremap.h
+++ b/arch/mips/include/asm/mach-generic/ioremap.h
@@ -2,6 +2,7 @@ 
 #ifndef __ASM_MACH_GENERIC_IOREMAP_H
 #define __ASM_MACH_GENERIC_IOREMAP_H
 
+#include <compiler.h>
 #include <linux/types.h>
 
 /*
diff --git a/arch/mips/include/asm/mipsregs.h b/arch/mips/include/asm/mipsregs.h
index e65485b4fff..fecd7e7de40 100644
--- a/arch/mips/include/asm/mipsregs.h
+++ b/arch/mips/include/asm/mipsregs.h
@@ -32,6 +32,7 @@ 
 #else
 #define _ULCAST_ (unsigned long)
 #define _U64CAST_ (u64)
+#include <asm/types.h>
 #endif
 
 /*
diff --git a/arch/mips/include/asm/pgtable-bits.h b/arch/mips/include/asm/pgtable-bits.h
index 481d2ef6c2f..1d20cde07ed 100644
--- a/arch/mips/include/asm/pgtable-bits.h
+++ b/arch/mips/include/asm/pgtable-bits.h
@@ -146,6 +146,7 @@ 
 #define _PAGE_READ		(cpu_has_rixi ? 0 : (1 << _PAGE_READ_SHIFT))
 #define _PAGE_NO_READ_SHIFT	_PAGE_READ_SHIFT
 #define _PAGE_NO_READ		(cpu_has_rixi ? (1 << _PAGE_READ_SHIFT) : 0)
+#include <linux/types.h>
 #endif	/* defined(CONFIG_CPU_MIPSR2) || defined(CONFIG_CPU_MIPSR6) */
 
 #if defined(_PAGE_NO_READ_SHIFT)
diff --git a/arch/mips/include/asm/sections.h b/arch/mips/include/asm/sections.h
index 93c30e9724f..1b1897510af 100644
--- a/arch/mips/include/asm/sections.h
+++ b/arch/mips/include/asm/sections.h
@@ -7,6 +7,7 @@ 
 #define __ASM_MIPS_SECTIONS_H
 
 #include <asm-generic/sections.h>
+#include <linux/types.h>
 
 /**
  * __rel_start: Relocation data generated by the mips-relocs tool
diff --git a/arch/mips/lib/boot.c b/arch/mips/lib/boot.c
index 53e8cccad47..a6655c6188e 100644
--- a/arch/mips/lib/boot.c
+++ b/arch/mips/lib/boot.c
@@ -8,6 +8,7 @@ 
 #include <cpu_func.h>
 #include <asm/global_data.h>
 #include <asm/u-boot.h>
+#include <linux/types.h>
 
 DECLARE_GLOBAL_DATA_PTR;
 
diff --git a/arch/mips/lib/bootm.c b/arch/mips/lib/bootm.c
index 8745ee351e5..471cc48539c 100644
--- a/arch/mips/lib/bootm.c
+++ b/arch/mips/lib/bootm.c
@@ -17,6 +17,7 @@ 
 #include <asm/io.h>
 #include <asm/u-boot.h>
 #include <linux/string.h>
+#include <linux/types.h>
 
 DECLARE_GLOBAL_DATA_PTR;
 
diff --git a/arch/mips/lib/cache.c b/arch/mips/lib/cache.c
index 7be0b559561..9cdac4f5245 100644
--- a/arch/mips/lib/cache.c
+++ b/arch/mips/lib/cache.c
@@ -5,7 +5,9 @@ 
  */
 
 #include <common.h>
+#include <compiler.h>
 #include <cpu_func.h>
+#include <stdbool.h>
 #include <stdio.h>
 #include <asm/cache.h>
 #include <asm/cacheops.h>
@@ -16,6 +18,7 @@ 
 #include <asm/system.h>
 #include <linux/bug.h>
 #include <linux/kernel.h>
+#include <linux/types.h>
 
 DECLARE_GLOBAL_DATA_PTR;
 
diff --git a/arch/mips/lib/reloc.c b/arch/mips/lib/reloc.c
index d6ea2f5730d..edb6b611377 100644
--- a/arch/mips/lib/reloc.c
+++ b/arch/mips/lib/reloc.c
@@ -35,6 +35,7 @@ 
 #include <asm/sections.h>
 #include <linux/bitops.h>
 #include <linux/string.h>
+#include <linux/types.h>
 
 /**
  * read_uint() - Read an unsigned integer from the buffer
diff --git a/arch/mips/lib/traps.c b/arch/mips/lib/traps.c
index 8b16ee056e3..c20fed9b438 100644
--- a/arch/mips/lib/traps.c
+++ b/arch/mips/lib/traps.c
@@ -23,6 +23,7 @@ 
 #include <asm/system.h>
 #include <asm/u-boot.h>
 #include <linux/string.h>
+#include <linux/types.h>
 
 DECLARE_GLOBAL_DATA_PTR;
 
diff --git a/arch/mips/mach-ath79/ar933x/clk.c b/arch/mips/mach-ath79/ar933x/clk.c
index 6b3cbdd0e57..b0d5cc8bbfb 100644
--- a/arch/mips/mach-ath79/ar933x/clk.c
+++ b/arch/mips/mach-ath79/ar933x/clk.c
@@ -5,11 +5,13 @@ 
 
 #include <common.h>
 #include <clock_legacy.h>
+#include <compiler.h>
 #include <asm/global_data.h>
 #include <asm/io.h>
 #include <asm/addrspace.h>
 #include <asm/types.h>
 #include <asm/u-boot.h>
+#include <linux/types.h>
 #include <mach/ar71xx_regs.h>
 #include <mach/ath79.h>
 
diff --git a/arch/mips/mach-ath79/ar933x/ddr.c b/arch/mips/mach-ath79/ar933x/ddr.c
index 09166ecf8f0..3ab0199fe10 100644
--- a/arch/mips/mach-ath79/ar933x/ddr.c
+++ b/arch/mips/mach-ath79/ar933x/ddr.c
@@ -5,6 +5,7 @@ 
  */
 
 #include <common.h>
+#include <compiler.h>
 #include <asm/io.h>
 #include <asm/addrspace.h>
 #include <asm/types.h>
diff --git a/arch/mips/mach-ath79/ar934x/clk.c b/arch/mips/mach-ath79/ar934x/clk.c
index 5ce5ea5ba46..69f20939a74 100644
--- a/arch/mips/mach-ath79/ar934x/clk.c
+++ b/arch/mips/mach-ath79/ar934x/clk.c
@@ -6,6 +6,7 @@ 
 #include <common.h>
 #include <clock_legacy.h>
 #include <command.h>
+#include <compiler.h>
 #include <hang.h>
 #include <stdio.h>
 #include <asm/global_data.h>
@@ -16,6 +17,7 @@ 
 #include <linux/bitops.h>
 #include <linux/delay.h>
 #include <linux/kernel.h>
+#include <linux/types.h>
 #include <mach/ar71xx_regs.h>
 #include <mach/ath79.h>
 #include <wait_bit.h>
diff --git a/arch/mips/mach-ath79/ar934x/ddr.c b/arch/mips/mach-ath79/ar934x/ddr.c
index 9df48b97ef4..e626ffa7254 100644
--- a/arch/mips/mach-ath79/ar934x/ddr.c
+++ b/arch/mips/mach-ath79/ar934x/ddr.c
@@ -6,6 +6,7 @@ 
  */
 
 #include <common.h>
+#include <compiler.h>
 #include <asm/global_data.h>
 #include <asm/io.h>
 #include <asm/addrspace.h>
diff --git a/arch/mips/mach-ath79/cpu.c b/arch/mips/mach-ath79/cpu.c
index 55d051f8cb9..d18b239d1b0 100644
--- a/arch/mips/mach-ath79/cpu.c
+++ b/arch/mips/mach-ath79/cpu.c
@@ -4,6 +4,7 @@ 
  */
 
 #include <common.h>
+#include <compiler.h>
 #include <init.h>
 #include <stdio.h>
 #include <asm/global_data.h>
diff --git a/arch/mips/mach-ath79/qca953x/clk.c b/arch/mips/mach-ath79/qca953x/clk.c
index 6e8a4c0d194..f1177cdfc3d 100644
--- a/arch/mips/mach-ath79/qca953x/clk.c
+++ b/arch/mips/mach-ath79/qca953x/clk.c
@@ -5,11 +5,13 @@ 
 
 #include <common.h>
 #include <clock_legacy.h>
+#include <compiler.h>
 #include <asm/global_data.h>
 #include <asm/io.h>
 #include <asm/addrspace.h>
 #include <asm/types.h>
 #include <asm/u-boot.h>
+#include <linux/types.h>
 #include <mach/ar71xx_regs.h>
 #include <mach/ath79.h>
 
diff --git a/arch/mips/mach-ath79/qca953x/ddr.c b/arch/mips/mach-ath79/qca953x/ddr.c
index 78f2370e09c..36a9eeb18bd 100644
--- a/arch/mips/mach-ath79/qca953x/ddr.c
+++ b/arch/mips/mach-ath79/qca953x/ddr.c
@@ -5,6 +5,7 @@ 
  */
 
 #include <common.h>
+#include <compiler.h>
 #include <asm/io.h>
 #include <asm/addrspace.h>
 #include <asm/types.h>
diff --git a/arch/mips/mach-ath79/qca956x/clk.c b/arch/mips/mach-ath79/qca956x/clk.c
index 996f846c480..7374c98e59a 100644
--- a/arch/mips/mach-ath79/qca956x/clk.c
+++ b/arch/mips/mach-ath79/qca956x/clk.c
@@ -5,12 +5,14 @@ 
 
 #include <common.h>
 #include <clock_legacy.h>
+#include <compiler.h>
 #include <log.h>
 #include <asm/global_data.h>
 #include <asm/io.h>
 #include <asm/addrspace.h>
 #include <asm/types.h>
 #include <asm/u-boot.h>
+#include <linux/types.h>
 #include <mach/ar71xx_regs.h>
 #include <mach/ath79.h>
 #include <wait_bit.h>
diff --git a/arch/mips/mach-ath79/qca956x/ddr.c b/arch/mips/mach-ath79/qca956x/ddr.c
index f9cf8daa224..8231c142de3 100644
--- a/arch/mips/mach-ath79/qca956x/ddr.c
+++ b/arch/mips/mach-ath79/qca956x/ddr.c
@@ -6,6 +6,7 @@ 
  */
 
 #include <common.h>
+#include <compiler.h>
 #include <asm/global_data.h>
 #include <asm/io.h>
 #include <asm/addrspace.h>
diff --git a/arch/mips/mach-ath79/reset.c b/arch/mips/mach-ath79/reset.c
index 6ecde8a39ff..d4d6b02808c 100644
--- a/arch/mips/mach-ath79/reset.c
+++ b/arch/mips/mach-ath79/reset.c
@@ -5,6 +5,7 @@ 
  */
 
 #include <common.h>
+#include <compiler.h>
 #include <stdio.h>
 #include <linux/bitops.h>
 #include <linux/delay.h>
diff --git a/arch/mips/mach-bmips/include/ioremap.h b/arch/mips/mach-bmips/include/ioremap.h
index 99ea03e6a70..fea55d8287a 100644
--- a/arch/mips/mach-bmips/include/ioremap.h
+++ b/arch/mips/mach-bmips/include/ioremap.h
@@ -2,6 +2,7 @@ 
 #ifndef __ASM_MACH_BMIPS_IOREMAP_H
 #define __ASM_MACH_BMIPS_IOREMAP_H
 
+#include <compiler.h>
 #include <linux/types.h>
 
 /*
diff --git a/arch/mips/mach-jz47xx/include/mach/jz4780.h b/arch/mips/mach-jz47xx/include/mach/jz4780.h
index 4422e503ed2..6f75b38901f 100644
--- a/arch/mips/mach-jz47xx/include/mach/jz4780.h
+++ b/arch/mips/mach-jz47xx/include/mach/jz4780.h
@@ -82,6 +82,8 @@ 
 
 #ifndef __ASSEMBLY__
 
+#include <compiler.h>
+#include <linux/types.h>
 u32 sdram_size(int bank);
 
 const u32 jz4780_clk_get_efuse_clk(void);
diff --git a/arch/mips/mach-jz47xx/include/mach/jz4780_dram.h b/arch/mips/mach-jz47xx/include/mach/jz4780_dram.h
index 61cc1489889..4ac0d61f5d1 100644
--- a/arch/mips/mach-jz47xx/include/mach/jz4780_dram.h
+++ b/arch/mips/mach-jz47xx/include/mach/jz4780_dram.h
@@ -12,6 +12,7 @@ 
 /*
  * DDR
  */
+#include <asm/types.h>
 #include <linux/bitops.h>
 #define DDRC_ST				0x0
 #define DDRC_CFG			0x4
diff --git a/arch/mips/mach-jz47xx/jz4780/gpio.c b/arch/mips/mach-jz47xx/jz4780/gpio.c
index d4884e7fa9f..1787de5fe4c 100644
--- a/arch/mips/mach-jz47xx/jz4780/gpio.c
+++ b/arch/mips/mach-jz47xx/jz4780/gpio.c
@@ -1,5 +1,6 @@ 
 // SPDX-License-Identifier: GPL-2.0+
 
+#include <compiler.h>
 #include <config.h>
 #include <common.h>
 #include <asm/io.h>
diff --git a/arch/mips/mach-jz47xx/jz4780/jz4780.c b/arch/mips/mach-jz47xx/jz4780/jz4780.c
index 496016724d7..034aa7593d3 100644
--- a/arch/mips/mach-jz47xx/jz4780/jz4780.c
+++ b/arch/mips/mach-jz47xx/jz4780/jz4780.c
@@ -18,6 +18,7 @@ 
 #include <asm/sections.h>
 #include <asm/u-boot.h>
 #include <linux/string.h>
+#include <linux/types.h>
 #include <mach/jz4780.h>
 #include <mach/jz4780_dram.h>
 #include <mmc.h>
diff --git a/arch/mips/mach-jz47xx/jz4780/pll.c b/arch/mips/mach-jz47xx/jz4780/pll.c
index ac76a507355..e839db78df8 100644
--- a/arch/mips/mach-jz47xx/jz4780/pll.c
+++ b/arch/mips/mach-jz47xx/jz4780/pll.c
@@ -6,10 +6,12 @@ 
  * Author: Paul Burton <paul.burton@imgtec.com>
  */
 
+#include <compiler.h>
 #include <config.h>
 #include <common.h>
 #include <stdio.h>
 #include <asm/io.h>
+#include <asm/types.h>
 #include <linux/bitops.h>
 #include <linux/delay.h>
 #include <linux/kernel.h>
diff --git a/arch/mips/mach-jz47xx/jz4780/reset.c b/arch/mips/mach-jz47xx/jz4780/reset.c
index bf6addccb5d..ef0f77b43c8 100644
--- a/arch/mips/mach-jz47xx/jz4780/reset.c
+++ b/arch/mips/mach-jz47xx/jz4780/reset.c
@@ -6,6 +6,7 @@ 
  * Author: Paul Burton <paul.burton@imgtec.com>
  */
 
+#include <compiler.h>
 #include <config.h>
 #include <common.h>
 #include <asm/io.h>
diff --git a/arch/mips/mach-jz47xx/jz4780/sdram.c b/arch/mips/mach-jz47xx/jz4780/sdram.c
index 690f3c5601d..c0d69aa455e 100644
--- a/arch/mips/mach-jz47xx/jz4780/sdram.c
+++ b/arch/mips/mach-jz47xx/jz4780/sdram.c
@@ -10,9 +10,11 @@ 
  */
 
 #include <common.h>
+#include <compiler.h>
 #include <hang.h>
 #include <init.h>
 #include <asm/io.h>
+#include <asm/types.h>
 #include <linux/bitops.h>
 #include <linux/delay.h>
 #include <mach/jz4780.h>
diff --git a/arch/mips/mach-jz47xx/jz4780/timer.c b/arch/mips/mach-jz47xx/jz4780/timer.c
index 82bb9e8c3bf..aadbe040921 100644
--- a/arch/mips/mach-jz47xx/jz4780/timer.c
+++ b/arch/mips/mach-jz47xx/jz4780/timer.c
@@ -6,6 +6,7 @@ 
  * Author: Paul Burton <paul.burton@imgtec.com>
  */
 
+#include <compiler.h>
 #include <config.h>
 #include <common.h>
 #include <div64.h>
@@ -16,6 +17,7 @@ 
 #include <asm/mipsregs.h>
 #include <linux/bitops.h>
 #include <linux/delay.h>
+#include <linux/types.h>
 #include <mach/jz4780.h>
 
 #define TCU_TSR		0x1C	/* Timer Stop Register */
diff --git a/arch/mips/mach-mscc/gpio.c b/arch/mips/mach-mscc/gpio.c
index d6b4c5d7684..cbc74dd6602 100644
--- a/arch/mips/mach-mscc/gpio.c
+++ b/arch/mips/mach-mscc/gpio.c
@@ -5,6 +5,7 @@ 
 
 #include <common.h>
 #include <asm/io.h>
+#include <asm/types.h>
 #include <linux/bitops.h>
 
 void mscc_gpio_set_alternate(int gpio, int mode)
diff --git a/arch/mips/mach-mscc/include/ioremap.h b/arch/mips/mach-mscc/include/ioremap.h
index 9024364a57f..d5fc97ba8fa 100644
--- a/arch/mips/mach-mscc/include/ioremap.h
+++ b/arch/mips/mach-mscc/include/ioremap.h
@@ -6,6 +6,7 @@ 
 #ifndef __ASM_MACH_MSCC_IOREMAP_H
 #define __ASM_MACH_MSCC_IOREMAP_H
 
+#include <compiler.h>
 #include <linux/types.h>
 #include <mach/common.h>
 
diff --git a/arch/mips/mach-mscc/include/mach/common.h b/arch/mips/mach-mscc/include/mach/common.h
index 8f9a9c280b4..e701d325d1c 100644
--- a/arch/mips/mach-mscc/include/mach/common.h
+++ b/arch/mips/mach-mscc/include/mach/common.h
@@ -45,6 +45,7 @@ 
 /* Common utility functions */
 
 /*
+#include <asm/types.h>
  * Perform a number of NOP instructions, blocks of 8 instructions.
  * The (inlined) function will not affect cache or processor state.
  */
diff --git a/arch/mips/mach-mscc/include/mach/ddr.h b/arch/mips/mach-mscc/include/mach/ddr.h
index 8c1f14773ec..d4461d74e30 100644
--- a/arch/mips/mach-mscc/include/mach/ddr.h
+++ b/arch/mips/mach-mscc/include/mach/ddr.h
@@ -6,10 +6,12 @@ 
 #ifndef __ASM_MACH_DDR_H
 #define __ASM_MACH_DDR_H
 
+#include <compiler.h>
 #include <stdbool.h>
 #include <asm/cacheops.h>
 #include <asm/io.h>
 #include <asm/reboot.h>
+#include <asm/types.h>
 #include <linux/bitops.h>
 #include <mach/common.h>
 
diff --git a/arch/mips/mach-mscc/include/mach/jr2/jr2.h b/arch/mips/mach-mscc/include/mach/jr2/jr2.h
index 67244f63fad..121d44b2d6e 100644
--- a/arch/mips/mach-mscc/include/mach/jr2/jr2.h
+++ b/arch/mips/mach-mscc/include/mach/jr2/jr2.h
@@ -8,6 +8,7 @@ 
 #ifndef _MSCC_JR2_H_
 #define _MSCC_JR2_H_
 
+#include <compiler.h>
 #include <linux/bitops.h>
 #include <dm.h>
 
diff --git a/arch/mips/mach-mscc/include/mach/luton/luton.h b/arch/mips/mach-mscc/include/mach/luton/luton.h
index 19f02ede666..b6c9dd43489 100644
--- a/arch/mips/mach-mscc/include/mach/luton/luton.h
+++ b/arch/mips/mach-mscc/include/mach/luton/luton.h
@@ -8,6 +8,7 @@ 
 #ifndef _MSCC_OCELOT_H_
 #define _MSCC_OCELOT_H_
 
+#include <compiler.h>
 #include <linux/bitops.h>
 #include <dm.h>
 
diff --git a/arch/mips/mach-mscc/include/mach/ocelot/ocelot.h b/arch/mips/mach-mscc/include/mach/ocelot/ocelot.h
index 2cb2135d374..c45507759ee 100644
--- a/arch/mips/mach-mscc/include/mach/ocelot/ocelot.h
+++ b/arch/mips/mach-mscc/include/mach/ocelot/ocelot.h
@@ -8,6 +8,7 @@ 
 #ifndef _MSCC_OCELOT_H_
 #define _MSCC_OCELOT_H_
 
+#include <compiler.h>
 #include <linux/bitops.h>
 #include <dm.h>
 
diff --git a/arch/mips/mach-mscc/include/mach/serval/serval.h b/arch/mips/mach-mscc/include/mach/serval/serval.h
index 763d18fe629..3397441caca 100644
--- a/arch/mips/mach-mscc/include/mach/serval/serval.h
+++ b/arch/mips/mach-mscc/include/mach/serval/serval.h
@@ -8,6 +8,7 @@ 
 #ifndef _MSCC_SERVAL_H_
 #define _MSCC_SERVAL_H_
 
+#include <compiler.h>
 #include <linux/bitops.h>
 #include <dm.h>
 
diff --git a/arch/mips/mach-mscc/include/mach/servalt/servalt.h b/arch/mips/mach-mscc/include/mach/servalt/servalt.h
index 9015bc7dad9..e5948997c1c 100644
--- a/arch/mips/mach-mscc/include/mach/servalt/servalt.h
+++ b/arch/mips/mach-mscc/include/mach/servalt/servalt.h
@@ -8,6 +8,7 @@ 
 #ifndef _MSCC_SERVALT_H_
 #define _MSCC_SERVALT_H_
 
+#include <compiler.h>
 #include <linux/bitops.h>
 #include <dm.h>
 
diff --git a/arch/mips/mach-mscc/include/mach/tlb.h b/arch/mips/mach-mscc/include/mach/tlb.h
index ebd8ad0dc1a..18266b14dc6 100644
--- a/arch/mips/mach-mscc/include/mach/tlb.h
+++ b/arch/mips/mach-mscc/include/mach/tlb.h
@@ -7,6 +7,7 @@ 
 #define __ASM_MACH_TLB_H
 
 #include <asm/mipsregs.h>
+#include <asm/types.h>
 #include <linux/bitops.h>
 #include <mach/common.h>
 #include <linux/sizes.h>
diff --git a/arch/mips/mach-mscc/phy.c b/arch/mips/mach-mscc/phy.c
index 83d3e5bdd28..acfe6bb131b 100644
--- a/arch/mips/mach-mscc/phy.c
+++ b/arch/mips/mach-mscc/phy.c
@@ -6,6 +6,7 @@ 
 #include <common.h>
 #include <log.h>
 #include <asm/io.h>
+#include <asm/types.h>
 
 int mscc_phy_rd_wr(u8 read,
 		   u32 miimdev,
diff --git a/arch/mips/mach-mscc/reset.c b/arch/mips/mach-mscc/reset.c
index a1214573b51..6bd5da4ef67 100644
--- a/arch/mips/mach-mscc/reset.c
+++ b/arch/mips/mach-mscc/reset.c
@@ -4,6 +4,7 @@ 
  */
 
 #include <common.h>
+#include <asm/types.h>
 
 #include <asm/sections.h>
 #include <asm/io.h>
diff --git a/arch/mips/mach-mtmips/ddr_cal.c b/arch/mips/mach-mtmips/ddr_cal.c
index 1f2f12879b2..1b0cd2fc6d8 100644
--- a/arch/mips/mach-mtmips/ddr_cal.c
+++ b/arch/mips/mach-mtmips/ddr_cal.c
@@ -6,9 +6,12 @@ 
  */
 
 #include <common.h>
+#include <compiler.h>
+#include <stdbool.h>
 #include <asm/addrspace.h>
 #include <asm/cacheops.h>
 #include <asm/global_data.h>
+#include <asm/types.h>
 #include <linux/bitops.h>
 #include <linux/io.h>
 #include <linux/kernel.h>
diff --git a/arch/mips/mach-mtmips/ddr_init.c b/arch/mips/mach-mtmips/ddr_init.c
index 6c6d0933f2e..290355f538e 100644
--- a/arch/mips/mach-mtmips/ddr_init.c
+++ b/arch/mips/mach-mtmips/ddr_init.c
@@ -6,10 +6,12 @@ 
  */
 
 #include <common.h>
+#include <compiler.h>
 #include <linux/bitops.h>
 #include <linux/delay.h>
 #include <linux/io.h>
 #include <linux/sizes.h>
+#include <linux/types.h>
 #include <mach/ddr.h>
 #include <mach/mc.h>
 
diff --git a/arch/mips/mach-mtmips/include/mach/ddr.h b/arch/mips/mach-mtmips/include/mach/ddr.h
index f92198137b1..e0ecb42726e 100644
--- a/arch/mips/mach-mtmips/include/mach/ddr.h
+++ b/arch/mips/mach-mtmips/include/mach/ddr.h
@@ -8,6 +8,7 @@ 
 #ifndef _MTMIPS_DDR_H_
 #define _MTMIPS_DDR_H_
 
+#include <compiler.h>
 #include <linux/io.h>
 #include <linux/types.h>
 
diff --git a/arch/mips/mach-mtmips/mt7628/ddr.c b/arch/mips/mach-mtmips/mt7628/ddr.c
index b091f2ecffc..c63f7bcb4e4 100644
--- a/arch/mips/mach-mtmips/mt7628/ddr.c
+++ b/arch/mips/mach-mtmips/mt7628/ddr.c
@@ -6,8 +6,10 @@ 
  */
 
 #include <common.h>
+#include <compiler.h>
 #include <asm/addrspace.h>
 #include <asm/global_data.h>
+#include <asm/types.h>
 #include <linux/bitops.h>
 #include <linux/delay.h>
 #include <linux/sizes.h>
diff --git a/arch/mips/mach-mtmips/mt7628/init.c b/arch/mips/mach-mtmips/mt7628/init.c
index 8bf918b3f25..4c2623a360f 100644
--- a/arch/mips/mach-mtmips/mt7628/init.c
+++ b/arch/mips/mach-mtmips/mt7628/init.c
@@ -15,6 +15,7 @@ 
 #include <dm/uclass.h>
 #include <dt-bindings/clock/mt7628-clk.h>
 #include <linux/io.h>
+#include <linux/types.h>
 #include "mt7628.h"
 
 DECLARE_GLOBAL_DATA_PTR;
diff --git a/arch/mips/mach-mtmips/mt7628/serial.c b/arch/mips/mach-mtmips/mt7628/serial.c
index a7d324792d7..17793927ed7 100644
--- a/arch/mips/mach-mtmips/mt7628/serial.c
+++ b/arch/mips/mach-mtmips/mt7628/serial.c
@@ -6,6 +6,7 @@ 
  */
 
 #include <common.h>
+#include <compiler.h>
 #include <asm/io.h>
 #include "mt7628.h"
 
diff --git a/arch/mips/mach-mtmips/spl.c b/arch/mips/mach-mtmips/spl.c
index 95201b8d7ab..2cb2ecf0e59 100644
--- a/arch/mips/mach-mtmips/spl.c
+++ b/arch/mips/mach-mtmips/spl.c
@@ -11,6 +11,7 @@ 
 #include <asm/sections.h>
 #include <linux/libfdt.h>
 #include <linux/sizes.h>
+#include <linux/types.h>
 #include <mach/serial.h>
 
 void __noreturn board_init_f(ulong dummy)
diff --git a/arch/mips/mach-octeon/cache.c b/arch/mips/mach-octeon/cache.c
index 9a88bb97c73..8ccaa2a7f3f 100644
--- a/arch/mips/mach-octeon/cache.c
+++ b/arch/mips/mach-octeon/cache.c
@@ -4,6 +4,7 @@ 
  */
 
 #include <cpu_func.h>
+#include <linux/types.h>
 
 /*
  * The Octeon platform is cache coherent and cache flushes and invalidates
diff --git a/arch/mips/mach-octeon/clock.c b/arch/mips/mach-octeon/clock.c
index 05a312b2298..eb341b1ac38 100644
--- a/arch/mips/mach-octeon/clock.c
+++ b/arch/mips/mach-octeon/clock.c
@@ -6,6 +6,7 @@ 
 #include <compiler.h>
 #include <time.h>
 #include <asm/global_data.h>
+#include <linux/types.h>
 #include <mach/clock.h>
 
 DECLARE_GLOBAL_DATA_PTR;
diff --git a/arch/mips/mach-octeon/cpu.c b/arch/mips/mach-octeon/cpu.c
index 1831f1dfa8c..5ac8b5047e2 100644
--- a/arch/mips/mach-octeon/cpu.c
+++ b/arch/mips/mach-octeon/cpu.c
@@ -3,6 +3,7 @@ 
  * Copyright (C) 2020 Marvell International Ltd.
  */
 
+#include <compiler.h>
 #include <stdio.h>
 #include <asm/global_data.h>
 #include <linux/bitfield.h>
diff --git a/arch/mips/mach-octeon/dram.c b/arch/mips/mach-octeon/dram.c
index 331394b34a6..da3dc4746e5 100644
--- a/arch/mips/mach-octeon/dram.c
+++ b/arch/mips/mach-octeon/dram.c
@@ -8,6 +8,7 @@ 
 #include <asm/global_data.h>
 #include <asm/u-boot.h>
 #include <linux/compat.h>
+#include <linux/types.h>
 
 DECLARE_GLOBAL_DATA_PTR;
 
diff --git a/arch/mips/mach-octeon/include/ioremap.h b/arch/mips/mach-octeon/include/ioremap.h
index 59b75008a25..43b24122084 100644
--- a/arch/mips/mach-octeon/include/ioremap.h
+++ b/arch/mips/mach-octeon/include/ioremap.h
@@ -2,6 +2,7 @@ 
 #ifndef __ASM_MACH_OCTEON_IOREMAP_H
 #define __ASM_MACH_OCTEON_IOREMAP_H
 
+#include <compiler.h>
 #include <linux/types.h>
 
 /*
diff --git a/arch/mips/mach-pic32/cpu.c b/arch/mips/mach-pic32/cpu.c
index bc76152ed3d..739ecec666c 100644
--- a/arch/mips/mach-pic32/cpu.c
+++ b/arch/mips/mach-pic32/cpu.c
@@ -6,11 +6,13 @@ 
  */
 #include <common.h>
 #include <clk.h>
+#include <compiler.h>
 #include <dm.h>
 #include <init.h>
 #include <malloc.h>
 #include <stdio.h>
 #include <asm/global_data.h>
+#include <linux/types.h>
 #include <mach/pic32.h>
 #include <mach/ddr.h>
 #include <dt-bindings/clock/microchip,clock.h>
diff --git a/arch/mips/mach-pic32/include/mach/ddr.h b/arch/mips/mach-pic32/include/mach/ddr.h
index 1b2391e0160..fe15bb1504e 100644
--- a/arch/mips/mach-pic32/include/mach/ddr.h
+++ b/arch/mips/mach-pic32/include/mach/ddr.h
@@ -8,6 +8,7 @@ 
 #define __MICROCHIP_PIC32_DDR_H
 
 /* called by dram_init() function */
+#include <asm/types.h>
 void ddr2_phy_init(void);
 void ddr2_ctrl_init(void);
 phys_size_t ddr2_calculate_size(void);
diff --git a/arch/mips/mach-pic32/include/mach/pic32.h b/arch/mips/mach-pic32/include/mach/pic32.h
index 69015334b94..1fdfec5aa54 100644
--- a/arch/mips/mach-pic32/include/mach/pic32.h
+++ b/arch/mips/mach-pic32/include/mach/pic32.h
@@ -7,7 +7,9 @@ 
 #ifndef __PIC32_REGS_H__
 #define __PIC32_REGS_H__
 
+#include <compiler.h>
 #include <asm/io.h>
+#include <asm/types.h>
 
 /* System Configuration */
 #define PIC32_CFG_BASE		0x1f800000
diff --git a/arch/mips/mach-pic32/reset.c b/arch/mips/mach-pic32/reset.c
index 8071b13f7b4..8c33ff7faf9 100644
--- a/arch/mips/mach-pic32/reset.c
+++ b/arch/mips/mach-pic32/reset.c
@@ -5,6 +5,7 @@ 
  */
 
 #include <common.h>
+#include <compiler.h>
 #include <asm/io.h>
 #include <mach/pic32.h>
 
diff --git a/arch/nds32/cpu/n1213/ag101/timer.c b/arch/nds32/cpu/n1213/ag101/timer.c
index 7fef69cd213..c516e270ca2 100644
--- a/arch/nds32/cpu/n1213/ag101/timer.c
+++ b/arch/nds32/cpu/n1213/ag101/timer.c
@@ -68,6 +68,7 @@  int timer_init(void)
 /*
  * reset time
  */
+#include <linux/types.h>
 void reset_timer_masked(void)
 {
 	struct fttmr010 *tmr = (struct fttmr010 *)CONFIG_FTTMR010_BASE;
diff --git a/arch/nds32/include/asm/bootm.h b/arch/nds32/include/asm/bootm.h
index 804f8581b6e..aa8009fc8b7 100644
--- a/arch/nds32/include/asm/bootm.h
+++ b/arch/nds32/include/asm/bootm.h
@@ -9,6 +9,7 @@ 
 #define NDS32_BOOTM_H
 
 #include <asm/setup.h>
+#include <asm/types.h>
 
 extern void udc_disconnect(void);
 
diff --git a/arch/nds32/include/asm/io.h b/arch/nds32/include/asm/io.h
index fdfc574afc0..6555d3605b7 100644
--- a/arch/nds32/include/asm/io.h
+++ b/arch/nds32/include/asm/io.h
@@ -71,6 +71,7 @@  static inline phys_addr_t map_to_sysmem(const void *ptr)
 #define __arch_putw(v, a)		(*(unsigned short *)(a) = (v))
 #define __arch_putl(v, a)		(*(unsigned int *)(a) = (v))
 
+#include <compiler.h>
 extern void __raw_writesb(unsigned int addr, const void *data, int bytelen);
 extern void __raw_writesw(unsigned int addr, const void *data, int wordlen);
 extern void __raw_writesl(unsigned int addr, const void *data, int longlen);
diff --git a/arch/nds32/include/asm/setup.h b/arch/nds32/include/asm/setup.h
index 8217bbf6fe0..fcaa43a8247 100644
--- a/arch/nds32/include/asm/setup.h
+++ b/arch/nds32/include/asm/setup.h
@@ -13,6 +13,7 @@ 
 #ifndef __ASMNDS32_SETUP_H
 #define __ASMNDS32_SETUP_H
 
+#include <asm/types.h>
 #define COMMAND_LINE_SIZE 256
 
 /* The list ends with an ATAG_NONE node. */
diff --git a/arch/nds32/lib/boot.c b/arch/nds32/lib/boot.c
index 9411285fe23..9e3d2191b4b 100644
--- a/arch/nds32/lib/boot.c
+++ b/arch/nds32/lib/boot.c
@@ -8,6 +8,7 @@ 
 #include <common.h>
 #include <command.h>
 #include <asm/u-boot.h>
+#include <linux/types.h>
 
 unsigned long do_go_exec(ulong (*entry)(int, char * const []),
 			 int argc, char *const argv[])
diff --git a/arch/nds32/lib/bootm.c b/arch/nds32/lib/bootm.c
index 5532d515b73..47e8f90c417 100644
--- a/arch/nds32/lib/bootm.c
+++ b/arch/nds32/lib/bootm.c
@@ -17,6 +17,7 @@ 
 #include <asm/global_data.h>
 #include <asm/u-boot.h>
 #include <linux/string.h>
+#include <linux/types.h>
 #include <u-boot/zlib.h>
 #include <asm/byteorder.h>
 #include <asm/bootm.h>
diff --git a/arch/nios2/cpu/interrupts.c b/arch/nios2/cpu/interrupts.c
index 90cabb67571..fe40eaaa02e 100644
--- a/arch/nios2/cpu/interrupts.c
+++ b/arch/nios2/cpu/interrupts.c
@@ -14,6 +14,7 @@ 
 #include <asm/types.h>
 #include <asm/io.h>
 #include <asm/ptrace.h>
+#include <linux/types.h>
 
 /*************************************************************************/
 struct	irq_action {
diff --git a/arch/nios2/include/asm/dma-mapping.h b/arch/nios2/include/asm/dma-mapping.h
index 65f67bc1f44..1dd7aa96e40 100644
--- a/arch/nios2/include/asm/dma-mapping.h
+++ b/arch/nios2/include/asm/dma-mapping.h
@@ -3,6 +3,7 @@ 
 
 #include <memalign.h>
 #include <asm/io.h>
+#include <linux/types.h>
 
 /*
  * dma_alloc_coherent() return cache-line aligned allocation which is mapped
diff --git a/arch/nios2/include/asm/global_data.h b/arch/nios2/include/asm/global_data.h
index 1a0e7d25fa3..4c9b6db070a 100644
--- a/arch/nios2/include/asm/global_data.h
+++ b/arch/nios2/include/asm/global_data.h
@@ -7,6 +7,7 @@ 
 #define __ASM_NIOS2_GLOBALDATA_H_
 
 /* Architecture-specific global data */
+#include <asm/types.h>
 struct arch_global_data {
 	u32 dcache_line_size;
 	u32 icache_line_size;
diff --git a/arch/nios2/include/asm/io.h b/arch/nios2/include/asm/io.h
index b22134cf29c..1e989c1e657 100644
--- a/arch/nios2/include/asm/io.h
+++ b/arch/nios2/include/asm/io.h
@@ -8,6 +8,7 @@ 
 #define __ASM_NIOS2_IO_H_
 
 #include <asm/global_data.h>
+#include <asm/types.h>
 #include <linux/string.h>
 
 static inline void sync(void)
diff --git a/arch/nios2/lib/bootm.c b/arch/nios2/lib/bootm.c
index 59099a4d5ea..d1be89a9917 100644
--- a/arch/nios2/lib/bootm.c
+++ b/arch/nios2/lib/bootm.c
@@ -11,6 +11,7 @@ 
 #include <irq_func.h>
 #include <log.h>
 #include <vsprintf.h>
+#include <linux/types.h>
 
 #define NIOS_MAGIC 0x534f494e /* enable command line and initrd passing */
 
diff --git a/arch/powerpc/cpu/mpc83xx/arbiter/arbiter.h b/arch/powerpc/cpu/mpc83xx/arbiter/arbiter.h
index 10a47e49876..b0740019e46 100644
--- a/arch/powerpc/cpu/mpc83xx/arbiter/arbiter.h
+++ b/arch/powerpc/cpu/mpc83xx/arbiter/arbiter.h
@@ -1,3 +1,4 @@ 
+#include <linux/types.h>
 	const __be32 acr_mask =
 #ifndef CONFIG_ACR_PIPE_DEP_UNSET
 		ACR_PIPE_DEP |
diff --git a/arch/powerpc/cpu/mpc83xx/cpu.c b/arch/powerpc/cpu/mpc83xx/cpu.c
index cdbf1e22636..a0b3d226b42 100644
--- a/arch/powerpc/cpu/mpc83xx/cpu.c
+++ b/arch/powerpc/cpu/mpc83xx/cpu.c
@@ -32,6 +32,7 @@ 
 #include <linux/immap_qe.h>
 #include <asm/io.h>
 #endif
+#include <linux/types.h>
 
 DECLARE_GLOBAL_DATA_PTR;
 
diff --git a/arch/powerpc/cpu/mpc83xx/cpu_init.c b/arch/powerpc/cpu/mpc83xx/cpu_init.c
index 8d242792987..0f1302e9eb6 100644
--- a/arch/powerpc/cpu/mpc83xx/cpu_init.c
+++ b/arch/powerpc/cpu/mpc83xx/cpu_init.c
@@ -16,6 +16,7 @@ 
 #endif
 #include <linux/delay.h>
 #include <linux/kernel.h>
+#include <linux/types.h>
 
 #include "lblaw/lblaw.h"
 #include "elbc/elbc.h"
diff --git a/arch/powerpc/cpu/mpc83xx/ecc.c b/arch/powerpc/cpu/mpc83xx/ecc.c
index 2d9c8f24882..49f718298c2 100644
--- a/arch/powerpc/cpu/mpc83xx/ecc.c
+++ b/arch/powerpc/cpu/mpc83xx/ecc.c
@@ -7,11 +7,13 @@ 
  */
 
 #include <common.h>
+#include <compiler.h>
 #include <irq_func.h>
 #include <mpc83xx.h>
 #include <command.h>
 #include <stdio.h>
 #include <vsprintf.h>
+#include <asm/types.h>
 #include <asm/u-boot.h>
 #include <linux/string.h>
 
diff --git a/arch/powerpc/cpu/mpc83xx/fdt.c b/arch/powerpc/cpu/mpc83xx/fdt.c
index f658f98d5d6..8d47b3df766 100644
--- a/arch/powerpc/cpu/mpc83xx/fdt.c
+++ b/arch/powerpc/cpu/mpc83xx/fdt.c
@@ -13,6 +13,7 @@ 
 #include <linux/libfdt.h>
 #include <fdt_support.h>
 #include <asm/processor.h>
+#include <linux/types.h>
 
 extern void ft_qe_setup(void *blob);
 
diff --git a/arch/powerpc/cpu/mpc83xx/initreg/initreg.h b/arch/powerpc/cpu/mpc83xx/initreg/initreg.h
index 63aa5c94669..1d4984bfc30 100644
--- a/arch/powerpc/cpu/mpc83xx/initreg/initreg.h
+++ b/arch/powerpc/cpu/mpc83xx/initreg/initreg.h
@@ -1,3 +1,4 @@ 
+#include <linux/types.h>
 #define SPCR_PCIHPE_MASK	0x10000000
 #define SPCR_PCIPR_MASK		0x03000000
 #define SPCR_OPT_MASK		0x00800000
diff --git a/arch/powerpc/cpu/mpc83xx/interrupts.c b/arch/powerpc/cpu/mpc83xx/interrupts.c
index 2f463f87f7c..678d1db05cf 100644
--- a/arch/powerpc/cpu/mpc83xx/interrupts.c
+++ b/arch/powerpc/cpu/mpc83xx/interrupts.c
@@ -14,6 +14,7 @@ 
 #include <asm/processor.h>
 #include <asm/ptrace.h>
 #include <asm/u-boot.h>
+#include <linux/types.h>
 
 DECLARE_GLOBAL_DATA_PTR;
 
diff --git a/arch/powerpc/cpu/mpc83xx/pci.c b/arch/powerpc/cpu/mpc83xx/pci.c
index 17882bce7d2..4a7fb160b5d 100644
--- a/arch/powerpc/cpu/mpc83xx/pci.c
+++ b/arch/powerpc/cpu/mpc83xx/pci.c
@@ -12,6 +12,7 @@ 
 #include <stdio.h>
 #include <asm/bitops.h>
 #include <asm/global_data.h>
+#include <asm/types.h>
 #include <asm/u-boot.h>
 #include <linux/delay.h>
 
diff --git a/arch/powerpc/cpu/mpc83xx/pcie.c b/arch/powerpc/cpu/mpc83xx/pcie.c
index 31883daa469..dc4fd57266c 100644
--- a/arch/powerpc/cpu/mpc83xx/pcie.c
+++ b/arch/powerpc/cpu/mpc83xx/pcie.c
@@ -13,6 +13,7 @@ 
 #include <stdio.h>
 #include <asm/global_data.h>
 #include <asm/io.h>
+#include <asm/types.h>
 #include <asm/u-boot.h>
 #include <linux/delay.h>
 #include <linux/kernel.h>
diff --git a/arch/powerpc/cpu/mpc83xx/qe_io.c b/arch/powerpc/cpu/mpc83xx/qe_io.c
index 88aa6895511..d111def6f1d 100644
--- a/arch/powerpc/cpu/mpc83xx/qe_io.c
+++ b/arch/powerpc/cpu/mpc83xx/qe_io.c
@@ -7,6 +7,7 @@ 
  */
 
 #include <common.h>
+#include <asm/types.h>
 #include <linux/errno.h>
 #include <asm/io.h>
 #include <asm/immap_83xx.h>
diff --git a/arch/powerpc/cpu/mpc83xx/spd_sdram.c b/arch/powerpc/cpu/mpc83xx/spd_sdram.c
index b258f7f98a5..7e10d7cb464 100644
--- a/arch/powerpc/cpu/mpc83xx/spd_sdram.c
+++ b/arch/powerpc/cpu/mpc83xx/spd_sdram.c
@@ -170,6 +170,7 @@  long int spd_sdram()
 
 	/* Read SPD parameters with I2C */
 	CONFIG_SYS_READ_SPD(SPD_EEPROM_ADDRESS, SPD_EEPROM_OFFSET,
+#include <linux/types.h>
 		SPD_EEPROM_ADDR_LEN, (uchar *) &spd, sizeof(spd));
 #ifdef SPD_DEBUG
 	spd_debug(&spd);
diff --git a/arch/powerpc/cpu/mpc83xx/speed.c b/arch/powerpc/cpu/mpc83xx/speed.c
index 2f1355dfec9..6b620677075 100644
--- a/arch/powerpc/cpu/mpc83xx/speed.c
+++ b/arch/powerpc/cpu/mpc83xx/speed.c
@@ -505,6 +505,7 @@  int get_clocks(void)
  * get_bus_freq
  * return system bus freq in Hz
  *********************************************/
+#include <linux/types.h>
 ulong get_bus_freq(ulong dummy)
 {
 	return gd->arch.csb_clk;
diff --git a/arch/powerpc/cpu/mpc83xx/spl_minimal.c b/arch/powerpc/cpu/mpc83xx/spl_minimal.c
index f0d8330d3ac..b01448e45ff 100644
--- a/arch/powerpc/cpu/mpc83xx/spl_minimal.c
+++ b/arch/powerpc/cpu/mpc83xx/spl_minimal.c
@@ -11,6 +11,7 @@ 
 #include <time.h>
 #include <asm/global_data.h>
 #include <asm/u-boot.h>
+#include <linux/types.h>
 
 #include "lblaw/lblaw.h"
 #include "elbc/elbc.h"
diff --git a/arch/powerpc/cpu/mpc83xx/traps.c b/arch/powerpc/cpu/mpc83xx/traps.c
index b51bc729ca7..ed53fcb412d 100644
--- a/arch/powerpc/cpu/mpc83xx/traps.c
+++ b/arch/powerpc/cpu/mpc83xx/traps.c
@@ -21,6 +21,7 @@ 
 #include <asm/processor.h>
 #include <asm/mpc8349_pci.h>
 #include <asm/u-boot.h>
+#include <linux/types.h>
 
 DECLARE_GLOBAL_DATA_PTR;
 
diff --git a/arch/powerpc/cpu/mpc85xx/b4860_serdes.c b/arch/powerpc/cpu/mpc85xx/b4860_serdes.c
index ec18f298747..fef017c5158 100644
--- a/arch/powerpc/cpu/mpc85xx/b4860_serdes.c
+++ b/arch/powerpc/cpu/mpc85xx/b4860_serdes.c
@@ -7,6 +7,7 @@ 
 #include <asm/fsl_serdes.h>
 #include <asm/processor.h>
 #include <asm/io.h>
+#include <asm/types.h>
 #include <linux/kernel.h>
 #include "fsl_corenet2_serdes.h"
 
diff --git a/arch/powerpc/cpu/mpc85xx/bsc9132_serdes.c b/arch/powerpc/cpu/mpc85xx/bsc9132_serdes.c
index f5c9d1d8175..9a446535ed8 100644
--- a/arch/powerpc/cpu/mpc85xx/bsc9132_serdes.c
+++ b/arch/powerpc/cpu/mpc85xx/bsc9132_serdes.c
@@ -11,6 +11,7 @@ 
 #include <asm/io.h>
 #include <asm/immap_85xx.h>
 #include <asm/fsl_serdes.h>
+#include <asm/types.h>
 #include <linux/kernel.h>
 
 #define SRDS1_MAX_LANES		4
diff --git a/arch/powerpc/cpu/mpc85xx/c29x_serdes.c b/arch/powerpc/cpu/mpc85xx/c29x_serdes.c
index 8c61fd471bc..8bff23cbbf8 100644
--- a/arch/powerpc/cpu/mpc85xx/c29x_serdes.c
+++ b/arch/powerpc/cpu/mpc85xx/c29x_serdes.c
@@ -10,6 +10,7 @@ 
 #include <asm/io.h>
 #include <asm/immap_85xx.h>
 #include <asm/fsl_serdes.h>
+#include <asm/types.h>
 #include <linux/kernel.h>
 
 #define SRDS1_MAX_LANES		4
diff --git a/arch/powerpc/cpu/mpc85xx/cmd_errata.c b/arch/powerpc/cpu/mpc85xx/cmd_errata.c
index 59fdc8860d9..6bfdddd1bd4 100644
--- a/arch/powerpc/cpu/mpc85xx/cmd_errata.c
+++ b/arch/powerpc/cpu/mpc85xx/cmd_errata.c
@@ -5,6 +5,7 @@ 
 
 #include <common.h>
 #include <command.h>
+#include <compiler.h>
 #include <init.h>
 #include <stdio.h>
 #include <asm/u-boot.h>
@@ -13,6 +14,7 @@ 
 #include <asm/processor.h>
 #include <fsl_usb.h>
 #include <linux/kernel.h>
+#include <linux/types.h>
 #include "fsl_corenet_serdes.h"
 
 #ifdef CONFIG_SYS_FSL_ERRATUM_A004849
diff --git a/arch/powerpc/cpu/mpc85xx/commproc.c b/arch/powerpc/cpu/mpc85xx/commproc.c
index 79ad806dbdf..9c6b8b75993 100644
--- a/arch/powerpc/cpu/mpc85xx/commproc.c
+++ b/arch/powerpc/cpu/mpc85xx/commproc.c
@@ -27,6 +27,7 @@ 
 #include <asm/cpm_85xx.h>
 #include <asm/global_data.h>
 #include <linux/string.h>
+#include <linux/types.h>
 
 DECLARE_GLOBAL_DATA_PTR;
 
diff --git a/arch/powerpc/cpu/mpc85xx/cpu.c b/arch/powerpc/cpu/mpc85xx/cpu.c
index da578d6c900..f61ad7c740b 100644
--- a/arch/powerpc/cpu/mpc85xx/cpu.c
+++ b/arch/powerpc/cpu/mpc85xx/cpu.c
@@ -8,6 +8,7 @@ 
  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  */
 
+#include <compiler.h>
 #include <config.h>
 #include <common.h>
 #include <cpu_func.h>
@@ -35,6 +36,7 @@ 
 #include <asm/u-boot.h>
 #include <linux/delay.h>
 #include <linux/kernel.h>
+#include <linux/types.h>
 
 DECLARE_GLOBAL_DATA_PTR;
 
diff --git a/arch/powerpc/cpu/mpc85xx/cpu_init.c b/arch/powerpc/cpu/mpc85xx/cpu_init.c
index 96d00883574..faa36693c04 100644
--- a/arch/powerpc/cpu/mpc85xx/cpu_init.c
+++ b/arch/powerpc/cpu/mpc85xx/cpu_init.c
@@ -10,6 +10,7 @@ 
  */
 
 #include <common.h>
+#include <compiler.h>
 #include <display_options.h>
 #include <env.h>
 #include <init.h>
@@ -40,6 +41,7 @@ 
 #include <linux/compiler.h>
 #include <linux/delay.h>
 #include <linux/string.h>
+#include <linux/types.h>
 #include "mp.h"
 #ifdef CONFIG_CHAIN_OF_TRUST
 #include <fsl_validate.h>
diff --git a/arch/powerpc/cpu/mpc85xx/cpu_init_early.c b/arch/powerpc/cpu/mpc85xx/cpu_init_early.c
index 4195ecc5c98..867fe124292 100644
--- a/arch/powerpc/cpu/mpc85xx/cpu_init_early.c
+++ b/arch/powerpc/cpu/mpc85xx/cpu_init_early.c
@@ -10,6 +10,7 @@ 
 #include <asm/mmu.h>
 #include <asm/fsl_law.h>
 #include <asm/io.h>
+#include <asm/types.h>
 
 DECLARE_GLOBAL_DATA_PTR;
 
diff --git a/arch/powerpc/cpu/mpc85xx/ether_fcc.c b/arch/powerpc/cpu/mpc85xx/ether_fcc.c
index df1981cc7ae..f2b108038ce 100644
--- a/arch/powerpc/cpu/mpc85xx/ether_fcc.c
+++ b/arch/powerpc/cpu/mpc85xx/ether_fcc.c
@@ -15,6 +15,7 @@ 
  * Basic ET HW initialization and packet RX/TX routines
  *
  * This code will not perform