Skip to contentSkip to conversation

common: Further reduce the size of common.h

PATCH Superseded Simon Glass 3 participants 53 messages May 10, 2020 – May 19, 2020 Page 1 of 5

Subsystems (129)
lore
Share & tools
lore
#0 lore raw

v3 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.

Changes in v3:
- Update imxrt1020-evk, etc.
- Update stm32mp15_optee, etc.
- Update vocore2, etc.
- Rebase to master
- Addition fix for xilinx_zynqmp_mini etc.

Changes in v2:
- Split out code-style changes for flash functions into a new patch
- Adjustments for more boards
- Adjustments for chromebook_coral, etc.
- Split out code-style changes for log functions into a new patch
- Split out code-style changes for time functions into a new patch
- Add new patch to fix occurances of __ASSEMBLER__

Simon Glass (22):
common: Drop uuid.h from common header
flash: Tidy up coding style for flash functions
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
Fix some checkpatch warnings in calls to debug()
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 Fix some checkpatch warnings in calls to udelay()
common: Drop linux/delay.h from common header Use __ASSEMBLY__ as the assembly macros
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 +
 .../asm/arch-fsl-layerscape/immap_lsch3.h     |   2 +-
 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-mx27/regs-rtc.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-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                   |   5 +
 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/imx8/snvs_security_sc.c     |  13 +-
 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                 |   3 +
 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          |   2 +
 arch/arm/mach-mvebu/armada8k/dram.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-owl/soc.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 |   3 +-
 .../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    |   6 +-
 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/spl.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                   |   2 +
 arch/mips/mach-mtmips/ddr_calibrate.c         | 312 ++++++++++++++++++
 arch/mips/mach-mtmips/ddr_init.c              |   1 +
 arch/mips/mach-mtmips/mt7628/ddr.c            |   1 +
 arch/mips/mach-mtmips/spl.c                   |   1 +
 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/fdt_fixup.c                    |   1 +
 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/include/asm/eth.h                |   2 +
 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               |   4 +
 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               |   2 +
 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         |   3 +
 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              |   4 +
 board/freescale/imx8mn_evk/imx8mn_evk.c       |   2 +
 board/freescale/imx8mn_evk/spl.c              |   4 +
 board/freescale/imx8mp_evk/imx8mp_evk.c       |   2 +
 board/freescale/imx8mp_evk/spl.c              |   4 +
 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/imxrt1020-evk/imxrt1020-evk.c |   2 +
 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/imx8mq_phanbell/spl.c            |   3 +
 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             |   4 +
 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/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                   |   2 +
 .../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                  |  10 +-
 board/xilinx/zynqmp_r5/board.c                |   1 +
 board/zyxel/nsa310s/nsa310s.c                 |   1 +
 cmd/ab_select.c                               |   9 +-
 cmd/abootimg.c                                |  32 +-
 cmd/acpi.c                                    |   4 +-
 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                                |  69 ++--
 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                                     |  29 +-
 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                                     |  68 ++--
 cmd/mfsl.c                                    |   6 +-
 cmd/mii.c                                     |   2 +-
 cmd/misc.c                                    |   7 +-
 cmd/mmc.c                                     | 113 ++++---
 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/unlz4.c                                   |   3 +-
 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_region.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-sig.c                        |   1 +
 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/log_syslog.c                           |   1 +
 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_legacy.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_owl.c                     |   2 +
 drivers/clk/owl/clk_owl.h                     |   3 +
 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/acpi.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                    |   3 +-
 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.h                  |   1 +
 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/esm_pmic.c                       |   1 +
 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/k3_esm.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/toshiba.c                |   1 +
 drivers/mtd/nand/spi/winbond.c                |   1 +
 drivers/mtd/onenand/onenand_base.c            |   2 +
 drivers/mtd/onenand/onenand_bbt.c             |   1 +
 drivers/mtd/onenand/onenand_spl.c             |   1 +
 drivers/mtd/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                         |   2 +
 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/atheros.c                     |   1 +
 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                         |   5 +-
 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             |   2 +
 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/rockchip_rng.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                        |   6 +
 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/acpi/acpi_table.h                     |   2 +
 include/android_ab.h                          |   5 +-
 include/asm-generic/gpio.h                    |   1 +
 include/asm-generic/u-boot.h                  |   1 +
 include/atf_common.h                          |   2 +-
 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/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                         |  29 +-
 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                             |   9 +-
 include/wait_bit.h                            |   4 +-
 include/wdt.h                                 |   1 +
 include/xyzModem.h                            |   2 +
 include/zfs_common.h                          |   2 +-
 include/zynqmppl.h                            |   1 +
 lib/acpi/acpi_table.c                         |   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                     |   6 +-
 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/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/log/test-main.c                          |   3 +-
 test/optee/cmd_ut_optee.c                     |   3 +-
 test/overlay/cmd_ut_overlay.c                 |   4 +-
 test/print_ut.c                               |   4 +-
 test/str_ut.c                                 |   2 +-
 test/time_ut.c                                |   3 +-
 test/unicode_ut.c                             |   3 +-
 tools/imx8image.c                             |   1 +
 tools/proftool.c                              |   2 +-
 3364 files changed, 7838 insertions(+), 1964 deletions(-)
 create mode 100644 arch/mips/mach-mtmips/ddr_calibrate.c
Signature · 1 line
2.26.2.645.ge9eca65c58-goog
#1 lore raw

PATCH v3 1/22 common: Drop uuid.h from common header

Move this uncommon header out of the common header.

---

Changes in v3: None
Changes in v2: None

 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 b8d11c167d..98c788e757 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 6f69a84fea..75e4e51495 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 3967a7ca5a..29d9e3d5a2 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 83876a7bd9..2970ce5bab 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 cb7e182742..2e3985e385 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 966b427a97..96ca276839 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 0ef8505fc7..a8242cafc5 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 60c1201757..b58963fa1d 100644
@@ -12,6 +12,7 @@
 #include <malloc.h>
 #include <rtc.h>
 #include <search.h>
+#include <uuid.h>
 #include <crypto/pkcs7_parser.h>
 #include <linux/compat.h>
 #include <u-boot/crc.h>
lib/uuid.c +1 -0
index c1cb9df6aa..bdb137884c 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 b4edee29b0..de9ef902b9 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 505489140e..c73a82e642 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.2.645.ge9eca65c58-goog
#2 lore raw

PATCH v3 1/22 common: Drop uuid.h from common header

Quoted 3 lines · Simon Glass

Move this uncommon header out of the common header.

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20200519/7fb8076c/attachment.sig>
#3 lore raw

PATCH v3 2/22 flash: Tidy up coding style for flash functions

In reply to Simon Glass

Some functions use the wrong code style and generate checkpatch errors. Fix these.

---

Changes in v3: None
Changes in v2:
- Split out code-style changes for flash functions into a new patch

 arch/arm/mach-at91/arm926ejs/eflash.c |  8 ++++----
 board/cobra5272/flash.c               | 16 ++++++++--------
 board/socrates/socrates.c             | 27 ++++++++++++++-------------
 cmd/flash.c                           | 22 ++++++++++++----------
 common/flash.c                        | 10 +++++-----
 include/flash.h                       | 24 ++++++++++++------------
 6 files changed, 55 insertions(+), 52 deletions(-)
arch/arm/mach-at91/arm926ejs/eflash.c +4 -4
index 7b61fa7226..cfd6490d9d 100644
@@ -58,7 +58,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 +127,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 +202,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 +215,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/cobra5272/flash.c +8 -8
index 1d3c5acddf..e601ed8e72 100644
@@ -14,7 +14,7 @@
 
 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 +55,7 @@ Done:
 }
 
 
-unsigned long flash_init (void)
+unsigned long flash_init(void)
 {
 	int i, j;
 	ulong size = 0;
@@ -98,9 +98,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 +127,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 +244,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 +311,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/socrates/socrates.c +14 -13
index b0ddee7906..bd214acc80 100644
@@ -105,25 +105,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]);
 	}
 
cmd/flash.c +12 -10
index cd1758d7e2..230d8408a4 100644
@@ -88,7 +88,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 +279,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 +291,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 +316,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 +370,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 +390,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 +415,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 +527,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 +582,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;
common/flash.c +5 -5
index 5f155aefd1..9601716c3a 100644
@@ -24,7 +24,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 +84,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 +119,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;
include/flash.h +12 -12
index 2655c72087..3bf6b22399 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.2.645.ge9eca65c58-goog
#4 lore raw

PATCH v3 2/22 flash: Tidy up coding style for flash functions

Quoted 4 lines · Simon Glass

Some functions use the wrong code style and generate checkpatch errors. Fix these.

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20200519/ec5488f7/attachment.sig>
#5 lore raw

PATCH v3 3/22 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.

---

Changes in v3: None
Changes in v2: None

 arch/arm/mach-at91/arm926ejs/eflash.c      | 1 +
 board/AndesTech/adp-ae3xx/adp-ae3xx.c      | 1 +
 board/AndesTech/adp-ag101p/adp-ag101p.c    | 1 +
 board/AndesTech/ax25-ae350/ax25-ae350.c    | 1 +
 board/Arcturus/ucp1020/cmd_arc.c           | 1 +
 board/atmel/at91sam9263ek/at91sam9263ek.c  | 1 +
 board/buffalo/lsxl/lsxl.c                  | 1 +
 board/cobra5272/flash.c                    | 2 ++
 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                  | 1 +
 board/spear/x600/x600.c                    | 1 +
 cmd/armflash.c                             | 1 +
 cmd/cros_ec.c                              | 1 +
 cmd/flash.c                                | 1 +
 cmd/jffs2.c                                | 1 +
 cmd/mvebu/bubt.c                           | 1 +
 cmd/sf.c                                   | 1 +
 common/board_r.c                           | 1 +
 common/flash.c                             | 1 +
 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 -
 45 files changed, 46 insertions(+), 1 deletion(-)
arch/arm/mach-at91/arm926ejs/eflash.c +1 -0
index cfd6490d9d..c875bfd89b 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>
board/AndesTech/adp-ae3xx/adp-ae3xx.c +1 -0
index a04415deca..8eb40bf295 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 faf39b4ba6..d349b19648 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 f164073000..de546dab17 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 b50de63c5e..2b4853f8f9 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 b811d931c4..be132bc185 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 95d3a5e1f5..aa641259ac 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 +2 -0
index e601ed8e72..5860cd0ac0 100644
@@ -7,7 +7,9 @@
 #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
board/freescale/common/fsl_validate.c +1 -0
index 2bf9d58746..6aa412a937 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 a5223ecee6..87368564af 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 28e2a9435c..b1e638af5a 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 5167f81be7..da97495664 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 57cea0af68..9ed00f6e5b 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 cf5d8a5244..18e0d87a48 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 776afa43a6..89844ee69e 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 d1110157a2..8994c8c71b 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 9ba9e4278a..a12e08685b 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 203eecf3d6..135aaa5234 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 0b118b2f65..fbfc49ee01 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 e8d1fdd03f..ed041b14ee 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 0979df563a..9f9cdfa234 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 +1 -0
index bd214acc80..84644a85c7 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>
board/spear/x600/x600.c +1 -0
index e1232edd14..7cff6eecf2 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 6872b0dde3..f82f3dd1a3 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 9e2f1b06f3..c6bbed9c4a 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 +1 -0
index 230d8408a4..df97fe740d 100644
@@ -9,6 +9,7 @@
  */
 #include <common.h>
 #include <command.h>
+#include <uuid.h>
 
 #if defined(CONFIG_CMD_MTDPARTS)
 #include <jffs2/jffs2.h>
cmd/jffs2.c +1 -0
index da2580d85d..748a73e2af 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 ef53153c46..f0ee54d6d2 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 e993b3e5ad..2b9c268ac4 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 d9015cd057..138d65b13b 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 +1 -0
index 9601716c3a..4a28ac5d34 100644
@@ -8,6 +8,7 @@
 
 #include <common.h>
 #include <flash.h>
+#include <uuid.h>
 
 #include <mtd/cfi_flash.h>
 
drivers/dfu/dfu_sf.c +1 -0
index 0fdbfae434..318e43c179 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 3c4acfecf6..49f6a61c37 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 d7cf9f4aac..d3249a54f7 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 6756ea769f..b165468145 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 fa9984f6bd..c145b67931 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 4ce183b6f3..036cf0b4a1 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 f59b2bc62f..ce921b461a 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 55fb4bd31a..b1a38048d3 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 68c36002be..987fac2501 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 fd0d5506e8..95afa2d6bc 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 64c57f2cdf..64fafdc7cf 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 228f599d44..7ef48bbc06 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 5912cde838..f58ec0e9a0 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 a8242cafc5..1705d85e8a 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 */
Signature · 1 line
2.26.2.645.ge9eca65c58-goog
#6 lore raw

PATCH v3 3/22 common: Drop flash.h from common header

Quoted 5 lines · Simon Glass

Move this uncommon header out of the common header.

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

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20200519/d037ab92/attachment.sig>
#7 lore raw

PATCH v3 4/22 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.

---

Changes in v3: None
Changes in v2: None

 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/psci.h                        |  4 ++++
 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 ++
 80 files changed, 67 insertions(+), 89 deletions(-)
arch/arm/cpu/armv8/fwcall.c +1 -0
index cbd35b7f4a..4bffec9560 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 6579cc0c5d..7bcafba6f0 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 d8bf87258b..b16b184733 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 d5cab3e083..26bd4b46ff 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 256c5e243f..f74ae74ff1 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 e4e5a48ad6..a6a8a988a0 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 95d6156476..d561691437 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 8775491245..d69e3c4664 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 5301d4c1b0..f39b14001b 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 e66e57f759..01978c08f5 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 7eec73163b..3045b78d08 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 aafc2d690e..e99e115f79 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 788534083c..cb0b53a69f 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 6f5ca5888a..63a51042e1 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 f7760541a4..769917679e 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 984bd3f141..48c7c3367a 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 eb02a20fdc..92d4463dff 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 dee3cfcdc0..8f0d700628 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 b79bde338f..3b5b7f6803 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 037045ca31..0a626fe647 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 e261bd43f2..87eb3f335a 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 09edfadc32..ea2f113f98 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 a14b64cdb3..86c906bb0e 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 3e68626d3e..a995bb950d 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 798444ae49..732ca37040 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 4722522954..5db0407baa 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 b8565605cd..40a5ca7390 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 c87c830716..ee12fa831f 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 4bf69dbe08..226744d67d 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 1fe1f01b9e..714cea85b4 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 789ca6aa28..d941a129f3 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 7697e96a91..1db25afe26 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 3d2a877032..d51e29b19e 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 5f12ebf262..08348d8228 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 519b36ad2a..fe07d69b42 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 a99d13732d..5f4d9d8224 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 b70b08fcce..45e882b3c9 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 9f42fbde8d..92bbe34af6 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 5de3220d6f..46298165fb 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 336c5d7e8c..99942e6aac 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 c60065444c..70846094e8 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 616b6e2a64..8c64a995f2 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 53cb56d271..52c10b8fab 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 70dcf4aa66..d6a55764ba 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 72184fd608..ec9786ce4f 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 8bb3fa2e0e..8af1ea0aa4 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 dc398efd32..35424345bf 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 06dbd8d943..1de7093355 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 2a997f280d..2a1cfcb893 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)
 
@@ -181,7 +183,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 54b7cd19bb..de8fc99d04 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 f10a41f304..30f0a9f5cb 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/psci.h +4 -0
index 3ddcd95a26..ac0ab6253f 100644
@@ -18,6 +18,10 @@
 #ifndef __ARM_PSCI_H__
 #define __ARM_PSCI_H__
 
+#ifndef __ASSEMBLY__
+#include <linux/bitops.h>
+#endif
+
 #define ARM_PSCI_VER_1_0		(0x00010000)
 #define ARM_PSCI_VER_0_2		(0x00000002)
 
arch/arm/include/asm/system.h +2 -1
index a3147fde14..1e3f574403 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 461fba4d3f..f25119a7d6 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 0d39dab7ea..518d77ae5b 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 b9f630952d..c4599aaf68 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 3fd1d086ff..8cacc1dea6 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 a29a264016..2a18cf0215 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 6bf4cf4a75..786da45fac 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 e9ada6dea3..e0a6e4b025 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 50d58217e4..ea90bc6e34 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 9aa71b9941..03e9364765 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 bf5c020af1..b644f273fe 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 1240a9da17..64553c0617 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 5d71b639df..df32e12037 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 d577e00fbc..91d8091d25 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 59a07a9ffd..fa2acf59a7 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 6a96f9ecdb..13f77a3db2 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 06ad0a8c32..bafe9ba6b7 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 6c432ca5a6..69db77412c 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 b287fbf410..1a3b136529 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 dbd9d0286f..250043a26d 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 fb2f3c1fd2..9705a1d8e3 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 b525b1be54..3a09a8165c 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 41b93e660a..2728e8098f 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 7af610be37..35965e9645 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 171188a76f..712eeaef4e 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 bd373b9617..66febc6b72 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 82500eeb30..774ae2de63 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 6bf9fd8beb..661a22e368 100644
@@ -26,6 +26,8 @@ struct image_header;
 #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.2.645.ge9eca65c58-goog
#8 lore raw

PATCH v3 4/22 arm: Don't include common.h in header files

Quoted 8 lines · 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.

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20200519/0e2c8a7f/attachment.sig>
#9 lore raw

PATCH v3 5/22 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.

---

Changes in v3: None
Changes in v2:
- Adjustments for more boards

 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-owl/soc.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/sandbox/include/asm/eth.h                    | 2 ++
 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_imx6/dh_imx6.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/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/log_syslog.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                             | 2 ++
 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/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 +
 470 files changed, 499 insertions(+), 5 deletions(-)
arch/arm/cpu/arm11/cpu.c +1 -0
index 177d1f40b9..ffe35111d5 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 45bf49b5ac..c78f2cbfc9 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 7b7eaaf31d..acab9bccc0 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 6ab320da7d..93d7a02ed4 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 4c59a44f7e..2bc3513abf 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 09bda0e339..ef8d2d202d 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 9bed0e91be..a003ab816a 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 16c080a1e1..f65053c4b6 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 99eb7db342..146cf52608 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 a5445338cb..896d2f9569 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 6bf89e07d8..cfc7c9fbc6 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 664c9c1f4d..c544f38641 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 16ab8676fe..56ca7b0164 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 2c5d99e9ac..1ac50f558a 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 6698b821d0..c1ba69893f 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 26c93393cd..5ffeca13d9 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 7353698557..f607b77d41 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 6a5518f9de..a64bc1bde2 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 267abb83e8..97d4473a68 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 35752037bc..ea40c55dd2 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 9c1f4a8ca8..10dd034c7b 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 b3f5c2f641..19c642a022 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 3bbad827cb..1d94c7e0f8 100644
@@ -7,6 +7,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 ca07c68863..4e779dde1d 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 d391f93041..daaaeab26c 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 28bb1d7401..664f12e861 100644
@@ -14,6 +14,7 @@
 #include <linux/sizes.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 accad6e8ae..2c0ce80c0c 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 4bffec9560..b29bc30fc2 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 b5a9513ead..f910b6ed72 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 ec4641dcdb..98f526e252 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 95ea57d571..36f40a4015 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 d4dfe7f6d8..a2ec5e28c7 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 002ff7988b..ecf85d2f14 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 021c246175..4e1da98d1f 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 ca70731b9e..8586f3a04d 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 f4b5ca6de0..dc845a997f 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 224f2aef14..d5c67c11de 100644
@@ -9,6 +9,7 @@
 #include <common.h>
 #include <cpu_func.h>
 #include <malloc.h>
+#include <asm/cache.h>
 
 DECLARE_GLOBAL_DATA_PTR;
 
arch/arm/lib/psci-dt.c +1 -0
index 246f3c7cb8..0ed29a43f1 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 33cc76ba3d..8a24e34f62 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 1785550642..da0b4feacb 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 1e090fd63c..ecd0105121 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 c4cf59dabb..810fa348ee 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 103bb38d45..8b2c5c79c0 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 4fd2e43448..4e3b49a3fd 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 e83f6934cd..0a2c43378f 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 2110380957..4c965158fc 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 b3a57bcf4b..c61fcce3eb 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 c8f6ca235b..f32945ea37 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 fca520c671..a4f0ab4886 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 80dfa5f0fd..33273b8eff 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 0d77d98359..dd7c998487 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 4f5c848245..6d54b65f08 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 375588894d..59fd029e4c 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 6b12ea5e91..009b7deeca 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 5e964af8ea..c56620dc5a 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 1e527c0485..a715378127 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 a38b5d12d9..4e6b710c11 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 360d94abb0..b038437a17 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 c2b1b76982..c46cc5fcaf 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 6874458e36..5e0b3f6cb5 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 bc4c92074c..3a7cffcab3 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 26d6b90790..fc1729edd3 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 3da99017a5..5d5a293b08 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 fac286b9c8..dacc897533 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 34cc0479a8..3a92a55a49 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 283f73522d..533601eac4 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 fb0c9188f5..eecc5d334e 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 5a693e20bb..7d57dd257f 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-owl/soc.c +1 -0
index 409cbd319f..8a434bd496 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>
arch/arm/mach-rmobile/cpu_info.c +1 -0
index 2cc701c4f5..9b34cba047 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 f9cd89a131..3211dfee02 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 14b9e89ea3..9f26b8d16c 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 1524eca272..b36e559e87 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 7816ba1177..b390bdf827 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 2901b7db68..0158f4f04c 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 74d03fa7dd..603c690a3d 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 3fb038d3e7..19f1acfe23 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 b487b265af..11b333b563 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 31c49a7c84..267bfde09d 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 390229436e..4416827220 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 00c65c281f..492f4d8c11 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 3d96d09f31..f9fd4fe7d3 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 9a3793316a..e231e7b60b 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 c71470a204..951e71430f 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 1b760ba5de..71731f324f 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 aca44dfe67..43c5ca39d4 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 811684a9f8..d832406434 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>
 #include <asm/cache.h>
arch/m68k/cpu/mcf523x/cpu.c +1 -0
index 429781945b..8c808a6b0c 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 b48a753f9b..5eee856392 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 6807992de5..32c477a5fd 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 2f79380c8b..1602369080 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 dc5ed1aa79..51281549a3 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 02f66f9087..aa832d6be6 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 2d6a41be2f..87d2d6ee70 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 98b67ccc8e..641e2ad58d 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 1a8c87d094..f05b24bd12 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 e11d300b6d..21917e5da5 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 f4e25f1f59..f0e3ada195 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 a9f39dc583..1c2d8edf60 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 4a1698d3bc..9d6c08f17a 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 ed482a9c09..bb81f49ae7 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 9df629d23c..35f23c748d 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 13a69ef0cc..d78e1a3453 100644
@@ -5,6 +5,7 @@
 
 #include <common.h>
 #include <irq_func.h>
+#include <asm/cache.h>
 
 /*
  * cleanup_before_linux() is called just before we call linux
arch/sandbox/include/asm/eth.h +2 -0
index 477fa00fad..b313bf57c6 100644
@@ -9,6 +9,8 @@
 #ifndef __ETH_H
 #define __ETH_H
 
+#include <net.h>
+
 void sandbox_eth_disable_response(int index, bool disable);
 
 void sandbox_eth_skip_timeout(void);
arch/sh/cpu/sh4/cache.c +1 -0
index 2f49ce8681..0f7dfdd3cf 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 a8d0590d51..e94e980c0e 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 a43cb7fc15..0e4402d68e 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 2bf90dcfc6..30f4755626 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 fb59e2f67d..9dddf88b5a 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 c996fc588d..331c1b7e5a 100644
@@ -5,6 +5,7 @@
 
 #include <common.h>
 #include <malloc.h>
+#include <net.h>
 #include <vbe.h>
 #include <acpi/acpi_s3.h>
 #include <asm/coreboot_tables.h>
board/AndesTech/adp-ae3xx/adp-ae3xx.c +1 -0
index 8eb40bf295..54f7178b36 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 d349b19648..23cdf4f578 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 de546dab17..920d43ecc6 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 b641b72aaa..dfa1fd4f15 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 470ea32f9c..e8ec240dd7 100644
@@ -6,6 +6,7 @@
 #include <common.h>
 #include <asm/arch/cpu.h>
 #include <asm/arch/soc.h>
+#include <net.h>
 #include <asm/io.h>
 #include <asm/gpio.h>
 #include <clk.h>
board/CZ.NIC/turris_omnia/turris_omnia.c +1 -0
index e1775d3004..29c1120458 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 94306b3d8e..3e975801b8 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 922576e9d5..372beb3c43 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 1a0746b9d3..f3df7e666b 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 604e8c1670..e7808f5a5c 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 777948f90f..bd6eefd773 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 e3fbbbaa8a..47eb64dd1f 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 299f2f102d..33e0e4a4ae 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 41d331dda2..d7f7ebd962 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 e46fcaea6d..cdac64ed92 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 094ab5478d..6ac5aadecf 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 f1faa7418e..ae9b888c12 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 bdb4eca883..79b867996b 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 5de610d85f..07a6a47ebc 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 b17eb9ef55..5c24276d51 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 69fd29d4fe..4df7ff437e 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 e60dc3a622..95bbdedbdd 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 1a472f50d3..32e4933d20 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 14626c1f55..ebd3322c6f 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 5c7a8f55f0..912202d8eb 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 e75d5b182f..e4a6776f96 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 90d32353e9..f16c137565 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 96343678e0..ced27b65e6 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 050aa51ee1..2205dd30f8 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 36f37084b3..dd7863f7ac 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 c2c7c09553..7984647e3a 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 6348f123ad..016e0adc06 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 9eb851c397..5900e65466 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 9268aa0daa..2599db7bf7 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 d34f3ba007..9698d8ee16 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 5018167fcf..4d40cb8ff5 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 e4dbe42649..31cae47028 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 6cbad9c1f0..91f489aad3 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 2e7ba69d76..ea2f2bade0 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 687ade544a..1b1b9d513c 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 0caeea5885..dc86d43d9a 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 dfebb7c1c1..b64ec95e31 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 9277094e44..e97efc1dc3 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 3e185ad82a..f0a821d9a9 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 561f2f30bb..4497aa5af8 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 2aa453471d..9348d6dcad 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 811bbb528a..0efbf761da 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 49c731f891..16f655f188 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 228a3943c0..66781ef316 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_imx6/dh_imx6.c +1 -0
index b6f8b11a10..74b461983c 100644
@@ -9,6 +9,7 @@
 #include <dm.h>
 #include <eeprom.h>
 #include <init.h>
+#include <net.h>
 #include <dm/device-internal.h>
 #include <asm/arch/clock.h>
 #include <asm/arch/crm_regs.h>
board/dhelectronics/dh_stm32mp1/board.c +1 -0
index 322558157e..46f61d60d0 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 03e9364765..286c1adabc 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 b644f273fe..50b6f98c29 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 6c5992733c..fd7d6db9bc 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 ff811643a6..f54c89d154 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 67fb1b9b2b..95ec0b9a73 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 ab05d84190..89742dfedb 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 a9ea986579..17292936b7 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 0e6f2135b4..02845514ed 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 45c23df27e..a17ca7ac60 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 0979c5f489..b1989bcbc2 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 1962b7e3c7..5adfecd265 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 d138c9384e..8260e7f797 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 30bf1047d5..e41f7e41bb 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 ab83ef11a0..8633268ed7 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 b4201e76d1..dca60b7401 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 d0a98836e2..2de62cf095 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 3876910cbb..0f940998bf 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 d1ff7b8ba6..acf146de4d 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 1e2973f0c8..feeae9b406 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 e1919d2988..b2709be8be 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 a8d0c1109b..4b9f94a0a5 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 d38e4d7ac7..3f7c35b5c9 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 1d40e8bd17..e2a4470a71 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 7dbfcac307..6ffd4aec3e 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 76c18b8504..6a6c65fe5f 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 ae73246e5b..bd052b903d 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 93e0fca083..204b40bf47 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 1ae2308e9b..90e95399d2 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 e55ee40026..bfbb8a5fb7 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 2d4aace98d..85d370f628 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 a4455d3f61..454da1d7da 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 4111d69b4b..b7e0eeded5 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 86edd66bca..fc331a995a 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 d9e538b868..57f91a42f5 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 cfbe89ebfe..e5fa4ae765 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 fb57f26357..06fe51db71 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 d0f7f045a5..dda20eed51 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 33d056b47d..fabcb03ac8 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 3957c09ac0..3866020a6d 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 de19a562eb..33da3914d3 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 07d3b0edb3..d46dcd4b8a 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 43029e4245..38fc30553c 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 0c7904204f..d01c74d241 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 4f1d6602e5..a2c2782303 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 07941fb156..afc9f6e6eb 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 41c620795c..6d6763db6a 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 314646d4ff..782c2b71bc 100644
@@ -6,6 +6,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 ebf822acb5..33edff9727 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 eeb13ccc9b..5321e26a9c 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 f668d7efb1..5d619dbd2e 100644
@@ -10,6 +10,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 72fe1b4166..6d0e1b1ffa 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 854a839b8c..32c68f2a71 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 e804cfe986..fef7b8142c 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 5b65818eed..1820419511 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 299b859cb6..d40b590108 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 4185cfac12..3f10e420a0 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 107d28da33..9cbc8754dc 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 697c23b038..72991ea591 100644
@@ -8,6 +8,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 6894947304..669bc1efef 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 b341c82e67..d93d75950c 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 2ef192c452..3321ce1ea1 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 8a694a71c9..6c81864319 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 4eb7d76660..7aad683127 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 8e868165ed..14e3e25c18 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 7f0de5e42b..8cc9278287 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 78fb98ef64..cbb1cd0f8f 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 65e5e1e60f..2a6a449306 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 3e0edd48f5..f7f2e2c525 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 84c26e0c14..0ed62c7d84 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 4937dc374c..70a69f5b8c 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 77ce75ecf2..80005ec3cc 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 b0f8d8a314..a28d447825 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 1b871fdcc5..0ad601f39b 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 9dae54dda5..7103a3e0f2 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 7499d2078b..8635a5448b 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 6ef960b06b..c6117b33bc 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 3c3592ecf5..f8134b7042 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 df5d316717..1a9c05275f 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 18f3c3f9d9..6ed3a9b847 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 21d8a21010..5c178a27e7 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 6bfa41737f..7438d37923 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 5b2fd9c23f..caa6187ffe 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 1756bbca98..b92f0974af 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 63cdb3a604..e552877fdc 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 baa7997477..f7da1a95ea 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 43f6c5afcb..e561c82253 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 820b5fde14..b1bf8d50f8 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 a3af823ef6..7439aa56ad 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 039ed0f1bc..236342c8d7 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 40dd27a7b0..91d13bdea4 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 e3e8e74220..00afff3abf 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 414a9c001d..b3e0830843 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 81bd8bd95b..75505d0c18 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 6c096b49a1..3134415d80 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 767c45cc9c..3ffd9ad75d 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 c15387366c..892f7e7260 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 f2da4686c3..e4d0967c14 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 8dbeeb6e68..120464ced4 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 135aaa5234..565ce5f5d1 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 fbfc49ee01..0a762bc553 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 ed041b14ee..eef5d36fd5 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 7af39e10cd..f85209c649 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 390060e51f..948007c4a8 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 a80300b0c0..fc2c2a94dc 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 05369d2227..9b6502386e 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 663eddac11..c2c9b9c7e7 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 d246dce36d..c0e14cd5aa 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 41090dda10..422f25c2e9 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 fabc348440..b8aa0e7f69 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 94bd71ad09..963de15fa8 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 58bb5bab1a..792b9137df 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 bd4eaa4f3a..fff2b696ce 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 cb7206a561..40c9c7e21d 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 c0496c549a..08eafefb91 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 fa2acf59a7..48e7ff2479 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 c74c06eaee..f523e50ea5 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 5a88b6c8ad..537d9d1872 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 443751ba8f..490ca9bc34 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 13f77a3db2..262f6640d9 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 83fdf027e9..c531eb3fc6 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 1b3478a9fb..6e88547e1c 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 640242e718..d8b1e7de4e 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 91c2691b86..241f123ae1 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 7cff6eecf2..e6f8dc9083 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 5d9fdf27b2..35bf497156 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 45068b1cd9..9e331be37c 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 33b29e647e..f193e83361 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 fa982bda5c..4bd88f85a6 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 a3e0563ff4..782b2bfef4 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 7537fa213a..afa6290a2a 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 f8eeb40555..146bbc26d6 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 e27a03c212..4294f3ed54 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 b7ca2e1315..a6fd49d729 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 ff1a189c7e..f79e7747e2 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 621e26905b..9af1799fa5 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 01b28e8da4..c6de8602d0 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 21fc5ed1d3..87c7ef6b3f 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 34ca3ec9b0..c80a458c12 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 a610879424..9d96710f05 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 12e657c9c6..cb3a12ec37 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 cbd35f2434..3938dea430 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 8132cdfbf2..8f59598950 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 d26dd5ba84..7161c934cd 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 c068bb86b5..7bc03edd53 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 ee7efcbfa7..0d19ad018a 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 20199da390..b1e51bc431 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 e71c53e5ee..97da5ccf0d 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 2b9385d14b..7f82e71228 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 3896ebbfda..e895a216fe 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 8c4a359c75..47925568c6 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 d11401ecab..197d8c39f5 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 8727101aa3..8e62b79ef3 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 c4db516b07..93693712a9 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 1b6c911418..bd7d8b7f53 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 a5b7587737..c5598c0e8c 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 1320f8ad78..d64eff4ffa 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/udoo/neo/neo.c +1 -0
index 2ba98c7b52..096551b3c7 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 2a4e790d88..0370db67e4 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 2d0b760c39..0f00506d7a 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 9783abd659..45b21fba32 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 c76502c964..197405e555 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 1ebec93916..50630574fd 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 483e3ce2f7..24cff0c370 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 a2a0d56331..6aad1352c4 100644
@@ -9,6 +9,7 @@
 #include <debug_uart.h>
 #include <env.h>
 #include <init.h>
+#include <net.h>
 #include <sata.h>
 #include <ahci.h>
 #include <scsi.h>
@@ -18,6 +19,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 9edcf8d74e..ec399c07ae 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 10e8264d3c..0d6d2ce604 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 8d271ce1f3..d178a0c10d 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 abce2f1e0c..28fca501fa 100644
@@ -11,6 +11,7 @@
 #include <mapmem.h>
 #include <fat.h>
 #include <fs.h>
+#include <asm/cache.h>
 
 int do_fat_size(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
 {
cmd/load.c +1 -0
index fab30fe894..36db571cea 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 18f0510098..24a9c7731c 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 f0ee54d6d2..c5af669d0d 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 4de6892a01..9c2b5d718e 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 966c134059..a86063df94 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 c244bfb10d..8fc33670c8 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 2b9c268ac4..69e0d46a55 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 211ab2680f..8b768f3108 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 770f6a3eed..73c764255f 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 5c650f046c..8dd3c41268 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 138d65b13b..d8c4cfcc78 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 db4362a643..96cba01589 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 0ace152b98..6bb8b53902 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 02cf5c6241..fad551fdd6 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 ff4986a619..2cf763575f 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 d8d14e871c..14e27fbe3c 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 f8bc1ceba7..c421090c87 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/log_syslog.c +1 -0
index 5e3e20e8a4..698c585fa1 100644
@@ -7,6 +7,7 @@
 
 #include <common.h>
 #include <log.h>
+#include <net.h>
 
 DECLARE_GLOBAL_DATA_PTR;
 
common/main.c +1 -0
index 06d7ff56d6..64287f7dee 100644
@@ -13,6 +13,7 @@
 #include <console.h>
 #include <env.h>
 #include <init.h>
+#include <net.h>
 #include <version.h>
 
 static void run_preboot_environment_command(void)
common/spl/spl_atf.c +1 -0
index 702367b2a2..bc2921c552 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 c51e4beb1c..3df4c8f32d 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 b291ac55d1..76af7cc6bd 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 2970ce5bab..de15a37cd5 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 e733227f59..4f14c9a56e 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 2bc1de8b98..d2aa1a64d1 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 6019ac089e..a71a7edf88 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 655dfaf59c..e8db8542f9 100644
@@ -6,6 +6,7 @@
 
 #include <bootcount.h>
 #include <cpu_func.h>
+#include <asm/cache.h>
 #include <linux/compiler.h>
 
 #if !defined(CONFIG_DM_BOOTCOUNT)
drivers/bootcount/bootcount_ram.c +1 -0
index 9c678e25f4..078c84d5ec 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 075a08380d..8b202fa0ae 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 0157bb1fe0..ee0c861807 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 34611056ec..b5321ed820 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 0531b1b735..c2059b8b0a 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 74e38ca759..e63def8b2d 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 637ef29f15..2f35e0c90b 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 aa84f2cee0..9228149863 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 2fd50b7ae5..049f202e03 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 1f7ead0c67..c06fba92f8 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 15133128be..242ffde559 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 d99460f2fb..70bdb65071 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 9d5a7fc796..d2b0b63ecd 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 7e11b13e45..77c4ba9530 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 a0e536ae5e..5b11f240fe 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 c37642569d..47746458a0 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 6c69ab7802..8ab19e0c74 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 4a826e4a71..a2a5f9cbbe 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 21624f715b..6370cafb23 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 1224540811..6290b7fb5b 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 386781da03..a35e791fcc 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 6bca2a9c82..0cdf5a0489 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 4d0dc33936..886299a50d 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 372dc0a820..4b533a38bd 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 6f3b2ad653..b76a7edc0b 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 3a09a8165c..a58d7ce4ab 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 fe8097c146..522e33a33b 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 a653dfa5ed..45c9ed4b9c 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 f3c8f7f2cb..9c4af8a5d6 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 e3a7222efb..11c9124e31 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 6a25f67c30..3794e40b01 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 8f4848aec6..f3ac064c1d 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 1b7c94f654..0dd64e4582 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 baac277a84..34e0da1a1b 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 3519a4167a..ffaf5a14d0 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 60dfd17a74..d83294cbdc 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 9212920549..7e98449cfa 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 ecb34b2450..8ec7b36f9a 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 345d37be4e..a20455cc4a 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 8669d21afb..f654562f64 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 bee73153d0..2fa27c7b6e 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 40e6b3ba39..3525736674 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 84082407d2..10d5fc34cc 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 e152faf083..85f8d3b419 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 0c1dd6834a..d338643e60 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 404a046422..217c684702 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 5ffcc5313d..59c759928e 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 d737400a20..75831dfe14 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 fcd24868af..29067194cb 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 f97e7f8c6a..b536ad466d 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 8ece926dd3..e30a7fd5d6 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 fb4a628d63..9139b5b1a1 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 5ccdfdd683..27dc233323 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 f8e5d05722..d75bf54670 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 013542770d..4c3acba35a 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 +2 -0
index ce66900f4c..0a27f3c43e 100644
@@ -8,6 +8,8 @@
 #ifndef _SMC911X_H_
 #define _SMC911X_H_
 
+#include <net.h>
+
 /* Below are the register offsets and bit definitions
  * of the Lan911x memory space
  */
drivers/net/sni_ave.c +1 -0
index 5d66a63a8b..0f665087c6 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 1ae776b446..09ea586e07 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 2b77213001..eea15701f7 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 9c6bfca5a9..b5dfa8bd91 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 a158824fc9..1747f3667e 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 12298cf327..3325dfef2b 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 3013b7b667..d00f465cd5 100644
@@ -6,6 +6,7 @@
 #include <console.h>
 #include <clk.h>
 #include <ram.h>
+#include <rand.h>
 #include <reset.h>
 #include <asm/io.h>
 #include <linux/bitops.h>
drivers/remoteproc/rproc-elf-loader.c +1 -0
index f2e033aa74..d308100cf4 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 cd0b0ac77b..cc5e1f6e25 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 c5661c52fa..b24a8f128f 100644
@@ -7,6 +7,7 @@
 
 #include <common.h>
 #include <cpu_func.h>
[… more lines in the raw message]

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

drivers/spi/mxs_spi.c +1 -0
index 3ca30887fb..ee44973c7f 100644

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

drivers/spi/ti_qspi.c +1 -0
index e3750b0b17..ef39198b43 100644

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

drivers/spi/zynqmp_gqspi.c +1 -0
index 02b78df843..5d15072d49 100644

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

drivers/usb/cdns3/ep0.c +1 -0
index 1957a3b91d..4266bd630c 100644

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

drivers/usb/eth/asix.c +1 -0
index 3a8ec0bf2d..448f5245d1 100644

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

drivers/usb/eth/lan78xx.c +1 -0
index e8ee6650bc..fe8cc6acc5 100644

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

drivers/usb/eth/lan7x.c +1 -0
index 21786e1bdf..afe78d44a3 100644

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

drivers/usb/eth/mcs7830.c +1 -0
index 75c45ee0ae..a9e0aabc61 100644

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

drivers/usb/eth/r8152.c +1 -0
index e5f73e3d4c..8dae5097b8 100644

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

drivers/usb/eth/smsc95xx.c +1 -0
index 25f69a061b..ab6411f561 100644

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

drivers/usb/eth/usb_ether.c +2 -0
index 3aca9ac265..d76e2ff5bb 100644

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

drivers/usb/gadget/ci_udc.c +1 -0
index d9cfff3a29..5677eab426 100644

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

drivers/usb/host/dwc2.c +1 -0
index f25ed2dab0..02ca119bc7 100644

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

drivers/usb/host/ehci-hcd.c +1 -0
index a2a85db1e7..b4e28b998c 100644

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

drivers/usb/host/ohci-hcd.c +1 -0
index c94960f2cc..ac1ad29b02 100644

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

drivers/video/bcm2835.c +1 -0
index 1d2eda084c..ea5a4529ce 100644

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

drivers/video/fsl_dcu_fb.c +1 -0
index 076e9ea019..e9d05c9394 100644

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

drivers/video/imx/mxc_ipuv3_fb.c +1 -0
index c64be38e49..db8eb4ade8 100644

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

drivers/video/mvebu_lcd.c +1 -0
index 3ff5b28ae2..2907c53378 100644

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

drivers/video/mxsfb.c +1 -0
index 12d00b4689..edce7912f3 100644

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

drivers/video/tegra.c +1 -0
index f4bae9fc36..1fa052e306 100644

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

drivers/video/video-uclass.c +1 -0
index 3d658e61d7..eed61cd731 100644

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

env/fat.c +1 -0
index cf2e5e2b26..9772b87a19 100644

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

env/sf.c +1 -0
index 64fafdc7cf..23de5a3495 100644

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

examples/standalone/smc911x_eeprom.c +1 -0
index 270588bcf5..8acfcb9a0b 100644

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

fs/ext4/ext4_common.h +1 -0
index 4dff1914d9..beaee9c80b 100644

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

fs/fat/fat.c +1 -0
index 68ce658386..f68c8f73c4 100644

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

fs/fat/fat_write.c +1 -0
index 4f96699e36..d2aff09200 100644

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

include/common.h +0 -1
index 1705d85e8a..a900596c5f 100644

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

include/dwmmc.h +1 -0
index f06720dc0d..58110aa3e7 100644

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

include/log.h +1 -0
index cf32351134..ffc739b560 100644

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

include/net.h +6 -3
index 774ae2de63..3ef212dd00 100644

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

include/scsi.h +1 -0
index 61da958bf6..96cb726676 100644

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

lib/efi_loader/efi_device_path.c +1 -0
index f9349484a6..5b2ff81319 100644

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

lib/efi_loader/efi_memory.c +1 -0
index 97d90f069a..b8c518614e 100644

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

lib/efi_loader/efi_net.c +1 -0
index 82d2595847..22f0123eca 100644

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

lib/efi_selftest/efi_selftest_block_device.c +1 -0
index d98a854e6d..5eb297d285 100644

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

lib/efi_selftest/efi_selftest_console.c +1 -0
index 42f51b6520..13f3ee6bc1 100644

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

lib/efi_selftest/efi_selftest_snp.c +1 -0
index 9797ecaf42..79f0467803 100644

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

lib/fdtdec.c +1 -0
index 0a3b860782..c8cbc00699 100644

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

lib/image-sparse.c +1 -0
index 036062139b..df623adc58 100644

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

lib/linux_compat.c +1 -0
index 89a6fd6ec9..c83426f59d 100644

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

lib/net_utils.c +1 -0
index 8af7782970..0a8a557319 100644

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

lib/uuid.c +1 -0
index bdb137884c..f94c6abd29 100644

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

net/arp.c +1 -0
index b49c3d3ced..4b12b699d0 100644

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

net/bootp.c +1 -0
index c73a82e642..2c918d8379 100644

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

net/ping.c +1 -0
index 633c942e67..024e8eab90 100644

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

test/lib/test_aes.c +1 -0
index fb8a0b17ba..cbc712f7ed 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.2.645.ge9eca65c58-goog

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

#10 lore raw

PATCH v3 5/22 common: Drop net.h from common header

Quoted 8 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.

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20200519/31202401/attachment.sig>
#11 lore raw

PATCH v3 6/22 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.

---

Changes in v3: None
Changes in v2: None

 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        |  6 ++---
 lib/efi_loader/efi_file.c        |  2 +-
 54 files changed, 133 insertions(+), 125 deletions(-)
arch/arm/mach-omap2/utils.c +1 -1
index 0d5ca20e8e..6e519d8c91 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 d6611eea5d..46c6d00eb4 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 7c8f2ee8eb..d0d957d4f9 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 9626f2c69e..62f9a44e38 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 15973b7d13..9e008a3889 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 28fca501fa..854fe274bc 100644
@@ -64,7 +64,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");
@@ -101,7 +101,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 98c788e757..f2b1ad5489 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 5e4e45ca6d..4b2e06e615 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 82c2d9ad99..7977e9d847 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 598fab48b3..28e827796b 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 c5c6899787..52ff637e2f 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 9c237a5758..2b622a8f53 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 e0fe32d24d..b5b8af1b27 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 2a6252229c..954133ba84 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 a68cdec8dc..fcdd3caeac 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 4cc2fc19f7..68cba61c5a 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 5a2bb718b5..5a17d11b9b 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 813379f851..6e2a11090c 100644
@@ -213,7 +213,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;
@@ -317,7 +317,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 de15a37cd5..6b206ddb4f 100644
@@ -259,7 +259,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;
@@ -413,7 +413,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)
@@ -603,7 +603,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;
@@ -698,7 +698,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 4f14c9a56e..2ccb7867c9 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 8b2c004027..fbd0ad73e3 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 0d495a785b..cddca0c45f 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 95cb434189..467a8618fe 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 d3249a54f7..c666eb0f29 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 911e19c6d3..6b5c4d855a 100644
@@ -45,7 +45,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();
@@ -87,7 +87,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 9772b87a19..f13b88b5f6 100644
@@ -33,7 +33,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;
@@ -79,7 +79,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 251ad07d7c..a8b661db80 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 2e3985e385..de16217d0d 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 986d078679..25a8cf6a87 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 ada3800f1e..e686abc5e3 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 29076880bc..0d4f756aa5 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 96ca276839..ad71f5ab6e 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 f68c8f73c4..425d877c74 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 0c66d60477..e3de25da5b 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 d369c43ca6..1ff804d13b 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 c6b67795df..5d9c26489a 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 af47224b6c..5851fe2434 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 e097d28444..742c2f47eb 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 3cdb9e03ed..251e7d1f74 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 810906d22b..3f4e69be9e 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 18278f829e..a8d7090f79 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 5be61e3264..f7f82ad7d1 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 34585d407d..aafcd84140 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 bc139f8c88..84573fd3fe 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 95db001bee..0c58109e2f 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 96d26032ac..3d4d25da96 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 3693527397..55be724d20 100644
@@ -54,7 +54,7 @@ struct block_drvr {
 #define PART_BOOTABLE			((int)BIT(0))
 #define PART_EFI_SYSTEM_PARTITION	((int)BIT(1))
 
-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			*/
@@ -76,11 +76,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;
 };
 
@@ -105,12 +105,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);
@@ -179,7 +181,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
@@ -194,7 +196,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
@@ -208,7 +210,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.
@@ -229,7 +231,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
@@ -252,9 +254,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) {}
@@ -263,10 +265,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
 
@@ -301,7 +303,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
@@ -353,7 +355,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
@@ -379,7 +381,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
@@ -433,7 +435,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 de4150024c..a655d5ea9f 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 6e6e3c62ff..49724d05c8 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 015ce12226..16b757286e 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 bca3dff06e..027ba91b28 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 5b2ff81319..76ab2d8288 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 +3 -3
index 0582e02158..9176008c0e 100644
@@ -424,7 +424,7 @@ static efi_status_t efi_disk_add_dev(
 	/* Store first EFI system partition */
 	if (part && !efi_system_partition.if_type) {
 		int r;
-		disk_partition_t info;
+		struct disk_partition info;
 
 		r = part_get_info(desc, part, &info);
 		if (r)
@@ -459,7 +459,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;
@@ -600,7 +600,7 @@ bool efi_disk_is_system_part(efi_handle_t handle)
 {
 	struct efi_handler *handler;
 	struct efi_disk_obj *diskobj;
-	disk_partition_t info;
+	struct disk_partition info;
 	efi_status_t ret;
 	int r;
 
lib/efi_loader/efi_file.c +1 -1
index 140116ddc4..1fe7cf539e 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.2.645.ge9eca65c58-goog
#12 lore raw

PATCH v3 6/22 part: Drop disk_partition_t typedef

Quoted 4 lines · 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.

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20200519/7247ce74/attachment.sig>
#13 lore raw

PATCH v3 7/22 common: Drop part.h from common header

In reply to Simon Glass

Move this uncommon header out of the common header.

---

Changes in v3: None
Changes in v2: None

 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/fat.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                     | 3 +++
 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 +
 97 files changed, 142 insertions(+), 10 deletions(-)
api/api_storage.c +1 -0
index 7ae03ac230..a0dacad1a5 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 6e519d8c91..6e6791fc65 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 79eb19992d..12c26a91c6 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 e9ac86b2da..4941e2d74f 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 511dfb78b8..7492c87c34 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 56d69cddac..1ed6b2aa92 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 d0d957d4f9..7a4e51571b 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 62f9a44e38..b944e62b6a 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/fat.c +1 -0
index 854fe274bc..a063a623ce 100644
@@ -11,6 +11,7 @@
 #include <mapmem.h>
 #include <fat.h>
 #include <fs.h>
+#include <part.h>
 #include <asm/cache.h>
 
 int do_fat_size(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
cmd/gpt.c +2 -0
index f2b1ad5489..c2964d8508 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 6142ec8e20..a29650b28e 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 5da903bd52..9ae91ce9cb 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 6bdb516cb5..c507e9dbd8 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 67de1a3bdc..e81194de0f 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 afd58e7cdb..725624627c 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 dd9ac0bc97..98fa300dfe 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 52ff637e2f..b603730248 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 b7082bc63a..f38cc56598 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 b5b8af1b27..72025bb552 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 954133ba84..3898041d10 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 fcdd3caeac..95d5a7271f 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 76af7cc6bd..aba9ccb7f5 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 68cba61c5a..bb0f6e2046 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 5a17d11b9b..7eea60b564 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 6e2a11090c..04f53106f7 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 6b206ddb4f..72bfb4b609 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 2ccb7867c9..822f2c4d9f 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 fbd0ad73e3..cda497e04a 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 4cd7420c3c..d54acc96ee 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 d2aa1a64d1..6a71f17684 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 c6680dc1c9..0ef70d0d59 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 e384b805b2..6a38d50024 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 a71a7edf88..cebb165a47 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 a28ac56ccd..e64cc4a5c1 100644
@@ -5,6 +5,7 @@
  */
 
 #include <common.h>
+#include <blk.h>
 
 int init_sata(int dev)
 {
drivers/ata/sata_sil3114.c +2 -0
index 41635742a8..4a7ffad6bd 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 7c39aa5f2f..4bda74bd06 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 0c343f7b64..e3ee778c29 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 ea40929e3e..6a8f789ff0 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 67cc4fbc02..868726c50c 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 cddca0c45f..8cd466f02e 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 467a8618fe..52da34b1e3 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 b165468145..eb8a36f292 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 0dbf304487..8fdaacd5e0 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 523c055967..ca62bb9891 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 b52ff9f3bc..6a4453ca02 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 2202158c88..4851198571 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 0983fbced3..b7e37416a4 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 5f1a023352..1d0c9988b1 100644
@@ -5,6 +5,7 @@
  *	Dave Liu <[email protected]>
  */
 #include <common.h>
+#include <part.h>
 #include <asm/io.h>
 #ifdef CONFIG_DM_ETH
 #include <dm.h>
drivers/nvme/nvme-uclass.c +1 -0
index 2d88efdb61..277e31e1f3 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 ef4382da1a..5e75152f42 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 69de6a53d5..849c42f0cd 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 8533abfd93..33f9a44d04 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 1cfeabcd31..da3d63c0f0 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 62acccedf3..0fd74fdec9 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 bd2e9c0c9b..8cc2eb1973 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 db8eb4ade8..f8ed0a9fea 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 aa8c0a962f..fbdec3af67 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 2907c53378..d5ed8d0096 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 8333ddc44c..ba34f1a107 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 1fa052e306..82ba5c4e7e 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 f08f117cf8..913beab4d4 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 e793e34e83..992118c607 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 6b5c4d855a..8e90bb71b7 100644
@@ -19,6 +19,7 @@
  */
 
 #include <common.h>
+#include <part.h>
 
 #include <command.h>
 #include <env.h>
env/fat.c +3 -3
index f13b88b5f6..35a1955e63 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 e686abc5e3..1e5b83235a 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 b693a073fc..f80c148627 100644
@@ -5,9 +5,11 @@
  * 2017 Marek Behun, CZ.NIC, marek.behun at nic.cz
  */
 
-#include "btrfs.h"
+#include <common.h>
 #include <memalign.h>
+#include <part.h>
 #include <linux/compat.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 5bf78b530a..9adef57476 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 0ceb73d9c9..2a8d397af4 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 67aeba1339..ce1fddc9a4 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 ad71f5ab6e..4c89152ce4 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 e3de25da5b..061917a984 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 1ff804d13b..115c010ef8 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 5851fe2434..4ae41d5b4d 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 742c2f47eb..bb35512380 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 3f4e69be9e..0941eb6b9c 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 f7f82ad7d1..a7605e1589 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 a900596c5f..85a211554a 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 +3 -0
index 0e924ad109..3e0c47b328 100644
@@ -9,11 +9,14 @@
 #define _EFI_LOADER_H 1
 
 #include <common.h>
+#include <blk.h>
 #include <part_efi.h>
 #include <efi_api.h>
 #include <image.h>
 #include <pe.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 aafcd84140..cb5d9cc0a5 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 84573fd3fe..02742f92a5 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 0c58109e2f..76ed7cd6be 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 37e35c2120..9fdb4a3424 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 3edcc39f4e..fd915335b2 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 2e340673c3..783acbb60d 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 b5acdd01bd..c871767e20 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 a655d5ea9f..b61bb60067 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 49724d05c8..783dd5c88a 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 661a22e368..772879b1bd 100644
@@ -26,6 +26,7 @@ struct image_header;
 #define MMCSD_MODE_FS		2
 #define MMCSD_MODE_EMMCBOOT	3
 
+struct blk_desc;
 struct image_header;
 
 /*
include/ubifs_uboot.h +3 -0
index 16b757286e..b025779d59 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 33e66fcad2..e7d8745ad8 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 af1adbb71e..49bebb58cc 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 1fe7cf539e..9233767ee2 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 9e6ccd692a..bee3b9261f 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 df623adc58..3170c024f7 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 9c71adc69d..94b2855b8e 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 9ab0db1b66..49402b9c90 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 e396c2a0ea..a25c2c1482 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.2.645.ge9eca65c58-goog
#14 lore raw

PATCH v3 7/22 common: Drop part.h from common header

Quoted 3 lines · Simon Glass

Move this uncommon header out of the common header.

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20200519/3db37a31/attachment.sig>
#15 lore raw

PATCH v3 8/22 bootstage: Use BOOTSTAGE instead of BOOTSTATE

In reply to Simon Glass

Some of the enum members are wrong. Fix them.

---

Changes in v3: None
Changes in v2: None

 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 bf30c47989..300be8b093 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 d7ce43e1eb..66a3cb39f1 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 8dd3c41268..797f1370d8 100644
@@ -823,9 +823,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 d8c4cfcc78..30082d1acb 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 b0f0e1557b..472bb0a5e2 100644
@@ -423,11 +423,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 82f0307ef1..f507271375 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.2.645.ge9eca65c58-goog
#16 lore raw

PATCH v3 8/22 bootstage: Use BOOTSTAGE instead of BOOTSTATE

Quoted 3 lines · Simon Glass

Some of the enum members are wrong. Fix them.

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20200519/167bbecf/attachment.sig>
#17 lore raw

PATCH v3 9/22 common: Drop bootstage.h from common header

In reply to Simon Glass

Move this fairly uncommon header out of the common header.

---

Changes in v3: None
Changes in v2: None

 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 d38c18ef8f..1b08ffe285 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 46e63294fe..6fe3ede387 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 dc845a997f..c189bdcf9a 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 19445b3fc7..fb1170d00d 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 87d2d6ee70..f7303b790f 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 f1db6d23b8..6a6764ac2d 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 1003bc87b9..b17368647d 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 390e8c0673..1cef75c4be 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 0d06095da1..c24aba1dc9 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 56ee3f5826..842640c50e 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 2de03fb8e0..d38c3164c1 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 7ef169b147..fd6e73dfc8 100644
@@ -6,6 +6,7 @@
 
 #include <common.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 d32f2a9898..a555e6c0d3 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 e8ccaf2212..0162597809 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 2e5d0ddd9f..e0f23bb509 100644
@@ -19,6 +19,7 @@
  */
 
 #include <common.h>
+#include <bootstage.h>
 #include <command.h>
 #include <cpu_func.h>
 #include <dm.h>
arch/x86/lib/bootm.c +1 -0
index 07d8f1f279..0837655e12 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 c7dc2ea257..008e8aeb36 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 300be8b093..117f36a848 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 66a3cb39f1..28c15a22a2 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 057b229433..458eaf95c0 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 5a8c6e282b..0ff8a9053e 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 1e4477aa5f..fd2f0df371 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 32e4933d20..ac6462d7ff 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 ebd3322c6f..9dc26b949e 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 9698d8ee16..6e0ad4b53f 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 aa641259ac..56a2c29e4c 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 ad56dd7d01..3da5005f40 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 f193e83361..fbcb87092b 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 7d7c427392..b604ee951b 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 cb3a12ec37..439b023da8 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 ed0b0ff1fc..f1ea4e9598 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 9e008a3889..da0660148c 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 9c2b5d718e..c42ab24ec0 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 1b724cc570..282b38ccf9 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 98fa300dfe..858be726a4 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 797f1370d8..b2f062e2aa 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 30082d1acb..a47b60a7a9 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 1d58462509..44023532e1 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 d2ed33663b..817f85a7fe 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 38bba17585..e5e5894b2f 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 14e27fbe3c..20fa4bd497 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 f7c8a173ff..4c4f0ced53 100644
@@ -7,6 +7,7 @@
  */
 
 #include <common.h>
+#include <bootstage.h>
 
 DECLARE_GLOBAL_DATA_PTR;
 
common/main.c +1 -0
index 64287f7dee..4b3cd302c3 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 472bb0a5e2..ab62b8b79e 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 6b17f18bc0..2f3d40c227 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 849c42f0cd..949e364e78 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 a9d7715a55..990a5ffa51 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 ed48a145f2..4837b0645b 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 54956e557a..0cbdc279a5 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 43cb2d820e..04596ff117 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 c23421d25b..86c4c10b38 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 913beab4d4..a552f38cd0 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 1fd1bd01d3..0256b3e356 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 85a211554a..fd3e2de4cc 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 75de48f900..1395f28715 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 2c918d8379..05bfede14a 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 8bf2eabe90..c4baf1c3a5 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 ed26b1b693..58f899a024 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 5d6b0d7d7f..e0ef4a11a7 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 087d399a24..035293537b 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 696a60f70a..0f977fe245 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.2.645.ge9eca65c58-goog
#18 lore raw

PATCH v3 9/22 common: Drop bootstage.h from common header

Quoted 3 lines · Simon Glass

Move this fairly uncommon header out of the common header.

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20200519/e02d61e9/attachment-0001.sig>