Skip to contentSkip to conversation

common: Further reduce the size of common.h

PATCH Superseded Simon Glass 4 participants 25 messages Apr 7, 2020 – May 30, 2020 Page 1 of 4

Subsystems (127)

v1 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

cover common: Further reduce the size of common.h

This is yet another series to remove the contents of common.h so that individual files include the headers they need.

With this series there are only 14 includes left.

In order to get this far the commits include a number of small clean-ups:

- Fixing code style like 'udelay (2)' to 'udelay(1)
- Dropping typedefs so that forward struct declarations can be used
- Actually adding common.h in a few files where it is missing (thus causing inconsistent blk.h config in EFI, for example)

Unfortunately removing a header from common.h does not always just affect the files that rely on that header. For example, removing net.h from common.h created problems since net.h itself includes a lots of headers. Rather than blindly add net.h to each of those files, I chose to add what those files actually needed.

Simon Glass (18):
common: Drop uuid.h from common header
common: Drop flash.h from common header
arm: Don't include common.h in header files
common: Drop net.h from common header
part: Drop disk_partition_t typedef
common: Drop part.h from common header
bootstage: Use BOOTSTAGE instead of BOOTSTATE
common: Drop bootstage.h from common header
common: Drop image.h from common header
common: Drop init.h from common header
command: Remove the cmd_tbl_t typedef
common: Drop log.h from common header
common: Drop asm/ptrace.h from common header
common: Drop asm_offsets.h from common header
common: Drop linux/bug.h from common header
common: Drop linux/stringify.h from common header
common: Drop linux/delay.h from common header
common: Drop linux/bitops.h from common header

 api/api.c                                     |   1 +
 api/api_display.c                             |   1 +
 api/api_storage.c                             |   1 +
 arch/arc/include/asm/arcregs.h                |   2 +
 arch/arc/lib/bootm.c                          |   7 +-
 arch/arc/lib/cache.c                          |   1 +
 arch/arc/lib/cpu.c                            |   2 +
 arch/arc/lib/init_helpers.c                   |   1 +
 arch/arc/lib/relocate.c                       |   1 +
 arch/arc/lib/reset.c                          |   2 +-
 arch/arm/cpu/arm11/cpu.c                      |   1 +
 arch/arm/cpu/arm1136/mx31/generic.c           |   1 +
 arch/arm/cpu/arm1136/mx31/timer.c             |   1 +
 arch/arm/cpu/arm1136/mx35/generic.c           |   7 +-
 arch/arm/cpu/arm1136/mx35/timer.c             |   2 +
 arch/arm/cpu/arm920t/ep93xx/timer.c           |   2 +
 arch/arm/cpu/arm920t/imx/timer.c              |   3 +-
 arch/arm/cpu/arm926ejs/armada100/cpu.c        |   1 +
 arch/arm/cpu/arm926ejs/armada100/dram.c       |   1 +
 arch/arm/cpu/arm926ejs/armada100/timer.c      |   2 +
 arch/arm/cpu/arm926ejs/cache.c                |   1 +
 arch/arm/cpu/arm926ejs/cpu.c                  |   1 +
 arch/arm/cpu/arm926ejs/lpc32xx/cpu.c          |   2 +
 arch/arm/cpu/arm926ejs/lpc32xx/dram.c         |   1 +
 arch/arm/cpu/arm926ejs/lpc32xx/timer.c        |   2 +
 arch/arm/cpu/arm926ejs/mx25/generic.c         |   2 +
 arch/arm/cpu/arm926ejs/mx25/timer.c           |   2 +
 arch/arm/cpu/arm926ejs/mx27/generic.c         |   1 +
 arch/arm/cpu/arm926ejs/mx27/timer.c           |   3 +
 arch/arm/cpu/arm926ejs/mxs/clock.c            |   1 +
 arch/arm/cpu/arm926ejs/mxs/mxs.c              |   7 +-
 arch/arm/cpu/arm926ejs/mxs/spl_boot.c         |   2 +
 arch/arm/cpu/arm926ejs/mxs/spl_lradc_init.c   |   1 +
 arch/arm/cpu/arm926ejs/mxs/spl_mem_init.c     |   1 +
 arch/arm/cpu/arm926ejs/mxs/spl_power_init.c   |   1 +
 arch/arm/cpu/arm926ejs/mxs/timer.c            |   2 +
 arch/arm/cpu/arm926ejs/spear/cpu.c            |   4 +-
 arch/arm/cpu/arm926ejs/spear/reset.c          |   1 +
 arch/arm/cpu/arm926ejs/spear/spl.c            |   2 +
 arch/arm/cpu/arm926ejs/spear/spr_misc.c       |   3 +-
 arch/arm/cpu/arm926ejs/spear/timer.c          |   3 +
 arch/arm/cpu/armv7/arch_timer.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-eth.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-eth.c         |   1 +
 arch/arm/cpu/armv7/cache_v7.c                 |   1 +
 arch/arm/cpu/armv7/exception_level.c          |   1 +
 .../cpu/armv7/iproc-common/hwinit-common.c    |   1 +
 arch/arm/cpu/armv7/iproc-common/timer.c       |   2 +
 .../arm/cpu/armv7/kona-common/hwinit-common.c |   1 +
 arch/arm/cpu/armv7/ls102xa/cpu.c              |   3 +
 arch/arm/cpu/armv7/ls102xa/fdt.c              |   1 +
 arch/arm/cpu/armv7/ls102xa/soc.c              |   1 +
 arch/arm/cpu/armv7/ls102xa/timer.c            |   2 +
 arch/arm/cpu/armv7/mpu_v7r.c                  |   1 +
 arch/arm/cpu/armv7/s5p-common/cpu_info.c      |   1 +
 arch/arm/cpu/armv7/s5p-common/timer.c         |   2 +
 arch/arm/cpu/armv7/stv0991/reset.c            |   1 +
 arch/arm/cpu/armv7/stv0991/timer.c            |   2 +
 arch/arm/cpu/armv7/sunxi/psci.c               |   1 +
 arch/arm/cpu/armv7/sunxi/timer.c              |   2 +
 arch/arm/cpu/armv7/vf610/generic.c            |   8 +-
 arch/arm/cpu/armv7/vf610/timer.c              |   2 +
 arch/arm/cpu/armv7/virt-dt.c                  |   1 +
 arch/arm/cpu/armv7/virt-v7.c                  |   1 +
 arch/arm/cpu/armv7m/cache.c                   |   3 +
 arch/arm/cpu/armv7m/systick-timer.c           |   2 +
 arch/arm/cpu/armv8/cache_v8.c                 |   2 +
 arch/arm/cpu/armv8/cpu-dt.c                   |   1 +
 arch/arm/cpu/armv8/cpu.c                      |   1 +
 arch/arm/cpu/armv8/exception_level.c          |   2 +
 arch/arm/cpu/armv8/fsl-layerscape/cpu.c       |   4 +
 arch/arm/cpu/armv8/fsl-layerscape/fdt.c       |   2 +
 .../armv8/fsl-layerscape/fsl_lsch2_serdes.c   |   2 +
 .../armv8/fsl-layerscape/fsl_lsch3_serdes.c   |   4 +
 .../arm/cpu/armv8/fsl-layerscape/ls1028_ids.c |   2 +
 arch/arm/cpu/armv8/fsl-layerscape/mp.c        |   5 +-
 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       |   4 +
 arch/arm/cpu/armv8/fwcall.c                   |   2 +
 arch/arm/cpu/armv8/generic_timer.c            |   2 +
 arch/arm/cpu/armv8/hisilicon/pinmux.c         |   2 +
 arch/arm/cpu/armv8/s32v234/cpu.c              |   3 +
 arch/arm/cpu/armv8/s32v234/generic.c          |   2 +
 arch/arm/cpu/armv8/sec_firmware.c             |   5 +
 arch/arm/cpu/pxa/cache.c                      |   1 +
 arch/arm/cpu/pxa/cpuinfo.c                    |   1 +
 arch/arm/cpu/pxa/pxa2xx.c                     |   2 +
 arch/arm/cpu/pxa/timer.c                      |   1 +
 arch/arm/cpu/pxa/usb.c                        |   1 +
 arch/arm/cpu/sa1100/timer.c                   |   3 +-
 .../include/asm/arch-am33xx/clk_synthesizer.h |   2 -
 arch/arm/include/asm/arch-am33xx/cpu.h        |   1 +
 .../include/asm/arch-am33xx/hardware_am43xx.h |   4 +
 arch/arm/include/asm/arch-am33xx/mux.h        |   1 -
 arch/arm/include/asm/arch-am33xx/mux_am33xx.h |   1 -
 arch/arm/include/asm/arch-am33xx/mux_am43xx.h |   1 -
 arch/arm/include/asm/arch-am33xx/mux_ti816x.h |   1 -
 .../include/asm/arch-fsl-layerscape/clock.h   |   2 -
 .../include/asm/arch-fsl-layerscape/config.h  |   4 +
 .../asm/arch-fsl-layerscape/immap_lsch2.h     |   3 +
 arch/arm/include/asm/arch-hi3660/hi3660.h     |   4 +
 arch/arm/include/asm/arch-imx8/iomux.h        |   4 +
 arch/arm/include/asm/arch-imx8/sci/sci.h      |   1 +
 .../arm/include/asm/arch-imx8m/clock_imx8mm.h |   4 +
 .../arm/include/asm/arch-imx8m/clock_imx8mq.h |   4 +
 arch/arm/include/asm/arch-lpc32xx/dma.h       |   2 -
 arch/arm/include/asm/arch-lpc32xx/i2c.h       |   1 -
 arch/arm/include/asm/arch-ls102xa/clock.h     |   2 -
 arch/arm/include/asm/arch-meson/axg.h         |   4 +
 arch/arm/include/asm/arch-meson/g12a.h        |   4 +
 arch/arm/include/asm/arch-meson/gx.h          |   4 +
 arch/arm/include/asm/arch-meson/sd_emmc.h     |   4 +
 arch/arm/include/asm/arch-mx25/clock.h        |   2 -
 arch/arm/include/asm/arch-mx31/clock.h        |   2 -
 arch/arm/include/asm/arch-mx35/clock.h        |   2 -
 arch/arm/include/asm/arch-mx5/clock.h         |   2 -
 arch/arm/include/asm/arch-mx5/imx-regs.h      |   2 +-
 arch/arm/include/asm/arch-mx6/clock.h         |   7 +-
 arch/arm/include/asm/arch-mx6/imx-regs.h      |   3 +-
 arch/arm/include/asm/arch-mx7/clock.h         |   1 -
 arch/arm/include/asm/arch-mx7/imx-regs.h      |   3 +-
 arch/arm/include/asm/arch-mx7/mx7-ddr.h       |   4 +
 arch/arm/include/asm/arch-mx7ulp/clock.h      |   1 -
 arch/arm/include/asm/arch-mx7ulp/pcc.h        |   1 -
 arch/arm/include/asm/arch-mx7ulp/scg.h        |   2 -
 arch/arm/include/asm/arch-omap4/clock.h       |   1 -
 arch/arm/include/asm/arch-omap5/clock.h       |   1 -
 .../include/asm/arch-omap5/dra7xx_iodelay.h   |   1 -
 arch/arm/include/asm/arch-owl/clk_s900.h      |   3 +
 arch/arm/include/asm/arch-rk3308/cru_rk3308.h |   2 -
 arch/arm/include/asm/arch-rk3308/grf_rk3308.h |   2 -
 arch/arm/include/asm/arch-rockchip/cru.h      |   4 +
 arch/arm/include/asm/arch-rockchip/cru_px30.h |   2 -
 .../include/asm/arch-rockchip/cru_rk3036.h    |   2 -
 .../include/asm/arch-rockchip/cru_rk3128.h    |   4 +-
 .../include/asm/arch-rockchip/cru_rk322x.h    |   2 -
 .../include/asm/arch-rockchip/cru_rk3328.h    |   2 -
 .../include/asm/arch-rockchip/cru_rk3368.h    |   5 +-
 .../include/asm/arch-rockchip/cru_rk3399.h    |   2 -
 .../include/asm/arch-rockchip/cru_rv1108.h    |   4 +-
 .../include/asm/arch-rockchip/ddr_rk3368.h    |   4 +
 arch/arm/include/asm/arch-rockchip/grf_px30.h |   2 -
 .../include/asm/arch-rockchip/grf_rk3036.h    |   2 -
 .../include/asm/arch-rockchip/grf_rk3128.h    |   2 -
 .../include/asm/arch-rockchip/grf_rk322x.h    |   2 -
 .../include/asm/arch-rockchip/grf_rk3368.h    |   4 +-
 .../include/asm/arch-rockchip/grf_rv1108.h    |   2 -
 .../include/asm/arch-rockchip/lvds_rk3288.h   |   4 +
 .../asm/arch-rockchip/sdram_pctl_px30.h       |   4 +
 .../asm/arch-rockchip/sdram_phy_px30.h        |   4 +
 .../include/asm/arch-rockchip/sdram_rk3036.h  |   2 -
 .../include/asm/arch-rockchip/sdram_rk322x.h  |   4 +-
 .../include/asm/arch-rockchip/sdram_rk3399.h  |   3 +
 arch/arm/include/asm/arch-s32v234/clock.h     |   2 -
 arch/arm/include/asm/arch-s32v234/imx-regs.h  |   2 +-
 arch/arm/include/asm/arch-stih410/sdhci.h     |   4 +
 arch/arm/include/asm/arch-stm32f4/stm32_pwr.h |   5 +
 arch/arm/include/asm/arch-stm32f7/stm32_pwr.h |   5 +
 arch/arm/include/asm/arch-stm32f7/syscfg.h    |   4 +
 arch/arm/include/asm/arch-sunxi/ccu.h         |   4 +
 .../include/asm/arch-sunxi/clock_sun50i_h6.h  |   4 +
 arch/arm/include/asm/arch-sunxi/clock_sun9i.h |   4 +
 .../include/asm/arch-sunxi/dram_sun50i_h6.h   |   3 +
 arch/arm/include/asm/arch-sunxi/dram_sun6i.h  |   4 +
 .../include/asm/arch-sunxi/dram_sun8i_a33.h   |   4 +
 .../include/asm/arch-sunxi/dram_sun8i_a83t.h  |   4 +
 arch/arm/include/asm/arch-sunxi/dram_sun9i.h  |   4 +
 arch/arm/include/asm/arch-sunxi/pwm.h         |   4 +
 arch/arm/include/asm/arch-sunxi/rsb.h         |   1 -
 arch/arm/include/asm/arch-tegra/cboot.h       |   3 +
 arch/arm/include/asm/arch-tegra/dc.h          |   4 +
 arch/arm/include/asm/arch-tegra/ivc.h         |   2 -
 arch/arm/include/asm/arch-tegra/pmc.h         |   4 +
 arch/arm/include/asm/arch-tegra/tegra_mmc.h   |   1 -
 arch/arm/include/asm/arch-tegra124/flow.h     |   4 +
 arch/arm/include/asm/arch-vf610/clock.h       |   2 -
 arch/arm/include/asm/arch-vf610/imx-regs.h    |   3 +-
 arch/arm/include/asm/armv7_mpu.h              |   4 +
 arch/arm/include/asm/bitops.h                 |  10 +-
 arch/arm/include/asm/dma-mapping.h            |   2 +-
 arch/arm/include/asm/emif.h                   |   1 -
 arch/arm/include/asm/gic-v3.h                 |   4 +
 arch/arm/include/asm/mach-imx/dma.h           |   1 +
 arch/arm/include/asm/mach-imx/iomux-v3.h      |   2 +-
 arch/arm/include/asm/mach-imx/sys_proto.h     |   6 +-
 arch/arm/include/asm/omap_common.h            |  10 +-
 arch/arm/include/asm/omap_mmc.h               |   3 +
 arch/arm/include/asm/omap_sec_common.h        |   2 -
 arch/arm/include/asm/psci.h                   |   1 +
 arch/arm/include/asm/system.h                 |   3 +-
 arch/arm/include/asm/ti-common/keystone_net.h |   3 +
 arch/arm/include/asm/ti-common/omap_wdt.h     |   4 +
 arch/arm/include/asm/ti-common/ti-edma3.h     |   3 +
 arch/arm/lib/bootm.c                          |   6 +-
 arch/arm/lib/cache-cp15.c                     |   1 +
 arch/arm/lib/cache.c                          |   2 +
 arch/arm/lib/cmd_boot.c                       |   2 +-
 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                  |   1 +
 arch/arm/lib/psci-dt.c                        |   1 +
 arch/arm/lib/reset.c                          |   6 +-
 arch/arm/lib/semihosting.c                    |   5 +-
 arch/arm/lib/spl.c                            |   3 +
 arch/arm/lib/stack.c                          |   1 +
 arch/arm/lib/zimage.c                         |   1 +
 arch/arm/mach-aspeed/ast2500-board.c          |   2 +
 arch/arm/mach-aspeed/ast2500/sdram_ast2500.c  |   1 +
 arch/arm/mach-at91/arm920t/cpu.c              |   1 +
 arch/arm/mach-at91/arm920t/timer.c            |   2 +
 arch/arm/mach-at91/arm926ejs/cpu.c            |   1 +
 arch/arm/mach-at91/arm926ejs/eflash.c         |  10 +-
 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/timer.c              |   1 +
 arch/arm/mach-at91/include/mach/at91_pmc.h    |   1 +
 arch/arm/mach-at91/include/mach/at91_sfr.h    |   1 +
 arch/arm/mach-at91/include/mach/atmel_pio4.h  |   1 +
 arch/arm/mach-at91/mpddrc.c                   |   1 +
 arch/arm/mach-at91/phy.c                      |   1 +
 arch/arm/mach-at91/spl_at91.c                 |   2 +
 arch/arm/mach-at91/spl_atmel.c                |   2 +
 arch/arm/mach-bcm283x/include/mach/timer.h    |   1 +
 arch/arm/mach-bcm283x/init.c                  |   1 +
 arch/arm/mach-bcm283x/mbox.c                  |   2 +
 arch/arm/mach-davinci/cpu.c                   |   1 +
 arch/arm/mach-davinci/da850_lowlevel.c        |   1 +
 arch/arm/mach-davinci/misc.c                  |   1 +
 arch/arm/mach-davinci/spl.c                   |   1 +
 arch/arm/mach-davinci/timer.c                 |   2 +
 arch/arm/mach-exynos/clock.c                  |   1 +
 arch/arm/mach-exynos/include/mach/clock.h     |   1 +
 arch/arm/mach-exynos/include/mach/dp_info.h   |   1 +
 arch/arm/mach-exynos/lowlevel_init.c          |   2 +
 arch/arm/mach-exynos/pinmux.c                 |   1 +
 arch/arm/mach-exynos/soc.c                    |   1 +
 arch/arm/mach-exynos/spl_boot.c               |   3 +
 arch/arm/mach-highbank/timer.c                |   1 +
 arch/arm/mach-imx/cache.c                     |   1 +
 arch/arm/mach-imx/cmd_bmode.c                 |   6 +-
 arch/arm/mach-imx/cmd_dek.c                   |   4 +-
 arch/arm/mach-imx/cmd_hdmidet.c               |   4 +-
 arch/arm/mach-imx/cmd_nandbcb.c               |  11 +-
 arch/arm/mach-imx/cpu.c                       |   3 +
 arch/arm/mach-imx/ddrmc-vf610-calibration.c   |   1 +
 arch/arm/mach-imx/ddrmc-vf610.c               |   2 +
 arch/arm/mach-imx/hab.c                       |  21 ++--
 arch/arm/mach-imx/i2c-mxv7.c                  |   1 +
 arch/arm/mach-imx/imx8/ahab.c                 |  14 ++-
 arch/arm/mach-imx/imx8/cpu.c                  |   2 +
 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/imx8m/clock_imx8mm.c        |   2 +
 arch/arm/mach-imx/imx8m/clock_imx8mq.c        |   6 +-
 arch/arm/mach-imx/imx8m/soc.c                 |   2 +
 arch/arm/mach-imx/imx_bootaux.c               |   4 +-
 arch/arm/mach-imx/imxrt/soc.c                 |   2 +
 arch/arm/mach-imx/misc.c                      |   3 +
 arch/arm/mach-imx/mx5/clock.c                 |   5 +-
 arch/arm/mach-imx/mx5/soc.c                   |   1 +
 arch/arm/mach-imx/mx6/clock.c                 |   5 +-
 arch/arm/mach-imx/mx6/ddr.c                   |   2 +
 arch/arm/mach-imx/mx6/litesom.c               |   1 +
 arch/arm/mach-imx/mx6/soc.c                   |   1 +
 arch/arm/mach-imx/mx7/clock.c                 |   5 +-
 arch/arm/mach-imx/mx7/psci-mx7.c              |   1 +
 arch/arm/mach-imx/mx7/soc.c                   |   2 +
 arch/arm/mach-imx/mx7ulp/clock.c              |   4 +-
 arch/arm/mach-imx/mx7ulp/iomux.c              |   1 +
 arch/arm/mach-imx/mx7ulp/pcc.c                |   1 +
 arch/arm/mach-imx/mx7ulp/scg.c                |   2 +
 arch/arm/mach-imx/mx7ulp/soc.c                |   4 +
 arch/arm/mach-imx/sata.c                      |   1 +
 arch/arm/mach-imx/sip.c                       |   2 +
 arch/arm/mach-imx/spl.c                       |   2 +
 arch/arm/mach-imx/spl_imx_romapi.c            |   1 +
 arch/arm/mach-imx/syscounter.c                |   2 +
 arch/arm/mach-imx/timer.c                     |   1 +
 arch/arm/mach-k3/am6_init.c                   |   1 +
 arch/arm/mach-k3/common.c                     |   4 +
 arch/arm/mach-k3/include/mach/am6_hardware.h  |   3 +
 .../arm/mach-k3/include/mach/j721e_hardware.h |   3 +
 arch/arm/mach-k3/include/mach/j721e_spl.h     |   1 +
 arch/arm/mach-k3/j721e_init.c                 |   1 +
 arch/arm/mach-k3/security.c                   |   3 +
 arch/arm/mach-k3/sysfw-loader.c               |   3 +
 arch/arm/mach-keystone/clock.c                |   1 +
 arch/arm/mach-keystone/cmd_clock.c            |   7 +-
 arch/arm/mach-keystone/cmd_mon.c              |   8 +-
 arch/arm/mach-keystone/cmd_poweroff.c         |   2 +-
 arch/arm/mach-keystone/ddr3.c                 |   2 +
 arch/arm/mach-keystone/ddr3_spd.c             |   1 +
 .../mach-keystone/include/mach/clock_defs.h   |   3 +
 .../include/mach/hardware-k2hk.h              |   4 +
 .../mach-keystone/include/mach/hardware-k2l.h |   4 +
 .../arm/mach-keystone/include/mach/hardware.h |   1 +
 .../include/mach/xhci-keystone.h              |   4 +
 arch/arm/mach-keystone/init.c                 |   3 +
 arch/arm/mach-keystone/keystone.c             |   2 +
 arch/arm/mach-keystone/mon.c                  |   1 +
 arch/arm/mach-keystone/psc.c                  |   1 +
 arch/arm/mach-kirkwood/cache.c                |   1 +
 arch/arm/mach-kirkwood/cpu.c                  |   3 +
 arch/arm/mach-kirkwood/mpp.c                  |   1 +
 arch/arm/mach-mediatek/cpu.c                  |   1 +
 arch/arm/mach-mediatek/mt7622/init.c          |   2 +
 arch/arm/mach-mediatek/mt7629/init.c          |   3 +
 arch/arm/mach-mediatek/mt8512/init.c          |   3 +
 arch/arm/mach-mediatek/mt8516/init.c          |   2 +
 arch/arm/mach-mediatek/mt8518/init.c          |   2 +
 arch/arm/mach-mediatek/spl.c                  |   1 +
 arch/arm/mach-meson/board-axg.c               |   1 +
 arch/arm/mach-meson/board-common.c            |   3 +
 arch/arm/mach-meson/board-g12a.c              |   2 +
 arch/arm/mach-meson/board-gx.c                |   1 +
 arch/arm/mach-meson/board-info.c              |   2 +
 arch/arm/mach-meson/sm.c                      |  18 ++-
 arch/arm/mach-mvebu/arm64-common.c            |   2 +
 arch/arm/mach-mvebu/armada3700/cpu.c          |   1 +
 arch/arm/mach-mvebu/cpu.c                     |   3 +
 arch/arm/mach-mvebu/efuse.c                   |   2 +
 arch/arm/mach-mvebu/include/mach/soc.h        |   4 +
 arch/arm/mach-mvebu/mbus.c                    |   1 +
 arch/arm/mach-mvebu/serdes/a38x/ctrl_pex.c    |   2 +
 .../serdes/a38x/high_speed_env_spec.c         |   1 +
 arch/arm/mach-mvebu/serdes/a38x/seq_exec.c    |   1 +
 .../serdes/axp/high_speed_env_lib.c           |   1 +
 arch/arm/mach-mvebu/spl.c                     |   2 +
 arch/arm/mach-mvebu/timer.c                   |   2 +
 arch/arm/mach-omap2/abb.c                     |   1 +
 arch/arm/mach-omap2/am33xx/board.c            |   2 +
 arch/arm/mach-omap2/am33xx/chilisom.c         |   1 +
 arch/arm/mach-omap2/am33xx/clock.c            |   2 +
 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              |   3 +
 arch/arm/mach-omap2/am33xx/sys_info.c         |   1 +
 arch/arm/mach-omap2/am33xx/ti816x_emif4.c     |   1 +
 arch/arm/mach-omap2/boot-common.c             |   1 +
 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           |   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             |   5 +-
 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/omap4/sdram_elpida.c      |   1 +
 arch/arm/mach-omap2/omap5/abb.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/hwinit.c            |   1 +
 arch/arm/mach-omap2/omap5/sdram.c             |   1 +
 arch/arm/mach-omap2/pipe3-phy.c               |   2 +
 arch/arm/mach-omap2/sec-common.c              |   2 +
 arch/arm/mach-omap2/timer.c                   |   2 +
 arch/arm/mach-omap2/utils.c                   |   3 +-
 arch/arm/mach-orion5x/cpu.c                   |   2 +
 arch/arm/mach-orion5x/timer.c                 |   2 +
 arch/arm/mach-rmobile/board.c                 |   1 +
 arch/arm/mach-rmobile/cpu_info.c              |   2 +
 arch/arm/mach-rmobile/emac.c                  |   1 +
 .../include/mach/rcar-gen3-base.h             |   1 +
 arch/arm/mach-rmobile/include/mach/sh_sdhi.h  |   1 +
 arch/arm/mach-rmobile/timer.c                 |   2 +
 arch/arm/mach-rockchip/board.c                |   2 +
 arch/arm/mach-rockchip/boot_mode.c            |   3 +
 arch/arm/mach-rockchip/bootrom.c              |   1 +
 arch/arm/mach-rockchip/cpu-info.c             |   2 +
 arch/arm/mach-rockchip/misc.c                 |   2 +
 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/rk3036.c        |   3 +
 arch/arm/mach-rockchip/rk3036/sdram_rk3036.c  |   2 +
 arch/arm/mach-rockchip/rk3128/rk3128.c        |   1 +
 arch/arm/mach-rockchip/rk3188/rk3188.c        |   2 +
 arch/arm/mach-rockchip/rk3188/syscon_rk3188.c |   1 +
 arch/arm/mach-rockchip/rk322x/rk322x.c        |   1 +
 arch/arm/mach-rockchip/rk3288/rk3288.c        |   5 +-
 arch/arm/mach-rockchip/rk3288/syscon_rk3288.c |   1 +
 arch/arm/mach-rockchip/rk3308/rk3308.c        |   2 +
 arch/arm/mach-rockchip/rk3328/rk3328.c        |   1 +
 arch/arm/mach-rockchip/rk3368/rk3368.c        |   3 +
 arch/arm/mach-rockchip/rk3368/syscon_rk3368.c |   1 +
 arch/arm/mach-rockchip/rk3399/rk3399.c        |   4 +
 arch/arm/mach-rockchip/rk3399/syscon_rk3399.c |   1 +
 arch/arm/mach-rockchip/sdram.c                |   1 +
 arch/arm/mach-rockchip/spl-boot-order.c       |   1 +
 arch/arm/mach-rockchip/spl.c                  |   4 +
 arch/arm/mach-rockchip/tpl.c                  |   3 +
 arch/arm/mach-s5pc1xx/cache.c                 |   1 +
 arch/arm/mach-snapdragon/dram.c               |   2 +
 arch/arm/mach-snapdragon/pinctrl-snapdragon.c |   1 +
 arch/arm/mach-socfpga/board.c                 |   1 +
 arch/arm/mach-socfpga/clock_manager.c         |   5 +-
 arch/arm/mach-socfpga/clock_manager_agilex.c  |   1 +
 arch/arm/mach-socfpga/clock_manager_arria10.c |   1 +
 arch/arm/mach-socfpga/freeze_controller.c     |   1 +
 .../mach-socfpga/include/mach/clock_manager.h |   2 +-
 .../include/mach/clock_manager_arria10.h      |   7 +-
 .../include/mach/clock_manager_gen5.h         |   7 +-
 .../include/mach/clock_manager_s10.h          |   1 +
 arch/arm/mach-socfpga/include/mach/firewall.h |   2 +
 .../include/mach/fpga_manager_arria10.h       |   1 +
 .../include/mach/fpga_manager_gen5.h          |   1 +
 .../mach-socfpga/include/mach/mailbox_s10.h   |   1 +
 .../include/mach/reset_manager_arria10.h      |   1 +
 .../mach-socfpga/include/mach/sdram_arria10.h |   1 +
 .../include/mach/system_manager.h             |   1 +
 .../include/mach/system_manager_soc64.h       |   1 +
 arch/arm/mach-socfpga/misc.c                  |   6 +-
 arch/arm/mach-socfpga/misc_arria10.c          |   1 +
 arch/arm/mach-socfpga/misc_gen5.c             |   2 +
 arch/arm/mach-socfpga/misc_s10.c              |   2 +
 arch/arm/mach-socfpga/pinmux_arria10.c        |   1 +
 arch/arm/mach-socfpga/reset_manager_gen5.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            |   2 +
 arch/arm/mach-socfpga/spl_gen5.c              |   3 +
 arch/arm/mach-socfpga/spl_s10.c               |   2 +
 arch/arm/mach-socfpga/timer.c                 |   1 +
 arch/arm/mach-socfpga/timer_s10.c             |   1 +
 arch/arm/mach-stm32/soc.c                     |   1 +
 arch/arm/mach-stm32mp/bsec.c                  |   1 +
 arch/arm/mach-stm32mp/cmd_stm32key.c          |   4 +-
 arch/arm/mach-stm32mp/cpu.c                   |   4 +
 arch/arm/mach-stm32mp/dram_init.c             |   2 +
 arch/arm/mach-stm32mp/fdt.c                   |   1 +
 arch/arm/mach-stm32mp/include/mach/stm32.h    |   4 +
 arch/arm/mach-stm32mp/psci.c                  |   2 +
 arch/arm/mach-stm32mp/pwr_regulator.c         |   1 +
 arch/arm/mach-stm32mp/spl.c                   |   2 +
 arch/arm/mach-sunxi/board.c                   |   3 +
 arch/arm/mach-sunxi/clock_sun6i.c             |   2 +
 arch/arm/mach-sunxi/clock_sun8i_a83t.c        |   1 +
 arch/arm/mach-sunxi/cpu_info.c                |   1 +
 arch/arm/mach-sunxi/dram_sun4i.c              |   1 +
 arch/arm/mach-sunxi/dram_sun50i_h6.c          |   5 +-
 arch/arm/mach-sunxi/dram_sun6i.c              |   2 +
 arch/arm/mach-sunxi/dram_sun8i_a23.c          |   2 +
 arch/arm/mach-sunxi/dram_sun8i_a33.c          |   2 +
 arch/arm/mach-sunxi/dram_sun8i_a83t.c         |   2 +
 arch/arm/mach-sunxi/dram_sun9i.c              |   2 +
 arch/arm/mach-sunxi/dram_sunxi_dw.c           |   3 +
 arch/arm/mach-sunxi/spl_spi_sunxi.c           |   4 +
 arch/arm/mach-tegra/ap.c                      |   1 +
 arch/arm/mach-tegra/board.c                   |   2 +
 arch/arm/mach-tegra/board2.c                  |   1 +
 arch/arm/mach-tegra/cboot.c                   |   3 +
 arch/arm/mach-tegra/clock.c                   |   2 +
 arch/arm/mach-tegra/cmd_enterrcm.c            |   6 +-
 arch/arm/mach-tegra/cpu.c                     |   2 +
 arch/arm/mach-tegra/gpu.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/powergate.c               |   1 +
 arch/arm/mach-tegra/spl.c                     |   1 +
 arch/arm/mach-tegra/sys_info.c                |   1 +
 arch/arm/mach-tegra/tegra114/clock.c          |   3 +
 arch/arm/mach-tegra/tegra114/cpu.c            |   2 +
 arch/arm/mach-tegra/tegra114/funcmux.c        |   1 +
 arch/arm/mach-tegra/tegra124/clock.c          |   3 +
 arch/arm/mach-tegra/tegra124/cpu.c            |   2 +
 arch/arm/mach-tegra/tegra124/funcmux.c        |   1 +
 arch/arm/mach-tegra/tegra124/xusb-padctl.c    |   2 +
 arch/arm/mach-tegra/tegra20/clock.c           |   3 +
 arch/arm/mach-tegra/tegra20/cpu.c             |   1 +
 arch/arm/mach-tegra/tegra20/crypto.c          |   1 +
 arch/arm/mach-tegra/tegra20/emc.c             |   1 +
 arch/arm/mach-tegra/tegra20/funcmux.c         |   1 +
 arch/arm/mach-tegra/tegra20/pmu.c             |   1 +
 arch/arm/mach-tegra/tegra210/clock.c          |   5 +
 arch/arm/mach-tegra/tegra210/funcmux.c        |   1 +
 arch/arm/mach-tegra/tegra210/xusb-padctl.c    |   2 +
 arch/arm/mach-tegra/tegra30/clock.c           |   3 +
 arch/arm/mach-tegra/tegra30/cpu.c             |   2 +
 arch/arm/mach-tegra/tegra30/funcmux.c         |   1 +
 arch/arm/mach-tegra/xusb-padctl-common.c      |   1 +
 arch/arm/mach-u8500/cache.c                   |   1 +
 arch/arm/mach-u8500/cpuinfo.c                 |   1 +
 arch/arm/mach-uniphier/arm32/psci.c           |   1 +
 arch/arm/mach-uniphier/arm32/timer.c          |   1 +
 arch/arm/mach-uniphier/board_init.c           |   1 +
 .../boot-device/boot-device-pxs3.c            |   1 +
 .../mach-uniphier/boot-device/boot-device.c   |   6 +-
 arch/arm/mach-uniphier/clk/clk-ld11.c         |   1 +
 arch/arm/mach-uniphier/clk/dpll-ld4.c         |   1 +
 arch/arm/mach-uniphier/clk/dpll-pro4.c        |   1 +
 arch/arm/mach-uniphier/cpu-info.c             |   1 +
 arch/arm/mach-uniphier/dram/cmd_ddrmphy.c     |   4 +-
 arch/arm/mach-uniphier/dram/cmd_ddrphy.c      |   4 +-
 arch/arm/mach-uniphier/dram/ddrphy-regs.h     |   1 +
 arch/arm/mach-uniphier/dram/ddrphy-training.c |   1 +
 arch/arm/mach-uniphier/dram/umc-pxs2.c        |   3 +
 arch/arm/mach-uniphier/dram_init.c            |   1 +
 arch/arm/mach-uniphier/init.h                 |   1 +
 arch/arm/mach-uniphier/micro-support-card.c   |   5 +-
 arch/arm/mach-uniphier/mmc-first-dev.c        |   7 +-
 arch/arm/mach-uniphier/nand-reset.c           |   1 +
 arch/arm/mach-versal/clk.c                    |   1 +
 arch/arm/mach-versal/cpu.c                    |   2 +
 arch/arm/mach-versal/include/mach/hardware.h  |   4 +
 arch/arm/mach-zynq/clk.c                      |   1 +
 arch/arm/mach-zynq/cpu.c                      |   2 +
 arch/arm/mach-zynq/spl.c                      |   3 +
 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                    |   2 +
 arch/arm/mach-zynqmp/include/mach/hardware.h  |   4 +
 arch/arm/mach-zynqmp/mp.c                     |   4 +-
 arch/arm/mach-zynqmp/psu_spl_init.c           |   1 +
 arch/arm/mach-zynqmp/spl.c                    |   3 +
 arch/m68k/cpu/mcf5227x/cpu.c                  |   4 +-
 arch/m68k/cpu/mcf5227x/cpu_init.c             |   1 +
 arch/m68k/cpu/mcf523x/cpu.c                   |   4 +-
 arch/m68k/cpu/mcf523x/cpu_init.c              |   1 +
 arch/m68k/cpu/mcf52x2/cpu.c                   |  17 +--
 arch/m68k/cpu/mcf52x2/cpu_init.c              |   1 +
 arch/m68k/cpu/mcf52x2/speed.c                 |   1 +
 arch/m68k/cpu/mcf530x/cpu.c                   |   4 +-
 arch/m68k/cpu/mcf530x/cpu_init.c              |   1 +
 arch/m68k/cpu/mcf532x/cpu.c                   |   5 +-
 arch/m68k/cpu/mcf532x/cpu_init.c              |   1 +
 arch/m68k/cpu/mcf5445x/cpu.c                  |   5 +-
 arch/m68k/cpu/mcf5445x/cpu_init.c             |   1 +
 arch/m68k/cpu/mcf5445x/pci.c                  |   1 +
 arch/m68k/cpu/mcf547x_8x/cpu.c                |   4 +-
 arch/m68k/cpu/mcf547x_8x/cpu_init.c           |   1 +
 arch/m68k/cpu/mcf547x_8x/pci.c                |   1 +
 arch/m68k/cpu/mcf547x_8x/slicetimer.c         |   2 +
 arch/m68k/lib/bootm.c                         |   6 +-
 arch/m68k/lib/interrupts.c                    |   1 +
 arch/m68k/lib/time.c                          |   2 +
 arch/m68k/lib/traps.c                         |   1 +
 arch/microblaze/cpu/cache.c                   |   1 +
 arch/microblaze/cpu/interrupts.c              |   3 +-
 arch/microblaze/cpu/spl.c                     |   4 +-
 arch/microblaze/cpu/timer.c                   |   3 +
 arch/microblaze/lib/bootm.c                   |   6 +-
 arch/mips/cpu/cpu.c                           |   3 +-
 arch/mips/include/asm/cacheops.h              |   2 +
 arch/mips/include/asm/cm.h                    |   1 +
 arch/mips/include/asm/mipsregs.h              |   1 +
 arch/mips/lib/bootm.c                         |   7 +-
 arch/mips/lib/cache.c                         |   2 +
 arch/mips/lib/reloc.c                         |   1 +
 arch/mips/lib/stack.c                         |   2 +
 arch/mips/lib/traps.c                         |   2 +
 arch/mips/mach-ath79/ar933x/ddr.c             |   1 +
 arch/mips/mach-ath79/ar934x/clk.c             |   6 +-
 arch/mips/mach-ath79/ar934x/ddr.c             |   2 +
 arch/mips/mach-ath79/cpu.c                    |   1 +
 arch/mips/mach-ath79/qca953x/ddr.c            |   2 +
 arch/mips/mach-ath79/qca956x/clk.c            |   1 +
 arch/mips/mach-ath79/qca956x/ddr.c            |   1 +
 arch/mips/mach-ath79/reset.c                  |   2 +
 arch/mips/mach-bmips/dram.c                   |   2 +
 .../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          |   3 +
 arch/mips/mach-jz47xx/jz4780/timer.c          |   3 +
 arch/mips/mach-mscc/cpu.c                     |   2 +
 arch/mips/mach-mscc/dram.c                    |   1 +
 arch/mips/mach-mscc/gpio.c                    |   1 +
 arch/mips/mach-mscc/include/mach/ddr.h        |   1 +
 .../include/mach/jr2/jr2_devcpu_gcb.h         |   2 +
 .../mach/jr2/jr2_devcpu_gcb_miim_regs.h       |   2 +
 .../mach-mscc/include/mach/jr2/jr2_icpu_cfg.h |   2 +
 .../include/mach/luton/luton_devcpu_gcb.h     |   1 +
 .../mach/luton/luton_devcpu_gcb_miim_regs.h   |   1 +
 .../include/mach/luton/luton_icpu_cfg.h       |   1 +
 .../include/mach/ocelot/ocelot_devcpu_gcb.h   |   1 +
 .../mach/ocelot/ocelot_devcpu_gcb_miim_regs.h |   1 +
 .../include/mach/ocelot/ocelot_icpu_cfg.h     |   1 +
 .../include/mach/serval/serval_devcpu_gcb.h   |   1 +
 .../mach/serval/serval_devcpu_gcb_miim_regs.h |   1 +
 .../include/mach/serval/serval_icpu_cfg.h     |   1 +
 .../include/mach/servalt/servalt_devcpu_gcb.h |   1 +
 .../servalt/servalt_devcpu_gcb_miim_regs.h    |   1 +
 .../include/mach/servalt/servalt_icpu_cfg.h   |   1 +
 arch/mips/mach-mscc/include/mach/tlb.h        |   1 +
 arch/mips/mach-mscc/phy.c                     |   1 +
 arch/mips/mach-mtmips/cpu.c                   |   1 +
 arch/mips/mach-mtmips/ddr_calibrate.c         |   3 +
 arch/mips/mach-pic32/cpu.c                    |   1 +
 arch/nds32/cpu/n1213/ae3xx/cpu.c              |   2 +-
 arch/nds32/cpu/n1213/ag101/cpu.c              |   2 +-
 arch/nds32/cpu/n1213/ag101/timer.c            |   3 +
 arch/nds32/include/asm/u-boot-nds32.h         |   2 +
 arch/nds32/lib/boot.c                         |   2 +-
 arch/nds32/lib/bootm.c                        |   2 +
 arch/nds32/lib/cache.c                        |   1 +
 arch/nios2/cpu/cpu.c                          |   5 +-
 arch/nios2/cpu/interrupts.c                   |   2 +-
 arch/nios2/lib/bootm.c                        |   6 +-
 arch/powerpc/cpu/mpc83xx/cpu.c                |   5 +-
 arch/powerpc/cpu/mpc83xx/cpu_init.c           |   2 +
 arch/powerpc/cpu/mpc83xx/ecc.c                |   2 +-
 arch/powerpc/cpu/mpc83xx/interrupts.c         |   5 +-
 arch/powerpc/cpu/mpc83xx/law.c                |   1 +
 arch/powerpc/cpu/mpc83xx/pci.c                |   3 +
 arch/powerpc/cpu/mpc83xx/pcie.c               |   1 +
 arch/powerpc/cpu/mpc83xx/serdes.c             |   1 +
 arch/powerpc/cpu/mpc83xx/spd_sdram.c          |   3 +
 arch/powerpc/cpu/mpc83xx/speed.c              |   3 +-
 arch/powerpc/cpu/mpc83xx/spl_minimal.c        |   1 +
 arch/powerpc/cpu/mpc83xx/traps.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         |   4 +-
 arch/powerpc/cpu/mpc85xx/commproc.c           |   1 +
 arch/powerpc/cpu/mpc85xx/cpu.c                |   5 +-
 arch/powerpc/cpu/mpc85xx/cpu_init.c           |   2 +
 arch/powerpc/cpu/mpc85xx/cpu_init_early.c     |   1 +
 arch/powerpc/cpu/mpc85xx/fdt.c                |   1 +
 .../powerpc/cpu/mpc85xx/fsl_corenet2_serdes.c |   2 +
 arch/powerpc/cpu/mpc85xx/fsl_corenet_serdes.c |   2 +
 arch/powerpc/cpu/mpc85xx/interrupts.c         |   4 +-
 arch/powerpc/cpu/mpc85xx/liodn.c              |   1 +
 arch/powerpc/cpu/mpc85xx/mp.c                 |   4 +-
 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       |   2 +
 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/pci.c                |   1 +
 arch/powerpc/cpu/mpc85xx/spl_minimal.c        |   1 +
 arch/powerpc/cpu/mpc85xx/tlb.c                |   1 +
 arch/powerpc/cpu/mpc85xx/traps.c              |   1 +
 arch/powerpc/cpu/mpc86xx/cpu.c                |   3 +-
 arch/powerpc/cpu/mpc86xx/cpu_init.c           |   2 +
 arch/powerpc/cpu/mpc86xx/interrupts.c         |   4 +-
 arch/powerpc/cpu/mpc86xx/mp.c                 |   2 +-
 arch/powerpc/cpu/mpc86xx/mpc8610_serdes.c     |   1 +
 arch/powerpc/cpu/mpc86xx/mpc8641_serdes.c     |   1 +
 arch/powerpc/cpu/mpc86xx/traps.c              |   1 +
 arch/powerpc/cpu/mpc8xx/cpu.c                 |   3 +-
 arch/powerpc/cpu/mpc8xx/cpu_init.c            |   1 +
 arch/powerpc/cpu/mpc8xx/immap.c               |  19 +--
 arch/powerpc/cpu/mpc8xx/interrupts.c          |   1 +
 arch/powerpc/cpu/mpc8xx/traps.c               |   1 +
 arch/powerpc/cpu/mpc8xxx/cpu.c                |   2 +
 arch/powerpc/cpu/mpc8xxx/fsl_lbc.c            |   1 +
 arch/powerpc/cpu/mpc8xxx/fsl_pamu.c           |   2 +
 arch/powerpc/cpu/mpc8xxx/law.c                |   1 +
 arch/powerpc/cpu/mpc8xxx/pamu_table.c         |   1 +
 arch/powerpc/cpu/mpc8xxx/srio.c               |   2 +
 arch/powerpc/include/asm/fsl_i2c.h            |   1 +
 arch/powerpc/include/asm/mmu.h                |   1 +
 arch/powerpc/include/asm/u-boot.h             |   2 +
 arch/powerpc/lib/bootm.c                      |  17 +--
 arch/powerpc/lib/extable.c                    |   1 +
 arch/powerpc/lib/interrupts.c                 |   1 +
 arch/powerpc/lib/kgdb.c                       |   3 +-
 arch/powerpc/lib/spl.c                        |   1 +
 arch/powerpc/lib/stack.c                      |   1 +
 arch/powerpc/lib/time.c                       |   2 +
 arch/riscv/cpu/ax25/cache.c                   |   1 +
 arch/riscv/cpu/cpu.c                          |   2 +
 arch/riscv/cpu/generic/cpu.c                  |   1 +
 arch/riscv/include/asm/encoding.h             |   3 +
 arch/riscv/lib/boot.c                         |   2 +-
 arch/riscv/lib/bootm.c                        |   6 +-
 arch/riscv/lib/image.c                        |   1 +
 arch/riscv/lib/reset.c                        |   2 +-
 arch/riscv/lib/spl.c                          |   2 +
 arch/sandbox/cpu/cpu.c                        |   3 +
 arch/sandbox/cpu/spl.c                        |   2 +
 arch/sandbox/cpu/start.c                      |   1 +
 arch/sandbox/cpu/state.c                      |   1 +
 arch/sandbox/lib/bootm.c                      |   2 +
 arch/sandbox/lib/pci_io.c                     |   1 +
 arch/sh/cpu/sh4/cache.c                       |   1 +
 arch/sh/cpu/sh4/cpu.c                         |   3 +-
 arch/sh/lib/bootm.c                           |   5 +-
 arch/sh/lib/time.c                            |   2 +
 arch/sh/lib/time_sh2.c                        |   2 +
 arch/sh/lib/zimageboot.c                      |   5 +-
 arch/x86/cpu/acpi_gpe.c                       |   1 +
 arch/x86/cpu/apollolake/cpu_spl.c             |   1 +
 arch/x86/cpu/apollolake/fsp_m.c               |   1 +
 arch/x86/cpu/apollolake/fsp_s.c               |   3 +
 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               |   2 +
 arch/x86/cpu/apollolake/spl.c                 |   3 +
 arch/x86/cpu/baytrail/acpi.c                  |   1 +
 arch/x86/cpu/baytrail/cpu.c                   |   1 +
 arch/x86/cpu/baytrail/fsp_configs.c           |   1 +
 arch/x86/cpu/baytrail/valleyview.c            |   1 +
 arch/x86/cpu/braswell/braswell.c              |   1 +
 arch/x86/cpu/braswell/fsp_configs.c           |   1 +
 arch/x86/cpu/broadwell/adsp.c                 |   1 +
 arch/x86/cpu/broadwell/cpu.c                  |   2 +
 arch/x86/cpu/broadwell/cpu_from_spl.c         |   2 +
 arch/x86/cpu/broadwell/cpu_full.c             |   3 +
 arch/x86/cpu/broadwell/iobp.c                 |   1 +
 arch/x86/cpu/broadwell/lpc.c                  |   1 +
 arch/x86/cpu/broadwell/me.c                   |   2 +
 arch/x86/cpu/broadwell/pch.c                  |   2 +
 arch/x86/cpu/broadwell/pinctrl_broadwell.c    |   1 +
 arch/x86/cpu/broadwell/power_state.c          |   1 +
 arch/x86/cpu/broadwell/refcode.c              |   2 +
 arch/x86/cpu/broadwell/sata.c                 |   2 +
 arch/x86/cpu/broadwell/sdram.c                |   1 +
 arch/x86/cpu/coreboot/coreboot.c              |   1 +
 arch/x86/cpu/coreboot/timestamp.c             |   1 +
 arch/x86/cpu/cpu.c                            |   2 +
 arch/x86/cpu/efi/app.c                        |   1 +
 arch/x86/cpu/efi/payload.c                    |   1 +
 arch/x86/cpu/i386/interrupt.c                 |   1 +
 arch/x86/cpu/intel_common/cpu.c               |   1 +
 arch/x86/cpu/intel_common/cpu_from_spl.c      |   1 +
 arch/x86/cpu/intel_common/itss.c              |   1 +
 arch/x86/cpu/intel_common/lpc.c               |   1 +
 arch/x86/cpu/intel_common/me_status.c         |   1 +
 arch/x86/cpu/intel_common/microcode.c         |   1 +
 arch/x86/cpu/intel_common/mrc.c               |   1 +
 arch/x86/cpu/intel_common/p2sb.c              |   2 +
 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              |   3 +
 arch/x86/cpu/ivybridge/cpu.c                  |   2 +
 arch/x86/cpu/ivybridge/early_me.c             |   2 +
 arch/x86/cpu/ivybridge/fsp_configs.c          |   1 +
 arch/x86/cpu/ivybridge/ivybridge.c            |   1 +
 arch/x86/cpu/ivybridge/lpc.c                  |   1 +
 arch/x86/cpu/ivybridge/model_206ax.c          |   1 +
 arch/x86/cpu/ivybridge/northbridge.c          |   2 +
 arch/x86/cpu/ivybridge/sata.c                 |   1 +
 arch/x86/cpu/ivybridge/sdram.c                |   1 +
 arch/x86/cpu/ivybridge/sdram_nop.c            |   1 +
 arch/x86/cpu/lapic.c                          |   1 +
 arch/x86/cpu/mp_init.c                        |   2 +
 arch/x86/cpu/mtrr.c                           |   2 +
 arch/x86/cpu/pci.c                            |   1 +
 arch/x86/cpu/qemu/qemu.c                      |   1 +
 arch/x86/cpu/quark/dram.c                     |   2 +
 arch/x86/cpu/quark/mrc_util.h                 |   2 +
 arch/x86/cpu/quark/quark.c                    |   3 +
 arch/x86/cpu/queensbay/tnc.c                  |   1 +
 arch/x86/cpu/slimbootloader/serial.c          |   1 +
 arch/x86/cpu/slimbootloader/slimbootloader.c  |   2 +
 arch/x86/cpu/tangier/pinmux.c                 |   1 +
 arch/x86/cpu/tangier/sdram.c                  |   1 +
 arch/x86/cpu/tangier/tangier.c                |   1 +
 arch/x86/cpu/turbo.c                          |   1 +
 arch/x86/cpu/x86_64/cpu.c                     |   1 +
 arch/x86/include/asm/arch-apollolake/lpc.h    |   1 +
 .../include/asm/arch-apollolake/systemagent.h |   1 +
 .../include/asm/arch-braswell/fsp/fsp_vpd.h   |   2 +
 arch/x86/include/asm/arch-broadwell/adsp.h    |   1 +
 .../x86/include/asm/arch-broadwell/serialio.h |   1 +
 arch/x86/include/asm/atomic.h                 |   1 +
 arch/x86/include/asm/fast_spi.h               |   1 +
 arch/x86/include/asm/fsp/fsp_api.h            |   2 +
 arch/x86/include/asm/fsp/fsp_fv.h             |   2 +
 arch/x86/include/asm/intel_pinctrl.h          |   1 +
 arch/x86/include/asm/mp.h                     |   1 +
 arch/x86/include/asm/msr-index.h              |   4 +
 arch/x86/include/asm/mtrr.h                   |   2 +-
 arch/x86/include/asm/sipi.h                   |   4 +-
 arch/x86/lib/acpi.c                           |   1 +
 arch/x86/lib/acpi_table.c                     |   1 +
 arch/x86/lib/bios.c                           |   1 +
 arch/x86/lib/bios_interrupts.c                |   1 +
 arch/x86/lib/bootm.c                          |   6 +-
 arch/x86/lib/cmd_boot.c                       |   2 +-
 arch/x86/lib/coreboot_table.c                 |   1 +
 arch/x86/lib/fsp/fsp_common.c                 |   2 +
 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_common.c                |   2 +
 arch/x86/lib/fsp1/fsp_dram.c                  |   1 +
 arch/x86/lib/fsp1/fsp_support.c               |   1 +
 arch/x86/lib/fsp2/fsp_dram.c                  |   2 +
 arch/x86/lib/fsp2/fsp_init.c                  |   2 +
 arch/x86/lib/fsp2/fsp_meminit.c               |   6 +-
 arch/x86/lib/fsp2/fsp_silicon_init.c          |   6 +-
 arch/x86/lib/fsp2/fsp_support.c               |   1 +
 arch/x86/lib/i8259.c                          |   1 +
 arch/x86/lib/interrupts.c                     |   3 +-
 arch/x86/lib/mpspec.c                         |   1 +
 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                   |   1 +
 arch/x86/lib/pmu.c                            |   1 +
 arch/x86/lib/relocate.c                       |   1 +
 arch/x86/lib/scu.c                            |   2 +
 arch/x86/lib/spl.c                            |   3 +
 arch/x86/lib/tpl.c                            |   3 +
 arch/x86/lib/zimage.c                         |   3 +-
 arch/xtensa/cpu/cpu.c                         |   1 +
 arch/xtensa/cpu/exceptions.c                  |   1 +
 arch/xtensa/lib/bootm.c                       |   1 +
 arch/xtensa/lib/time.c                        |   1 +
 board/AndesTech/adp-ae3xx/adp-ae3xx.c         |   2 +
 board/AndesTech/adp-ag101p/adp-ag101p.c       |   2 +
 board/AndesTech/ax25-ae350/ax25-ae350.c       |   3 +
 board/Arcturus/ucp1020/cmd_arc.c              |   6 +-
 board/Arcturus/ucp1020/ucp1020.c              |   2 +
 board/BuR/brppt2/board.c                      |   1 +
 board/BuR/common/br_resetc.c                  |   1 +
 board/BuR/common/common.c                     |   2 +
 board/BuS/eb_cpu5282/eb_cpu5282.c             |   2 +-
 board/CZ.NIC/turris_mox/mox_sp.c              |   2 +
 board/CZ.NIC/turris_mox/turris_mox.c          |   2 +
 board/CZ.NIC/turris_omnia/turris_omnia.c      |   3 +
 board/CarMediaLab/flea3/flea3.c               |   1 +
 board/LaCie/net2big_v2/net2big_v2.c           |   4 +-
 board/LaCie/netspace_v2/netspace_v2.c         |   3 +-
 board/Marvell/aspenite/aspenite.c             |   1 +
 board/Marvell/db-88f6281-bp/db-88f6281-bp.c   |   2 +
 board/Marvell/db-88f6720/db-88f6720.c         |   3 +
 board/Marvell/db-88f6820-amc/db-88f6820-amc.c |   3 +
 board/Marvell/db-88f6820-gp/db-88f6820-gp.c   |   3 +
 board/Marvell/db-mv784mp-gp/db-mv784mp-gp.c   |   3 +
 board/Marvell/db-xc3-24g4xg/db-xc3-24g4xg.c   |   2 +
 board/Marvell/dreamplug/dreamplug.c           |   1 +
 board/Marvell/gplugd/gplugd.c                 |   3 +
 board/Marvell/guruplug/guruplug.c             |   1 +
 board/Marvell/mvebu_armada-37xx/board.c       |   2 +
 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             |   2 +
 board/Seagate/goflexhome/goflexhome.c         |   2 +
 board/Seagate/nas220/nas220.c                 |   1 +
 board/Synology/ds109/ds109.c                  |   2 +
 board/Synology/ds414/cmd_syno.c               |  10 +-
 board/Synology/ds414/ds414.c                  |   2 +
 board/abilis/tb100/tb100.c                    |   1 +
 board/advantech/dms-ba16/dms-ba16.c           |   2 +
 .../imx8qm_rom7720_a1/imx8qm_rom7720_a1.c     |   3 +
 board/advantech/imx8qm_rom7720_a1/spl.c       |   3 +
 .../som-db5800-som-6867/som-db5800-som-6867.c |   1 +
 board/alliedtelesis/SBx81LIFKW/sbx81lifkw.c   |   3 +
 .../alliedtelesis/SBx81LIFXCAT/sbx81lifxcat.c |   2 +
 board/alliedtelesis/x530/x530.c               |   2 +
 board/amazon/kc1/kc1.c                        |   1 +
 board/amlogic/p200/p200.c                     |   2 +
 board/amlogic/p201/p201.c                     |   2 +
 board/amlogic/p212/p212.c                     |   2 +
 board/amlogic/q200/q200.c                     |   2 +
 board/amlogic/s400/s400.c                     |   2 +
 board/amlogic/sei510/sei510.c                 |   3 +
 board/amlogic/sei610/sei610.c                 |   3 +
 board/amlogic/u200/u200.c                     |   2 +
 board/amlogic/w400/w400.c                     |   2 +
 board/aristainetos/aristainetos.c             |   3 +
 board/armadeus/apf27/fpga.c                   |   2 +
 board/armltd/integrator/integrator.c          |   2 +
 board/armltd/integrator/pci.c                 |   3 +
 board/armltd/integrator/timer.c               |   3 +-
 board/armltd/vexpress/vexpress_common.c       |   2 +
 board/armltd/vexpress64/pcie.c                |   3 +
 board/armltd/vexpress64/vexpress64.c          |   2 +
 board/astro/mcf5373l/mcf5373l.c               |   1 +
 board/atmel/at91rm9200ek/at91rm9200ek.c       |   1 +
 board/atmel/at91sam9260ek/led.c               |   1 +
 board/atmel/at91sam9263ek/at91sam9263ek.c     |   1 +
 board/atmel/at91sam9n12ek/at91sam9n12ek.c     |   1 +
 board/atmel/common/mac-spi-nor.c              |   1 +
 board/atmel/common/mac_eeprom.c               |   1 +
 board/atmel/common/video_display.c            |   1 +
 board/avionic-design/common/tamonten-ng.c     |   1 +
 board/bachmann/ot1200/ot1200.c                |   2 +
 board/bachmann/ot1200/ot1200_spl.c            |   1 +
 board/barco/platinum/platinum.c               |   1 +
 board/barco/platinum/platinum_picon.c         |   1 +
 board/barco/platinum/platinum_titanium.c      |   1 +
 board/barco/platinum/spl_picon.c              |   1 +
 board/barco/platinum/spl_titanium.c           |   1 +
 board/barco/titanium/titanium.c               |   2 +
 board/beckhoff/mx53cx9020/mx53cx9020.c        |   1 +
 board/birdland/bav335x/board.c                |   1 +
 board/bluegiga/apx4devkit/apx4devkit.c        |   2 +
 board/bluewater/gurnard/gurnard.c             |   1 +
 board/bluewater/snapper9260/snapper9260.c     |   1 +
 board/bosch/guardian/board.c                  |   2 +
 board/bosch/shc/board.c                       |   3 +
 board/boundary/nitrogen6x/nitrogen6x.c        |   6 +-
 board/broadcom/bcm23550_w1d/bcm23550_w1d.c    |   1 +
 board/broadcom/bcm28155_ap/bcm28155_ap.c      |   1 +
 board/broadcom/bcm963158/bcm963158.c          |   1 +
 board/broadcom/bcm968360bg/bcm968360bg.c      |   1 +
 board/broadcom/bcm968580xref/bcm968580xref.c  |   1 +
 board/broadcom/bcm_ep/board.c                 |   2 +
 board/broadcom/bcmns2/northstar2.c            |   1 +
 board/broadcom/bcmstb/bcmstb.c                |   1 +
 board/bticino/mamoj/mamoj.c                   |   1 +
 board/bticino/mamoj/spl.c                     |   2 +
 board/buffalo/lsxl/lsxl.c                     |   5 +
 board/cavium/thunderx/atf.c                   |   5 +-
 board/cavium/thunderx/thunderx.c              |   1 +
 board/ccv/xpress/spl.c                        |   1 +
 board/ccv/xpress/xpress.c                     |   2 +
 board/cirrus/edb93xx/edb93xx.c                |   2 +
 board/cloudengines/pogo_e02/pogo_e02.c        |   2 +
 board/cobra5272/flash.c                       |  21 ++--
 board/compal/paz00/paz00.c                    |   1 +
 board/compulab/cl-som-imx7/cl-som-imx7.c      |   2 +
 board/compulab/cm_fx6/cm_fx6.c                |   2 +
 board/compulab/cm_fx6/spl.c                   |   1 +
 board/compulab/cm_t335/cm_t335.c              |   2 +
 board/compulab/cm_t335/spl.c                  |   1 +
 board/compulab/cm_t35/cm_t35.c                |   2 +
 board/compulab/cm_t43/cm_t43.c                |   2 +
 board/compulab/cm_t54/cm_t54.c                |   2 +
 board/compulab/cm_t54/mux.c                   |   1 +
 board/compulab/common/common.c                |   1 +
 board/compulab/common/omap3_smc911x.c         |   1 +
 board/congatec/cgtqmx6eval/cgtqmx6eval.c      |   2 +
 board/corscience/tricorder/tricorder-eeprom.c |   3 +-
 board/corscience/tricorder/tricorder.c        |   1 +
 board/cortina/presidio-asic/presidio.c        |   2 +
 board/creative/xfi3/xfi3.c                    |   3 +
 board/cssi/MCR3000/MCR3000.c                  |   1 +
 board/d-link/dns325/dns325.c                  |   2 +
 board/davinci/da8xxevm/da850evm.c             |   1 +
 board/davinci/da8xxevm/omapl138_lcdk.c        |   1 +
 board/dfi/dfi-bt700/dfi-bt700.c               |   2 +
 board/dhelectronics/dh_imx6/dh_imx6.c         |   2 +
 board/dhelectronics/dh_imx6/dh_imx6_spl.c     |   2 +
 board/dhelectronics/dh_stm32mp1/board.c       |   4 +
 board/ea/mx7ulp_com/mx7ulp_com.c              |   1 +
 board/eets/pdu001/board.c                     |   1 +
 board/egnite/ethernut5/ethernut5_pwrman.c     |   4 +-
 board/el/el6x/el6x.c                          |   3 +
 board/elgin/elgin_rv1108/elgin_rv1108.c       |   1 +
 board/embest/mx6boards/mx6boards.c            |   3 +
 board/emulation/qemu-arm/qemu-arm.c           |   2 +
 board/emulation/qemu-riscv/qemu-riscv.c       |   2 +
 board/engicam/common/board.c                  |   1 +
 board/engicam/common/spl.c                    |   3 +
 board/esd/meesc/meesc.c                       |   1 +
 board/esd/vme8349/caddy.c                     |   3 +-
 board/esd/vme8349/pci.c                       |   1 +
 board/esd/vme8349/vme8349.c                   |   1 +
 board/firefly/firefly-rk3288/firefly-rk3288.c |   1 +
 board/firefly/firefly-rk3308/roc_cc_rk3308.c  |   1 +
 board/firefly/roc-pc-rk3399/roc-pc-rk3399.c   |   1 +
 board/freescale/b4860qds/b4860qds.c           |   3 +
 board/freescale/b4860qds/ddr.c                |   2 +
 board/freescale/b4860qds/eth_b4860qds.c       |   2 +
 board/freescale/bsc9131rdb/bsc9131rdb.c       |   2 +
 board/freescale/bsc9131rdb/spl_minimal.c      |   1 +
 board/freescale/bsc9132qds/bsc9132qds.c       |   2 +
 board/freescale/bsc9132qds/spl_minimal.c      |   1 +
 board/freescale/c29xpcie/c29xpcie.c           |   2 +
 board/freescale/c29xpcie/cpld.c               |   3 +-
 board/freescale/common/arm_sleep.c            |   1 +
 board/freescale/common/cmd_esbc_validate.c    |   8 +-
 board/freescale/common/diu_ch7301.c           |   1 +
 board/freescale/common/fsl_chain_of_trust.c   |   1 +
 board/freescale/common/fsl_validate.c         |   2 +
 board/freescale/common/ics307_clk.c           |   1 +
 .../common/idt8t49n222a_serdes_clk.c          |   2 +
 board/freescale/common/mc34vr500.c            |   1 +
 board/freescale/common/mpc85xx_sleep.c        |   1 +
 board/freescale/common/ngpixis.c              |   3 +-
 board/freescale/common/ns_access.c            |   2 +
 board/freescale/common/pixis.c                |  10 +-
 board/freescale/common/qixis.c                |   3 +-
 board/freescale/common/sgmii_riser.c          |   1 +
 board/freescale/common/sys_eeprom.c           |   4 +-
 board/freescale/common/vid.c                  |  11 +-
 board/freescale/common/vsc3316_3308.c         |   1 +
 board/freescale/common/zm7300.c               |   1 +
 board/freescale/corenet_ds/corenet_ds.c       |   1 +
 board/freescale/corenet_ds/ddr.c              |   2 +
 board/freescale/corenet_ds/eth_hydra.c        |   1 +
 board/freescale/corenet_ds/eth_p4080.c        |   3 +
 board/freescale/corenet_ds/eth_superhydra.c   |   2 +
 board/freescale/imx8mm_evk/imx8mm_evk.c       |   2 +
 board/freescale/imx8mm_evk/spl.c              |   6 +-
 board/freescale/imx8mn_evk/imx8mn_evk.c       |   2 +
 board/freescale/imx8mn_evk/spl.c              |   6 +-
 board/freescale/imx8mp_evk/imx8mp_evk.c       |   2 +
 board/freescale/imx8mp_evk/spl.c              |   6 +-
 board/freescale/imx8mq_evk/imx8mq_evk.c       |   1 +
 board/freescale/imx8mq_evk/spl.c              |   4 +
 board/freescale/imx8qm_mek/spl.c              |   3 +
 board/freescale/imx8qxp_mek/imx8qxp_mek.c     |   1 +
 board/freescale/imx8qxp_mek/spl.c             |   3 +
 board/freescale/imxrt1050-evk/imxrt1050-evk.c |   2 +
 board/freescale/ls1012afrdm/eth.c             |   1 +
 board/freescale/ls1012afrdm/ls1012afrdm.c     |   2 +
 board/freescale/ls1012aqds/eth.c              |   1 +
 board/freescale/ls1012aqds/ls1012aqds.c       |   2 +
 board/freescale/ls1012ardb/eth.c              |   1 +
 board/freescale/ls1012ardb/ls1012ardb.c       |   7 +-
 board/freescale/ls1021aiot/ls1021aiot.c       |   2 +
 board/freescale/ls1021aqds/ddr.c              |   3 +
 board/freescale/ls1021aqds/eth.c              |   1 +
 board/freescale/ls1021aqds/ls1021aqds.c       |   1 +
 board/freescale/ls1021atsn/ls1021atsn.c       |   2 +
 board/freescale/ls1021atwr/ls1021atwr.c       |  15 ++-
 board/freescale/ls1028a/ls1028a.c             |   2 +
 board/freescale/ls1043aqds/ddr.c              |   1 +
 board/freescale/ls1043aqds/eth.c              |   2 +
 board/freescale/ls1043aqds/ls1043aqds.c       |   2 +
 board/freescale/ls1043ardb/cpld.c             |   2 +-
 board/freescale/ls1043ardb/ddr.c              |   1 +
 board/freescale/ls1043ardb/eth.c              |   1 +
 board/freescale/ls1043ardb/ls1043ardb.c       |   1 +
 board/freescale/ls1046afrwy/eth.c             |   2 +
 board/freescale/ls1046afrwy/ls1046afrwy.c     |   1 +
 board/freescale/ls1046aqds/ddr.c              |   1 +
 board/freescale/ls1046aqds/eth.c              |   2 +
 board/freescale/ls1046aqds/ls1046aqds.c       |   1 +
 board/freescale/ls1046ardb/cpld.c             |   2 +-
 board/freescale/ls1046ardb/ddr.c              |   1 +
 board/freescale/ls1046ardb/eth.c              |   2 +
 board/freescale/ls1046ardb/ls1046ardb.c       |   1 +
 board/freescale/ls1088a/ddr.c                 |   1 +
 board/freescale/ls1088a/eth_ls1088aqds.c      |   2 +
 board/freescale/ls1088a/ls1088a.c             |   3 +
 board/freescale/ls2080a/ddr.c                 |   1 +
 board/freescale/ls2080a/ls2080a.c             |   1 +
 board/freescale/ls2080aqds/ddr.c              |   1 +
 board/freescale/ls2080aqds/eth.c              |   2 +
 board/freescale/ls2080aqds/ls2080aqds.c       |   1 +
 board/freescale/ls2080ardb/ddr.c              |   1 +
 board/freescale/ls2080ardb/ls2080ardb.c       |   1 +
 board/freescale/lx2160a/eth_lx2160aqds.c      |   3 +
 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/m5249evb/m5249evb.c           |   1 +
 board/freescale/m5253demo/flash.c             |   2 +
 board/freescale/m5253demo/m5253demo.c         |   2 +
 board/freescale/m5282evb/m5282evb.c           |   1 +
 board/freescale/m53017evb/m53017evb.c         |   1 +
 board/freescale/m5329evb/m5329evb.c           |   1 +
 board/freescale/m5373evb/m5373evb.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       |   2 +
 board/freescale/mpc8313erdb/sdram.c           |   2 +
 board/freescale/mpc8315erdb/mpc8315erdb.c     |   2 +
 board/freescale/mpc8315erdb/sdram.c           |   2 +
 board/freescale/mpc8323erdb/mpc8323erdb.c     |   1 +
 board/freescale/mpc832xemds/mpc832xemds.c     |   1 +
 board/freescale/mpc832xemds/pci.c             |   1 +
 board/freescale/mpc8349emds/mpc8349emds.c     |   3 +
 board/freescale/mpc8349emds/pci.c             |   1 +
 board/freescale/mpc8349itx/mpc8349itx.c       |   4 +
 board/freescale/mpc8349itx/pci.c              |   1 +
 board/freescale/mpc837xemds/mpc837xemds.c     |   3 +
 board/freescale/mpc837xemds/pci.c             |   1 +
 board/freescale/mpc837xerdb/mpc837xerdb.c     |   2 +
 board/freescale/mpc837xerdb/pci.c             |   1 +
 board/freescale/mpc8536ds/mpc8536ds.c         |   3 +
 board/freescale/mpc8541cds/mpc8541cds.c       |   1 +
 board/freescale/mpc8544ds/mpc8544ds.c         |   1 +
 board/freescale/mpc8548cds/mpc8548cds.c       |   2 +
 board/freescale/mpc8555cds/mpc8555cds.c       |   1 +
 board/freescale/mpc8568mds/bcsr.c             |   1 +
 board/freescale/mpc8568mds/mpc8568mds.c       |   5 +-
 board/freescale/mpc8569mds/bcsr.c             |   1 +
 board/freescale/mpc8569mds/mpc8569mds.c       |   3 +
 board/freescale/mpc8572ds/mpc8572ds.c         |   4 +
 board/freescale/mpc8610hpcd/mpc8610hpcd.c     |   3 +
 board/freescale/mpc8610hpcd/mpc8610hpcd_diu.c |   1 +
 board/freescale/mpc8641hpcn/mpc8641hpcn.c     |   3 +
 board/freescale/mx23evk/mx23evk.c             |   1 +
 board/freescale/mx25pdk/mx25pdk.c             |   1 +
 board/freescale/mx28evk/mx28evk.c             |   3 +
 board/freescale/mx31pdk/mx31pdk.c             |   1 +
 board/freescale/mx35pdk/mx35pdk.c             |   2 +
 board/freescale/mx51evk/mx51evk.c             |   1 +
 board/freescale/mx53ard/mx53ard.c             |   1 +
 board/freescale/mx53loco/mx53loco.c           |   1 +
 board/freescale/mx6memcal/mx6memcal.c         |   1 +
 board/freescale/mx6memcal/spl.c               |   1 +
 board/freescale/mx6qarm2/mx6qarm2.c           |   2 +
 board/freescale/mx6sabreauto/mx6sabreauto.c   |   2 +
 board/freescale/mx6sabresd/mx6sabresd.c       |   2 +
 board/freescale/mx6slevk/mx6slevk.c           |   2 +
 .../freescale/mx6sxsabreauto/mx6sxsabreauto.c |   2 +
 board/freescale/mx6sxsabresd/mx6sxsabresd.c   |   2 +
 .../mx6ul_14x14_evk/mx6ul_14x14_evk.c         |   2 +
 board/freescale/mx7dsabresd/mx7dsabresd.c     |   2 +
 board/freescale/mx7ulp_evk/mx7ulp_evk.c       |   1 +
 board/freescale/p1010rdb/p1010rdb.c           |   7 +-
 board/freescale/p1022ds/diu.c                 |   1 +
 board/freescale/p1022ds/p1022ds.c             |   3 +
 board/freescale/p1023rdb/p1023rdb.c           |   2 +
 board/freescale/p1_p2_rdb_pc/p1_p2_rdb_pc.c   |   3 +
 board/freescale/p1_twr/p1_twr.c               |   2 +
 board/freescale/p2041rdb/cpld.c               |   2 +-
 board/freescale/p2041rdb/ddr.c                |   2 +
 board/freescale/p2041rdb/eth.c                |   1 +
 board/freescale/p2041rdb/p2041rdb.c           |   1 +
 board/freescale/qemu-ppce500/qemu-ppce500.c   |   2 +
 board/freescale/t102xqds/ddr.c                |   3 +
 board/freescale/t102xqds/eth_t102xqds.c       |   3 +
 board/freescale/t102xqds/t102xqds.c           |   2 +
 board/freescale/t102xrdb/cpld.c               |   2 +-
 board/freescale/t102xrdb/ddr.c                |   3 +
 board/freescale/t102xrdb/eth_t102xrdb.c       |   2 +
 board/freescale/t102xrdb/t102xrdb.c           |   5 +-
 board/freescale/t1040qds/ddr.c                |   3 +
 board/freescale/t1040qds/eth.c                |   2 +
 board/freescale/t1040qds/t1040qds.c           |   1 +
 board/freescale/t104xrdb/cpld.c               |   2 +-
 board/freescale/t104xrdb/ddr.c                |   3 +
 board/freescale/t104xrdb/eth.c                |   1 +
 board/freescale/t104xrdb/t104xrdb.c           |   2 +
 board/freescale/t208xqds/ddr.c                |   2 +
 board/freescale/t208xqds/eth_t208xqds.c       |   4 +
 board/freescale/t208xqds/t208xqds.c           |   2 +
 board/freescale/t208xrdb/cpld.c               |   2 +-
 board/freescale/t208xrdb/ddr.c                |   2 +
 board/freescale/t208xrdb/eth_t208xrdb.c       |   2 +
 board/freescale/t208xrdb/t208xrdb.c           |   1 +
 board/freescale/t4qds/ddr.c                   |   2 +
 board/freescale/t4qds/eth.c                   |   4 +
 board/freescale/t4qds/t4240emu.c              |   1 +
 board/freescale/t4qds/t4240qds.c              |   7 +-
 board/freescale/t4rdb/cpld.c                  |   2 +-
 board/freescale/t4rdb/ddr.c                   |   2 +
 board/freescale/t4rdb/eth.c                   |   2 +
 board/freescale/t4rdb/t4240rdb.c              |   1 +
 board/gardena/smart-gateway-mt7688/board.c    |   7 +-
 board/gateworks/gw_ventana/common.c           |   3 +
 board/gateworks/gw_ventana/eeprom.c           |   6 +-
 board/gateworks/gw_ventana/gsc.c              |  13 +-
 board/gateworks/gw_ventana/gw_ventana.c       |   5 +
 board/gateworks/gw_ventana/gw_ventana_spl.c   |   2 +
 board/gdsys/a38x/controlcenterdc.c            |   3 +
 board/gdsys/a38x/hre.c                        |   1 +
 board/gdsys/a38x/hydra.c                      |   3 +-
 board/gdsys/a38x/ihs_phys.c                   |   2 +
 board/gdsys/common/cmd_ioloop.c               |  12 +-
 board/gdsys/common/ihs_mdio.c                 |   1 +
 board/gdsys/common/ioep-fpga.c                |   2 +
 board/gdsys/common/mclink.c                   |   1 +
 board/gdsys/common/osd.c                      |  11 +-
 board/gdsys/common/osd_cmd.c                  |  13 +-
 board/gdsys/common/phy.c                      |   1 +
 board/gdsys/mpc8308/gazerbeam.c               |   1 +
 board/gdsys/mpc8308/hrcon.c                   |   3 +
 board/gdsys/mpc8308/mpc8308.c                 |   1 +
 board/gdsys/mpc8308/strider.c                 |   3 +
 board/gdsys/p1022/controlcenterd-id.c         |   3 +
 board/gdsys/p1022/controlcenterd.c            |   5 +-
 board/gdsys/p1022/ddr.c                       |   1 +
 board/gdsys/p1022/diu.c                       |   1 +
 board/ge/bx50v3/bx50v3.c                      |   2 +
 board/google/chromebook_coral/coral.c         |   1 +
 board/google/gru/gru.c                        |   1 +
 board/google/veyron/veyron.c                  |   3 +
 board/grinn/chiliboard/board.c                |   1 +
 board/grinn/liteboard/board.c                 |   1 +
 board/gumstix/duovero/duovero.c               |   3 +
 board/gumstix/pepper/board.c                  |   2 +
 board/highbank/ahci.c                         |   1 +
 board/highbank/highbank.c                     |   3 +
 board/hisilicon/hikey/hikey.c                 |   3 +
 board/hisilicon/hikey960/hikey960.c           |   3 +
 board/hisilicon/poplar/poplar.c               |   3 +
 board/ids/ids8313/ids8313.c                   |   2 +
 board/imgtec/boston/checkboard.c              |   1 +
 board/imgtec/ci20/ci20.c                      |   3 +
 board/imgtec/malta/malta.c                    |   2 +
 board/imgtec/xilfpga/xilfpga.c                |   1 +
 board/intel/cougarcanyon2/cougarcanyon2.c     |   1 +
 board/intel/crownbay/crownbay.c               |   1 +
 board/intel/minnowmax/minnowmax.c             |   2 +
 board/inversepath/usbarmory/usbarmory.c       |   1 +
 board/iomega/iconnect/iconnect.c              |   1 +
 board/isee/igep003x/board.c                   |   1 +
 board/isee/igep00x0/common.c                  |   1 +
 board/isee/igep00x0/igep00x0.c                |   3 +
 board/k+p/kp_imx53/kp_id_rev.c                |   1 +
 board/k+p/kp_imx6q_tpc/kp_imx6q_tpc_spl.c     |   3 +
 board/keymile/common/common.c                 |  13 +-
 board/keymile/common/qrio.c                   |   1 +
 board/keymile/km83xx/km83xx.c                 |   2 +
 board/keymile/km83xx/km83xx_i2c.c             |   1 +
 board/keymile/km_arm/fpga_config.c            |   1 +
 board/keymile/kmp204x/ddr.c                   |   2 +
 board/keymile/kmp204x/eth.c                   |   1 +
 board/keymile/kmp204x/kmp204x.c               |   1 +
 board/keymile/kmp204x/pci.c                   |   1 +
 board/kmc/kzm9g/kzm9g.c                       |   2 +
 board/kobol/helios4/helios4.c                 |   2 +
 board/kosagi/novena/novena.c                  |   1 +
 board/kosagi/novena/novena_spl.c              |   1 +
 board/kosagi/novena/video.c                   |   2 +
 board/lego/ev3/legoev3.c                      |   1 +
 board/lg/sniper/sniper.c                      |   1 +
 board/liebherr/display5/display5.c            |   4 +
 board/liebherr/display5/spl.c                 |   4 +
 board/liebherr/mccmon6/spl.c                  |   3 +
 board/liebherr/xea/xea.c                      |   5 +
 board/logicpd/am3517evm/am3517evm.c           |   2 +
 board/logicpd/omap3som/omap3logic.c           |   1 +
 board/logicpd/zoom1/zoom1.c                   |   2 +
 board/maxbcm/maxbcm.c                         |   1 +
 board/mediatek/mt7622/mt7622_rfb.c            |   2 +
 board/mediatek/mt8512/mt8512.c                |   1 +
 board/mediatek/mt8518/mt8518_ap1.c            |   2 +
 board/menlo/m53menlo/m53menlo.c               |   1 +
 board/microchip/mpfs_icicle/mpfs_icicle.c     |   1 +
 board/microchip/pic32mzda/pic32mzda.c         |   1 +
 board/mikrotik/crs305-1g-4s/crs305-1g-4s.c    |   2 +
 board/mpc8308_p1m/mpc8308_p1m.c               |   2 +
 board/mscc/common/spi.c                       |   1 +
 board/mscc/jr2/jr2.c                          |   3 +
 board/mscc/luton/luton.c                      |   1 +
 board/mscc/ocelot/ocelot.c                    |   3 +
 board/mscc/serval/serval.c                    |   1 +
 board/mscc/servalt/servalt.c                  |   1 +
 board/netgear/dgnd3700v2/dgnd3700v2.c         |   2 +
 board/nokia/rx51/rx51.c                       |   1 +
 board/novtech/meerkat96/meerkat96.c           |   1 +
 board/nvidia/cardhu/cardhu.c                  |   2 +
 board/nvidia/dalmore/dalmore.c                |   1 +
 board/nvidia/e2220-1170/e2220-1170.c          |   1 +
 board/nvidia/jetson-tk1/jetson-tk1.c          |   1 +
 board/nvidia/nyan-big/nyan-big.c              |   2 +
 board/nvidia/p2371-0000/p2371-0000.c          |   1 +
 board/nvidia/p2371-2180/p2371-2180.c          |   3 +
 board/nvidia/p2571/p2571.c                    |   1 +
 board/nvidia/p2771-0000/p2771-0000.c          |   2 +
 board/nvidia/p3450-0000/p3450-0000.c          |   1 +
 board/nvidia/venice2/as3722_init.c            |   2 +
 board/olimex/mx23_olinuxino/mx23_olinuxino.c  |   2 +
 board/overo/overo.c                           |   3 +
 board/overo/spl.c                             |   2 +
 board/pandora/pandora.c                       |   2 +
 board/phytec/pcl063/spl.c                     |   1 +
 board/phytec/pcm051/board.c                   |   2 +
 board/phytec/pcm052/pcm052.c                  |   1 +
 board/phytec/pcm058/pcm058.c                  |   2 +
 board/phytec/pfla02/pfla02.c                  |   3 +
 board/phytec/phycore_rk3288/phycore-rk3288.c  |   3 +
 board/phytium/durian/durian.c                 |   4 +
 .../rockpro64_rk3399/rockpro64-rk3399.c       |   1 +
 board/ppcag/bg0900/bg0900.c                   |   3 +
 board/qca/ap121/ap121.c                       |   1 +
 board/qca/ap143/ap143.c                       |   1 +
 board/qca/ap152/ap152.c                       |   1 +
 board/qemu-mips/qemu-mips.c                   |   2 +
 .../dragonboard410c/dragonboard410c.c         |   3 +
 .../dragonboard820c/dragonboard820c.c         |   2 +
 board/raidsonic/ib62x0/ib62x0.c               |   1 +
 board/renesas/MigoR/migo_r.c                  |   2 +
 board/renesas/alt/alt.c                       |   3 +
 board/renesas/alt/alt_spl.c                   |   2 +
 board/renesas/blanche/blanche.c               |   3 +
 board/renesas/condor/condor.c                 |   1 +
 board/renesas/draak/draak.c                   |   2 +
 board/renesas/eagle/eagle.c                   |   1 +
 board/renesas/ebisu/ebisu.c                   |   1 +
 board/renesas/gose/gose.c                     |   3 +
 board/renesas/gose/gose_spl.c                 |   2 +
 board/renesas/grpeach/grpeach.c               |   1 +
 board/renesas/koelsch/koelsch.c               |   3 +
 board/renesas/koelsch/koelsch_spl.c           |   2 +
 board/renesas/lager/lager.c                   |   3 +
 board/renesas/lager/lager_spl.c               |   2 +
 board/renesas/porter/porter.c                 |   3 +
 board/renesas/porter/porter_spl.c             |   2 +
 board/renesas/r2dplus/r2dplus.c               |   1 +
 board/renesas/r7780mp/r7780mp.c               |   1 +
 board/renesas/rcar-common/common.c            |   2 +
 board/renesas/rcar-common/gen3-spl.c          |   4 +
 board/renesas/salvator-x/salvator-x.c         |   3 +
 board/renesas/sh7752evb/sh7752evb.c           |   6 +-
 board/renesas/sh7753evb/sh7753evb.c           |   6 +-
 board/renesas/sh7757lcr/sh7757lcr.c           |   7 +-
 board/renesas/sh7763rdp/sh7763rdp.c           |   1 +
 board/renesas/silk/silk.c                     |   3 +
 board/renesas/silk/silk_spl.c                 |   2 +
 board/renesas/stout/cpld.c                    |   4 +-
 board/renesas/stout/stout.c                   |   3 +
 board/renesas/stout/stout_spl.c               |   2 +
 board/renesas/ulcb/cpld.c                     |   4 +-
 board/renesas/ulcb/ulcb.c                     |   3 +
 board/rockchip/evb_rk3399/evb-rk3399.c        |   2 +
 board/rockchip/evb_rv1108/evb_rv1108.c        |   1 +
 board/rockchip/kylin_rk3036/kylin_rk3036.c    |   1 +
 board/rockchip/tinker_rk3288/tinker-rk3288.c  |   1 +
 board/samsung/arndale/arndale.c               |   1 +
 board/samsung/common/board.c                  |   4 +
 board/samsung/common/exynos5-dt-types.c       |   1 +
 board/samsung/common/exynos5-dt.c             |   1 +
 board/samsung/common/misc.c                   |   3 +-
 board/samsung/goni/goni.c                     |   3 +
 board/samsung/odroid/odroid.c                 |   1 +
 board/samsung/smdkc100/smdkc100.c             |   1 +
 board/samsung/smdkv310/smdkv310.c             |   2 +
 board/samsung/trats/trats.c                   |   2 +
 board/samsung/trats2/trats2.c                 |   2 +
 board/samsung/universal_c210/universal.c      |   2 +
 board/sandisk/sansa_fuze_plus/sfp.c           |   3 +
 board/sbc8349/pci.c                           |   1 +
 board/sbc8349/sbc8349.c                       |   3 +
 board/sbc8548/ddr.c                           |   1 +
 board/sbc8548/sbc8548.c                       |   3 +
 board/sbc8641d/sbc8641d.c                     |  12 +-
 board/schulercontrol/sc_sps_1/sc_sps_1.c      |   2 +
 board/seco/mx6quq7/mx6quq7.c                  |   2 +
 board/seeed/linkit-smart-7688/board.c         |   2 +
 board/siemens/capricorn/board.c               |   9 +-
 board/siemens/capricorn/spl.c                 |   1 +
 board/siemens/common/board.c                  |  10 +-
 board/siemens/common/factoryset.c             |   1 +
 board/siemens/corvus/board.c                  |   1 +
 board/siemens/draco/board.c                   |   7 +-
 board/siemens/pxm2/board.c                    |   2 +
 board/siemens/rut/board.c                     |   2 +
 board/siemens/smartweb/smartweb.c             |   1 +
 board/siemens/taurus/taurus.c                 |   5 +-
 board/sifive/fu540/fu540.c                    |   3 +
 board/silica/pengwyn/board.c                  |   2 +
 board/sks-kinkel/sksimx6/sksimx6.c            |   5 +
 board/socrates/sdram.c                        |   1 +
 board/socrates/socrates.c                     |  30 +++--
 board/softing/vining_2000/vining_2000.c       |   3 +
 board/softing/vining_fpga/socfpga.c           |   2 +
 board/solidrun/clearfog/clearfog.c            |   5 +
 board/solidrun/mx6cuboxi/mx6cuboxi.c          |   5 +
 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                       |   2 +
 board/spear/x600/x600.c                       |   2 +
 board/sr1500/socfpga.c                        |   2 +
 board/st/common/cmd_stboard.c                 |   5 +-
 board/st/stih410-b2260/board.c                |   2 +
 .../stm32f429-discovery/stm32f429-discovery.c |   3 +
 .../stm32f429-evaluation.c                    |   3 +
 .../stm32f469-discovery/stm32f469-discovery.c |   3 +
 board/st/stm32f746-disco/stm32f746-disco.c    |   2 +
 board/st/stm32h743-disco/stm32h743-disco.c    |   1 +
 board/st/stm32h743-eval/stm32h743-eval.c      |   1 +
 board/st/stm32mp1/board.c                     |   2 +
 board/st/stm32mp1/stm32mp1.c                  |   5 +
 board/st/stv0991/stv0991.c                    |   3 +
 board/ste/stemmy/stemmy.c                     |   1 +
 board/sunxi/board.c                           |   3 +
 board/sunxi/dram_sun4i_auto.c                 |   1 +
 board/sunxi/dram_sun5i_auto.c                 |   1 +
 board/synopsys/axs10x/axs10x.c                |   2 +
 board/synopsys/emsdp/emsdp.c                  |  13 +-
 board/synopsys/hsdk/clk-lib.c                 |   1 +
 board/synopsys/hsdk/clk-lib.h                 |   1 +
 board/synopsys/hsdk/env-lib.c                 |   1 +
 board/synopsys/hsdk/hsdk.c                    |  27 ++--
 board/synopsys/iot_devkit/iot_devkit.c        |   2 +
 board/synopsys/nsim/nsim.c                    |   1 +
 board/syteco/zmx25/zmx25.c                    |   2 +
 board/tbs/tbs2910/tbs2910.c                   |   1 +
 board/tcl/sl50/board.c                        |   1 +
 board/technexion/pico-imx6/pico-imx6.c        |   4 +
 board/technexion/pico-imx6/spl.c              |   4 +
 board/technexion/pico-imx6ul/pico-imx6ul.c    |   3 +
 board/technexion/pico-imx7d/pico-imx7d.c      |   1 +
 board/technexion/pico-imx7d/spl.c             |   2 +
 board/technexion/tao3530/tao3530.c            |   2 +
 board/technologic/ts4600/ts4600.c             |   2 +
 board/technologic/ts4800/ts4800.c             |   3 +
 board/theadorable/fpga.c                      |   1 +
 board/theadorable/theadorable.c               |   5 +-
 .../puma_rk3399/puma-rk3399.c                 |   2 +
 board/ti/am335x/board.c                       |   4 +
 board/ti/am3517crane/am3517crane.c            |   1 +
 board/ti/am43xx/board.c                       |   2 +
 board/ti/am57xx/board.c                       |   2 +
 board/ti/am65x/evm.c                          |   3 +
 board/ti/beagle/beagle.c                      |   3 +
 board/ti/common/board_detect.c                |   2 +
 board/ti/common/board_detect.h                |   1 +
 board/ti/dra7xx/evm.c                         |   2 +
 board/ti/evm/evm.c                            |   3 +
 board/ti/j721e/evm.c                          |   5 +
 board/ti/ks2_evm/board.c                      |   1 +
 board/ti/ks2_evm/board_k2e.c                  |   2 +
 board/ti/ks2_evm/board_k2g.c                  |   3 +
 board/ti/ks2_evm/board_k2hk.c                 |   2 +
 board/ti/ks2_evm/board_k2l.c                  |   2 +
 board/ti/omap5_uevm/evm.c                     |   3 +
 board/ti/panda/panda.c                        |   3 +
 board/ti/sdp4430/cmd_bat.c                    |   2 +-
 board/ti/sdp4430/sdp.c                        |   2 +
 board/ti/ti814x/evm.c                         |   2 +
 board/ti/ti816x/evm.c                         |   2 +
 board/timll/devkit3250/devkit3250.c           |   1 +
 board/timll/devkit8000/devkit8000.c           |   1 +
 board/toradex/apalis-tk1/apalis-tk1.c         |   4 +
 board/toradex/apalis-tk1/as3722_init.c        |   2 +
 board/toradex/apalis_imx6/apalis_imx6.c       |   4 +
 board/toradex/apalis_imx6/do_fuse.c           |   9 +-
 board/toradex/apalis_imx6/pf0100.c            |   6 +-
 board/toradex/apalis_t30/apalis_t30.c         |   3 +
 .../toradex/colibri-imx6ull/colibri-imx6ull.c |   1 +
 board/toradex/colibri_imx6/colibri_imx6.c     |   3 +
 board/toradex/colibri_imx6/do_fuse.c          |   9 +-
 board/toradex/colibri_imx6/pf0100.c           |   6 +-
 board/toradex/colibri_imx7/colibri_imx7.c     |   2 +
 board/toradex/colibri_pxa270/colibri_pxa270.c |   3 +
 board/toradex/colibri_t20/colibri_t20.c       |   3 +
 board/toradex/colibri_t30/colibri_t30.c       |   2 +
 board/toradex/common/tdx-cfg-block.c          |  10 +-
 board/toradex/common/tdx-common.c             |   1 +
 board/toradex/verdin-imx8mm/spl.c             |   6 +-
 board/toradex/verdin-imx8mm/verdin-imx8mm.c   |   1 +
 board/tplink/wdr4300/wdr4300.c                |   3 +
 board/tqc/tqm834x/pci.c                       |   1 +
 board/tqc/tqm834x/tqm834x.c                   |   2 +
 board/tqc/tqma6/tqma6.c                       |   1 +
 board/tqc/tqma6/tqma6_mba6.c                  |   2 +
 board/tqc/tqma6/tqma6_wru4.c                  |   2 +
 board/ucRobotics/bubblegum_96/bubblegum_96.c  |   2 +
 board/udoo/neo/neo.c                          |   2 +
 board/udoo/udoo.c                             |   2 +
 board/udoo/udoo_spl.c                         |   3 +
 board/variscite/dart_6ul/dart_6ul.c           |   2 +
 board/variscite/dart_6ul/spl.c                |   1 +
 board/varisys/common/sys_eeprom.c             |   3 +-
 board/varisys/cyrus/cyrus.c                   |   1 +
 board/varisys/cyrus/ddr.c                     |   2 +
 board/varisys/cyrus/eth.c                     |   1 +
 board/ve8313/ve8313.c                         |   1 +
 board/vscom/baltos/board.c                    |   1 +
 board/wandboard/spl.c                         |   3 +
 board/wandboard/wandboard.c                   |   4 +
 board/warp7/warp7.c                           |   1 +
 board/work-microwave/work_92105/work_92105.c  |   1 +
 .../work_92105/work_92105_display.c           |   8 +-
 board/xes/common/board.c                      |   1 +
 board/xes/xpedite517x/ddr.c                   |   1 +
 board/xes/xpedite537x/ddr.c                   |   1 +
 board/xilinx/common/board.c                   |   1 +
 .../microblaze-generic/microblaze-generic.c   |   2 +
 board/xilinx/versal/board.c                   |   3 +
 board/xilinx/zynq/bootimg.c                   |   2 +
 board/xilinx/zynq/cmds.c                      |  18 +--
 board/xilinx/zynqmp/cmds.c                    |  23 ++--
 board/xilinx/zynqmp/tap_delays.c              |   1 +
 board/xilinx/zynqmp/xil_io.h                  |   1 +
 board/xilinx/zynqmp/zynqmp.c                  |   8 +-
 board/xilinx/zynqmp_r5/board.c                |   1 +
 board/zyxel/nsa310s/nsa310s.c                 |   1 +
 cmd/ab_select.c                               |   9 +-
 cmd/abootimg.c                                |  32 ++---
 cmd/adc.c                                     |   8 +-
 cmd/adtimg.c                                  |  26 ++--
 cmd/aes.c                                     |   2 +-
 cmd/arm/exception.c                           |  14 +--
 cmd/arm/exception64.c                         |   6 +-
 cmd/armflash.c                                |   3 +-
 cmd/avb.c                                     |  40 +++---
 cmd/axi.c                                     |  23 ++--
 cmd/bcb.c                                     |  36 +++---
 cmd/bdinfo.c                                  |  30 ++---
 cmd/bedbug.c                                  |  25 ++--
 cmd/bind.c                                    |   5 +-
 cmd/binop.c                                   |   3 +-
 cmd/blk_common.c                              |   3 +-
 cmd/blkcache.c                                |  17 +--
 cmd/blob.c                                    |   3 +-
 cmd/bmp.c                                     |  13 +-
 cmd/boot.c                                    |   4 +-
 cmd/bootcount.c                               |  16 +--
 cmd/bootefi.c                                 |   4 +-
 cmd/booti.c                                   |   7 +-
 cmd/bootm.c                                   |  23 ++--
 cmd/bootmenu.c                                |   4 +-
 cmd/bootstage.c                               |  20 +--
 cmd/bootz.c                                   |   7 +-
 cmd/btrfs.c                                   |   2 +-
 cmd/cache.c                                   |   6 +-
 cmd/cbfs.c                                    |   8 +-
 cmd/clk.c                                     |   8 +-
 cmd/cls.c                                     |   2 +-
 cmd/config.c                                  |   3 +-
 cmd/conitrace.c                               |   5 +-
 cmd/console.c                                 |   3 +-
 cmd/cpu.c                                     |  12 +-
 cmd/cramfs.c                                  |   5 +-
 cmd/cros_ec.c                                 |   9 +-
 cmd/dataflash_mmc_mux.c                       |   3 +-
 cmd/date.c                                    |   3 +-
 cmd/demo.c                                    |  22 ++--
 cmd/dfu.c                                     |   3 +-
 cmd/diag.c                                    |   2 +-
 cmd/disk.c                                    |   6 +-
 cmd/dm.c                                      |  22 ++--
 cmd/echo.c                                    |   3 +-
 cmd/eeprom.c                                  |   5 +-
 cmd/efi.c                                     |  10 +-
 cmd/efidebug.c                                |  61 ++++-----
 cmd/elf.c                                     |   8 +-
 cmd/ethsw.c                                   |   6 +-
 cmd/exit.c                                    |   3 +-
 cmd/ext2.c                                    |   7 +-
 cmd/ext4.c                                    |  10 +-
 cmd/fastboot.c                                |   4 +-
 cmd/fat.c                                     |  27 ++--
 cmd/fdt.c                                     |   5 +-
 cmd/fitupd.c                                  |   3 +-
 cmd/flash.c                                   |  52 ++++----
 cmd/fpga.c                                    |  43 ++++---
 cmd/fpgad.c                                   |   2 +-
 cmd/fs.c                                      |  23 ++--
 cmd/fs_uuid.c                                 |   4 +-
 cmd/fuse.c                                    |   3 +-
 cmd/gettime.c                                 |   4 +-
 cmd/gpio.c                                    |   4 +-
 cmd/gpt.c                                     |  23 ++--
 cmd/hash.c                                    |   3 +-
 cmd/help.c                                    |   9 +-
 cmd/host.c                                    |  37 +++---
 cmd/i2c.c                                     |  63 ++++++----
 cmd/ide.c                                     |   4 +-
 cmd/ini.c                                     |   2 +-
 cmd/io.c                                      |   4 +-
 cmd/iotrace.c                                 |   6 +-
 cmd/irq.c                                     |   6 +-
 cmd/itest.c                                   |   3 +-
 cmd/jffs2.c                                   |  10 +-
 cmd/led.c                                     |   2 +-
 cmd/legacy_led.c                              |   2 +-
 cmd/license.c                                 |   3 +-
 cmd/load.c                                    |  13 +-
 cmd/log.c                                     |  17 +--
 cmd/lzmadec.c                                 |   3 +-
 cmd/mac.c                                     |   3 +-
 cmd/md5sum.c                                  |   6 +-
 cmd/mdio.c                                    |   3 +-
 cmd/mem.c                                     |  63 ++++++----
 cmd/mfsl.c                                    |   6 +-
 cmd/mii.c                                     |   2 +-
 cmd/misc.c                                    |   7 +-
 cmd/mmc.c                                     | 111 ++++++++++-------
 cmd/mp.c                                      |   2 +-
 cmd/mtd.c                                     |  17 +--
 cmd/mtdparts.c                                |   8 +-
 cmd/mvebu/bubt.c                              |   4 +-
 cmd/nand.c                                    |  13 +-
 cmd/net.c                                     |  39 +++---
 cmd/nvedit.c                                  |  65 +++++-----
 cmd/nvedit_efi.c                              |  13 +-
 cmd/nvme.c                                    |   4 +-
 cmd/onenand.c                                 |  33 +++--
 cmd/osd.c                                     |  27 ++--
 cmd/part.c                                    |  21 ++--
 cmd/pcap.c                                    |  20 +--
 cmd/pci.c                                     |   3 +-
 cmd/pinmux.c                                  |  17 +--
 cmd/pmc.c                                     |  12 +-
 cmd/pmic.c                                    |  23 ++--
 cmd/pxe.c                                     |  19 +--
 cmd/pxe_utils.c                               |  30 +++--
 cmd/pxe_utils.h                               |  10 +-
 cmd/qfw.c                                     |  19 +--
 cmd/read.c                                    |   4 +-
 cmd/reginfo.c                                 |   4 +-
 cmd/regulator.c                               |  35 ++++--
 cmd/reiser.c                                  |   8 +-
 cmd/remoteproc.c                              |  14 +--
 cmd/riscv/exception.c                         |   6 +-
 cmd/rng.c                                     |   2 +-
 cmd/rockusb.c                                 |   3 +-
 cmd/sata.c                                    |   4 +-
 cmd/sb.c                                      |  13 +-
 cmd/scsi.c                                    |   7 +-
 cmd/setexpr.c                                 |   4 +-
 cmd/sf.c                                      |  18 +--
 cmd/sha1sum.c                                 |   2 +-
 cmd/smccc.c                                   |   3 +-
 cmd/sound.c                                   |  13 +-
 cmd/source.c                                  |  14 ++-
 cmd/spi.c                                     |   2 +-
 cmd/spl.c                                     |  17 +--
 cmd/strings.c                                 |   2 +-
 cmd/sysboot.c                                 |  12 +-
 cmd/terminal.c                                |   2 +-
 cmd/test.c                                    |  10 +-
 cmd/thordown.c                                |   3 +-
 cmd/ti/ddr3.c                                 |   6 +-
 cmd/time.c                                    |   3 +-
 cmd/tlv_eeprom.c                              |   4 +-
 cmd/tpm-common.c                              |  10 +-
 cmd/tpm-user-utils.h                          |   9 +-
 cmd/tpm-v1.c                                  |  85 ++++++-------
 cmd/tpm-v2.c                                  |  43 +++----
 cmd/tpm_test.c                                |  12 +-
 cmd/trace.c                                   |   8 +-
 cmd/tsi148.c                                  |   3 +-
 cmd/ubi.c                                     |   2 +-
 cmd/ubifs.c                                   |  18 +--
 cmd/ufs.c                                     |   2 +-
 cmd/universe.c                                |   2 +-
 cmd/unzip.c                                   |   8 +-
 cmd/usb.c                                     |   7 +-
 cmd/usb_gadget_sdp.c                          |   3 +-
 cmd/usb_mass_storage.c                        |  10 +-
 cmd/version.c                                 |   3 +-
 cmd/virtio.c                                  |   4 +-
 cmd/w1.c                                      |   2 +-
 cmd/wdt.c                                     |  12 +-
 cmd/wol.c                                     |   2 +-
 cmd/x86/exception.c                           |   6 +-
 cmd/x86/fsp.c                                 |   8 +-
 cmd/x86/hob.c                                 |   3 +-
 cmd/x86/mtrr.c                                |   6 +-
 cmd/ximg.c                                    |   3 +-
 cmd/yaffs2.c                                  |  28 ++---
 cmd/zfs.c                                     |  11 +-
 cmd/zip.c                                     |   2 +-
 common/android_ab.c                           |  11 +-
 common/autoboot.c                             |   2 +
 common/bedbug.c                               |   1 +
 common/board_f.c                              |   7 +-
 common/board_info.c                           |   1 +
 common/board_r.c                              |  12 +-
 common/boot_fit.c                             |   1 +
 common/bootm.c                                |  30 +++--
 common/bootm_os.c                             |  50 ++++----
 common/bootstage.c                            |   2 +
 common/bouncebuf.c                            |   2 +
 common/cli.c                                  |   5 +-
 common/cli_hush.c                             |   4 +-
 common/cli_readline.c                         |   1 +
 common/cli_simple.c                           |   1 +
 common/command.c                              |  76 ++++++------
 common/common_fit.c                           |   1 +
 common/console.c                              |   1 +
 common/cros_ec.c                              |   1 +
 common/dfu.c                                  |   2 +
 common/dlmalloc.c                             |   1 +
 common/edid.c                                 |   1 +
 common/exports.c                              |   1 +
 common/fdt_support.c                          |   2 +
 common/flash.c                                |  24 ++--
 common/hash.c                                 |   8 +-
 common/hwconfig.c                             |   1 +
 common/image-cipher.c                         |   2 +-
 common/image-fdt.c                            |   6 +-
 common/image-fit.c                            |   2 +
 common/image-sig.c                            |   3 +
 common/image.c                                |  17 ++-
 common/init/board_init.c                      |   2 +
 common/iotrace.c                              |   1 +
 common/kgdb.c                                 |   3 +-
 common/kgdb_stubs.c                           |   1 +
 common/lcd.c                                  |   3 +
 common/lcd_console.c                          |   6 +-
 common/main.c                                 |   2 +
 common/malloc_simple.c                        |   1 +
 common/miiphyutil.c                           |   2 +
 common/spl/spl.c                              |   7 +-
 common/spl/spl_atf.c                          |   3 +
 common/spl/spl_ext.c                          |   5 +-
 common/spl/spl_fat.c                          |   1 +
 common/spl/spl_fit.c                          |   2 +
 common/spl/spl_mmc.c                          |   4 +-
 common/spl/spl_nand.c                         |   3 +
 common/spl/spl_net.c                          |   2 +
 common/spl/spl_nor.c                          |   2 +
 common/spl/spl_onenand.c                      |   2 +
 common/spl/spl_opensbi.c                      |   2 +
 common/spl/spl_ram.c                          |   2 +
 common/spl/spl_sdp.c                          |   1 +
 common/spl/spl_spi.c                          |   2 +
 common/spl/spl_ubi.c                          |   1 +
 common/spl/spl_usb.c                          |   1 +
 common/spl/spl_xip.c                          |   2 +
 common/spl/spl_ymodem.c                       |   2 +
 common/splash_source.c                        |   1 +
 common/stdio.c                                |   1 +
 common/usb.c                                  |   2 +
 common/usb_hub.c                              |   2 +
 common/usb_kbd.c                              |   1 +
 common/usb_storage.c                          |   4 +
 disk/part.c                                   |  19 +--
 disk/part_amiga.c                             |   3 +-
 disk/part_dos.c                               |   6 +-
 disk/part_efi.c                               |  15 ++-
 disk/part_iso.c                               |  11 +-
 disk/part_mac.c                               |   4 +-
 doc/README.commands                           |  12 +-
 doc/README.standalone                         |   2 +-
 drivers/adc/adc-uclass.c                      |   1 +
 drivers/adc/meson-saradc.c                    |   2 +
 drivers/adc/rockchip-saradc.c                 |   1 +
 drivers/adc/stm32-adc-core.c                  |   1 +
 drivers/adc/stm32-adc.c                       |   2 +
 drivers/ata/ahci.c                            |   4 +
 drivers/ata/ahci_mvebu.c                      |   1 +
 drivers/ata/ahci_sunxi.c                      |   2 +
 drivers/ata/dwc_ahsata.c                      |   5 +
 drivers/ata/fsl_sata.c                        |   3 +
 drivers/ata/mvsata_ide.c                      |   1 +
 drivers/ata/sata.c                            |   2 +
 drivers/ata/sata_ceva.c                       |   1 +
 drivers/ata/sata_mv.c                         |   5 +
 drivers/ata/sata_sandbox.c                    |   1 +
 drivers/ata/sata_sil.c                        |   2 +
 drivers/ata/sata_sil3114.c                    |  20 +--
 drivers/axi/axi-emul-uclass.c                 |   1 +
 drivers/axi/ihs_axi.c                         |   3 +
 drivers/axi/sandbox_store.c                   |   1 +
 drivers/bios_emulator/atibios.c               |   2 +
 drivers/block/blk-uclass.c                    |   2 +
 drivers/block/blk_legacy.c                    |   2 +
 drivers/block/blkcache.c                      |   3 +-
 drivers/block/ide.c                           |   4 +
 drivers/board/gazerbeam.c                     |   1 +
 drivers/bootcount/bootcount-uclass.c          |   1 +
 drivers/bootcount/bootcount.c                 |   1 +
 drivers/bootcount/bootcount_ram.c             |   1 +
 drivers/bootcount/i2c-eeprom.c                |   1 +
 drivers/bootcount/rtc.c                       |   1 +
 drivers/cache/cache-ncore.c                   |   1 +
 drivers/cache/cache-v5l2.c                    |   1 +
 drivers/clk/altera/clk-agilex.c               |   2 +
 drivers/clk/altera/clk-agilex.h               |   4 +
 drivers/clk/altera/clk-arria10.c              |   1 +
 drivers/clk/aspeed/clk_ast2500.c              |   2 +
 drivers/clk/at91/clk-generated.c              |   1 +
 drivers/clk/at91/clk-system.c                 |   1 +
 drivers/clk/at91/clk-usb.c                    |   1 +
 drivers/clk/at91/pmc.c                        |   1 +
 drivers/clk/clk-cdce9xx.c                     |   1 +
 drivers/clk/clk-divider.c                     |   1 +
 drivers/clk/clk-gate.c                        |   1 +
 drivers/clk/clk-hsdk-cgu.c                    |   4 +
 drivers/clk/clk-mux.c                         |   1 +
 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_pic32.c                       |   2 +
 drivers/clk/clk_sandbox_ccf.c                 |   1 +
 drivers/clk/clk_stm32f.c                      |   2 +
 drivers/clk/clk_stm32h7.c                     |   2 +
 drivers/clk/clk_stm32mp1.c                    |   3 +
 drivers/clk/clk_versal.c                      |   3 +
 drivers/clk/clk_vexpress_osc.c                |   2 +
 drivers/clk/clk_zynq.c                        |   1 +
 drivers/clk/clk_zynqmp.c                      |   1 +
 drivers/clk/ics8n3qv01.c                      |   1 +
 drivers/clk/imx/clk-composite-8m.c            |   1 +
 drivers/clk/imx/clk-imx6q.c                   |   1 +
 drivers/clk/imx/clk-imx8.c                    |   1 +
 drivers/clk/imx/clk-imx8mm.c                  |   1 +
 drivers/clk/imx/clk-imx8mn.c                  |   1 +
 drivers/clk/imx/clk-imx8mp.c                  |   1 +
 drivers/clk/imx/clk-imx8qm.c                  |   1 +
 drivers/clk/imx/clk-imx8qxp.c                 |   1 +
 drivers/clk/imx/clk-imxrt1050.c               |   1 +
 drivers/clk/imx/clk-pll14xx.c                 |   2 +
 drivers/clk/mediatek/clk-mt7622.c             |   2 +
 drivers/clk/mediatek/clk-mt7623.c             |   2 +
 drivers/clk/mediatek/clk-mt7629.c             |   2 +
 drivers/clk/mediatek/clk-mt8512.c             |   1 +
 drivers/clk/mediatek/clk-mt8516.c             |   1 +
 drivers/clk/mediatek/clk-mt8518.c             |   1 +
 drivers/clk/mediatek/clk-mtk.c                |   2 +
 drivers/clk/mediatek/clk-mtk.h                |   1 +
 drivers/clk/meson/axg.c                       |   2 +
 drivers/clk/meson/clk_meson.h                 |   1 +
 drivers/clk/meson/g12a.c                      |   3 +
 drivers/clk/meson/gxbb.c                      |   2 +
 drivers/clk/mpc83xx_clk.c                     |   6 +-
 drivers/clk/mpc83xx_clk.h                     |   1 +
 drivers/clk/mvebu/armada-37xx-periph.c        |   1 +
 drivers/clk/owl/clk_s900.c                    |   2 +
 drivers/clk/renesas/clk-rcar-gen2.c           |   1 +
 drivers/clk/renesas/clk-rcar-gen3.c           |   2 +
 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/renesas-cpg-mssr.c        |   2 +
 drivers/clk/renesas/renesas-cpg-mssr.h        |   1 +
 drivers/clk/rockchip/clk_pll.c                |   2 +
 drivers/clk/rockchip/clk_px30.c               |   3 +
 drivers/clk/rockchip/clk_rk3036.c             |   3 +
 drivers/clk/rockchip/clk_rk3128.c             |   2 +
 drivers/clk/rockchip/clk_rk3188.c             |   3 +
 drivers/clk/rockchip/clk_rk322x.c             |   4 +
 drivers/clk/rockchip/clk_rk3288.c             |   4 +
 drivers/clk/rockchip/clk_rk3308.c             |   2 +
 drivers/clk/rockchip/clk_rk3328.c             |   3 +
 drivers/clk/rockchip/clk_rk3368.c             |   3 +
 drivers/clk/rockchip/clk_rk3399.c             |   3 +
 drivers/clk/rockchip/clk_rv1108.c             |   3 +
 drivers/clk/sifive/fu540-prci.c               |   1 +
 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      |   1 +
 drivers/core/device-remove.c                  |   1 +
 drivers/core/device.c                         |   2 +
 drivers/core/devres.c                         |   1 +
 drivers/core/fdtaddr.c                        |   1 +
 drivers/core/lists.c                          |   1 +
 drivers/core/of_access.c                      |   2 +
 drivers/core/of_addr.c                        |   2 +
 drivers/core/of_extra.c                       |   1 +
 drivers/core/ofnode.c                         |   1 +
 drivers/core/regmap.c                         |   1 +
 drivers/core/root.c                           |   1 +
 drivers/core/syscon-uclass.c                  |   1 +
 drivers/core/uclass.c                         |   1 +
 drivers/cpu/bmips_cpu.c                       |   2 +
 drivers/cpu/cpu-uclass.c                      |   1 +
 drivers/cpu/imx8_cpu.c                        |   1 +
 drivers/cpu/mpc83xx_cpu.c                     |   2 +
 drivers/cpu/riscv_cpu.c                       |   2 +
 drivers/crypto/ace_sha.c                      |   2 +
 drivers/crypto/fsl/error.c                    |   1 +
 drivers/crypto/fsl/fsl_blob.c                 |   2 +
 drivers/crypto/fsl/fsl_hash.c                 |   2 +
 drivers/crypto/fsl/fsl_rsa.c                  |   1 +
 drivers/crypto/fsl/jobdesc.c                  |   1 +
 drivers/crypto/fsl/jr.c                       |   3 +
 drivers/crypto/rsa_mod_exp/mod_exp_sw.c       |   1 +
 drivers/ddr/altera/sdram_agilex.c             |   1 +
 drivers/ddr/altera/sdram_arria10.c            |   5 +
 drivers/ddr/altera/sdram_gen5.c               |   2 +
 drivers/ddr/altera/sdram_s10.c                |   1 +
 drivers/ddr/altera/sdram_soc64.c              |   3 +
 drivers/ddr/altera/sequencer.c                |   1 +
 drivers/ddr/fsl/arm_ddr_gen3.c                |   2 +
 drivers/ddr/fsl/ctrl_regs.c                   |   2 +
 drivers/ddr/fsl/ddr1_dimm_params.c            |   2 +
 drivers/ddr/fsl/ddr2_dimm_params.c            |   2 +
 drivers/ddr/fsl/ddr3_dimm_params.c            |   1 +
 drivers/ddr/fsl/ddr4_dimm_params.c            |   2 +
 drivers/ddr/fsl/fsl_ddr_gen4.c                |   2 +
 drivers/ddr/fsl/fsl_mmdc.c                    |   1 +
 drivers/ddr/fsl/interactive.c                 |   3 +
 drivers/ddr/fsl/lc_common_dimm_params.c       |   2 +
 drivers/ddr/fsl/main.c                        |   3 +
 drivers/ddr/fsl/mpc85xx_ddr_gen1.c            |   2 +
 drivers/ddr/fsl/mpc85xx_ddr_gen2.c            |   1 +
 drivers/ddr/fsl/mpc85xx_ddr_gen3.c            |   2 +
 drivers/ddr/fsl/mpc86xx_ddr.c                 |   2 +
 drivers/ddr/fsl/options.c                     |   1 +
 drivers/ddr/fsl/util.c                        |   2 +
 drivers/ddr/imx/imx8m/ddr_init.c              |   1 +
 drivers/ddr/imx/imx8m/ddrphy_train.c          |   1 +
 drivers/ddr/imx/imx8m/ddrphy_utils.c          |   1 +
 drivers/ddr/imx/imx8m/helper.c                |   1 +
 drivers/ddr/marvell/a38x/ddr3_debug.c         |   1 +
 drivers/ddr/marvell/a38x/ddr3_training.c      |   2 +
 .../marvell/a38x/ddr3_training_ip_engine.c    |   1 +
 .../ddr/marvell/a38x/ddr3_training_leveling.c |   1 +
 drivers/ddr/marvell/a38x/mv_ddr_plat.c        |   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    |   2 +
 drivers/ddr/marvell/axp/ddr3_init.c           |   2 +
 drivers/ddr/marvell/axp/ddr3_pbs.c            |   1 +
 drivers/ddr/marvell/axp/ddr3_read_leveling.c  |   1 +
 drivers/ddr/marvell/axp/ddr3_write_leveling.c |   2 +
 drivers/ddr/marvell/axp/xor.c                 |   1 +
 drivers/demo/demo-shape.c                     |   1 +
 drivers/demo/demo-uclass.c                    |   1 +
 drivers/dfu/dfu.c                             |   1 +
 drivers/dfu/dfu_mmc.c                         |   4 +-
 drivers/dfu/dfu_nand.c                        |   1 +
 drivers/dfu/dfu_sf.c                          |   1 +
 drivers/dfu/dfu_tftp.c                        |   1 +
 drivers/dfu/dfu_virt.c                        |   1 +
 drivers/dma/apbh_dma.c                        |   1 +
 drivers/dma/bcm6348-iudma.c                   |   4 +
 drivers/dma/dma-uclass.c                      |   2 +
 drivers/dma/keystone_nav.c                    |   1 +
 drivers/dma/lpc32xx_dma.c                     |   3 +
 drivers/dma/sandbox-dma-test.c                |   1 +
 drivers/dma/ti-edma3.c                        |   1 +
 drivers/dma/ti/k3-udma-hwdef.h                |   1 +
 drivers/dma/ti/k3-udma.c                      |   3 +
 drivers/fastboot/fb_command.c                 |   1 +
 drivers/fastboot/fb_getvar.c                  |   5 +-
 drivers/fastboot/fb_mmc.c                     |  23 ++--
 drivers/fastboot/fb_nand.c                    |   2 +
 drivers/firmware/firmware-zynqmp.c            |   3 +
 drivers/firmware/psci.c                       |   5 +-
 drivers/firmware/ti_sci.c                     |   2 +
 drivers/firmware/ti_sci.h                     |   1 +
 drivers/fpga/ACEX1K.c                         |   1 +
 drivers/fpga/altera.c                         |   1 +
 drivers/fpga/cyclon2.c                        |   1 +
 drivers/fpga/fpga.c                           |   2 +
 drivers/fpga/ivm_core.c                       |   1 +
 drivers/fpga/lattice.c                        |   2 +
 drivers/fpga/socfpga_arria10.c                |   4 +
 drivers/fpga/stratix10.c                      |   2 +
 drivers/fpga/stratixII.c                      |   7 +-
 drivers/fpga/stratixv.c                       |   2 +
 drivers/fpga/versalpl.c                       |   2 +
 drivers/fpga/virtex2.c                        |   1 +
 drivers/fpga/xilinx.c                         |   1 +
 drivers/fpga/zynqmppl.c                       |   3 +
 drivers/fpga/zynqpl.c                         |   3 +
 drivers/gpio/adi_gpio2.c                      |   1 +
 drivers/gpio/atmel_pio4.c                     |   1 +
 drivers/gpio/bcm6345_gpio.c                   |   1 +
 drivers/gpio/cortina_gpio.c                   |   2 +
 drivers/gpio/dwapb_gpio.c                     |   2 +
 drivers/gpio/gpio-rcar.c                      |   1 +
 drivers/gpio/gpio-rza1.c                      |   1 +
 drivers/gpio/gpio-uclass.c                    |   1 +
 drivers/gpio/hi6220_gpio.c                    |   1 +
 drivers/gpio/hsdk-creg-gpio.c                 |   2 +
 drivers/gpio/intel_broadwell_gpio.c           |   1 +
 drivers/gpio/intel_gpio.c                     |   1 +
 drivers/gpio/intel_ich6_gpio.c                |   1 +
 drivers/gpio/mscc_sgpio.c                     |   2 +
 drivers/gpio/mt7621_gpio.c                    |   1 +
 drivers/gpio/mvebu_gpio.c                     |   1 +
 drivers/gpio/mxs_gpio.c                       |   2 +
 drivers/gpio/pca953x.c                        |   8 +-
 drivers/gpio/pca953x_gpio.c                   |   1 +
 drivers/gpio/pcf8575_gpio.c                   |   2 +
 drivers/gpio/pic32_gpio.c                     |   1 +
 drivers/gpio/pm8916_gpio.c                    |   1 +
 drivers/gpio/s5p_gpio.c                       |   1 +
 drivers/gpio/sandbox.c                        |   1 +
 drivers/gpio/sh_pfc.c                         |   3 +
 drivers/gpio/sifive-gpio.c                    |   1 +
 drivers/gpio/stm32_gpio.c                     |   2 +
 drivers/gpio/tca642x.c                        |   8 +-
 drivers/gpio/tegra186_gpio_priv.h             |   1 +
 drivers/gpio/tegra_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/at91_i2c.h                        |   1 +
 drivers/i2c/cros_ec_ldo.c                     |   1 +
 drivers/i2c/davinci_i2c.c                     |   2 +
 drivers/i2c/designware_i2c.c                  |   2 +
 drivers/i2c/designware_i2c_pci.c              |   1 +
 drivers/i2c/exynos_hs_i2c.c                   |   2 +
 drivers/i2c/fsl_i2c.c                         |   2 +
 drivers/i2c/i2c-cdns.c                        |   3 +
 drivers/i2c/i2c-emul-uclass.c                 |   1 +
 drivers/i2c/i2c-gpio.c                        |   2 +
 drivers/i2c/i2c-uclass.c                      |   2 +
 drivers/i2c/i2c-versatile.c                   |   2 +
 drivers/i2c/i2c_core.c                        |   1 +
 drivers/i2c/ihs_i2c.c                         |   3 +
 drivers/i2c/imx_lpi2c.c                       |   1 +
 drivers/i2c/intel_i2c.c                       |   1 +
 drivers/i2c/kona_i2c.c                        |   2 +
 drivers/i2c/lpc32xx_i2c.c                     |   1 +
 drivers/i2c/meson_i2c.c                       |   3 +
 drivers/i2c/muxes/i2c-arb-gpio-challenge.c    |   2 +
 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                          |   2 +
 drivers/i2c/mxc_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/sandbox_i2c.c                     |   1 +
 drivers/i2c/sh_i2c.c                          |   2 +
 drivers/i2c/soft_i2c.c                        |   1 +
 drivers/i2c/stm32f7_i2c.c                     |   3 +
 drivers/i2c/tegra186_bpmp_i2c.c               |   2 +
 drivers/i2c/tegra_i2c.c                       |   2 +
 drivers/input/cros_ec_keyb.c                  |   1 +
 drivers/input/i8042.c                         |   2 +
 drivers/input/input.c                         |   1 +
 drivers/input/key_matrix.c                    |   1 +
 drivers/input/keyboard-uclass.c               |   1 +
 drivers/input/tegra-kbc.c                     |   2 +
 drivers/led/led_bcm6328.c                     |   1 +
 drivers/led/led_bcm6358.c                     |   2 +
 drivers/led/led_bcm6858.c                     |   2 +
 drivers/led/led_gpio.c                        |   1 +
 drivers/mailbox/k3-sec-proxy.c                |   1 +
 drivers/mailbox/mailbox-uclass.c              |   1 +
 drivers/mailbox/sandbox-mbox.c                |   1 +
 drivers/mailbox/stm32-ipcc.c                  |   2 +
 drivers/mailbox/tegra-hsp.c                   |   2 +
 drivers/mailbox/zynqmp-ipi.c                  |   1 +
 drivers/misc/altera_sysid.c                   |   2 +-
 drivers/misc/atsha204a-i2c.c                  |   2 +
 drivers/misc/cros_ec.c                        |   3 +
 drivers/misc/cros_ec_i2c.c                    |   1 +
 drivers/misc/cros_ec_lpc.c                    |   1 +
 drivers/misc/cros_ec_sandbox.c                |   1 +
 drivers/misc/cros_ec_spi.c                    |   1 +
 drivers/misc/ds4510.c                         |   7 +-
 drivers/misc/fs_loader.c                      |   1 +
 drivers/misc/fsl_ifc.c                        |   1 +
 drivers/misc/fsl_iim.c                        |   1 +
 drivers/misc/fsl_portals.c                    |   1 +
 drivers/misc/fsl_sec_mon.c                    |   1 +
 drivers/misc/gdsys_ioep.c                     |   1 +
 drivers/misc/gdsys_ioep.h                     |   1 +
 drivers/misc/gdsys_soc.c                      |   1 +
 drivers/misc/i2c_eeprom.c                     |   1 +
 drivers/misc/i2c_eeprom_emul.c                |   1 +
 drivers/misc/ihs_fpga.c                       |   3 +
 drivers/misc/imx8/scu.c                       |   2 +
 drivers/misc/irq-uclass.c                     |   1 +
 drivers/misc/jz4780_efuse.c                   |   1 +
 drivers/misc/k3_avs.c                         |   1 +
 drivers/misc/microchip_flexcom.c              |   1 +
 drivers/misc/mpc83xx_serdes.c                 |   2 +
 drivers/misc/mpc83xx_serdes.h                 |   1 +
 drivers/misc/mxc_ocotp.c                      |   1 +
 drivers/misc/mxs_ocotp.c                      |   1 +
 drivers/misc/p2sb-uclass.c                    |   1 +
 drivers/misc/p2sb_emul.c                      |   1 +
 drivers/misc/qfw.c                            |   1 +
 drivers/misc/rockchip-efuse.c                 |   4 +-
 drivers/misc/stm32_rcc.c                      |   1 +
 drivers/misc/swap_case.c                      |   1 +
 drivers/misc/tegra186_bpmp.c                  |   2 +
 drivers/misc/tegra_car.c                      |   1 +
 drivers/misc/vexpress_config.c                |   1 +
 drivers/mmc/am654_sdhci.c                     |   1 +
 drivers/mmc/arm_pl180_mmci.c                  |   2 +
 drivers/mmc/bcm2835_sdhci.c                   |   1 +
 drivers/mmc/bcm2835_sdhost.c                  |   3 +
 drivers/mmc/davinci_mmc.c                     |   1 +
 drivers/mmc/dw_mmc.c                          |   3 +
 drivers/mmc/fsl_esdhc.c                       |   3 +
 drivers/mmc/fsl_esdhc_imx.c                   |   4 +
 drivers/mmc/ftsdc010_mci.c                    |   2 +
 drivers/mmc/gen_atmel_mci.c                   |   2 +
 drivers/mmc/iproc_sdhci.c                     |   1 +
 drivers/mmc/jz_mmc.c                          |   2 +
 drivers/mmc/kona_sdhci.c                      |   1 +
 drivers/mmc/meson_gx_mmc.c                    |   1 +
 drivers/mmc/mmc-uclass.c                      |   1 +
 drivers/mmc/mmc.c                             |   4 +
 drivers/mmc/mmc_boot.c                        |   1 +
 drivers/mmc/mmc_legacy.c                      |   1 +
 drivers/mmc/mmc_spi.c                         |   2 +
 drivers/mmc/mmc_write.c                       |   1 +
 drivers/mmc/mvebu_mmc.c                       |   1 +
 drivers/mmc/mxsmmc.c                          |   3 +
 drivers/mmc/omap_hsmmc.c                      |   4 +
 drivers/mmc/pxa_mmc_gen.c                     |   1 +
 drivers/mmc/renesas-sdhi.c                    |   3 +
 drivers/mmc/rockchip_dw_mmc.c                 |   2 +
 drivers/mmc/rpmb.c                            |   1 +
 drivers/mmc/s5p_sdhci.c                       |   1 +
 drivers/mmc/sandbox_mmc.c                     |   1 +
 drivers/mmc/sdhci-cadence.c                   |   2 +
 drivers/mmc/sdhci.c                           |   4 +
 drivers/mmc/sh_mmcif.c                        |   3 +
 drivers/mmc/sh_sdhi.c                         |   4 +
 drivers/mmc/socfpga_dw_mmc.c                  |   1 +
 drivers/mmc/sti_sdhci.c                       |   1 +
 drivers/mmc/stm32_sdmmc2.c                    |   5 +
 drivers/mmc/sunxi_mmc.c                       |   2 +
 drivers/mmc/tegra_mmc.c                       |   3 +
 drivers/mmc/tmio-common.c                     |   1 +
 drivers/mmc/tmio-common.h                     |   1 +
 drivers/mmc/xenon_sdhci.c                     |   2 +
 drivers/mmc/zynq_sdhci.c                      |   2 +
 drivers/mtd/altera_qspi.c                     |   2 +
 drivers/mtd/cfi_flash.c                       |   4 +
 drivers/mtd/jedec_flash.c                     |   2 +
 drivers/mtd/mtd_uboot.c                       |   1 +
 drivers/mtd/mtdconcat.c                       |   2 +
 drivers/mtd/mtdcore.c                         |   3 +
 drivers/mtd/mtdpart.c                         |   2 +
 drivers/mtd/mw_eeprom.c                       |   1 +
 drivers/mtd/nand/bbt.c                        |   1 +
 drivers/mtd/nand/core.c                       |   1 +
 drivers/mtd/nand/raw/am335x_spl_bch.c         |   1 +
 drivers/mtd/nand/raw/arasan_nfc.c             |   1 +
 drivers/mtd/nand/raw/atmel_nand.c             |   4 +
 drivers/mtd/nand/raw/brcmnand/bcm63158_nand.c |   1 +
 drivers/mtd/nand/raw/brcmnand/bcm6368_nand.c  |   1 +
 drivers/mtd/nand/raw/brcmnand/bcm68360_nand.c |   1 +
 drivers/mtd/nand/raw/brcmnand/bcm6838_nand.c  |   1 +
 drivers/mtd/nand/raw/brcmnand/bcm6858_nand.c  |   1 +
 drivers/mtd/nand/raw/brcmnand/brcmnand.c      |   2 +
 drivers/mtd/nand/raw/davinci_nand.c           |   1 +
 drivers/mtd/nand/raw/denali.c                 |   6 +
 drivers/mtd/nand/raw/denali_dt.c              |   2 +
 drivers/mtd/nand/raw/denali_spl.c             |   2 +
 drivers/mtd/nand/raw/fsl_ifc_spl.c            |   1 +
 drivers/mtd/nand/raw/fsl_upm.c                |   2 +
 drivers/mtd/nand/raw/kmeter1_nand.c           |   1 +
 drivers/mtd/nand/raw/lpc32xx_nand_mlc.c       |   1 +
 drivers/mtd/nand/raw/lpc32xx_nand_slc.c       |   2 +
 drivers/mtd/nand/raw/mxc_nand.c               |   2 +
 drivers/mtd/nand/raw/mxs_nand.c               |   1 +
 drivers/mtd/nand/raw/mxs_nand_spl.c           |   4 +
 drivers/mtd/nand/raw/nand_base.c              |   4 +
 drivers/mtd/nand/raw/nand_bbt.c               |   2 +
 drivers/mtd/nand/raw/nand_bch.c               |   1 +
 drivers/mtd/nand/raw/nand_util.c              |   2 +
 drivers/mtd/nand/raw/omap_gpmc.c              |   1 +
 drivers/mtd/nand/raw/pxa3xx_nand.c            |   3 +
 drivers/mtd/nand/raw/stm32_fmc2_nand.c        |   3 +
 drivers/mtd/nand/raw/sunxi_nand.c             |   2 +
 drivers/mtd/nand/raw/sunxi_nand_spl.c         |   2 +
 drivers/mtd/nand/raw/tegra_nand.c             |   3 +
 drivers/mtd/nand/raw/zynq_nand.c              |   2 +
 drivers/mtd/nand/spi/core.c                   |   2 +
 drivers/mtd/nand/spi/macronix.c               |   1 +
 drivers/mtd/nand/spi/micron.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/pic32_flash.c                     |   2 +
 drivers/mtd/renesas_rpc_hf.c                  |   1 +
 drivers/mtd/spi/sandbox.c                     |   1 +
 drivers/mtd/spi/sf-uclass.c                   |   1 +
 drivers/mtd/spi/sf_dataflash.c                |   3 +
 drivers/mtd/spi/sf_internal.h                 |   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                |   1 +
 drivers/mtd/st_smi.c                          |   1 +
 drivers/mtd/stm32_flash.c                     |   1 +
 drivers/mtd/ubi/attach.c                      |   2 +
 drivers/mtd/ubi/build.c                       |   1 +
 drivers/mtd/ubi/eba.c                         |   1 +
 drivers/mtd/ubi/fastmap.c                     |   2 +
 drivers/mtd/ubi/io.c                          |   1 +
 drivers/mtd/ubi/misc.c                        |   1 +
 drivers/mtd/ubi/upd.c                         |   1 +
 drivers/mtd/ubi/vmt.c                         |   1 +
 drivers/mtd/ubi/vtbl.c                        |   2 +
 drivers/mtd/ubi/wl.c                          |   1 +
 drivers/mtd/ubispl/ubispl.c                   |   2 +
 drivers/net/ag7xxx.c                          |   5 +
 drivers/net/altera_tse.c                      |   1 +
 drivers/net/altera_tse.h                      |   1 +
 drivers/net/armada100_fec.c                   |   2 +
 drivers/net/at91_emac.c                       |   2 +
 drivers/net/ax88180.c                         |  12 +-
 drivers/net/ax88796.c                         |   1 +
 drivers/net/bcm-sf2-eth-gmac.c                |   4 +
 drivers/net/bcm-sf2-eth.c                     |   2 +
 drivers/net/bcm6348-eth.c                     |   1 +
 drivers/net/bcm6368-eth.c                     |   2 +
 drivers/net/bcmgenet.c                        |   4 +
 drivers/net/calxedaxgmac.c                    |   2 +
 drivers/net/cs8900.c                          |   2 +
 drivers/net/dc2114x.c                         |   1 +
 drivers/net/designware.c                      |   4 +
 drivers/net/designware.h                      |   3 +
 drivers/net/dm9000x.c                         |   1 +
 drivers/net/dnet.c                            |   2 +
 drivers/net/dwc_eth_qos.c                     |   4 +
 drivers/net/e1000.c                           |   9 +-
 drivers/net/e1000.h                           |   4 +-
 drivers/net/e1000_spi.c                       |  22 ++--
 drivers/net/eepro100.c                        |  19 +--
 drivers/net/ep93xx_eth.c                      |   3 +
 drivers/net/ethoc.c                           |   1 +
 drivers/net/fec_mxc.c                         |   3 +
 drivers/net/fm/dtsec.c                        |   1 +
 drivers/net/fm/eth.c                          |   3 +
 drivers/net/fm/fdt.c                          |   1 +
 drivers/net/fm/init.c                         |   2 +
 drivers/net/fm/memac.c                        |   1 +
 drivers/net/fm/tgec.c                         |   1 +
 drivers/net/fsl-mc/dpio/qbman_portal.c        |   2 +
 drivers/net/fsl-mc/dpio/qbman_private.h       |   1 +
 drivers/net/fsl-mc/dpio/qbman_sys.h           |   1 +
 drivers/net/fsl-mc/mc.c                       |   6 +-
 drivers/net/fsl-mc/mc_sys.c                   |   1 +
 drivers/net/fsl_enetc.c                       |   5 +
 drivers/net/fsl_enetc.h                       |   1 +
 drivers/net/fsl_mcdmafec.c                    |   1 +
 drivers/net/ftgmac100.c                       |   4 +
 drivers/net/ftgmac100.h                       |   1 +
 drivers/net/ftmac100.c                        |   1 +
 drivers/net/ftmac110.c                        |   2 +
 drivers/net/gmac_rockchip.c                   |   3 +
 drivers/net/higmacv300.c                      |   4 +
 drivers/net/ks8851_mll.c                      |   2 +
 drivers/net/lan91c96.c                        |  11 +-
 drivers/net/ldpaa_eth/ldpaa_eth.c             |   3 +
 drivers/net/lpc32xx_eth.c                     |   2 +
 drivers/net/macb.c                            |   2 +
 drivers/net/mcffec.c                          |   1 +
 drivers/net/mcfmii.c                          |   1 +
 drivers/net/mdio_mux_i2creg.c                 |   1 +
 drivers/net/mpc8xx_fec.c                      |   1 +
 drivers/net/mscc_eswitch/jr2_switch.c         |   2 +
 drivers/net/mscc_eswitch/luton_switch.c       |   1 +
 drivers/net/mscc_eswitch/mscc_mac_table.c     |   1 +
 drivers/net/mscc_eswitch/mscc_miim.c          |   1 +
 drivers/net/mscc_eswitch/mscc_xfer.c          |   3 +
 drivers/net/mscc_eswitch/ocelot_switch.c      |   2 +
 drivers/net/mscc_eswitch/serval_switch.c      |   2 +
 drivers/net/mscc_eswitch/servalt_switch.c     |   1 +
 drivers/net/mt7628-eth.c                      |   4 +
 drivers/net/mtk_eth.c                         |   4 +
 drivers/net/mtk_eth.h                         |   1 +
 drivers/net/mvgbe.c                           |   2 +
 drivers/net/mvmdio.c                          |   1 +
 drivers/net/mvneta.c                          |   5 +
 drivers/net/mvpp2.c                           |   5 +
 drivers/net/natsemi.c                         |   1 +
 drivers/net/ne2000.c                          |   1 +
 drivers/net/ne2000_base.c                     |   1 +
 drivers/net/ne2000_base.h                     |   1 +
 drivers/net/netconsole.c                      |   1 +
 drivers/net/ns8382x.c                         |   2 +
 drivers/net/pch_gbe.c                         |   2 +
 drivers/net/pcnet.c                           |   3 +
 drivers/net/pfe_eth/pfe_cmd.c                 |  18 +--
 drivers/net/pfe_eth/pfe_driver.c              |   2 +
 drivers/net/pfe_eth/pfe_eth.c                 |   2 +
 drivers/net/pfe_eth/pfe_firmware.c            |   3 +
 drivers/net/pfe_eth/pfe_hw.c                  |   2 +
 drivers/net/pfe_eth/pfe_mdio.c                |   2 +
 drivers/net/phy/aquantia.c                    |   4 +
 drivers/net/phy/b53.c                         |   9 +-
 drivers/net/phy/broadcom.c                    |   1 +
 drivers/net/phy/cortina.c                     |   2 +
 drivers/net/phy/dp83867.c                     |   2 +
 drivers/net/phy/marvell.c                     |   2 +
 drivers/net/phy/micrel_ksz8xxx.c              |   1 +
 drivers/net/phy/mscc.c                        |   2 +
 drivers/net/phy/mv88e61xx.c                   |   3 +
 drivers/net/phy/mv88e6352.c                   |   9 +-
 drivers/net/phy/ncsi.c                        |   1 +
 drivers/net/phy/phy.c                         |   3 +
 drivers/net/phy/realtek.c                     |   1 +
 drivers/net/phy/teranetics.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                            |   4 +
 drivers/net/rtl8139.c                         |   8 +-
 drivers/net/rtl8169.c                         |   3 +
 drivers/net/sandbox-raw.c                     |   1 +
 drivers/net/sandbox.c                         |   1 +
 drivers/net/sh_eth.c                          |   3 +
 drivers/net/smc91111.c                        |  23 ++--
 drivers/net/smc91111.h                        |   1 +
 drivers/net/smc911x.c                         |   1 +
 drivers/net/smc911x.h                         |   2 +
 drivers/net/sni_ave.c                         |   4 +
 drivers/net/sun8i_emac.c                      |   4 +
 drivers/net/sunxi_emac.c                      |   2 +
 drivers/net/ti/am65-cpsw-nuss.c               |   2 +
 drivers/net/ti/cpsw.c                         |   2 +
 drivers/net/ti/cpsw_mdio.c                    |   3 +
 drivers/net/ti/davinci_emac.c                 |   3 +
 drivers/net/ti/keystone_net.c                 |   2 +
 drivers/net/tsec.c                            |   2 +
 drivers/net/uli526x.c                         |   1 +
 drivers/net/vsc7385.c                         |   2 +
 drivers/net/vsc9953.c                         |   4 +
 drivers/net/xilinx_axi_emac.c                 |   2 +
 drivers/net/xilinx_emaclite.c                 |   2 +
 drivers/net/zynq_gem.c                        |   3 +
 drivers/nvme/nvme-uclass.c                    |   1 +
 drivers/nvme/nvme.c                           |   2 +
 drivers/pch/pch7.c                            |   1 +
 drivers/pch/pch9.c                            |   1 +
 drivers/pci/fsl_pci_init.c                    |   3 +
 drivers/pci/pci-aardvark.c                    |   2 +
 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                      |   3 +
 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_compat.c                      |   1 +
 drivers/pci/pci_ftpci100.c                    |   2 +
 drivers/pci/pci_gt64120.c                     |   2 +
 drivers/pci/pci_mpc85xx.c                     |   1 +
 drivers/pci/pci_msc01.c                       |   1 +
 drivers/pci/pci_mvebu.c                       |   2 +
 drivers/pci/pci_rom.c                         |   2 +
 drivers/pci/pci_sandbox.c                     |   1 +
 drivers/pci/pci_sh4.c                         |   1 +
 drivers/pci/pci_sh7751.c                      |   2 +
 drivers/pci/pci_sh7780.c                      |   1 +
 drivers/pci/pci_tegra.c                       |   2 +
 drivers/pci/pcie_dw_mvebu.c                   |   2 +
 drivers/pci/pcie_dw_ti.c                      |   3 +
 drivers/pci/pcie_fsl.c                        |   1 +
 drivers/pci/pcie_imx.c                        |   2 +
 drivers/pci/pcie_intel_fpga.c                 |   2 +
 drivers/pci/pcie_layerscape.c                 |   1 +
 drivers/pci/pcie_layerscape_fixup.c           |   2 +
 drivers/pci/pcie_layerscape_fixup_common.c    |   1 +
 drivers/pci/pcie_layerscape_gen4.c            |   1 +
 drivers/pci/pcie_layerscape_gen4.h            |   1 +
 drivers/pci/pcie_layerscape_gen4_fixup.c      |   1 +
 drivers/pci/pcie_mediatek.c                   |   2 +
 drivers/pci/pcie_xilinx.c                     |   1 +
 drivers/pci_endpoint/pcie-cadence.h           |   1 +
 drivers/phy/allwinner/phy-sun4i-usb.c         |   3 +
 drivers/phy/bcm6318-usbh-phy.c                |   3 +
 drivers/phy/bcm6348-usbh-phy.c                |   2 +
 drivers/phy/bcm6358-usbh-phy.c                |   2 +
 drivers/phy/bcm6368-usbh-phy.c                |   3 +
 drivers/phy/keystone-usb-phy.c                |   3 +
 drivers/phy/marvell/comphy_a3700.c            |   2 +
 drivers/phy/marvell/comphy_core.c             |   3 +-
 drivers/phy/marvell/comphy_cp110.c            |   2 +
 drivers/phy/marvell/comphy_mux.c              |   1 +
 drivers/phy/meson-g12a-usb2.c                 |   2 +
 drivers/phy/meson-g12a-usb3-pcie.c            |   1 +
 drivers/phy/meson-gxl-usb2.c                  |   1 +
 drivers/phy/msm8916-usbh-phy.c                |   1 +
 drivers/phy/mt76x8-usb-phy.c                  |   2 +
 drivers/phy/omap-usb2-phy.c                   |   1 +
 drivers/phy/phy-da8xx-usb.c                   |   1 +
 drivers/phy/phy-mtk-tphy.c                    |   2 +
 drivers/phy/phy-rcar-gen2.c                   |   1 +
 drivers/phy/phy-stm32-usbphyc.c               |   2 +
 drivers/phy/phy-ti-am654.c                    |   3 +
 drivers/phy/phy-uclass.c                      |   1 +
 drivers/phy/sti_usb_phy.c                     |   1 +
 drivers/phy/ti-pipe3-phy.c                    |   2 +
 drivers/pinctrl/aspeed/pinctrl_ast2500.c      |   1 +
 drivers/pinctrl/ath79/pinctrl_ar933x.c        |   1 +
 drivers/pinctrl/ath79/pinctrl_qca953x.c       |   1 +
 drivers/pinctrl/broadcom/pinctrl-bcm283x.c    |   1 +
 drivers/pinctrl/intel/pinctrl.c               |   1 +
 drivers/pinctrl/intel/pinctrl_apl.c           |   1 +
 drivers/pinctrl/mediatek/pinctrl-mtk-common.c |   1 +
 drivers/pinctrl/meson/pinctrl-meson-axg-pmx.c |   1 +
 drivers/pinctrl/meson/pinctrl-meson-gx-pmx.c  |   2 +
 drivers/pinctrl/meson/pinctrl-meson.c         |   3 +
 drivers/pinctrl/mscc/mscc-common.c            |   1 +
 drivers/pinctrl/mvebu/pinctrl-armada-37xx.c   |   2 +
 drivers/pinctrl/mvebu/pinctrl-mvebu.c         |   2 +
 drivers/pinctrl/nxp/pinctrl-imx.c             |   1 +
 drivers/pinctrl/nxp/pinctrl-mxs.c             |   1 +
 drivers/pinctrl/pinctrl-at91-pio4.c           |   1 +
 drivers/pinctrl/pinctrl-at91.c                |   2 +
 drivers/pinctrl/pinctrl-sandbox.c             |   1 +
 drivers/pinctrl/pinctrl-sti.c                 |   2 +
 drivers/pinctrl/pinctrl-stmfx.c               |   2 +
 drivers/pinctrl/pinctrl_pic32.c               |   2 +
 drivers/pinctrl/pinctrl_stm32.c               |   3 +
 drivers/pinctrl/renesas/pfc-r7s72100.c        |   1 +
 drivers/pinctrl/renesas/pfc-r8a77990.c        |   1 +
 drivers/pinctrl/renesas/pfc.c                 |   2 +
 drivers/pinctrl/renesas/sh_pfc.h              |   1 +
 drivers/pinctrl/rockchip/pinctrl-px30.c       |   2 +
 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     |   2 +
 drivers/pinctrl/rockchip/pinctrl-rk3288.c     |   2 +
 drivers/pinctrl/rockchip/pinctrl-rk3308.c     |   2 +
 drivers/pinctrl/rockchip/pinctrl-rk3328.c     |   2 +
 drivers/pinctrl/rockchip/pinctrl-rk3368.c     |   1 +
 drivers/pinctrl/rockchip/pinctrl-rk3399.c     |   2 +
 .../pinctrl/rockchip/pinctrl-rockchip-core.c  |   3 +
 drivers/pinctrl/rockchip/pinctrl-rockchip.h   |   1 +
 drivers/pinctrl/rockchip/pinctrl-rv1108.c     |   2 +
 .../pinctrl/uniphier/pinctrl-uniphier-core.c  |   2 +
 drivers/pinctrl/uniphier/pinctrl-uniphier.h   |   1 +
 drivers/power/acpi_pmc/pmc_emul.c             |   1 +
 drivers/power/acpi_pmc/sandbox.c              |   1 +
 drivers/power/axp152.c                        |   2 +-
 drivers/power/axp209.c                        |   3 +-
 drivers/power/axp221.c                        |   2 +-
 drivers/power/axp809.c                        |   3 +-
 drivers/power/axp818.c                        |   3 +-
 drivers/power/battery/bat_trats.c             |   2 +
 drivers/power/battery/bat_trats2.c            |   1 +
 drivers/power/domain/bcm6328-power-domain.c   |   1 +
 .../power/domain/imx8-power-domain-legacy.c   |   1 +
 drivers/power/domain/imx8-power-domain.c      |   1 +
 drivers/power/domain/meson-ee-pwrc.c          |   3 +
 drivers/power/domain/meson-gx-pwrc-vpu.c      |   3 +
 drivers/power/domain/mtk-power-domain.c       |   1 +
 drivers/power/domain/power-domain-uclass.c    |   1 +
 drivers/power/domain/sandbox-power-domain.c   |   1 +
 drivers/power/domain/tegra186-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        |   2 +
 drivers/power/mfd/fg_max77693.c               |   1 +
 drivers/power/mfd/muic_max77693.c             |   1 +
 drivers/power/mfd/pmic_max77693.c             |   1 +
 drivers/power/mt6323.c                        |   3 +-
 drivers/power/pmic/act8846.c                  |   1 +
 drivers/power/pmic/as3722.c                   |   1 +
 drivers/power/pmic/bd71837.c                  |   1 +
 drivers/power/pmic/da9063.c                   |   1 +
 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/muic_max8997.c             |   1 +
 drivers/power/pmic/palmas.c                   |   1 +
 drivers/power/pmic/pca9450.c                  |   1 +
 drivers/power/pmic/pfuze100.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_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/tps65090.c                 |   1 +
 drivers/power/pmic/tps65941.c                 |   1 +
 drivers/power/power_core.c                    |   5 +-
 drivers/power/power_dialog.c                  |   1 +
 drivers/power/power_i2c.c                     |   1 +
 drivers/power/regulator/as3722_regulator.c    |   1 +
 drivers/power/regulator/bd71837.c             |   2 +
 drivers/power/regulator/da9063.c              |   1 +
 drivers/power/regulator/fan53555.c            |   2 +
 drivers/power/regulator/fixed.c               |   1 +
 drivers/power/regulator/gpio-regulator.c      |   1 +
 drivers/power/regulator/lp87565_regulator.c   |   1 +
 drivers/power/regulator/pbias_regulator.c     |   2 +
 drivers/power/regulator/pfuze100.c            |   1 +
 drivers/power/regulator/pwm_regulator.c       |   1 +
 drivers/power/regulator/regulator-uclass.c    |   2 +
 drivers/power/regulator/regulator_common.c    |   2 +
 drivers/power/regulator/rk8xx.c               |   1 +
 drivers/power/regulator/s2mps11_regulator.c   |   1 +
 drivers/power/regulator/stm32-vrefbuf.c       |   1 +
 drivers/power/regulator/stpmic1.c             |   1 +
 drivers/power/regulator/tps65090_regulator.c  |   2 +
 drivers/power/regulator/tps65910_regulator.c  |   1 +
 drivers/power/regulator/tps65941_regulator.c  |   2 +
 drivers/power/tps6586x.c                      |   2 +
 drivers/power/twl4030.c                       |   4 +-
 drivers/power/twl6030.c                       |   1 +
 drivers/pwm/exynos_pwm.c                      |   1 +
 drivers/pwm/pwm-imx.c                         |   1 +
 drivers/pwm/rk_pwm.c                          |   2 +
 drivers/pwm/sunxi_pwm.c                       |   1 +
 drivers/pwm/tegra_pwm.c                       |   1 +
 drivers/qe/qe.c                               |   2 +-
 drivers/qe/uec.c                              |   2 +
 drivers/qe/uec_phy.c                          |   7 +-
 drivers/ram/imxrt_sdram.c                     |   4 +
 drivers/ram/k3-am654-ddrss.c                  |   1 +
 drivers/ram/k3-am654-ddrss.h                  |   1 +
 drivers/ram/k3-j721e/k3-j721e-ddrss.c         |   1 +
 drivers/ram/mediatek/ddr3-mt7629.c            |   2 +
 drivers/ram/mpc83xx_sdram.c                   |   2 +
 drivers/ram/rockchip/dmc-rk3368.c             |   3 +
 drivers/ram/rockchip/sdram_pctl_px30.c        |   1 +
 drivers/ram/rockchip/sdram_phy_px30.c         |   1 +
 drivers/ram/rockchip/sdram_px30.c             |   3 +
 drivers/ram/rockchip/sdram_rk3128.c           |   1 +
 drivers/ram/rockchip/sdram_rk3188.c           |   3 +
 drivers/ram/rockchip/sdram_rk322x.c           |   2 +
 drivers/ram/rockchip/sdram_rk3288.c           |   3 +
 drivers/ram/rockchip/sdram_rk3328.c           |   3 +
 drivers/ram/rockchip/sdram_rk3399.c           |   3 +
 drivers/ram/stm32_sdram.c                     |   4 +
 drivers/ram/stm32mp1/stm32mp1_ddr.c           |   3 +
 drivers/ram/stm32mp1/stm32mp1_ddr_regs.h      |   1 +
 drivers/ram/stm32mp1/stm32mp1_interactive.c   |  12 +-
 drivers/ram/stm32mp1/stm32mp1_ram.c           |   1 +
 drivers/ram/stm32mp1/stm32mp1_tests.c         |   2 +
 drivers/ram/stm32mp1/stm32mp1_tuning.c        |   3 +
 drivers/remoteproc/k3_system_controller.c     |   1 +
 drivers/remoteproc/rproc-elf-loader.c         |   2 +
 drivers/remoteproc/rproc-uclass.c             |   1 +
 drivers/remoteproc/sandbox_testproc.c         |   1 +
 drivers/remoteproc/stm32_copro.c              |   1 +
 drivers/remoteproc/ti_k3_dsp_rproc.c          |   1 +
 drivers/remoteproc/ti_k3_r5f_rproc.c          |   1 +
 drivers/remoteproc/ti_power_proc.c            |   1 +
 drivers/reset/ast2500-reset.c                 |   1 +
 drivers/reset/reset-bcm6345.c                 |   3 +
 drivers/reset/reset-hisilicon.c               |   2 +
 drivers/reset/reset-hsdk.c                    |   2 +
 drivers/reset/reset-imx7.c                    |   3 +
 drivers/reset/reset-mediatek.c                |   2 +
 drivers/reset/reset-meson.c                   |   2 +
 drivers/reset/reset-mtmips.c                  |   2 +
 drivers/reset/reset-rockchip.c                |   2 +
 drivers/reset/reset-socfpga.c                 |   1 +
 drivers/reset/reset-sunxi.c                   |   2 +
 drivers/reset/reset-ti-sci.c                  |   1 +
 drivers/reset/reset-uclass.c                  |   1 +
 drivers/reset/reset-uniphier.c                |   1 +
 drivers/reset/sandbox-reset-test.c            |   1 +
 drivers/reset/sandbox-reset.c                 |   1 +
 drivers/reset/sti-reset.c                     |   2 +
 drivers/reset/stm32-reset.c                   |   2 +
 drivers/reset/tegra-car-reset.c               |   1 +
 drivers/reset/tegra186-reset.c                |   1 +
 drivers/rng/sandbox_rng.c                     |   1 +
 drivers/rng/stm32mp1_rng.c                    |   3 +
 drivers/rtc/davinci.c                         |   2 +
 drivers/rtc/ds1302.c                          |   1 +
 drivers/rtc/ds1306.c                          |  27 ++--
 drivers/rtc/ds1307.c                          |   1 +
 drivers/rtc/ds1337.c                          |   1 +
 drivers/rtc/ds3231.c                          |   1 +
 drivers/rtc/ds3232.c                          |   1 +
 drivers/rtc/ftrtc010.c                        |   1 +
 drivers/rtc/i2c_rtc_emul.c                    |   1 +
 drivers/rtc/imxdi.c                           |   1 +
 drivers/rtc/m41t11.c                          |  13 +-
 drivers/rtc/m41t60.c                          |   1 +
 drivers/rtc/m41t62.c                          |   1 +
 drivers/rtc/max6900.c                         |   1 +
 drivers/rtc/mvrtc.c                           |   1 +
 drivers/rtc/pcf2127.c                         |   1 +
 drivers/rtc/pcf8563.c                         |   1 +
 drivers/rtc/pl031.c                           |   1 +
 drivers/rtc/pt7c4338.c                        |   1 +
 drivers/rtc/rtc-uclass.c                      |   1 +
 drivers/rtc/rv3029.c                          |   3 +
 drivers/rtc/rv8803.c                          |   2 +
 drivers/rtc/rx8010sj.c                        |   1 +
 drivers/rtc/s35392a.c                         |   1 +
 drivers/rtc/stm32_rtc.c                       |   1 +
 drivers/rtc/x1205.c                           |   1 +
 drivers/scsi/scsi.c                           |   4 +
 drivers/serial/altera_jtag_uart.c             |   1 +
 drivers/serial/altera_uart.c                  |   1 +
 drivers/serial/atmel_usart.c                  |   1 +
 drivers/serial/ns16550.c                      |   1 +
 drivers/serial/serial-uclass.c                |   1 +
 drivers/serial/serial.c                       |   1 +
 drivers/serial/serial_ar933x.c                |   1 +
 drivers/serial/serial_bcm283x_mu.c            |   1 +
 drivers/serial/serial_cortina.c               |   1 +
 drivers/serial/serial_efi.c                   |   1 +
 drivers/serial/serial_lpuart.c                |   2 +
 drivers/serial/serial_meson.c                 |   1 +
 drivers/serial/serial_mtk.c                   |   1 +
 drivers/serial/serial_omap.c                  |   1 +
 drivers/serial/serial_owl.c                   |   1 +
 drivers/serial/serial_pic32.c                 |   1 +
 drivers/serial/serial_sh.c                    |   1 +
 drivers/serial/serial_sifive.c                |   1 +
 drivers/serial/serial_sti_asc.c               |   2 +
 drivers/serial/serial_stm32.c                 |   3 +
 drivers/serial/serial_stm32.h                 |   1 +
 drivers/serial/serial_xuartlite.c             |   1 +
 drivers/serial/serial_zynq.c                  |   2 +
 drivers/smem/msm_smem.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/hda_codec.c                     |   3 +
 drivers/sound/ivybridge_sound.c               |   2 +
 drivers/sound/max98088.c                      |   1 +
 drivers/sound/max98088.h                      |   1 +
 drivers/sound/max98090.c                      |   2 +
 drivers/sound/max98095.c                      |   1 +
 drivers/sound/maxim_codec.c                   |   1 +
 drivers/sound/rockchip_i2s.c                  |   2 +
 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                  |   2 +
 drivers/sound/sound.c                         |   1 +
 drivers/sound/tegra_ahub.c                    |   1 +
 drivers/sound/tegra_i2s.c                     |   1 +
 drivers/sound/tegra_sound.c                   |   1 +
 drivers/sound/wm8994.c                        |   1 +
 drivers/spi/altera_spi.c                      |   2 +
 drivers/spi/atcspi200_spi.c                   |   1 +
 drivers/spi/atmel-quadspi.c                   |   1 +
 drivers/spi/atmel_spi.h                       |   1 +
 drivers/spi/bcm63xx_hsspi.c                   |   2 +
 drivers/spi/bcm63xx_spi.c                     |   1 +
 drivers/spi/cadence_qspi.c                    |   1 +
 drivers/spi/cadence_qspi_apb.c                |   3 +
 drivers/spi/cf_spi.c                          |   1 +
 drivers/spi/davinci_spi.c                     |   3 +
 drivers/spi/designware_spi.c                  |   2 +
 drivers/spi/exynos_spi.c                      |   2 +
 drivers/spi/fsl_dspi.c                        |   3 +
 drivers/spi/fsl_espi.c                        |   3 +
 drivers/spi/fsl_qspi.c                        |   4 +
 drivers/spi/ich.c                             |   4 +
 drivers/spi/ich.h                             |   1 +
 drivers/spi/kirkwood_spi.c                    |   1 +
 drivers/spi/lpc32xx_ssp.c                     |   1 +
 drivers/spi/meson_spifc.c                     |   2 +
 drivers/spi/mpc8xx_spi.c                      |   1 +
 drivers/spi/mpc8xxx_spi.c                     |   3 +
 drivers/spi/mscc_bb_spi.c                     |   2 +
 drivers/spi/mt7621_spi.c                      |   2 +
 drivers/spi/mvebu_a3700_spi.c                 |   2 +
 drivers/spi/mxc_spi.c                         |   3 +
 drivers/spi/mxs_spi.c                         |   3 +
 drivers/spi/nxp_fspi.c                        |   1 +
 drivers/spi/omap3_spi.c                       |   1 +
 drivers/spi/pic32_spi.c                       |   2 +
 drivers/spi/renesas_rpc_spi.c                 |   2 +
 drivers/spi/rk_spi.c                          |   2 +
 drivers/spi/sandbox_spi.c                     |   1 +
 drivers/spi/sh_qspi.c                         |   1 +
 drivers/spi/sh_spi.c                          |   1 +
 drivers/spi/soft_spi.c                        |   3 +
 drivers/spi/spi-mem-nodm.c                    |   1 +
 drivers/spi/spi-mem.c                         |   1 +
 drivers/spi/spi-sifive.c                      |   1 +
 drivers/spi/spi-sunxi.c                       |   2 +
 drivers/spi/spi-uclass.c                      |   1 +
 drivers/spi/stm32_qspi.c                      |   3 +
 drivers/spi/stm32_spi.c                       |   3 +
 drivers/spi/tegra114_spi.c                    |   3 +
 drivers/spi/tegra20_sflash.c                  |   3 +
 drivers/spi/tegra20_slink.c                   |   3 +
 drivers/spi/tegra210_qspi.c                   |   3 +
 drivers/spi/ti_qspi.c                         |   3 +
 drivers/spi/uniphier_spi.c                    |   3 +
 drivers/spi/xilinx_spi.c                      |   2 +
 drivers/spi/zynq_qspi.c                       |   2 +
 drivers/spi/zynq_spi.c                        |   3 +
 drivers/spi/zynqmp_gqspi.c                    |   3 +
 drivers/sysreset/sysreset-ti-sci.c            |   1 +
 drivers/sysreset/sysreset-uclass.c            |   7 +-
 drivers/sysreset/sysreset_ast.c               |   1 +
 drivers/sysreset/sysreset_gpio.c              |   1 +
 drivers/sysreset/sysreset_mpc83xx.c           |   3 +
 drivers/sysreset/sysreset_socfpga.c           |   1 +
 drivers/sysreset/sysreset_sti.c               |   1 +
 drivers/tee/tee-uclass.c                      |   1 +
 drivers/thermal/imx_scu_thermal.c             |   3 +
 drivers/thermal/imx_thermal.c                 |   2 +
 drivers/timer/altera_timer.c                  |   1 +
 drivers/timer/atmel_pit_timer.c               |   1 +
 drivers/timer/cadence-ttc.c                   |   3 +
 drivers/timer/mpc83xx_timer.c                 |   3 +
 drivers/timer/mtk_timer.c                     |   1 +
 drivers/timer/nomadik-mtu-timer.c             |   1 +
 drivers/timer/omap-timer.c                    |   1 +
 drivers/timer/ostm_timer.c                    |   1 +
 drivers/timer/rockchip_timer.c                |   3 +
 drivers/timer/stm32_timer.c                   |   1 +
 drivers/timer/timer-uclass.c                  |   1 +
 drivers/timer/tsc_timer.c                     |   3 +
 drivers/tpm/cr50_i2c.c                        |   2 +
 drivers/tpm/tpm-uclass.c                      |   2 +
 drivers/tpm/tpm2_ftpm_tee.c                   |   1 +
 drivers/tpm/tpm2_tis_sandbox.c                |   1 +
 drivers/tpm/tpm2_tis_spi.c                    |   2 +
 drivers/tpm/tpm_atmel_twi.c                   |   1 +
 drivers/tpm/tpm_tis_infineon.c                |   2 +
 drivers/tpm/tpm_tis_lpc.c                     |   2 +
 drivers/tpm/tpm_tis_st33zp24_i2c.c            |   2 +
 drivers/tpm/tpm_tis_st33zp24_spi.c            |   2 +
 drivers/ufs/cdns-platform.c                   |   1 +
 drivers/ufs/ti-j721e-ufs.c                    |   1 +
 drivers/ufs/ufs.c                             |   3 +
 drivers/usb/cdns3/cdns3-ti.c                  |   1 +
 drivers/usb/cdns3/core.c                      |   2 +
 drivers/usb/cdns3/drd.h                       |   1 +
 drivers/usb/cdns3/ep0.c                       |   3 +
 drivers/usb/cdns3/gadget.c                    |   2 +
 drivers/usb/cdns3/gadget.h                    |   1 +
 drivers/usb/common/fsl-dt-fixup.c             |   1 +
 drivers/usb/dwc3/core.c                       |   2 +
 drivers/usb/dwc3/core.h                       |   1 +
 drivers/usb/dwc3/dwc3-generic.c               |   2 +
 drivers/usb/dwc3/dwc3-meson-g12a.c            |   2 +
 drivers/usb/dwc3/ep0.c                        |   1 +
 drivers/usb/dwc3/gadget.c                     |   2 +
 drivers/usb/dwc3/samsung_usb_phy.c            |   1 +
 drivers/usb/dwc3/ti_usb_phy.c                 |   2 +
 drivers/usb/emul/sandbox_flash.c              |   1 +
 drivers/usb/emul/sandbox_hub.c                |   1 +
 drivers/usb/emul/sandbox_keyb.c               |   1 +
 drivers/usb/emul/usb-emul-uclass.c            |   1 +
 drivers/usb/eth/asix.c                        |   3 +
 drivers/usb/eth/asix88179.c                   |   2 +
 drivers/usb/eth/lan75xx.c                     |   2 +
 drivers/usb/eth/lan78xx.c                     |   3 +
 drivers/usb/eth/lan7x.c                       |   2 +
 drivers/usb/eth/lan7x.h                       |   8 ++
 drivers/usb/eth/mcs7830.c                     |   3 +
 drivers/usb/eth/r8152.c                       |   3 +
 drivers/usb/eth/r8152.h                       |   1 +
 drivers/usb/eth/r8152_fw.c                    |   2 +
 drivers/usb/eth/smsc95xx.c                    |   3 +
 drivers/usb/eth/usb_ether.c                   |   3 +
 drivers/usb/gadget/at91_udc.c                 |   1 +
 drivers/usb/gadget/atmel_usba_udc.c           |   1 +
 drivers/usb/gadget/bcm_udc_otg_phy.c          |   1 +
 drivers/usb/gadget/ci_udc.c                   |   2 +
 drivers/usb/gadget/composite.c                |   2 +
 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_phy.c         |   1 +
 drivers/usb/gadget/dwc2_udc_otg_regs.h        |   1 +
 drivers/usb/gadget/dwc2_udc_otg_xfer_dma.c    |   2 +
 drivers/usb/gadget/ether.c                    |   2 +
 drivers/usb/gadget/f_dfu.c                    |   1 +
 drivers/usb/gadget/f_fastboot.c               |   2 +
 drivers/usb/gadget/f_mass_storage.c           |   2 +
 drivers/usb/gadget/f_rockusb.c                |   3 +
 drivers/usb/gadget/f_sdp.c                    |   1 +
 drivers/usb/gadget/f_thor.c                   |   3 +
 drivers/usb/gadget/fotg210.c                  |   2 +
 drivers/usb/gadget/g_dnl.c                    |   1 +
 drivers/usb/gadget/pxa25x_udc.c               |   3 +
 drivers/usb/gadget/pxa27x_udc.c               |   1 +
 drivers/usb/gadget/rndis.c                    |   1 +
 drivers/usb/gadget/storage_common.c           |   1 +
 drivers/usb/host/dwc2.c                       |   3 +
 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                |   2 +
 drivers/usb/host/ehci-faraday.c               |   2 +
 drivers/usb/host/ehci-fsl.c                   |   2 +
 drivers/usb/host/ehci-generic.c               |   1 +
 drivers/usb/host/ehci-hcd.c                   |   3 +
 drivers/usb/host/ehci-marvell.c               |   2 +
 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                   |   1 +
 drivers/usb/host/ehci-omap.c                  |   2 +
 drivers/usb/host/ehci-pci.c                   |   2 +
 drivers/usb/host/ehci-rmobile.c               |   1 +
 drivers/usb/host/ehci-spear.c                 |   2 +
 drivers/usb/host/ehci-tegra.c                 |   2 +
 drivers/usb/host/ehci-vf.c                    |   2 +
 drivers/usb/host/ehci.h                       |   1 +
 drivers/usb/host/ohci-generic.c               |   1 +
 drivers/usb/host/ohci-hcd.c                   |   2 +
 drivers/usb/host/ohci-lpc32xx.c               |   2 +
 drivers/usb/host/r8a66597-hcd.c               |   2 +
 drivers/usb/host/r8a66597.h                   |   1 +
 drivers/usb/host/sl811-hcd.c                  |   1 +
 drivers/usb/host/usb-sandbox.c                |   1 +
 drivers/usb/host/usb-uclass.c                 |   1 +
 drivers/usb/host/utmi-armada100.c             |   1 +
 drivers/usb/host/xhci-dwc3.c                  |   2 +
 drivers/usb/host/xhci-exynos5.c               |   2 +
 drivers/usb/host/xhci-fsl.c                   |   1 +
 drivers/usb/host/xhci-mem.c                   |   2 +
 drivers/usb/host/xhci-mvebu.c                 |   1 +
 drivers/usb/host/xhci-omap.c                  |   1 +
 drivers/usb/host/xhci-pci.c                   |   2 +
 drivers/usb/host/xhci-rcar.c                  |   2 +
 drivers/usb/host/xhci-ring.c                  |   2 +
 drivers/usb/host/xhci-rockchip.c              |   1 +
 drivers/usb/host/xhci.c                       |   4 +
 drivers/usb/musb-new/am35x.c                  |   2 +
 drivers/usb/musb-new/da8xx.c                  |   2 +
 drivers/usb/musb-new/linux-compat.h           |   1 +
 drivers/usb/musb-new/mt85xx.c                 |   1 +
 drivers/usb/musb-new/musb_core.c              |   3 +
 drivers/usb/musb-new/musb_gadget.c            |   2 +
 drivers/usb/musb-new/musb_gadget_ep0.c        |   1 +
 drivers/usb/musb-new/musb_host.c              |   1 +
 drivers/usb/musb-new/musb_uboot.c             |   1 +
 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/am35x.c                      |   1 +
 drivers/usb/musb/musb_core.c                  |   1 +
 drivers/usb/musb/musb_hcd.c                   |   2 +
 drivers/usb/musb/musb_udc.c                   |   1 +
 drivers/usb/phy/omap_usb_phy.c                |   1 +
 drivers/usb/phy/rockchip_usb2_phy.c           |   3 +
 drivers/usb/phy/twl4030.c                     |   1 +
 drivers/usb/ulpi/omap-ulpi-viewport.c         |   2 +
 drivers/usb/ulpi/ulpi-viewport.c              |   1 +
 drivers/usb/ulpi/ulpi.c                       |   2 +
 drivers/video/am335x-fb.c                     |   2 +
 drivers/video/anx9804.c                       |   1 +
 drivers/video/anx98xx-edp.h                   |   1 +
 drivers/video/ati_radeon_fb.c                 |   1 +
 drivers/video/atmel_hlcdfb.c                  |   3 +
 drivers/video/atmel_lcdfb.c                   |   3 +
 drivers/video/backlight_gpio.c                |   1 +
 drivers/video/bcm2835.c                       |   2 +
 drivers/video/bridge/anx6345.c                |   2 +
 drivers/video/bridge/ps862x.c                 |   2 +
 drivers/video/bridge/ptn3460.c                |   1 +
 drivers/video/bridge/video-bridge-uclass.c    |   2 +
 drivers/video/broadwell_igd.c                 |   3 +
 drivers/video/bus_vcxk.c                      |   1 +
 drivers/video/cfb_console.c                   |   5 +-
 drivers/video/console_truetype.c              |   1 +
 drivers/video/da8xx-fb.c                      |   2 +
 drivers/video/dw_hdmi.c                       |   2 +
 drivers/video/dw_mipi_dsi.c                   |   2 +
 drivers/video/efi.c                           |   1 +
 drivers/video/exynos/exynos_dp.c              |   2 +
 drivers/video/exynos/exynos_dp_lowlevel.c     |   2 +
 drivers/video/exynos/exynos_fb.c              |   1 +
 drivers/video/exynos/exynos_mipi_dsi.c        |   1 +
 drivers/video/exynos/exynos_mipi_dsi_common.c |   2 +
 .../video/exynos/exynos_mipi_dsi_lowlevel.c   |   1 +
 drivers/video/formike.c                       |   2 +
 drivers/video/fsl_dcu_fb.c                    |   1 +
 drivers/video/hitachi_tx18d42vm_lcd.c         |   1 +
 drivers/video/ihs_video_out.c                 |   1 +
 drivers/video/imx/ipu_common.c                |   2 +
 drivers/video/imx/ipu_disp.c                  |   2 +
 drivers/video/imx/mxc_ipuv3_fb.c              |   3 +
 drivers/video/ivybridge_igd.c                 |   2 +
 drivers/video/ld9040.c                        |   1 +
 drivers/video/lg4573.c                        |   7 +-
 drivers/video/logicore_dp_tx.c                |   1 +
 drivers/video/mali_dp.c                       |   1 +
 drivers/video/mb862xx.c                       |   7 +-
 drivers/video/meson/meson_dw_hdmi.c           |   2 +
 drivers/video/meson/meson_dw_hdmi.h           |   1 +
 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               |   2 +
 drivers/video/meson/meson_vpu_init.c          |   1 +
 drivers/video/mvebu_lcd.c                     |   3 +
 drivers/video/mx3fb.c                         |   2 +
 drivers/video/mxsfb.c                         |   3 +
 drivers/video/orisetech_otm8009a.c            |   1 +
 drivers/video/pwm_backlight.c                 |   2 +
 drivers/video/pxa_lcd.c                       |   1 +
 drivers/video/raydium-rm68200.c               |   1 +
 drivers/video/rockchip/rk3288_hdmi.c          |   1 +
 drivers/video/rockchip/rk3288_mipi.c          |   1 +
 drivers/video/rockchip/rk3288_vop.c           |   1 +
 drivers/video/rockchip/rk3399_mipi.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_lvds.c              |   1 +
 drivers/video/rockchip/rk_mipi.c              |   1 +
 drivers/video/rockchip/rk_vop.c               |   2 +
 drivers/video/s6e8ax0.c                       |   1 +
 drivers/video/sandbox_sdl.c                   |   1 +
 drivers/video/scf0403_lcd.c                   |   1 +
 drivers/video/simple_panel.c                  |   1 +
 drivers/video/simplefb.c                      |   1 +
 drivers/video/ssd2828.c                       |   1 +
 drivers/video/stm32/stm32_dsi.c               |   2 +
 drivers/video/stm32/stm32_ltdc.c              |   2 +
 drivers/video/sunxi/lcdc.c                    |   2 +
 drivers/video/sunxi/sunxi_de2.c               |   3 +
 drivers/video/sunxi/sunxi_display.c           |   1 +
 drivers/video/sunxi/sunxi_dw_hdmi.c           |   3 +
 drivers/video/sunxi/sunxi_lcd.c               |   1 +
 drivers/video/tda19988.c                      |   2 +
 drivers/video/tegra.c                         |   3 +
 drivers/video/tegra124/display.c              |   4 +
 drivers/video/tegra124/dp.c                   |   2 +
 drivers/video/tegra124/sor.c                  |   2 +
 drivers/video/vidconsole-uclass.c             |   6 +-
 drivers/video/video-uclass.c                  |   2 +
 drivers/video/video_bmp.c                     |   1 +
 drivers/virtio/virtio-uclass.c                |   2 +
 drivers/virtio/virtio_blk.c                   |   1 +
 drivers/virtio/virtio_mmio.c                  |   2 +
 drivers/virtio/virtio_mmio.h                  |   1 +
 drivers/virtio/virtio_pci_legacy.c            |   2 +
 drivers/virtio/virtio_pci_modern.c            |   3 +
 drivers/virtio/virtio_ring.c                  |   2 +
 drivers/virtio/virtio_rng.c                   |   1 +
 drivers/virtio/virtio_sandbox.c               |   1 +
 drivers/w1-eeprom/w1-eeprom-uclass.c          |   1 +
 drivers/w1/mxc_w1.c                           |   2 +
 drivers/w1/w1-gpio.c                          |   2 +
 drivers/w1/w1-uclass.c                        |   1 +
 drivers/watchdog/ast_wdt.c                    |   1 +
 drivers/watchdog/at91sam9_wdt.c               |   1 +
 drivers/watchdog/bcm6345_wdt.c                |   1 +
 drivers/watchdog/cdns_wdt.c                   |   1 +
 drivers/watchdog/designware_wdt.c             |   1 +
 drivers/watchdog/ftwdt010_wdt.c               |   1 +
 drivers/watchdog/mt7621_wdt.c                 |   1 +
 drivers/watchdog/mtk_wdt.c                    |   1 +
 drivers/watchdog/omap_wdt.c                   |   1 +
 drivers/watchdog/orion_wdt.c                  |   2 +
 drivers/watchdog/sp805_wdt.c                  |   1 +
 drivers/watchdog/stm32mp_wdt.c                |   2 +
 drivers/watchdog/tangier_wdt.c                |   1 +
 drivers/watchdog/wdt-uclass.c                 |   1 +
 drivers/watchdog/xilinx_tb_wdt.c              |   1 +
 env/common.c                                  |   2 +
 env/env.c                                     |   3 +
 env/ext4.c                                    |   5 +-
 env/fat.c                                     |   9 +-
 env/flash.c                                   |   1 +
 env/mmc.c                                     |   2 +-
 env/sf.c                                      |   3 +
 examples/api/demo.c                           |   2 +-
 examples/api/libgenwrap.c                     |   4 +-
 examples/standalone/atmel_df_pow2.c           |   3 +-
 examples/standalone/hello_world.c             |   2 +-
 examples/standalone/smc91111_eeprom.c         |   9 +-
 examples/standalone/smc911x_eeprom.c          |   3 +-
 examples/standalone/stubs.c                   |   2 +
 fs/btrfs/btrfs.c                              |   4 +-
 fs/btrfs/btrfs.h                              |   2 +-
 fs/btrfs/chunk-map.c                          |   1 +
 fs/btrfs/compression.c                        |   1 +
 fs/btrfs/ctree.c                              |   1 +
 fs/btrfs/dev.c                                |   3 +-
 fs/btrfs/super.c                              |   5 +-
 fs/cramfs/cramfs.c                            |   1 +
 fs/ext4/dev.c                                 |   5 +-
 fs/ext4/ext4_common.c                         |   3 +
 fs/ext4/ext4_common.h                         |   1 +
 fs/ext4/ext4_journal.c                        |   2 +
 fs/ext4/ext4_write.c                          |   3 +
 fs/ext4/ext4fs.c                              |   5 +-
 fs/fat/fat.c                                  |   8 +-
 fs/fat/fat_write.c                            |   2 +
 fs/fs.c                                       |  37 +++---
 fs/fs_internal.c                              |   4 +-
 fs/jffs2/jffs2_1pass.c                        |   1 +
 fs/reiserfs/dev.c                             |   4 +-
 fs/sandbox/sandboxfs.c                        |   3 +-
 fs/ubifs/budget.c                             |   1 +
 fs/ubifs/debug.c                              |   1 +
 fs/ubifs/gc.c                                 |   1 +
 fs/ubifs/io.c                                 |   2 +
 fs/ubifs/log.c                                |   1 +
 fs/ubifs/lprops.c                             |   1 +
 fs/ubifs/lpt.c                                |   1 +
 fs/ubifs/lpt_commit.c                         |   2 +
 fs/ubifs/master.c                             |   1 +
 fs/ubifs/orphan.c                             |   1 +
 fs/ubifs/recovery.c                           |   1 +
 fs/ubifs/replay.c                             |   1 +
 fs/ubifs/sb.c                                 |   1 +
 fs/ubifs/scan.c                               |   1 +
 fs/ubifs/super.c                              |   3 +
 fs/ubifs/tnc.c                                |   3 +
 fs/ubifs/tnc_misc.c                           |   1 +
 fs/ubifs/ubifs.c                              |   4 +-
 fs/yaffs2/yaffs_mtdif2.c                      |   1 +
 fs/yaffs2/yportenv.h                          |   1 +
 fs/zfs/dev.c                                  |   4 +-
 fs/zfs/zfs.c                                  |   1 +
 include/_exports.h                            |   2 +-
 include/android_ab.h                          |   5 +-
 include/asm-generic/u-boot.h                  |   3 +
 include/avb_verify.h                          |   2 +-
 include/bedbug/type.h                         |   5 +-
 include/bitfield.h                            |   1 +
 include/blk.h                                 |   2 +-
 include/bootm.h                               |  16 +--
 include/bootstage.h                           |  10 +-
 include/btrfs.h                               |   6 +-
 include/command.h                             | 117 ++++++++++--------
 include/common.h                              |  14 ---
 include/config_fsl_chain_trust.h              |   2 +
 include/configs/B4860QDS.h                    |   2 +
 include/configs/C29XPCIE.h                    |   2 +
 include/configs/M52277EVB.h                   |   2 +
 include/configs/M5253DEMO.h                   |   2 +
 include/configs/M5373EVB.h                    |   2 +
 include/configs/M54418TWR.h                   |   2 +
 include/configs/M54451EVB.h                   |   2 +
 include/configs/M54455EVB.h                   |   2 +
 include/configs/MPC8308RDB.h                  |   2 +
 include/configs/MPC8313ERDB_NAND.h            |   2 +
 include/configs/MPC8313ERDB_NOR.h             |   1 +
 include/configs/MPC8323ERDB.h                 |   2 +
 include/configs/MPC8349ITX.h                  |   1 +
 include/configs/MPC837XERDB.h                 |   2 +
 include/configs/MPC8536DS.h                   |   2 +
 include/configs/MPC8544DS.h                   |   1 +
 include/configs/MPC8548CDS.h                  |   1 +
 include/configs/MPC8560ADS.h                  |   2 +
 include/configs/MPC8572DS.h                   |   2 +
 include/configs/MPC8610HPCD.h                 |   2 +
 include/configs/MPC8641HPCN.h                 |   2 +
 include/configs/P1010RDB.h                    |   2 +
 include/configs/P1022DS.h                     |   2 +
 include/configs/P1023RDB.h                    |   2 +
 include/configs/P2041RDB.h                    |   1 +
 include/configs/T102xQDS.h                    |   2 +
 include/configs/T102xRDB.h                    |   2 +
 include/configs/T1040QDS.h                    |   2 +
 include/configs/T104xRDB.h                    |   2 +
 include/configs/T208xQDS.h                    |   2 +
 include/configs/T208xRDB.h                    |   2 +
 include/configs/T4240QDS.h                    |   2 +
 include/configs/T4240RDB.h                    |   2 +
 include/configs/UCP1020.h                     |   2 +
 include/configs/apalis_imx6.h                 |   2 +
 include/configs/apf27.h                       |   2 +
 include/configs/at91sam9263ek.h               |   3 +
 include/configs/bcmstb.h                      |   1 +
 include/configs/brppt1.h                      |   1 +
 include/configs/brsmarc1.h                    |   1 +
 include/configs/brxre1.h                      |   1 +
 include/configs/cgtqmx6eval.h                 |   2 +
 include/configs/clearfog.h                    |   2 +
 include/configs/colibri-imx8x.h               |   1 +
 include/configs/colibri_imx6.h                |   2 +
 include/configs/controlcenterd.h              |   2 +
 include/configs/corenet_ds.h                  |   2 +
 include/configs/cyrus.h                       |   2 +
 include/configs/dart_6ul.h                    |   1 +
 include/configs/el6x_common.h                 |   2 +
 include/configs/exynos-common.h               |   1 +
 .../configs/gardena-smart-gateway-at91sam.h   |   4 +
 include/configs/helios4.h                     |   1 +
 include/configs/hrcon.h                       |   2 +
 include/configs/ids8313.h                     |   2 +
 include/configs/imx6-engicam.h                |   1 +
 include/configs/imx8mm_evk.h                  |   1 +
 include/configs/imx8mn_evk.h                  |   1 +
 include/configs/imx8mp_evk.h                  |   1 +
 include/configs/imx8mq_evk.h                  |   1 +
 include/configs/imx8qm_mek.h                  |   1 +
 include/configs/imx8qm_rom7720.h              |   2 +
 include/configs/imx8qxp_mek.h                 |   1 +
 include/configs/km/keymile-common.h           |   2 +
 include/configs/km/km-mpc83xx.h               |   1 +
 include/configs/km/km_arm.h                   |   2 +
 include/configs/liteboard.h                   |   1 +
 include/configs/mpc8308_p1m.h                 |   2 +
 include/configs/mv-common.h                   |   2 +
 include/configs/mx6_common.h                  |   2 +
 include/configs/mx6cuboxi.h                   |   2 +
 include/configs/mx6sabre_common.h             |   2 +
 include/configs/mx6sllevk.h                   |   1 +
 include/configs/mx6sxsabresd.h                |   2 +
 include/configs/mx6ul_14x14_evk.h             |   1 +
 include/configs/mx6ullevk.h                   |   1 +
 include/configs/mx7_common.h                  |   1 +
 include/configs/nitrogen6x.h                  |   1 +
 include/configs/p1_p2_rdb_pc.h                |   2 +
 include/configs/p1_twr.h                      |   2 +
 include/configs/pcl063_ull.h                  |   1 +
 include/configs/pcm052.h                      |   1 +
 include/configs/pico-imx6ul.h                 |   1 +
 include/configs/pico-imx7d.h                  |   1 +
 include/configs/s32v234evb.h                  |   1 +
 include/configs/sbc8548.h                     |   2 +
 include/configs/socfpga_arria5_secu1.h        |   1 +
 include/configs/socfpga_common.h              |   2 +
 include/configs/socfpga_soc64_common.h        |   1 +
 include/configs/strider.h                     |   2 +
 include/configs/tqma6.h                       |   2 +
 include/configs/udoo.h                        |   1 +
 include/configs/ve8313.h                      |   2 +
 include/configs/vf610twr.h                    |   1 +
 include/configs/wandboard.h                   |   1 +
 include/configs/wb45n.h                       |   1 +
 include/configs/xpedite517x.h                 |   1 +
 include/configs/xpedite537x.h                 |   1 +
 include/configs/xpedite550x.h                 |   1 +
 include/cpu_func.h                            |   2 +-
 include/dma.h                                 |   1 +
 include/dwc3-sti-glue.h                       |   1 +
 include/dwmmc.h                               |   2 +
 include/efi_loader.h                          |   4 +-
 include/elf.h                                 |   4 +-
 include/env_default.h                         |   1 +
 include/environment/ti/boot.h                 |   2 +
 include/exception.h                           |  12 +-
 include/exports.h                             |   2 +
 include/ext4fs.h                              |   6 +-
 include/ext_common.h                          |  18 +--
 include/faraday/ftpci100.h                    |   1 +
 include/faraday/ftsdc010.h                    |   1 +
 include/faraday/ftsdmc021.h                   |   1 +
 include/fat.h                                 |   4 +-
 include/fb_mmc.h                              |   8 +-
 include/flash.h                               |  24 ++--
 include/fs.h                                  |  41 +++---
 include/fs_internal.h                         |   2 +-
 include/fsl-mc/fsl_mc.h                       |   1 +
 include/fsl_ddr.h                             |   4 +-
 include/fsl_ifc.h                             |   1 +
 include/fsl_validate.h                        |  14 +--
 include/gzip.h                                |   2 +
 include/hash.h                                |   6 +-
 include/i2c.h                                 |   2 +
 include/image.h                               |  14 +--
 include/initcall.h                            |   5 +
 include/kgdb.h                                |   2 +-
 include/linux/bitops.h                        |   4 +
 include/linux/compat.h                        |   1 +
 include/linux/mtd/rawnand.h                   |   1 +
 include/linux/soc/ti/cppi5.h                  |   1 +
 include/linux/soc/ti/k3-navss-ringacc.h       |   1 +
 include/linux/soc/ti/ti_sci_protocol.h        |   1 +
 include/log.h                                 |   7 +-
 include/mipi_dsi.h                            |   1 +
 include/mmc.h                                 |   1 +
 include/net.h                                 |  15 ++-
 include/net/pfe_eth/pfe/cbus/class_csr.h      |   1 +
 include/net/pfe_eth/pfe/cbus/emac.h           |   1 +
 include/net/pfe_eth/pfe/cbus/hif.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_eth.h                 |   1 +
 include/netdev.h                              |   1 +
 include/part.h                                |  40 +++---
 include/pch.h                                 |   1 +
 include/power/stpmic1.h                       |   1 +
 include/regmap.h                              |   2 +
 include/reiserfs.h                            |   5 +-
 include/sandboxfs.h                           |   5 +-
 include/scsi.h                                |   1 +
 include/sdhci.h                               |   1 +
 include/search.h                              |   2 +-
 include/spi.h                                 |   1 +
 include/spl.h                                 |   4 +
 include/tee.h                                 |   1 +
 include/tee/optee.h                           |   7 +-
 include/test/suites.h                         |  25 ++--
 include/test/ut.h                             |   1 +
 include/tpm-common.h                          |  16 +--
 include/tpm-v1.h                              |   1 +
 include/ubifs_uboot.h                         |   5 +-
 include/virtio.h                              |   2 +
 include/vsc9953.h                             |   1 +
 include/vxworks.h                             |   4 +-
 include/wait_bit.h                            |   4 +-
 include/wdt.h                                 |   1 +
 include/xyzModem.h                            |   2 +
 include/zfs_common.h                          |   2 +-
 include/zynqmppl.h                            |   1 +
 lib/aes.c                                     |   1 +
 lib/asm-offsets.c                             |   1 +
 lib/asn1_decoder.c                            |   1 +
 lib/bch.c                                     |   1 +
 lib/binman.c                                  |   1 +
 lib/bzip2/bzlib_blocksort.c                   |   1 +
 lib/circbuf.c                                 |   1 +
 lib/crypto/asymmetric_type.c                  |   2 +
 lib/crypto/pkcs7_parser.c                     |   1 +
 lib/crypto/public_key.c                       |   1 +
 lib/crypto/x509_cert_parser.c                 |   1 +
 lib/dhry/cmd_dhry.c                           |   3 +-
 lib/div64.c                                   |   1 +
 lib/efi/efi_app.c                             |   1 +
 lib/efi_driver/efi_block_device.c             |   2 +
 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                 |   1 +
 lib/efi_loader/efi_device_path.c              |   6 +-
 lib/efi_loader/efi_device_path_to_text.c      |   1 +
 lib/efi_loader/efi_disk.c                     |   2 +-
 lib/efi_loader/efi_file.c                     |   4 +-
 lib/efi_loader/efi_gop.c                      |   1 +
 lib/efi_loader/efi_memory.c                   |   1 +
 lib/efi_loader/efi_net.c                      |   1 +
 lib/efi_loader/efi_rng.c                      |   1 +
 lib/efi_loader/efi_runtime.c                  |   1 +
 lib/efi_loader/efi_smbios.c                   |   1 +
 lib/efi_loader/efi_variable.c                 |   3 +
 lib/efi_selftest/efi_selftest_block_device.c  |   1 +
 lib/efi_selftest/efi_selftest_console.c       |   1 +
 lib/efi_selftest/efi_selftest_snp.c           |   1 +
 lib/fdtdec.c                                  |   2 +
 lib/fdtdec_common.c                           |   1 +
 lib/fdtdec_test.c                             |   5 +-
 lib/gunzip.c                                  |   1 +
 lib/hashtable.c                               |   3 +-
 lib/image-sparse.c                            |   3 +
 lib/libavb/avb_cmdline.c                      |   1 +
 lib/libavb/avb_descriptor.c                   |   1 +
 lib/libavb/avb_slot_verify.c                  |   1 +
 lib/libavb/avb_util.c                         |   1 +
 lib/libfdt/fdt_region.c                       |   1 +
 lib/libfdt/fdt_ro.c                           |   1 +
 lib/linux_compat.c                            |   1 +
 lib/list_sort.c                               |   1 +
 lib/lmb.c                                     |   2 +
 lib/lzma/LzmaTools.c                          |   1 +
 lib/membuff.c                                 |   1 +
 lib/net_utils.c                               |   1 +
 lib/of_live.c                                 |   1 +
 lib/optee/optee.c                             |   1 +
 lib/panic.c                                   |   1 +
 lib/physmem.c                                 |   1 +
 lib/qsort.c                                   |   1 +
 lib/rsa/rsa-mod-exp.c                         |   1 +
 lib/rsa/rsa-verify.c                          |   1 +
 lib/slre.c                                    |   1 +
 lib/time.c                                    |   5 +-
 lib/tpm-common.c                              |   1 +
 lib/tpm-v1.c                                  |   1 +
 lib/tpm-v2.c                                  |   1 +
 lib/uuid.c                                    |   5 +-
 lib/vsprintf.c                                |   1 +
 net/arp.c                                     |   4 +
 net/bootp.c                                   |   5 +
 net/dns.c                                     |   1 +
 net/eth-uclass.c                              |   2 +
 net/eth_common.c                              |   1 +
 net/eth_legacy.c                              |   3 +
 net/fastboot.c                                |   1 +
 net/link_local.c                              |   1 +
 net/mdio-mux-uclass.c                         |   1 +
 net/mdio-uclass.c                             |   1 +
 net/net.c                                     |   2 +
 net/nfs.c                                     |   1 +
 net/ping.c                                    |   2 +
 net/rarp.c                                    |   1 +
 net/sntp.c                                    |   1 +
 net/tftp.c                                    |   2 +
 post/cpu/mpc83xx/ecc.c                        |   1 +
 post/drivers/i2c.c                            |   1 +
 post/drivers/memory.c                         |   1 +
 post/lib_powerpc/multi.c                      |   1 +
 post/post.c                                   |   2 +
 test/bloblist.c                               |   3 +-
 test/cmd_ut.c                                 |  14 ++-
 test/command_ut.c                             |   5 +-
 test/compression.c                            |   5 +-
 test/dm/axi.c                                 |   1 +
 test/dm/blk.c                                 |   1 +
 test/dm/board.c                               |   1 +
 test/dm/bootcount.c                           |   1 +
 test/dm/bus.c                                 |   1 +
 test/dm/clk.c                                 |   1 +
 test/dm/core.c                                |   1 +
 test/dm/cpu.c                                 |   1 +
 test/dm/devres.c                              |   1 +
 test/dm/eth.c                                 |   1 +
 test/dm/gpio.c                                |   1 +
 test/dm/mdio.c                                |   1 +
 test/dm/mmc.c                                 |   1 +
 test/dm/ofnode.c                              |   1 +
 test/dm/phy.c                                 |   1 +
 test/dm/regmap.c                              |   1 +
 test/dm/regulator.c                           |   1 +
 test/dm/reset.c                               |   1 +
 test/dm/rng.c                                 |   1 +
 test/dm/rtc.c                                 |   1 +
 test/dm/serial.c                              |   1 +
 test/dm/syscon.c                              |   1 +
 test/dm/tee.c                                 |   1 +
 test/dm/test-driver.c                         |   1 +
 test/dm/test-fdt.c                            |   1 +
 test/dm/test-main.c                           |   3 +-
 test/dm/test-uclass.c                         |   1 +
 test/dm/usb.c                                 |   1 +
 test/dm/video.c                               |   1 +
 test/env/cmd_ut_env.c                         |   2 +-
 test/env/hashtable.c                          |   1 +
 test/lib/cmd_ut_lib.c                         |   2 +-
 test/lib/lmb.c                                |   1 +
 test/lib/string.c                             |   1 +
 test/lib/test_aes.c                           |   1 +
 test/log/log_test.c                           |   4 +-
 test/optee/cmd_ut_optee.c                     |   3 +-
 test/overlay/cmd_ut_overlay.c                 |   4 +-
 test/print_ut.c                               |   4 +-
 test/time_ut.c                                |   3 +-
 test/unicode_ut.c                             |   3 +-
 tools/imx8image.c                             |   1 +
 tools/proftool.c                              |   2 +-
 3337 files changed, 7454 insertions(+), 1943 deletions(-)
Signature · 1 line
2.26.0.292.g33ef6b2f38-goog
#1 lore raw

PATCH 1/18 common: Drop uuid.h from common header

Move this uncommon header out of the common header.

---

 cmd/gpt.c                     | 1 +
 cmd/nvedit_efi.c              | 1 +
 cmd/x86/hob.c                 | 1 +
 disk/part_efi.c               | 1 +
 fs/btrfs/btrfs.c              | 1 +
 fs/ext4/ext4fs.c              | 1 +
 include/common.h              | 1 -
 lib/efi_loader/efi_variable.c | 1 +
 lib/uuid.c                    | 1 +
 lib/vsprintf.c                | 1 +
 net/bootp.c                   | 1 +
 11 files changed, 10 insertions(+), 1 deletion(-)
cmd/gpt.c +1 -0
index efaf1bcecb2..e05ef4355bc 100644
@@ -16,6 +16,7 @@
 #include <command.h>
 #include <part_efi.h>
 #include <exports.h>
+#include <uuid.h>
 #include <linux/ctype.h>
 #include <div64.h>
 #include <memalign.h>
cmd/nvedit_efi.c +1 -0
index 8ea0da01283..3fdeec945c6 100644
@@ -14,6 +14,7 @@
 #include <hexdump.h>
 #include <malloc.h>
 #include <mapmem.h>
+#include <uuid.h>
 #include <linux/kernel.h>
 
 /*
cmd/x86/hob.c +1 -0
index 3967a7ca5a7..29d9e3d5a27 100644
@@ -6,6 +6,7 @@
 #include <common.h>
 #include <command.h>
 #include <efi.h>
+#include <uuid.h>
 #include <asm/hob.h>
 
 DECLARE_GLOBAL_DATA_PTR;
disk/part_efi.c +1 -0
index b2e157d9c1e..2709aebd60e 100644
@@ -9,6 +9,7 @@
  *   when CONFIG_SYS_64BIT_LBA is not defined, lbaint_t is 32 bits; this
  *   limits the maximum size of addressable storage to < 2 Terra Bytes
  */
+#include <uuid.h>
 #include <asm/unaligned.h>
 #include <common.h>
 #include <command.h>
fs/btrfs/btrfs.c +1 -0
index cb7e1827422..2e3985e3855 100644
@@ -8,6 +8,7 @@
 #include "btrfs.h"
 #include <config.h>
 #include <malloc.h>
+#include <uuid.h>
 #include <linux/time.h>
 
 struct btrfs_info btrfs_info;
fs/ext4/ext4fs.c +1 -0
index 966b427a974..96ca276839e 100644
@@ -26,6 +26,7 @@
 #include "ext4_common.h"
 #include <div64.h>
 #include <malloc.h>
+#include <uuid.h>
 
 int ext4fs_symlinknest;
 struct ext_filesystem ext_fs;
include/common.h +0 -1
index 0ef8505fc79..a8242cafc51 100644
@@ -36,7 +36,6 @@
 #include <asm/global_data.h>	/* global data used for startup functions */
 #include <init.h>
 #include <display_options.h>
-#include <uuid.h>
 #include <vsprintf.h>
 #include <net.h>
 #include <bootstage.h>
lib/efi_loader/efi_variable.c +1 -0
index fe2f2645913..81a678c2036 100644
@@ -11,6 +11,7 @@
 #include <hexdump.h>
 #include <malloc.h>
 #include <search.h>
+#include <uuid.h>
 #include <u-boot/crc.h>
 
 #define READ_ONLY BIT(31)
lib/uuid.c +1 -0
index 3d3c7abcaea..db26911414a 100644
@@ -6,6 +6,7 @@
 #include <common.h>
 #include <env.h>
 #include <time.h>
+#include <uuid.h>
 #include <linux/ctype.h>
 #include <errno.h>
 #include <common.h>
lib/vsprintf.c +1 -0
index b4edee29b0d..de9ef902b96 100644
@@ -19,6 +19,7 @@
 #include <div64.h>
 #include <hexdump.h>
 #include <stdarg.h>
+#include <uuid.h>
 #include <vsprintf.h>
 #include <linux/ctype.h>
 #include <linux/err.h>
net/bootp.c +1 -0
index 505489140e8..c73a82e642c 100644
@@ -13,6 +13,7 @@
 #include <env.h>
 #include <efi_loader.h>
 #include <net.h>
+#include <uuid.h>
 #include <net/tftp.h>
 #include "bootp.h"
 #ifdef CONFIG_LED_STATUS
Signature · 1 line
2.26.0.292.g33ef6b2f38-goog
#2 lore raw

PATCH 2/18 common: Drop flash.h from common header

In reply to Simon Glass

Move this uncommon header out of the common header.

Fix up some style problems in flash.h while we are here.

---

 arch/arm/mach-at91/arm926ejs/eflash.c      |  9 +++----
 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/atmel/at91sam9263ek/at91sam9263ek.c  |  1 +
 board/buffalo/lsxl/lsxl.c                  |  1 +
 board/cobra5272/flash.c                    | 18 +++++++-------
 board/freescale/common/fsl_validate.c      |  1 +
 board/freescale/m5253demo/flash.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    |  1 +
 board/gardena/smart-gateway-mt7688/board.c |  1 +
 board/gdsys/mpc8308/hrcon.c                |  1 +
 board/gdsys/mpc8308/strider.c              |  1 +
 board/renesas/sh7752evb/sh7752evb.c        |  1 +
 board/renesas/sh7753evb/sh7753evb.c        |  1 +
 board/renesas/sh7757lcr/sh7757lcr.c        |  1 +
 board/siemens/taurus/taurus.c              |  1 +
 board/socrates/socrates.c                  | 28 ++++++++++++----------
 board/spear/x600/x600.c                    |  1 +
 cmd/armflash.c                             |  1 +
 cmd/cros_ec.c                              |  1 +
 cmd/flash.c                                | 23 ++++++++++--------
 cmd/jffs2.c                                |  1 +
 cmd/mvebu/bubt.c                           |  1 +
 cmd/sf.c                                   |  1 +
 common/board_r.c                           |  1 +
 common/flash.c                             | 11 +++++----
 drivers/dfu/dfu_sf.c                       |  1 +
 drivers/fastboot/fb_command.c              |  1 +
 drivers/fastboot/fb_mmc.c                  |  1 +
 drivers/fastboot/fb_nand.c                 |  1 +
 drivers/misc/cros_ec.c                     |  1 +
 drivers/mtd/cfi_flash.c                    |  1 +
 drivers/mtd/jedec_flash.c                  |  1 +
 drivers/mtd/spi/sf_dataflash.c             |  1 +
 drivers/mtd/spi/sf_mtd.c                   |  1 +
 drivers/mtd/stm32_flash.c                  |  1 +
 env/sf.c                                   |  2 ++
 fs/cramfs/cramfs.c                         |  1 +
 fs/jffs2/jffs2_1pass.c                     |  1 +
 include/common.h                           |  1 -
 include/flash.h                            | 24 +++++++++----------
 46 files changed, 101 insertions(+), 53 deletions(-)
arch/arm/mach-at91/arm926ejs/eflash.c +5 -4
index 7b61fa72260..c875bfd89b7 100644
@@ -43,6 +43,7 @@
  * do a read-modify-write for partially programmed pages
  */
 #include <common.h>
+#include <flash.h>
 #include <asm/io.h>
 #include <asm/arch/hardware.h>
 #include <asm/arch/at91_common.h>
@@ -58,7 +59,7 @@
 flash_info_t flash_info[CONFIG_SYS_MAX_FLASH_BANKS];
 static u32 pagesize;
 
-unsigned long flash_init (void)
+unsigned long flash_init(void)
 {
 	at91_eefc_t *eefc = (at91_eefc_t *) ATMEL_BASE_EEFC;
 	at91_dbu_t *dbu = (at91_dbu_t *) ATMEL_BASE_DBGU;
@@ -127,7 +128,7 @@ unsigned long flash_init (void)
 	return size;
 }
 
-void flash_print_info (flash_info_t *info)
+void flash_print_info(flash_info_t *info)
 {
 	int i;
 
@@ -202,7 +203,7 @@ static u32 erase_write_page (u32 pagenum)
 		& (AT91_EEFC_FSR_FCMDE | AT91_EEFC_FSR_FLOCKE);
 }
 
-int flash_erase (flash_info_t *info, int s_first, int s_last)
+int flash_erase(flash_info_t *info, int s_first, int s_last)
 {
 	debug("erase first=%d last=%d\n", s_first, s_last);
 	puts("this flash does not need and support erasing!\n");
@@ -215,7 +216,7 @@ int flash_erase (flash_info_t *info, int s_first, int s_last)
  * 1 - write timeout
  */
 
-int write_buff (flash_info_t *info, uchar *src, ulong addr, ulong cnt)
+int write_buff(flash_info_t *info, uchar *src, ulong addr, ulong cnt)
 {
 	u32 pagenum;
 	u32 *src32, *dst32;
board/AndesTech/adp-ae3xx/adp-ae3xx.c +1 -0
index a04415decaf..8eb40bf295c 100644
@@ -8,6 +8,7 @@
 #include <init.h>
 #include <asm/mach-types.h>
 #include <common.h>
+#include <flash.h>
 #if defined(CONFIG_FTMAC100) && !defined(CONFIG_DM_ETH)
 #include <netdev.h>
 #endif
board/AndesTech/adp-ag101p/adp-ag101p.c +1 -0
index faf39b4ba6a..d349b19648d 100644
@@ -6,6 +6,7 @@
  */
 
 #include <common.h>
+#include <flash.h>
 #include <init.h>
 #if defined(CONFIG_FTMAC100) && !defined(CONFIG_DM_ETH)
 #include <netdev.h>
board/AndesTech/ax25-ae350/ax25-ae350.c +1 -0
index f164073000c..de546dab174 100644
@@ -5,6 +5,7 @@
  */
 
 #include <common.h>
+#include <flash.h>
 #include <init.h>
 #if defined(CONFIG_FTMAC100) && !defined(CONFIG_DM_ETH)
 #include <netdev.h>
board/Arcturus/ucp1020/cmd_arc.c +1 -0
index b50de63c5e0..2b4853f8f91 100644
@@ -12,6 +12,7 @@
 #include <cpu_func.h>
 #include <div64.h>
 #include <env.h>
+#include <flash.h>
 #include <malloc.h>
 #include <spi_flash.h>
 #include <mmc.h>
board/atmel/at91sam9263ek/at91sam9263ek.c +1 -0
index b811d931c44..be132bc185f 100644
@@ -7,6 +7,7 @@
 
 #include <common.h>
 #include <debug_uart.h>
+#include <flash.h>
 #include <init.h>
 #include <net.h>
 #include <vsprintf.h>
board/buffalo/lsxl/lsxl.c +1 -0
index 95d3a5e1f57..aa641259ac6 100644
@@ -10,6 +10,7 @@
 #include <common.h>
 #include <env.h>
 #include <env_internal.h>
+#include <flash.h>
 #include <net.h>
 #include <malloc.h>
 #include <netdev.h>
board/cobra5272/flash.c +10 -8
index 1d3c5acddf8..5860cd0ac03 100644
@@ -7,14 +7,16 @@
 #include <common.h>
 #include <console.h>
 #include <cpu_func.h>
+#include <flash.h>
 #include <irq_func.h>
+#include <uuid.h>
 
 #define PHYS_FLASH_1 CONFIG_SYS_FLASH_BASE
 #define FLASH_BANK_SIZE 0x200000
 
 flash_info_t flash_info[CONFIG_SYS_MAX_FLASH_BANKS];
 
-void flash_print_info (flash_info_t * info)
+void flash_print_info(flash_info_t *info)
 {
 	int i;
 
@@ -55,7 +57,7 @@ Done:
 }
 
 
-unsigned long flash_init (void)
+unsigned long flash_init(void)
 {
 	int i, j;
 	ulong size = 0;
@@ -98,9 +100,9 @@ unsigned long flash_init (void)
 		size += flash_info[i].size;
 	}
 
-	flash_protect (FLAG_PROTECT_SET,
-		       CONFIG_SYS_FLASH_BASE,
-		       CONFIG_SYS_FLASH_BASE + 0x3ffff, &flash_info[0]);
+	flash_protect(FLAG_PROTECT_SET,
+		      CONFIG_SYS_FLASH_BASE,
+		      CONFIG_SYS_FLASH_BASE + 0x3ffff, &flash_info[0]);
 
 	return size;
 }
@@ -127,7 +129,7 @@ unsigned long flash_init (void)
 #define TMO   4
 
 
-int flash_erase (flash_info_t * info, int s_first, int s_last)
+int flash_erase(flash_info_t *info, int s_first, int s_last)
 {
 	ulong result;
 	int iflag, cflag, prot, sect;
@@ -244,7 +246,7 @@ int flash_erase (flash_info_t * info, int s_first, int s_last)
 	return rc;
 }
 
-static int write_word (flash_info_t * info, ulong dest, ulong data)
+static int write_word(flash_info_t *info, ulong dest, ulong data)
 {
 	volatile u16 *addr = (volatile u16 *) dest;
 	ulong result;
@@ -311,7 +313,7 @@ static int write_word (flash_info_t * info, ulong dest, ulong data)
 }
 
 
-int write_buff (flash_info_t * info, uchar * src, ulong addr, ulong cnt)
+int write_buff(flash_info_t *info, uchar *src, ulong addr, ulong cnt)
 {
 	ulong wp, data;
 	int rc;
board/freescale/common/fsl_validate.c +1 -0
index 2bf9d587460..6aa412a9377 100644
@@ -5,6 +5,7 @@
 
 #include <common.h>
 #include <dm.h>
+#include <flash.h>
 #include <fsl_validate.h>
 #include <fsl_secboot_err.h>
 #include <fsl_sfp.h>
board/freescale/m5253demo/flash.c +1 -0
index a5223ecee6c..87368564afa 100644
@@ -8,6 +8,7 @@
  */
 
 #include <common.h>
+#include <flash.h>
 #include <irq_func.h>
 
 #include <asm/immap.h>
board/freescale/mpc8568mds/bcsr.c +1 -0
index 28e2a9435c6..b1e638af5ae 100644
@@ -4,6 +4,7 @@
  */
 
 #include <common.h>
+#include <flash.h>
 #include <asm/io.h>
 
 #include "bcsr.h"
board/freescale/mpc8568mds/mpc8568mds.c +1 -0
index 5167f81be71..da974956640 100644
@@ -6,6 +6,7 @@
  */
 
 #include <common.h>
+#include <flash.h>
 #include <init.h>
 #include <pci.h>
 #include <asm/processor.h>
board/freescale/mpc8569mds/bcsr.c +1 -0
index 57cea0af689..9ed00f6e5b1 100644
@@ -4,6 +4,7 @@
  */
 
 #include <common.h>
+#include <flash.h>
 #include <asm/io.h>
 
 #include "bcsr.h"
board/freescale/mpc8569mds/mpc8569mds.c +1 -0
index cf5d8a5244f..18e0d87a488 100644
@@ -7,6 +7,7 @@
 
 #include <common.h>
 #include <console.h>
+#include <flash.h>
 #include <hwconfig.h>
 #include <init.h>
 #include <pci.h>
board/gardena/smart-gateway-mt7688/board.c +1 -0
index 48cf3091e99..0fcb605e1b9 100644
@@ -6,6 +6,7 @@
 #include <common.h>
 #include <env.h>
 #include <env_internal.h>
+#include <flash.h>
 #include <init.h>
 #include <led.h>
 #include <malloc.h>
board/gdsys/mpc8308/hrcon.c +1 -0
index d1110157a2e..8994c8c71b4 100644
@@ -6,6 +6,7 @@
 
 #include <common.h>
 #include <env.h>
+#include <flash.h>
 #include <hwconfig.h>
 #include <i2c.h>
 #include <init.h>
board/gdsys/mpc8308/strider.c +1 -0
index 9ba9e4278a5..a12e08685bf 100644
@@ -6,6 +6,7 @@
 
 #include <common.h>
 #include <env.h>
+#include <flash.h>
 #include <hwconfig.h>
 #include <i2c.h>
 #include <init.h>
board/renesas/sh7752evb/sh7752evb.c +1 -0
index 203eecf3d6d..135aaa5234c 100644
@@ -5,6 +5,7 @@
 
 #include <common.h>
 #include <env.h>
+#include <flash.h>
 #include <init.h>
 #include <malloc.h>
 #include <asm/processor.h>
board/renesas/sh7753evb/sh7753evb.c +1 -0
index 0b118b2f65d..fbfc49ee01d 100644
@@ -5,6 +5,7 @@
 
 #include <common.h>
 #include <env.h>
+#include <flash.h>
 #include <init.h>
 #include <malloc.h>
 #include <asm/processor.h>
board/renesas/sh7757lcr/sh7757lcr.c +1 -0
index e8d1fdd03fa..ed041b14ee8 100644
@@ -5,6 +5,7 @@
 
 #include <common.h>
 #include <env.h>
+#include <flash.h>
 #include <init.h>
 #include <malloc.h>
 #include <asm/processor.h>
board/siemens/taurus/taurus.c +1 -0
index 0979df563ae..9f9cdfa2346 100644
@@ -15,6 +15,7 @@
 #include <common.h>
 #include <dm.h>
 #include <env.h>
+#include <flash.h>
 #include <init.h>
 #include <asm/io.h>
 #include <asm/arch/at91sam9260_matrix.h>
board/socrates/socrates.c +15 -13
index b0ddee7906a..84644a85c7b 100644
@@ -14,6 +14,7 @@
 #include <clock_legacy.h>
 #include <env.h>
 #include <pci.h>
+#include <uuid.h>
 #include <asm/processor.h>
 #include <asm/immap_85xx.h>
 #include <ioports.h>
@@ -105,25 +106,26 @@ int misc_init_r (void)
 		/*
 		 * Re-do flash protection upon new addresses
 		 */
-		flash_protect (FLAG_PROTECT_CLEAR,
-			       gd->bd->bi_flashstart, 0xffffffff,
-			       &flash_info[CONFIG_SYS_MAX_FLASH_BANKS - 1]);
+		flash_protect(FLAG_PROTECT_CLEAR,
+			      gd->bd->bi_flashstart, 0xffffffff,
+			      &flash_info[CONFIG_SYS_MAX_FLASH_BANKS - 1]);
 
 		/* Monitor protection ON by default */
-		flash_protect (FLAG_PROTECT_SET,
-			       CONFIG_SYS_MONITOR_BASE, CONFIG_SYS_MONITOR_BASE + monitor_flash_len - 1,
-			       &flash_info[CONFIG_SYS_MAX_FLASH_BANKS - 1]);
+		flash_protect(FLAG_PROTECT_SET,
+			      CONFIG_SYS_MONITOR_BASE, CONFIG_SYS_MONITOR_BASE +
+			      monitor_flash_len - 1,
+			      &flash_info[CONFIG_SYS_MAX_FLASH_BANKS - 1]);
 
 		/* Environment protection ON by default */
-		flash_protect (FLAG_PROTECT_SET,
-			       CONFIG_ENV_ADDR,
-			       CONFIG_ENV_ADDR + CONFIG_ENV_SECT_SIZE - 1,
-			       &flash_info[CONFIG_SYS_MAX_FLASH_BANKS - 1]);
+		flash_protect(FLAG_PROTECT_SET,
+			      CONFIG_ENV_ADDR,
+			      CONFIG_ENV_ADDR + CONFIG_ENV_SECT_SIZE - 1,
+			      &flash_info[CONFIG_SYS_MAX_FLASH_BANKS - 1]);
 
 		/* Redundant environment protection ON by default */
-		flash_protect (FLAG_PROTECT_SET,
-			       CONFIG_ENV_ADDR_REDUND,
-			       CONFIG_ENV_ADDR_REDUND + CONFIG_ENV_SECT_SIZE - 1,
+		flash_protect(FLAG_PROTECT_SET,
+			      CONFIG_ENV_ADDR_REDUND,
+			      CONFIG_ENV_ADDR_REDUND + CONFIG_ENV_SECT_SIZE - 1,
 			       &flash_info[CONFIG_SYS_MAX_FLASH_BANKS - 1]);
 	}
 
board/spear/x600/x600.c +1 -0
index e1232edd143..7cff6eecf25 100644
@@ -7,6 +7,7 @@
  */
 
 #include <common.h>
+#include <flash.h>
 #include <init.h>
 #include <micrel.h>
 #include <nand.h>
cmd/armflash.c +1 -0
index 6872b0dde3d..f82f3dd1a37 100644
@@ -8,6 +8,7 @@
 #include <common.h>
 #include <command.h>
 #include <console.h>
+#include <flash.h>
 #include <asm/io.h>
 
 #define MAX_REGIONS 4
cmd/cros_ec.c +1 -0
index 9e2f1b06f3c..c6bbed9c4a2 100644
@@ -10,6 +10,7 @@
 #include <command.h>
 #include <cros_ec.h>
 #include <dm.h>
+#include <flash.h>
 #include <dm/device-internal.h>
 #include <dm/uclass-internal.h>
 
cmd/flash.c +13 -10
index cd1758d7e2e..df97fe740d8 100644
@@ -9,6 +9,7 @@
  */
 #include <common.h>
 #include <command.h>
+#include <uuid.h>
 
 #if defined(CONFIG_CMD_MTDPARTS)
 #include <jffs2/jffs2.h>
@@ -88,7 +89,7 @@ abbrev_spec (char *str, flash_info_t ** pinfo, int *psf, int *psl)
 /*
  * Take *addr in Flash and adjust it to fall on the end of its sector
  */
-int flash_sect_roundb (ulong *addr)
+int flash_sect_roundb(ulong *addr)
 {
 	flash_info_t *info;
 	ulong bank, sector_end_addr;
@@ -279,7 +280,7 @@ static int do_flinfo(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
 		for (bank=0; bank <CONFIG_SYS_MAX_FLASH_BANKS; ++bank) {
 			printf ("\nBank # %ld: ", bank+1);
 
-			flash_print_info (&flash_info[bank]);
+			flash_print_info(&flash_info[bank]);
 		}
 		return 0;
 	}
@@ -291,7 +292,7 @@ static int do_flinfo(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
 		return 1;
 	}
 	printf ("\nBank # %ld: ", bank);
-	flash_print_info (&flash_info[bank-1]);
+	flash_print_info(&flash_info[bank - 1]);
 #endif /* CONFIG_MTD_NOR_FLASH */
 	return 0;
 }
@@ -316,7 +317,7 @@ static int do_flerase(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
 		for (bank=1; bank<=CONFIG_SYS_MAX_FLASH_BANKS; ++bank) {
 			printf ("Erase Flash Bank # %ld ", bank);
 			info = &flash_info[bank-1];
-			rcode = flash_erase (info, 0, info->sector_count-1);
+			rcode = flash_erase(info, 0, info->sector_count - 1);
 		}
 		return rcode;
 	}
@@ -370,7 +371,7 @@ static int do_flerase(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
 		}
 		printf ("Erase Flash Bank # %ld ", bank);
 		info = &flash_info[bank-1];
-		rcode = flash_erase (info, 0, info->sector_count-1);
+		rcode = flash_erase(info, 0, info->sector_count - 1);
 		return rcode;
 	}
 
@@ -390,7 +391,7 @@ static int do_flerase(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
 }
 
 #ifdef CONFIG_MTD_NOR_FLASH
-int flash_sect_erase (ulong addr_first, ulong addr_last)
+int flash_sect_erase(ulong addr_first, ulong addr_last)
 {
 	flash_info_t *info;
 	ulong bank;
@@ -415,7 +416,8 @@ int flash_sect_erase (ulong addr_first, ulong addr_last)
 						info->start[0] + info->size - 1:
 						info->start[s_last[bank]+1] - 1,
 					bank+1);
-				rcode = flash_erase (info, s_first[bank], s_last[bank]);
+				rcode = flash_erase(info, s_first[bank],
+						    s_last[bank]);
 			}
 		}
 		if (rcode == 0)
@@ -526,7 +528,8 @@ static int do_protect(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
 						p ? "" : "Un", argv[1],
 						bank, addr_first, addr_last);
 
-				rcode = flash_sect_protect (p, addr_first, addr_last);
+				rcode = flash_sect_protect(p, addr_first,
+							   addr_last);
 				return rcode;
 			}
 
@@ -580,13 +583,13 @@ static int do_protect(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
 	if (addr_first >= addr_last)
 		return CMD_RET_USAGE;
 
-	rcode = flash_sect_protect (p, addr_first, addr_last);
+	rcode = flash_sect_protect(p, addr_first, addr_last);
 #endif /* CONFIG_MTD_NOR_FLASH */
 	return rcode;
 }
 
 #ifdef CONFIG_MTD_NOR_FLASH
-int flash_sect_protect (int p, ulong addr_first, ulong addr_last)
+int flash_sect_protect(int p, ulong addr_first, ulong addr_last)
 {
 	flash_info_t *info;
 	ulong bank;
cmd/jffs2.c +1 -0
index da2580d85d7..748a73e2af9 100644
@@ -73,6 +73,7 @@
 #include <common.h>
 #include <command.h>
 #include <env.h>
+#include <flash.h>
 #include <image.h>
 #include <malloc.h>
 #include <jffs2/jffs2.h>
cmd/mvebu/bubt.c +1 -0
index 2041a7a29aa..a422dee168a 100644
@@ -8,6 +8,7 @@
 #include <common.h>
 #include <command.h>
 #include <env.h>
+#include <flash.h>
 #include <image.h>
 #include <vsprintf.h>
 #include <errno.h>
cmd/sf.c +1 -0
index e993b3e5adc..2b9c268ac42 100644
@@ -8,6 +8,7 @@
 #include <common.h>
 #include <div64.h>
 #include <dm.h>
+#include <flash.h>
 #include <malloc.h>
 #include <mapmem.h>
 #include <spi.h>
common/board_r.c +1 -0
index 0bbeaa7594c..1f1c23bfe7c 100644
@@ -13,6 +13,7 @@
 #include <api.h>
 #include <cpu_func.h>
 #include <exports.h>
+#include <flash.h>
 #include <hang.h>
 #include <image.h>
 #include <irq_func.h>
common/flash.c +6 -5
index 5f155aefd1d..4a28ac5d347 100644
@@ -8,6 +8,7 @@
 
 #include <common.h>
 #include <flash.h>
+#include <uuid.h>
 
 #include <mtd/cfi_flash.h>
 
@@ -24,7 +25,7 @@ extern flash_info_t  flash_info[]; /* info for FLASH chips */
  * If necessary you have to map the second bank at lower addresses.
  */
 void
-flash_protect (int flag, ulong from, ulong to, flash_info_t *info)
+flash_protect(int flag, ulong from, ulong to, flash_info_t *info)
 {
 	ulong b_end;
 	short s_end;
@@ -84,7 +85,7 @@ flash_protect (int flag, ulong from, ulong to, flash_info_t *info)
  */
 
 flash_info_t *
-addr2info (ulong addr)
+addr2info(ulong addr)
 {
 	flash_info_t *info;
 	int i;
@@ -119,12 +120,12 @@ addr2info (ulong addr)
  *			(only some targets require alignment)
  */
 int
-flash_write (char *src, ulong addr, ulong cnt)
+flash_write(char *src, ulong addr, ulong cnt)
 {
 	int i;
 	ulong         end        = addr + cnt - 1;
-	flash_info_t *info_first = addr2info (addr);
-	flash_info_t *info_last  = addr2info (end );
+	flash_info_t *info_first = addr2info(addr);
+	flash_info_t *info_last  = addr2info(end);
 	flash_info_t *info;
 	__maybe_unused char *src_orig = src;
 	__maybe_unused char *addr_orig = (char *)addr;
drivers/dfu/dfu_sf.c +1 -0
index 0fdbfae4341..318e43c179b 100644
@@ -4,6 +4,7 @@
  */
 
 #include <common.h>
+#include <flash.h>
 #include <malloc.h>
 #include <errno.h>
 #include <div64.h>
drivers/fastboot/fb_command.c +1 -0
index 3c4acfecf6d..49f6a61c374 100644
@@ -10,6 +10,7 @@
 #include <fastboot-internal.h>
 #include <fb_mmc.h>
 #include <fb_nand.h>
+#include <flash.h>
 #include <part.h>
 #include <stdlib.h>
 
drivers/fastboot/fb_mmc.c +1 -0
index d7cf9f4aac7..d3249a54f7c 100644
@@ -10,6 +10,7 @@
 #include <fastboot.h>
 #include <fastboot-internal.h>
 #include <fb_mmc.h>
+#include <flash.h>
 #include <image-sparse.h>
 #include <part.h>
 #include <mmc.h>
drivers/fastboot/fb_nand.c +1 -0
index 6756ea769f3..b1654681450 100644
@@ -6,6 +6,7 @@
 
 #include <config.h>
 #include <common.h>
+#include <flash.h>
 
 #include <fastboot.h>
 #include <image-sparse.h>
drivers/misc/cros_ec.c +1 -0
index fa9984f6bd9..c145b679318 100644
@@ -18,6 +18,7 @@
 #include <common.h>
 #include <command.h>
 #include <dm.h>
+#include <flash.h>
 #include <i2c.h>
 #include <cros_ec.h>
 #include <fdtdec.h>
drivers/mtd/cfi_flash.c +1 -0
index 4ce183b6f31..036cf0b4a1e 100644
@@ -22,6 +22,7 @@
 #include <env.h>
 #include <errno.h>
 #include <fdt_support.h>
+#include <flash.h>
 #include <irq_func.h>
 #include <asm/processor.h>
 #include <asm/io.h>
drivers/mtd/jedec_flash.c +1 -0
index f59b2bc62fb..ce921b461af 100644
@@ -12,6 +12,7 @@
 /*#define DEBUG*/
 
 #include <common.h>
+#include <flash.h>
 #include <asm/processor.h>
 #include <asm/io.h>
 #include <asm/byteorder.h>
drivers/mtd/spi/sf_dataflash.c +1 -0
index 55fb4bd31ac..b1a38048d32 100644
@@ -10,6 +10,7 @@
 #include <dm.h>
 #include <errno.h>
 #include <fdtdec.h>
+#include <flash.h>
 #include <spi.h>
 #include <spi_flash.h>
 #include <div64.h>
drivers/mtd/spi/sf_mtd.c +1 -0
index 68c36002bee..987fac2501f 100644
@@ -4,6 +4,7 @@
  */
 
 #include <common.h>
+#include <flash.h>
 #include <malloc.h>
 #include <linux/errno.h>
 #include <linux/mtd/mtd.h>
drivers/mtd/stm32_flash.c +1 -0
index fd0d5506e8f..95afa2d6bc7 100644
@@ -5,6 +5,7 @@
  */
 
 #include <common.h>
+#include <flash.h>
 #include <asm/io.h>
 #include <asm/arch/stm32.h>
 #include "stm32_flash.h"
env/sf.c +2 -0
index 5ef40552194..ac16ed5bdd4 100644
@@ -12,11 +12,13 @@
 #include <dm.h>
 #include <env.h>
 #include <env_internal.h>
+#include <flash.h>
 #include <malloc.h>
 #include <spi.h>
 #include <spi_flash.h>
 #include <search.h>
 #include <errno.h>
+#include <uuid.h>
 #include <dm/device-internal.h>
 #include <u-boot/crc.h>
 
fs/cramfs/cramfs.c +1 -0
index 228f599d44b..7ef48bbc064 100644
@@ -25,6 +25,7 @@
  */
 
 #include <common.h>
+#include <flash.h>
 #include <malloc.h>
 #include <asm/byteorder.h>
 #include <linux/stat.h>
fs/jffs2/jffs2_1pass.c +1 -0
index 5912cde8384..f58ec0e9a04 100644
@@ -113,6 +113,7 @@
 
 #include <common.h>
 #include <config.h>
+#include <flash.h>
 #include <malloc.h>
 #include <div64.h>
 #include <linux/compiler.h>
include/common.h +0 -1
index a8242cafc51..1705d85e8a9 100644
@@ -29,7 +29,6 @@
 #include <stdio.h>
 #include <linux/kernel.h>
 #include <part.h>
-#include <flash.h>
 #include <image.h>
 #include <log.h>
 #include <asm/u-boot.h> /* boot information for Linux kernel */
include/flash.h +12 -12
index 2655c72087f..3bf6b22399e 100644
@@ -84,20 +84,20 @@ typedef unsigned long flash_sect_t;
 
 /* Prototypes */
 
-extern unsigned long flash_init (void);
-extern void flash_print_info (flash_info_t *);
-extern int flash_erase	(flash_info_t *, int, int);
-extern int flash_sect_erase (ulong addr_first, ulong addr_last);
-extern int flash_sect_protect (int flag, ulong addr_first, ulong addr_last);
-extern int flash_sect_roundb (ulong *addr);
-extern unsigned long flash_sector_size(flash_info_t *info, flash_sect_t sect);
-extern void flash_set_verbose(uint);
+unsigned long flash_init(void);
+void flash_print_info(flash_info_t *info);
+int flash_erase(flash_info_t *info, int s_first, int s_last);
+int flash_sect_erase(ulong addr_first, ulong addr_last);
+int flash_sect_protect(int flag, ulong addr_first, ulong addr_last);
+int flash_sect_roundb(ulong *addr);
+unsigned long flash_sector_size(flash_info_t *info, flash_sect_t sect);
+void flash_set_verbose(uint v);
 
 /* common/flash.c */
-extern void flash_protect (int flag, ulong from, ulong to, flash_info_t *info);
-extern int flash_write (char *, ulong, ulong);
-extern flash_info_t *addr2info (ulong);
-extern int write_buff (flash_info_t *info, uchar *src, ulong addr, ulong cnt);
+void flash_protect(int flag, ulong from, ulong to, flash_info_t *info);
+int flash_write(char *src, ulong addr, ulong cnt);
+flash_info_t *addr2info(ulong addr);
+int write_buff(flash_info_t *info, uchar *src, ulong addr, ulong cnt);
 
 /* drivers/mtd/cfi_mtd.c */
 #ifdef CONFIG_FLASH_CFI_MTD
Signature · 1 line
2.26.0.292.g33ef6b2f38-goog
#3 lore raw

PATCH 2/18 common: Drop flash.h from common header

Dear Simon,

Quoted 3 lines · In message <20200406203250.2.Ia0f8528ae0e9e3ead7d99891b46cccaef5859295@changeid…

Move this uncommon header out of the common header.

Fix up some style problems in flash.h while we are here.

Actually your coding style fixes are anywhere else as well. I think this should be in a separate commit.

Best regards,

Wolfgang Denk

Signature · 4 lines
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
A rolling stone gathers momentum.
#4 lore raw

PATCH 3/18 arm: Don't include common.h in header files

In reply to Simon Glass

It is bad practice to include common.h in other header files since it can bring in any number of superfluous definitions. It implies that some C files don't include it and thus may be missing CONFIG options that are set up by that file. The C files should include these themselves.

Update some header files in arch/arm to drop this.

---

 arch/arm/cpu/armv8/fwcall.c                        |  1 +
 arch/arm/include/asm/arch-am33xx/clk_synthesizer.h |  2 --
 arch/arm/include/asm/arch-am33xx/mux.h             |  1 -
 arch/arm/include/asm/arch-am33xx/mux_am33xx.h      |  1 -
 arch/arm/include/asm/arch-am33xx/mux_am43xx.h      |  1 -
 arch/arm/include/asm/arch-am33xx/mux_ti816x.h      |  1 -
 arch/arm/include/asm/arch-fsl-layerscape/clock.h   |  2 --
 arch/arm/include/asm/arch-lpc32xx/dma.h            |  2 --
 arch/arm/include/asm/arch-lpc32xx/i2c.h            |  1 -
 arch/arm/include/asm/arch-ls102xa/clock.h          |  2 --
 arch/arm/include/asm/arch-mx25/clock.h             |  2 --
 arch/arm/include/asm/arch-mx31/clock.h             |  2 --
 arch/arm/include/asm/arch-mx35/clock.h             |  2 --
 arch/arm/include/asm/arch-mx5/clock.h              |  2 --
 arch/arm/include/asm/arch-mx6/clock.h              |  7 +++++--
 arch/arm/include/asm/arch-mx7/clock.h              |  1 -
 arch/arm/include/asm/arch-mx7ulp/clock.h           |  1 -
 arch/arm/include/asm/arch-mx7ulp/pcc.h             |  1 -
 arch/arm/include/asm/arch-mx7ulp/scg.h             |  2 --
 arch/arm/include/asm/arch-omap4/clock.h            |  1 -
 arch/arm/include/asm/arch-omap5/clock.h            |  1 -
 arch/arm/include/asm/arch-omap5/dra7xx_iodelay.h   |  1 -
 arch/arm/include/asm/arch-rk3308/cru_rk3308.h      |  2 --
 arch/arm/include/asm/arch-rk3308/grf_rk3308.h      |  2 --
 arch/arm/include/asm/arch-rockchip/cru_px30.h      |  2 --
 arch/arm/include/asm/arch-rockchip/cru_rk3036.h    |  2 --
 arch/arm/include/asm/arch-rockchip/cru_rk3128.h    |  2 --
 arch/arm/include/asm/arch-rockchip/cru_rk322x.h    |  2 --
 arch/arm/include/asm/arch-rockchip/cru_rk3328.h    |  2 --
 arch/arm/include/asm/arch-rockchip/cru_rk3368.h    |  3 ---
 arch/arm/include/asm/arch-rockchip/cru_rk3399.h    |  2 --
 arch/arm/include/asm/arch-rockchip/cru_rv1108.h    |  2 --
 arch/arm/include/asm/arch-rockchip/grf_px30.h      |  2 --
 arch/arm/include/asm/arch-rockchip/grf_rk3036.h    |  2 --
 arch/arm/include/asm/arch-rockchip/grf_rk3128.h    |  2 --
 arch/arm/include/asm/arch-rockchip/grf_rk322x.h    |  2 --
 arch/arm/include/asm/arch-rockchip/grf_rk3368.h    |  2 --
 arch/arm/include/asm/arch-rockchip/grf_rv1108.h    |  2 --
 arch/arm/include/asm/arch-rockchip/sdram_rk3036.h  |  2 --
 arch/arm/include/asm/arch-rockchip/sdram_rk322x.h  |  2 --
 arch/arm/include/asm/arch-s32v234/clock.h          |  2 --
 arch/arm/include/asm/arch-sunxi/rsb.h              |  1 -
 arch/arm/include/asm/arch-tegra/ivc.h              |  2 --
 arch/arm/include/asm/arch-tegra/tegra_mmc.h        |  1 -
 arch/arm/include/asm/arch-vf610/clock.h            |  2 --
 arch/arm/include/asm/dma-mapping.h                 |  2 +-
 arch/arm/include/asm/emif.h                        |  1 -
 arch/arm/include/asm/mach-imx/iomux-v3.h           |  2 +-
 arch/arm/include/asm/mach-imx/sys_proto.h          |  6 ++++--
 arch/arm/include/asm/omap_common.h                 | 10 ++++++----
 arch/arm/include/asm/omap_sec_common.h             |  2 --
 arch/arm/include/asm/system.h                      |  3 ++-
 arch/arm/mach-imx/ddrmc-vf610.c                    |  1 +
 arch/arm/mach-imx/mx7ulp/soc.c                     |  2 ++
 arch/arm/mach-imx/sata.c                           |  1 +
 arch/arm/mach-omap2/am33xx/ddr.c                   |  1 +
 arch/arm/mach-omap2/omap4/sdram_elpida.c           |  1 +
 arch/arm/mach-omap2/omap5/sdram.c                  |  1 +
 arch/arm/mach-rockchip/rk3036/rk3036.c             |  2 ++
 board/compulab/cm_t54/mux.c                        |  1 +
 board/el/el6x/el6x.c                               |  1 +
 board/embest/mx6boards/mx6boards.c                 |  1 +
 board/gateworks/gw_ventana/common.c                |  1 +
 board/grinn/liteboard/board.c                      |  1 +
 board/overo/spl.c                                  |  2 ++
 board/sks-kinkel/sksimx6/sksimx6.c                 |  1 +
 board/solidrun/mx6cuboxi/mx6cuboxi.c               |  1 +
 board/technexion/pico-imx6/spl.c                   |  1 +
 board/technexion/pico-imx7d/spl.c                  |  1 +
 board/udoo/udoo_spl.c                              |  1 +
 board/wandboard/spl.c                              |  1 +
 board/wandboard/wandboard.c                        |  1 +
 drivers/mtd/nand/raw/denali.c                      |  2 ++
 drivers/mtd/nand/raw/denali_dt.c                   |  2 ++
 drivers/usb/eth/lan7x.h                            |  7 +++++++
 include/linux/compat.h                             |  1 +
 include/linux/mtd/rawnand.h                        |  1 +
 include/net.h                                      |  6 +++++-
 include/spl.h                                      |  2 ++
 79 files changed, 63 insertions(+), 89 deletions(-)
arch/arm/cpu/armv8/fwcall.c +1 -0
index cbd35b7f4a2..4bffec9560a 100644
@@ -10,6 +10,7 @@
 #include <version.h>
 #include <asm/macro.h>
 #include <asm/psci.h>
+#include <asm/ptrace.h>
 #include <asm/system.h>
 
 /*
arch/arm/include/asm/arch-am33xx/clk_synthesizer.h +0 -2
index 6579cc0c5d9..7bcafba6f0b 100644
@@ -10,8 +10,6 @@
 #ifndef __CLK_SYNTHESIZER_H
 #define __CLK_SYNTHESIZER_H
 
-#include <common.h>
-
 #define CLK_SYNTHESIZER_ID_REG		0x0
 #define CLK_SYNTHESIZER_XCSEL		0x05
 #define CLK_SYNTHESIZER_MUX_REG		0x14
arch/arm/include/asm/arch-am33xx/mux.h +0 -1
index d8bf87258b5..b16b1847336 100644
@@ -16,7 +16,6 @@
 #ifndef _MUX_H_
 #define _MUX_H_
 
-#include <common.h>
 #include <asm/io.h>
 
 #ifdef CONFIG_AM33XX
arch/arm/include/asm/arch-am33xx/mux_am33xx.h +0 -1
index d5cab3e0834..26bd4b46ffb 100644
@@ -16,7 +16,6 @@
 #ifndef _MUX_AM33XX_H_
 #define _MUX_AM33XX_H_
 
-#include <common.h>
 #include <asm/io.h>
 
 #define MUX_CFG(value, offset)	\
arch/arm/include/asm/arch-am33xx/mux_am43xx.h +0 -1
index 256c5e243f8..f74ae74ff16 100644
@@ -8,7 +8,6 @@
 #ifndef _MUX_AM43XX_H_
 #define _MUX_AM43XX_H_
 
-#include <common.h>
 #include <asm/io.h>
 
 #define MUX_CFG(value, offset)	\
arch/arm/include/asm/arch-am33xx/mux_ti816x.h +0 -1
index e4e5a48ad67..a6a8a988a0c 100644
@@ -17,7 +17,6 @@
 #ifndef _MUX_TI816X_H_
 #define _MUX_TI816X_H_
 
-#include <common.h>
 #include <asm/io.h>
 
 #define MUX_CFG(value, offset)  \
arch/arm/include/asm/arch-fsl-layerscape/clock.h +0 -2
index 95d6156476f..d5616914374 100644
@@ -8,8 +8,6 @@
 #ifndef __ASM_ARCH_FSL_LAYERSCAPE_CLOCK_H_
 #define __ASM_ARCH_FSL_LAYERSCAPE_CLOCK_H_
 
-#include <common.h>
-
 enum mxc_clock {
 	MXC_ARM_CLK = 0,
 	MXC_BUS_CLK,
arch/arm/include/asm/arch-lpc32xx/dma.h +0 -2
index 87754912459..d69e3c4664d 100644
@@ -11,8 +11,6 @@
 #ifndef _LPC32XX_DMA_H
 #define _LPC32XX_DMA_H
 
-#include <common.h>
-
 /*
  * DMA linked list structure used with a channel's LLI register;
  * refer to UM10326, "LPC32x0 and LPC32x0/01 User manual" - Rev. 3
arch/arm/include/asm/arch-lpc32xx/i2c.h +0 -1
index 5301d4c1b0f..f39b14001b6 100644
@@ -1,7 +1,6 @@
 #ifndef _LPC32XX_I2C_H
 #define _LPC32XX_I2C_H
 
-#include <common.h>
 #include <asm/types.h>
 
 /* i2c register set */
arch/arm/include/asm/arch-ls102xa/clock.h +0 -2
index e66e57f7598..01978c08f5e 100644
@@ -7,8 +7,6 @@
 #ifndef __ASM_ARCH_LS102XA_CLOCK_H_
 #define __ASM_ARCH_LS102XA_CLOCK_H_
 
-#include <common.h>
-
 enum mxc_clock {
 	MXC_ARM_CLK = 0,
 	MXC_UART_CLK,
arch/arm/include/asm/arch-mx25/clock.h +0 -2
index 7eec73163b3..3045b78d08f 100644
@@ -9,8 +9,6 @@
 #ifndef __ASM_ARCH_CLOCK_H
 #define __ASM_ARCH_CLOCK_H
 
-#include <common.h>
-
 #ifdef CONFIG_MX25_HCLK_FREQ
 #define MXC_HCLK	CONFIG_MX25_HCLK_FREQ
 #else
arch/arm/include/asm/arch-mx31/clock.h +0 -2
index aafc2d690ef..e99e115f79e 100644
@@ -7,8 +7,6 @@
 #ifndef __ASM_ARCH_CLOCK_H
 #define __ASM_ARCH_CLOCK_H
 
-#include <common.h>
-
 #define MXC_HCLK	CONFIG_MX31_HCLK_FREQ
 
 #define MXC_CLK32	CONFIG_MX31_CLK32
arch/arm/include/asm/arch-mx35/clock.h +0 -2
index 788534083c8..cb0b53a69f4 100644
@@ -7,8 +7,6 @@
 #ifndef __ASM_ARCH_CLOCK_H
 #define __ASM_ARCH_CLOCK_H
 
-#include <common.h>
-
 #ifdef CONFIG_MX35_HCLK_FREQ
 #define MXC_HCLK	CONFIG_MX35_HCLK_FREQ
 #else
arch/arm/include/asm/arch-mx5/clock.h +0 -2
index 6f5ca5888ae..63a51042e1e 100644
@@ -7,8 +7,6 @@
 #ifndef __ASM_ARCH_CLOCK_H
 #define __ASM_ARCH_CLOCK_H
 
-#include <common.h>
-
 #ifdef CONFIG_SYS_MX5_HCLK
 #define MXC_HCLK	CONFIG_SYS_MX5_HCLK
 #else
arch/arm/include/asm/arch-mx6/clock.h +5 -2
index f7760541a4c..769917679e5 100644
@@ -7,7 +7,7 @@
 #ifndef __ASM_ARCH_CLOCK_H
 #define __ASM_ARCH_CLOCK_H
 
-#include <common.h>
+#include <linux/types.h>
 
 #ifdef CONFIG_SYS_MX6_HCLK
 #define MXC_HCLK	CONFIG_SYS_MX6_HCLK
@@ -21,6 +21,8 @@
 #define MXC_CLK32	32768
 #endif
 
+struct cmd_tbl_s;
+
 enum mxc_clock {
 	MXC_ARM_CLK = 0,
 	MXC_PER_CLK,
@@ -80,5 +82,6 @@ void enable_thermal_clk(void);
 void mxs_set_lcdclk(u32 base_addr, u32 freq);
 void select_ldb_di_clock_source(enum ldb_di_clock clk);
 void enable_eim_clk(unsigned char enable);
-int do_mx6_showclocks(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]);
+int do_mx6_showclocks(struct cmd_tbl_s *cmdtp, int flag, int argc,
+		      char *const argv[]);
 #endif /* __ASM_ARCH_CLOCK_H */
arch/arm/include/asm/arch-mx7/clock.h +0 -1
index 984bd3f141a..48c7c3367a5 100644
@@ -9,7 +9,6 @@
 #ifndef _ASM_ARCH_CLOCK_H
 #define _ASM_ARCH_CLOCK_H
 
-#include <common.h>
 #include <asm/arch/crm_regs.h>
 
 #ifdef CONFIG_SYS_MX7_HCLK
arch/arm/include/asm/arch-mx7ulp/clock.h +0 -1
index eb02a20fdc5..92d4463dff5 100644
@@ -6,7 +6,6 @@
 #ifndef _ASM_ARCH_CLOCK_H
 #define _ASM_ARCH_CLOCK_H
 
-#include <common.h>
 #include <asm/arch/pcc.h>
 #include <asm/arch/scg.h>
 
arch/arm/include/asm/arch-mx7ulp/pcc.h +0 -1
index dee3cfcdc00..8f0d7006286 100644
@@ -6,7 +6,6 @@
 #ifndef _ASM_ARCH_PCC_H
 #define _ASM_ARCH_PCC_H
 
-#include <common.h>
 #include <asm/arch/scg.h>
 
 /* PCC2 */
arch/arm/include/asm/arch-mx7ulp/scg.h +0 -2
index b79bde338f4..3b5b7f6803c 100644
@@ -6,8 +6,6 @@
 #ifndef _ASM_ARCH_SCG_H
 #define _ASM_ARCH_SCG_H
 
-#include <common.h>
-
 #ifdef CONFIG_CLK_DEBUG
 #define clk_debug(fmt, args...)	printf(fmt, ##args)
 #else
arch/arm/include/asm/arch-omap4/clock.h +0 -1
index 037045ca314..0a626fe647a 100644
@@ -7,7 +7,6 @@
  */
 #ifndef _CLOCKS_OMAP4_H_
 #define _CLOCKS_OMAP4_H_
-#include <common.h>
 #include <asm/omap_common.h>
 
 /*
arch/arm/include/asm/arch-omap5/clock.h +0 -1
index e261bd43f26..87eb3f335ab 100644
@@ -8,7 +8,6 @@
  */
 #ifndef _CLOCKS_OMAP5_H_
 #define _CLOCKS_OMAP5_H_
-#include <common.h>
 #include <asm/omap_common.h>
 
 /*
arch/arm/include/asm/arch-omap5/dra7xx_iodelay.h +0 -1
index 09edfadc321..ea2f113f98d 100644
@@ -9,7 +9,6 @@
 #ifndef _DRA7_IODELAY_H_
 #define _DRA7_IODELAY_H_
 
-#include <common.h>
 #include <asm/arch/sys_proto.h>
 
 /* CONFIG_REG_0 */
arch/arm/include/asm/arch-rk3308/cru_rk3308.h +0 -2
index a14b64cdb3e..86c906bb0ed 100644
@@ -5,8 +5,6 @@
 #ifndef _ASM_ARCH_CRU_RK3308_H
 #define _ASM_ARCH_CRU_RK3308_H
 
-#include <common.h>
-
 #define MHz		1000000
 #define OSC_HZ		(24 * MHz)
 
arch/arm/include/asm/arch-rk3308/grf_rk3308.h +0 -2
index 3e68626d3e9..a995bb950d9 100644
@@ -5,8 +5,6 @@
 #ifndef _ASM_ARCH_GRF_rk3308_H
 #define _ASM_ARCH_GRF_rk3308_H
 
-#include <common.h>
-
 struct rk3308_grf {
 	unsigned int gpio0a_iomux;
 	unsigned int reserved0;
arch/arm/include/asm/arch-rockchip/cru_px30.h +0 -2
index 798444ae49f..732ca370403 100644
@@ -5,8 +5,6 @@
 #ifndef _ASM_ARCH_CRU_PX30_H
 #define _ASM_ARCH_CRU_PX30_H
 
-#include <common.h>
-
 #define MHz		1000000
 #define KHz		1000
 #define OSC_HZ		(24 * MHz)
arch/arm/include/asm/arch-rockchip/cru_rk3036.h +0 -2
index 47225229540..5db0407baa7 100644
@@ -5,8 +5,6 @@
 #ifndef _ASM_ARCH_CRU_RK3036_H
 #define _ASM_ARCH_CRU_RK3036_H
 
-#include <common.h>
-
 #define OSC_HZ		(24 * 1000 * 1000)
 
 #define APLL_HZ		(600 * 1000000)
arch/arm/include/asm/arch-rockchip/cru_rk3128.h +0 -2
index b8565605cd8..40a5ca7390e 100644
@@ -6,8 +6,6 @@
 #ifndef _ASM_ARCH_CRU_RK3128_H
 #define _ASM_ARCH_CRU_RK3128_H
 
-#include <common.h>
-
 #define MHz		1000000
 #define OSC_HZ		(24 * MHz)
 
arch/arm/include/asm/arch-rockchip/cru_rk322x.h +0 -2
index c87c830716d..ee12fa831f2 100644
@@ -5,8 +5,6 @@
 #ifndef _ASM_ARCH_CRU_RK322X_H
 #define _ASM_ARCH_CRU_RK322X_H
 
-#include <common.h>
-
 #define MHz		1000000
 #define OSC_HZ		(24 * MHz)
 
arch/arm/include/asm/arch-rockchip/cru_rk3328.h +0 -2
index 4bf69dbe088..226744d67d9 100644
@@ -6,8 +6,6 @@
 #ifndef __ASM_ARCH_CRU_RK3328_H_
 #define __ASM_ARCH_CRU_RK3328_H_
 
-#include <common.h>
-
 struct rk3328_clk_priv {
 	struct rk3328_cru *cru;
 	ulong rate;
arch/arm/include/asm/arch-rockchip/cru_rk3368.h +0 -3
index 1fe1f01b9e5..714cea85b4b 100644
@@ -6,9 +6,6 @@
 #ifndef _ASM_ARCH_CRU_RK3368_H
 #define _ASM_ARCH_CRU_RK3368_H
 
-#include <common.h>
-
-
 /* RK3368 clock numbers */
 enum rk3368_pll_id {
 	APLLB,
arch/arm/include/asm/arch-rockchip/cru_rk3399.h +0 -2
index 789ca6aa28f..d941a129f3e 100644
@@ -6,8 +6,6 @@
 #ifndef __ASM_ARCH_CRU_RK3399_H_
 #define __ASM_ARCH_CRU_RK3399_H_
 
-#include <common.h>
-
 /* Private data for the clock driver - used by rockchip_get_cru() */
 struct rk3399_clk_priv {
 	struct rockchip_cru *cru;
arch/arm/include/asm/arch-rockchip/cru_rv1108.h +0 -2
index 7697e96a91e..1db25afe264 100644
@@ -6,8 +6,6 @@
 #ifndef _ASM_ARCH_CRU_RV1108_H
 #define _ASM_ARCH_CRU_RV1108_H
 
-#include <common.h>
-
 #define OSC_HZ		(24 * 1000 * 1000)
 
 #define APLL_HZ		(600 * 1000000)
arch/arm/include/asm/arch-rockchip/grf_px30.h +0 -2
index 3d2a8770322..d51e29b19ee 100644
@@ -5,8 +5,6 @@
 #ifndef _ASM_ARCH_GRF_px30_H
 #define _ASM_ARCH_GRF_px30_H
 
-#include <common.h>
-
 struct px30_grf {
 	unsigned int gpio1al_iomux;
 	unsigned int gpio1ah_iomux;
arch/arm/include/asm/arch-rockchip/grf_rk3036.h +0 -2
index 5f12ebf262f..08348d8228a 100644
@@ -5,8 +5,6 @@
 #ifndef _ASM_ARCH_GRF_RK3036_H
 #define _ASM_ARCH_GRF_RK3036_H
 
-#include <common.h>
-
 struct rk3036_grf {
 	unsigned int reserved[0x2a];
 	unsigned int gpio0a_iomux;
arch/arm/include/asm/arch-rockchip/grf_rk3128.h +0 -2
index 519b36ad2ad..fe07d69b428 100644
@@ -5,8 +5,6 @@
 #ifndef _ASM_ARCH_GRF_RK3128_H
 #define _ASM_ARCH_GRF_RK3128_H
 
-#include <common.h>
-
 struct rk3128_grf {
 	unsigned int reserved[0x2a];
 	unsigned int gpio0a_iomux;
arch/arm/include/asm/arch-rockchip/grf_rk322x.h +0 -2
index a99d13732d0..5f4d9d82249 100644
@@ -5,8 +5,6 @@
 #ifndef _ASM_ARCH_GRF_RK322X_H
 #define _ASM_ARCH_GRF_RK322X_H
 
-#include <common.h>
-
 struct rk322x_grf {
 	unsigned int gpio0a_iomux;
 	unsigned int gpio0b_iomux;
arch/arm/include/asm/arch-rockchip/grf_rk3368.h +0 -2
index b70b08fccec..45e882b3c96 100644
@@ -6,8 +6,6 @@
 #ifndef _ASM_ARCH_GRF_RK3368_H
 #define _ASM_ARCH_GRF_RK3368_H
 
-#include <common.h>
-
 struct rk3368_grf {
 	u32 gpio1a_iomux;
 	u32 gpio1b_iomux;
arch/arm/include/asm/arch-rockchip/grf_rv1108.h +0 -2
index 9f42fbde8dc..92bbe34af68 100644
@@ -5,8 +5,6 @@
 #ifndef _ASM_ARCH_GRF_RV1108_H
 #define _ASM_ARCH_GRF_RV1108_H
 
-#include <common.h>
-
 struct rv1108_grf {
 	u32 reserved[4];
 	u32 gpio1a_iomux;
arch/arm/include/asm/arch-rockchip/sdram_rk3036.h +0 -2
index 5de3220d6f1..46298165fbc 100644
@@ -5,8 +5,6 @@
 #ifndef _ASM_ARCH_SDRAM_RK3036_H
 #define _ASM_ARCH_SDRAM_RK3036_H
 
-#include <common.h>
-
 struct rk3036_ddr_pctl {
 	u32 scfg;
 	u32 sctl;
arch/arm/include/asm/arch-rockchip/sdram_rk322x.h +0 -2
index 336c5d7e8c4..99942e6aac2 100644
@@ -5,8 +5,6 @@
 #ifndef _ASM_ARCH_SDRAM_RK322X_H
 #define _ASM_ARCH_SDRAM_RK322X_H
 
-#include <common.h>
-
 struct rk322x_sdram_channel {
 	/*
 	 * bit width in address, eg:
arch/arm/include/asm/arch-s32v234/clock.h +0 -2
index c60065444cc..70846094e89 100644
@@ -6,8 +6,6 @@
 #ifndef __ASM_ARCH_CLOCK_H
 #define __ASM_ARCH_CLOCK_H
 
-#include <common.h>
-
 enum mxc_clock {
 	MXC_ARM_CLK = 0,
 	MXC_BUS_CLK,
arch/arm/include/asm/arch-sunxi/rsb.h +0 -1
index 616b6e2a649..8c64a995f25 100644
@@ -11,7 +11,6 @@
 #ifndef __SUNXI_RSB_H
 #define __SUNXI_RSB_H
 
-#include <common.h>
 #include <asm/io.h>
 
 struct sunxi_rsb_reg {
arch/arm/include/asm/arch-tegra/ivc.h +0 -2
index 53cb56d2713..52c10b8fab3 100644
@@ -6,8 +6,6 @@
 #ifndef _ASM_ARCH_TEGRA_IVC_H
 #define _ASM_ARCH_TEGRA_IVC_H
 
-#include <common.h>
-
 /*
  * Tegra IVC is a communication protocol that transfers fixed-size frames
  * bi-directionally and in-order between the local CPU and some remote entity.
arch/arm/include/asm/arch-tegra/tegra_mmc.h +0 -1
index 70dcf4aa663..d6a55764ba3 100644
@@ -8,7 +8,6 @@
 #ifndef __TEGRA_MMC_H_
 #define __TEGRA_MMC_H_
 
-#include <common.h>
 #include <clk.h>
 #include <reset.h>
 #include <fdtdec.h>
arch/arm/include/asm/arch-vf610/clock.h +0 -2
index 72184fd6083..ec9786ce4fe 100644
@@ -6,8 +6,6 @@
 #ifndef __ASM_ARCH_CLOCK_H
 #define __ASM_ARCH_CLOCK_H
 
-#include <common.h>
-
 enum mxc_clock {
 	MXC_ARM_CLK = 0,
 	MXC_BUS_CLK,
arch/arm/include/asm/dma-mapping.h +1 -1
index 8bb3fa2e0ee..8af1ea0aa4d 100644
@@ -7,10 +7,10 @@
 #ifndef __ASM_ARM_DMA_MAPPING_H
 #define __ASM_ARM_DMA_MAPPING_H
 
-#include <common.h>
 #include <asm/cache.h>
 #include <cpu_func.h>
 #include <linux/dma-direction.h>
+#include <linux/kernel.h>
 #include <linux/types.h>
 #include <malloc.h>
 
arch/arm/include/asm/emif.h +0 -1
index dc398efd32c..35424345bf0 100644
@@ -13,7 +13,6 @@
 #ifndef _EMIF_H_
 #define _EMIF_H_
 #include <asm/types.h>
-#include <common.h>
 #include <asm/io.h>
 
 /* Base address */
arch/arm/include/asm/mach-imx/iomux-v3.h +1 -1
index 06dbd8d943a..1de70933550 100644
@@ -10,7 +10,7 @@
 #ifndef __MACH_IOMUX_V3_H__
 #define __MACH_IOMUX_V3_H__
 
-#include <common.h>
+#include <linux/types.h>
 
 /*
  *	build IOMUX_PAD structure
arch/arm/include/asm/mach-imx/sys_proto.h +4 -2
index 35b39b1f86c..ff14c8446a4 100644
@@ -9,9 +9,11 @@
 
 #include <asm/io.h>
 #include <asm/mach-imx/regs-common.h>
-#include <common.h>
+#include <linux/bitops.h>
 #include "../arch-imx/cpu.h"
 
+struct bd_info;
+
 #define soc_rev() (get_cpu_rev() & 0xFF)
 #define is_soc_rev(rev) (soc_rev() == rev)
 
@@ -172,7 +174,7 @@ char nxp_board_rev_string(void);
  * Initializes on-chip ethernet controllers.
  * to override, implement board_eth_init()
  */
-int fecmxc_initialize(bd_t *bis);
+int fecmxc_initialize(struct bd_info *bis);
 u32 get_ahb_clk(void);
 u32 get_periph_clk(void);
 
arch/arm/include/asm/omap_common.h +6 -4
index 54b7cd19bbf..de8fc99d047 100644
@@ -10,10 +10,12 @@
 
 #ifndef __ASSEMBLY__
 
-#include <common.h>
+#include <linux/types.h>
 
 #define NUM_SYS_CLKS	7
 
+struct bd_info;
+
 struct prcm_regs {
 	/* cm1.ckgen */
 	u32 cm_clksel_core;
@@ -683,9 +685,9 @@ void omap_die_id(unsigned int *die_id);
 void gpi2c_init(void);
 
 /* Common FDT Fixups */
-int ft_hs_disable_rng(void *fdt, bd_t *bd);
-int ft_hs_fixup_dram(void *fdt, bd_t *bd);
-int ft_hs_add_tee(void *fdt, bd_t *bd);
+int ft_hs_disable_rng(void *fdt, struct bd_info *bd);
+int ft_hs_fixup_dram(void *fdt, struct bd_info *bd);
+int ft_hs_add_tee(void *fdt, struct bd_info *bd);
 
 /* ABB */
 #define OMAP_ABB_NOMINAL_OPP		0
arch/arm/include/asm/omap_sec_common.h +0 -2
index f10a41f3048..30f0a9f5cbc 100644
@@ -8,8 +8,6 @@
 #ifndef	_OMAP_SEC_COMMON_H_
 #define	_OMAP_SEC_COMMON_H_
 
-#include <common.h>
-
 /*
  * Invoke secure ROM API on high-security (HS) device variants. It formats
  * the variable argument list into the format expected by the ROM code before
arch/arm/include/asm/system.h +2 -1
index 81ccead1127..12394a6a45b 100644
@@ -1,7 +1,6 @@
 #ifndef __ASM_ARM_SYSTEM_H
 #define __ASM_ARM_SYSTEM_H
 
-#include <common.h>
 #include <linux/compiler.h>
 #include <asm/barriers.h>
 
@@ -110,6 +109,8 @@
 
 #ifndef __ASSEMBLY__
 
+struct pt_regs;
+
 u64 get_page_table_size(void);
 #define PGTABLE_SIZE	get_page_table_size()
 
arch/arm/mach-imx/ddrmc-vf610.c +1 -0
index 461fba4d3f6..f25119a7d66 100644
@@ -6,6 +6,7 @@
  * Copyright 2013 Freescale Semiconductor, Inc.
  */
 
+#include <common.h>
 #include <asm/io.h>
 #include <asm/arch/imx-regs.h>
 #include <asm/arch/iomux-vf610.h>
arch/arm/mach-imx/mx7ulp/soc.c +2 -0
index 46484813d2c..981a0a152c2 100644
@@ -2,6 +2,8 @@
 /*
  * Copyright (C) 2016 Freescale Semiconductor, Inc.
  */
+
+#include <common.h>
 #include <cpu_func.h>
 #include <init.h>
 #include <asm/io.h>
arch/arm/mach-imx/sata.c +1 -0
index b9f630952df..c4599aaf68f 100644
@@ -7,6 +7,7 @@
 #include <asm/arch/iomux.h>
 #include <asm/io.h>
 #include <asm/arch/clock.h>
+#include <asm/arch/imx-regs.h>
 #include <asm/arch/sys_proto.h>
 
 int setup_sata(void)
arch/arm/mach-omap2/am33xx/ddr.c +1 -0
index 3fd1d086ff1..8cacc1dea6c 100644
@@ -5,6 +5,7 @@
  * Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/
  */
 
+#include <common.h>
 #include <asm/arch/cpu.h>
 #include <asm/arch/ddr_defs.h>
 #include <asm/arch/sys_proto.h>
arch/arm/mach-omap2/omap4/sdram_elpida.c +1 -0
index a29a264016e..2a18cf0215d 100644
@@ -9,6 +9,7 @@
  * Aneesh V <[email protected]>
  */
 
+#include <common.h>
 #include <asm/emif.h>
 #include <asm/arch/sys_proto.h>
 
arch/arm/mach-omap2/omap5/sdram.c +1 -0
index 6bf4cf4a758..786da45fac8 100644
@@ -10,6 +10,7 @@
  * Sricharan R <[email protected]>
  */
 
+#include <common.h>
 #include <asm/emif.h>
 #include <asm/arch/sys_proto.h>
 
arch/arm/mach-rockchip/rk3036/rk3036.c +2 -0
index e9ada6dea3c..e0a6e4b0259 100644
@@ -2,6 +2,8 @@
 /*
  * (C) Copyright 2019 Rockchip Electronics Co., Ltd
  */
+
+#include <common.h>
 #include <asm/io.h>
 #include <asm/arch-rockchip/grf_rk3036.h>
 #include <asm/arch-rockchip/hardware.h>
board/compulab/cm_t54/mux.c +1 -0
index 50d58217e47..ea90bc6e342 100644
@@ -10,6 +10,7 @@
 #ifndef _CM_T54_MUX_DATA_H
 #define _CM_T54_MUX_DATA_H
 
+#include <common.h>
 #include <asm/arch/mux_omap5.h>
 #include <asm/arch/sys_proto.h>
 
board/el/el6x/el6x.c +1 -0
index 9aa71b99419..03e9364765d 100644
@@ -5,6 +5,7 @@
  * Based on other i.MX6 boards
  */
 
+#include <common.h>
 #include <init.h>
 #include <asm/arch/clock.h>
 #include <asm/arch/imx-regs.h>
board/embest/mx6boards/mx6boards.c +1 -0
index bf5c020af13..b644f273fe2 100644
@@ -12,6 +12,7 @@
  * Copyright (C) 2013 Jon Nettleton <[email protected]>.
  */
 
+#include <common.h>
 #include <init.h>
 #include <asm/arch/clock.h>
 #include <asm/arch/sys_proto.h>
board/gateworks/gw_ventana/common.c +1 -0
index 1240a9da174..64553c0617c 100644
@@ -5,6 +5,7 @@
  * Author: Tim Harvey <[email protected]>
  */
 
+#include <common.h>
 #include <asm/arch/clock.h>
 #include <asm/arch/mx6-pins.h>
 #include <asm/arch/sys_proto.h>
board/grinn/liteboard/board.c +1 -0
index 5d71b639df0..df32e12037b 100644
@@ -4,6 +4,7 @@
  * Copyright (C) 2016 Grinn
  */
 
+#include <common.h>
 #include <command.h>
 #include <init.h>
 #include <asm/arch/clock.h>
board/overo/spl.c +2 -0
index d577e00fbca..91d8091d258 100644
@@ -11,6 +11,8 @@
  * (C) Copyright 2004-2008
  * Texas Instruments, <www.ti.com>
  */
+
+#include <common.h>
 #include <asm/io.h>
 #include <asm/arch/mem.h>
 #include <asm/arch/sys_proto.h>
board/sks-kinkel/sksimx6/sksimx6.c +1 -0
index 59a07a9ffde..fa2acf59a7a 100644
@@ -3,6 +3,7 @@
  * Copyright (C) 2016 Stefano Babic <[email protected]>
  */
 
+#include <common.h>
 #include <asm/arch/clock.h>
 #include <asm/arch/imx-regs.h>
 #include <asm/arch/iomux.h>
board/solidrun/mx6cuboxi/mx6cuboxi.c +1 -0
index 6a96f9ecdb5..13f77a3db27 100644
@@ -13,6 +13,7 @@
  * Ported to SolidRun microSOM by Rabeeh Khoury <[email protected]>
  */
 
+#include <common.h>
 #include <init.h>
 #include <asm/arch/clock.h>
 #include <asm/arch/imx-regs.h>
board/technexion/pico-imx6/spl.c +1 -0
index 06ad0a8c322..bafe9ba6b7a 100644
@@ -6,6 +6,7 @@
  *	   Fabio Estevam <[email protected]>
  */
 
+#include <common.h>
 #include <asm/arch/clock.h>
 #include <asm/arch/imx-regs.h>
 #include <asm/arch/iomux.h>
board/technexion/pico-imx7d/spl.c +1 -0
index 6c432ca5a62..69db77412c5 100644
@@ -5,6 +5,7 @@
  * Author: Richard Hu <[email protected]>
  */
 
+#include <common.h>
 #include <cpu_func.h>
 #include <asm/arch/clock.h>
 #include <asm/arch/imx-regs.h>
board/udoo/udoo_spl.c +1 -0
index b287fbf4106..1a3b136529e 100644
@@ -6,6 +6,7 @@
  * Based on board/wandboard/spl.c
  */
 
+#include <common.h>
 #include <asm/arch/clock.h>
 #include <asm/arch/imx-regs.h>
 #include <asm/arch/iomux.h>
board/wandboard/spl.c +1 -0
index dbd9d0286fd..250043a26d9 100644
@@ -5,6 +5,7 @@
  *         Richard Hu <[email protected]>
  */
 
+#include <common.h>
 #include <asm/arch/clock.h>
 #include <asm/arch/imx-regs.h>
 #include <asm/arch/iomux.h>
board/wandboard/wandboard.c +1 -0
index 5725c5816cd..b879c80cd86 100644
@@ -6,6 +6,7 @@
  * Author: Fabio Estevam <[email protected]>
  */
 
+#include <common.h>
 #include <init.h>
 #include <asm/arch/clock.h>
 #include <asm/arch/crm_regs.h>
drivers/mtd/nand/raw/denali.c +2 -0
index b525b1be549..3a09a8165c1 100644
@@ -11,6 +11,8 @@
 #include <dm/device_compat.h>
 #include <dm/devres.h>
 #include <linux/bitfield.h>
+#include <linux/delay.h>
+#include <linux/dma-direction.h>
 #include <linux/dma-mapping.h>
 #include <linux/err.h>
 #include <linux/errno.h>
drivers/mtd/nand/raw/denali_dt.c +2 -0
index 41b93e660a0..2728e8098fa 100644
@@ -7,6 +7,8 @@
 #include <clk.h>
 #include <dm.h>
 #include <dm/device_compat.h>
+#include <linux/bug.h>
+#include <linux/delay.h>
 #include <linux/io.h>
 #include <linux/ioport.h>
 #include <linux/printk.h>
drivers/usb/eth/lan7x.h +7 -0
index 7af610be370..35965e9645a 100644
@@ -4,7 +4,10 @@
  */
 
 #include <console.h>
+#include <time.h>
 #include <watchdog.h>
+#include <linux/delay.h>
+#include <linux/errno.h>
 
 /* USB Vendor Requests */
 #define USB_VENDOR_REQUEST_WRITE_REGISTER	0xA0
@@ -122,6 +125,10 @@ int lan7x_write_reg(struct usb_device *udev, u32 index, u32 data);
 
 int lan7x_read_reg(struct usb_device *udev, u32 index, u32 *data);
 
+/*
+ * FIXME: Code should not be in header files. Nive this to a file common to
+ * the two drivers.
+ */
 static inline int lan7x_wait_for_bit(struct usb_device *udev,
 				     const char *prefix, const u32 reg,
 				     const u32 mask, const bool set,
include/linux/compat.h +1 -0
index 171188a76f0..712eeaef4ed 100644
@@ -1,6 +1,7 @@
 #ifndef _LINUX_COMPAT_H_
 #define _LINUX_COMPAT_H_
 
+#include <log.h>
 #include <malloc.h>
 #include <linux/types.h>
 #include <linux/err.h>
include/linux/mtd/rawnand.h +1 -0
index bd373b96172..66febc6b721 100644
@@ -16,6 +16,7 @@
 #include <config.h>
 
 #include <dm/device.h>
+#include <linux/bitops.h>
 #include <linux/compat.h>
 #include <linux/mtd/mtd.h>
 #include <linux/mtd/flashchip.h>
include/net.h +5 -1
index 82500eeb30f..774ae2de63c 100644
@@ -15,9 +15,13 @@
 #include <asm/cache.h>
 #include <asm/byteorder.h>	/* for nton* / ntoh* stuff */
 #include <env.h>
+#include <log.h>
+#include <time.h>
 #include <linux/if_ether.h>
 #include <rand.h>
 
+struct cmd_tbl_s;
+
 #define DEBUG_LL_STATE 0	/* Link local state machine changes */
 #define DEBUG_DEV_PKT 0		/* Packets or info directed to the device */
 #define DEBUG_NET_PKT 0		/* Packets on info on the network at large */
@@ -59,7 +63,7 @@ struct in_addr {
  * @argv: List of arguments
  * @return result (see enum command_ret_t)
  */
-int do_tftpb(cmd_tbl_t *cmdtp, int flag, int argc, char *const argv[]);
+int do_tftpb(struct cmd_tbl_s *cmdtp, int flag, int argc, char *const argv[]);
 
 /**
  * An incoming packet handler.
include/spl.h +2 -0
index 6087cd793c2..6d9f4e56348 100644
@@ -22,6 +22,8 @@
 #define MMCSD_MODE_FS		2
 #define MMCSD_MODE_EMMCBOOT	3
 
+struct image_header;
+
 /*
  * u_boot_first_phase() - check if this is the first U-Boot phase
  *
Signature · 1 line
2.26.0.292.g33ef6b2f38-goog
#5 lore raw

PATCH 4/18 common: Drop net.h from common header

In reply to Simon Glass

Move this header out of the common header. Network support is used in quite a few places but it still does not warrant blanket inclusion.

Note that this net.h header itself has quite a lot in it. It could be split into the driver-mode support, functions, structures, checksumming, etc.

---

 arch/arm/cpu/arm11/cpu.c                          | 1 +
 arch/arm/cpu/arm1136/mx35/generic.c               | 1 +
 arch/arm/cpu/arm926ejs/cache.c                    | 1 +
 arch/arm/cpu/arm926ejs/cpu.c                      | 1 +
 arch/arm/cpu/arm926ejs/lpc32xx/cpu.c              | 1 +
 arch/arm/cpu/arm926ejs/mx25/generic.c             | 1 +
 arch/arm/cpu/arm926ejs/mx27/generic.c             | 1 +
 arch/arm/cpu/arm926ejs/mxs/mxs.c                  | 1 +
 arch/arm/cpu/armv7/cache_v7.c                     | 1 +
 arch/arm/cpu/armv7/iproc-common/hwinit-common.c   | 1 +
 arch/arm/cpu/armv7/kona-common/hwinit-common.c    | 1 +
 arch/arm/cpu/armv7/ls102xa/cpu.c                  | 1 +
 arch/arm/cpu/armv7/ls102xa/fdt.c                  | 1 +
 arch/arm/cpu/armv7/sunxi/psci.c                   | 1 +
 arch/arm/cpu/armv7/vf610/generic.c                | 2 ++
 arch/arm/cpu/armv7/virt-v7.c                      | 1 +
 arch/arm/cpu/armv7m/cache.c                       | 1 +
 arch/arm/cpu/armv8/cache_v8.c                     | 1 +
 arch/arm/cpu/armv8/cpu-dt.c                       | 1 +
 arch/arm/cpu/armv8/cpu.c                          | 1 +
 arch/arm/cpu/armv8/exception_level.c              | 1 +
 arch/arm/cpu/armv8/fsl-layerscape/cpu.c           | 2 ++
 arch/arm/cpu/armv8/fsl-layerscape/fdt.c           | 1 +
 arch/arm/cpu/armv8/fsl-layerscape/mp.c            | 1 +
 arch/arm/cpu/armv8/fsl-layerscape/ppa.c           | 1 +
 arch/arm/cpu/armv8/fsl-layerscape/soc.c           | 1 +
 arch/arm/cpu/armv8/fsl-layerscape/spl.c           | 1 +
 arch/arm/cpu/armv8/fwcall.c                       | 1 +
 arch/arm/cpu/armv8/s32v234/cpu.c                  | 1 +
 arch/arm/cpu/armv8/s32v234/generic.c              | 1 +
 arch/arm/cpu/armv8/sec_firmware.c                 | 1 +
 arch/arm/cpu/pxa/cache.c                          | 1 +
 arch/arm/cpu/pxa/pxa2xx.c                         | 1 +
 arch/arm/include/asm/arch-tegra/cboot.h           | 3 +++
 arch/arm/include/asm/mach-imx/dma.h               | 1 +
 arch/arm/lib/bootm.c                              | 1 +
 arch/arm/lib/cache.c                              | 1 +
 arch/arm/lib/psci-dt.c                            | 1 +
 arch/arm/lib/spl.c                                | 1 +
 arch/arm/mach-bcm283x/mbox.c                      | 1 +
 arch/arm/mach-exynos/lowlevel_init.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/cpu.c                           | 1 +
 arch/arm/mach-imx/imx8/cpu.c                      | 1 +
 arch/arm/mach-imx/mx5/soc.c                       | 1 +
 arch/arm/mach-imx/mx7/psci-mx7.c                  | 1 +
 arch/arm/mach-imx/sip.c                           | 1 +
 arch/arm/mach-k3/common.c                         | 1 +
 arch/arm/mach-k3/security.c                       | 1 +
 arch/arm/mach-k3/sysfw-loader.c                   | 1 +
 arch/arm/mach-keystone/init.c                     | 1 +
 arch/arm/mach-kirkwood/cache.c                    | 1 +
 arch/arm/mach-kirkwood/cpu.c                      | 1 +
 arch/arm/mach-mediatek/mt7622/init.c              | 1 +
 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-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/sm.c                          | 1 +
 arch/arm/mach-mvebu/arm64-common.c                | 1 +
 arch/arm/mach-omap2/am33xx/board.c                | 1 +
 arch/arm/mach-omap2/omap3/emac.c                  | 1 +
 arch/arm/mach-orion5x/cpu.c                       | 1 +
 arch/arm/mach-rmobile/cpu_info.c                  | 1 +
 arch/arm/mach-rmobile/emac.c                      | 1 +
 arch/arm/mach-rockchip/board.c                    | 1 +
 arch/arm/mach-rockchip/bootrom.c                  | 1 +
 arch/arm/mach-s5pc1xx/cache.c                     | 1 +
 arch/arm/mach-socfpga/misc.c                      | 1 +
 arch/arm/mach-stm32mp/cpu.c                       | 1 +
 arch/arm/mach-stm32mp/psci.c                      | 1 +
 arch/arm/mach-sunxi/board.c                       | 1 +
 arch/arm/mach-tegra/board.c                       | 1 +
 arch/arm/mach-tegra/cboot.c                       | 1 +
 arch/arm/mach-tegra/tegra210/clock.c              | 1 +
 arch/arm/mach-u8500/cache.c                       | 1 +
 arch/arm/mach-uniphier/arm32/psci.c               | 1 +
 arch/arm/mach-uniphier/micro-support-card.c       | 3 ++-
 arch/arm/mach-versal/cpu.c                        | 1 +
 arch/arm/mach-zynq/cpu.c                          | 1 +
 arch/arm/mach-zynqmp/cpu.c                        | 1 +
 arch/m68k/cpu/mcf523x/cpu.c                       | 1 +
 arch/m68k/cpu/mcf52x2/cpu.c                       | 1 +
 arch/m68k/cpu/mcf532x/cpu.c                       | 1 +
 arch/m68k/cpu/mcf5445x/cpu.c                      | 1 +
 arch/m68k/cpu/mcf547x_8x/cpu.c                    | 1 +
 arch/microblaze/cpu/cache.c                       | 1 +
 arch/microblaze/lib/bootm.c                       | 1 +
 arch/mips/include/asm/cacheops.h                  | 2 ++
 arch/mips/lib/cache.c                             | 1 +
 arch/nds32/lib/cache.c                            | 1 +
 arch/powerpc/cpu/mpc83xx/cpu.c                    | 1 +
 arch/powerpc/cpu/mpc85xx/cpu_init.c               | 1 +
 arch/powerpc/cpu/mpc8xx/cpu.c                     | 1 +
 arch/powerpc/cpu/mpc8xxx/cpu.c                    | 1 +
 arch/riscv/cpu/ax25/cache.c                       | 1 +
 arch/riscv/cpu/generic/cpu.c                      | 1 +
 arch/sh/cpu/sh4/cache.c                           | 1 +
 arch/sh/cpu/sh4/cpu.c                             | 1 +
 arch/x86/cpu/mtrr.c                               | 1 +
 arch/x86/cpu/quark/dram.c                         | 1 +
 arch/x86/include/asm/mp.h                         | 1 +
 arch/x86/lib/coreboot_table.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/ucp1020.c                  | 1 +
 board/CZ.NIC/turris_mox/turris_mox.c              | 1 +
 board/CZ.NIC/turris_omnia/turris_omnia.c          | 1 +
 board/Marvell/db-88f6720/db-88f6720.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/Synology/ds414/cmd_syno.c                   | 1 +
 board/abilis/tb100/tb100.c                        | 1 +
 board/advantech/dms-ba16/dms-ba16.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/amlogic/s400/s400.c                         | 1 +
 board/amlogic/sei510/sei510.c                     | 1 +
 board/amlogic/sei610/sei610.c                     | 1 +
 board/amlogic/u200/u200.c                         | 1 +
 board/amlogic/w400/w400.c                         | 1 +
 board/armltd/integrator/integrator.c              | 1 +
 board/armltd/vexpress/vexpress_common.c           | 1 +
 board/armltd/vexpress64/vexpress64.c              | 1 +
 board/atmel/at91rm9200ek/at91rm9200ek.c           | 1 +
 board/atmel/at91sam9n12ek/at91sam9n12ek.c         | 1 +
 board/atmel/common/mac-spi-nor.c                  | 1 +
 board/atmel/common/mac_eeprom.c                   | 1 +
 board/bachmann/ot1200/ot1200.c                    | 1 +
 board/barco/platinum/platinum.c                   | 1 +
 board/barco/titanium/titanium.c                   | 1 +
 board/birdland/bav335x/board.c                    | 1 +
 board/bluegiga/apx4devkit/apx4devkit.c            | 1 +
 board/bosch/shc/board.c                           | 1 +
 board/boundary/nitrogen6x/nitrogen6x.c            | 1 +
 board/broadcom/bcm_ep/board.c                     | 2 ++
 board/broadcom/bcmns2/northstar2.c                | 1 +
 board/cavium/thunderx/atf.c                       | 1 +
 board/cavium/thunderx/thunderx.c                  | 1 +
 board/ccv/xpress/xpress.c                         | 1 +
 board/cirrus/edb93xx/edb93xx.c                    | 1 +
 board/compulab/cl-som-imx7/cl-som-imx7.c          | 1 +
 board/compulab/cm_fx6/cm_fx6.c                    | 1 +
 board/compulab/cm_t335/cm_t335.c                  | 1 +
 board/compulab/cm_t43/cm_t43.c                    | 1 +
 board/compulab/cm_t54/cm_t54.c                    | 1 +
 board/congatec/cgtqmx6eval/cgtqmx6eval.c          | 1 +
 board/creative/xfi3/xfi3.c                        | 1 +
 board/dhelectronics/dh_stm32mp1/board.c           | 1 +
 board/el/el6x/el6x.c                              | 1 +
 board/embest/mx6boards/mx6boards.c                | 1 +
 board/esd/meesc/meesc.c                           | 1 +
 board/esd/vme8349/vme8349.c                       | 1 +
 board/freescale/b4860qds/eth_b4860qds.c           | 1 +
 board/freescale/bsc9132qds/bsc9132qds.c           | 1 +
 board/freescale/c29xpcie/c29xpcie.c               | 1 +
 board/freescale/common/ns_access.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/ls1012afrdm/ls1012afrdm.c         | 1 +
 board/freescale/ls1012aqds/ls1012aqds.c           | 1 +
 board/freescale/ls1012ardb/ls1012ardb.c           | 1 +
 board/freescale/ls1021aiot/ls1021aiot.c           | 1 +
 board/freescale/ls1021aqds/eth.c                  | 1 +
 board/freescale/ls1021atsn/ls1021atsn.c           | 1 +
 board/freescale/ls1021atwr/ls1021atwr.c           | 1 +
 board/freescale/ls1028a/ls1028a.c                 | 1 +
 board/freescale/ls1043aqds/eth.c                  | 1 +
 board/freescale/ls1043ardb/eth.c                  | 1 +
 board/freescale/ls1046afrwy/eth.c                 | 1 +
 board/freescale/ls1046aqds/eth.c                  | 1 +
 board/freescale/ls1046ardb/eth.c                  | 1 +
 board/freescale/m5253demo/m5253demo.c             | 1 +
 board/freescale/mpc8308rdb/mpc8308rdb.c           | 1 +
 board/freescale/mpc8315erdb/mpc8315erdb.c         | 1 +
 board/freescale/mpc837xemds/mpc837xemds.c         | 1 +
 board/freescale/mpc8536ds/mpc8536ds.c             | 1 +
 board/freescale/mpc8544ds/mpc8544ds.c             | 1 +
 board/freescale/mpc8548cds/mpc8548cds.c           | 1 +
 board/freescale/mpc8572ds/mpc8572ds.c             | 1 +
 board/freescale/mpc8610hpcd/mpc8610hpcd.c         | 1 +
 board/freescale/mpc8641hpcn/mpc8641hpcn.c         | 1 +
 board/freescale/mx28evk/mx28evk.c                 | 1 +
 board/freescale/mx31pdk/mx31pdk.c                 | 1 +
 board/freescale/mx35pdk/mx35pdk.c                 | 1 +
 board/freescale/mx53ard/mx53ard.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/mx6sxsabreauto/mx6sxsabreauto.c   | 1 +
 board/freescale/mx6sxsabresd/mx6sxsabresd.c       | 1 +
 board/freescale/mx6ul_14x14_evk/mx6ul_14x14_evk.c | 1 +
 board/freescale/mx7dsabresd/mx7dsabresd.c         | 1 +
 board/freescale/p1010rdb/p1010rdb.c               | 1 +
 board/freescale/p1022ds/p1022ds.c                 | 1 +
 board/freescale/p1023rdb/p1023rdb.c               | 1 +
 board/freescale/p1_p2_rdb_pc/p1_p2_rdb_pc.c       | 1 +
 board/freescale/p1_twr/p1_twr.c                   | 1 +
 board/freescale/p2041rdb/eth.c                    | 1 +
 board/freescale/qemu-ppce500/qemu-ppce500.c       | 1 +
 board/freescale/t102xqds/eth_t102xqds.c           | 1 +
 board/freescale/t102xrdb/eth_t102xrdb.c           | 1 +
 board/freescale/t1040qds/eth.c                    | 1 +
 board/freescale/t104xrdb/eth.c                    | 1 +
 board/freescale/t208xqds/eth_t208xqds.c           | 1 +
 board/freescale/t208xrdb/eth_t208xrdb.c           | 1 +
 board/freescale/t4qds/eth.c                       | 1 +
 board/freescale/t4rdb/eth.c                       | 1 +
 board/gateworks/gw_ventana/gw_ventana.c           | 1 +
 board/gdsys/a38x/controlcenterdc.c                | 1 +
 board/gdsys/p1022/controlcenterd.c                | 1 +
 board/grinn/chiliboard/board.c                    | 1 +
 board/gumstix/duovero/duovero.c                   | 1 +
 board/gumstix/pepper/board.c                      | 1 +
 board/highbank/highbank.c                         | 1 +
 board/hisilicon/hikey960/hikey960.c               | 1 +
 board/hisilicon/poplar/poplar.c                   | 1 +
 board/imgtec/malta/malta.c                        | 1 +
 board/isee/igep003x/board.c                       | 1 +
 board/isee/igep00x0/igep00x0.c                    | 1 +
 board/k+p/kp_imx53/kp_id_rev.c                    | 1 +
 board/keymile/kmp204x/eth.c                       | 1 +
 board/kmc/kzm9g/kzm9g.c                           | 1 +
 board/kobol/helios4/helios4.c                     | 1 +
 board/liebherr/xea/xea.c                          | 1 +
 board/logicpd/am3517evm/am3517evm.c               | 1 +
 board/logicpd/omap3som/omap3logic.c               | 1 +
 board/logicpd/zoom1/zoom1.c                       | 1 +
 board/mpc8308_p1m/mpc8308_p1m.c                   | 1 +
 board/nvidia/p2371-2180/p2371-2180.c              | 1 +
 board/nvidia/p2771-0000/p2771-0000.c              | 1 +
 board/overo/overo.c                               | 1 +
 board/phytec/pcm051/board.c                       | 1 +
 board/phytec/pcm058/pcm058.c                      | 1 +
 board/phytec/pfla02/pfla02.c                      | 1 +
 board/phytec/phycore_rk3288/phycore-rk3288.c      | 1 +
 board/phytium/durian/durian.c                     | 1 +
 board/ppcag/bg0900/bg0900.c                       | 1 +
 board/qemu-mips/qemu-mips.c                       | 1 +
 board/qualcomm/dragonboard410c/dragonboard410c.c  | 2 ++
 board/qualcomm/dragonboard820c/dragonboard820c.c  | 1 +
 board/renesas/MigoR/migo_r.c                      | 1 +
 board/renesas/blanche/blanche.c                   | 1 +
 board/renesas/r2dplus/r2dplus.c                   | 1 +
 board/renesas/r7780mp/r7780mp.c                   | 1 +
 board/renesas/sh7752evb/sh7752evb.c               | 1 +
 board/renesas/sh7753evb/sh7753evb.c               | 1 +
 board/renesas/sh7757lcr/sh7757lcr.c               | 1 +
 board/rockchip/tinker_rk3288/tinker-rk3288.c      | 1 +
 board/samsung/common/board.c                      | 1 +
 board/samsung/smdkc100/smdkc100.c                 | 1 +
 board/samsung/smdkv310/smdkv310.c                 | 1 +
 board/sandisk/sansa_fuze_plus/sfp.c               | 1 +
 board/sbc8548/sbc8548.c                           | 1 +
 board/schulercontrol/sc_sps_1/sc_sps_1.c          | 1 +
 board/seco/mx6quq7/mx6quq7.c                      | 1 +
 board/siemens/draco/board.c                       | 1 +
 board/siemens/pxm2/board.c                        | 1 +
 board/siemens/rut/board.c                         | 1 +
 board/siemens/smartweb/smartweb.c                 | 1 +
 board/silica/pengwyn/board.c                      | 1 +
 board/sks-kinkel/sksimx6/sksimx6.c                | 1 +
 board/softing/vining_2000/vining_2000.c           | 1 +
 board/softing/vining_fpga/socfpga.c               | 1 +
 board/solidrun/clearfog/clearfog.c                | 1 +
 board/solidrun/mx6cuboxi/mx6cuboxi.c              | 1 +
 board/spear/spear300/spear300.c                   | 1 +
 board/spear/spear310/spear310.c                   | 1 +
 board/spear/spear320/spear320.c                   | 1 +
 board/spear/spear600/spear600.c                   | 1 +
 board/spear/x600/x600.c                           | 1 +
 board/st/stih410-b2260/board.c                    | 1 +
 board/st/stm32mp1/stm32mp1.c                      | 1 +
 board/st/stv0991/stv0991.c                        | 1 +
 board/synopsys/axs10x/axs10x.c                    | 1 +
 board/synopsys/hsdk/hsdk.c                        | 1 +
 board/tcl/sl50/board.c                            | 1 +
 board/technexion/pico-imx6/pico-imx6.c            | 1 +
 board/technexion/pico-imx6ul/pico-imx6ul.c        | 1 +
 board/technexion/pico-imx7d/pico-imx7d.c          | 1 +
 board/technologic/ts4800/ts4800.c                 | 1 +
 board/theadorable/theadorable.c                   | 1 +
 board/ti/am335x/board.c                           | 1 +
 board/ti/am43xx/board.c                           | 1 +
 board/ti/am57xx/board.c                           | 1 +
 board/ti/am65x/evm.c                              | 1 +
 board/ti/beagle/beagle.c                          | 1 +
 board/ti/common/board_detect.c                    | 1 +
 board/ti/dra7xx/evm.c                             | 1 +
 board/ti/evm/evm.c                                | 1 +
 board/ti/j721e/evm.c                              | 1 +
 board/ti/omap5_uevm/evm.c                         | 1 +
 board/ti/panda/panda.c                            | 1 +
 board/ti/sdp4430/sdp.c                            | 1 +
 board/ti/ti814x/evm.c                             | 1 +
 board/ti/ti816x/evm.c                             | 1 +
 board/toradex/apalis_imx6/apalis_imx6.c           | 1 +
 board/toradex/colibri_imx6/colibri_imx6.c         | 1 +
 board/toradex/colibri_imx7/colibri_imx7.c         | 1 +
 board/toradex/colibri_pxa270/colibri_pxa270.c     | 1 +
 board/toradex/common/tdx-cfg-block.c              | 1 +
 board/tqc/tqma6/tqma6_mba6.c                      | 1 +
 board/tqc/tqma6/tqma6_wru4.c                      | 1 +
 board/ucRobotics/bubblegum_96/bubblegum_96.c      | 1 +
 board/udoo/neo/neo.c                              | 1 +
 board/udoo/udoo.c                                 | 1 +
 board/variscite/dart_6ul/dart_6ul.c               | 1 +
 board/varisys/cyrus/eth.c                         | 1 +
 board/vscom/baltos/board.c                        | 1 +
 board/warp7/warp7.c                               | 1 +
 board/xilinx/versal/board.c                       | 1 +
 board/xilinx/zynqmp/zynqmp.c                      | 2 ++
 cmd/bdinfo.c                                      | 2 ++
 cmd/elf.c                                         | 1 +
 cmd/ethsw.c                                       | 1 +
 cmd/fat.c                                         | 1 +
 cmd/load.c                                        | 1 +
 cmd/mem.c                                         | 1 +
 cmd/mvebu/bubt.c                                  | 1 +
 cmd/nand.c                                        | 1 +
 cmd/nvedit.c                                      | 1 +
 cmd/pxe_utils.c                                   | 1 +
 cmd/sf.c                                          | 1 +
 cmd/tlv_eeprom.c                                  | 1 +
 cmd/ximg.c                                        | 1 +
 common/board_f.c                                  | 1 +
 common/board_r.c                                  | 1 +
 common/bootm.c                                    | 2 ++
 common/bouncebuf.c                                | 1 +
 common/fdt_support.c                              | 1 +
 common/hash.c                                     | 1 +
 common/image.c                                    | 1 +
 common/lcd.c                                      | 1 +
 common/main.c                                     | 1 +
 common/spl/spl_atf.c                              | 1 +
 common/spl/spl_fit.c                              | 1 +
 common/usb_storage.c                              | 1 +
 disk/part_efi.c                                   | 1 +
 disk/part_iso.c                                   | 1 +
 drivers/ata/dwc_ahsata.c                          | 1 +
 drivers/ata/sata_mv.c                             | 1 +
 drivers/bootcount/bootcount.c                     | 1 +
 drivers/bootcount/bootcount_ram.c                 | 1 +
 drivers/clk/clk_versal.c                          | 1 +
 drivers/core/device.c                             | 1 +
 drivers/crypto/ace_sha.c                          | 1 +
 drivers/crypto/fsl/fsl_blob.c                     | 1 +
 drivers/crypto/fsl/fsl_hash.c                     | 1 +
 drivers/crypto/fsl/jobdesc.c                      | 1 +
 drivers/crypto/fsl/jr.c                           | 2 ++
 drivers/ddr/altera/sdram_arria10.c                | 1 +
 drivers/ddr/altera/sdram_soc64.c                  | 1 +
 drivers/dma/apbh_dma.c                            | 1 +
 drivers/dma/bcm6348-iudma.c                       | 1 +
 drivers/dma/dma-uclass.c                          | 1 +
 drivers/dma/ti-edma3.c                            | 1 +
 drivers/dma/ti/k3-udma.c                          | 1 +
 drivers/firmware/firmware-zynqmp.c                | 1 +
 drivers/fpga/versalpl.c                           | 1 +
 drivers/fpga/zynqmppl.c                           | 1 +
 drivers/fpga/zynqpl.c                             | 1 +
 drivers/mmc/dw_mmc.c                              | 1 +
 drivers/mmc/fsl_esdhc.c                           | 1 +
 drivers/mmc/fsl_esdhc_imx.c                       | 1 +
 drivers/mmc/omap_hsmmc.c                          | 1 +
 drivers/mmc/sdhci.c                               | 1 +
 drivers/mmc/stm32_sdmmc2.c                        | 1 +
 drivers/mtd/nand/raw/denali.c                     | 3 +++
 drivers/mtd/nand/raw/mxs_nand.c                   | 1 +
 drivers/mtd/nand/raw/mxs_nand_spl.c               | 1 +
 drivers/mtd/nand/raw/nand_util.c                  | 1 +
 drivers/net/ag7xxx.c                              | 2 ++
 drivers/net/bcm-sf2-eth-gmac.c                    | 1 +
 drivers/net/bcmgenet.c                            | 1 +
 drivers/net/calxedaxgmac.c                        | 1 +
 drivers/net/designware.c                          | 2 ++
 drivers/net/designware.h                          | 3 +++
 drivers/net/dwc_eth_qos.c                         | 1 +
 drivers/net/e1000.c                               | 2 ++
 drivers/net/ep93xx_eth.c                          | 1 +
 drivers/net/fec_mxc.c                             | 1 +
 drivers/net/fm/init.c                             | 1 +
 drivers/net/fsl_enetc.c                           | 2 ++
 drivers/net/ftgmac100.c                           | 1 +
 drivers/net/ftmac110.c                            | 1 +
 drivers/net/gmac_rockchip.c                       | 1 +
 drivers/net/higmacv300.c                          | 1 +
 drivers/net/mt7628-eth.c                          | 1 +
 drivers/net/mtk_eth.c                             | 2 ++
 drivers/net/mvneta.c                              | 1 +
 drivers/net/mvpp2.c                               | 1 +
 drivers/net/pcnet.c                               | 1 +
 drivers/net/phy/aquantia.c                        | 1 +
 drivers/net/ravb.c                                | 1 +
 drivers/net/rtl8169.c                             | 1 +
 drivers/net/sh_eth.c                              | 1 +
 drivers/net/smc91111.h                            | 1 +
 drivers/net/smc911x.h                             | 1 +
 drivers/net/sni_ave.c                             | 1 +
 drivers/net/sun8i_emac.c                          | 1 +
 drivers/net/ti/am65-cpsw-nuss.c                   | 1 +
 drivers/net/ti/davinci_emac.c                     | 1 +
 drivers/net/zynq_gem.c                            | 1 +
 drivers/ram/stm32mp1/stm32mp1_tests.c             | 1 +
 drivers/ram/stm32mp1/stm32mp1_tuning.c            | 1 +
 drivers/remoteproc/rproc-elf-loader.c             | 1 +
 drivers/rng/sandbox_rng.c                         | 1 +
 drivers/soc/ti/k3-navss-ringacc.c                 | 1 +
 drivers/spi/mxs_spi.c                             | 1 +
 drivers/spi/ti_qspi.c                             | 1 +
 drivers/spi/zynqmp_gqspi.c                        | 1 +
 drivers/usb/cdns3/ep0.c                           | 1 +
 drivers/usb/eth/asix.c                            | 1 +
 drivers/usb/eth/lan78xx.c                         | 1 +
 drivers/usb/eth/lan7x.c                           | 1 +
 drivers/usb/eth/mcs7830.c                         | 1 +
 drivers/usb/eth/r8152.c                           | 1 +
 drivers/usb/eth/smsc95xx.c                        | 1 +
 drivers/usb/eth/usb_ether.c                       | 2 ++
 drivers/usb/gadget/ci_udc.c                       | 1 +
 drivers/usb/host/dwc2.c                           | 1 +
 drivers/usb/host/ehci-hcd.c                       | 1 +
 drivers/usb/host/ohci-hcd.c                       | 1 +
 drivers/video/bcm2835.c                           | 1 +
 drivers/video/fsl_dcu_fb.c                        | 1 +
 drivers/video/imx/mxc_ipuv3_fb.c                  | 1 +
 drivers/video/mvebu_lcd.c                         | 1 +
 drivers/video/mxsfb.c                             | 1 +
 drivers/video/tegra.c                             | 1 +
 drivers/video/video-uclass.c                      | 1 +
 env/fat.c                                         | 1 +
 env/sf.c                                          | 1 +
 examples/standalone/smc911x_eeprom.c              | 1 +
 fs/ext4/ext4_common.h                             | 1 +
 fs/fat/fat.c                                      | 1 +
 fs/fat/fat_write.c                                | 1 +
 include/common.h                                  | 1 -
 include/dwmmc.h                                   | 1 +
 include/log.h                                     | 1 +
 include/net.h                                     | 9 ++++++---
 include/netdev.h                                  | 1 +
 include/scsi.h                                    | 1 +
 lib/efi_loader/efi_device_path.c                  | 1 +
 lib/efi_loader/efi_memory.c                       | 1 +
 lib/efi_loader/efi_net.c                          | 1 +
 lib/efi_selftest/efi_selftest_block_device.c      | 1 +
 lib/efi_selftest/efi_selftest_console.c           | 1 +
 lib/efi_selftest/efi_selftest_snp.c               | 1 +
 lib/fdtdec.c                                      | 1 +
 lib/image-sparse.c                                | 1 +
 lib/linux_compat.c                                | 1 +
 lib/net_utils.c                                   | 1 +
 lib/uuid.c                                        | 1 +
 net/arp.c                                         | 1 +
 net/bootp.c                                       | 1 +
 net/ping.c                                        | 1 +
 test/lib/test_aes.c                               | 1 +
 468 files changed, 495 insertions(+), 5 deletions(-)
arch/arm/cpu/arm11/cpu.c +1 -0
index 177d1f40b93..ffe35111d58 100644
@@ -18,6 +18,7 @@
 #include <command.h>
 #include <cpu_func.h>
 #include <irq_func.h>
+#include <asm/cache.h>
 #include <asm/system.h>
 
 static void cache_flush(void);
arch/arm/cpu/arm1136/mx35/generic.c +1 -0
index 45bf49b5ac7..c78f2cbfc93 100644
@@ -9,6 +9,7 @@
 #include <common.h>
 #include <clock_legacy.h>
 #include <div64.h>
+#include <net.h>
 #include <asm/io.h>
 #include <linux/errno.h>
 #include <asm/arch/imx-regs.h>
arch/arm/cpu/arm926ejs/cache.c +1 -0
index 7b7eaaf31df..acab9bccc01 100644
@@ -4,6 +4,7 @@
  * Ilya Yanok, EmCraft Systems
  */
 #include <cpu_func.h>
+#include <asm/cache.h>
 #include <linux/types.h>
 #include <common.h>
 
arch/arm/cpu/arm926ejs/cpu.c +1 -0
index 6ab320da7d9..93d7a02ed4c 100644
@@ -16,6 +16,7 @@
 #include <command.h>
 #include <cpu_func.h>
 #include <irq_func.h>
+#include <asm/cache.h>
 #include <asm/system.h>
 
 static void cache_flush(void);
arch/arm/cpu/arm926ejs/lpc32xx/cpu.c +1 -0
index 4c59a44f7e6..2bc3513abfa 100644
@@ -5,6 +5,7 @@
 
 #include <common.h>
 #include <cpu_func.h>
+#include <net.h>
 #include <netdev.h>
 #include <asm/arch/cpu.h>
 #include <asm/arch/clk.h>
arch/arm/cpu/arm926ejs/mx25/generic.c +1 -0
index 09bda0e3398..ef8d2d202d5 100644
@@ -11,6 +11,7 @@
 #include <common.h>
 #include <clock_legacy.h>
 #include <div64.h>
+#include <net.h>
 #include <netdev.h>
 #include <vsprintf.h>
 #include <asm/io.h>
arch/arm/cpu/arm926ejs/mx27/generic.c +1 -0
index 9bed0e91bea..a003ab816a0 100644
@@ -6,6 +6,7 @@
 
 #include <common.h>
 #include <div64.h>
+#include <net.h>
 #include <netdev.h>
 #include <vsprintf.h>
 #include <asm/io.h>
arch/arm/cpu/arm926ejs/mxs/mxs.c +1 -0
index 16c080a1e15..f65053c4b65 100644
@@ -12,6 +12,7 @@
 #include <common.h>
 #include <cpu_func.h>
 #include <hang.h>
+#include <net.h>
 #include <linux/errno.h>
 #include <asm/io.h>
 #include <asm/arch/clock.h>
arch/arm/cpu/armv7/cache_v7.c +1 -0
index 99eb7db3426..146cf526089 100644
@@ -5,6 +5,7 @@
  * Aneesh V <[email protected]>
  */
 #include <cpu_func.h>
+#include <asm/cache.h>
 #include <linux/types.h>
 #include <common.h>
 #include <asm/armv7.h>
arch/arm/cpu/armv7/iproc-common/hwinit-common.c +1 -0
index a5445338cb7..896d2f95694 100644
@@ -5,6 +5,7 @@
 
 #include <common.h>
 #include <cpu_func.h>
+#include <asm/cache.h>
 
 #if !CONFIG_IS_ENABLED(SYS_DCACHE_OFF)
 void enable_caches(void)
arch/arm/cpu/armv7/kona-common/hwinit-common.c +1 -0
index 6bf89e07d87..cfc7c9fbc64 100644
@@ -5,6 +5,7 @@
 
 #include <common.h>
 #include <cpu_func.h>
+#include <asm/cache.h>
 #include <linux/sizes.h>
 
 #if !CONFIG_IS_ENABLED(SYS_DCACHE_OFF)
arch/arm/cpu/armv7/ls102xa/cpu.c +1 -0
index 664c9c1f4de..c544f38641b 100644
@@ -5,6 +5,7 @@
 
 #include <common.h>
 #include <cpu_func.h>
+#include <net.h>
 #include <vsprintf.h>
 #include <asm/arch/clock.h>
 #include <asm/io.h>
arch/arm/cpu/armv7/ls102xa/fdt.c +1 -0
index 16ab8676fe4..56ca7b01641 100644
@@ -5,6 +5,7 @@
 
 #include <common.h>
 #include <clock_legacy.h>
+#include <net.h>
 #include <linux/libfdt.h>
 #include <fdt_support.h>
 #include <asm/io.h>
arch/arm/cpu/armv7/sunxi/psci.c +1 -0
index 2c5d99e9acd..1ac50f558a4 100644
@@ -8,6 +8,7 @@
  */
 #include <config.h>
 #include <common.h>
+#include <asm/cache.h>
 
 #include <asm/arch/cpu.h>
 #include <asm/arch/cpucfg.h>
arch/arm/cpu/armv7/vf610/generic.c +2 -0
index 6698b821d0e..c1ba69893fe 100644
@@ -6,6 +6,8 @@
 #include <common.h>
 #include <clock_legacy.h>
 #include <cpu_func.h>
+#include <net.h>
+#include <asm/cache.h>
 #include <asm/io.h>
 #include <asm/arch/imx-regs.h>
 #include <asm/arch/clock.h>
arch/arm/cpu/armv7/virt-v7.c +1 -0
index 26c93393cd7..5ffeca13d91 100644
@@ -11,6 +11,7 @@
 #include <common.h>
 #include <cpu_func.h>
 #include <asm/armv7.h>
+#include <asm/cache.h>
 #include <asm/gic.h>
 #include <asm/io.h>
 #include <asm/secure.h>
arch/arm/cpu/armv7m/cache.c +1 -0
index 73536985579..f607b77d41d 100644
@@ -8,6 +8,7 @@
 #include <cpu_func.h>
 #include <errno.h>
 #include <asm/armv7m.h>
+#include <asm/cache.h>
 #include <asm/io.h>
 
 /* Cache maintenance operation registers */
arch/arm/cpu/armv8/cache_v8.c +1 -0
index 6a5518f9de8..a64bc1bde22 100644
@@ -10,6 +10,7 @@
 #include <common.h>
 #include <cpu_func.h>
 #include <hang.h>
+#include <asm/cache.h>
 #include <asm/system.h>
 #include <asm/armv8/mmu.h>
 
arch/arm/cpu/armv8/cpu-dt.c +1 -0
index 267abb83e8f..97d4473a686 100644
@@ -4,6 +4,7 @@
  */
 
 #include <common.h>
+#include <asm/cache.h>
 #include <asm/psci.h>
 #include <asm/system.h>
 #include <asm/armv8/sec_firmware.h>
arch/arm/cpu/armv8/cpu.c +1 -0
index 35752037bcf..ea40c55dd2c 100644
@@ -14,6 +14,7 @@
 #include <command.h>
 #include <cpu_func.h>
 #include <irq_func.h>
+#include <asm/cache.h>
 #include <asm/system.h>
 #include <asm/secure.h>
 #include <linux/compiler.h>
arch/arm/cpu/armv8/exception_level.c +1 -0
index 9c1f4a8ca8b..10dd034c7b4 100644
@@ -11,6 +11,7 @@
 #include <common.h>
 #include <bootm.h>
 #include <cpu_func.h>
+#include <asm/cache.h>
 #include <asm/setjmp.h>
 
 /**
arch/arm/cpu/armv8/fsl-layerscape/cpu.c +2 -0
index b4438944536..6102fe1b55a 100644
@@ -10,7 +10,9 @@
 #include <fsl_ddr_sdram.h>
 #include <init.h>
 #include <hang.h>
+#include <net.h>
 #include <vsprintf.h>
+#include <asm/cache.h>
 #include <asm/io.h>
 #include <linux/errno.h>
 #include <asm/system.h>
arch/arm/cpu/armv8/fsl-layerscape/fdt.c +1 -0
index 87c3e05f458..4e463fddbdd 100644
@@ -6,6 +6,7 @@
 #include <common.h>
 #include <clock_legacy.h>
 #include <efi_loader.h>
+#include <asm/cache.h>
 #include <linux/libfdt.h>
 #include <fdt_support.h>
 #include <phy.h>
arch/arm/cpu/armv8/fsl-layerscape/mp.c +1 -0
index ca07c68863b..4e779dde1db 100644
@@ -5,6 +5,7 @@
 
 #include <common.h>
 #include <cpu_func.h>
+#include <asm/cache.h>
 #include <asm/io.h>
 #include <asm/system.h>
 #include <asm/arch/mp.h>
arch/arm/cpu/armv8/fsl-layerscape/ppa.c +1 -0
index d391f930415..daaaeab26cc 100644
@@ -6,6 +6,7 @@
 #include <malloc.h>
 #include <config.h>
 #include <errno.h>
+#include <asm/cache.h>
 #include <asm/system.h>
 #include <asm/types.h>
 #include <asm/arch/soc.h>
arch/arm/cpu/armv8/fsl-layerscape/soc.c +1 -0
index d0e10cb007b..ff7f29275c0 100644
@@ -12,6 +12,7 @@
 #include <init.h>
 #include <asm/arch/fsl_serdes.h>
 #include <asm/arch/soc.h>
+#include <asm/cache.h>
 #include <asm/io.h>
 #include <asm/global_data.h>
 #include <asm/arch-fsl-layerscape/config.h>
arch/arm/cpu/armv8/fsl-layerscape/spl.c +1 -0
index accad6e8ae7..2c0ce80c0ca 100644
@@ -8,6 +8,7 @@
 #include <cpu_func.h>
 #include <env.h>
 #include <spl.h>
+#include <asm/cache.h>
 #include <asm/io.h>
 #include <fsl_ifc.h>
 #include <i2c.h>
arch/arm/cpu/armv8/fwcall.c +1 -0
index 4bffec9560a..b29bc30fc25 100644
@@ -8,6 +8,7 @@
 #include <asm-offsets.h>
 #include <config.h>
 #include <version.h>
+#include <asm/cache.h>
 #include <asm/macro.h>
 #include <asm/psci.h>
 #include <asm/ptrace.h>
arch/arm/cpu/armv8/s32v234/cpu.c +1 -0
index b5a9513eadc..f910b6ed72c 100644
@@ -5,6 +5,7 @@
 
 #include <common.h>
 #include <cpu_func.h>
+#include <asm/cache.h>
 #include <asm/io.h>
 #include <asm/system.h>
 #include <asm/armv8/mmu.h>
arch/arm/cpu/armv8/s32v234/generic.c +1 -0
index ec4641dcdbe..98f526e2523 100644
@@ -6,6 +6,7 @@
 #include <common.h>
 #include <clock_legacy.h>
 #include <cpu_func.h>
+#include <net.h>
 #include <asm/io.h>
 #include <asm/arch/imx-regs.h>
 #include <asm/arch/clock.h>
arch/arm/cpu/armv8/sec_firmware.c +1 -0
index 95ea57d571b..36f40a4015d 100644
@@ -6,6 +6,7 @@
 #include <common.h>
 #include <cpu_func.h>
 #include <errno.h>
+#include <asm/cache.h>
 #include <linux/kernel.h>
 #include <asm/io.h>
 #include <asm/system.h>
arch/arm/cpu/pxa/cache.c +1 -0
index d4dfe7f6d85..a2ec5e28c7d 100644
@@ -4,6 +4,7 @@
  */
 
 #include <cpu_func.h>
+#include <asm/cache.h>
 #include <linux/types.h>
 #include <common.h>
 
arch/arm/cpu/pxa/pxa2xx.c +1 -0
index 002ff7988b9..ecf85d2f14b 100644
@@ -13,6 +13,7 @@
 #include <cpu_func.h>
 #include <irq_func.h>
 #include <asm/arch/pxa-regs.h>
+#include <asm/cache.h>
 #include <asm/io.h>
 #include <asm/system.h>
 #include <command.h>
arch/arm/include/asm/arch-tegra/cboot.h +3 -0
index 021c2461757..4e1da98d1f2 100644
@@ -6,7 +6,10 @@
 #ifndef _TEGRA_CBOOT_H_
 #define _TEGRA_CBOOT_H_
 
+#include <net.h>
+
 #ifdef CONFIG_ARM64
+
 extern unsigned long cboot_boot_x0;
 
 void cboot_save_boot_params(unsigned long x0, unsigned long x1,
arch/arm/include/asm/mach-imx/dma.h +1 -0
index ca70731b9eb..8586f3a04d3 100644
@@ -12,6 +12,7 @@
 #ifndef __DMA_H__
 #define __DMA_H__
 
+#include <asm/cache.h>
 #include <linux/list.h>
 #include <linux/compiler.h>
 
arch/arm/lib/bootm.c +1 -0
index a135bcfc7b5..3e387e49e70 100644
@@ -29,6 +29,7 @@
 #include <linux/compiler.h>
 #include <bootm.h>
 #include <vxworks.h>
+#include <asm/cache.h>
 
 #ifdef CONFIG_ARMV7_NONSEC
 #include <asm/armv7.h>
arch/arm/lib/cache.c +1 -0
index 007d4ebc491..41544954578 100644
@@ -9,6 +9,7 @@
 #include <common.h>
 #include <cpu_func.h>
 #include <malloc.h>
+#include <asm/cache.h>
 
 /*
  * Flush range from all levels of d-cache/unified-cache.
arch/arm/lib/psci-dt.c +1 -0
index 246f3c7cb84..0ed29a43f10 100644
@@ -4,6 +4,7 @@
  */
 
 #include <common.h>
+#include <asm/cache.h>
 #include <linux/libfdt.h>
 #include <fdt_support.h>
 #include <linux/sizes.h>
arch/arm/lib/spl.c +1 -0
index 33cc76ba3de..8a24e34f620 100644
@@ -11,6 +11,7 @@
 #include <config.h>
 #include <spl.h>
 #include <image.h>
+#include <asm/cache.h>
 #include <linux/compiler.h>
 #include <asm/mach-types.h>
 
arch/arm/mach-bcm283x/mbox.c +1 -0
index 17855506427..da0b4feacbc 100644
@@ -5,6 +5,7 @@
 
 #include <common.h>
 #include <cpu_func.h>
+#include <asm/cache.h>
 #include <asm/io.h>
 #include <asm/arch/base.h>
 #include <asm/arch/mbox.h>
arch/arm/mach-exynos/lowlevel_init.c +1 -0
index 1e090fd63ca..ecd01051211 100644
@@ -26,6 +26,7 @@
 #include <common.h>
 #include <config.h>
 #include <debug_uart.h>
+#include <asm/system.h>
 #include <asm/arch/cpu.h>
 #include <asm/arch/dmc.h>
 #include <asm/arch/power.h>
arch/arm/mach-exynos/soc.c +1 -0
index c4cf59dabbd..810fa348eea 100644
@@ -6,6 +6,7 @@
 
 #include <common.h>
 #include <cpu_func.h>
+#include <asm/cache.h>
 #include <asm/io.h>
 #include <asm/system.h>
 
arch/arm/mach-exynos/spl_boot.c +1 -0
index 103bb38d450..8b2c5c79c03 100644
@@ -6,6 +6,7 @@
 #include <common.h>
 #include <config.h>
 
+#include <asm/cache.h>
 #include <asm/arch/clock.h>
 #include <asm/arch/clk.h>
 #include <asm/arch/dmc.h>
arch/arm/mach-imx/cache.c +1 -0
index 4fd2e434488..4e3b49a3fdf 100644
@@ -6,6 +6,7 @@
 #include <common.h>
 #include <cpu_func.h>
 #include <asm/armv7.h>
+#include <asm/cache.h>
 #include <asm/pl310.h>
 #include <asm/io.h>
 #include <asm/mach-imx/sys_proto.h>
arch/arm/mach-imx/cpu.c +1 -0
index bfa85c64c6a..5444b07c88e 100644
@@ -8,6 +8,7 @@
 
 #include <bootm.h>
 #include <common.h>
+#include <net.h>
 #include <netdev.h>
 #include <linux/errno.h>
 #include <asm/io.h>
arch/arm/mach-imx/imx8/cpu.c +1 -0
index 21103809577..4c965158fc7 100644
@@ -9,6 +9,7 @@
 #include <cpu_func.h>
 #include <dm.h>
 #include <init.h>
+#include <asm/cache.h>
 #include <dm/device-internal.h>
 #include <dm/lists.h>
 #include <dm/uclass.h>
arch/arm/mach-imx/mx5/soc.c +1 -0
index b3a57bcf4bc..c61fcce3eb4 100644
@@ -11,6 +11,7 @@
 #include <asm/arch/imx-regs.h>
 #include <asm/arch/clock.h>
 #include <asm/arch/sys_proto.h>
+#include <asm/cache.h>
 
 #include <linux/errno.h>
 #include <asm/io.h>
arch/arm/mach-imx/mx7/psci-mx7.c +1 -0
index c8f6ca235b9..f32945ea371 100644
@@ -5,6 +5,7 @@
  */
 
 #include <cpu_func.h>
+#include <asm/cache.h>
 #include <asm/io.h>
 #include <asm/psci.h>
 #include <asm/secure.h>
arch/arm/mach-imx/sip.c +1 -0
index fca520c671b..a4f0ab48863 100644
@@ -5,6 +5,7 @@
 
 #include <common.h>
 #include <asm/arch/sys_proto.h>
+#include <asm/cache.h>
 
 unsigned long call_imx_sip(unsigned long id, unsigned long reg0,
 			   unsigned long reg1, unsigned long reg2,
arch/arm/mach-k3/common.c +1 -0
index 7af60a7f2f8..aed3e14164e 100644
@@ -12,6 +12,7 @@
 #include "common.h"
 #include <dm.h>
 #include <remoteproc.h>
+#include <asm/cache.h>
 #include <linux/soc/ti/ti_sci_protocol.h>
 #include <fdt_support.h>
 #include <asm/arch/sys_proto.h>
arch/arm/mach-k3/security.c +1 -0
index 0d77d983596..dd7c998487f 100644
@@ -10,6 +10,7 @@
 #include <cpu_func.h>
 #include <dm.h>
 #include <hang.h>
+#include <asm/cache.h>
 #include <linux/soc/ti/ti_sci_protocol.h>
 #include <mach/spl.h>
 #include <spl.h>
arch/arm/mach-k3/sysfw-loader.c +1 -0
index db02607b171..824cf6f8e33 100644
@@ -10,6 +10,7 @@
 #include <spl.h>
 #include <malloc.h>
 #include <remoteproc.h>
+#include <asm/cache.h>
 #include <linux/soc/ti/ti_sci_protocol.h>
 #include <g_dnl.h>
 #include <usb.h>
arch/arm/mach-keystone/init.c +1 -0
index 375588894da..59fd029e4c9 100644
@@ -9,6 +9,7 @@
 #include <common.h>
 #include <cpu_func.h>
 #include <ns16550.h>
+#include <asm/cache.h>
 #include <asm/io.h>
 #include <asm/arch/msmc.h>
 #include <asm/arch/clock.h>
arch/arm/mach-kirkwood/cache.c +1 -0
index 6b12ea5e914..009b7deeca6 100644
@@ -5,6 +5,7 @@
  */
 #include <common.h>
 #include <asm/arch/cpu.h>
+#include <asm/cache.h>
 
 #define FEROCEON_EXTRA_FEATURE_L2C_EN (1<<22)
 
arch/arm/mach-kirkwood/cpu.c +1 -0
index 5e964af8eab..c56620dc5a7 100644
@@ -9,6 +9,7 @@
 #include <command.h>
 #include <cpu_func.h>
 #include <env.h>
+#include <net.h>
 #include <netdev.h>
 #include <asm/cache.h>
 #include <asm/io.h>
arch/arm/mach-mediatek/mt7622/init.c +1 -0
index 1e527c0485e..a7153781279 100644
@@ -7,6 +7,7 @@
 #include <common.h>
 #include <fdtdec.h>
 #include <asm/armv8/mmu.h>
+#include <asm/cache.h>
 
 int print_cpuinfo(void)
 {
arch/arm/mach-mediatek/mt8512/init.c +1 -0
index a38b5d12d93..4e6b710c11a 100644
@@ -14,6 +14,7 @@
 #include <wdt.h>
 #include <asm/arch/misc.h>
 #include <asm/armv8/mmu.h>
+#include <asm/cache.h>
 #include <asm/sections.h>
 #include <dm/uclass.h>
 #include <dt-bindings/clock/mt8512-clk.h>
arch/arm/mach-mediatek/mt8516/init.c +1 -0
index 360d94abb00..b038437a174 100644
@@ -13,6 +13,7 @@
 #include <ram.h>
 #include <asm/arch/misc.h>
 #include <asm/armv8/mmu.h>
+#include <asm/cache.h>
 #include <asm/sections.h>
 #include <dm/uclass.h>
 #include <dt-bindings/clock/mt8516-clk.h>
arch/arm/mach-mediatek/mt8518/init.c +1 -0
index c2b1b769824..c46cc5fcaf4 100644
@@ -14,6 +14,7 @@
 #include <ram.h>
 #include <asm/arch/misc.h>
 #include <asm/armv8/mmu.h>
+#include <asm/cache.h>
 #include <asm/sections.h>
 #include <dm/uclass.h>
 #include <dt-bindings/clock/mt8518-clk.h>
arch/arm/mach-meson/board-axg.c +1 -0
index 6874458e36a..5e0b3f6cb5e 100644
@@ -6,6 +6,7 @@
 
 #include <common.h>
 #include <init.h>
+#include <net.h>
 #include <asm/arch/boot.h>
 #include <asm/arch/eth.h>
 #include <asm/arch/axg.h>
arch/arm/mach-meson/board-common.c +2 -0
index bc4c92074cb..3a7cffcab31 100644
@@ -6,8 +6,10 @@
 #include <common.h>
 #include <cpu_func.h>
 #include <init.h>
+#include <net.h>
 #include <asm/arch/boot.h>
 #include <env.h>
+#include <asm/cache.h>
 #include <linux/libfdt.h>
 #include <linux/err.h>
 #include <asm/arch/mem.h>
arch/arm/mach-meson/board-g12a.c +1 -0
index 26d6b907906..fc1729edd38 100644
@@ -6,6 +6,7 @@
 
 #include <common.h>
 #include <init.h>
+#include <net.h>
 #include <asm/arch/boot.h>
 #include <asm/arch/eth.h>
 #include <asm/arch/g12a.h>
arch/arm/mach-meson/board-gx.c +1 -0
index 191fd490058..82ac7af0b04 100644
@@ -6,6 +6,7 @@
 
 #include <common.h>
 #include <init.h>
+#include <net.h>
 #include <asm/arch/boot.h>
 #include <asm/arch/eth.h>
 #include <asm/arch/gx.h>
arch/arm/mach-meson/sm.c +1 -0
index fac286b9c85..dacc897533c 100644
@@ -7,6 +7,7 @@
 
 #include <common.h>
 #include <asm/arch/sm.h>
+#include <asm/cache.h>
 #include <linux/err.h>
 #include <linux/kernel.h>
 #include <dm.h>
arch/arm/mach-mvebu/arm64-common.c +1 -0
index 40b98dbf08b..2896d6b0611 100644
@@ -7,6 +7,7 @@
 #include <dm.h>
 #include <fdtdec.h>
 #include <init.h>
+#include <asm/cache.h>
 #include <linux/libfdt.h>
 #include <linux/sizes.h>
 #include <pci.h>
arch/arm/mach-omap2/am33xx/board.c +1 -0
index 283f73522d6..533601eac4a 100644
@@ -12,6 +12,7 @@
 #include <debug_uart.h>
 #include <errno.h>
 #include <init.h>
+#include <net.h>
 #include <ns16550.h>
 #include <spl.h>
 #include <asm/arch/cpu.h>
arch/arm/mach-omap2/omap3/emac.c +1 -0
index fb0c9188f57..eecc5d334e1 100644
@@ -7,6 +7,7 @@
  */
 
 #include <common.h>
+#include <net.h>
 #include <asm/io.h>
 #include <asm/arch/am35x_def.h>
 
arch/arm/mach-orion5x/cpu.c +1 -0
index 5a693e20bb5..7d57dd257fe 100644
@@ -10,6 +10,7 @@
 
 #include <common.h>
 #include <cpu_func.h>
+#include <net.h>
 #include <netdev.h>
 #include <asm/cache.h>
 #include <asm/io.h>
arch/arm/mach-rmobile/cpu_info.c +1 -0
index 2cc701c4f5f..9b34cba0475 100644
@@ -5,6 +5,7 @@
  */
 #include <common.h>
 #include <cpu_func.h>
+#include <asm/cache.h>
 #include <asm/io.h>
 #include <env.h>
 #include <linux/ctype.h>
arch/arm/mach-rmobile/emac.c +1 -0
index f9cd89a1314..3211dfee027 100644
@@ -7,6 +7,7 @@
  */
 
 #include <common.h>
+#include <net.h>
 #include <linux/errno.h>
 #include <netdev.h>
 
arch/arm/mach-rockchip/board.c +1 -0
index 14b9e89ea35..9f26b8d16c8 100644
@@ -9,6 +9,7 @@
 #include <init.h>
 #include <ram.h>
 #include <syscon.h>
+#include <asm/cache.h>
 #include <asm/io.h>
 #include <asm/arch-rockchip/boot_mode.h>
 #include <asm/arch-rockchip/clock.h>
arch/arm/mach-rockchip/bootrom.c +1 -0
index 1524eca2729..b36e559e871 100644
@@ -7,6 +7,7 @@
 #include <hang.h>
 #include <asm/arch-rockchip/bootrom.h>
 #include <asm/arch-rockchip/boot_mode.h>
+#include <asm/cache.h>
 #include <asm/io.h>
 #include <asm/setjmp.h>
 #include <asm/system.h>
arch/arm/mach-s5pc1xx/cache.c +1 -0
index 7816ba11778..b390bdf8278 100644
@@ -9,6 +9,7 @@
 
 #include <common.h>
 #include <cpu_func.h>
+#include <asm/cache.h>
 
 #if !CONFIG_IS_ENABLED(SYS_DCACHE_OFF)
 void enable_caches(void)
arch/arm/mach-socfpga/misc.c +1 -0
index 2901b7db680..0158f4f04c4 100644
@@ -6,6 +6,7 @@
 #include <common.h>
 #include <cpu_func.h>
 #include <hang.h>
+#include <asm/cache.h>
 #include <asm/io.h>
 #include <errno.h>
 #include <fdtdec.h>
arch/arm/mach-stm32mp/cpu.c +1 -0
index ea0bd94605b..d231ac94ddd 100644
@@ -8,6 +8,7 @@
 #include <debug_uart.h>
 #include <env.h>
 #include <misc.h>
+#include <net.h>
 #include <asm/io.h>
 #include <asm/arch/stm32.h>
 #include <asm/arch/sys_proto.h>
arch/arm/mach-stm32mp/psci.c +1 -0
index 1d91b2d324a..cc6be076c07 100644
@@ -6,6 +6,7 @@
 #include <config.h>
 #include <common.h>
 #include <asm/armv7.h>
+#include <asm/cache.h>
 #include <asm/gic.h>
 #include <asm/io.h>
 #include <asm/psci.h>
arch/arm/mach-sunxi/board.c +1 -0
index b487b265af2..11b333b563d 100644
@@ -15,6 +15,7 @@
 #include <i2c.h>
 #include <serial.h>
 #include <spl.h>
+#include <asm/cache.h>
 #include <asm/gpio.h>
 #include <asm/io.h>
 #include <asm/arch/clock.h>
arch/arm/mach-tegra/board.c +1 -0
index 31c49a7c849..267bfde09dc 100644
@@ -10,6 +10,7 @@
 #include <init.h>
 #include <ns16550.h>
 #include <spl.h>
+#include <asm/cache.h>
 #include <asm/io.h>
 #if IS_ENABLED(CONFIG_TEGRA_CLKRST)
 #include <asm/arch/clock.h>
arch/arm/mach-tegra/cboot.c +1 -0
index 390229436ec..4416827220e 100644
@@ -9,6 +9,7 @@
 #include <fdtdec.h>
 #include <hang.h>
 #include <malloc.h>
+#include <net.h>
 #include <stdlib.h>
 #include <string.h>
 
arch/arm/mach-tegra/tegra210/clock.c +1 -0
index 00c65c281fc..492f4d8c11c 100644
@@ -8,6 +8,7 @@
 
 #include <common.h>
 #include <errno.h>
+#include <asm/cache.h>
 #include <asm/io.h>
 #include <asm/arch/clock.h>
 #include <asm/arch/sysctr.h>
arch/arm/mach-u8500/cache.c +1 -0
index 3d96d09f31e..f9fd4fe7d33 100644
@@ -6,6 +6,7 @@
 #include <common.h>
 #include <cpu_func.h>
 #include <asm/armv7.h>
+#include <asm/cache.h>
 #include <asm/pl310.h>
 
 #define PL310_WAY_MASK	0xff
arch/arm/mach-uniphier/arm32/psci.c +1 -0
index 9a3793316ab..e231e7b60b8 100644
@@ -6,6 +6,7 @@
 
 #include <common.h>
 #include <cpu_func.h>
+#include <asm/cache.h>
 #include <linux/bitops.h>
 #include <linux/delay.h>
 #include <linux/io.h>
arch/arm/mach-uniphier/micro-support-card.c +2 -1
index c71470a2042..951e71430f1 100644
@@ -6,8 +6,9 @@
  */
 
 #include <common.h>
-#include <dm/of.h>
 #include <fdt_support.h>
+#include <net.h>
+#include <dm/of.h>
 #include <linux/ctype.h>
 #include <linux/io.h>
 
arch/arm/mach-versal/cpu.c +1 -0
index 6ee6cd43eca..4c41ce88164 100644
@@ -6,6 +6,7 @@
 
 #include <common.h>
 #include <asm/armv8/mmu.h>
+#include <asm/cache.h>
 #include <asm/io.h>
 #include <asm/arch/hardware.h>
 #include <asm/arch/sys_proto.h>
arch/arm/mach-zynq/cpu.c +1 -0
index aca44dfe67c..43c5ca39d47 100644
@@ -6,6 +6,7 @@
 #include <common.h>
 #include <cpu_func.h>
 #include <zynqpl.h>
+#include <asm/cache.h>
 #include <asm/io.h>
 #include <asm/arch/clk.h>
 #include <asm/arch/hardware.h>
arch/arm/mach-zynqmp/cpu.c +1 -0
index 442427bc110..5b98fe22bcd 100644
@@ -9,6 +9,7 @@
 #include <asm/arch/hardware.h>
 #include <asm/arch/sys_proto.h>
 #include <asm/armv8/mmu.h>
+#include <asm/cache.h>
 #include <asm/io.h>
 #include <zynqmp_firmware.h>
 
arch/m68k/cpu/mcf523x/cpu.c +1 -0
index 429781945bf..8c808a6b0ce 100644
@@ -9,6 +9,7 @@
  */
 
 #include <common.h>
+#include <net.h>
 #include <vsprintf.h>
 #include <watchdog.h>
 #include <command.h>
arch/m68k/cpu/mcf52x2/cpu.c +1 -0
index b48a753f9b7..5eee856392f 100644
@@ -14,6 +14,7 @@
  */
 
 #include <common.h>
+#include <net.h>
 #include <vsprintf.h>
 #include <watchdog.h>
 #include <command.h>
arch/m68k/cpu/mcf532x/cpu.c +1 -0
index 6807992de53..32c477a5fd4 100644
@@ -9,6 +9,7 @@
  */
 
 #include <common.h>
+#include <net.h>
 #include <vsprintf.h>
 #include <watchdog.h>
 #include <command.h>
arch/m68k/cpu/mcf5445x/cpu.c +1 -0
index 2f79380c8be..16023690803 100644
@@ -9,6 +9,7 @@
  */
 
 #include <common.h>
+#include <net.h>
 #include <vsprintf.h>
 #include <watchdog.h>
 #include <command.h>
arch/m68k/cpu/mcf547x_8x/cpu.c +1 -0
index dc5ed1aa79f..51281549a35 100644
@@ -9,6 +9,7 @@
  */
 
 #include <common.h>
+#include <net.h>
 #include <vsprintf.h>
 #include <watchdog.h>
 #include <command.h>
arch/microblaze/cpu/cache.c +1 -0
index 02f66f9087d..aa832d6be6d 100644
@@ -8,6 +8,7 @@
 #include <common.h>
 #include <cpu_func.h>
 #include <asm/asm.h>
+#include <asm/cache.h>
 
 int dcache_status(void)
 {
arch/microblaze/lib/bootm.c +1 -0
index 2d6a41be2fd..87d2d6ee70d 100644
@@ -14,6 +14,7 @@
 #include <fdt_support.h>
 #include <hang.h>
 #include <image.h>
+#include <asm/cache.h>
 #include <u-boot/zlib.h>
 #include <asm/byteorder.h>
 
arch/mips/include/asm/cacheops.h +2 -0
index 98b67ccc8ec..641e2ad58de 100644
@@ -8,6 +8,8 @@
 #ifndef	__ASM_CACHEOPS_H
 #define	__ASM_CACHEOPS_H
 
+#include <asm/cache.h>
+
 #ifndef __ASSEMBLY__
 
 static inline void mips_cache(int op, const volatile void *addr)
arch/mips/lib/cache.c +1 -0
index 502956d050c..eff1a9c7835 100644
@@ -6,6 +6,7 @@
 
 #include <common.h>
 #include <cpu_func.h>
+#include <asm/cache.h>
 #include <asm/cacheops.h>
 #ifdef CONFIG_MIPS_L2_CACHE
 #include <asm/cm.h>
arch/nds32/lib/cache.c +1 -0
index e11d300b6db..21917e5da5e 100644
@@ -8,6 +8,7 @@
 #include <common.h>
 #include <cpu_func.h>
 #if !(CONFIG_IS_ENABLED(SYS_ICACHE_OFF) && CONFIG_IS_ENABLED(SYS_DCACHE_OFF))
+#include <asm/cache.h>
 static inline unsigned long CACHE_SET(unsigned char cache)
 {
 	if (cache == ICACHE)
arch/powerpc/cpu/mpc83xx/cpu.c +1 -0
index f4e25f1f59c..f0e3ada1952 100644
@@ -12,6 +12,7 @@
 #include <common.h>
 #include <cpu_func.h>
 #include <irq_func.h>
+#include <net.h>
 #include <time.h>
 #include <vsprintf.h>
 #include <watchdog.h>
arch/powerpc/cpu/mpc85xx/cpu_init.c +1 -0
index a9f39dc5838..1c2d8edf605 100644
@@ -12,6 +12,7 @@
 #include <common.h>
 #include <env.h>
 #include <init.h>
+#include <net.h>
 #include <watchdog.h>
 #include <asm/processor.h>
 #include <ioports.h>
arch/powerpc/cpu/mpc8xx/cpu.c +1 -0
index 4a1698d3bca..9d6c08f17a0 100644
@@ -18,6 +18,7 @@
 
 #include <common.h>
 #include <cpu_func.h>
+#include <net.h>
 #include <time.h>
 #include <vsprintf.h>
 #include <watchdog.h>
arch/powerpc/cpu/mpc8xxx/cpu.c +1 -0
index ed482a9c098..bb81f49ae73 100644
@@ -11,6 +11,7 @@
 #include <common.h>
 #include <command.h>
 #include <cpu_func.h>
+#include <net.h>
 #include <tsec.h>
 #include <fm_eth.h>
 #include <netdev.h>
arch/riscv/cpu/ax25/cache.c +1 -0
index 9f424198b4a..a3b53da5a6f 100644
@@ -7,6 +7,7 @@
 #include <common.h>
 #include <cpu_func.h>
 #include <dm.h>
+#include <asm/cache.h>
 #include <dm/uclass-internal.h>
 #include <cache.h>
 #include <asm/csr.h>
arch/riscv/cpu/generic/cpu.c +1 -0
index c0a5288bdbb..bff4fc6b990 100644
@@ -6,6 +6,7 @@
 #include <common.h>
 #include <dm.h>
 #include <irq_func.h>
+#include <asm/cache.h>
 
 /*
  * cleanup_before_linux() is called just before we call linux
arch/sh/cpu/sh4/cache.c +1 -0
index 2f49ce86816..0f7dfdd3cf7 100644
@@ -7,6 +7,7 @@
 #include <common.h>
 #include <command.h>
 #include <cpu_func.h>
+#include <asm/cache.h>
 #include <asm/io.h>
 #include <asm/processor.h>
 #include <asm/system.h>
arch/sh/cpu/sh4/cpu.c +1 -0
index a8d0590d51e..e94e980c0e5 100644
@@ -8,6 +8,7 @@
 #include <command.h>
 #include <irq_func.h>
 #include <cpu_func.h>
+#include <net.h>
 #include <netdev.h>
 #include <asm/processor.h>
 
arch/x86/cpu/mtrr.c +1 -0
index a43cb7fc154..0e4402d68e9 100644
@@ -18,6 +18,7 @@
 
 #include <common.h>
 #include <cpu_func.h>
+#include <asm/cache.h>
 #include <asm/io.h>
 #include <asm/msr.h>
 #include <asm/mtrr.h>
arch/x86/cpu/quark/dram.c +1 -0
index 2bf90dcfc62..30f47556264 100644
@@ -9,6 +9,7 @@
 #include <fdtdec.h>
 #include <init.h>
 #include <malloc.h>
+#include <asm/cache.h>
 #include <asm/mrccache.h>
 #include <asm/mtrr.h>
 #include <asm/post.h>
arch/x86/include/asm/mp.h +1 -0
index fb59e2f67d6..9dddf88b5a1 100644
@@ -9,6 +9,7 @@
 #define _X86_MP_H_
 
 #include <asm/atomic.h>
+#include <asm/cache.h>
 
 typedef int (*mp_callback_t)(struct udevice *cpu, void *arg);
 
arch/x86/lib/coreboot_table.c +1 -0
index 2943e11d2a4..5fc4295f40a 100644
@@ -6,6 +6,7 @@
 #include <common.h>
 #include <acpi_s3.h>
 #include <malloc.h>
+#include <net.h>
 #include <vbe.h>
 #include <asm/coreboot_tables.h>
 #include <asm/e820.h>
board/AndesTech/adp-ae3xx/adp-ae3xx.c +1 -0
index 8eb40bf295c..54f7178b360 100644
@@ -6,6 +6,7 @@
  */
 
 #include <init.h>
+#include <net.h>
 #include <asm/mach-types.h>
 #include <common.h>
 #include <flash.h>
board/AndesTech/adp-ag101p/adp-ag101p.c +1 -0
index d349b19648d..23cdf4f578a 100644
@@ -8,6 +8,7 @@
 #include <common.h>
 #include <flash.h>
 #include <init.h>
+#include <net.h>
 #if defined(CONFIG_FTMAC100) && !defined(CONFIG_DM_ETH)
 #include <netdev.h>
 #endif
board/AndesTech/ax25-ae350/ax25-ae350.c +1 -0
index de546dab174..920d43ecc69 100644
@@ -7,6 +7,7 @@
 #include <common.h>
 #include <flash.h>
 #include <init.h>
+#include <net.h>
 #if defined(CONFIG_FTMAC100) && !defined(CONFIG_DM_ETH)
 #include <netdev.h>
 #endif
board/Arcturus/ucp1020/ucp1020.c +1 -0
index b641b72aaa7..dfa1fd4f153 100644
@@ -13,6 +13,7 @@
 #include <env.h>
 #include <hwconfig.h>
 #include <init.h>
+#include <net.h>
 #include <pci.h>
 #include <i2c.h>
 #include <miiphy.h>
board/CZ.NIC/turris_mox/turris_mox.c +1 -0
index 377191baefb..1ada6279c89 100644
@@ -5,6 +5,7 @@
 
 #include <common.h>
 #include <init.h>
+#include <net.h>
 #include <asm/gpio.h>
 #include <asm/io.h>
 #include <dm.h>
board/CZ.NIC/turris_omnia/turris_omnia.c +1 -0
index e1775d30047..29c11204580 100644
@@ -12,6 +12,7 @@
 #include <i2c.h>
 #include <init.h>
 #include <miiphy.h>
+#include <net.h>
 #include <netdev.h>
 #include <asm/io.h>
 #include <asm/arch/cpu.h>
board/Marvell/db-88f6720/db-88f6720.c +1 -0
index 94306b3d8ec..3e975801b8d 100644
@@ -5,6 +5,7 @@
 
 #include <common.h>
 #include <miiphy.h>
+#include <net.h>
 #include <netdev.h>
 #include <asm/io.h>
 #include <asm/arch/cpu.h>
board/Marvell/db-88f6820-amc/db-88f6820-amc.c +1 -0
index 922576e9d59..372beb3c432 100644
@@ -6,6 +6,7 @@
 #include <common.h>
 #include <i2c.h>
 #include <miiphy.h>
+#include <net.h>
 #include <netdev.h>
 #include <asm/io.h>
 #include <asm/arch/cpu.h>
board/Marvell/db-88f6820-gp/db-88f6820-gp.c +1 -0
index 1a0746b9d3d..f3df7e666b5 100644
@@ -6,6 +6,7 @@
 #include <common.h>
 #include <i2c.h>
 #include <miiphy.h>
+#include <net.h>
 #include <netdev.h>
 #include <asm/io.h>
 #include <asm/arch/cpu.h>
board/Marvell/db-mv784mp-gp/db-mv784mp-gp.c +1 -0
index 604e8c1670b..e7808f5a5c0 100644
@@ -5,6 +5,7 @@
 
 #include <common.h>
 #include <miiphy.h>
+#include <net.h>
 #include <netdev.h>
 #include <asm/io.h>
 #include <asm/arch/cpu.h>
board/Synology/ds414/cmd_syno.c +1 -0
index 777948f90f5..bd6eefd7735 100644
@@ -8,6 +8,7 @@
 #include <common.h>
 #include <div64.h>
 #include <env.h>
+#include <net.h>
 #include <spi.h>
 #include <spi_flash.h>
 #include <linux/mtd/mtd.h>
board/abilis/tb100/tb100.c +1 -0
index e3fbbbaa8aa..47eb64dd1f8 100644
@@ -5,6 +5,7 @@
 
 #include <common.h>
 #include <cpu_func.h>
+#include <net.h>
 #include <netdev.h>
 #include <asm/io.h>
 
board/advantech/dms-ba16/dms-ba16.c +1 -0
index 299f2f102d1..33e0e4a4ae1 100644
@@ -6,6 +6,7 @@
  */
 
 #include <init.h>
+#include <net.h>
 #include <asm/arch/clock.h>
 #include <asm/arch/imx-regs.h>
 #include <asm/arch/iomux.h>
board/amlogic/p200/p200.c +1 -0
index 41d331dda2d..d7f7ebd962a 100644
@@ -6,6 +6,7 @@
 #include <common.h>
 #include <dm.h>
 #include <env.h>
+#include <net.h>
 #include <asm/io.h>
 #include <asm/arch/gx.h>
 #include <asm/arch/sm.h>
board/amlogic/p201/p201.c +1 -0
index e46fcaea6dc..cdac64ed928 100644
@@ -6,6 +6,7 @@
 #include <common.h>
 #include <dm.h>
 #include <env.h>
+#include <net.h>
 #include <asm/io.h>
 #include <asm/arch/gx.h>
 #include <asm/arch/sm.h>
board/amlogic/p212/p212.c +1 -0
index 094ab5478d0..6ac5aadecfe 100644
@@ -7,6 +7,7 @@
 #include <common.h>
 #include <dm.h>
 #include <env.h>
+#include <net.h>
 #include <asm/io.h>
 #include <asm/arch/gx.h>
 #include <asm/arch/sm.h>
board/amlogic/q200/q200.c +1 -0
index f1faa7418e0..ae9b888c12f 100644
@@ -7,6 +7,7 @@
 #include <common.h>
 #include <dm.h>
 #include <env.h>
+#include <net.h>
 #include <asm/io.h>
 #include <asm/arch/gx.h>
 #include <asm/arch/mem.h>
board/amlogic/s400/s400.c +1 -0
index bdb4eca8839..79b867996b4 100644
@@ -6,6 +6,7 @@
 
 #include <common.h>
 #include <dm.h>
+#include <net.h>
 #include <asm/io.h>
 #include <asm/arch/axg.h>
 #include <asm/arch/sm.h>
board/amlogic/sei510/sei510.c +1 -0
index 5de610d85fc..07a6a47ebc1 100644
@@ -7,6 +7,7 @@
 #include <common.h>
 #include <dm.h>
 #include <env_internal.h>
+#include <net.h>
 #include <asm/io.h>
 #include <asm/arch/axg.h>
 #include <asm/arch/sm.h>
board/amlogic/sei610/sei610.c +1 -0
index b17eb9ef55b..5c24276d510 100644
@@ -7,6 +7,7 @@
 #include <common.h>
 #include <dm.h>
 #include <env_internal.h>
+#include <net.h>
 #include <asm/io.h>
 #include <asm/arch/axg.h>
 #include <asm/arch/sm.h>
board/amlogic/u200/u200.c +1 -0
index 69fd29d4fec..4df7ff437e0 100644
@@ -6,6 +6,7 @@
 
 #include <common.h>
 #include <dm.h>
+#include <net.h>
 #include <asm/io.h>
 #include <asm/arch/axg.h>
 #include <asm/arch/sm.h>
board/amlogic/w400/w400.c +1 -0
index e60dc3a622e..95bbdedbddc 100644
@@ -7,6 +7,7 @@
 #include <common.h>
 #include <dm.h>
 #include <env_internal.h>
+#include <net.h>
 #include <asm/io.h>
 #include <asm/arch/eth.h>
 
board/armltd/integrator/integrator.c +1 -0
index 1a472f50d3f..32e4933d20a 100644
@@ -21,6 +21,7 @@
 #include <dm.h>
 #include <env.h>
 #include <init.h>
+#include <net.h>
 #include <netdev.h>
 #include <asm/io.h>
 #include <dm/platform_data/serial_pl01x.h>
board/armltd/vexpress/vexpress_common.c +1 -0
index 14626c1f553..ebd3322c6fc 100644
@@ -20,6 +20,7 @@
 #include <init.h>
 #include <malloc.h>
 #include <errno.h>
+#include <net.h>
 #include <netdev.h>
 #include <asm/io.h>
 #include <asm/mach-types.h>
board/armltd/vexpress64/vexpress64.c +1 -0
index dd0ebdd3030..91a86b00a47 100644
@@ -9,6 +9,7 @@
 #include <dm.h>
 #include <malloc.h>
 #include <errno.h>
+#include <net.h>
 #include <netdev.h>
 #include <asm/io.h>
 #include <linux/compiler.h>
board/atmel/at91rm9200ek/at91rm9200ek.c +1 -0
index e75d5b182f6..e4a6776f963 100644
@@ -11,6 +11,7 @@
 
 #include <common.h>
 #include <init.h>
+#include <net.h>
 #include <netdev.h>
 #include <asm/mach-types.h>
 #include <asm/arch/hardware.h>
board/atmel/at91sam9n12ek/at91sam9n12ek.c +1 -0
index 90d32353e9b..f16c137565c 100644
@@ -6,6 +6,7 @@
 
 #include <common.h>
 #include <init.h>
+#include <net.h>
 #include <vsprintf.h>
 #include <asm/io.h>
 #include <asm/arch/at91sam9x5_matrix.h>
board/atmel/common/mac-spi-nor.c +1 -0
index 96343678e0b..ced27b65e63 100644
@@ -8,6 +8,7 @@
 #include <common.h>
 #include <dm.h>
 #include <env.h>
+#include <net.h>
 #include <linux/mtd/spi-nor.h>
 #include <netdev.h>
 
board/atmel/common/mac_eeprom.c +1 -0
index 050aa51ee1f..2205dd30f8f 100644
@@ -9,6 +9,7 @@
 #include <eeprom.h>
 #include <env.h>
 #include <i2c_eeprom.h>
+#include <net.h>
 #include <netdev.h>
 
 int at91_set_ethaddr(int offset)
board/bachmann/ot1200/ot1200.c +1 -0
index 36f37084b36..dd7863f7acc 100644
@@ -5,6 +5,7 @@
  */
 
 #include <common.h>
+#include <net.h>
 #include <asm/io.h>
 #include <asm/arch/clock.h>
 #include <asm/arch/imx-regs.h>
board/barco/platinum/platinum.c +1 -0
index c2c7c095536..7984647e3a3 100644
@@ -9,6 +9,7 @@
 #include <mmc.h>
 #include <fsl_esdhc_imx.h>
 #include <miiphy.h>
+#include <net.h>
 #include <netdev.h>
 #include <asm/io.h>
 #include <asm/arch/clock.h>
board/barco/titanium/titanium.c +1 -0
index 6348f123ad4..016e0adc06a 100644
@@ -5,6 +5,7 @@
 
 #include <common.h>
 #include <init.h>
+#include <net.h>
 #include <asm/io.h>
 #include <asm/arch/clock.h>
 #include <asm/arch/imx-regs.h>
board/birdland/bav335x/board.c +1 -0
index 9eb851c3976..5900e654662 100644
@@ -11,6 +11,7 @@
 #include <env.h>
 #include <errno.h>
 #include <init.h>
+#include <net.h>
 #include <serial.h>
 #include <spl.h>
 #include <asm/arch/cpu.h>
board/bluegiga/apx4devkit/apx4devkit.c +1 -0
index 9268aa0daaf..2599db7bf77 100644
@@ -14,6 +14,7 @@
  */
 
 #include <common.h>
+#include <net.h>
 #include <asm/gpio.h>
 #include <asm/io.h>
 #include <asm/setup.h>
board/bosch/shc/board.c +1 -0
index d34f3ba0077..9698d8ee16a 100644
@@ -17,6 +17,7 @@
 #include <errno.h>
 #include <init.h>
 #include <irq_func.h>
+#include <net.h>
 #include <spl.h>
 #include <asm/arch/cpu.h>
 #include <asm/arch/hardware.h>
board/boundary/nitrogen6x/nitrogen6x.c +1 -0
index 5018167fcf1..4d40cb8ff5f 100644
@@ -6,6 +6,7 @@
 
 #include <common.h>
 #include <env.h>
+#include <net.h>
 #include <asm/io.h>
 #include <asm/arch/clock.h>
 #include <asm/arch/imx-regs.h>
board/broadcom/bcm_ep/board.c +2 -0
index e4dbe426490..31cae470288 100644
@@ -6,6 +6,8 @@
 #include <common.h>
 #include <cpu_func.h>
 #include <init.h>
+#include <net.h>
+#include <asm/cache.h>
 #include <asm/io.h>
 #include <config.h>
 #include <netdev.h>
board/broadcom/bcmns2/northstar2.c +1 -0
index 6cbad9c1f0a..91f489aad3f 100644
@@ -5,6 +5,7 @@
 #include <common.h>
 #include <cpu_func.h>
 #include <init.h>
+#include <asm/cache.h>
 #include <asm/system.h>
 #include <asm/armv8/mmu.h>
 
board/cavium/thunderx/atf.c +1 -0
index 2e7ba69d764..ea2f2bade00 100644
@@ -4,6 +4,7 @@
 **/
 
 #include <common.h>
+#include <asm/cache.h>
 #include <asm/io.h>
 
 #include <asm/system.h>
board/cavium/thunderx/thunderx.c +1 -0
index 687ade544ac..1b1b9d513c3 100644
@@ -9,6 +9,7 @@
 #include <init.h>
 #include <malloc.h>
 #include <errno.h>
+#include <net.h>
 #include <linux/compiler.h>
 
 #include <cavium/atf.h>
board/ccv/xpress/xpress.c +1 -0
index 0caeea58853..dc86d43d9a1 100644
@@ -4,6 +4,7 @@
  */
 
 #include <init.h>
+#include <net.h>
 #include <asm/arch/clock.h>
 #include <asm/arch/iomux.h>
 #include <asm/arch/imx-regs.h>
board/cirrus/edb93xx/edb93xx.c +1 -0
index dfebb7c1c13..b64ec95e313 100644
@@ -17,6 +17,7 @@
 #include <common.h>
 #include <cpu_func.h>
 #include <irq_func.h>
+#include <net.h>
 #include <netdev.h>
 #include <status_led.h>
 #include <asm/io.h>
board/compulab/cl-som-imx7/cl-som-imx7.c +1 -0
index 9277094e441..e97efc1dc33 100644
@@ -11,6 +11,7 @@
 #include <env.h>
 #include <init.h>
 #include <mmc.h>
+#include <net.h>
 #include <phy.h>
 #include <netdev.h>
 #include <fsl_esdhc_imx.h>
board/compulab/cm_fx6/cm_fx6.c +1 -0
index 3e185ad82a2..f0a821d9a9c 100644
@@ -16,6 +16,7 @@
 #include <init.h>
 #include <miiphy.h>
 #include <mtd_node.h>
+#include <net.h>
 #include <netdev.h>
 #include <errno.h>
 #include <usb.h>
board/compulab/cm_t335/cm_t335.c +1 -0
index 561f2f30bb2..4497aa5af88 100644
@@ -11,6 +11,7 @@
 #include <env.h>
 #include <errno.h>
 #include <miiphy.h>
+#include <net.h>
 #include <status_led.h>
 #include <cpsw.h>
 
board/compulab/cm_t43/cm_t43.c +1 -0
index 2aa453471d9..9348d6dcadf 100644
@@ -7,6 +7,7 @@
 #include <i2c.h>
 #include <miiphy.h>
 #include <cpsw.h>
+#include <net.h>
 #include <asm/gpio.h>
 #include <asm/arch/sys_proto.h>
 #include <asm/emif.h>
board/compulab/cm_t54/cm_t54.c +1 -0
index 811bbb528a8..0efbf761da8 100644
@@ -10,6 +10,7 @@
 #include <common.h>
 #include <env.h>
 #include <fdt_support.h>
+#include <net.h>
 #include <usb.h>
 #include <mmc.h>
 #include <palmas.h>
board/congatec/cgtqmx6eval/cgtqmx6eval.c +1 -0
index 49c731f8911..16f655f188e 100644
@@ -8,6 +8,7 @@
 
 #include <common.h>
 #include <init.h>
+#include <net.h>
 #include <asm/io.h>
 #include <asm/arch/clock.h>
 #include <asm/arch/imx-regs.h>
board/creative/xfi3/xfi3.c +1 -0
index 228a3943c09..66781ef3161 100644
@@ -11,6 +11,7 @@
 
 #include <common.h>
 #include <errno.h>
+#include <net.h>
 #include <asm/gpio.h>
 #include <asm/io.h>
 #include <asm/arch/iomux-mx23.h>
board/dhelectronics/dh_stm32mp1/board.c +1 -0
index 7bcd713a862..916d06bfeaf 100644
@@ -5,6 +5,7 @@
 
 #include <common.h>
 #include <adc.h>
+#include <net.h>
 #include <asm/arch/stm32.h>
 #include <asm/arch/sys_proto.h>
 #include <asm/gpio.h>
board/el/el6x/el6x.c +1 -0
index 03e9364765d..286c1adabc6 100644
@@ -7,6 +7,7 @@
 
 #include <common.h>
 #include <init.h>
+#include <net.h>
 #include <asm/arch/clock.h>
 #include <asm/arch/imx-regs.h>
 #include <asm/arch/iomux.h>
board/embest/mx6boards/mx6boards.c +1 -0
index b644f273fe2..50b6f98c296 100644
@@ -14,6 +14,7 @@
 
 #include <common.h>
 #include <init.h>
+#include <net.h>
 #include <asm/arch/clock.h>
 #include <asm/arch/sys_proto.h>
 #include <asm/arch/imx-regs.h>
board/esd/meesc/meesc.c +1 -0
index 6c5992733cc..fd7d6db9bc2 100644
@@ -12,6 +12,7 @@
 #include <common.h>
 #include <env.h>
 #include <init.h>
+#include <net.h>
 #include <serial.h>
 #include <vsprintf.h>
 #include <asm/io.h>
board/esd/vme8349/vme8349.c +1 -0
index ff811643a67..f54c89d154b 100644
@@ -16,6 +16,7 @@
 #include <init.h>
 #include <ioports.h>
 #include <mpc83xx.h>
+#include <net.h>
 #include <asm/mpc8349_pci.h>
 #if defined(CONFIG_OF_LIBFDT)
 #include <linux/libfdt.h>
board/freescale/b4860qds/eth_b4860qds.c +1 -0
index 67fb1b9b2bc..95ec0b9a736 100644
@@ -19,6 +19,7 @@
  */
 
 #include <common.h>
+#include <net.h>
 #include <netdev.h>
 #include <asm/fsl_serdes.h>
 #include <fm_eth.h>
board/freescale/bsc9132qds/bsc9132qds.c +1 -0
index ab05d84190f..89742dfedb8 100644
@@ -5,6 +5,7 @@
 
 #include <common.h>
 #include <init.h>
+#include <net.h>
 #include <asm/processor.h>
 #include <asm/mmu.h>
 #include <asm/cache.h>
board/freescale/c29xpcie/c29xpcie.c +1 -0
index a9ea986579a..17292936b76 100644
@@ -5,6 +5,7 @@
 
 #include <common.h>
 #include <init.h>
+#include <net.h>
 #include <asm/processor.h>
 #include <asm/mmu.h>
 #include <asm/cache.h>
board/freescale/common/ns_access.c +1 -0
index 0e6f2135b4a..02845514edd 100644
@@ -4,6 +4,7 @@
  */
 
 #include <common.h>
+#include <asm/cache.h>
 #include <asm/io.h>
 #include <fsl_csu.h>
 #include <asm/arch/ns_access.h>
board/freescale/corenet_ds/eth_hydra.c +1 -0
index 45c23df27ef..a17ca7ac60a 100644
@@ -48,6 +48,7 @@
  */
 
 #include <common.h>
+#include <net.h>
 #include <netdev.h>
 #include <asm/fsl_serdes.h>
 #include <fm_eth.h>
board/freescale/corenet_ds/eth_p4080.c +1 -0
index 0979c5f4890..b1989bcbc23 100644
@@ -5,6 +5,7 @@
 
 #include <common.h>
 #include <command.h>
+#include <net.h>
 #include <netdev.h>
 #include <asm/mmu.h>
 #include <asm/processor.h>
board/freescale/corenet_ds/eth_superhydra.c +1 -0
index 1962b7e3c73..5adfecd2650 100644
@@ -48,6 +48,7 @@
  */
 
 #include <common.h>
+#include <net.h>
 #include <netdev.h>
 #include <asm/fsl_serdes.h>
 #include <fm_eth.h>
board/freescale/ls1012afrdm/ls1012afrdm.c +1 -0
index d138c9384eb..8260e7f7974 100644
@@ -6,6 +6,7 @@
 #include <common.h>
 #include <fdt_support.h>
 #include <i2c.h>
+#include <asm/cache.h>
 #include <asm/io.h>
 #include <asm/arch/clock.h>
 #include <asm/arch/fsl_serdes.h>
board/freescale/ls1012aqds/ls1012aqds.c +1 -0
index 30bf1047d53..e41f7e41bba 100644
@@ -6,6 +6,7 @@
 #include <common.h>
 #include <i2c.h>
 #include <fdt_support.h>
+#include <asm/cache.h>
 #include <asm/io.h>
 #include <asm/arch/clock.h>
 #include <asm/arch/fsl_serdes.h>
board/freescale/ls1012ardb/ls1012ardb.c +1 -0
index ab83ef11a09..8633268ed73 100644
@@ -7,6 +7,7 @@
 #include <fdt_support.h>
 #include <hang.h>
 #include <i2c.h>
+#include <asm/cache.h>
 #include <asm/io.h>
 #include <asm/arch/clock.h>
 #include <asm/arch/fsl_serdes.h>
board/freescale/ls1021aiot/ls1021aiot.c +1 -0
index b4201e76d1c..dca60b7401a 100644
@@ -7,6 +7,7 @@
 #include <clock_legacy.h>
 #include <fdt_support.h>
 #include <init.h>
+#include <net.h>
 #include <asm/arch/immap_ls102xa.h>
 #include <asm/arch/clock.h>
 #include <asm/arch/fsl_serdes.h>
board/freescale/ls1021aqds/eth.c +1 -0
index d0a98836e2b..2de62cf0952 100644
@@ -14,6 +14,7 @@
  */
 
 #include <common.h>
+#include <net.h>
 #include <netdev.h>
 #include <asm/arch/fsl_serdes.h>
 #include <fsl_mdio.h>
board/freescale/ls1021atsn/ls1021atsn.c +1 -0
index 3876910cbbe..0f940998bf5 100644
@@ -5,6 +5,7 @@
 #include <clock_legacy.h>
 #include <fdt_support.h>
 #include <init.h>
+#include <net.h>
 #include <asm/arch-ls102xa/ls102xa_soc.h>
 #include <asm/arch/ls102xa_devdis.h>
 #include <asm/arch/immap_ls102xa.h>
board/freescale/ls1021atwr/ls1021atwr.c +1 -0
index d1ff7b8ba6f..acf146de4d6 100644
@@ -9,6 +9,7 @@
 #include <fdt_support.h>
 #include <i2c.h>
 #include <init.h>
+#include <net.h>
 #include <asm/io.h>
 #include <asm/arch/immap_ls102xa.h>
 #include <asm/arch/clock.h>
board/freescale/ls1028a/ls1028a.c +1 -0
index aa93534ac68..fb4101b80f9 100644
@@ -7,6 +7,7 @@
 #include <malloc.h>
 #include <errno.h>
 #include <fsl_ddr.h>
+#include <net.h>
 #include <asm/io.h>
 #include <hwconfig.h>
 #include <fdt_support.h>
board/freescale/ls1043aqds/eth.c +1 -0
index e1919d29885..b2709be8bee 100644
@@ -5,6 +5,7 @@
  */
 
 #include <common.h>
+#include <net.h>
 #include <asm/io.h>
 #include <netdev.h>
 #include <fdt_support.h>
board/freescale/ls1043ardb/eth.c +1 -0
index a8d0c1109b4..4b9f94a0a56 100644
@@ -3,6 +3,7 @@
  * Copyright 2015 Freescale Semiconductor, Inc.
  */
 #include <common.h>
+#include <net.h>
 #include <asm/io.h>
 #include <netdev.h>
 #include <fm_eth.h>
board/freescale/ls1046afrwy/eth.c +1 -0
index d38e4d7ac7c..3f7c35b5c95 100644
@@ -3,6 +3,7 @@
  * Copyright 2019 NXP
  */
 #include <common.h>
+#include <net.h>
 #include <asm/io.h>
 #include <netdev.h>
 #include <fm_eth.h>
board/freescale/ls1046aqds/eth.c +1 -0
index 1eb40677b50..0ce41d3e4e4 100644
@@ -5,6 +5,7 @@
  */
 
 #include <common.h>
+#include <net.h>
 #include <asm/io.h>
 #include <netdev.h>
 #include <fdt_support.h>
board/freescale/ls1046ardb/eth.c +1 -0
index 7dbfcac307b..6ffd4aec3e4 100644
@@ -3,6 +3,7 @@
  * Copyright 2016 Freescale Semiconductor, Inc.
  */
 #include <common.h>
+#include <net.h>
 #include <asm/io.h>
 #include <netdev.h>
 #include <fm_eth.h>
board/freescale/m5253demo/m5253demo.c +1 -0
index 76c18b8504f..6a6c65fe5f2 100644
@@ -9,6 +9,7 @@
 
 #include <common.h>
 #include <init.h>
+#include <net.h>
 #include <asm/immap.h>
 #include <netdev.h>
 #include <asm/io.h>
board/freescale/mpc8308rdb/mpc8308rdb.c +1 -0
index ae73246e5bf..bd052b903d3 100644
@@ -8,6 +8,7 @@
 #include <hwconfig.h>
 #include <i2c.h>
 #include <init.h>
+#include <net.h>
 #include <spi.h>
 #include <linux/libfdt.h>
 #include <fdt_support.h>
board/freescale/mpc8315erdb/mpc8315erdb.c +1 -0
index 93e0fca083f..204b40bf47b 100644
@@ -10,6 +10,7 @@
 #include <hwconfig.h>
 #include <i2c.h>
 #include <init.h>
+#include <net.h>
 #include <linux/libfdt.h>
 #include <fdt_support.h>
 #include <pci.h>
board/freescale/mpc837xemds/mpc837xemds.c +1 -0
index 1ae2308e9b8..90e95399d20 100644
@@ -8,6 +8,7 @@
 #include <hwconfig.h>
 #include <i2c.h>
 #include <init.h>
+#include <net.h>
 #include <asm/io.h>
 #include <asm/fsl_mpc83xx_serdes.h>
 #include <spd_sdram.h>
board/freescale/mpc8536ds/mpc8536ds.c +1 -0
index e55ee400260..bfbb8a5fb7e 100644
@@ -6,6 +6,7 @@
 #include <common.h>
 #include <command.h>
 #include <init.h>
+#include <net.h>
 #include <pci.h>
 #include <asm/processor.h>
 #include <asm/mmu.h>
board/freescale/mpc8544ds/mpc8544ds.c +1 -0
index 2d4aace98d0..85d370f6280 100644
@@ -6,6 +6,7 @@
 #include <common.h>
 #include <command.h>
 #include <init.h>
+#include <net.h>
 #include <pci.h>
 #include <asm/processor.h>
 #include <asm/mmu.h>
board/freescale/mpc8548cds/mpc8548cds.c +1 -0
index a4455d3f612..454da1d7da6 100644
@@ -7,6 +7,7 @@
 
 #include <common.h>
 #include <init.h>
+#include <net.h>
 #include <pci.h>
 #include <vsprintf.h>
 #include <asm/processor.h>
board/freescale/mpc8572ds/mpc8572ds.c +1 -0
index 4111d69b4b9..b7e0eeded52 100644
@@ -7,6 +7,7 @@
 #include <command.h>
 #include <env.h>
 #include <init.h>
+#include <net.h>
 #include <pci.h>
 #include <asm/processor.h>
 #include <asm/mmu.h>
board/freescale/mpc8610hpcd/mpc8610hpcd.c +1 -0
index 86edd66bca2..fc331a995ad 100644
@@ -6,6 +6,7 @@
 #include <common.h>
 #include <command.h>
 #include <init.h>
+#include <net.h>
 #include <pci.h>
 #include <asm/processor.h>
 #include <asm/immap_86xx.h>
board/freescale/mpc8641hpcn/mpc8641hpcn.c +1 -0
index d9e538b868f..57f91a42f58 100644
@@ -5,6 +5,7 @@
 
 #include <common.h>
 #include <init.h>
+#include <net.h>
 #include <pci.h>
 #include <asm/processor.h>
 #include <asm/immap_86xx.h>
board/freescale/mx28evk/mx28evk.c +1 -0
index cfbe89ebfe0..e5fa4ae7659 100644
@@ -12,6 +12,7 @@
  */
 
 #include <common.h>
+#include <net.h>
 #include <asm/gpio.h>
 #include <asm/io.h>
 #include <asm/arch/imx-regs.h>
board/freescale/mx31pdk/mx31pdk.c +1 -0
index fb57f263573..06fe51db717 100644
@@ -9,6 +9,7 @@
 
 #include <common.h>
 #include <init.h>
+#include <net.h>
 #include <netdev.h>
 #include <asm/arch/clock.h>
 #include <asm/arch/imx-regs.h>
board/freescale/mx35pdk/mx35pdk.c +1 -0
index d0f7f045a5b..dda20eed519 100644
@@ -7,6 +7,7 @@
 
 #include <common.h>
 #include <init.h>
+#include <net.h>
 #include <asm/io.h>
 #include <linux/errno.h>
 #include <asm/arch/imx-regs.h>
board/freescale/mx53ard/mx53ard.c +1 -0
index 33d056b47d4..fabcb03ac84 100644
@@ -5,6 +5,7 @@
 
 #include <common.h>
 #include <init.h>
+#include <net.h>
 #include <asm/io.h>
 #include <asm/arch/imx-regs.h>
 #include <asm/arch/sys_proto.h>
board/freescale/mx6qarm2/mx6qarm2.c +1 -0
index 3957c09ac06..3866020a6d3 100644
@@ -4,6 +4,7 @@
  */
 
 #include <common.h>
+#include <net.h>
 #include <asm/io.h>
 #include <asm/arch/imx-regs.h>
 #include <asm/arch/mx6-pins.h>
board/freescale/mx6sabreauto/mx6sabreauto.c +1 -0
index de19a562eb4..33da3914d3e 100644
@@ -7,6 +7,7 @@
 
 #include <common.h>
 #include <init.h>
+#include <net.h>
 #include <asm/io.h>
 #include <asm/arch/clock.h>
 #include <asm/arch/imx-regs.h>
board/freescale/mx6sabresd/mx6sabresd.c +1 -0
index 07d3b0edb39..d46dcd4b8a7 100644
@@ -6,6 +6,7 @@
  */
 
 #include <init.h>
+#include <net.h>
 #include <asm/arch/clock.h>
 #include <asm/arch/imx-regs.h>
 #include <asm/arch/iomux.h>
board/freescale/mx6slevk/mx6slevk.c +1 -0
index 43029e42453..38fc30553cd 100644
@@ -5,6 +5,7 @@
  * Author: Fabio Estevam <[email protected]>
  */
 
+#include <net.h>
 #include <asm/arch/clock.h>
 #include <asm/arch/iomux.h>
 #include <asm/arch/crm_regs.h>
board/freescale/mx6sxsabreauto/mx6sxsabreauto.c +1 -0
index 0c7904204f7..d01c74d241d 100644
@@ -6,6 +6,7 @@
  */
 
 #include <init.h>
+#include <net.h>
 #include <asm/arch/clock.h>
 #include <asm/arch/crm_regs.h>
 #include <asm/arch/iomux.h>
board/freescale/mx6sxsabresd/mx6sxsabresd.c +1 -0
index 4f1d6602e50..a2c27823030 100644
@@ -6,6 +6,7 @@
  */
 
 #include <init.h>
+#include <net.h>
 #include <asm/arch/clock.h>
 #include <asm/arch/crm_regs.h>
 #include <asm/arch/iomux.h>
board/freescale/mx6ul_14x14_evk/mx6ul_14x14_evk.c +1 -0
index 9cb5b14f135..b25fe3c1ed1 100644
@@ -4,6 +4,7 @@
  */
 
 #include <init.h>
+#include <net.h>
 #include <asm/arch/clock.h>
 #include <asm/arch/iomux.h>
 #include <asm/arch/imx-regs.h>
board/freescale/mx7dsabresd/mx7dsabresd.c +1 -0
index 41c620795cb..6d6763db6ac 100644
@@ -4,6 +4,7 @@
  */
 
 #include <init.h>
+#include <net.h>
 #include <asm/arch/clock.h>
 #include <asm/arch/imx-regs.h>
 #include <asm/arch/mx7-pins.h>
board/freescale/p1010rdb/p1010rdb.c +1 -0
index a0866926832..ea9d04e4b99 100644
@@ -5,6 +5,7 @@
 
 #include <common.h>
 #include <init.h>
+#include <net.h>
 #include <asm/processor.h>
 #include <asm/mmu.h>
 #include <asm/cache.h>
board/freescale/p1022ds/p1022ds.c +1 -0
index ebf822acb5f..33edff9727d 100644
@@ -9,6 +9,7 @@
 #include <command.h>
 #include <env.h>
 #include <init.h>
+#include <net.h>
 #include <pci.h>
 #include <asm/processor.h>
 #include <asm/mmu.h>
board/freescale/p1023rdb/p1023rdb.c +1 -0
index eeb13ccc9b9..5321e26a9cf 100644
@@ -10,6 +10,7 @@
 #include <command.h>
 #include <env.h>
 #include <init.h>
+#include <net.h>
 #include <pci.h>
 #include <asm/io.h>
 #include <asm/cache.h>
board/freescale/p1_p2_rdb_pc/p1_p2_rdb_pc.c +1 -0
index 71fca8ca1e1..eb51ee9fd93 100644
@@ -9,6 +9,7 @@
 #include <hang.h>
 #include <hwconfig.h>
 #include <init.h>
+#include <net.h>
 #include <pci.h>
 #include <i2c.h>
 #include <asm/processor.h>
board/freescale/p1_twr/p1_twr.c +1 -0
index 72fe1b41660..6d0e1b1ffa0 100644
@@ -8,6 +8,7 @@
 #include <env.h>
 #include <hwconfig.h>
 #include <init.h>
+#include <net.h>
 #include <pci.h>
 #include <i2c.h>
 #include <asm/processor.h>
board/freescale/p2041rdb/eth.c +1 -0
index 854a839b8ce..32c68f2a718 100644
@@ -13,6 +13,7 @@
  */
 
 #include <common.h>
+#include <net.h>
 #include <netdev.h>
 #include <asm/fsl_serdes.h>
 #include <fm_eth.h>
board/freescale/qemu-ppce500/qemu-ppce500.c +1 -0
index e804cfe986b..fef7b8142ca 100644
@@ -8,6 +8,7 @@
 #include <cpu_func.h>
 #include <env.h>
 #include <init.h>
+#include <net.h>
 #include <pci.h>
 #include <time.h>
 #include <asm/processor.h>
board/freescale/t102xqds/eth_t102xqds.c +1 -0
index 5b65818eede..1820419511b 100644
@@ -7,6 +7,7 @@
 
 #include <common.h>
 #include <command.h>
+#include <net.h>
 #include <netdev.h>
 #include <asm/mmu.h>
 #include <asm/processor.h>
board/freescale/t102xrdb/eth_t102xrdb.c +1 -0
index 299b859cb64..d40b5901080 100644
@@ -7,6 +7,7 @@
 
 #include <common.h>
 #include <command.h>
+#include <net.h>
 #include <netdev.h>
 #include <asm/mmu.h>
 #include <asm/processor.h>
board/freescale/t1040qds/eth.c +1 -0
index 4185cfac12e..3f10e420a01 100644
@@ -10,6 +10,7 @@
  */
 
 #include <common.h>
+#include <net.h>
 #include <netdev.h>
 #include <asm/fsl_serdes.h>
 #include <asm/immap_85xx.h>
board/freescale/t104xrdb/eth.c +1 -0
index 107d28da33b..9cbc8754dc5 100644
@@ -4,6 +4,7 @@
  */
 
 #include <common.h>
+#include <net.h>
 #include <netdev.h>
 #include <asm/fsl_serdes.h>
 #include <asm/immap_85xx.h>
board/freescale/t208xqds/eth_t208xqds.c +1 -0
index 23b59bcc09d..e178d7f2927 100644
@@ -7,6 +7,7 @@
 
 #include <common.h>
 #include <command.h>
+#include <net.h>
 #include <netdev.h>
 #include <asm/mmu.h>
 #include <asm/processor.h>
board/freescale/t208xrdb/eth_t208xrdb.c +1 -0
index 68949473040..669bc1efefb 100644
@@ -7,6 +7,7 @@
 
 #include <common.h>
 #include <command.h>
+#include <net.h>
 #include <netdev.h>
 #include <asm/mmu.h>
 #include <asm/processor.h>
board/freescale/t4qds/eth.c +1 -0
index b341c82e676..d93d75950cb 100644
@@ -5,6 +5,7 @@
 
 #include <common.h>
 #include <command.h>
+#include <net.h>
 #include <netdev.h>
 #include <asm/mmu.h>
 #include <asm/processor.h>
board/freescale/t4rdb/eth.c +1 -0
index 2ef192c4522..3321ce1ea1c 100644
@@ -7,6 +7,7 @@
 
 #include <common.h>
 #include <command.h>
+#include <net.h>
 #include <netdev.h>
 #include <asm/mmu.h>
 #include <asm/processor.h>
board/gateworks/gw_ventana/gw_ventana.c +1 -0
index 8a694a71c90..6c818643192 100644
@@ -6,6 +6,7 @@
  */
 
 #include <common.h>
+#include <net.h>
 #include <asm/arch/clock.h>
 #include <asm/arch/crm_regs.h>
 #include <asm/arch/iomux.h>
board/gdsys/a38x/controlcenterdc.c +1 -0
index 4eb7d76660e..7aad6831273 100644
@@ -8,6 +8,7 @@
 #include <dm.h>
 #include <init.h>
 #include <miiphy.h>
+#include <net.h>
 #include <tpm-v1.h>
 #include <asm/io.h>
 #include <asm/arch/cpu.h>
board/gdsys/p1022/controlcenterd.c +1 -0
index 8e868165ed6..14e3e25c18d 100644
@@ -25,6 +25,7 @@
 #include <command.h>
 #include <env.h>
 #include <init.h>
+#include <net.h>
 #include <pci.h>
 #include <asm/processor.h>
 #include <asm/mmu.h>
board/grinn/chiliboard/board.c +1 -0
index 7f0de5e42b0..8cc9278287b 100644
@@ -6,6 +6,7 @@
 
 #include <common.h>
 #include <init.h>
+#include <net.h>
 #include <asm/arch/chilisom.h>
 #include <asm/arch/cpu.h>
 #include <asm/arch/hardware.h>
board/gumstix/duovero/duovero.c +1 -0
index 78fb98ef645..cbb1cd0f8f1 100644
@@ -5,6 +5,7 @@
  * Maintainer: Ash Charles  <[email protected]>
  */
 #include <common.h>
+#include <net.h>
 #include <netdev.h>
 #include <asm/arch/sys_proto.h>
 #include <asm/arch/mmc_host_def.h>
board/gumstix/pepper/board.c +1 -0
index 65e5e1e60f2..2a6a449306d 100644
@@ -9,6 +9,7 @@
 #include <common.h>
 #include <env.h>
 #include <errno.h>
+#include <net.h>
 #include <serial.h>
 #include <spl.h>
 #include <asm/arch/cpu.h>
board/highbank/highbank.c +1 -0
index 3e0edd48f51..f7f2e2c5259 100644
@@ -7,6 +7,7 @@
 #include <ahci.h>
 #include <cpu_func.h>
 #include <env.h>
+#include <net.h>
 #include <netdev.h>
 #include <scsi.h>
 
board/hisilicon/hikey960/hikey960.c +1 -0
index 84c26e0c14f..0ed62c7d84d 100644
@@ -8,6 +8,7 @@
 #include <cpu_func.h>
 #include <dm.h>
 #include <errno.h>
+#include <asm/cache.h>
 #include <asm/io.h>
 #include <asm/arch/hi3660.h>
 #include <asm/armv8/mmu.h>
board/hisilicon/poplar/poplar.c +1 -0
index 4937dc374c7..70a69f5b8c9 100644
@@ -8,6 +8,7 @@
 #include <cpu_func.h>
 #include <dm.h>
 #include <init.h>
+#include <asm/cache.h>
 #include <asm/io.h>
 #include <dm/platform_data/serial_pl01x.h>
 #include <asm/arch/hi3798cv200.h>
board/imgtec/malta/malta.c +1 -0
index 77ce75ecf26..80005ec3cc1 100644
@@ -7,6 +7,7 @@
 #include <common.h>
 #include <ide.h>
 #include <init.h>
+#include <net.h>
 #include <netdev.h>
 #include <pci.h>
 #include <pci_gt64120.h>
board/isee/igep003x/board.c +1 -0
index b0f8d8a314a..a28d4478254 100644
@@ -10,6 +10,7 @@
 #include <errno.h>
 #include <init.h>
 #include <malloc.h>
+#include <net.h>
 #include <serial.h>
 #include <spl.h>
 #include <asm/arch/cpu.h>
board/isee/igep00x0/igep00x0.c +1 -0
index 1b871fdcc5a..0ad601f39b6 100644
@@ -6,6 +6,7 @@
 #include <common.h>
 #include <env.h>
 #include <malloc.h>
+#include <net.h>
 #include <status_led.h>
 #include <dm.h>
 #include <ns16550.h>
board/k+p/kp_imx53/kp_id_rev.c +1 -0
index 9dae54dda5f..7103a3e0f2b 100644
@@ -13,6 +13,7 @@
 #include <env.h>
 #include <i2c.h>
 #include "kp_id_rev.h"
+#include <net.h>
 
 static int eeprom_has_been_read;
 static struct id_eeprom eeprom;
board/keymile/kmp204x/eth.c +1 -0
index 7499d2078b7..8635a5448b8 100644
@@ -5,6 +5,7 @@
  */
 
 #include <common.h>
+#include <net.h>
 #include <netdev.h>
 #include <fm_eth.h>
 #include <fsl_mdio.h>
board/kmc/kzm9g/kzm9g.c +1 -0
index 6ef960b06ba..c6117b33bcf 100644
@@ -6,6 +6,7 @@
 
 #include <common.h>
 #include <cpu_func.h>
+#include <net.h>
 #include <asm/io.h>
 #include <asm/arch/sys_proto.h>
 #include <asm/gpio.h>
board/kobol/helios4/helios4.c +1 -0
index 3c3592ecf58..f8134b70421 100644
@@ -7,6 +7,7 @@
 #include <common.h>
 #include <i2c.h>
 #include <miiphy.h>
+#include <net.h>
 #include <netdev.h>
 #include <asm/io.h>
 #include <asm/arch/cpu.h>
board/liebherr/xea/xea.c +1 -0
index df5d316717f..1a9c05275f8 100644
@@ -14,6 +14,7 @@
  */
 
 #include <common.h>
+#include <net.h>
 #include <asm/gpio.h>
 #include <asm/io.h>
 #include <asm/arch/imx-regs.h>
board/logicpd/am3517evm/am3517evm.c +1 -0
index 18f3c3f9d9c..6ed3a9b8475 100644
@@ -12,6 +12,7 @@
 
 #include <common.h>
 #include <dm.h>
+#include <net.h>
 #include <ns16550.h>
 #include <serial.h>
 #include <asm/io.h>
board/logicpd/omap3som/omap3logic.c +1 -0
index 21d8a21010e..5c178a27e72 100644
@@ -13,6 +13,7 @@
 #include <common.h>
 #include <dm.h>
 #include <init.h>
+#include <net.h>
 #include <ns16550.h>
 #include <netdev.h>
 #include <flash.h>
board/logicpd/zoom1/zoom1.c +1 -0
index 6bfa41737f6..7438d379237 100644
@@ -16,6 +16,7 @@
 #include <common.h>
 #include <dm.h>
 #include <env.h>
+#include <net.h>
 #include <ns16550.h>
 #include <netdev.h>
 #include <twl4030.h>
board/mpc8308_p1m/mpc8308_p1m.c +1 -0
index 5b2fd9c23f6..caa6187ffe6 100644
@@ -7,6 +7,7 @@
 #include <common.h>
 #include <i2c.h>
 #include <init.h>
+#include <net.h>
 #include <linux/libfdt.h>
 #include <fdt_support.h>
 #include <pci.h>
board/nvidia/p2371-2180/p2371-2180.c +1 -0
index 1756bbca985..b92f0974af5 100644
@@ -8,6 +8,7 @@
 #include <env.h>
 #include <fdtdec.h>
 #include <i2c.h>
+#include <net.h>
 #include <linux/libfdt.h>
 #include <asm/arch/gpio.h>
 #include <asm/arch/pinmux.h>
board/nvidia/p2771-0000/p2771-0000.c +1 -0
index 63cdb3a604b..e552877fdcd 100644
@@ -7,6 +7,7 @@
 #include <env.h>
 #include <fdtdec.h>
 #include <i2c.h>
+#include <net.h>
 #include <linux/libfdt.h>
 #include <asm/arch-tegra/cboot.h>
 #include "../p2571/max77620_init.h"
board/overo/overo.c +1 -0
index baa7997477e..f7da1a95ea9 100644
@@ -15,6 +15,7 @@
 #include <dm.h>
 #include <env.h>
 #include <malloc.h>
+#include <net.h>
 #include <ns16550.h>
 #include <netdev.h>
 #include <twl4030.h>
board/phytec/pcm051/board.c +1 -0
index 43f6c5afcb8..e561c822531 100644
@@ -11,6 +11,7 @@
 #include <common.h>
 #include <env.h>
 #include <errno.h>
+#include <net.h>
 #include <spl.h>
 #include <asm/arch/cpu.h>
 #include <asm/arch/hardware.h>
board/phytec/pcm058/pcm058.c +1 -0
index 820b5fde142..b1bf8d50f81 100644
@@ -11,6 +11,7 @@
  */
 #include <common.h>
 #include <init.h>
+#include <net.h>
 #include <asm/io.h>
 #include <asm/arch/clock.h>
 #include <asm/arch/imx-regs.h>
board/phytec/pfla02/pfla02.c +1 -0
index a3af823ef6b..7439aa56ad8 100644
@@ -6,6 +6,7 @@
 #include <common.h>
 #include <cpu_func.h>
 #include <init.h>
+#include <net.h>
 #include <asm/io.h>
 #include <asm/arch/clock.h>
 #include <asm/arch/imx-regs.h>
board/phytec/phycore_rk3288/phycore-rk3288.c +1 -0
index 039ed0f1bcc..236342c8d70 100644
@@ -6,6 +6,7 @@
 
 #include <eeprom.h>
 #include <init.h>
+#include <net.h>
 #include <asm/io.h>
 #include <common.h>
 #include <dm.h>
board/phytium/durian/durian.c +1 -0
index 40dd27a7b0d..91d13bdea41 100644
@@ -8,6 +8,7 @@
 #include <common.h>
 #include <cpu_func.h>
 #include <asm/armv8/mmu.h>
+#include <asm/cache.h>
 #include <asm/system.h>
 #include <asm/io.h>
 #include <linux/arm-smccc.h>
board/ppcag/bg0900/bg0900.c +1 -0
index e3e8e74220d..00afff3abfa 100644
@@ -6,6 +6,7 @@
  */
 
 #include <common.h>
+#include <net.h>
 #include <asm/gpio.h>
 #include <asm/io.h>
 #include <asm/arch/imx-regs.h>
board/qemu-mips/qemu-mips.c +1 -0
index 414a9c001dc..b3e0830843b 100644
@@ -6,6 +6,7 @@
 
 #include <common.h>
 #include <command.h>
+#include <net.h>
 #include <asm/mipsregs.h>
 #include <asm/io.h>
 #include <netdev.h>
board/qualcomm/dragonboard410c/dragonboard410c.c +2 -0
index 81bd8bd95b1..75505d0c189 100644
@@ -10,7 +10,9 @@
 #include <dm.h>
 #include <env.h>
 #include <init.h>
+#include <net.h>
 #include <usb.h>
+#include <asm/cache.h>
 #include <asm/gpio.h>
 #include <fdt_support.h>
 #include <asm/arch/dram.h>
board/qualcomm/dragonboard820c/dragonboard820c.c +1 -0
index 6c096b49a1f..3134415d804 100644
@@ -8,6 +8,7 @@
 #include <cpu_func.h>
 #include <asm/arch/sysmap-apq8096.h>
 #include <env.h>
+#include <asm/cache.h>
 #include <linux/arm-smccc.h>
 #include <linux/psci.h>
 #include <common.h>
board/renesas/MigoR/migo_r.c +1 -0
index 767c45cc9c8..3ffd9ad75d1 100644
@@ -10,6 +10,7 @@
  */
 
 #include <common.h>
+#include <net.h>
 #include <netdev.h>
 #include <asm/io.h>
 #include <asm/processor.h>
board/renesas/blanche/blanche.c +1 -0
index c15387366c7..892f7e72609 100644
@@ -8,6 +8,7 @@
 
 #include <common.h>
 #include <cpu_func.h>
+#include <net.h>
 #include <asm/arch/mmc.h>
 #include <asm/arch/rcar-mstp.h>
 #include <asm/arch/rmobile.h>
board/renesas/r2dplus/r2dplus.c +1 -0
index f2da4686c3f..e4d0967c14c 100644
@@ -7,6 +7,7 @@
 #include <common.h>
 #include <ide.h>
 #include <init.h>
+#include <net.h>
 #include <netdev.h>
 #include <asm/processor.h>
 #include <asm/io.h>
board/renesas/r7780mp/r7780mp.c +1 -0
index 8dbeeb6e680..120464ced46 100644
@@ -7,6 +7,7 @@
 #include <common.h>
 #include <ide.h>
 #include <init.h>
+#include <net.h>
 #include <asm/processor.h>
 #include <asm/io.h>
 #include <asm/pci.h>
board/renesas/sh7752evb/sh7752evb.c +1 -0
index 135aaa5234c..565ce5f5d1c 100644
@@ -8,6 +8,7 @@
 #include <flash.h>
 #include <init.h>
 #include <malloc.h>
+#include <net.h>
 #include <asm/processor.h>
 #include <asm/io.h>
 #include <asm/mmc.h>
board/renesas/sh7753evb/sh7753evb.c +1 -0
index fbfc49ee01d..0a762bc5536 100644
@@ -8,6 +8,7 @@
 #include <flash.h>
 #include <init.h>
 #include <malloc.h>
+#include <net.h>
 #include <asm/processor.h>
 #include <asm/io.h>
 #include <asm/mmc.h>
board/renesas/sh7757lcr/sh7757lcr.c +1 -0
index ed041b14ee8..eef5d36fd5d 100644
@@ -8,6 +8,7 @@
 #include <flash.h>
 #include <init.h>
 #include <malloc.h>
+#include <net.h>
 #include <asm/processor.h>
 #include <asm/io.h>
 #include <asm/mmc.h>
board/rockchip/tinker_rk3288/tinker-rk3288.c +1 -0
index 7af39e10cd5..f85209c6498 100644
@@ -9,6 +9,7 @@
 #include <env.h>
 #include <i2c_eeprom.h>
 #include <init.h>
+#include <net.h>
 #include <netdev.h>
 #include <asm/arch-rockchip/bootrom.h>
 #include <asm/io.h>
board/samsung/common/board.c +1 -0
index 390060e51f7..948007c4a83 100644
@@ -10,6 +10,7 @@
 #include <fdtdec.h>
 #include <hang.h>
 #include <init.h>
+#include <net.h>
 #include <spi.h>
 #include <tmu.h>
 #include <netdev.h>
board/samsung/smdkc100/smdkc100.c +1 -0
index a80300b0c00..fc2c2a94dce 100644
@@ -7,6 +7,7 @@
 
 #include <common.h>
 #include <init.h>
+#include <net.h>
 #include <asm/gpio.h>
 #include <asm/io.h>
 #include <asm/arch/sromc.h>
board/samsung/smdkv310/smdkv310.c +1 -0
index 05369d22271..9b6502386e1 100644
@@ -5,6 +5,7 @@
 
 #include <common.h>
 #include <init.h>
+#include <net.h>
 #include <asm/gpio.h>
 #include <asm/io.h>
 #include <netdev.h>
board/sandisk/sansa_fuze_plus/sfp.c +1 -0
index 663eddac119..c2c9b9c7e7b 100644
@@ -11,6 +11,7 @@
 
 #include <common.h>
 #include <errno.h>
+#include <net.h>
 #include <asm/gpio.h>
 #include <asm/io.h>
 #include <asm/arch/iomux-mx23.h>
board/sbc8548/sbc8548.c +1 -0
index d246dce36d0..c0e14cd5aa4 100644
@@ -11,6 +11,7 @@
 
 #include <common.h>
 #include <init.h>
+#include <net.h>
 #include <pci.h>
 #include <asm/processor.h>
 #include <asm/immap_85xx.h>
board/schulercontrol/sc_sps_1/sc_sps_1.c +1 -0
index 41090dda109..422f25c2e91 100644
@@ -7,6 +7,7 @@
  */
 
 #include <common.h>
+#include <net.h>
 #include <asm/gpio.h>
 #include <asm/io.h>
 #include <asm/arch/imx-regs.h>
board/seco/mx6quq7/mx6quq7.c +1 -0
index fabc348440d..b8aa0e7f694 100644
@@ -8,6 +8,7 @@
  */
 
 #include <init.h>
+#include <net.h>
 #include <asm/arch/clock.h>
 #include <asm/arch/imx-regs.h>
 #include <asm/arch/iomux.h>
board/siemens/draco/board.c +1 -0
index 94bd71ad097..963de15fa87 100644
@@ -16,6 +16,7 @@
 #include <env.h>
 #include <errno.h>
 #include <init.h>
+#include <net.h>
 #include <spl.h>
 #include <asm/arch/cpu.h>
 #include <asm/arch/hardware.h>
board/siemens/pxm2/board.c +1 -0
index 58bb5bab1a1..792b9137df7 100644
@@ -17,6 +17,7 @@
 #include <errno.h>
 #include <init.h>
 #include <malloc.h>
+#include <net.h>
 #include <spl.h>
 #include <asm/arch/cpu.h>
 #include <asm/arch/hardware.h>
board/siemens/rut/board.c +1 -0
index bd4eaa4f3a5..fff2b696ced 100644
@@ -15,6 +15,7 @@
 #include <errno.h>
 #include <init.h>
 #include <malloc.h>
+#include <net.h>
 #include <spi.h>
 #include <spl.h>
 #include <asm/arch/cpu.h>
board/siemens/smartweb/smartweb.c +1 -0
index cb7206a5616..40c9c7e21da 100644
@@ -18,6 +18,7 @@
 #include <common.h>
 #include <dm.h>
 #include <init.h>
+#include <net.h>
 #include <asm/io.h>
 #include <asm/arch/at91sam9_sdramc.h>
 #include <asm/arch/at91sam9260_matrix.h>
board/silica/pengwyn/board.c +1 -0
index c0496c549ab..08eafefb91e 100644
@@ -7,6 +7,7 @@
 
 #include <common.h>
 #include <env.h>
+#include <net.h>
 #include <serial.h>
 #include <asm/arch/cpu.h>
 #include <asm/arch/hardware.h>
board/sks-kinkel/sksimx6/sksimx6.c +1 -0
index fa2acf59a7a..48e7ff24798 100644
@@ -4,6 +4,7 @@
  */
 
 #include <common.h>
+#include <net.h>
 #include <asm/arch/clock.h>
 #include <asm/arch/imx-regs.h>
 #include <asm/arch/iomux.h>
board/softing/vining_2000/vining_2000.c +1 -0
index c74c06eaeec..f523e50ea56 100644
@@ -7,6 +7,7 @@
  */
 
 #include <init.h>
+#include <net.h>
 #include <asm/arch/clock.h>
 #include <asm/arch/crm_regs.h>
 #include <asm/arch/iomux.h>
board/softing/vining_fpga/socfpga.c +1 -0
index 5a88b6c8ade..537d9d18721 100644
@@ -7,6 +7,7 @@
 #include <eeprom.h>
 #include <env.h>
 #include <init.h>
+#include <net.h>
 #include <status_led.h>
 #include <asm/arch/reset_manager.h>
 #include <asm/io.h>
board/solidrun/clearfog/clearfog.c +1 -0
index e268ef55a2a..f3483a7aed0 100644
@@ -6,6 +6,7 @@
 #include <common.h>
 #include <i2c.h>
 #include <miiphy.h>
+#include <net.h>
 #include <netdev.h>
 #include <asm/io.h>
 #include <asm/arch/cpu.h>
board/solidrun/mx6cuboxi/mx6cuboxi.c +1 -0
index 13f77a3db27..262f6640d9d 100644
@@ -15,6 +15,7 @@
 
 #include <common.h>
 #include <init.h>
+#include <net.h>
 #include <asm/arch/clock.h>
 #include <asm/arch/imx-regs.h>
 #include <asm/arch/iomux.h>
board/spear/spear300/spear300.c +1 -0
index 83fdf027e9e..c531eb3fc62 100644
@@ -6,6 +6,7 @@
 
 #include <common.h>
 #include <miiphy.h>
+#include <net.h>
 #include <netdev.h>
 #include <nand.h>
 #include <asm/io.h>
board/spear/spear310/spear310.c +1 -0
index 1b3478a9fb1..6e88547e1c3 100644
@@ -7,6 +7,7 @@
 
 #include <common.h>
 #include <miiphy.h>
+#include <net.h>
 #include <netdev.h>
 #include <nand.h>
 #include <asm/io.h>
board/spear/spear320/spear320.c +1 -0
index 640242e718a..d8b1e7de4ed 100644
@@ -7,6 +7,7 @@
 
 #include <common.h>
 #include <miiphy.h>
+#include <net.h>
 #include <netdev.h>
 #include <nand.h>
 #include <asm/io.h>
board/spear/spear600/spear600.c +1 -0
index 91c2691b860..241f123ae11 100644
@@ -6,6 +6,7 @@
 
 #include <common.h>
 #include <miiphy.h>
+#include <net.h>
 #include <netdev.h>
 #include <nand.h>
 #include <asm/io.h>
board/spear/x600/x600.c +1 -0
index 7cff6eecf25..e6f8dc90839 100644
@@ -11,6 +11,7 @@
 #include <init.h>
 #include <micrel.h>
 #include <nand.h>
+#include <net.h>
 #include <netdev.h>
 #include <phy.h>
 #include <rtc.h>
board/st/stih410-b2260/board.c +1 -0
index 5d9fdf27b25..35bf497156d 100644
@@ -6,6 +6,7 @@
 
 #include <common.h>
 #include <cpu_func.h>
+#include <asm/cache.h>
 #include <linux/usb/otg.h>
 #include <dwc3-sti-glue.h>
 #include <dwc3-uboot.h>
board/st/stm32mp1/stm32mp1.c +1 -0
index c36e7655c07..11c11b91c77 100644
@@ -22,6 +22,7 @@
 #include <misc.h>
 #include <mtd.h>
 #include <mtd_node.h>
+#include <net.h>
 #include <netdev.h>
 #include <phy.h>
 #include <remoteproc.h>
board/st/stv0991/stv0991.c +1 -0
index 33b29e647e9..f193e833619 100644
@@ -7,6 +7,7 @@
 #include <common.h>
 #include <dm.h>
 #include <miiphy.h>
+#include <net.h>
 #include <asm/arch/stv0991_periph.h>
 #include <asm/arch/stv0991_defs.h>
 #include <asm/arch/hardware.h>
board/synopsys/axs10x/axs10x.c +1 -0
index fa982bda5cc..4bd88f85a62 100644
@@ -9,6 +9,7 @@
 #include <malloc.h>
 #include <asm/arcregs.h>
 #include "axs10x.h"
+#include <asm/cache.h>
 
 DECLARE_GLOBAL_DATA_PTR;
 
board/synopsys/hsdk/hsdk.c +1 -0
index 67a29e334d7..66135ad2a9a 100644
@@ -10,6 +10,7 @@
 #include <env.h>
 #include <init.h>
 #include <irq_func.h>
+#include <asm/cache.h>
 #include <linux/printk.h>
 #include <linux/kernel.h>
 #include <linux/io.h>
board/tcl/sl50/board.c +1 -0
index 7537fa213aa..afa6290a2a5 100644
@@ -11,6 +11,7 @@
 #include <env.h>
 #include <errno.h>
 #include <init.h>
+#include <net.h>
 #include <serial.h>
 #include <spl.h>
 #include <asm/arch/cpu.h>
board/technexion/pico-imx6/pico-imx6.c +1 -0
index f8eeb40555b..146bbc26d6a 100644
@@ -6,6 +6,7 @@
  * Author: Fabio Estevam <[email protected]>
  */
 
+#include <net.h>
 #include <asm/arch/clock.h>
 #include <asm/arch/crm_regs.h>
 #include <asm/arch/iomux.h>
board/technexion/pico-imx6ul/pico-imx6ul.c +1 -0
index e27a03c2125..4294f3ed54d 100644
@@ -5,6 +5,7 @@
  * Author: Richard Hu <[email protected]>
  */
 
+#include <net.h>
 #include <asm/arch/clock.h>
 #include <asm/arch/iomux.h>
 #include <asm/arch/imx-regs.h>
board/technexion/pico-imx7d/pico-imx7d.c +1 -0
index b7ca2e1315e..a6fd49d729c 100644
@@ -4,6 +4,7 @@
  */
 
 #include <init.h>
+#include <net.h>
 #include <asm/arch/clock.h>
 #include <asm/arch/crm_regs.h>
 #include <asm/arch/imx-regs.h>
board/technologic/ts4800/ts4800.c +1 -0
index ff1a189c7e9..f79e7747e28 100644
@@ -8,6 +8,7 @@
 
 #include <common.h>
 #include <init.h>
+#include <net.h>
 #include <asm/io.h>
 #include <asm/gpio.h>
 #include <asm/arch/imx-regs.h>
board/theadorable/theadorable.c +1 -0
index 621e26905ba..9af1799fa5e 100644
@@ -7,6 +7,7 @@
 #include <console.h>
 #include <i2c.h>
 #include <init.h>
+#include <net.h>
 #include <pci.h>
 #if !defined(CONFIG_SPL_BUILD)
 #include <bootcount.h>
board/ti/am335x/board.c +1 -0
index 01b28e8da46..c6de8602d08 100644
@@ -13,6 +13,7 @@
 #include <errno.h>
 #include <init.h>
 #include <malloc.h>
+#include <net.h>
 #include <spl.h>
 #include <serial.h>
 #include <asm/arch/cpu.h>
board/ti/am43xx/board.c +1 -0
index 21fc5ed1d3d..87c7ef6b3f5 100644
@@ -14,6 +14,7 @@
 #include <fdt_support.h>
 #include <i2c.h>
 #include <init.h>
+#include <net.h>
 #include <linux/errno.h>
 #include <spl.h>
 #include <usb.h>
board/ti/am57xx/board.c +1 -0
index 34ca3ec9b02..c80a458c125 100644
@@ -12,6 +12,7 @@
 #include <fdt_support.h>
 #include <init.h>
 #include <malloc.h>
+#include <net.h>
 #include <palmas.h>
 #include <sata.h>
 #include <serial.h>
board/ti/am65x/evm.c +1 -0
index a6108794243..9d96710f056 100644
@@ -10,6 +10,7 @@
 #include <common.h>
 #include <dm.h>
 #include <init.h>
+#include <net.h>
 #include <asm/arch/sys_proto.h>
 #include <asm/arch/hardware.h>
 #include <asm/gpio.h>
board/ti/beagle/beagle.c +1 -0
index 12e657c9c61..cb3a12ec373 100644
@@ -15,6 +15,7 @@
 #include <common.h>
 #include <dm.h>
 #include <env.h>
+#include <net.h>
 #include <ns16550.h>
 #include <serial.h>
 #ifdef CONFIG_LED_STATUS
board/ti/common/board_detect.c +1 -0
index cbd35f24342..3938dea4300 100644
@@ -9,6 +9,7 @@
 
 #include <common.h>
 #include <eeprom.h>
+#include <net.h>
 #include <asm/arch/hardware.h>
 #include <asm/omap_common.h>
 #include <dm/uclass.h>
board/ti/dra7xx/evm.c +1 -0
index 8132cdfbf2f..8f595989507 100644
@@ -14,6 +14,7 @@
 #include <fdt_support.h>
 #include <init.h>
 #include <spl.h>
+#include <net.h>
 #include <palmas.h>
 #include <sata.h>
 #include <serial.h>
board/ti/evm/evm.c +1 -0
index d26dd5ba840..7161c934cd4 100644
@@ -13,6 +13,7 @@
 #include <common.h>
 #include <dm.h>
 #include <env.h>
+#include <net.h>
 #include <ns16550.h>
 #include <netdev.h>
 #include <serial.h>
board/ti/j721e/evm.c +1 -0
index aa2240b8523..f918c81f5b6 100644
@@ -9,6 +9,7 @@
 
 #include <common.h>
 #include <init.h>
+#include <net.h>
 #include <asm/arch/sys_proto.h>
 #include <asm/arch/hardware.h>
 #include <asm/gpio.h>
board/ti/omap5_uevm/evm.c +1 -0
index ee7efcbfa7c..0d19ad018a2 100644
@@ -6,6 +6,7 @@
  * Steve Sakoman  <[email protected]>
  */
 #include <common.h>
+#include <net.h>
 #include <palmas.h>
 #include <asm/arch/omap.h>
 #include <asm/arch/sys_proto.h>
board/ti/panda/panda.c +1 -0
index 20199da390e..b1e51bc4310 100644
@@ -5,6 +5,7 @@
  * Steve Sakoman  <[email protected]>
  */
 #include <common.h>
+#include <net.h>
 #include <asm/mach-types.h>
 #include <asm/arch/sys_proto.h>
 #include <asm/arch/mmc_host_def.h>
board/ti/sdp4430/sdp.c +1 -0
index e71c53e5ee4..97da5ccf0da 100644
@@ -6,6 +6,7 @@
  * Steve Sakoman  <[email protected]>
  */
 #include <common.h>
+#include <net.h>
 #include <twl6030.h>
 #include <asm/arch/sys_proto.h>
 #include <asm/arch/mmc_host_def.h>
board/ti/ti814x/evm.c +1 -0
index 2b9385d14b4..7f82e71228f 100644
@@ -11,6 +11,7 @@
 #include <cpsw.h>
 #include <env.h>
 #include <errno.h>
+#include <net.h>
 #include <spl.h>
 #include <asm/arch/cpu.h>
 #include <asm/arch/hardware.h>
board/ti/ti816x/evm.c +1 -0
index 3896ebbfda2..e895a216fe9 100644
@@ -8,6 +8,7 @@
 
 #include <common.h>
 #include <env.h>
+#include <net.h>
 #include <spl.h>
 #include <asm/cache.h>
 #include <asm/io.h>
board/toradex/apalis_imx6/apalis_imx6.c +1 -0
index 3f85f1ac89b..3b5eabec775 100644
@@ -10,6 +10,7 @@
 #include <cpu_func.h>
 #include <dm.h>
 #include <init.h>
+#include <net.h>
 
 #include <ahci.h>
 #include <asm/arch/clock.h>
board/toradex/colibri_imx6/colibri_imx6.c +1 -0
index f04b7493119..b33cca1f061 100644
@@ -11,6 +11,7 @@
 #include <dm.h>
 #include <env.h>
 #include <init.h>
+#include <net.h>
 
 #include <asm/arch/clock.h>
 #include <asm/arch/crm_regs.h>
board/toradex/colibri_imx7/colibri_imx7.c +1 -0
index 8727101aa38..8e62b79ef36 100644
@@ -6,6 +6,7 @@
 #include <common.h>
 #include <cpu_func.h>
 #include <init.h>
+#include <net.h>
 #include <asm/arch/clock.h>
 #include <asm/arch/crm_regs.h>
 #include <asm/arch/imx-regs.h>
board/toradex/colibri_pxa270/colibri_pxa270.c +1 -0
index c4db516b074..93693712a9d 100644
@@ -9,6 +9,7 @@
 #include <common.h>
 #include <cpu_func.h>
 #include <dm.h>
+#include <net.h>
 #include <asm/arch/hardware.h>
 #include <asm/arch/pxa.h>
 #include <asm/arch/regs-mmc.h>
board/toradex/common/tdx-cfg-block.c +1 -0
index 1b6c9114186..bd7d8b7f53f 100644
@@ -5,6 +5,7 @@
 
 #include <common.h>
 #include "tdx-cfg-block.h"
+#include <asm/cache.h>
 
 #if defined(CONFIG_TARGET_APALIS_IMX6) || \
 	defined(CONFIG_TARGET_APALIS_IMX8) || \
board/tqc/tqma6/tqma6_mba6.c +1 -0
index 154ea0e9258..5fea9d83347 100644
@@ -8,6 +8,7 @@
  */
 
 #include <init.h>
+#include <net.h>
 #include <asm/io.h>
 #include <asm/arch/clock.h>
 #include <asm/arch/mx6-pins.h>
board/tqc/tqma6/tqma6_wru4.c +1 -0
index 1320f8ad78c..d64eff4ffa6 100644
@@ -10,6 +10,7 @@
  */
 
 #include <init.h>
+#include <net.h>
 #include <asm/io.h>
 #include <asm/arch/clock.h>
 #include <asm/arch/mx6-pins.h>
board/ucRobotics/bubblegum_96/bubblegum_96.c +1 -0
index c16f117bf8a..d680a82bda7 100644
@@ -6,6 +6,7 @@
  */
 
 #include <cpu_func.h>
+#include <asm/cache.h>
 #include <linux/arm-smccc.h>
 #include <linux/psci.h>
 #include <common.h>
board/udoo/neo/neo.c +1 -0
index 2ba98c7b52e..096551b3c7a 100644
@@ -9,6 +9,7 @@
  */
 
 #include <init.h>
+#include <net.h>
 #include <asm/arch/clock.h>
 #include <asm/arch/crm_regs.h>
 #include <asm/arch/imx-regs.h>
board/udoo/udoo.c +1 -0
index 2a4e790d88a..0370db67e49 100644
@@ -6,6 +6,7 @@
  */
 
 #include <init.h>
+#include <net.h>
 #include <asm/arch/clock.h>
 #include <asm/arch/imx-regs.h>
 #include <asm/arch/iomux.h>
board/variscite/dart_6ul/dart_6ul.c +1 -0
index 2d0b760c39f..0f00506d7aa 100644
@@ -4,6 +4,7 @@
  * Copyright (C) 2019 Parthiban Nallathambi <[email protected]>
  */
 
+#include <net.h>
 #include <asm/arch/clock.h>
 #include <asm/arch/crm_regs.h>
 #include <asm/arch/mx6-pins.h>
board/varisys/cyrus/eth.c +1 -0
index 9783abd6595..45b21fba32b 100644
@@ -5,6 +5,7 @@
  */
 
 #include <common.h>
+#include <net.h>
 #include <netdev.h>
 #include <asm/fsl_serdes.h>
 #include <fm_eth.h>
board/vscom/baltos/board.c +1 -0
index c76502c9648..197405e5555 100644
@@ -11,6 +11,7 @@
 #include <env.h>
 #include <errno.h>
 #include <init.h>
+#include <net.h>
 #include <serial.h>
 #include <linux/libfdt.h>
 #include <spl.h>
board/warp7/warp7.c +1 -0
index 1ebec939169..50630574fd1 100644
@@ -5,6 +5,7 @@
  */
 
 #include <init.h>
+#include <net.h>
 #include <asm/arch/clock.h>
 #include <asm/arch/imx-regs.h>
 #include <asm/arch/mx7-pins.h>
board/xilinx/versal/board.c +1 -0
index 75aedb09292..e7169ea393c 100644
@@ -10,6 +10,7 @@
 #include <init.h>
 #include <malloc.h>
 #include <time.h>
+#include <asm/cache.h>
 #include <asm/io.h>
 #include <asm/arch/hardware.h>
 #include <asm/arch/sys_proto.h>
board/xilinx/zynqmp/zynqmp.c +2 -0
index 8bdc67748ec..641639bb502 100644
@@ -8,6 +8,7 @@
 #include <cpu_func.h>
 #include <env.h>
 #include <init.h>
+#include <net.h>
 #include <sata.h>
 #include <ahci.h>
 #include <scsi.h>
@@ -17,6 +18,7 @@
 #include <asm/arch/hardware.h>
 #include <asm/arch/sys_proto.h>
 #include <asm/arch/psu_init_gpl.h>
+#include <asm/cache.h>
 #include <asm/io.h>
 #include <dm/device.h>
 #include <dm/uclass.h>
cmd/bdinfo.c +2 -0
index d6a7175b379..89747c2f5bb 100644
@@ -10,7 +10,9 @@
 #include <common.h>
 #include <command.h>
 #include <env.h>
+#include <net.h>
 #include <vsprintf.h>
+#include <asm/cache.h>
 #include <linux/compiler.h>
 
 DECLARE_GLOBAL_DATA_PTR;
cmd/elf.c +1 -0
index 036be5f4438..e71ef7355b0 100644
@@ -14,6 +14,7 @@
 #include <vxworks.h>
 #ifdef CONFIG_X86
 #include <vbe.h>
+#include <asm/cache.h>
 #include <asm/e820.h>
 #include <linux/linkage.h>
 #endif
cmd/ethsw.c +1 -0
index 8d271ce1f3c..d178a0c10de 100644
@@ -11,6 +11,7 @@
 #include <errno.h>
 #include <env_flags.h>
 #include <ethsw.h>
+#include <net.h>
 
 static const char *ethsw_name;
 
cmd/fat.c +1 -0
index 50df127f6d2..2392907be2f 100644
@@ -12,6 +12,7 @@
 #include <s_record.h>
 #include <net.h>
 #include <ata.h>
+#include <asm/cache.h>
 #include <asm/io.h>
 #include <mapmem.h>
 #include <part.h>
cmd/load.c +1 -0
index fab30fe8943..36db571cea6 100644
@@ -19,6 +19,7 @@
 #include <exports.h>
 #include <serial.h>
 #include <xyzModem.h>
+#include <asm/cache.h>
 
 DECLARE_GLOBAL_DATA_PTR;
 
cmd/mem.c +1 -0
index 6d54f195272..bb318f3902c 100644
@@ -19,6 +19,7 @@
 #include <flash.h>
 #include <hash.h>
 #include <mapmem.h>
+#include <rand.h>
 #include <watchdog.h>
 #include <asm/io.h>
 #include <linux/compiler.h>
cmd/mvebu/bubt.c +1 -0
index a422dee168a..ddc1508fb73 100644
@@ -10,6 +10,7 @@
 #include <env.h>
 #include <flash.h>
 #include <image.h>
+#include <net.h>
 #include <vsprintf.h>
 #include <errno.h>
 #include <dm.h>
cmd/nand.c +1 -0
index 4de6892a01b..9c2b5d718ef 100644
@@ -21,6 +21,7 @@
 
 #include <common.h>
 #include <image.h>
+#include <asm/cache.h>
 #include <linux/mtd/mtd.h>
 #include <command.h>
 #include <console.h>
cmd/nvedit.c +1 -0
index 81d94cd193c..1c42f2114b2 100644
@@ -29,6 +29,7 @@
 #include <console.h>
 #include <env.h>
 #include <env_internal.h>
+#include <net.h>
 #include <search.h>
 #include <errno.h>
 #include <malloc.h>
cmd/pxe_utils.c +1 -0
index 53af04d7dc7..a238937891f 100644
@@ -10,6 +10,7 @@
 #include <malloc.h>
 #include <mapmem.h>
 #include <lcd.h>
+#include <net.h>
 #include <linux/string.h>
 #include <linux/ctype.h>
 #include <errno.h>
cmd/sf.c +1 -0
index 2b9c268ac42..69e0d46a557 100644
@@ -13,6 +13,7 @@
 #include <mapmem.h>
 #include <spi.h>
 #include <spi_flash.h>
+#include <asm/cache.h>
 #include <jffs2/jffs2.h>
 #include <linux/mtd/mtd.h>
 
cmd/tlv_eeprom.c +1 -0
index 211ab2680f8..8b768f31088 100644
@@ -15,6 +15,7 @@
 #include <i2c.h>
 #include <i2c_eeprom.h>
 #include <env.h>
+#include <net.h>
 #include <linux/ctype.h>
 #include <u-boot/crc.h>
 
cmd/ximg.c +1 -0
index 770f6a3eede..73c764255fa 100644
@@ -24,6 +24,7 @@
 #include <bzlib.h>
 #endif
 #include <asm/byteorder.h>
+#include <asm/cache.h>
 #include <asm/io.h>
 
 #ifndef CONFIG_SYS_XIMG_LEN
common/board_f.c +1 -0
index 82a164752aa..c59400269a6 100644
@@ -40,6 +40,7 @@
 #include <trace.h>
 #include <video.h>
 #include <watchdog.h>
+#include <asm/cache.h>
 #ifdef CONFIG_MACH_TYPE
 #include <asm/mach-types.h>
 #endif
common/board_r.c +1 -0
index 1f1c23bfe7c..95319a2b50d 100644
@@ -18,6 +18,7 @@
 #include <image.h>
 #include <irq_func.h>
 #include <net.h>
+#include <asm/cache.h>
 #include <u-boot/crc.h>
 /* TODO: can we just include all these headers whether needed or not? */
 #if defined(CONFIG_CMD_BEDBUG)
common/bootm.c +2 -0
index db4362a6430..96cba015890 100644
@@ -15,6 +15,8 @@
 #include <lmb.h>
 #include <malloc.h>
 #include <mapmem.h>
+#include <net.h>
+#include <asm/cache.h>
 #include <asm/io.h>
 #if defined(CONFIG_CMD_USB)
 #include <usb.h>
common/bouncebuf.c +1 -0
index 614eb36c785..02b1f013863 100644
@@ -10,6 +10,7 @@
 #include <malloc.h>
 #include <errno.h>
 #include <bouncebuf.h>
+#include <asm/cache.h>
 
 static int addr_aligned(struct bounce_buffer *state)
 {
common/fdt_support.c +1 -0
index 02cf5c6241b..fad551fdd64 100644
@@ -9,6 +9,7 @@
 #include <common.h>
 #include <env.h>
 #include <mapmem.h>
+#include <net.h>
 #include <stdio_dev.h>
 #include <linux/ctype.h>
 #include <linux/types.h>
common/hash.c +1 -0
index ff4986a6190..2cf763575f9 100644
@@ -16,6 +16,7 @@
 #include <malloc.h>
 #include <mapmem.h>
 #include <hw_sha.h>
+#include <asm/cache.h>
 #include <asm/io.h>
 #include <linux/errno.h>
 #include <u-boot/crc.h>
common/image.c +1 -0
index 94873cb6ed5..ed712804561 100644
@@ -11,6 +11,7 @@
 #include <cpu_func.h>
 #include <env.h>
 #include <malloc.h>
+#include <asm/cache.h>
 #include <u-boot/crc.h>
 #include <watchdog.h>
 
common/lcd.c +1 -0
index f8bc1ceba74..c421090c87a 100644
@@ -12,6 +12,7 @@
 #include <command.h>
 #include <cpu_func.h>
 #include <env_callback.h>
+#include <asm/cache.h>
 #include <linux/types.h>
 #include <stdio_dev.h>
 #include <lcd.h>
common/main.c +1 -0
index ec8994ad457..09333651586 100644
@@ -13,6 +13,7 @@
 #include <console.h>
 #include <env.h>
 #include <init.h>
+#include <net.h>
 #include <version.h>
 
 /*
common/spl/spl_atf.c +1 -0
index 702367b2a23..bc2921c552d 100644
@@ -14,6 +14,7 @@
 #include <cpu_func.h>
 #include <errno.h>
 #include <spl.h>
+#include <asm/cache.h>
 
 static struct bl2_to_bl31_params_mem bl31_params_mem;
 static struct bl31_params *bl2_to_bl31_params;
common/spl/spl_fit.c +1 -0
index 69dabd27f6d..425a3b00c4b 100644
@@ -12,6 +12,7 @@
 #include <image.h>
 #include <malloc.h>
 #include <spl.h>
+#include <asm/cache.h>
 #include <linux/libfdt.h>
 
 DECLARE_GLOBAL_DATA_PTR;
common/usb_storage.c +1 -0
index 097b6729c14..759fc48a60e 100644
@@ -39,6 +39,7 @@
 #include <mapmem.h>
 #include <memalign.h>
 #include <asm/byteorder.h>
+#include <asm/cache.h>
 #include <asm/processor.h>
 #include <dm/device-internal.h>
 #include <dm/lists.h>
disk/part_efi.c +1 -0
index 2709aebd60e..f5730ae7173 100644
@@ -10,6 +10,7 @@
  *   limits the maximum size of addressable storage to < 2 Terra Bytes
  */
 #include <uuid.h>
+#include <asm/cache.h>
 #include <asm/unaligned.h>
 #include <common.h>
 #include <command.h>
disk/part_iso.c +1 -0
index e733227f599..4f14c9a56e2 100644
@@ -6,6 +6,7 @@
 
 #include <common.h>
 #include <command.h>
+#include <asm/cache.h>
 #include <asm/unaligned.h>
 #include "part_iso.h"
 
drivers/ata/dwc_ahsata.c +1 -0
index c2e28fe518e..0f070b6bc93 100644
@@ -14,6 +14,7 @@
 #include <malloc.h>
 #include <memalign.h>
 #include <sata.h>
+#include <asm/cache.h>
 #include <asm/io.h>
 #include <asm/arch/clock.h>
 #include <asm/arch/sys_proto.h>
drivers/ata/sata_mv.c +1 -0
index 6019ac089e8..a71a7edf88a 100644
@@ -35,6 +35,7 @@
 #include <ahci.h>
 #include <cpu_func.h>
 #include <dm.h>
+#include <asm/cache.h>
 #include <dm/device-internal.h>
 #include <dm/lists.h>
 #include <fis.h>
drivers/bootcount/bootcount.c +1 -0
index 7a6d03dcca3..6b162678ddf 100644
@@ -6,6 +6,7 @@
 
 #include <bootcount.h>
 #include <cpu_func.h>
+#include <asm/cache.h>
 #include <linux/compiler.h>
 
 /* Now implement the generic default functions */
drivers/bootcount/bootcount_ram.c +1 -0
index 9c678e25f4b..078c84d5eca 100644
@@ -6,6 +6,7 @@
 
 #include <common.h>
 #include <cpu_func.h>
+#include <asm/cache.h>
 #include <asm/io.h>
 
 DECLARE_GLOBAL_DATA_PTR;
drivers/clk/clk_versal.c +1 -0
index d3673a5c8b8..cd9ddd0ddb4 100644
@@ -5,6 +5,7 @@
  */
 
 #include <common.h>
+#include <asm/cache.h>
 #include <dm/device_compat.h>
 #include <linux/bitops.h>
 #include <linux/bitfield.h>
drivers/core/device.c +1 -0
index 89ea820d487..e64dee4ab77 100644
@@ -15,6 +15,7 @@
 #include <fdtdec.h>
 #include <fdt_support.h>
 #include <malloc.h>
+#include <asm/cache.h>
 #include <dm/device.h>
 #include <dm/device-internal.h>
 #include <dm/lists.h>
drivers/crypto/ace_sha.c +1 -0
index 34611056ecf..b5321ed8206 100644
@@ -5,6 +5,7 @@
  */
 #include <common.h>
 #include "ace_sha.h"
+#include <rand.h>
 
 #ifdef CONFIG_SHA_HW_ACCEL
 #include <u-boot/sha256.h>
drivers/crypto/fsl/fsl_blob.c +1 -0
index 0531b1b735f..c2059b8b0a3 100644
@@ -9,6 +9,7 @@
 #include <malloc.h>
 #include <memalign.h>
 #include <fsl_sec.h>
+#include <asm/cache.h>
 #include <linux/errno.h>
 #include "jobdesc.h"
 #include "desc.h"
drivers/crypto/fsl/fsl_hash.c +1 -0
index 74e38ca7592..e63def8b2de 100644
@@ -13,6 +13,7 @@
 #include "jr.h"
 #include "fsl_hash.h"
 #include <hw_sha.h>
+#include <asm/cache.h>
 #include <linux/errno.h>
 
 #define CRYPTO_MAX_ALG_NAME	80
drivers/crypto/fsl/jobdesc.c +1 -0
index 637ef29f150..2f35e0c90b8 100644
@@ -13,6 +13,7 @@
 #include "desc_constr.h"
 #include "jobdesc.h"
 #include "rsa_caam.h"
+#include <asm/cache.h>
 
 #if defined(CONFIG_MX6) || defined(CONFIG_MX7)
 /*!
drivers/crypto/fsl/jr.c +2 -0
index aa84f2cee0a..9228149863a 100644
@@ -13,7 +13,9 @@
 #include "jobdesc.h"
 #include "desc_constr.h"
 #include <time.h>
+#include <asm/cache.h>
 #ifdef CONFIG_FSL_CORENET
+#include <asm/cache.h>
 #include <asm/fsl_pamu.h>
 #endif
 
drivers/ddr/altera/sdram_arria10.c +1 -0
index 2fd50b7ae55..049f202e03a 100644
@@ -10,6 +10,7 @@
 #include <malloc.h>
 #include <wait_bit.h>
 #include <watchdog.h>
+#include <asm/cache.h>
 #include <asm/io.h>
 #include <asm/arch/fpga_manager.h>
 #include <asm/arch/misc.h>
drivers/ddr/altera/sdram_soc64.c +1 -0
index 1f7ead0c674..c06fba92f84 100644
@@ -18,6 +18,7 @@
 #include <asm/arch/firewall.h>
 #include <asm/arch/system_manager.h>
 #include <asm/arch/reset_manager.h>
+#include <asm/cache.h>
 #include <asm/io.h>
 #include <dm/device_compat.h>
 #include <linux/sizes.h>
drivers/dma/apbh_dma.c +1 -0
index 15133128bef..242ffde5594 100644
@@ -10,6 +10,7 @@
  */
 
 #include <cpu_func.h>
+#include <asm/cache.h>
 #include <linux/list.h>
 
 #include <common.h>
drivers/dma/bcm6348-iudma.c +1 -0
index d99460f2fb2..70bdb650711 100644
@@ -22,6 +22,7 @@
 #include <dma-uclass.h>
 #include <malloc.h>
 #include <memalign.h>
+#include <net.h>
 #include <reset.h>
 #include <asm/io.h>
 
drivers/dma/dma-uclass.c +1 -0
index 9d5a7fc796c..d2b0b63ecd5 100644
@@ -13,6 +13,7 @@
 #include <cpu_func.h>
 #include <dm.h>
 #include <malloc.h>
+#include <asm/cache.h>
 #include <dm/read.h>
 #include <dma-uclass.h>
 #include <dt-structs.h>
drivers/dma/ti-edma3.c +1 -0
index 7e11b13e45c..77c4ba95307 100644
@@ -8,6 +8,7 @@
  * Author: Ivan Khoronzhuk <[email protected]>
  */
 
+#include <asm/cache.h>
 #include <asm/io.h>
 #include <common.h>
 #include <dm.h>
drivers/dma/ti/k3-udma.c +1 -0
index e587f1fcb2b..b2ceab2eeab 100644
@@ -7,6 +7,7 @@
 
 #include <common.h>
 #include <cpu_func.h>
+#include <asm/cache.h>
 #include <asm/io.h>
 #include <asm/bitops.h>
 #include <malloc.h>
drivers/firmware/firmware-zynqmp.c +1 -0
index 2a2aa2f4f16..35e7165c173 100644
@@ -8,6 +8,7 @@
 #include <common.h>
 #include <dm.h>
 #include <zynqmp_firmware.h>
+#include <asm/cache.h>
 
 #if defined(CONFIG_ZYNQMP_IPI)
 #include <mailbox.h>
drivers/fpga/versalpl.c +1 -0
index 6c69ab7802c..8ab19e0c74e 100644
@@ -10,6 +10,7 @@
 #include <memalign.h>
 #include <versalpl.h>
 #include <zynqmp_firmware.h>
+#include <asm/cache.h>
 
 static ulong versal_align_dma_buffer(ulong *buf, u32 len)
 {
drivers/fpga/zynqmppl.c +1 -0
index 4a826e4a71a..a2a5f9cbbe0 100644
@@ -10,6 +10,7 @@
 #include <cpu_func.h>
 #include <zynqmppl.h>
 #include <zynqmp_firmware.h>
+#include <asm/cache.h>
 #include <linux/sizes.h>
 #include <asm/arch/sys_proto.h>
 #include <memalign.h>
drivers/fpga/zynqpl.c +1 -0
index 21624f715ba..6370cafb23c 100644
@@ -9,6 +9,7 @@
 #include <common.h>
 #include <console.h>
 #include <cpu_func.h>
+#include <asm/cache.h>
 #include <asm/io.h>
 #include <fs.h>
 #include <zynqpl.h>
drivers/mmc/dw_mmc.c +1 -0
index 12245408114..6290b7fb5be 100644
@@ -14,6 +14,7 @@
 #include <mmc.h>
 #include <dwmmc.h>
 #include <wait_bit.h>
+#include <asm/cache.h>
 #include <power/regulator.h>
 
 #define PAGE_SIZE 4096
drivers/mmc/fsl_esdhc.c +1 -0
index 386781da031..a35e791fcc9 100644
@@ -20,6 +20,7 @@
 #include <malloc.h>
 #include <fsl_esdhc.h>
 #include <fdt_support.h>
+#include <asm/cache.h>
 #include <asm/io.h>
 #include <dm.h>
 #include <dm/device_compat.h>
drivers/mmc/fsl_esdhc_imx.c +1 -0
index 6bca2a9c829..0cdf5a04897 100644
@@ -19,6 +19,7 @@
 #include <hwconfig.h>
 #include <mmc.h>
 #include <part.h>
+#include <asm/cache.h>
 #include <dm/device_compat.h>
 #include <linux/err.h>
 #include <power/regulator.h>
drivers/mmc/omap_hsmmc.c +1 -0
index 4d0dc339369..886299a50d7 100644
@@ -33,6 +33,7 @@
 #if defined(CONFIG_OMAP54XX) || defined(CONFIG_OMAP44XX)
 #include <palmas.h>
 #endif
+#include <asm/cache.h>
 #include <asm/io.h>
 #include <asm/arch/mmc_host_def.h>
 #ifdef CONFIG_OMAP54XX
drivers/mmc/sdhci.c +1 -0
index 520c9f9feba..6556cd5b467 100644
@@ -15,6 +15,7 @@
 #include <mmc.h>
 #include <sdhci.h>
 #include <dm.h>
+#include <asm/cache.h>
 #include <linux/dma-mapping.h>
 
 static void sdhci_reset(struct sdhci_host *host, u8 mask)
drivers/mmc/stm32_sdmmc2.c +1 -0
index 6f3b2ad653a..b76a7edc0ba 100644
@@ -10,6 +10,7 @@
 #include <dm.h>
 #include <fdtdec.h>
 #include <malloc.h>
+#include <asm/cache.h>
 #include <linux/libfdt.h>
 #include <mmc.h>
 #include <reset.h>
drivers/mtd/nand/raw/denali.c +3 -0
index 3a09a8165c1..a58d7ce4ab1 100644
@@ -5,9 +5,12 @@
  * Copyright (C) 2009-2010, Intel Corporation and its suppliers.
  */
 
+#include <common.h>
 #include <dm.h>
 #include <malloc.h>
 #include <nand.h>
+#include <asm/cache.h>
+#include <asm/dma-mapping.h>
 #include <dm/device_compat.h>
 #include <dm/devres.h>
 #include <linux/bitfield.h>
drivers/mtd/nand/raw/mxs_nand.c +1 -0
index fe8097c1460..522e33a33b5 100644
@@ -15,6 +15,7 @@
 #include <common.h>
 #include <cpu_func.h>
 #include <dm.h>
+#include <asm/cache.h>
 #include <linux/mtd/rawnand.h>
 #include <linux/sizes.h>
 #include <linux/types.h>
drivers/mtd/nand/raw/mxs_nand_spl.c +1 -0
index a653dfa5edf..45c9ed4b9c0 100644
@@ -7,6 +7,7 @@
 #include <nand.h>
 #include <malloc.h>
 #include <mxs_nand.h>
+#include <asm/cache.h>
 #include <linux/err.h>
 
 static struct mtd_info *mtd;
drivers/mtd/nand/raw/nand_util.c +1 -0
index f3c8f7f2cb1..9c4af8a5d63 100644
@@ -24,6 +24,7 @@
 #include <malloc.h>
 #include <memalign.h>
 #include <div64.h>
+#include <asm/cache.h>
 #include <dm/devres.h>
 
 #include <linux/errno.h>
drivers/net/ag7xxx.c +2 -0
index e3a7222efba..11c9124e310 100644
@@ -13,6 +13,8 @@
 #include <errno.h>
 #include <miiphy.h>
 #include <malloc.h>
+#include <net.h>
+#include <asm/cache.h>
 #include <linux/compiler.h>
 #include <linux/err.h>
 #include <linux/mii.h>
drivers/net/bcm-sf2-eth-gmac.c +1 -0
index 6a25f67c30b..3794e40b01b 100644
@@ -14,6 +14,7 @@
 #include <cpu_func.h>
 #include <malloc.h>
 #include <net.h>
+#include <asm/cache.h>
 #include <asm/io.h>
 #include <phy.h>
 
drivers/net/bcmgenet.c +1 -0
index 8f4848aec68..f3ac064c1d3 100644
@@ -16,6 +16,7 @@
  * we only support v5, as used in the Raspberry Pi 4.
  */
 
+#include <asm/cache.h>
 #include <asm/io.h>
 #include <clk.h>
 #include <cpu_func.h>
drivers/net/calxedaxgmac.c +1 -0
index 1b7c94f654d..0dd64e45821 100644
@@ -5,6 +5,7 @@
 
 #include <common.h>
 #include <malloc.h>
+#include <net.h>
 #include <linux/compiler.h>
 #include <linux/err.h>
 #include <asm/io.h>
drivers/net/designware.c +2 -0
index baac277a84d..34e0da1a1b7 100644
@@ -15,8 +15,10 @@
 #include <errno.h>
 #include <miiphy.h>
 #include <malloc.h>
+#include <net.h>
 #include <pci.h>
 #include <reset.h>
+#include <asm/cache.h>
 #include <dm/device_compat.h>
 #include <dm/devres.h>
 #include <linux/compiler.h>
drivers/net/designware.h +3 -0
index 3519a4167a7..ffaf5a14d07 100644
@@ -7,6 +7,9 @@
 #ifndef _DW_ETH_H
 #define _DW_ETH_H
 
+#include <asm/cache.h>
+#include <net.h>
+
 #if CONFIG_IS_ENABLED(DM_GPIO)
 #include <asm-generic/gpio.h>
 #endif
drivers/net/dwc_eth_qos.c +1 -0
index 0564bebf76c..5511b2a8389 100644
@@ -39,6 +39,7 @@
 #include <phy.h>
 #include <reset.h>
 #include <wait_bit.h>
+#include <asm/cache.h>
 #include <asm/gpio.h>
 #include <asm/io.h>
 
drivers/net/e1000.c +2 -0
index 9212920549d..7e98449cfa2 100644
@@ -35,8 +35,10 @@ tested on both gig copper and gig fiber boards
 #include <errno.h>
 #include <malloc.h>
 #include <memalign.h>
+#include <net.h>
 #include <pci.h>
 #include "e1000.h"
+#include <asm/cache.h>
 
 #define TOUT_LOOP   100000
 
drivers/net/ep93xx_eth.c +1 -0
index ecb34b24508..8ec7b36f9ac 100644
@@ -18,6 +18,7 @@
 
 #include <command.h>
 #include <common.h>
+#include <net.h>
 #include <asm/arch/ep93xx.h>
 #include <asm/io.h>
 #include <malloc.h>
drivers/net/fec_mxc.c +1 -0
index bc5b63d7881..9a0c7110fbf 100644
@@ -16,6 +16,7 @@
 #include <miiphy.h>
 #include <net.h>
 #include <netdev.h>
+#include <asm/cache.h>
 #include <power/regulator.h>
 
 #include <asm/io.h>
drivers/net/fm/init.c +1 -0
index f896e80b6d9..1ff405bf5b7 100644
@@ -4,6 +4,7 @@
  */
 #include <errno.h>
 #include <common.h>
+#include <net.h>
 #include <asm/io.h>
 #include <fdt_support.h>
 #include <fsl_mdio.h>
drivers/net/fsl_enetc.c +2 -0
index bee73153d0e..2fa27c7b6ec 100644
@@ -9,6 +9,8 @@
 #include <errno.h>
 #include <malloc.h>
 #include <memalign.h>
+#include <net.h>
+#include <asm/cache.h>
 #include <asm/io.h>
 #include <pci.h>
 #include <miiphy.h>
drivers/net/ftgmac100.c +1 -0
index 40e6b3ba395..35257366747 100644
@@ -18,6 +18,7 @@
 #include <miiphy.h>
 #include <net.h>
 #include <wait_bit.h>
+#include <asm/cache.h>
 #include <dm/device_compat.h>
 #include <linux/io.h>
 #include <linux/iopoll.h>
drivers/net/ftmac110.c +1 -0
index 84082407d27..10d5fc34cc0 100644
@@ -10,6 +10,7 @@
 #include <command.h>
 #include <malloc.h>
 #include <net.h>
+#include <asm/cache.h>
 #include <linux/errno.h>
 #include <asm/io.h>
 #include <linux/dma-mapping.h>
drivers/net/gmac_rockchip.c +1 -0
index e152faf083d..85f8d3b419a 100644
@@ -8,6 +8,7 @@
 #include <common.h>
 #include <dm.h>
 #include <clk.h>
+#include <net.h>
 #include <phy.h>
 #include <syscon.h>
 #include <asm/io.h>
drivers/net/higmacv300.c +1 -0
index 0c1dd6834a3..d338643e60d 100644
@@ -5,6 +5,7 @@
 
 #include <cpu_func.h>
 #include <malloc.h>
+#include <asm/cache.h>
 #include <asm/io.h>
 #include <common.h>
 #include <console.h>
drivers/net/mt7628-eth.c +1 -0
index 404a0464229..217c684702f 100644
@@ -21,6 +21,7 @@
 #include <net.h>
 #include <reset.h>
 #include <wait_bit.h>
+#include <asm/cache.h>
 #include <asm/io.h>
 #include <linux/bitfield.h>
 #include <linux/err.h>
drivers/net/mtk_eth.c +2 -0
index 126b824b1a8..7a153997117 100644
@@ -11,10 +11,12 @@
 #include <dm.h>
 #include <malloc.h>
 #include <miiphy.h>
+#include <net.h>
 #include <regmap.h>
 #include <reset.h>
 #include <syscon.h>
 #include <wait_bit.h>
+#include <asm/cache.h>
 #include <asm/gpio.h>
 #include <asm/io.h>
 #include <dm/device_compat.h>
drivers/net/mvneta.c +1 -0
index d737400a20d..75831dfe147 100644
@@ -19,6 +19,7 @@
 #include <netdev.h>
 #include <config.h>
 #include <malloc.h>
+#include <asm/cache.h>
 #include <asm/io.h>
 #include <dm/device_compat.h>
 #include <dm/devres.h>
drivers/net/mvpp2.c +1 -0
index fcd24868af4..29067194cb1 100644
@@ -16,6 +16,7 @@
 #include <common.h>
 #include <cpu_func.h>
 #include <dm.h>
+#include <asm/cache.h>
 #include <dm/device-internal.h>
 #include <dm/device_compat.h>
 #include <dm/devres.h>
drivers/net/pcnet.c +1 -0
index b4ad11d3fa5..283f099f863 100644
@@ -11,6 +11,7 @@
 #include <malloc.h>
 #include <net.h>
 #include <netdev.h>
+#include <asm/cache.h>
 #include <asm/io.h>
 #include <pci.h>
 
drivers/net/phy/aquantia.c +1 -0
index 8ece926dd37..e30a7fd5d6b 100644
@@ -8,6 +8,7 @@
 #include <config.h>
 #include <common.h>
 #include <dm.h>
+#include <net.h>
 #include <phy.h>
 #include <u-boot/crc.h>
 #include <malloc.h>
drivers/net/ravb.c +1 -0
index fb4a628d63c..9139b5b1a10 100644
@@ -15,6 +15,7 @@
 #include <errno.h>
 #include <miiphy.h>
 #include <malloc.h>
+#include <asm/cache.h>
 #include <linux/mii.h>
 #include <wait_bit.h>
 #include <asm/io.h>
drivers/net/rtl8169.c +1 -0
index 5ccdfdd6839..27dc233323c 100644
@@ -49,6 +49,7 @@
 #ifndef CONFIG_DM_ETH
 #include <netdev.h>
 #endif
+#include <asm/cache.h>
 #include <asm/io.h>
 #include <pci.h>
 
drivers/net/sh_eth.c +1 -0
index f8e5d05722a..d75bf546704 100644
@@ -16,6 +16,7 @@
 #include <net.h>
 #include <netdev.h>
 #include <miiphy.h>
+#include <asm/cache.h>
 #include <linux/errno.h>
 #include <asm/io.h>
 
drivers/net/smc91111.h +1 -0
index 013542770dd..4c3acba35a9 100644
@@ -30,6 +30,7 @@
 
 #include <asm/types.h>
 #include <config.h>
+#include <net.h>
 
 /*
  * This function may be called by the board specific initialisation code
drivers/net/smc911x.h +1 -0
index 3145fbde2bd..b7f59aa0df9 100644
@@ -8,6 +8,7 @@
 #ifndef _SMC911X_H_
 #define _SMC911X_H_
 
+#include <net.h>
 #include <linux/types.h>
 
 #define DRIVERNAME "smc911x"
drivers/net/sni_ave.c +1 -0
index 5d66a63a8bf..0f665087c60 100644
@@ -14,6 +14,7 @@
 #include <regmap.h>
 #include <reset.h>
 #include <syscon.h>
+#include <asm/cache.h>
 #include <dm/device_compat.h>
 #include <linux/err.h>
 #include <linux/io.h>
drivers/net/sun8i_emac.c +1 -0
index 1ae776b4464..09ea586e071 100644
@@ -11,6 +11,7 @@
 */
 
 #include <cpu_func.h>
+#include <asm/cache.h>
 #include <asm/io.h>
 #include <asm/arch/clock.h>
 #include <asm/arch/gpio.h>
drivers/net/ti/am65-cpsw-nuss.c +1 -0
index 2b77213001f..eea15701f77 100644
@@ -8,6 +8,7 @@
 
 #include <common.h>
 #include <malloc.h>
+#include <asm/cache.h>
 #include <asm/io.h>
 #include <asm/processor.h>
 #include <clk.h>
drivers/net/ti/davinci_emac.c +1 -0
index 9c6bfca5a9f..b5dfa8bd914 100644
@@ -27,6 +27,7 @@
 #include <net.h>
 #include <miiphy.h>
 #include <malloc.h>
+#include <asm/cache.h>
 #include <linux/compiler.h>
 #include <asm/arch/emac_defs.h>
 #include <asm/io.h>
drivers/net/zynq_gem.c +1 -0
index 5f2f87d352c..f7aaff5e38d 100644
@@ -17,6 +17,7 @@
 #include <config.h>
 #include <console.h>
 #include <malloc.h>
+#include <asm/cache.h>
 #include <asm/io.h>
 #include <phy.h>
 #include <miiphy.h>
drivers/ram/stm32mp1/stm32mp1_tests.c +1 -0
index 12298cf3273..3325dfef2b8 100644
@@ -5,6 +5,7 @@
 #include <common.h>
 #include <console.h>
 #include <init.h>
+#include <rand.h>
 #include <watchdog.h>
 #include <asm/io.h>
 #include <linux/log2.h>
drivers/ram/stm32mp1/stm32mp1_tuning.c +1 -0
index 4e1c1fab54c..f5b16b8fb3b 100644
@@ -6,6 +6,7 @@
 #include <console.h>
 #include <clk.h>
 #include <ram.h>
+#include <rand.h>
 #include <reset.h>
 #include <asm/io.h>
 
drivers/remoteproc/rproc-elf-loader.c +1 -0
index f2e033aa741..d308100cf41 100644
@@ -7,6 +7,7 @@
 #include <dm.h>
 #include <elf.h>
 #include <remoteproc.h>
+#include <asm/cache.h>
 #include <dm/device_compat.h>
 #include <linux/compat.h>
 
drivers/rng/sandbox_rng.c +1 -0
index cd0b0ac77b6..cc5e1f6e25b 100644
@@ -5,6 +5,7 @@
 
 #include <common.h>
 #include <dm.h>
+#include <rand.h>
 #include <rng.h>
 
 #include <linux/string.h>
drivers/soc/ti/k3-navss-ringacc.c +1 -0
index c5661c52fac..b24a8f128f5 100644
@@ -7,6 +7,7 @@
 
 #include <common.h>
 #include <cpu_func.h>
+#include <asm/cache.h>
 #include <asm/io.h>
 #include <malloc.h>
 #include <asm/bitops.h>
drivers/spi/mxs_spi.c +1 -0
index 3ca30887fbe..ee44973c7fa 100644
@@ -17,6 +17,7 @@
 #include <malloc.h>
 #include <memalign.h>
 #include <spi.h>
+#include <asm/cache.h>
 #include <linux/errno.h>
 #include <asm/io.h>
 #include <asm/arch/clock.h>
drivers/spi/ti_qspi.c +1 -0
index e3750b0b171..ef39198b43f 100644
@@ -7,6 +7,7 @@
 
 #include <common.h>
 #include <cpu_func.h>
+#include <asm/cache.h>
 #include <asm/io.h>
 #include <asm/arch/omap.h>
 #include <malloc.h>
drivers/spi/zynqmp_gqspi.c +1 -0
index 02b78df8437..5d15072d498 100644
@@ -8,6 +8,7 @@
 #include <common.h>
 #include <cpu_func.h>
 #include <asm/arch/sys_proto.h>
+#include <asm/cache.h>
 #include <asm/io.h>
[… more lines in the raw message]

Lines of this file are not shown. View the raw message.

drivers/usb/cdns3/ep0.c +1 -0
index 1957a3b91d5..4266bd630c3 100644

Lines of this file are not shown. View the raw message.

drivers/usb/eth/asix.c +1 -0
index 3a8ec0bf2dd..448f5245d17 100644

Lines of this file are not shown. View the raw message.

drivers/usb/eth/lan78xx.c +1 -0
index e8ee6650bc4..fe8cc6acc53 100644

Lines of this file are not shown. View the raw message.

drivers/usb/eth/lan7x.c +1 -0
index 21786e1bdfc..afe78d44a38 100644

Lines of this file are not shown. View the raw message.

drivers/usb/eth/mcs7830.c +1 -0
index 75c45ee0ae8..a9e0aabc61f 100644

Lines of this file are not shown. View the raw message.

drivers/usb/eth/r8152.c +1 -0
index e5f73e3d4c0..8dae5097b8d 100644

Lines of this file are not shown. View the raw message.

drivers/usb/eth/smsc95xx.c +1 -0
index 25f69a061b4..ab6411f561a 100644

Lines of this file are not shown. View the raw message.

drivers/usb/eth/usb_ether.c +2 -0
index 3aca9ac265d..d76e2ff5bbf 100644

Lines of this file are not shown. View the raw message.

drivers/usb/gadget/ci_udc.c +1 -0
index d9cfff3a29f..5677eab4261 100644

Lines of this file are not shown. View the raw message.

drivers/usb/host/dwc2.c +1 -0
index e4efaf1e593..d048a42d3df 100644

Lines of this file are not shown. View the raw message.

drivers/usb/host/ehci-hcd.c +1 -0
index 1cc02052f54..6ec25fc80a6 100644

Lines of this file are not shown. View the raw message.

drivers/usb/host/ohci-hcd.c +1 -0
index c94960f2cc7..ac1ad29b02b 100644

Lines of this file are not shown. View the raw message.

drivers/video/bcm2835.c +1 -0
index 1d2eda084c8..ea5a4529cee 100644

Lines of this file are not shown. View the raw message.

drivers/video/fsl_dcu_fb.c +1 -0
index 076e9ea0193..e9d05c93946 100644

Lines of this file are not shown. View the raw message.

drivers/video/imx/mxc_ipuv3_fb.c +1 -0
index c64be38e492..db8eb4ade88 100644

Lines of this file are not shown. View the raw message.

drivers/video/mvebu_lcd.c +1 -0
index 3ff5b28ae2f..2907c533783 100644

Lines of this file are not shown. View the raw message.

drivers/video/mxsfb.c +1 -0
index 585af3d5714..dc8a55f70ef 100644

Lines of this file are not shown. View the raw message.

drivers/video/tegra.c +1 -0
index f4bae9fc369..1fa052e306e 100644

Lines of this file are not shown. View the raw message.

drivers/video/video-uclass.c +1 -0
index 3d658e61d7c..eed61cd731c 100644

Lines of this file are not shown. View the raw message.

env/fat.c +1 -0
index 1836556f361..53fc9c7fa60 100644

Lines of this file are not shown. View the raw message.

env/sf.c +1 -0
index ac16ed5bdd4..9717b5fcb90 100644

Lines of this file are not shown. View the raw message.

examples/standalone/smc911x_eeprom.c +1 -0
index 2c05ed902d0..70e9ab219ca 100644

Lines of this file are not shown. View the raw message.

fs/ext4/ext4_common.h +1 -0
index 4dff1914d9e..beaee9c80bd 100644

Lines of this file are not shown. View the raw message.

fs/fat/fat.c +1 -0
index 68ce6583867..f68c8f73c48 100644

Lines of this file are not shown. View the raw message.

fs/fat/fat_write.c +1 -0
index 4f96699e363..d2aff092001 100644

Lines of this file are not shown. View the raw message.

include/common.h +0 -1
index 1705d85e8a9..a900596c5f9 100644

Lines of this file are not shown. View the raw message.

include/dwmmc.h +1 -0
index f06720dc0d9..58110aa3e71 100644

Lines of this file are not shown. View the raw message.

include/log.h +1 -0
index 62fb8afbd0e..34385aafb1a 100644

Lines of this file are not shown. View the raw message.

include/net.h +6 -3
index 774ae2de63c..3ef212dd00f 100644

Lines of this file are not shown. View the raw message.

include/netdev.h +1 -0
index 68a3fceab66..f2d21c45d0f 100644

Lines of this file are not shown. View the raw message.

include/scsi.h +1 -0
index 61da958bf68..96cb7266762 100644

Lines of this file are not shown. View the raw message.

lib/efi_loader/efi_device_path.c +1 -0
index 73f1fe75a83..3c53c55b218 100644

Lines of this file are not shown. View the raw message.

lib/efi_loader/efi_memory.c +1 -0
index 97d90f069a6..b8c518614e8 100644

Lines of this file are not shown. View the raw message.

lib/efi_loader/efi_net.c +1 -0
index 82d2595847a..22f0123eca4 100644

Lines of this file are not shown. View the raw message.

lib/efi_selftest/efi_selftest_block_device.c +1 -0
index d98a854e6d1..5eb297d285a 100644

Lines of this file are not shown. View the raw message.

lib/efi_selftest/efi_selftest_console.c +1 -0
index 42f51b65203..13f3ee6bc19 100644

Lines of this file are not shown. View the raw message.

lib/efi_selftest/efi_selftest_snp.c +1 -0
index 9797ecaf42e..79f04678039 100644

Lines of this file are not shown. View the raw message.

lib/fdtdec.c +1 -0
index eb11fc898e3..c44a0f5be5e 100644

Lines of this file are not shown. View the raw message.

lib/image-sparse.c +1 -0
index 036062139bb..df623adc58e 100644

Lines of this file are not shown. View the raw message.

lib/linux_compat.c +1 -0
index 89a6fd6ec96..c83426f59dc 100644

Lines of this file are not shown. View the raw message.

lib/net_utils.c +1 -0
index 8af77829705..0a8a557319c 100644

Lines of this file are not shown. View the raw message.

lib/uuid.c +1 -0
index db26911414a..1b57917320e 100644

Lines of this file are not shown. View the raw message.

net/arp.c +1 -0
index b49c3d3ced9..4b12b699d09 100644

Lines of this file are not shown. View the raw message.

net/bootp.c +1 -0
index c73a82e642c..2c918d83796 100644

Lines of this file are not shown. View the raw message.

net/ping.c +1 -0
index 633c942e678..024e8eab909 100644

Lines of this file are not shown. View the raw message.

test/lib/test_aes.c +1 -0
index fb8a0b17ba4..cbc712f7eda 100644

Lines of this file are not shown. View the raw message.

The rest of this diff is not shown. View the raw message.

Signature · 1 line
2.26.0.292.g33ef6b2f38-goog

Part of the diff is not shown here. View the raw message.

#6 lore raw

PATCH 4/18 common: Drop net.h from common header

Quoted 9 lines · Simon Glass

Move this header out of the common header. Network support is used in quite a few places but it still does not warrant blanket inclusion.

Note that this net.h header itself has quite a lot in it. It could be split into the driver-mode support, functions, structures, checksumming, etc.

This patch appears to break the USB OHCI on the da850-evm.

starting USB...
Bus usb at 200000: Port not available.
Bus usb at 225000: USB OHCI 1.0
scanning bus usb at 225000 for devices... ERROR: CTL:TIMEOUT

The CTL:TIMEOUT is part of drivers/usb/host/ohci-hcd.c

I can go back and forth and the issue appears very repeatable.

A working state looks like:

starting USB...
Bus usb at 200000: Port not available.
Bus usb at 225000: USB OHCI 1.0
scanning bus usb at 225000 for devices... 2 USB Device(s) found
scanning usb for storage devices... 1 Storage Device(s) found

I generated drivers/usb/host/ohci-hcd.i files between the working and non-working versions to see
if/what is different, but they are different.

It's too large of a patch to just do a revert on this commit at master, because of many of the dependent changes that have been made after that. I am open for ideas on what to do to regain the broken USB functionality.

thanks,

adam

Quoted 2 lines

---

#7 lore raw

PATCH 4/18 common: Drop net.h from common header

Hi Adam,

Quoted 32 lines · Adam Ford
Quoted 9 lines · Simon Glass

Move this header out of the common header. Network support is used in quite a few places but it still does not warrant blanket inclusion.

Note that this net.h header itself has quite a lot in it. It could be split into the driver-mode support, functions, structures, checksumming, etc.

This patch appears to break the USB OHCI on the da850-evm.

starting USB...
Bus usb at 200000: Port not available.
Bus usb at 225000: USB OHCI 1.0
scanning bus usb at 225000 for devices... ERROR: CTL:TIMEOUT

The CTL:TIMEOUT is part of drivers/usb/host/ohci-hcd.c

I can go back and forth and the issue appears very repeatable.

A working state looks like:

starting USB...
Bus usb at 200000: Port not available.
Bus usb at 225000: USB OHCI 1.0
scanning bus usb at 225000 for devices... 2 USB Device(s) found
scanning usb for storage devices... 1 Storage Device(s) found

Quoted 8 lines

I generated drivers/usb/host/ohci-hcd.i files between the working and non-working versions to see
if/what is different, but they are different.

It's too large of a patch to just do a revert on this commit at master, because of many of the dependent changes that have been made after that. I am open for ideas on what to do to regain the broken USB functionality.

I happen to have an omapl138_lcdk in my lab at the moment which seems to be close enough to repeat the problem. I've sent a patch.

Regards,
Simon

#8 lore raw

PATCH 4/18 common: Drop net.h from common header

Quoted 40 lines · Simon Glass

Hi Adam,

Quoted 36 lines · Adam Ford
Quoted 9 lines · Simon Glass

Move this header out of the common header. Network support is used in quite a few places but it still does not warrant blanket inclusion.

Note that this net.h header itself has quite a lot in it. It could be split into the driver-mode support, functions, structures, checksumming, etc.

This patch appears to break the USB OHCI on the da850-evm.

starting USB...
Bus usb at 200000: Port not available.
Bus usb at 225000: USB OHCI 1.0
scanning bus usb at 225000 for devices... ERROR: CTL:TIMEOUT

The CTL:TIMEOUT is part of drivers/usb/host/ohci-hcd.c

I can go back and forth and the issue appears very repeatable.

A working state looks like:

starting USB...
Bus usb at 200000: Port not available.
Bus usb at 225000: USB OHCI 1.0
scanning bus usb at 225000 for devices... 2 USB Device(s) found
scanning usb for storage devices... 1 Storage Device(s) found

I generated drivers/usb/host/ohci-hcd.i files between the working and non-working versions to see
if/what is different, but they are different.

Quoted 7 lines
Quoted 4 lines

It's too large of a patch to just do a revert on this commit at master, because of many of the dependent changes that have been made after that. I am open for ideas on what to do to regain the broken USB functionality.

I happen to have an omapl138_lcdk in my lab at the moment which seems to be close enough to repeat the problem. I've sent a patch.

Thank you for your quick response. I have tested it, and responded with my 'tested-by' to the other series.

adam

Quoted 3 lines

Regards,
Simon

#9 lore raw

PATCH 5/18 part: Drop disk_partition_t typedef

In reply to Simon Glass

We should not be using typedefs and these make it harder to use forward declarations (to reduce header file inclusions). Drop the typedef.

---

 arch/arm/mach-omap2/utils.c      |  2 +-
 arch/x86/cpu/quark/quark.c       |  1 +
 cmd/ab_select.c                  |  2 +-
 cmd/bcb.c                        |  4 ++--
 cmd/disk.c                       |  2 +-
 cmd/fat.c                        |  4 ++--
 cmd/gpt.c                        | 17 +++++++-------
 cmd/part.c                       |  6 ++---
 cmd/read.c                       |  2 +-
 cmd/reiser.c                     |  4 ++--
 cmd/usb_mass_storage.c           |  2 +-
 cmd/zfs.c                        |  4 ++--
 common/android_ab.c              |  6 ++---
 common/spl/spl_ext.c             |  4 ++--
 common/spl/spl_mmc.c             |  2 +-
 disk/part.c                      | 17 +++++++-------
 disk/part_amiga.c                |  2 +-
 disk/part_dos.c                  |  4 ++--
 disk/part_efi.c                  |  8 +++----
 disk/part_iso.c                  |  8 +++----
 disk/part_mac.c                  |  2 +-
 drivers/dfu/dfu_mmc.c            |  2 +-
 drivers/fastboot/fb_getvar.c     |  4 ++--
 drivers/fastboot/fb_mmc.c        | 20 ++++++++--------
 env/ext4.c                       |  4 ++--
 env/fat.c                        |  4 ++--
 env/mmc.c                        |  2 +-
 fs/btrfs/btrfs.c                 |  3 ++-
 fs/btrfs/btrfs.h                 |  2 +-
 fs/btrfs/dev.c                   |  2 +-
 fs/ext4/dev.c                    |  4 ++--
 fs/ext4/ext4fs.c                 |  2 +-
 fs/fat/fat.c                     |  6 ++---
 fs/fs.c                          |  6 ++---
 fs/fs_internal.c                 |  2 +-
 fs/reiserfs/dev.c                |  4 ++--
 fs/sandbox/sandboxfs.c           |  2 +-
 fs/ubifs/ubifs.c                 |  2 +-
 fs/zfs/dev.c                     |  4 ++--
 include/android_ab.h             |  2 +-
 include/avb_verify.h             |  2 +-
 include/btrfs.h                  |  3 ++-
 include/ext4fs.h                 |  4 ++--
 include/fat.h                    |  2 +-
 include/fb_mmc.h                 |  5 ++--
 include/fs_internal.h            |  2 +-
 include/part.h                   | 40 +++++++++++++++++---------------
 include/reiserfs.h               |  2 +-
 include/sandboxfs.h              |  2 +-
 include/ubifs_uboot.h            |  2 +-
 include/zfs_common.h             |  2 +-
 lib/efi_loader/efi_device_path.c |  4 ++--
 lib/efi_loader/efi_disk.c        |  2 +-
 lib/efi_loader/efi_file.c        |  2 +-
 54 files changed, 131 insertions(+), 123 deletions(-)
arch/arm/mach-omap2/utils.c +1 -1
index 0d5ca20e8e8..6e519d8c910 100644
@@ -90,7 +90,7 @@ static u32 omap_mmc_get_part_size(const char *part)
 {
 	int res;
 	struct blk_desc *dev_desc;
-	disk_partition_t info;
+	struct disk_partition info;
 	u64 sz = 0;
 
 	dev_desc = blk_get_dev("mmc", CONFIG_FASTBOOT_FLASH_MMC_DEV);
arch/x86/cpu/quark/quark.c +1 -0
index d6611eea5dc..46c6d00eb4d 100644
@@ -6,6 +6,7 @@
 #include <common.h>
 #include <cpu_func.h>
 #include <mmc.h>
+#include <asm/cache.h>
 #include <asm/io.h>
 #include <asm/ioapic.h>
 #include <asm/irq.h>
cmd/ab_select.c +1 -1
index 7c8f2ee8eb3..d0d957d4f9d 100644
@@ -11,7 +11,7 @@ static int do_ab_select(cmd_tbl_t *cmdtp, int flag, int argc,
 {
 	int ret;
 	struct blk_desc *dev_desc;
-	disk_partition_t part_info;
+	struct disk_partition part_info;
 	char slot[2];
 
 	if (argc != 4)
cmd/bcb.c +2 -2
index 9626f2c69e3..62f9a44e38a 100644
@@ -112,7 +112,7 @@ static int do_bcb_load(cmd_tbl_t *cmdtp, int flag, int argc,
 		       char * const argv[])
 {
 	struct blk_desc *desc;
-	disk_partition_t info;
+	struct disk_partition info;
 	u64 cnt;
 	char *endp;
 	int part, ret;
@@ -252,7 +252,7 @@ static int do_bcb_store(cmd_tbl_t *cmdtp, int flag, int argc,
 			char * const argv[])
 {
 	struct blk_desc *desc;
-	disk_partition_t info;
+	struct disk_partition info;
 	u64 cnt;
 	int ret;
 
cmd/disk.c +1 -1
index 15973b7d132..9e008a38890 100644
@@ -16,7 +16,7 @@ int common_diskboot(cmd_tbl_t *cmdtp, const char *intf, int argc,
 	int part;
 	ulong addr = CONFIG_SYS_LOAD_ADDR;
 	ulong cnt;
-	disk_partition_t info;
+	struct disk_partition info;
 #if defined(CONFIG_LEGACY_IMAGE_FORMAT)
 	image_header_t *hdr;
 #endif
cmd/fat.c +2 -2
index 2392907be2f..a88a49c1171 100644
@@ -70,7 +70,7 @@ static int do_fat_fsinfo(cmd_tbl_t *cmdtp, int flag, int argc,
 {
 	int dev, part;
 	struct blk_desc *dev_desc;
-	disk_partition_t info;
+	struct disk_partition info;
 
 	if (argc < 2) {
 		printf("usage: fatinfo <interface> [<dev[:part]>]\n");
@@ -107,7 +107,7 @@ static int do_fat_fswrite(cmd_tbl_t *cmdtp, int flag,
 	unsigned long count;
 	long offset;
 	struct blk_desc *dev_desc = NULL;
-	disk_partition_t info;
+	struct disk_partition info;
 	int dev = 0;
 	int part = 1;
 	void *buf;
cmd/gpt.c +9 -8
index e05ef4355bc..f3731487627 100644
@@ -189,7 +189,8 @@ static void del_gpt_info(void)
 	}
 }
 
-static struct disk_part *allocate_disk_part(disk_partition_t *info, int partnum)
+static struct disk_part *allocate_disk_part(struct disk_partition *info,
+					    int partnum)
 {
 	struct disk_part *newpart;
 	newpart = calloc(1, sizeof(struct disk_part));
@@ -310,7 +311,7 @@ static int get_gpt_info(struct blk_desc *dev_desc)
 {
 	/* start partition numbering at 1, as U-Boot does */
 	int valid_parts = 0, p, ret;
-	disk_partition_t info;
+	struct disk_partition info;
 	struct disk_part *new_disk_part;
 
 	/*
@@ -375,14 +376,14 @@ static int do_get_gpt_info(struct blk_desc *dev_desc)
 static int set_gpt_info(struct blk_desc *dev_desc,
 			const char *str_part,
 			char **str_disk_guid,
-			disk_partition_t **partitions,
+			struct disk_partition **partitions,
 			u8 *parts_count)
 {
 	char *tok, *str, *s;
 	int i;
 	char *val, *p;
 	int p_count;
-	disk_partition_t *parts;
+	struct disk_partition *parts;
 	int errno = 0;
 	uint64_t size_ll, start_ll;
 	lbaint_t offset = 0;
@@ -440,7 +441,7 @@ static int set_gpt_info(struct blk_desc *dev_desc,
 	}
 
 	/* allocate memory for partitions */
-	parts = calloc(sizeof(disk_partition_t), p_count);
+	parts = calloc(sizeof(struct disk_partition), p_count);
 	if (parts == NULL)
 		return -ENOMEM;
 
@@ -557,7 +558,7 @@ static int gpt_default(struct blk_desc *blk_dev_desc, const char *str_part)
 	int ret;
 	char *str_disk_guid;
 	u8 part_count = 0;
-	disk_partition_t *partitions = NULL;
+	struct disk_partition *partitions = NULL;
 
 	/* fill partitions */
 	ret = set_gpt_info(blk_dev_desc, str_part,
@@ -584,7 +585,7 @@ static int gpt_verify(struct blk_desc *blk_dev_desc, const char *str_part)
 {
 	ALLOC_CACHE_ALIGN_BUFFER_PAD(gpt_header, gpt_head, 1,
 				     blk_dev_desc->blksz);
-	disk_partition_t *partitions = NULL;
+	struct disk_partition *partitions = NULL;
 	gpt_entry *gpt_pte = NULL;
 	char *str_disk_guid;
 	u8 part_count = 0;
@@ -640,7 +641,7 @@ static int do_rename_gpt_parts(struct blk_desc *dev_desc, char *subcomm,
 {
 	struct list_head *pos;
 	struct disk_part *curr;
-	disk_partition_t *new_partitions = NULL;
+	struct disk_partition *new_partitions = NULL;
 	char disk_guid[UUID_STR_LEN + 1];
 	char *partitions_list, *str_disk_guid = NULL;
 	u8 part_count = 0;
cmd/part.c +3 -3
index 5e4e45ca6d8..4b2e06e615a 100644
@@ -32,7 +32,7 @@ static int do_part_uuid(int argc, char * const argv[])
 {
 	int part;
 	struct blk_desc *dev_desc;
-	disk_partition_t info;
+	struct disk_partition info;
 
 	if (argc < 2)
 		return CMD_RET_USAGE;
@@ -90,7 +90,7 @@ static int do_part_list(int argc, char * const argv[])
 	if (var != NULL) {
 		int p;
 		char str[512] = { '\0', };
-		disk_partition_t info;
+		struct disk_partition info;
 
 		for (p = 1; p < MAX_SEARCH_PARTITIONS; p++) {
 			char t[5];
@@ -117,7 +117,7 @@ static int do_part_list(int argc, char * const argv[])
 static int do_part_info(int argc, char * const argv[], enum cmd_part_info param)
 {
 	struct blk_desc *desc;
-	disk_partition_t info;
+	struct disk_partition info;
 	char buf[512] = { 0 };
 	char *endp;
 	int part;
cmd/read.c +1 -1
index 82c2d9ad994..7977e9d847e 100644
@@ -18,7 +18,7 @@ int do_read(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
 	struct blk_desc *dev_desc = NULL;
 	int dev;
 	int part = 0;
-	disk_partition_t part_info;
+	struct disk_partition part_info;
 	ulong offset = 0u;
 	ulong limit = 0u;
 	void *addr;
cmd/reiser.c +2 -2
index 598fab48b32..28e827796b3 100644
@@ -35,7 +35,7 @@ int do_reiserls (cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
 	char *filename = "/";
 	int dev, part;
 	struct blk_desc *dev_desc = NULL;
-	disk_partition_t info;
+	struct disk_partition info;
 
 	if (argc < 3)
 		return CMD_RET_USAGE;
@@ -81,7 +81,7 @@ int do_reiserload (cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
 	char *filename = NULL;
 	int dev, part;
 	ulong addr = 0, filelen;
-	disk_partition_t info;
+	struct disk_partition info;
 	struct blk_desc *dev_desc = NULL;
 	unsigned long count;
 	char *addr_str;
cmd/usb_mass_storage.c +1 -1
index c5c6899787c..52ff637e2fb 100644
@@ -55,7 +55,7 @@ static int ums_init(const char *devtype, const char *devnums_part_str)
 {
 	char *s, *t, *devnum_part_str, *name;
 	struct blk_desc *block_dev;
-	disk_partition_t info;
+	struct disk_partition info;
 	int partnum;
 	int ret = -1;
 	struct ums *ums_new;
cmd/zfs.c +2 -2
index 9c237a5758d..2b622a8f53e 100644
@@ -38,7 +38,7 @@ static int do_zfs_load(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]
 	int dev;
 	int part;
 	ulong addr = 0;
-	disk_partition_t info;
+	struct disk_partition info;
 	struct blk_desc *dev_desc;
 	unsigned long count;
 	const char *addr_str;
@@ -135,7 +135,7 @@ static int do_zfs_ls(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
 	const char *filename = "/";
 	int part;
 	struct blk_desc *dev_desc;
-	disk_partition_t info;
+	struct disk_partition info;
 	struct device_s vdev;
 
 	if (argc < 2)
common/android_ab.c +3 -3
index e0fe32d24da..b5b8af1b278 100644
@@ -81,7 +81,7 @@ static int ab_control_default(struct bootloader_control *abc)
  * @return 0 on success and a negative on error
  */
 static int ab_control_create_from_disk(struct blk_desc *dev_desc,
-				       const disk_partition_t *part_info,
+				       const struct disk_partition *part_info,
 				       struct bootloader_control **abc)
 {
 	ulong abc_offset, abc_blocks, ret;
@@ -131,7 +131,7 @@ static int ab_control_create_from_disk(struct blk_desc *dev_desc,
  * @return 0 on success and a negative on error
  */
 static int ab_control_store(struct blk_desc *dev_desc,
-			    const disk_partition_t *part_info,
+			    const struct disk_partition *part_info,
 			    struct bootloader_control *abc)
 {
 	ulong abc_offset, abc_blocks, ret;
@@ -178,7 +178,7 @@ static int ab_compare_slots(const struct slot_metadata *a,
 	return 0;
 }
 
-int ab_select_slot(struct blk_desc *dev_desc, disk_partition_t *part_info)
+int ab_select_slot(struct blk_desc *dev_desc, struct disk_partition *part_info)
 {
 	struct bootloader_control *abc = NULL;
 	u32 crc32_le;
common/spl/spl_ext.c +2 -2
index 2a6252229ca..954133ba84e 100644
@@ -15,7 +15,7 @@ int spl_load_image_ext(struct spl_image_info *spl_image,
 	s32 err;
 	struct image_header *header;
 	loff_t filelen, actlen;
-	disk_partition_t part_info = {};
+	struct disk_partition part_info = {};
 
 	header = spl_get_load_buffer(-sizeof(*header), sizeof(*header));
 
@@ -69,7 +69,7 @@ int spl_load_image_ext_os(struct spl_image_info *spl_image,
 {
 	int err;
 	__maybe_unused loff_t filelen, actlen;
-	disk_partition_t part_info = {};
+	struct disk_partition part_info = {};
 	__maybe_unused char *file;
 
 	if (part_get_info(block_dev, partition, &part_info)) {
common/spl/spl_mmc.c +1 -1
index a2ea363e96a..e6af5b567bc 100644
@@ -168,7 +168,7 @@ static int mmc_load_image_raw_partition(struct spl_image_info *spl_image,
 					struct mmc *mmc, int partition,
 					unsigned long sector)
 {
-	disk_partition_t info;
+	struct disk_partition info;
 	int err;
 
 #ifdef CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION_TYPE
disk/part.c +9 -8
index 4cc2fc19f7e..68cba61c5a0 100644
@@ -318,7 +318,7 @@ void part_print(struct blk_desc *dev_desc)
 #endif /* CONFIG_HAVE_BLOCK_DEVICE */
 
 int part_get_info(struct blk_desc *dev_desc, int part,
-		       disk_partition_t *info)
+		       struct disk_partition *info)
 {
 #ifdef CONFIG_HAVE_BLOCK_DEVICE
 	struct part_driver *drv;
@@ -351,7 +351,8 @@ int part_get_info(struct blk_desc *dev_desc, int part,
 	return -1;
 }
 
-int part_get_info_whole_disk(struct blk_desc *dev_desc, disk_partition_t *info)
+int part_get_info_whole_disk(struct blk_desc *dev_desc,
+			     struct disk_partition *info)
 {
 	info->start = 0;
 	info->size = dev_desc->lba;
@@ -431,7 +432,7 @@ cleanup:
 #define PART_AUTO -1
 int blk_get_device_part_str(const char *ifname, const char *dev_part_str,
 			     struct blk_desc **dev_desc,
-			     disk_partition_t *info, int allow_whole_dev)
+			     struct disk_partition *info, int allow_whole_dev)
 {
 	int ret = -1;
 	const char *part_str;
@@ -441,7 +442,7 @@ int blk_get_device_part_str(const char *ifname, const char *dev_part_str,
 	char *ep;
 	int p;
 	int part;
-	disk_partition_t tmpinfo;
+	struct disk_partition tmpinfo;
 
 #ifdef CONFIG_SANDBOX
 	/*
@@ -646,7 +647,7 @@ cleanup:
 }
 
 int part_get_info_by_name_type(struct blk_desc *dev_desc, const char *name,
-			       disk_partition_t *info, int part_type)
+			       struct disk_partition *info, int part_type)
 {
 	struct part_driver *part_drv;
 	int ret;
@@ -671,7 +672,7 @@ int part_get_info_by_name_type(struct blk_desc *dev_desc, const char *name,
 }
 
 int part_get_info_by_name(struct blk_desc *dev_desc, const char *name,
-			  disk_partition_t *info)
+			  struct disk_partition *info)
 {
 	return part_get_info_by_name_type(dev_desc, name, info, PART_TYPE_ALL);
 }
@@ -693,7 +694,7 @@ int part_get_info_by_name(struct blk_desc *dev_desc, const char *name,
 static int part_get_info_by_dev_and_name(const char *dev_iface,
 					 const char *dev_part_str,
 					 struct blk_desc **dev_desc,
-					 disk_partition_t *part_info)
+					 struct disk_partition *part_info)
 {
 	char *ep;
 	const char *part_str;
@@ -725,7 +726,7 @@ static int part_get_info_by_dev_and_name(const char *dev_iface,
 int part_get_info_by_dev_and_name_or_num(const char *dev_iface,
 					 const char *dev_part_str,
 					 struct blk_desc **dev_desc,
-					 disk_partition_t *part_info)
+					 struct disk_partition *part_info)
 {
 	/* Split the part_name if passed as "$dev_num#part_name". */
 	if (!part_get_info_by_dev_and_name(dev_iface, dev_part_str,
disk/part_amiga.c +1 -1
index 5a2bb718b59..5a17d11b9b7 100644
@@ -291,7 +291,7 @@ static struct partition_block *find_partition(struct blk_desc *dev_desc,
  * Get info about a partition
  */
 static int part_get_info_amiga(struct blk_desc *dev_desc, int part,
-				    disk_partition_t *info)
+				    struct disk_partition *info)
 {
     struct partition_block *p = find_partition(dev_desc, part-1);
     struct amiga_part_geometry *g;
disk/part_dos.c +2 -2
index 83ff40d310a..a4e92ac991b 100644
@@ -207,7 +207,7 @@ static void print_partition_extended(struct blk_desc *dev_desc,
 static int part_get_info_extended(struct blk_desc *dev_desc,
 				  lbaint_t ext_part_sector, lbaint_t relative,
 				  int part_num, int which_part,
-				  disk_partition_t *info, unsigned int disksig)
+				  struct disk_partition *info, uint disksig)
 {
 	ALLOC_CACHE_ALIGN_BUFFER(unsigned char, buffer, dev_desc->blksz);
 	dos_partition_t *pt;
@@ -311,7 +311,7 @@ void part_print_dos(struct blk_desc *dev_desc)
 }
 
 int part_get_info_dos(struct blk_desc *dev_desc, int part,
-		      disk_partition_t *info)
+		      struct disk_partition *info)
 {
 	return part_get_info_extended(dev_desc, 0, 0, 1, part, info, 0);
 }
disk/part_efi.c +4 -4
index f5730ae7173..b85377b02ec 100644
@@ -255,7 +255,7 @@ void part_print_efi(struct blk_desc *dev_desc)
 }
 
 int part_get_info_efi(struct blk_desc *dev_desc, int part,
-		      disk_partition_t *info)
+		      struct disk_partition *info)
 {
 	ALLOC_CACHE_ALIGN_BUFFER_PAD(gpt_header, gpt_head, 1, dev_desc->blksz);
 	gpt_entry *gpt_pte = NULL;
@@ -409,7 +409,7 @@ int write_gpt_table(struct blk_desc *dev_desc,
 
 int gpt_fill_pte(struct blk_desc *dev_desc,
 		 gpt_header *gpt_h, gpt_entry *gpt_e,
-		 disk_partition_t *partitions, int parts)
+		 struct disk_partition *partitions, int parts)
 {
 	lbaint_t offset = (lbaint_t)le64_to_cpu(gpt_h->first_usable_lba);
 	lbaint_t last_usable_lba = (lbaint_t)
@@ -599,7 +599,7 @@ int gpt_fill_header(struct blk_desc *dev_desc, gpt_header *gpt_h,
 }
 
 int gpt_restore(struct blk_desc *dev_desc, char *str_disk_guid,
-		disk_partition_t *partitions, int parts_count)
+		struct disk_partition *partitions, int parts_count)
 {
 	gpt_header *gpt_h;
 	gpt_entry *gpt_e;
@@ -694,7 +694,7 @@ int gpt_verify_headers(struct blk_desc *dev_desc, gpt_header *gpt_head,
 }
 
 int gpt_verify_partitions(struct blk_desc *dev_desc,
-			  disk_partition_t *partitions, int parts,
+			  struct disk_partition *partitions, int parts,
 			  gpt_header *gpt_head, gpt_entry **gpt_pte)
 {
 	char efi_str[PARTNAME_SZ + 1];
disk/part_iso.c +4 -4
index 4f14c9a56e2..2ccb7867c9b 100644
@@ -47,7 +47,7 @@ unsigned long iso_dread(struct blk_desc *block_dev, lbaint_t start,
 
 /* only boot records will be listed as valid partitions */
 int part_get_info_iso_verb(struct blk_desc *dev_desc, int part_num,
-			   disk_partition_t *info, int verb)
+			   struct disk_partition *info, int verb)
 {
 	int i,offset,entry_num;
 	unsigned short *chksumbuf;
@@ -200,14 +200,14 @@ found:
 }
 
 static int part_get_info_iso(struct blk_desc *dev_desc, int part_num,
-				  disk_partition_t *info)
+			     struct disk_partition *info)
 {
 	return part_get_info_iso_verb(dev_desc, part_num, info, 0);
 }
 
 static void part_print_iso(struct blk_desc *dev_desc)
 {
-	disk_partition_t info;
+	struct disk_partition info;
 	int i;
 
 	if (part_get_info_iso_verb(dev_desc, 1, &info, 0) == -1) {
@@ -226,7 +226,7 @@ static void part_print_iso(struct blk_desc *dev_desc)
 
 static int part_test_iso(struct blk_desc *dev_desc)
 {
-	disk_partition_t info;
+	struct disk_partition info;
 
 	return part_get_info_iso_verb(dev_desc, 1, &info, 0);
 }
disk/part_mac.c +1 -1
index 8b2c004027c..fbd0ad73e35 100644
@@ -214,7 +214,7 @@ static int part_mac_read_pdb(struct blk_desc *dev_desc, int part,
 }
 
 static int part_get_info_mac(struct blk_desc *dev_desc, int part,
-				  disk_partition_t *info)
+				  struct disk_partition *info)
 {
 	ALLOC_CACHE_ALIGN_BUFFER(mac_driver_desc_t, ddesc, 1);
 	ALLOC_CACHE_ALIGN_BUFFER(mac_partition_t, mpart, 1);
drivers/dfu/dfu_mmc.c +1 -1
index 0d495a785bc..cddca0c45fe 100644
@@ -369,7 +369,7 @@ int dfu_fill_entity_mmc(struct dfu_entity *dfu, char *devstr, char *s)
 					simple_strtoul(s, NULL, 0);
 
 	} else if (!strcmp(entity_type, "part")) {
-		disk_partition_t partinfo;
+		struct disk_partition partinfo;
 		struct blk_desc *blk_dev = mmc_get_blk_desc(mmc);
 		int mmcdev = second_arg;
 		int mmcpart = third_arg;
drivers/fastboot/fb_getvar.c +2 -2
index 95cb4341895..467a8618fe3 100644
@@ -103,7 +103,7 @@ static int getvar_get_part_info(const char *part_name, char *response,
 	int r;
 # if CONFIG_IS_ENABLED(FASTBOOT_FLASH_MMC)
 	struct blk_desc *dev_desc;
-	disk_partition_t part_info;
+	struct disk_partition part_info;
 
 	r = fastboot_mmc_get_part_info(part_name, &dev_desc, &part_info,
 				       response);
@@ -219,7 +219,7 @@ static void getvar_partition_type(char *part_name, char *response)
 {
 	int r;
 	struct blk_desc *dev_desc;
-	disk_partition_t part_info;
+	struct disk_partition part_info;
 
 	r = fastboot_mmc_get_part_info(part_name, &dev_desc, &part_info,
 				       response);
drivers/fastboot/fb_mmc.c +10 -10
index d3249a54f7c..c666eb0f29b 100644
@@ -27,7 +27,7 @@ struct fb_mmc_sparse {
 };
 
 static int part_get_info_by_name_or_alias(struct blk_desc *dev_desc,
-		const char *name, disk_partition_t *info)
+		const char *name, struct disk_partition *info)
 {
 	int ret;
 
@@ -98,9 +98,9 @@ static lbaint_t fb_mmc_sparse_reserve(struct sparse_storage *info,
 	return blkcnt;
 }
 
-static void write_raw_image(struct blk_desc *dev_desc, disk_partition_t *info,
-		const char *part_name, void *buffer,
-		u32 download_bytes, char *response)
+static void write_raw_image(struct blk_desc *dev_desc,
+			    struct disk_partition *info, const char *part_name,
+			    void *buffer, u32 download_bytes, char *response)
 {
 	lbaint_t blkcnt;
 	lbaint_t blks;
@@ -211,7 +211,7 @@ static void fb_mmc_boot1_ops(struct blk_desc *dev_desc, void *buffer,
  * @return Boot image header sectors count or 0 on error
  */
 static lbaint_t fb_mmc_get_boot_header(struct blk_desc *dev_desc,
-				       disk_partition_t *info,
+				       struct disk_partition *info,
 				       struct andr_img_hdr *hdr,
 				       char *response)
 {
@@ -271,7 +271,7 @@ static int fb_mmc_update_zimage(struct blk_desc *dev_desc,
 	u32 kernel_sector_start;
 	u32 kernel_sectors;
 	u32 sectors_per_page;
-	disk_partition_t info;
+	struct disk_partition info;
 	int res;
 
 	puts("Flashing zImage\n");
@@ -367,12 +367,12 @@ static int fb_mmc_update_zimage(struct blk_desc *dev_desc,
  *
  * @part_name: Named partition to lookup
  * @dev_desc: Pointer to returned blk_desc pointer
- * @part_info: Pointer to returned disk_partition_t
+ * @part_info: Pointer to returned struct disk_partition
  * @response: Pointer to fastboot response buffer
  */
 int fastboot_mmc_get_part_info(const char *part_name,
 			       struct blk_desc **dev_desc,
-			       disk_partition_t *part_info, char *response)
+			       struct disk_partition *part_info, char *response)
 {
 	int r;
 
@@ -407,7 +407,7 @@ void fastboot_mmc_flash_write(const char *cmd, void *download_buffer,
 			      u32 download_bytes, char *response)
 {
 	struct blk_desc *dev_desc;
-	disk_partition_t info;
+	struct disk_partition info;
 
 	dev_desc = blk_get_dev("mmc", CONFIG_FASTBOOT_FLASH_MMC_DEV);
 	if (!dev_desc || dev_desc->type == DEV_TYPE_UNKNOWN) {
@@ -524,7 +524,7 @@ void fastboot_mmc_erase(const char *cmd, char *response)
 {
 	int ret;
 	struct blk_desc *dev_desc;
-	disk_partition_t info;
+	struct disk_partition info;
 	lbaint_t blks, blks_start, blks_size, grp_size;
 	struct mmc *mmc = find_mmc_device(CONFIG_FASTBOOT_FLASH_MMC_DEV);
 
env/ext4.c +2 -2
index 1f6b1b5bd81..c03909d91ab 100644
@@ -46,7 +46,7 @@ static int env_ext4_save(void)
 {
 	env_t	env_new;
 	struct blk_desc *dev_desc = NULL;
-	disk_partition_t info;
+	struct disk_partition info;
 	int dev, part;
 	int err;
 	const char *ifname = env_ext4_get_intf();
@@ -89,7 +89,7 @@ static int env_ext4_load(void)
 {
 	ALLOC_CACHE_ALIGN_BUFFER(char, buf, CONFIG_ENV_SIZE);
 	struct blk_desc *dev_desc = NULL;
-	disk_partition_t info;
+	struct disk_partition info;
 	int dev, part;
 	int err;
 	loff_t off;
env/fat.c +2 -2
index 53fc9c7fa60..0ecc337085e 100644
@@ -37,7 +37,7 @@ static int env_fat_save(void)
 {
 	env_t __aligned(ARCH_DMA_MINALIGN) env_new;
 	struct blk_desc *dev_desc = NULL;
-	disk_partition_t info;
+	struct disk_partition info;
 	int dev, part;
 	int err;
 	loff_t size;
@@ -84,7 +84,7 @@ static int env_fat_load(void)
 {
 	ALLOC_CACHE_ALIGN_BUFFER(char, buf, CONFIG_ENV_SIZE);
 	struct blk_desc *dev_desc = NULL;
-	disk_partition_t info;
+	struct disk_partition info;
 	int dev, part;
 	int err;
 
env/mmc.c +1 -1
index 251ad07d7c0..a8b661db80a 100644
@@ -27,7 +27,7 @@ DECLARE_GLOBAL_DATA_PTR;
 #if CONFIG_IS_ENABLED(OF_CONTROL)
 static inline int mmc_offset_try_partition(const char *str, s64 *val)
 {
-	disk_partition_t info;
+	struct disk_partition info;
 	struct blk_desc *desc;
 	int len, i, ret;
 
fs/btrfs/btrfs.c +2 -1
index 2e3985e3855..de16217d0dd 100644
@@ -75,7 +75,8 @@ static int readdir_callback(const struct btrfs_root *root,
 	return 0;
 }
 
-int btrfs_probe(struct blk_desc *fs_dev_desc, disk_partition_t *fs_partition)
+int btrfs_probe(struct blk_desc *fs_dev_desc,
+		struct disk_partition *fs_partition)
 {
 	btrfs_blk_desc = fs_dev_desc;
 	btrfs_part_info = fs_partition;
fs/btrfs/btrfs.h +1 -1
index 986d0786797..25a8cf6a879 100644
@@ -36,7 +36,7 @@ static inline u64 btrfs_name_hash(const char *name, int len)
 
 /* dev.c */
 extern struct blk_desc *btrfs_blk_desc;
-extern disk_partition_t *btrfs_part_info;
+extern struct disk_partition *btrfs_part_info;
 
 int btrfs_devread(u64, int, void *);
 
fs/btrfs/dev.c +1 -1
index ada3800f1e1..e686abc5e3b 100644
@@ -10,7 +10,7 @@
 #include <fs_internal.h>
 
 struct blk_desc *btrfs_blk_desc;
-disk_partition_t *btrfs_part_info;
+struct disk_partition *btrfs_part_info;
 
 int btrfs_devread(u64 address, int byte_len, void *buf)
 {
fs/ext4/dev.c +2 -2
index 29076880bcc..0d4f756aa5c 100644
@@ -33,9 +33,9 @@
 lbaint_t part_offset;
 
 static struct blk_desc *ext4fs_blk_desc;
-static disk_partition_t *part_info;
+static struct disk_partition *part_info;
 
-void ext4fs_set_blk_dev(struct blk_desc *rbdd, disk_partition_t *info)
+void ext4fs_set_blk_dev(struct blk_desc *rbdd, struct disk_partition *info)
 {
 	assert(rbdd->blksz == (1 << rbdd->log2blksz));
 	ext4fs_blk_desc = rbdd;
fs/ext4/ext4fs.c +1 -1
index 96ca276839e..ad71f5ab6e2 100644
@@ -227,7 +227,7 @@ int ext4fs_read(char *buf, loff_t offset, loff_t len, loff_t *actread)
 }
 
 int ext4fs_probe(struct blk_desc *fs_dev_desc,
-		 disk_partition_t *fs_partition)
+		 struct disk_partition *fs_partition)
 {
 	ext4fs_set_blk_dev(fs_dev_desc, fs_partition);
 
fs/fat/fat.c +3 -3
index f68c8f73c48..425d877c749 100644
@@ -36,7 +36,7 @@ static void downcase(char *str, size_t len)
 }
 
 static struct blk_desc *cur_dev;
-static disk_partition_t cur_part_info;
+static struct disk_partition cur_part_info;
 
 #define DOS_BOOT_MAGIC_OFFSET	0x1fe
 #define DOS_FS_TYPE_OFFSET	0x36
@@ -57,7 +57,7 @@ static int disk_read(__u32 block, __u32 nr_blocks, void *buf)
 	return ret;
 }
 
-int fat_set_blk_dev(struct blk_desc *dev_desc, disk_partition_t *info)
+int fat_set_blk_dev(struct blk_desc *dev_desc, struct disk_partition *info)
 {
 	ALLOC_CACHE_ALIGN_BUFFER(unsigned char, buffer, dev_desc->blksz);
 
@@ -88,7 +88,7 @@ int fat_set_blk_dev(struct blk_desc *dev_desc, disk_partition_t *info)
 
 int fat_register_device(struct blk_desc *dev_desc, int part_no)
 {
-	disk_partition_t info;
+	struct disk_partition info;
 
 	/* First close any currently found FAT filesystem */
 	cur_dev = NULL;
fs/fs.c +3 -3
index 0c66d604770..e3de25da5b6 100644
@@ -24,11 +24,11 @@ DECLARE_GLOBAL_DATA_PTR;
 
 static struct blk_desc *fs_dev_desc;
 static int fs_dev_part;
-static disk_partition_t fs_partition;
+static struct disk_partition fs_partition;
 static int fs_type = FS_TYPE_ANY;
 
 static inline int fs_probe_unsupported(struct blk_desc *fs_dev_desc,
-				      disk_partition_t *fs_partition)
+				      struct disk_partition *fs_partition)
 {
 	printf("** Unrecognized filesystem type **\n");
 	return -1;
@@ -135,7 +135,7 @@ struct fstype_info {
 	 */
 	bool null_dev_desc_ok;
 	int (*probe)(struct blk_desc *fs_dev_desc,
-		     disk_partition_t *fs_partition);
+		     struct disk_partition *fs_partition);
 	int (*ls)(const char *dirname);
 	int (*exists)(const char *filename);
 	int (*size)(const char *filename, loff_t *size);
fs/fs_internal.c +1 -1
index d369c43ca68..1ff804d13ba 100644
@@ -10,7 +10,7 @@
 #include <part.h>
 #include <memalign.h>
 
-int fs_devread(struct blk_desc *blk, disk_partition_t *partition,
+int fs_devread(struct blk_desc *blk, struct disk_partition *partition,
 	       lbaint_t sector, int byte_offset, int byte_len, char *buf)
 {
 	unsigned block_len;
fs/reiserfs/dev.c +2 -2
index c6b67795df5..5d9c26489aa 100644
@@ -12,10 +12,10 @@
 #include "reiserfs_private.h"
 
 static struct blk_desc *reiserfs_blk_desc;
-static disk_partition_t *part_info;
+static struct disk_partition *part_info;
 
 
-void reiserfs_set_blk_dev(struct blk_desc *rbdd, disk_partition_t *info)
+void reiserfs_set_blk_dev(struct blk_desc *rbdd, struct disk_partition *info)
 {
 	reiserfs_blk_desc = rbdd;
 	part_info = info;
fs/sandbox/sandboxfs.c +1 -1
index af47224b6c6..5851fe2434f 100644
@@ -8,7 +8,7 @@
 #include <malloc.h>
 #include <os.h>
 
-int sandbox_fs_set_blk_dev(struct blk_desc *rbdd, disk_partition_t *info)
+int sandbox_fs_set_blk_dev(struct blk_desc *rbdd, struct disk_partition *info)
 {
 	/*
 	 * Only accept a NULL struct blk_desc for the sandbox, which is when
fs/ubifs/ubifs.c +1 -1
index e097d284444..742c2f47ebf 100644
@@ -549,7 +549,7 @@ static unsigned long ubifs_findfile(struct super_block *sb, char *filename)
 	return 0;
 }
 
-int ubifs_set_blk_dev(struct blk_desc *rbdd, disk_partition_t *info)
+int ubifs_set_blk_dev(struct blk_desc *rbdd, struct disk_partition *info)
 {
 	if (rbdd) {
 		debug("UBIFS cannot be used with normal block devices\n");
fs/zfs/dev.c +2 -2
index 3cdb9e03edc..251e7d1f74f 100644
@@ -14,9 +14,9 @@
 #include <zfs_common.h>
 
 static struct blk_desc *zfs_blk_desc;
-static disk_partition_t *part_info;
+static struct disk_partition *part_info;
 
-void zfs_set_blk_dev(struct blk_desc *rbdd, disk_partition_t *info)
+void zfs_set_blk_dev(struct blk_desc *rbdd, struct disk_partition *info)
 {
 	zfs_blk_desc = rbdd;
 	part_info = info;
include/android_ab.h +1 -1
index 810906d22b3..3f4e69be9ef 100644
@@ -29,6 +29,6 @@
  * @param[in] part_info Place to store the partition information
  * @return The slot number (>= 0) on success, or a negative on error
  */
-int ab_select_slot(struct blk_desc *dev_desc, disk_partition_t *part_info);
+int ab_select_slot(struct blk_desc *dev_desc, struct disk_partition *part_info);
 
 #endif /* __ANDROID_AB_H */
include/avb_verify.h +1 -1
index 18278f829e4..a8d7090f794 100644
@@ -38,7 +38,7 @@ struct mmc_part {
 	int dev_num;
 	struct mmc *mmc;
 	struct blk_desc *mmc_blk;
-	disk_partition_t info;
+	struct disk_partition info;
 };
 
 enum mmc_io_type {
include/btrfs.h +2 -1
index 5be61e3264d..f7f82ad7d10 100644
@@ -8,7 +8,8 @@
 #ifndef __U_BOOT_BTRFS_H__
 #define __U_BOOT_BTRFS_H__
 
-int btrfs_probe(struct blk_desc *, disk_partition_t *);
+int btrfs_probe(struct blk_desc *fs_dev_desc,
+		struct disk_partition *fs_partition);
 int btrfs_ls(const char *);
 int btrfs_exists(const char *);
 int btrfs_size(const char *, loff_t *);
include/ext4fs.h +2 -2
index 34585d407d0..aafcd841402 100644
@@ -152,11 +152,11 @@ int ext4fs_exists(const char *filename);
 int ext4fs_size(const char *filename, loff_t *size);
 void ext4fs_free_node(struct ext2fs_node *node, struct ext2fs_node *currroot);
 int ext4fs_devread(lbaint_t sector, int byte_offset, int byte_len, char *buf);
-void ext4fs_set_blk_dev(struct blk_desc *rbdd, disk_partition_t *info);
+void ext4fs_set_blk_dev(struct blk_desc *rbdd, struct disk_partition *info);
 long int read_allocated_block(struct ext2_inode *inode, int fileblock,
 			      struct ext_block_cache *cache);
 int ext4fs_probe(struct blk_desc *fs_dev_desc,
-		 disk_partition_t *fs_partition);
+		 struct disk_partition *fs_partition);
 int ext4_read_file(const char *filename, void *buf, loff_t offset, loff_t len,
 		   loff_t *actread);
 int ext4_read_superblock(char *buffer);
include/fat.h +1 -1
index bc139f8c88c..84573fd3fe9 100644
@@ -193,7 +193,7 @@ int fat_size(const char *filename, loff_t *size);
 int file_fat_read_at(const char *filename, loff_t pos, void *buffer,
 		     loff_t maxsize, loff_t *actread);
 int file_fat_read(const char *filename, void *buffer, int maxsize);
-int fat_set_blk_dev(struct blk_desc *rbdd, disk_partition_t *info);
+int fat_set_blk_dev(struct blk_desc *rbdd, struct disk_partition *info);
 int fat_register_device(struct blk_desc *dev_desc, int part_no);
 
 int file_fat_write(const char *filename, void *buf, loff_t offset, loff_t len,
include/fb_mmc.h +3 -2
index 95db001beee..0c58109e2f8 100644
@@ -11,12 +11,13 @@
  *
  * @part_name: Named partition to lookup
  * @dev_desc: Pointer to returned blk_desc pointer
- * @part_info: Pointer to returned disk_partition_t
+ * @part_info: Pointer to returned struct disk_partition
  * @response: Pointer to fastboot response buffer
  */
 int fastboot_mmc_get_part_info(const char *part_name,
 			       struct blk_desc **dev_desc,
-			       disk_partition_t *part_info, char *response);
+			       struct disk_partition *part_info,
+			       char *response);
 
 /**
  * fastboot_mmc_flash_write() - Write image to eMMC for fastboot
include/fs_internal.h +1 -1
index 96d26032ac7..3d4d25da960 100644
@@ -10,7 +10,7 @@
 
 #include <part.h>
 
-int fs_devread(struct blk_desc *, disk_partition_t *, lbaint_t, int, int,
+int fs_devread(struct blk_desc *, struct disk_partition *, lbaint_t, int, int,
 	       char *);
 
 #endif /* __U_BOOT_FS_INTERNAL_H__ */
include/part.h +21 -19
index 0b5cf3d5e81..151de91744f 100644
@@ -51,7 +51,7 @@ struct block_drvr {
 #define PART_TYPE_LEN 32
 #define MAX_SEARCH_PARTITIONS 64
 
-typedef struct disk_partition {
+struct disk_partition {
 	lbaint_t	start;	/* # of first block in partition	*/
 	lbaint_t	size;	/* number of blocks in partition	*/
 	ulong	blksz;		/* block size in bytes			*/
@@ -67,11 +67,11 @@ typedef struct disk_partition {
 #ifdef CONFIG_DOS_PARTITION
 	uchar	sys_ind;	/* partition type 			*/
 #endif
-} disk_partition_t;
+};
 
 struct disk_part {
 	int partnum;
-	disk_partition_t gpt_part_info;
+	struct disk_partition gpt_part_info;
 	struct list_head list;
 };
 
@@ -96,12 +96,14 @@ struct blk_desc *mg_disk_get_dev(int dev);
 int host_get_dev_err(int dev, struct blk_desc **blk_devp);
 
 /* disk/part.c */
-int part_get_info(struct blk_desc *dev_desc, int part, disk_partition_t *info);
+int part_get_info(struct blk_desc *dev_desc, int part,
+		  struct disk_partition *info);
 /**
  * part_get_info_whole_disk() - get partition info for the special case of
  * a partition occupying the entire disk.
  */
-int part_get_info_whole_disk(struct blk_desc *dev_desc, disk_partition_t *info);
+int part_get_info_whole_disk(struct blk_desc *dev_desc,
+			     struct disk_partition *info);
 
 void part_print(struct blk_desc *dev_desc);
 void part_init(struct blk_desc *dev_desc);
@@ -170,7 +172,7 @@ int blk_get_device_by_str(const char *ifname, const char *dev_str,
  */
 int blk_get_device_part_str(const char *ifname, const char *dev_part_str,
 			    struct blk_desc **dev_desc,
-			    disk_partition_t *info, int allow_whole_dev);
+			    struct disk_partition *info, int allow_whole_dev);
 
 /**
  * part_get_info_by_name_type() - Search for a partition by name
@@ -185,7 +187,7 @@ int blk_get_device_part_str(const char *ifname, const char *dev_part_str,
  * otherwise error
  */
 int part_get_info_by_name_type(struct blk_desc *dev_desc, const char *name,
-			       disk_partition_t *info, int part_type);
+			       struct disk_partition *info, int part_type);
 
 /**
  * part_get_info_by_name() - Search for a partition by name
@@ -199,7 +201,7 @@ int part_get_info_by_name_type(struct blk_desc *dev_desc, const char *name,
  * otherwise error
  */
 int part_get_info_by_name(struct blk_desc *dev_desc,
-			      const char *name, disk_partition_t *info);
+			      const char *name, struct disk_partition *info);
 
 /**
  * Get partition info from dev number + part name, or dev number + part number.
@@ -220,7 +222,7 @@ int part_get_info_by_name(struct blk_desc *dev_desc,
 int part_get_info_by_dev_and_name_or_num(const char *dev_iface,
 					 const char *dev_part_str,
 					 struct blk_desc **dev_desc,
-					 disk_partition_t *part_info);
+					 struct disk_partition *part_info);
 
 /**
  * part_set_generic_name() - create generic partition like hda1 or sdb2
@@ -243,9 +245,9 @@ static inline struct blk_desc *blk_get_dev(const char *ifname, int dev)
 static inline struct blk_desc *mg_disk_get_dev(int dev) { return NULL; }
 
 static inline int part_get_info(struct blk_desc *dev_desc, int part,
-				disk_partition_t *info) { return -1; }
+				struct disk_partition *info) { return -1; }
 static inline int part_get_info_whole_disk(struct blk_desc *dev_desc,
-					   disk_partition_t *info)
+					   struct disk_partition *info)
 { return -1; }
 static inline void part_print(struct blk_desc *dev_desc) {}
 static inline void part_init(struct blk_desc *dev_desc) {}
@@ -254,10 +256,10 @@ static inline int blk_get_device_by_str(const char *ifname, const char *dev_str,
 					struct blk_desc **dev_desc)
 { return -1; }
 static inline int blk_get_device_part_str(const char *ifname,
-					   const char *dev_part_str,
-					   struct blk_desc **dev_desc,
-					   disk_partition_t *info,
-					   int allow_whole_dev)
+					  const char *dev_part_str,
+					  struct blk_desc **dev_desc,
+					  struct disk_partition *info,
+					  int allow_whole_dev)
 { *dev_desc = NULL; return -1; }
 #endif
 
@@ -292,7 +294,7 @@ struct part_driver {
 	 * @info:	Returns partition information
 	 */
 	int (*get_info)(struct blk_desc *dev_desc, int part,
-			disk_partition_t *info);
+			struct disk_partition *info);
 
 	/**
 	 * print() - Print partition information
@@ -344,7 +346,7 @@ int write_gpt_table(struct blk_desc *dev_desc,
  */
 int gpt_fill_pte(struct blk_desc *dev_desc,
 		 gpt_header *gpt_h, gpt_entry *gpt_e,
-		 disk_partition_t *partitions, int parts);
+		 struct disk_partition *partitions, int parts);
 
 /**
  * gpt_fill_header(): Fill the GPT header
@@ -370,7 +372,7 @@ int gpt_fill_header(struct blk_desc *dev_desc, gpt_header *gpt_h,
  * @return zero on success
  */
 int gpt_restore(struct blk_desc *dev_desc, char *str_disk_guid,
-		disk_partition_t *partitions, const int parts_count);
+		struct disk_partition *partitions, const int parts_count);
 
 /**
  * is_valid_gpt_buf() - Ensure that the Primary GPT information is valid
@@ -424,7 +426,7 @@ int gpt_verify_headers(struct blk_desc *dev_desc, gpt_header *gpt_head,
  * @return - '0' on success, otherwise error
  */
 int gpt_verify_partitions(struct blk_desc *dev_desc,
-			  disk_partition_t *partitions, int parts,
+			  struct disk_partition *partitions, int parts,
 			  gpt_header *gpt_head, gpt_entry **gpt_pte);
 
 
include/reiserfs.h +1 -1
index de4150024ce..a655d5ea9fc 100644
@@ -62,7 +62,7 @@ typedef enum
 } reiserfs_error_t;
 
 
-void reiserfs_set_blk_dev(struct blk_desc *rbdd, disk_partition_t *info);
+void reiserfs_set_blk_dev(struct blk_desc *rbdd, struct disk_partition *info);
 extern int reiserfs_ls (char *dirname);
 extern int reiserfs_open (char *filename);
 extern int reiserfs_read (char *buf, unsigned len);
include/sandboxfs.h +1 -1
index 6e6e3c62ff9..49724d05c89 100644
@@ -18,7 +18,7 @@
 #ifndef __SANDBOX_FS__
 #define __SANDBOX_FS__
 
-int sandbox_fs_set_blk_dev(struct blk_desc *rbdd, disk_partition_t *info);
+int sandbox_fs_set_blk_dev(struct blk_desc *rbdd, struct disk_partition *info);
 
 int sandbox_fs_read_at(const char *filename, loff_t pos, void *buffer,
 		       loff_t maxsize, loff_t *actread);
include/ubifs_uboot.h +1 -1
index 015ce122266..16b757286e4 100644
@@ -20,7 +20,7 @@ void uboot_ubifs_umount(void);
 int ubifs_is_mounted(void);
 int ubifs_load(char *filename, u32 addr, u32 size);
 
-int ubifs_set_blk_dev(struct blk_desc *rbdd, disk_partition_t *info);
+int ubifs_set_blk_dev(struct blk_desc *rbdd, struct disk_partition *info);
 int ubifs_ls(const char *dir_name);
 int ubifs_exists(const char *filename);
 int ubifs_size(const char *filename, loff_t *size);
include/zfs_common.h +1 -1
index bca3dff06e1..027ba91b287 100644
@@ -98,7 +98,7 @@ int zfs_close(zfs_file_t);
 int zfs_ls(device_t dev, const char *path,
 		   int (*hook) (const char *, const struct zfs_dirhook_info *));
 int zfs_devread(int sector, int byte_offset, int byte_len, char *buf);
-void zfs_set_blk_dev(struct blk_desc *rbdd, disk_partition_t *info);
+void zfs_set_blk_dev(struct blk_desc *rbdd, struct disk_partition *info);
 void zfs_unmount(struct zfs_data *data);
 int lzjb_decompress(void *, void *, uint32_t, uint32_t);
 #endif
lib/efi_loader/efi_device_path.c +2 -2
index 3c53c55b218..e4f8b490b52 100644
@@ -694,7 +694,7 @@ static unsigned dp_part_size(struct blk_desc *desc, int part)
  */
 static void *dp_part_node(void *buf, struct blk_desc *desc, int part)
 {
-	disk_partition_t info;
+	struct disk_partition info;
 
 	part_get_info(desc, part, &info);
 
@@ -1036,7 +1036,7 @@ efi_status_t efi_dp_from_name(const char *dev, const char *devnr,
 {
 	int is_net;
 	struct blk_desc *desc = NULL;
-	disk_partition_t fs_partition;
+	struct disk_partition fs_partition;
 	int part = 0;
 	char filename[32] = { 0 }; /* dp->str is u16[32] long */
 	char *s;
lib/efi_loader/efi_disk.c +1 -1
index fc0682bc48c..80945714518 100644
@@ -393,7 +393,7 @@ int efi_disk_create_partitions(efi_handle_t parent, struct blk_desc *desc,
 {
 	int disks = 0;
 	char devname[32] = { 0 }; /* dp->str is u16[32] long */
-	disk_partition_t info;
+	struct disk_partition info;
 	int part;
 	struct efi_device_path *dp = NULL;
 	efi_status_t ret;
lib/efi_loader/efi_file.c +1 -1
index 140116ddc4a..1fe7cf539e3 100644
@@ -634,7 +634,7 @@ static efi_status_t EFIAPI efi_file_getinfo(struct efi_file_handle *file,
 		utf8_utf16_strcpy(&dst, filename);
 	} else if (!guidcmp(info_type, &efi_file_system_info_guid)) {
 		struct efi_file_system_info *info = buffer;
-		disk_partition_t part;
+		struct disk_partition part;
 		efi_uintn_t required_size;
 		int r;
 
Signature · 1 line
2.26.0.292.g33ef6b2f38-goog
#10 lore raw

PATCH 6/18 common: Drop part.h from common header

In reply to Simon Glass

Move this uncommon header out of the common header.

---

 api/api_storage.c                        | 1 +
 arch/arm/mach-omap2/utils.c              | 1 +
 arch/arm/mach-snapdragon/dram.c          | 1 +
 arch/x86/include/asm/fsp/fsp_api.h       | 2 ++
 arch/x86/include/asm/fsp/fsp_fv.h        | 2 ++
 board/xilinx/zynq/bootimg.c              | 1 +
 cmd/ab_select.c                          | 2 ++
 cmd/bcb.c                                | 1 +
 cmd/gpt.c                                | 2 ++
 cmd/mmc.c                                | 2 ++
 cmd/nvme.c                               | 1 +
 cmd/sata.c                               | 1 +
 cmd/scsi.c                               | 1 +
 cmd/unzip.c                              | 1 +
 cmd/usb.c                                | 1 +
 cmd/usb_mass_storage.c                   | 3 ++-
 cmd/virtio.c                             | 1 +
 common/android_ab.c                      | 4 +++-
 common/spl/spl_ext.c                     | 1 +
 common/spl/spl_mmc.c                     | 1 +
 common/usb_storage.c                     | 1 +
 disk/part.c                              | 1 +
 disk/part_amiga.c                        | 1 +
 disk/part_dos.c                          | 2 ++
 disk/part_efi.c                          | 4 +++-
 disk/part_iso.c                          | 2 ++
 disk/part_mac.c                          | 1 +
 drivers/ata/ahci.c                       | 1 +
 drivers/ata/dwc_ahsata.c                 | 2 ++
 drivers/ata/fsl_sata.c                   | 1 +
 drivers/ata/sata.c                       | 2 ++
 drivers/ata/sata_mv.c                    | 1 +
 drivers/ata/sata_sandbox.c               | 1 +
 drivers/ata/sata_sil3114.c               | 2 ++
 drivers/block/blk-uclass.c               | 1 +
 drivers/block/blk_legacy.c               | 2 ++
 drivers/block/blkcache.c                 | 2 +-
 drivers/block/ide.c                      | 2 ++
 drivers/dfu/dfu_mmc.c                    | 1 +
 drivers/fastboot/fb_getvar.c             | 1 +
 drivers/fastboot/fb_nand.c               | 1 +
 drivers/misc/fsl_ifc.c                   | 1 +
 drivers/mmc/mmc.c                        | 1 +
 drivers/mmc/mmc_write.c                  | 1 +
 drivers/mmc/sh_sdhi.c                    | 1 +
 drivers/mtd/nand/raw/fsl_ifc_spl.c       | 1 +
 drivers/net/fm/eth.c                     | 1 +
 drivers/nvme/nvme-uclass.c               | 1 +
 drivers/nvme/nvme.c                      | 1 +
 drivers/scsi/scsi.c                      | 2 ++
 drivers/usb/gadget/ether.c               | 1 +
 drivers/usb/gadget/f_rockusb.c           | 1 +
 drivers/video/atmel_hlcdfb.c             | 1 +
 drivers/video/atmel_lcdfb.c              | 1 +
 drivers/video/imx/mxc_ipuv3_fb.c         | 1 +
 drivers/video/meson/meson_vpu.c          | 1 +
 drivers/video/mvebu_lcd.c                | 1 +
 drivers/video/sunxi/sunxi_de2.c          | 1 +
 drivers/video/tegra.c                    | 1 +
 drivers/video/tegra124/display.c         | 1 +
 drivers/virtio/virtio_blk.c              | 1 +
 env/ext4.c                               | 1 +
 env/fat.c                                | 6 +++---
 fs/btrfs/dev.c                           | 1 +
 fs/btrfs/super.c                         | 4 +++-
 fs/ext4/ext4_common.c                    | 2 ++
 fs/ext4/ext4_journal.c                   | 1 +
 fs/ext4/ext4_write.c                     | 2 ++
 fs/ext4/ext4fs.c                         | 2 ++
 fs/fs.c                                  | 1 +
 fs/fs_internal.c                         | 1 +
 fs/sandbox/sandboxfs.c                   | 1 +
 fs/ubifs/ubifs.c                         | 1 +
 include/android_ab.h                     | 3 ++-
 include/btrfs.h                          | 3 +++
 include/common.h                         | 1 -
 include/efi_loader.h                     | 2 ++
 include/ext4fs.h                         | 2 ++
 include/fat.h                            | 2 ++
 include/fb_mmc.h                         | 3 +++
 include/fs.h                             | 2 ++
 include/fsl_ifc.h                        | 1 +
 include/gzip.h                           | 2 ++
 include/initcall.h                       | 4 ++++
 include/reiserfs.h                       | 3 +++
 include/sandboxfs.h                      | 3 +++
 include/spl.h                            | 1 +
 include/ubifs_uboot.h                    | 3 +++
 lib/efi_driver/efi_block_device.c        | 2 ++
 lib/efi_loader/efi_device_path_to_text.c | 1 +
 lib/efi_loader/efi_file.c                | 1 +
 lib/gunzip.c                             | 1 +
 lib/image-sparse.c                       | 1 +
 test/dm/blk.c                            | 1 +
 test/dm/mmc.c                            | 1 +
 test/dm/usb.c                            | 1 +
 96 files changed, 140 insertions(+), 10 deletions(-)
api/api_storage.c +1 -0
index 7ae03ac2306..a0dacad1a55 100644
@@ -8,6 +8,7 @@
 #include <config.h>
 #include <common.h>
 #include <api_public.h>
+#include <part.h>
 
 #if defined(CONFIG_CMD_USB) && defined(CONFIG_USB_STORAGE)
 #include <usb.h>
arch/arm/mach-omap2/utils.c +1 -0
index 6e519d8c910..6e6791fc659 100644
@@ -5,6 +5,7 @@
  */
 #include <common.h>
 #include <env.h>
+#include <part.h>
 #include <asm/setup.h>
 #include <asm/arch/sys_proto.h>
 #include <asm/omap_common.h>
arch/arm/mach-snapdragon/dram.c +1 -0
index 79eb19992d0..12c26a91c65 100644
@@ -8,6 +8,7 @@
 
 #include <common.h>
 #include <dm.h>
+#include <part.h>
 #include <smem.h>
 #include <fdt_support.h>
 #include <asm/arch/dram.h>
arch/x86/include/asm/fsp/fsp_api.h +2 -0
index e9ac86b2da6..4941e2d74f0 100644
@@ -6,6 +6,8 @@
 #ifndef __ASM_FSP_API_H
 #define __ASM_FSP_API_H
 
+#include <linux/linkage.h>
+
 enum fsp_phase {
 	/* Notification code for post PCI enuermation */
 	INIT_PHASE_PCI	= 0x20,
arch/x86/include/asm/fsp/fsp_fv.h +2 -0
index 511dfb78b81..7492c87c34a 100644
@@ -7,6 +7,8 @@
 #ifndef __FSP_FV___
 #define __FSP_FV___
 
+#include <efi.h>
+
 /* Value of EFI_FV_FILE_ATTRIBUTES */
 #define EFI_FV_FILE_ATTR_ALIGNMENT	0x0000001F
 #define EFI_FV_FILE_ATTR_FIXED		0x00000100
board/xilinx/zynq/bootimg.c +1 -0
index 56d69cddacf..1ed6b2aa929 100644
@@ -4,6 +4,7 @@
  */
 
 #include <common.h>
+#include <part.h>
 #include <asm/io.h>
 #include <asm/arch/hardware.h>
 #include <asm/arch/sys_proto.h>
cmd/ab_select.c +2 -0
index d0d957d4f9d..7a4e51571b6 100644
@@ -3,8 +3,10 @@
  * Copyright (C) 2017 The Android Open Source Project
  */
 
+#include <common.h>
 #include <android_ab.h>
 #include <command.h>
+#include <part.h>
 
 static int do_ab_select(cmd_tbl_t *cmdtp, int flag, int argc,
 			char * const argv[])
cmd/bcb.c +1 -0
index 62f9a44e38a..b944e62b6a9 100644
@@ -8,6 +8,7 @@
 #include <android_bootloader_message.h>
 #include <command.h>
 #include <common.h>
+#include <part.h>
 
 enum bcb_cmd {
 	BCB_CMD_LOAD,
cmd/gpt.c +2 -0
index f3731487627..fe49d533209 100644
@@ -11,9 +11,11 @@
  */
 
 #include <common.h>
+#include <blk.h>
 #include <env.h>
 #include <malloc.h>
 #include <command.h>
+#include <part.h>
 #include <part_efi.h>
 #include <exports.h>
 #include <uuid.h>
cmd/mmc.c +2 -0
index 1860a3f2e5d..002c96becbd 100644
@@ -5,9 +5,11 @@
  */
 
 #include <common.h>
+#include <blk.h>
 #include <command.h>
 #include <console.h>
 #include <mmc.h>
+#include <part.h>
 #include <sparse_format.h>
 #include <image-sparse.h>
 
cmd/nvme.c +1 -0
index 5da903bd524..9ae91ce9cb5 100644
@@ -5,6 +5,7 @@
  */
 
 #include <common.h>
+#include <blk.h>
 #include <command.h>
 #include <dm.h>
 #include <nvme.h>
cmd/sata.c +1 -0
index 6bdb516cb5d..c507e9dbd80 100644
@@ -11,6 +11,7 @@
 
 #include <common.h>
 #include <ahci.h>
+#include <blk.h>
 #include <dm.h>
 #include <command.h>
 #include <part.h>
cmd/scsi.c +1 -0
index 67de1a3bdc2..e81194de0f4 100644
@@ -8,6 +8,7 @@
  * SCSI support.
  */
 #include <common.h>
+#include <blk.h>
 #include <command.h>
 #include <scsi.h>
 
cmd/unzip.c +1 -0
index afd58e7cdb1..725624627c1 100644
@@ -8,6 +8,7 @@
 #include <command.h>
 #include <env.h>
 #include <gzip.h>
+#include <part.h>
 
 static int do_unzip(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
 {
cmd/usb.c +1 -0
index dd9ac0bc976..98fa300dfe4 100644
@@ -11,6 +11,7 @@
  */
 
 #include <common.h>
+#include <blk.h>
 #include <command.h>
 #include <console.h>
 #include <dm.h>
cmd/usb_mass_storage.c +2 -1
index 52ff637e2fb..b6037302487 100644
@@ -6,10 +6,11 @@
  * Copyright (c) 2015, NVIDIA CORPORATION. All rights reserved.
  */
 
-#include <errno.h>
 #include <common.h>
+#include <blk.h>
 #include <command.h>
 #include <console.h>
+#include <errno.h>
 #include <g_dnl.h>
 #include <malloc.h>
 #include <part.h>
cmd/virtio.c +1 -0
index b7082bc63ad..f38cc56598c 100644
@@ -5,6 +5,7 @@
  */
 
 #include <common.h>
+#include <blk.h>
 #include <command.h>
 #include <dm.h>
 #include <virtio_types.h>
common/android_ab.c +3 -1
index b5b8af1b278..72025bb552c 100644
@@ -5,9 +5,11 @@
 #include <common.h>
 #include <android_ab.h>
 #include <android_bootloader_message.h>
+#include <blk.h>
 #include <malloc.h>
-#include <linux/err.h>
+#include <part.h>
 #include <memalign.h>
+#include <linux/err.h>
 #include <u-boot/crc.h>
 #include <u-boot/crc.h>
 
common/spl/spl_ext.c +1 -0
index 954133ba84e..3898041d106 100644
@@ -2,6 +2,7 @@
 
 #include <common.h>
 #include <env.h>
+#include <part.h>
 #include <spl.h>
 #include <asm/u-boot.h>
 #include <ext4fs.h>
common/spl/spl_mmc.c +1 -0
index e6af5b567bc..cd0c2b24efe 100644
@@ -7,6 +7,7 @@
  */
 #include <common.h>
 #include <dm.h>
+#include <part.h>
 #include <spl.h>
 #include <linux/compiler.h>
 #include <errno.h>
common/usb_storage.c +1 -0
index 759fc48a60e..e4b48f4643f 100644
@@ -33,6 +33,7 @@
 
 
 #include <common.h>
+#include <blk.h>
 #include <command.h>
 #include <dm.h>
 #include <errno.h>
disk/part.c +1 -0
index 68cba61c5a0..bb0f6e20469 100644
@@ -5,6 +5,7 @@
  */
 
 #include <common.h>
+#include <blk.h>
 #include <command.h>
 #include <env.h>
 #include <errno.h>
disk/part_amiga.c +1 -0
index 5a17d11b9b7..7eea60b564d 100644
@@ -9,6 +9,7 @@
 #include <env.h>
 #include <ide.h>
 #include "part_amiga.h"
+#include <part.h>
 
 #ifdef CONFIG_HAVE_BLOCK_DEVICE
 
disk/part_dos.c +2 -0
index a4e92ac991b..f2a6e6328d1 100644
@@ -14,10 +14,12 @@
  */
 
 #include <common.h>
+#include <blk.h>
 #include <command.h>
 #include <ide.h>
 #include <memalign.h>
 #include "part_dos.h"
+#include <part.h>
 
 #ifdef CONFIG_HAVE_BLOCK_DEVICE
 
disk/part_efi.c +3 -1
index b85377b02ec..3ae733df431 100644
@@ -9,10 +9,12 @@
  *   when CONFIG_SYS_64BIT_LBA is not defined, lbaint_t is 32 bits; this
  *   limits the maximum size of addressable storage to < 2 Terra Bytes
  */
+#include <common.h>
+#include <blk.h>
+#include <part.h>
 #include <uuid.h>
 #include <asm/cache.h>
 #include <asm/unaligned.h>
-#include <common.h>
 #include <command.h>
 #include <fdtdec.h>
 #include <ide.h>
disk/part_iso.c +2 -0
index 2ccb7867c9b..822f2c4d9f4 100644
@@ -5,7 +5,9 @@
  */
 
 #include <common.h>
+#include <blk.h>
 #include <command.h>
+#include <part.h>
 #include <asm/cache.h>
 #include <asm/unaligned.h>
 #include "part_iso.h"
disk/part_mac.c +1 -0
index fbd0ad73e35..cda497e04a6 100644
@@ -17,6 +17,7 @@
 #include <memalign.h>
 #include <ide.h>
 #include "part_mac.h"
+#include <part.h>
 
 #ifdef CONFIG_HAVE_BLOCK_DEVICE
 
drivers/ata/ahci.c +1 -0
index 4cd7420c3ca..d54acc96ee4 100644
@@ -9,6 +9,7 @@
  * This driver provides a SCSI interface to SATA.
  */
 #include <common.h>
+#include <blk.h>
 #include <cpu_func.h>
 
 #include <command.h>
drivers/ata/dwc_ahsata.c +2 -0
index 0f070b6bc93..df3f1efa397 100644
@@ -6,6 +6,7 @@
 
 #include <common.h>
 #include <ahci.h>
+#include <blk.h>
 #include <cpu_func.h>
 #include <dm.h>
 #include <dwc_ahsata.h>
@@ -13,6 +14,7 @@
 #include <libata.h>
 #include <malloc.h>
 #include <memalign.h>
+#include <part.h>
 #include <sata.h>
 #include <asm/cache.h>
 #include <asm/io.h>
drivers/ata/fsl_sata.c +1 -0
index c6680dc1c98..0ef70d0d59a 100644
@@ -6,6 +6,7 @@
  */
 
 #include <common.h>
+#include <blk.h>
 #include <command.h>
 #include <console.h>
 #include <cpu_func.h>
drivers/ata/sata.c +2 -0
index e384b805b21..6a38d500245 100644
@@ -11,7 +11,9 @@
 
 #include <common.h>
 #include <ahci.h>
+#include <blk.h>
 #include <dm.h>
+#include <part.h>
 #include <sata.h>
 
 #ifndef CONFIG_AHCI
drivers/ata/sata_mv.c +1 -0
index a71a7edf88a..cebb165a476 100644
@@ -33,6 +33,7 @@
 
 #include <common.h>
 #include <ahci.h>
+#include <blk.h>
 #include <cpu_func.h>
 #include <dm.h>
 #include <asm/cache.h>
drivers/ata/sata_sandbox.c +1 -0
index a28ac56ccd9..e64cc4a5c10 100644
@@ -5,6 +5,7 @@
  */
 
 #include <common.h>
+#include <blk.h>
 
 int init_sata(int dev)
 {
drivers/ata/sata_sil3114.c +2 -0
index 41635742a81..4a7ffad6bdf 100644
@@ -8,6 +8,8 @@
  */
 
 #include <common.h>
+#include <blk.h>
+#include <part.h>
 #include <pci.h>
 #include <command.h>
 #include <config.h>
drivers/block/blk-uclass.c +1 -0
index 7c39aa5f2f5..4bda74bd067 100644
@@ -8,6 +8,7 @@
 #include <blk.h>
 #include <dm.h>
 #include <malloc.h>
+#include <part.h>
 #include <dm/device-internal.h>
 #include <dm/lists.h>
 #include <dm/uclass-internal.h>
drivers/block/blk_legacy.c +2 -0
index 0c343f7b646..e3ee778c29d 100644
@@ -5,6 +5,8 @@
  */
 
 #include <common.h>
+#include <blk.h>
+#include <part.h>
 #include <linux/err.h>
 
 struct blk_driver *blk_driver_lookup_type(int if_type)
drivers/block/blkcache.c +1 -1
index ea40929e3e5..6a8f789ff08 100644
@@ -4,8 +4,8 @@
  * Author: Eric Nelson<[email protected]>
  *
  */
-#include <config.h>
 #include <common.h>
+#include <blk.h>
 #include <malloc.h>
 #include <part.h>
 #include <linux/ctype.h>
drivers/block/ide.c +2 -0
index 4b8a4eac176..01b3b37a07c 100644
@@ -6,8 +6,10 @@
 
 #include <common.h>
 #include <ata.h>
+#include <blk.h>
 #include <dm.h>
 #include <ide.h>
+#include <part.h>
 #include <watchdog.h>
 #include <asm/io.h>
 
drivers/dfu/dfu_mmc.c +1 -0
index cddca0c45fe..8cd466f02e5 100644
@@ -14,6 +14,7 @@
 #include <ext4fs.h>
 #include <fat.h>
 #include <mmc.h>
+#include <part.h>
 
 static unsigned char *dfu_file_buf;
 static u64 dfu_file_buf_len;
drivers/fastboot/fb_getvar.c +1 -0
index 467a8618fe3..52da34b1e37 100644
@@ -10,6 +10,7 @@
 #include <fb_mmc.h>
 #include <fb_nand.h>
 #include <fs.h>
+#include <part.h>
 #include <version.h>
 
 static void getvar_version(char *var_parameter, char *response);
drivers/fastboot/fb_nand.c +1 -0
index b1654681450..eb8a36f2922 100644
@@ -6,6 +6,7 @@
 
 #include <config.h>
 #include <common.h>
+#include <blk.h>
 #include <flash.h>
 
 #include <fastboot.h>
drivers/misc/fsl_ifc.c +1 -0
index 0dbf304487f..8fdaacd5e04 100644
@@ -6,6 +6,7 @@
 
 #include <common.h>
 #include <fsl_ifc.h>
+#include <part.h>
 
 #ifdef CONFIG_TFABOOT
 struct ifc_regs ifc_cfg_default_boot[CONFIG_SYS_FSL_IFC_BANK_COUNT] = {
drivers/mmc/mmc.c +1 -0
index 3e365666934..af404c42484 100644
@@ -8,6 +8,7 @@
 
 #include <config.h>
 #include <common.h>
+#include <blk.h>
 #include <command.h>
 #include <dm.h>
 #include <dm/device-internal.h>
drivers/mmc/mmc_write.c +1 -0
index b52ff9f3bc0..6a4453ca02e 100644
@@ -8,6 +8,7 @@
 
 #include <config.h>
 #include <common.h>
+#include <blk.h>
 #include <dm.h>
 #include <part.h>
 #include <div64.h>
drivers/mmc/sh_sdhi.c +1 -0
index 2202158c88a..4851198571c 100644
@@ -13,6 +13,7 @@
 #include <malloc.h>
 #include <mmc.h>
 #include <dm.h>
+#include <part.h>
 #include <dm/device_compat.h>
 #include <linux/errno.h>
 #include <linux/compat.h>
drivers/mtd/nand/raw/fsl_ifc_spl.c +1 -0
index 0983fbced3f..b7e37416a49 100644
@@ -10,6 +10,7 @@
 #include <cpu_func.h>
 #include <asm/io.h>
 #include <fsl_ifc.h>
+#include <part.h>
 #include <linux/mtd/rawnand.h>
 #ifdef CONFIG_CHAIN_OF_TRUST
 #include <fsl_validate.h>
drivers/net/fm/eth.c +1 -0
index 88019c9a88c..f70f29beb98 100644
@@ -4,6 +4,7 @@
  *	Dave Liu <[email protected]>
  */
 #include <common.h>
+#include <part.h>
 #include <asm/io.h>
 #include <malloc.h>
 #include <net.h>
drivers/nvme/nvme-uclass.c +1 -0
index 2d88efdb619..277e31e1f39 100644
@@ -5,6 +5,7 @@
  */
 
 #include <common.h>
+#include <blk.h>
 #include <errno.h>
 #include <dm.h>
 #include <dm/device.h>
drivers/nvme/nvme.c +1 -0
index ef4382da1a1..5e75152f421 100644
@@ -5,6 +5,7 @@
  */
 
 #include <common.h>
+#include <blk.h>
 #include <cpu_func.h>
 #include <dm.h>
 #include <errno.h>
drivers/scsi/scsi.c +2 -0
index 69de6a53d56..849c42f0cd2 100644
@@ -5,8 +5,10 @@
  */
 
 #include <common.h>
+#include <blk.h>
 #include <dm.h>
 #include <env.h>
+#include <part.h>
 #include <pci.h>
 #include <scsi.h>
 #include <dm/device-internal.h>
drivers/usb/gadget/ether.c +1 -0
index a118283984c..43ee756c0ae 100644
@@ -10,6 +10,7 @@
 #include <common.h>
 #include <console.h>
 #include <env.h>
+#include <part.h>
 #include <linux/errno.h>
 #include <linux/netdevice.h>
 #include <linux/usb/ch9.h>
drivers/usb/gadget/f_rockusb.c +1 -0
index 1cfeabcd31a..da3d63c0f0d 100644
@@ -10,6 +10,7 @@
 #include <errno.h>
 #include <malloc.h>
 #include <memalign.h>
+#include <part.h>
 #include <linux/usb/ch9.h>
 #include <linux/usb/gadget.h>
 #include <linux/usb/composite.h>
drivers/video/atmel_hlcdfb.c +1 -0
index 62acccedf37..0fd74fdec96 100644
@@ -8,6 +8,7 @@
 #include <common.h>
 #include <cpu_func.h>
 #include <malloc.h>
+#include <part.h>
 #include <asm/io.h>
 #include <asm/arch/gpio.h>
 #include <asm/arch/clk.h>
drivers/video/atmel_lcdfb.c +1 -0
index bd2e9c0c9bf..8cc2eb1973e 100644
@@ -9,6 +9,7 @@
 #include <atmel_lcd.h>
 #include <dm.h>
 #include <fdtdec.h>
+#include <part.h>
 #include <video.h>
 #include <asm/io.h>
 #include <asm/arch/gpio.h>
drivers/video/imx/mxc_ipuv3_fb.c +1 -0
index db8eb4ade88..f8ed0a9fea2 100644
@@ -11,6 +11,7 @@
  */
 
 #include <common.h>
+#include <part.h>
 #include <asm/cache.h>
 #include <linux/errno.h>
 #include <asm/global_data.h>
drivers/video/meson/meson_vpu.c +1 -0
index aa8c0a962fa..fbdec3af67a 100644
@@ -11,6 +11,7 @@
 #include <dm.h>
 #include <efi_loader.h>
 #include <fdt_support.h>
+#include <part.h>
 #include <linux/sizes.h>
 #include <asm/arch/mem.h>
 #include <dm/device-internal.h>
drivers/video/mvebu_lcd.c +1 -0
index 2907c533783..d5ed8d00962 100644
@@ -7,6 +7,7 @@
 
 #include <common.h>
 #include <dm.h>
+#include <part.h>
 #include <video.h>
 #include <asm/cache.h>
 #include <dm/device_compat.h>
drivers/video/sunxi/sunxi_de2.c +1 -0
index 8333ddc44c0..ba34f1a107f 100644
@@ -12,6 +12,7 @@
 #include <efi_loader.h>
 #include <fdtdec.h>
 #include <fdt_support.h>
+#include <part.h>
 #include <video.h>
 #include <asm/global_data.h>
 #include <asm/io.h>
drivers/video/tegra.c +1 -0
index 1fa052e306e..82ba5c4e7ec 100644
@@ -7,6 +7,7 @@
 #include <dm.h>
 #include <fdtdec.h>
 #include <panel.h>
+#include <part.h>
 #include <pwm.h>
 #include <video.h>
 #include <asm/cache.h>
drivers/video/tegra124/display.c +1 -0
index f08f117cf8d..913beab4d49 100644
@@ -12,6 +12,7 @@
 #include <display.h>
 #include <edid.h>
 #include <lcd.h>
+#include <part.h>
 #include <video.h>
 #include <asm/gpio.h>
 #include <asm/io.h>
drivers/virtio/virtio_blk.c +1 -0
index e793e34e836..992118c6075 100644
@@ -7,6 +7,7 @@
 #include <common.h>
 #include <blk.h>
 #include <dm.h>
+#include <part.h>
 #include <virtio_types.h>
 #include <virtio.h>
 #include <virtio_ring.h>
env/ext4.c +1 -0
index c03909d91ab..4819ad510bb 100644
@@ -19,6 +19,7 @@
  */
 
 #include <common.h>
+#include <part.h>
 
 #include <command.h>
 #include <env.h>
env/fat.c +3 -3
index 0ecc337085e..733f2de6af1 100644
@@ -7,18 +7,18 @@
  */
 
 #include <common.h>
-#include <asm/cache.h>
-
 #include <command.h>
 #include <env.h>
 #include <env_internal.h>
-#include <linux/stddef.h>
+#include <part.h>
 #include <malloc.h>
 #include <memalign.h>
 #include <search.h>
 #include <errno.h>
 #include <fat.h>
 #include <mmc.h>
+#include <asm/cache.h>
+#include <linux/stddef.h>
 
 #ifdef CONFIG_SPL_BUILD
 /* TODO(sjg at chromium.org): Figure out why this is needed */
fs/btrfs/dev.c +1 -0
index e686abc5e3b..1e5b83235ad 100644
@@ -6,6 +6,7 @@
  */
 
 #include <common.h>
+#include <blk.h>
 #include <compiler.h>
 #include <fs_internal.h>
 
fs/btrfs/super.c +3 -1
index 2dc4a6fcd7a..71eee36537a 100644
@@ -5,8 +5,10 @@
  * 2017 Marek Behun, CZ.NIC, marek.behun at nic.cz
  */
 
-#include "btrfs.h"
+#include <common.h>
 #include <memalign.h>
+#include <part.h>
+#include "btrfs.h"
 
 #define BTRFS_SUPER_FLAG_SUPP	(BTRFS_HEADER_FLAG_WRITTEN	\
 				 | BTRFS_HEADER_FLAG_RELOC	\
fs/ext4/ext4_common.c +2 -0
index 5bf78b530a9..9adef57476a 100644
@@ -19,10 +19,12 @@
  */
 
 #include <common.h>
+#include <blk.h>
 #include <ext_common.h>
 #include <ext4fs.h>
 #include <malloc.h>
 #include <memalign.h>
+#include <part.h>
 #include <stddef.h>
 #include <linux/stat.h>
 #include <linux/time.h>
fs/ext4/ext4_journal.c +1 -0
index 3559daf11d2..ecae5768c9e 100644
@@ -14,6 +14,7 @@
  */
 
 #include <common.h>
+#include <blk.h>
 #include <ext4fs.h>
 #include <malloc.h>
 #include <ext_common.h>
fs/ext4/ext4_write.c +2 -0
index 67aeba1339d..ce1fddc9a47 100644
@@ -22,8 +22,10 @@
 
 
 #include <common.h>
+#include <blk.h>
 #include <malloc.h>
 #include <memalign.h>
+#include <part.h>
 #include <linux/stat.h>
 #include <div64.h>
 #include "ext4_common.h"
fs/ext4/ext4fs.c +2 -0
index ad71f5ab6e2..4c89152ce4a 100644
@@ -21,11 +21,13 @@
  */
 
 #include <common.h>
+#include <blk.h>
 #include <ext_common.h>
 #include <ext4fs.h>
 #include "ext4_common.h"
 #include <div64.h>
 #include <malloc.h>
+#include <part.h>
 #include <uuid.h>
 
 int ext4fs_symlinknest;
fs/fs.c +1 -0
index e3de25da5b6..061917a9847 100644
@@ -7,6 +7,7 @@
 #include <errno.h>
 #include <common.h>
 #include <env.h>
+#include <lmb.h>
 #include <mapmem.h>
 #include <part.h>
 #include <ext4fs.h>
fs/fs_internal.c +1 -0
index 1ff804d13ba..115c010ef88 100644
@@ -6,6 +6,7 @@
  */
 
 #include <common.h>
+#include <blk.h>
 #include <compiler.h>
 #include <part.h>
 #include <memalign.h>
fs/sandbox/sandboxfs.c +1 -0
index 5851fe2434f..4ae41d5b4db 100644
@@ -7,6 +7,7 @@
 #include <fs.h>
 #include <malloc.h>
 #include <os.h>
+#include <sandboxfs.h>
 
 int sandbox_fs_set_blk_dev(struct blk_desc *rbdd, struct disk_partition *info)
 {
fs/ubifs/ubifs.c +1 -0
index 742c2f47ebf..bb355123803 100644
@@ -17,6 +17,7 @@
 #include <malloc.h>
 #include <memalign.h>
 #include "ubifs.h"
+#include <part.h>
 #include <dm/devres.h>
 #include <u-boot/zlib.h>
 
include/android_ab.h +2 -1
index 3f4e69be9ef..0941eb6b9cc 100644
@@ -6,7 +6,8 @@
 #ifndef __ANDROID_AB_H
 #define __ANDROID_AB_H
 
-#include <common.h>
+struct blk_desc;
+struct disk_partition;
 
 /* Android standard boot slot names are 'a', 'b', 'c', ... */
 #define BOOT_SLOT_NAME(slot_num) ('a' + (slot_num))
include/btrfs.h +3 -0
index f7f82ad7d10..a7605e15897 100644
@@ -8,6 +8,9 @@
 #ifndef __U_BOOT_BTRFS_H__
 #define __U_BOOT_BTRFS_H__
 
+struct blk_desc;
+struct disk_partition;
+
 int btrfs_probe(struct blk_desc *fs_dev_desc,
 		struct disk_partition *fs_partition);
 int btrfs_ls(const char *);
include/common.h +0 -1
index a900596c5f9..85a211554a1 100644
@@ -28,7 +28,6 @@
 #include <stdarg.h>
 #include <stdio.h>
 #include <linux/kernel.h>
-#include <part.h>
 #include <image.h>
 #include <log.h>
 #include <asm/u-boot.h> /* boot information for Linux kernel */
include/efi_loader.h +2 -0
index 3f2792892f3..2b262948d54 100644
@@ -12,6 +12,8 @@
 #include <part_efi.h>
 #include <efi_api.h>
 
+struct blk_desc;
+
 static inline int guidcmp(const void *g1, const void *g2)
 {
 	return memcmp(g1, g2, sizeof(efi_guid_t));
include/ext4fs.h +2 -0
index aafcd841402..cb5d9cc0a5c 100644
@@ -28,6 +28,8 @@
 #define __EXT4__
 #include <ext_common.h>
 
+struct disk_partition;
+
 #define EXT4_INDEX_FL		0x00001000 /* Inode uses hash tree index */
 #define EXT4_EXTENTS_FL		0x00080000 /* Inode uses extents */
 #define EXT4_EXT_MAGIC			0xf30a
include/fat.h +2 -0
index 84573fd3fe9..02742f92a5c 100644
@@ -12,6 +12,8 @@
 #include <asm/byteorder.h>
 #include <fs.h>
 
+struct disk_partition;
+
 /* Maximum Long File Name length supported here is 128 UTF-16 code units */
 #define VFAT_MAXLEN_BYTES	256 /* Maximum LFN buffer in bytes */
 #define VFAT_MAXSEQ		9   /* Up to 9 of 13 2-byte UTF-16 entries */
include/fb_mmc.h +3 -0
index 0c58109e2f8..76ed7cd6be1 100644
@@ -6,6 +6,9 @@
 #ifndef _FB_MMC_H_
 #define _FB_MMC_H_
 
+struct blk_desc;
+struct disk_partition;
+
 /**
  * fastboot_mmc_get_part_info() - Lookup eMMC partion by name
  *
include/fs.h +2 -0
index 37e35c21206..9fdb4a34249 100644
@@ -14,6 +14,8 @@
 #define FS_TYPE_UBIFS	4
 #define FS_TYPE_BTRFS	5
 
+struct blk_desc;
+
 /**
  * do_fat_fsload - Run the fatload command
  *
include/fsl_ifc.h +1 -0
index 3edcc39f4e2..fd915335b2c 100644
@@ -10,6 +10,7 @@
 #ifdef CONFIG_FSL_IFC
 #include <config.h>
 #include <common.h>
+#include <part.h>
 #ifdef CONFIG_ARM
 #include <asm/arch/soc.h>
 #endif
include/gzip.h +2 -0
index 2e340673c38..783acbb60d2 100644
@@ -7,6 +7,8 @@
 #ifndef __GZIP_H
 #define __GZIP_H
 
+struct blk_desc;
+
 /**
  * gzip_parse_header() - Parse a header from a gzip file
  *
include/initcall.h +4 -0
index b5acdd01bdb..c871767e20a 100644
@@ -8,6 +8,10 @@
 
 typedef int (*init_fnc_t)(void);
 
+#ifdef CONFIG_EFI_APP
+#include <efi.h>
+#endif
+
 /*
  * To enable debugging. add #define DEBUG at the top of the including file.
  *
include/reiserfs.h +3 -0
index a655d5ea9fc..b61bb600679 100644
@@ -18,6 +18,9 @@
 #define SECTOR_SIZE		0x200
 #define SECTOR_BITS		9
 
+struct blk_desc;
+struct disk_partition;
+
 /* Error codes */
 typedef enum
 {
include/sandboxfs.h +3 -0
index 49724d05c89..783dd5c88a7 100644
@@ -18,6 +18,9 @@
 #ifndef __SANDBOX_FS__
 #define __SANDBOX_FS__
 
+struct blk_desc;
+struct disk_partition;
+
 int sandbox_fs_set_blk_dev(struct blk_desc *rbdd, struct disk_partition *info);
 
 int sandbox_fs_read_at(const char *filename, loff_t pos, void *buffer,
include/spl.h +1 -0
index 6d9f4e56348..d123fac8625 100644
@@ -22,6 +22,7 @@
 #define MMCSD_MODE_FS		2
 #define MMCSD_MODE_EMMCBOOT	3
 
+struct blk_desc;
 struct image_header;
 
 /*
include/ubifs_uboot.h +3 -0
index 16b757286e4..b025779d59f 100644
@@ -14,6 +14,9 @@
 #ifndef __UBIFS_UBOOT_H__
 #define __UBIFS_UBOOT_H__
 
+struct blk_desc;
+struct disk_partition;
+
 int ubifs_init(void);
 int uboot_ubifs_mount(char *vol_name);
 void uboot_ubifs_umount(void);
lib/efi_driver/efi_block_device.c +2 -0
index 33e66fcad2e..e7d8745ad85 100644
@@ -28,6 +28,8 @@
  * iPXE uses the simple file protocol to load Grub or the Linux Kernel.
  */
 
+#include <common.h>
+#include <blk.h>
 #include <efi_driver.h>
 #include <malloc.h>
 #include <dm/device-internal.h>
lib/efi_loader/efi_device_path_to_text.c +1 -0
index af1adbb71ef..49bebb58cc2 100644
@@ -6,6 +6,7 @@
  */
 
 #include <common.h>
+#include <blk.h>
 #include <efi_loader.h>
 
 #define MAC_OUTPUT_LEN 22
lib/efi_loader/efi_file.c +1 -0
index 1fe7cf539e3..9233767ee26 100644
@@ -11,6 +11,7 @@
 #include <malloc.h>
 #include <mapmem.h>
 #include <fs.h>
+#include <part.h>
 
 /* GUID for file system information */
 const efi_guid_t efi_file_system_info_guid = EFI_FILE_SYSTEM_INFO_GUID;
lib/gunzip.c +1 -0
index 9e6ccd692a3..bee3b9261f3 100644
@@ -5,6 +5,7 @@
  */
 
 #include <common.h>
+#include <blk.h>
 #include <command.h>
 #include <console.h>
 #include <div64.h>
lib/image-sparse.c +1 -0
index df623adc58e..3170c024f7b 100644
@@ -36,6 +36,7 @@
 
 #include <config.h>
 #include <common.h>
+#include <blk.h>
 #include <image-sparse.h>
 #include <div64.h>
 #include <malloc.h>
test/dm/blk.c +1 -0
index 9c71adc69d9..94b2855b8e9 100644
@@ -5,6 +5,7 @@
 
 #include <common.h>
 #include <dm.h>
+#include <part.h>
 #include <usb.h>
 #include <asm/state.h>
 #include <dm/test.h>
test/dm/mmc.c +1 -0
index 9ab0db1b66f..49402b9c902 100644
@@ -6,6 +6,7 @@
 #include <common.h>
 #include <dm.h>
 #include <mmc.h>
+#include <part.h>
 #include <dm/test.h>
 #include <test/ut.h>
 
test/dm/usb.c +1 -0
index e396c2a0ea1..a25c2c14820 100644
@@ -6,6 +6,7 @@
 #include <common.h>
 #include <console.h>
 #include <dm.h>
+#include <part.h>
 #include <usb.h>
 #include <asm/io.h>
 #include <asm/state.h>
Signature · 1 line
2.26.0.292.g33ef6b2f38-goog
#11 lore raw

PATCH 7/18 bootstage: Use BOOTSTAGE instead of BOOTSTATE

In reply to Simon Glass

Some of the enum members are wrong. Fix them.

---

 arch/x86/lib/fsp2/fsp_meminit.c      |  4 ++--
 arch/x86/lib/fsp2/fsp_silicon_init.c |  4 ++--
 common/board_f.c                     |  4 ++--
 common/board_r.c                     |  4 ++--
 common/spl/spl.c                     |  4 ++--
 include/bootstage.h                  | 10 +++++-----
 6 files changed, 15 insertions(+), 15 deletions(-)
arch/x86/lib/fsp2/fsp_meminit.c +2 -2
index bf30c479899..300be8b093f 100644
@@ -79,10 +79,10 @@ int fsp_memory_init(bool s3wake, bool use_spi_flash)
 		return log_msg_ret("Could not setup config", ret);
 
 	debug("SDRAM init...");
-	bootstage_start(BOOTSTATE_ID_ACCUM_FSP_M, "fsp-m");
+	bootstage_start(BOOTSTAGE_ID_ACCUM_FSP_M, "fsp-m");
 	func = (fsp_memory_init_func)(hdr->img_base + hdr->fsp_mem_init);
 	ret = func(&upd, &hob);
-	bootstage_accum(BOOTSTATE_ID_ACCUM_FSP_M);
+	bootstage_accum(BOOTSTAGE_ID_ACCUM_FSP_M);
 	if (ret)
 		return log_msg_ret("SDRAM init fail\n", ret);
 
arch/x86/lib/fsp2/fsp_silicon_init.c +2 -2
index d7ce43e1eb2..66a3cb39f18 100644
@@ -42,10 +42,10 @@ int fsp_silicon_init(bool s3wake, bool use_spi_flash)
 	if (ret)
 		return log_msg_ret("Could not setup config", ret);
 	log_debug("Silicon init...");
-	bootstage_start(BOOTSTATE_ID_ACCUM_FSP_S, "fsp-s");
+	bootstage_start(BOOTSTAGE_ID_ACCUM_FSP_S, "fsp-s");
 	func = (fsp_silicon_init_func)(hdr->img_base + hdr->fsp_silicon_init);
 	ret = func(&upd);
-	bootstage_accum(BOOTSTATE_ID_ACCUM_FSP_S);
+	bootstage_accum(BOOTSTAGE_ID_ACCUM_FSP_S);
 	if (ret)
 		return log_msg_ret("Silicon init fail\n", ret);
 	log_debug("done\n");
common/board_f.c +2 -2
index c59400269a6..c32a77a95b8 100644
@@ -837,9 +837,9 @@ static int initf_dm(void)
 #if defined(CONFIG_DM) && CONFIG_VAL(SYS_MALLOC_F_LEN)
 	int ret;
 
-	bootstage_start(BOOTSTATE_ID_ACCUM_DM_F, "dm_f");
+	bootstage_start(BOOTSTAGE_ID_ACCUM_DM_F, "dm_f");
 	ret = dm_init_and_scan(true);
-	bootstage_accum(BOOTSTATE_ID_ACCUM_DM_F);
+	bootstage_accum(BOOTSTAGE_ID_ACCUM_DM_F);
 	if (ret)
 		return ret;
 #endif
common/board_r.c +2 -2
index 95319a2b50d..46806fe8611 100644
@@ -313,9 +313,9 @@ static int initr_dm(void)
 #ifdef CONFIG_TIMER
 	gd->timer = NULL;
 #endif
-	bootstage_start(BOOTSTATE_ID_ACCUM_DM_R, "dm_r");
+	bootstage_start(BOOTSTAGE_ID_ACCUM_DM_R, "dm_r");
 	ret = dm_init_and_scan(false);
-	bootstage_accum(BOOTSTATE_ID_ACCUM_DM_R);
+	bootstage_accum(BOOTSTAGE_ID_ACCUM_DM_R);
 	if (ret)
 		return ret;
 
common/spl/spl.c +2 -2
index 932e6ab98ac..0526cd7718d 100644
@@ -455,11 +455,11 @@ static int spl_common_init(bool setup_malloc)
 		}
 	}
 	if (CONFIG_IS_ENABLED(DM)) {
-		bootstage_start(BOOTSTATE_ID_ACCUM_DM_SPL,
+		bootstage_start(BOOTSTAGE_ID_ACCUM_DM_SPL,
 				spl_phase() == PHASE_TPL ? "dm tpl" : "dm_spl");
 		/* With CONFIG_SPL_OF_PLATDATA, bring in all devices */
 		ret = dm_init_and_scan(!CONFIG_IS_ENABLED(OF_PLATDATA));
-		bootstage_accum(BOOTSTATE_ID_ACCUM_DM_SPL);
+		bootstage_accum(BOOTSTAGE_ID_ACCUM_DM_SPL);
 		if (ret) {
 			debug("dm_init_and_scan() returned error %d\n", ret);
 			return ret;
include/bootstage.h +5 -5
index 82f0307ef1e..f507271375f 100644
@@ -199,11 +199,11 @@ enum bootstage_id {
 	BOOTSTAGE_ID_ACCUM_DECOMP,
 	BOOTSTAGE_ID_ACCUM_OF_LIVE,
 	BOOTSTAGE_ID_FPGA_INIT,
-	BOOTSTATE_ID_ACCUM_DM_SPL,
-	BOOTSTATE_ID_ACCUM_DM_F,
-	BOOTSTATE_ID_ACCUM_DM_R,
-	BOOTSTATE_ID_ACCUM_FSP_M,
-	BOOTSTATE_ID_ACCUM_FSP_S,
+	BOOTSTAGE_ID_ACCUM_DM_SPL,
+	BOOTSTAGE_ID_ACCUM_DM_F,
+	BOOTSTAGE_ID_ACCUM_DM_R,
+	BOOTSTAGE_ID_ACCUM_FSP_M,
+	BOOTSTAGE_ID_ACCUM_FSP_S,
 	BOOTSTAGE_ID_ACCUM_MMAP_SPI,
 
 	/* a few spare for the user, from here */
Signature · 1 line
2.26.0.292.g33ef6b2f38-goog
#12 lore raw

PATCH 8/18 common: Drop bootstage.h from common header

In reply to Simon Glass

Move this fairly uncommon header out of the common header.

---

 arch/arc/lib/bootm.c                    | 3 ++-
 arch/arm/cpu/armv8/generic_timer.c      | 1 +
 arch/arm/lib/bootm.c                    | 1 +
 arch/m68k/lib/bootm.c                   | 1 +
 arch/microblaze/lib/bootm.c             | 1 +
 arch/mips/lib/bootm.c                   | 1 +
 arch/nds32/lib/bootm.c                  | 1 +
 arch/powerpc/lib/bootm.c                | 1 +
 arch/riscv/lib/bootm.c                  | 1 +
 arch/sandbox/cpu/cpu.c                  | 1 +
 arch/sandbox/lib/bootm.c                | 1 +
 arch/x86/cpu/apollolake/fsp_s.c         | 1 +
 arch/x86/cpu/apollolake/spl.c           | 1 +
 arch/x86/cpu/coreboot/timestamp.c       | 1 +
 arch/x86/cpu/cpu.c                      | 1 +
 arch/x86/lib/bootm.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/xtensa/lib/bootm.c                 | 1 +
 board/Seagate/dockstar/dockstar.c       | 1 +
 board/Seagate/goflexhome/goflexhome.c   | 1 +
 board/armltd/integrator/integrator.c    | 1 +
 board/armltd/vexpress/vexpress_common.c | 1 +
 board/bosch/shc/board.c                 | 1 +
 board/buffalo/lsxl/lsxl.c               | 1 +
 board/gdsys/p1022/controlcenterd-id.c   | 1 +
 board/st/stv0991/stv0991.c              | 1 +
 board/technexion/tao3530/tao3530.c      | 1 +
 board/ti/beagle/beagle.c                | 1 +
 cmd/bootstage.c                         | 1 +
 cmd/disk.c                              | 1 +
 cmd/nand.c                              | 1 +
 cmd/net.c                               | 1 +
 cmd/usb.c                               | 1 +
 common/board_f.c                        | 1 +
 common/board_r.c                        | 1 +
 common/bootm_os.c                       | 1 +
 common/bootstage.c                      | 1 +
 common/cli.c                            | 1 +
 common/image.c                          | 1 +
 common/init/board_init.c                | 1 +
 common/main.c                           | 1 +
 common/spl/spl.c                        | 1 +
 drivers/pci/pci_rom.c                   | 1 +
 drivers/scsi/scsi.c                     | 1 +
 drivers/spi/ich.c                       | 1 +
 drivers/timer/cadence-ttc.c             | 1 +
 drivers/timer/rockchip_timer.c          | 1 +
 drivers/timer/tsc_timer.c               | 1 +
 drivers/video/broadwell_igd.c           | 1 +
 drivers/video/tegra124/display.c        | 1 +
 env/common.c                            | 1 +
 include/common.h                        | 1 -
 lib/time.c                              | 1 +
 net/bootp.c                             | 1 +
 net/eth-uclass.c                        | 1 +
 net/eth_common.c                        | 1 +
 net/eth_legacy.c                        | 1 +
 net/net.c                               | 1 +
 post/post.c                             | 1 +
 61 files changed, 61 insertions(+), 2 deletions(-)
arch/arc/lib/bootm.c +2 -1
index d38c18ef8f4..1b08ffe2857 100644
@@ -3,9 +3,10 @@
  * Copyright (C) 2013-2014 Synopsys, Inc. All rights reserved.
  */
 
+#include <common.h>
+#include <bootstage.h>
 #include <irq_func.h>
 #include <asm/cache.h>
-#include <common.h>
 
 DECLARE_GLOBAL_DATA_PTR;
 
arch/arm/cpu/armv8/generic_timer.c +1 -0
index 46e63294fef..6fe3ede387b 100644
@@ -5,6 +5,7 @@
  */
 
 #include <common.h>
+#include <bootstage.h>
 #include <command.h>
 #include <time.h>
 #include <asm/system.h>
arch/arm/lib/bootm.c +1 -0
index 3e387e49e70..37fc727601c 100644
@@ -12,6 +12,7 @@
  */
 
 #include <common.h>
+#include <bootstage.h>
 #include <command.h>
 #include <cpu_func.h>
 #include <dm.h>
arch/m68k/lib/bootm.c +1 -0
index 19445b3fc7a..fb1170d00d7 100644
@@ -5,6 +5,7 @@
  */
 
 #include <common.h>
+#include <bootstage.h>
 #include <command.h>
 #include <env.h>
 #include <image.h>
arch/microblaze/lib/bootm.c +1 -0
index 87d2d6ee70d..f7303b790fc 100644
@@ -8,6 +8,7 @@
  */
 
 #include <common.h>
+#include <bootstage.h>
 #include <command.h>
 #include <cpu_func.h>
 #include <env.h>
arch/mips/lib/bootm.c +1 -0
index 8c0d7672f24..9be9d18ac85 100644
@@ -5,6 +5,7 @@
  */
 
 #include <common.h>
+#include <bootstage.h>
 #include <env.h>
 #include <image.h>
 #include <fdt_support.h>
arch/nds32/lib/bootm.c +1 -0
index 1003bc87b9d..b17368647d3 100644
@@ -6,6 +6,7 @@
  */
 
 #include <common.h>
+#include <bootstage.h>
 #include <command.h>
 #include <env.h>
 #include <hang.h>
arch/powerpc/lib/bootm.c +1 -0
index 390e8c0673c..1cef75c4bef 100644
@@ -8,6 +8,7 @@
 
 
 #include <common.h>
+#include <bootstage.h>
 #include <cpu_func.h>
 #include <env.h>
 #include <init.h>
arch/riscv/lib/bootm.c +1 -0
index fad16901c5f..d2f7ddcd2d1 100644
@@ -7,6 +7,7 @@
  */
 
 #include <common.h>
+#include <bootstage.h>
 #include <command.h>
 #include <dm.h>
 #include <fdt_support.h>
arch/sandbox/cpu/cpu.c +1 -0
index 56ee3f58260..842640c50ed 100644
@@ -4,6 +4,7 @@
  */
 
 #include <common.h>
+#include <bootstage.h>
 #include <cpu_func.h>
 #include <dm.h>
 #include <errno.h>
arch/sandbox/lib/bootm.c +1 -0
index 2de03fb8e02..d38c3164c12 100644
@@ -5,6 +5,7 @@
  */
 
 #include <common.h>
+#include <bootstage.h>
 #include <asm/io.h>
 
 #define	LINUX_ARM_ZIMAGE_MAGIC	0x016f2818
arch/x86/cpu/apollolake/fsp_s.c +1 -0
index 1f22c1ea3c6..35fe029a244 100644
@@ -7,6 +7,7 @@
 #include <common.h>
 #include <acpi_s3.h>
 #include <binman.h>
+#include <bootstage.h>
 #include <dm.h>
 #include <irq.h>
 #include <malloc.h>
arch/x86/cpu/apollolake/spl.c +1 -0
index d32f2a98987..a555e6c0d38 100644
@@ -5,6 +5,7 @@
 
 #include <common.h>
 #include <binman_sym.h>
+#include <bootstage.h>
 #include <dm.h>
 #include <malloc.h>
 #include <spi.h>
arch/x86/cpu/coreboot/timestamp.c +1 -0
index e698200d704..d37925bc80d 100644
@@ -6,6 +6,7 @@
  */
 
 #include <common.h>
+#include <bootstage.h>
 #include <asm/arch/timestamp.h>
 #include <asm/arch/sysinfo.h>
 #include <linux/compiler.h>
arch/x86/cpu/cpu.c +1 -0
index dae06949cc6..7d48f95c3f4 100644
@@ -20,6 +20,7 @@
 
 #include <common.h>
 #include <acpi_s3.h>
+#include <bootstage.h>
 #include <command.h>
 #include <cpu_func.h>
 #include <dm.h>
arch/x86/lib/bootm.c +1 -0
index 07d8f1f279c..0837655e124 100644
@@ -8,6 +8,7 @@
  */
 
 #include <common.h>
+#include <bootstage.h>
 #include <command.h>
 #include <hang.h>
 #include <dm/device.h>
arch/x86/lib/fsp2/fsp_init.c +1 -0
index da9bd6b45cf..c65e8c8d63c 100644
@@ -6,6 +6,7 @@
 #include <common.h>
 #include <binman.h>
 #include <binman_sym.h>
+#include <bootstage.h>
 #include <cbfs.h>
 #include <dm.h>
 #include <init.h>
arch/x86/lib/fsp2/fsp_meminit.c +1 -0
index 300be8b093f..117f36a8482 100644
@@ -8,6 +8,7 @@
 
 #include <common.h>
 #include <binman.h>
+#include <bootstage.h>
 #include <asm/mrccache.h>
 #include <asm/fsp/fsp_infoheader.h>
 #include <asm/fsp2/fsp_api.h>
arch/x86/lib/fsp2/fsp_silicon_init.c +1 -0
index 66a3cb39f18..28c15a22a2e 100644
@@ -10,6 +10,7 @@
 
 #include <common.h>
 #include <binman.h>
+#include <bootstage.h>
 #include <dm.h>
 #include <asm/arch/fsp/fsp_configs.h>
 #include <asm/arch/fsp/fsp_s_upd.h>
arch/xtensa/lib/bootm.c +1 -0
index 057b229433e..458eaf95c04 100644
@@ -5,6 +5,7 @@
  */
 
 #include <common.h>
+#include <bootstage.h>
 #include <command.h>
 #include <cpu_func.h>
 #include <env.h>
board/Seagate/dockstar/dockstar.c +1 -0
index 5a8c6e282bf..0ff8a9053e7 100644
@@ -9,6 +9,7 @@
  */
 
 #include <common.h>
+#include <bootstage.h>
 #include <miiphy.h>
 #include <net.h>
 #include <asm/arch/soc.h>
board/Seagate/goflexhome/goflexhome.c +1 -0
index 1e4477aa5ff..fd2f0df371a 100644
@@ -12,6 +12,7 @@
  */
 
 #include <common.h>
+#include <bootstage.h>
 #include <miiphy.h>
 #include <net.h>
 #include <asm/mach-types.h>
board/armltd/integrator/integrator.c +1 -0
index 32e4933d20a..ac6462d7ff5 100644
@@ -17,6 +17,7 @@
  */
 
 #include <common.h>
+#include <bootstage.h>
 #include <cpu_func.h>
 #include <dm.h>
 #include <env.h>
board/armltd/vexpress/vexpress_common.c +1 -0
index ebd3322c6fc..9dc26b949eb 100644
@@ -16,6 +16,7 @@
  * Philippe Robin, <[email protected]>
  */
 #include <common.h>
+#include <bootstage.h>
 #include <cpu_func.h>
 #include <init.h>
 #include <malloc.h>
board/bosch/shc/board.c +1 -0
index 9698d8ee16a..6e0ad4b53f8 100644
@@ -12,6 +12,7 @@
  */
 
 #include <common.h>
+#include <bootstage.h>
 #include <cpu_func.h>
 #include <env.h>
 #include <errno.h>
board/buffalo/lsxl/lsxl.c +1 -0
index aa641259ac6..56a2c29e4c7 100644
@@ -8,6 +8,7 @@
  */
 
 #include <common.h>
+#include <bootstage.h>
 #include <env.h>
 #include <env_internal.h>
 #include <flash.h>
board/gdsys/p1022/controlcenterd-id.c +1 -0
index ad56dd7d019..3da5005f403 100644
@@ -11,6 +11,7 @@
 #endif
 
 #include <common.h>
+#include <bootstage.h>
 #include <command.h>
 #include <dm.h>
 #include <env.h>
board/st/stv0991/stv0991.c +1 -0
index f193e833619..fbcb87092b2 100644
@@ -5,6 +5,7 @@
  */
 
 #include <common.h>
+#include <bootstage.h>
 #include <dm.h>
 #include <miiphy.h>
 #include <net.h>
board/technexion/tao3530/tao3530.c +1 -0
index 7d7c427392f..b604ee951b4 100644
@@ -4,6 +4,7 @@
  *      Tapani Utriainen <[email protected]>
  */
 #include <common.h>
+#include <bootstage.h>
 #include <malloc.h>
 #include <netdev.h>
 #include <twl4030.h>
board/ti/beagle/beagle.c +1 -0
index cb3a12ec373..439b023da82 100644
@@ -13,6 +13,7 @@
  *
  */
 #include <common.h>
+#include <bootstage.h>
 #include <dm.h>
 #include <env.h>
 #include <net.h>
cmd/bootstage.c +1 -0
index ed0b0ff1fc8..f1ea4e95982 100644
@@ -4,6 +4,7 @@
  */
 
 #include <common.h>
+#include <bootstage.h>
 
 static int do_bootstage_report(cmd_tbl_t *cmdtp, int flag, int argc,
 			       char * const argv[])
cmd/disk.c +1 -0
index 9e008a38890..da0660148c1 100644
@@ -4,6 +4,7 @@
  * Wolfgang Denk, DENX Software Engineering, wd at denx.de.
  */
 #include <common.h>
+#include <bootstage.h>
 #include <command.h>
 #include <cpu_func.h>
 #include <image.h>
cmd/nand.c +1 -0
index 9c2b5d718ef..c42ab24ec06 100644
@@ -20,6 +20,7 @@
  */
 
 #include <common.h>
+#include <bootstage.h>
 #include <image.h>
 #include <asm/cache.h>
 #include <linux/mtd/mtd.h>
cmd/net.c +1 -0
index 1b724cc5709..282b38ccf99 100644
@@ -8,6 +8,7 @@
  * Boot support
  */
 #include <common.h>
+#include <bootstage.h>
 #include <command.h>
 #include <env.h>
 #include <image.h>
cmd/usb.c +1 -0
index 98fa300dfe4..858be726a47 100644
@@ -12,6 +12,7 @@
 
 #include <common.h>
 #include <blk.h>
+#include <bootstage.h>
 #include <command.h>
 #include <console.h>
 #include <dm.h>
common/board_f.c +1 -0
index c32a77a95b8..a53a5e518dc 100644
@@ -11,6 +11,7 @@
 
 #include <common.h>
 #include <bloblist.h>
+#include <bootstage.h>
 #include <clock_legacy.h>
 #include <console.h>
 #include <cpu.h>
common/board_r.c +1 -0
index 46806fe8611..2eef614885b 100644
@@ -11,6 +11,7 @@
 
 #include <common.h>
 #include <api.h>
+#include <bootstage.h>
 #include <cpu_func.h>
 #include <exports.h>
 #include <flash.h>
common/bootm_os.c +1 -0
index 1d58462509c..44023532e13 100644
@@ -6,6 +6,7 @@
 
 #include <common.h>
 #include <bootm.h>
+#include <bootstage.h>
 #include <cpu_func.h>
 #include <efi_loader.h>
 #include <env.h>
common/bootstage.c +1 -0
index d2ed33663b7..817f85a7fee 100644
@@ -10,6 +10,7 @@
  */
 
 #include <common.h>
+#include <bootstage.h>
 #include <hang.h>
 #include <malloc.h>
 #include <sort.h>
common/cli.c +1 -0
index 38bba17585c..e5e5894b2fa 100644
@@ -9,6 +9,7 @@
  */
 
 #include <common.h>
+#include <bootstage.h>
 #include <cli.h>
 #include <cli_hush.h>
 #include <command.h>
common/image.c +1 -0
index ed712804561..dea66cf0d4d 100644
@@ -8,6 +8,7 @@
 
 #ifndef USE_HOSTCC
 #include <common.h>
+#include <bootstage.h>
 #include <cpu_func.h>
 #include <env.h>
 #include <malloc.h>
common/init/board_init.c +1 -0
index f7c8a173ffb..4c4f0ced535 100644
@@ -7,6 +7,7 @@
  */
 
 #include <common.h>
+#include <bootstage.h>
 
 DECLARE_GLOBAL_DATA_PTR;
 
common/main.c +1 -0
index 09333651586..9ce5c70ff39 100644
@@ -8,6 +8,7 @@
 
 #include <common.h>
 #include <autoboot.h>
+#include <bootstage.h>
 #include <cli.h>
 #include <command.h>
 #include <console.h>
common/spl/spl.c +1 -0
index 0526cd7718d..d5b6c40e59e 100644
@@ -9,6 +9,7 @@
 #include <common.h>
 #include <bloblist.h>
 #include <binman_sym.h>
+#include <bootstage.h>
 #include <dm.h>
 #include <handoff.h>
 #include <hang.h>
drivers/pci/pci_rom.c +1 -0
index 90f224b0452..fbedd4f38a9 100644
@@ -24,6 +24,7 @@
 
 #include <common.h>
 #include <bios_emul.h>
+#include <bootstage.h>
 #include <dm.h>
 #include <errno.h>
 #include <init.h>
drivers/scsi/scsi.c +1 -0
index 849c42f0cd2..949e364e78b 100644
@@ -6,6 +6,7 @@
 
 #include <common.h>
 #include <blk.h>
+#include <bootstage.h>
 #include <dm.h>
 #include <env.h>
 #include <part.h>
drivers/spi/ich.c +1 -0
index a9d7715a556..990a5ffa513 100644
@@ -8,6 +8,7 @@
 #define LOG_CATEGORY	UCLASS_SPI
 
 #include <common.h>
+#include <bootstage.h>
 #include <div64.h>
 #include <dm.h>
 #include <dt-structs.h>
drivers/timer/cadence-ttc.c +1 -0
index ed48a145f2c..4837b0645b6 100644
@@ -4,6 +4,7 @@
  */
 
 #include <common.h>
+#include <bootstage.h>
 #include <dm.h>
 #include <errno.h>
 #include <timer.h>
drivers/timer/rockchip_timer.c +1 -0
index 54956e557a1..0cbdc279a56 100644
@@ -4,6 +4,7 @@
  */
 
 #include <common.h>
+#include <bootstage.h>
 #include <dm.h>
 #include <dm/ofnode.h>
 #include <mapmem.h>
drivers/timer/tsc_timer.c +1 -0
index 43cb2d820e8..04596ff1174 100644
@@ -7,6 +7,7 @@
  */
 
 #include <common.h>
+#include <bootstage.h>
 #include <dm.h>
 #include <malloc.h>
 #include <time.h>
drivers/video/broadwell_igd.c +1 -0
index c23421d25be..86c4c10b386 100644
@@ -7,6 +7,7 @@
 
 #include <common.h>
 #include <bios_emul.h>
+#include <bootstage.h>
 #include <dm.h>
 #include <init.h>
 #include <vbe.h>
drivers/video/tegra124/display.c +1 -0
index 913beab4d49..a552f38cd07 100644
@@ -6,6 +6,7 @@
  */
 
 #include <common.h>
+#include <bootstage.h>
 #include <dm.h>
 #include <edid.h>
 #include <errno.h>
env/common.c +1 -0
index 1fd1bd01d3b..0256b3e3567 100644
@@ -8,6 +8,7 @@
  */
 
 #include <common.h>
+#include <bootstage.h>
 #include <command.h>
 #include <env.h>
 #include <env_internal.h>
include/common.h +0 -1
index 85a211554a1..fd3e2de4cce 100644
@@ -35,7 +35,6 @@
 #include <init.h>
 #include <display_options.h>
 #include <vsprintf.h>
-#include <bootstage.h>
 #endif	/* __ASSEMBLY__ */
 
 /* Pull in stuff for the build system */
lib/time.c +1 -0
index 75de48f9003..1395f28715c 100644
@@ -5,6 +5,7 @@
  */
 
 #include <common.h>
+#include <bootstage.h>
 #include <dm.h>
 #include <errno.h>
 #include <time.h>
net/bootp.c +1 -0
index 2c918d83796..05bfede14a5 100644
@@ -9,6 +9,7 @@
  */
 
 #include <common.h>
+#include <bootstage.h>
 #include <command.h>
 #include <env.h>
 #include <efi_loader.h>
net/eth-uclass.c +1 -0
index ed81cbd5374..da22ddbd7a8 100644
@@ -6,6 +6,7 @@
  */
 
 #include <common.h>
+#include <bootstage.h>
 #include <dm.h>
 #include <env.h>
 #include <net.h>
net/eth_common.c +1 -0
index ed26b1b6935..58f899a0240 100644
@@ -6,6 +6,7 @@
  */
 
 #include <common.h>
+#include <bootstage.h>
 #include <dm.h>
 #include <env.h>
 #include <miiphy.h>
net/eth_legacy.c +1 -0
index 5d6b0d7d7f4..e0ef4a11a7a 100644
@@ -6,6 +6,7 @@
  */
 
 #include <common.h>
+#include <bootstage.h>
 #include <command.h>
 #include <env.h>
 #include <net.h>
net/net.c +1 -0
index 087d399a24b..035293537b8 100644
@@ -88,6 +88,7 @@
 
 
 #include <common.h>
+#include <bootstage.h>
 #include <command.h>
 #include <console.h>
 #include <env.h>
post/post.c +1 -0
index 696a60f70a7..0f977fe2450 100644
@@ -5,6 +5,7 @@
  */
 
 #include <common.h>
+#include <bootstage.h>
 #include <env.h>
 #include <malloc.h>
 #include <stdio_dev.h>
Signature · 1 line
2.26.0.292.g33ef6b2f38-goog