]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet"
authorTom Rini <trini@konsulko.com>
Mon, 20 May 2024 19:35:03 +0000 (13:35 -0600)
committerTom Rini <trini@konsulko.com>
Mon, 20 May 2024 19:35:03 +0000 (13:35 -0600)
As part of bringing the master branch back in to next, we need to allow
for all of these changes to exist here.

Reported-by: Jonas Karlman <jonas@kwiboo.se>
Signed-off-by: Tom Rini <trini@konsulko.com>
4263 files changed:
MAINTAINERS
api/api.c
api/api_display.c
api/api_net.c
api/api_platform-arm.c
api/api_platform-mips.c
api/api_platform-powerpc.c
api/api_storage.c
arch/arc/include/asm/global_data.h
arch/arm/Kconfig
arch/arm/Makefile
arch/arm/cpu/arm11/cpu.c
arch/arm/cpu/arm1136/mx31/devices.c
arch/arm/cpu/arm1136/mx31/generic.c
arch/arm/cpu/arm1136/mx31/timer.c
arch/arm/cpu/arm720t/interrupts.c
arch/arm/cpu/arm920t/cpu.c
arch/arm/cpu/arm920t/start.S
arch/arm/cpu/arm926ejs/cache.c
arch/arm/cpu/arm926ejs/cpu.c
arch/arm/cpu/arm926ejs/mxs/clock.c
arch/arm/cpu/arm926ejs/mxs/iomux.c
arch/arm/cpu/arm926ejs/mxs/mxs.c
arch/arm/cpu/arm926ejs/mxs/spl_boot.c
arch/arm/cpu/arm926ejs/mxs/spl_lradc_init.c
arch/arm/cpu/arm926ejs/mxs/spl_mem_init.c
arch/arm/cpu/arm926ejs/mxs/spl_power_init.c
arch/arm/cpu/arm926ejs/mxs/start.S
arch/arm/cpu/arm926ejs/mxs/timer.c
arch/arm/cpu/arm926ejs/start.S
arch/arm/cpu/arm946es/cpu.c
arch/arm/cpu/armv7/arch_timer.c
arch/arm/cpu/armv7/bcm235xx/clk-bcm235xx.c
arch/arm/cpu/armv7/bcm235xx/clk-bsc.c
arch/arm/cpu/armv7/bcm235xx/clk-core.c
arch/arm/cpu/armv7/bcm235xx/clk-eth.c
arch/arm/cpu/armv7/bcm235xx/clk-sdio.c
arch/arm/cpu/armv7/bcm235xx/clk-usb-otg.c
arch/arm/cpu/armv7/bcm281xx/clk-bcm281xx.c
arch/arm/cpu/armv7/bcm281xx/clk-bsc.c
arch/arm/cpu/armv7/bcm281xx/clk-core.c
arch/arm/cpu/armv7/bcm281xx/clk-eth.c
arch/arm/cpu/armv7/bcm281xx/clk-sdio.c
arch/arm/cpu/armv7/bcm281xx/clk-usb-otg.c
arch/arm/cpu/armv7/bcm281xx/reset.c
arch/arm/cpu/armv7/bcmcygnus/reset.c
arch/arm/cpu/armv7/bcmnsp/reset.c
arch/arm/cpu/armv7/cache_v7.c
arch/arm/cpu/armv7/cp15.c
arch/arm/cpu/armv7/cpu.c
arch/arm/cpu/armv7/exception_level.c
arch/arm/cpu/armv7/iproc-common/armpll.c
arch/arm/cpu/armv7/iproc-common/hwinit-common.c
arch/arm/cpu/armv7/iproc-common/timer.c
arch/arm/cpu/armv7/ls102xa/clock.c
arch/arm/cpu/armv7/ls102xa/cpu.c
arch/arm/cpu/armv7/ls102xa/fdt.c
arch/arm/cpu/armv7/ls102xa/fsl_epu.c
arch/arm/cpu/armv7/ls102xa/fsl_ls1_serdes.c
arch/arm/cpu/armv7/ls102xa/ls102xa_serdes.c
arch/arm/cpu/armv7/ls102xa/soc.c
arch/arm/cpu/armv7/ls102xa/spl.c
arch/arm/cpu/armv7/ls102xa/timer.c
arch/arm/cpu/armv7/mpu_v7r.c
arch/arm/cpu/armv7/s5p-common/cpu_info.c
arch/arm/cpu/armv7/s5p-common/pwm.c
arch/arm/cpu/armv7/s5p-common/sromc.c
arch/arm/cpu/armv7/s5p-common/timer.c
arch/arm/cpu/armv7/s5p4418/cpu.c
arch/arm/cpu/armv7/sunxi/psci.c
arch/arm/cpu/armv7/sunxi/sram.c
arch/arm/cpu/armv7/syslib.c
arch/arm/cpu/armv7/vf610/generic.c
arch/arm/cpu/armv7/vf610/timer.c
arch/arm/cpu/armv7/virt-dt.c
arch/arm/cpu/armv7/virt-v7.c
arch/arm/cpu/armv7m/cache.c
arch/arm/cpu/armv7m/cpu.c
arch/arm/cpu/armv7m/systick-timer.c
arch/arm/cpu/armv8/cache_v8.c
arch/arm/cpu/armv8/cpu-dt.c
arch/arm/cpu/armv8/cpu.c
arch/arm/cpu/armv8/exception_level.c
arch/arm/cpu/armv8/fsl-layerscape/cpu.c
arch/arm/cpu/armv8/fsl-layerscape/fdt.c
arch/arm/cpu/armv8/fsl-layerscape/fsl_lsch2_serdes.c
arch/arm/cpu/armv8/fsl-layerscape/fsl_lsch2_speed.c
arch/arm/cpu/armv8/fsl-layerscape/fsl_lsch3_serdes.c
arch/arm/cpu/armv8/fsl-layerscape/fsl_lsch3_speed.c
arch/arm/cpu/armv8/fsl-layerscape/icid.c
arch/arm/cpu/armv8/fsl-layerscape/ls1012a_serdes.c
arch/arm/cpu/armv8/fsl-layerscape/ls1028_ids.c
arch/arm/cpu/armv8/fsl-layerscape/ls1028a_serdes.c
arch/arm/cpu/armv8/fsl-layerscape/ls1043_ids.c
arch/arm/cpu/armv8/fsl-layerscape/ls1043a_serdes.c
arch/arm/cpu/armv8/fsl-layerscape/ls1046_ids.c
arch/arm/cpu/armv8/fsl-layerscape/ls1046a_serdes.c
arch/arm/cpu/armv8/fsl-layerscape/ls1088_ids.c
arch/arm/cpu/armv8/fsl-layerscape/ls1088a_serdes.c
arch/arm/cpu/armv8/fsl-layerscape/ls2080a_serdes.c
arch/arm/cpu/armv8/fsl-layerscape/ls2088_ids.c
arch/arm/cpu/armv8/fsl-layerscape/lx2160_ids.c
arch/arm/cpu/armv8/fsl-layerscape/lx2160a_serdes.c
arch/arm/cpu/armv8/fsl-layerscape/mp.c
arch/arm/cpu/armv8/fsl-layerscape/soc.c
arch/arm/cpu/armv8/fsl-layerscape/spl.c
arch/arm/cpu/armv8/generic_timer.c
arch/arm/cpu/armv8/hisilicon/pinmux.c
arch/arm/cpu/armv8/sec_firmware.c
arch/arm/cpu/armv8/sha1_ce_glue.c
arch/arm/cpu/armv8/sha256_ce_glue.c
arch/arm/cpu/armv8/spin_table.c
arch/arm/cpu/armv8/spl_data.c
arch/arm/dts/k3-j7200-binman.dtsi
arch/arm/dts/k3-j721e-binman.dtsi
arch/arm/include/asm/arch-adi/sc5xx/sc5xx.h [new file with mode: 0644]
arch/arm/include/asm/arch-adi/sc5xx/soc.h [new file with mode: 0644]
arch/arm/include/asm/arch-adi/sc5xx/spl.h [new file with mode: 0644]
arch/arm/include/asm/arch-am33xx/clk_synthesizer.h
arch/arm/include/asm/arch-aspeed/scu_ast2500.h
arch/arm/include/asm/arch-aspeed/scu_ast2600.h
arch/arm/include/asm/arch-fsl-layerscape/fsl_serdes.h
arch/arm/include/asm/arch-fsl-layerscape/immap_lsch2.h
arch/arm/include/asm/arch-imx8m/ddr.h
arch/arm/include/asm/arch-ls102xa/fsl_serdes.h
arch/arm/include/asm/arch-mx5/clock.h
arch/arm/include/asm/arch-mx7/sys_proto.h
arch/arm/include/asm/arch-rockchip/bootrom.h
arch/arm/include/asm/arch-rockchip/clock.h
arch/arm/include/asm/arch-rockchip/grf_rk3308.h
arch/arm/include/asm/arch-sunxi/pmic_bus.h
arch/arm/include/asm/arch-sunxi/tve.h
arch/arm/include/asm/arch-tegra/ap.h
arch/arm/include/asm/arch-tegra/cboot.h
arch/arm/include/asm/arch-tegra/gpio.h
arch/arm/include/asm/arch-tegra/tegra_i2c.h
arch/arm/include/asm/esr.h
arch/arm/include/asm/global_data.h
arch/arm/include/asm/mach-imx/gpio.h
arch/arm/include/asm/ti-common/davinci_nand.h
arch/arm/lib/asm-offsets.c
arch/arm/lib/bdinfo.c
arch/arm/lib/bootm-fdt.c
arch/arm/lib/bootm.c
arch/arm/lib/cache-cp15.c
arch/arm/lib/cache-pl310.c
arch/arm/lib/cache.c
arch/arm/lib/cmd_boot.c
arch/arm/lib/eabi_compat.c
arch/arm/lib/gic-v3-its.c
arch/arm/lib/image.c
arch/arm/lib/interrupts.c
arch/arm/lib/interrupts_64.c
arch/arm/lib/interrupts_m.c
arch/arm/lib/psci-dt.c
arch/arm/lib/reset.c
arch/arm/lib/save_prev_bl_data.c
arch/arm/lib/spl.c
arch/arm/lib/stack.c
arch/arm/lib/zimage.c
arch/arm/mach-apple/board.c
arch/arm/mach-apple/rtkit.c
arch/arm/mach-aspeed/ast2500/board_common.c
arch/arm/mach-aspeed/ast2500/clk_ast2500.c
arch/arm/mach-aspeed/ast2600/board_common.c
arch/arm/mach-aspeed/ast2600/spl.c
arch/arm/mach-aspeed/ast_wdt.c
arch/arm/mach-at91/arm920t/at91rm9200_devices.c
arch/arm/mach-at91/arm920t/clock.c
arch/arm/mach-at91/arm920t/cpu.c
arch/arm/mach-at91/arm920t/reset.c
arch/arm/mach-at91/arm920t/timer.c
arch/arm/mach-at91/arm926ejs/at91sam9260_devices.c
arch/arm/mach-at91/arm926ejs/at91sam9261_devices.c
arch/arm/mach-at91/arm926ejs/at91sam9263_devices.c
arch/arm/mach-at91/arm926ejs/at91sam9m10g45_devices.c
arch/arm/mach-at91/arm926ejs/at91sam9n12_devices.c
arch/arm/mach-at91/arm926ejs/at91sam9rl_devices.c
arch/arm/mach-at91/arm926ejs/at91sam9x5_devices.c
arch/arm/mach-at91/arm926ejs/clock.c
arch/arm/mach-at91/arm926ejs/cpu.c
arch/arm/mach-at91/arm926ejs/eflash.c
arch/arm/mach-at91/arm926ejs/reset.c
arch/arm/mach-at91/arm926ejs/sam9x60_devices.c
arch/arm/mach-at91/arm926ejs/timer.c
arch/arm/mach-at91/armv7/clock.c
arch/arm/mach-at91/armv7/cpu.c
arch/arm/mach-at91/armv7/sama5d2_devices.c
arch/arm/mach-at91/armv7/sama5d3_devices.c
arch/arm/mach-at91/armv7/sama5d4_devices.c
arch/arm/mach-at91/armv7/timer.c
arch/arm/mach-at91/atmel_sfr.c
arch/arm/mach-at91/clock.c
arch/arm/mach-at91/include/mach/at91_common.h
arch/arm/mach-at91/matrix.c
arch/arm/mach-at91/mpddrc.c
arch/arm/mach-at91/phy.c
arch/arm/mach-at91/sdram.c
arch/arm/mach-at91/spl.c
arch/arm/mach-at91/spl_at91.c
arch/arm/mach-at91/spl_atmel.c
arch/arm/mach-bcm283x/init.c
arch/arm/mach-bcm283x/mbox.c
arch/arm/mach-bcm283x/msg.c
arch/arm/mach-bcm283x/reset.c
arch/arm/mach-bcmbca/bcm4908/mmu_table.c
arch/arm/mach-bcmbca/bcm4912/mmu_table.c
arch/arm/mach-bcmbca/bcm63146/mmu_table.c
arch/arm/mach-bcmbca/bcm63158/mmu_table.c
arch/arm/mach-bcmbca/bcm6813/mmu_table.c
arch/arm/mach-bcmbca/bcm6856/mmu_table.c
arch/arm/mach-bcmbca/bcm6858/mmu_table.c
arch/arm/mach-davinci/cpu.c
arch/arm/mach-davinci/da850_lowlevel.c
arch/arm/mach-davinci/da850_pinmux.c
arch/arm/mach-davinci/include/mach/davinci_misc.h
arch/arm/mach-davinci/misc.c
arch/arm/mach-davinci/pinmux.c
arch/arm/mach-davinci/psc.c
arch/arm/mach-davinci/reset.c
arch/arm/mach-davinci/spl.c
arch/arm/mach-davinci/timer.c
arch/arm/mach-exynos/clock.c
arch/arm/mach-exynos/clock_init_exynos4.c
arch/arm/mach-exynos/clock_init_exynos5.c
arch/arm/mach-exynos/common_setup.h
arch/arm/mach-exynos/dmc_common.c
arch/arm/mach-exynos/dmc_init_ddr3.c
arch/arm/mach-exynos/exynos5_setup.h
arch/arm/mach-exynos/include/mach/power.h
arch/arm/mach-exynos/lowlevel_init.c
arch/arm/mach-exynos/mmu-arm64.c
arch/arm/mach-exynos/pinmux.c
arch/arm/mach-exynos/power.c
arch/arm/mach-exynos/soc.c
arch/arm/mach-exynos/spl_boot.c
arch/arm/mach-exynos/system.c
arch/arm/mach-exynos/tzpc.c
arch/arm/mach-highbank/timer.c
arch/arm/mach-histb/board_common.c
arch/arm/mach-histb/sysmap-histb.c
arch/arm/mach-imx/cache.c
arch/arm/mach-imx/cmd_bmode.c
arch/arm/mach-imx/cmd_dek.c
arch/arm/mach-imx/cmd_hdmidet.c
arch/arm/mach-imx/cmd_mfgprot.c
arch/arm/mach-imx/cmd_nandbcb.c
arch/arm/mach-imx/cpu.c
arch/arm/mach-imx/ddrmc-vf610-calibration.c
arch/arm/mach-imx/ddrmc-vf610.c
arch/arm/mach-imx/ele_ahab.c
arch/arm/mach-imx/hab.c
arch/arm/mach-imx/i2c-mxv7.c
arch/arm/mach-imx/image-container.c
arch/arm/mach-imx/imx8/ahab.c
arch/arm/mach-imx/imx8/clock.c
arch/arm/mach-imx/imx8/cpu.c
arch/arm/mach-imx/imx8/fdt.c
arch/arm/mach-imx/imx8/iomux.c
arch/arm/mach-imx/imx8/misc.c
arch/arm/mach-imx/imx8/snvs_security_sc.c
arch/arm/mach-imx/imx8m/clock_imx8mm.c
arch/arm/mach-imx/imx8m/clock_imx8mq.c
arch/arm/mach-imx/imx8m/clock_slice.c
arch/arm/mach-imx/imx8m/psci.c
arch/arm/mach-imx/imx8m/soc.c
arch/arm/mach-imx/imx8ulp/cgc.c
arch/arm/mach-imx/imx8ulp/clock.c
arch/arm/mach-imx/imx8ulp/iomux.c
arch/arm/mach-imx/imx8ulp/pcc.c
arch/arm/mach-imx/imx8ulp/rdc.c
arch/arm/mach-imx/imx9/clock.c
arch/arm/mach-imx/imx9/clock_root.c
arch/arm/mach-imx/imx9/imx_bootaux.c
arch/arm/mach-imx/imx9/soc.c
arch/arm/mach-imx/imx9/trdc.c
arch/arm/mach-imx/imx_bootaux.c
arch/arm/mach-imx/imxrt/soc.c
arch/arm/mach-imx/iomux-v3.c
arch/arm/mach-imx/mac.c
arch/arm/mach-imx/misc.c
arch/arm/mach-imx/mmc_env.c
arch/arm/mach-imx/mmdc_size.c
arch/arm/mach-imx/mx5/clock.c
arch/arm/mach-imx/mx5/mx53_dram.c
arch/arm/mach-imx/mx5/soc.c
arch/arm/mach-imx/mx6/clock.c
arch/arm/mach-imx/mx6/ddr.c
arch/arm/mach-imx/mx6/litesom.c
arch/arm/mach-imx/mx6/module_fuse.c
arch/arm/mach-imx/mx6/mp.c
arch/arm/mach-imx/mx6/opos6ul.c
arch/arm/mach-imx/mx6/soc.c
arch/arm/mach-imx/mx7/clock.c
arch/arm/mach-imx/mx7/clock_slice.c
arch/arm/mach-imx/mx7/ddr.c
arch/arm/mach-imx/mx7/psci-mx7.c
arch/arm/mach-imx/mx7/soc.c
arch/arm/mach-imx/mx7ulp/clock.c
arch/arm/mach-imx/mx7ulp/iomux.c
arch/arm/mach-imx/mx7ulp/pcc.c
arch/arm/mach-imx/mx7ulp/scg.c
arch/arm/mach-imx/mx7ulp/soc.c
arch/arm/mach-imx/priblob.c
arch/arm/mach-imx/rdc-sema.c
arch/arm/mach-imx/speed.c
arch/arm/mach-imx/spl.c
arch/arm/mach-imx/spl_imx_romapi.c
arch/arm/mach-imx/syscounter.c
arch/arm/mach-imx/timer.c
arch/arm/mach-imx/video.c
arch/arm/mach-k3/am64x/Makefile
arch/arm/mach-k3/am64x/am642_init.c
arch/arm/mach-k3/am64x/boot.c [new file with mode: 0644]
arch/arm/mach-kirkwood/cache.c
arch/arm/mach-kirkwood/cpu.c
arch/arm/mach-kirkwood/include/mach/mpp.h
arch/arm/mach-kirkwood/mpp.c
arch/arm/mach-lpc32xx/clk.c
arch/arm/mach-lpc32xx/cpu.c
arch/arm/mach-lpc32xx/devices.c
arch/arm/mach-lpc32xx/dram.c
arch/arm/mach-lpc32xx/timer.c
arch/arm/mach-mediatek/Kconfig
arch/arm/mach-mediatek/cpu.c
arch/arm/mach-mediatek/mt7622/init.c
arch/arm/mach-mediatek/mt7623/init.c
arch/arm/mach-mediatek/mt7629/init.c
arch/arm/mach-mediatek/mt7981/init.c
arch/arm/mach-mediatek/mt7986/init.c
arch/arm/mach-mediatek/mt7988/init.c
arch/arm/mach-mediatek/mt8183/init.c
arch/arm/mach-mediatek/mt8512/init.c
arch/arm/mach-mediatek/mt8516/init.c
arch/arm/mach-mediatek/mt8518/init.c
arch/arm/mach-mediatek/spl.c
arch/arm/mach-meson/board-a1.c
arch/arm/mach-meson/board-axg.c
arch/arm/mach-meson/board-common.c
arch/arm/mach-meson/board-g12a.c
arch/arm/mach-meson/board-gx.c
arch/arm/mach-meson/board-info.c
arch/arm/mach-meson/sm.c
arch/arm/mach-mvebu/alleycat5/cpu.c
arch/arm/mach-mvebu/alleycat5/soc.c
arch/arm/mach-mvebu/arm64-common.c
arch/arm/mach-mvebu/armada3700/cpu.c
arch/arm/mach-mvebu/armada3700/efuse.c
arch/arm/mach-mvebu/armada3700/mbox.c
arch/arm/mach-mvebu/armada8k/cpu.c
arch/arm/mach-mvebu/armada8k/dram.c
arch/arm/mach-mvebu/cpu.c
arch/arm/mach-mvebu/dram.c
arch/arm/mach-mvebu/efuse.c
arch/arm/mach-mvebu/gpio.c
arch/arm/mach-mvebu/mbus.c
arch/arm/mach-mvebu/serdes/a38x/high_speed_env_spec-38x.c
arch/arm/mach-mvebu/serdes/a38x/high_speed_env_spec.c
arch/arm/mach-mvebu/serdes/a38x/seq_exec.c
arch/arm/mach-mvebu/serdes/a38x/sys_env_lib.c
arch/arm/mach-mvebu/serdes/axp/high_speed_env_lib.c
arch/arm/mach-mvebu/serdes/axp/high_speed_env_spec.c
arch/arm/mach-mvebu/spl.c
arch/arm/mach-mvebu/system-controller.c
arch/arm/mach-nexell/clock.c
arch/arm/mach-nexell/include/mach/mipi_display.h
arch/arm/mach-nexell/include/mach/reset.h
arch/arm/mach-nexell/reset.c
arch/arm/mach-nexell/tieoff.c
arch/arm/mach-nexell/timer.c
arch/arm/mach-npcm/npcm7xx/cpu.c
arch/arm/mach-npcm/npcm7xx/l2_cache_pl310.c
arch/arm/mach-npcm/npcm8xx/cpu.c
arch/arm/mach-npcm/npcm8xx/reset.c
arch/arm/mach-octeontx/clock.c
arch/arm/mach-octeontx/cpu.c
arch/arm/mach-octeontx2/clock.c
arch/arm/mach-octeontx2/cpu.c
arch/arm/mach-omap2/abb.c
arch/arm/mach-omap2/am33xx/board.c
arch/arm/mach-omap2/am33xx/chilisom.c
arch/arm/mach-omap2/am33xx/clk_synthesizer.c
arch/arm/mach-omap2/am33xx/clock.c
arch/arm/mach-omap2/am33xx/clock_am33xx.c
arch/arm/mach-omap2/am33xx/clock_am43xx.c
arch/arm/mach-omap2/am33xx/ddr.c
arch/arm/mach-omap2/am33xx/emif4.c
arch/arm/mach-omap2/am33xx/fdt.c
arch/arm/mach-omap2/am33xx/mux.c
arch/arm/mach-omap2/am33xx/sys_info.c
arch/arm/mach-omap2/boot-common.c
arch/arm/mach-omap2/clocks-common.c
arch/arm/mach-omap2/emif-common.c
arch/arm/mach-omap2/fdt-common.c
arch/arm/mach-omap2/hwinit-common.c
arch/arm/mach-omap2/mem-common.c
arch/arm/mach-omap2/omap-cache.c
arch/arm/mach-omap2/omap3/am35x_musb.c
arch/arm/mach-omap2/omap3/board.c
arch/arm/mach-omap2/omap3/boot.c
arch/arm/mach-omap2/omap3/clock.c
arch/arm/mach-omap2/omap3/emac.c
arch/arm/mach-omap2/omap3/emif4.c
arch/arm/mach-omap2/omap3/sdrc.c
arch/arm/mach-omap2/omap3/spl_id_nand.c
arch/arm/mach-omap2/omap3/sys_info.c
arch/arm/mach-omap2/omap4/boot.c
arch/arm/mach-omap2/omap4/emif.c
arch/arm/mach-omap2/omap4/hw_data.c
arch/arm/mach-omap2/omap4/hwinit.c
arch/arm/mach-omap2/omap4/sdram_elpida.c
arch/arm/mach-omap2/omap5/abb.c
arch/arm/mach-omap2/omap5/boot.c
arch/arm/mach-omap2/omap5/dra7xx_iodelay.c
arch/arm/mach-omap2/omap5/emif.c
arch/arm/mach-omap2/omap5/fdt.c
arch/arm/mach-omap2/omap5/hw_data.c
arch/arm/mach-omap2/omap5/hwinit.c
arch/arm/mach-omap2/omap5/sdram.c
arch/arm/mach-omap2/sec-common.c
arch/arm/mach-omap2/timer.c
arch/arm/mach-omap2/utils.c
arch/arm/mach-omap2/vc.c
arch/arm/mach-orion5x/cpu.c
arch/arm/mach-orion5x/dram.c
arch/arm/mach-orion5x/timer.c
arch/arm/mach-owl/soc.c
arch/arm/mach-owl/sysmap-owl.c
arch/arm/mach-renesas/memmap-gen3.c
arch/arm/mach-renesas/memmap-rzg2l.c
arch/arm/mach-rockchip/board.c
arch/arm/mach-rockchip/boot_mode.c
arch/arm/mach-rockchip/bootrom.c
arch/arm/mach-rockchip/cpu-info.c
arch/arm/mach-rockchip/px30-board-tpl.c
arch/arm/mach-rockchip/px30/clk_px30.c
arch/arm/mach-rockchip/px30/px30.c
arch/arm/mach-rockchip/px30/syscon_px30.c
arch/arm/mach-rockchip/rk3036-board-spl.c
arch/arm/mach-rockchip/rk3036/clk_rk3036.c
arch/arm/mach-rockchip/rk3036/rk3036.c
arch/arm/mach-rockchip/rk3036/sdram_rk3036.c
arch/arm/mach-rockchip/rk3036/syscon_rk3036.c
arch/arm/mach-rockchip/rk3066/clk_rk3066.c
arch/arm/mach-rockchip/rk3066/rk3066.c
arch/arm/mach-rockchip/rk3066/syscon_rk3066.c
arch/arm/mach-rockchip/rk3128/clk_rk3128.c
arch/arm/mach-rockchip/rk3128/syscon_rk3128.c
arch/arm/mach-rockchip/rk3188/clk_rk3188.c
arch/arm/mach-rockchip/rk3188/rk3188.c
arch/arm/mach-rockchip/rk3188/syscon_rk3188.c
arch/arm/mach-rockchip/rk322x/clk_rk322x.c
arch/arm/mach-rockchip/rk322x/syscon_rk322x.c
arch/arm/mach-rockchip/rk3288/clk_rk3288.c
arch/arm/mach-rockchip/rk3288/rk3288.c
arch/arm/mach-rockchip/rk3288/syscon_rk3288.c
arch/arm/mach-rockchip/rk3308/clk_rk3308.c
arch/arm/mach-rockchip/rk3308/rk3308.c
arch/arm/mach-rockchip/rk3308/syscon_rk3308.c
arch/arm/mach-rockchip/rk3328/clk_rk3328.c
arch/arm/mach-rockchip/rk3328/rk3328.c
arch/arm/mach-rockchip/rk3328/syscon_rk3328.c
arch/arm/mach-rockchip/rk3368/clk_rk3368.c
arch/arm/mach-rockchip/rk3368/rk3368.c
arch/arm/mach-rockchip/rk3368/syscon_rk3368.c
arch/arm/mach-rockchip/rk3399/clk_rk3399.c
arch/arm/mach-rockchip/rk3399/rk3399.c
arch/arm/mach-rockchip/rk3399/syscon_rk3399.c
arch/arm/mach-rockchip/rk3568/clk_rk3568.c
arch/arm/mach-rockchip/rk3568/rk3568.c
arch/arm/mach-rockchip/rk3568/syscon_rk3568.c
arch/arm/mach-rockchip/rk3588/clk_rk3588.c
arch/arm/mach-rockchip/rk3588/rk3588.c
arch/arm/mach-rockchip/rk3588/syscon_rk3588.c
arch/arm/mach-rockchip/rv1108/clk_rv1108.c
arch/arm/mach-rockchip/rv1108/syscon_rv1108.c
arch/arm/mach-rockchip/rv1126/clk_rv1126.c
arch/arm/mach-rockchip/rv1126/rv1126.c
arch/arm/mach-rockchip/rv1126/syscon_rv1126.c
arch/arm/mach-rockchip/sdram.c
arch/arm/mach-rockchip/spl-boot-order.c
arch/arm/mach-rockchip/tpl.c
arch/arm/mach-s5pc1xx/cache.c
arch/arm/mach-s5pc1xx/clock.c
arch/arm/mach-s5pc1xx/pinmux.c
arch/arm/mach-sc5xx/Kconfig [new file with mode: 0644]
arch/arm/mach-sc5xx/Makefile [new file with mode: 0644]
arch/arm/mach-sc5xx/config.mk [new file with mode: 0644]
arch/arm/mach-sc5xx/init/Makefile [new file with mode: 0644]
arch/arm/mach-sc5xx/init/clkinit.c [new file with mode: 0644]
arch/arm/mach-sc5xx/init/clkinit.h [new file with mode: 0644]
arch/arm/mach-sc5xx/init/dmcinit.c [new file with mode: 0644]
arch/arm/mach-sc5xx/init/dmcinit.h [new file with mode: 0644]
arch/arm/mach-sc5xx/init/mem/is43tr16512bl.h [new file with mode: 0644]
arch/arm/mach-sc5xx/init/mem/mt41k128m16jt.h [new file with mode: 0644]
arch/arm/mach-sc5xx/init/mem/mt41k512m16ha.h [new file with mode: 0644]
arch/arm/mach-sc5xx/init/mem/mt47h128m16rt.h [new file with mode: 0644]
arch/arm/mach-sc5xx/rcu.c [new file with mode: 0644]
arch/arm/mach-sc5xx/sc57x.c [new file with mode: 0644]
arch/arm/mach-sc5xx/sc58x.c [new file with mode: 0644]
arch/arm/mach-sc5xx/sc59x.c [new file with mode: 0644]
arch/arm/mach-sc5xx/sc59x_64.c [new file with mode: 0644]
arch/arm/mach-sc5xx/soc.c [new file with mode: 0644]
arch/arm/mach-sc5xx/spl.c [new file with mode: 0644]
arch/arm/mach-socfpga/board.c
arch/arm/mach-socfpga/clock_manager.c
arch/arm/mach-socfpga/clock_manager_agilex.c
arch/arm/mach-socfpga/clock_manager_agilex5.c
arch/arm/mach-socfpga/clock_manager_arria10.c
arch/arm/mach-socfpga/clock_manager_gen5.c
arch/arm/mach-socfpga/clock_manager_n5x.c
arch/arm/mach-socfpga/clock_manager_s10.c
arch/arm/mach-socfpga/firewall.c
arch/arm/mach-socfpga/fpga_manager.c
arch/arm/mach-socfpga/freeze_controller.c
arch/arm/mach-socfpga/include/mach/clock_manager.h
arch/arm/mach-socfpga/include/mach/secure_reg_helper.h
arch/arm/mach-socfpga/mailbox_s10.c
arch/arm/mach-socfpga/misc.c
arch/arm/mach-socfpga/misc_arria10.c
arch/arm/mach-socfpga/misc_gen5.c
arch/arm/mach-socfpga/misc_soc64.c
arch/arm/mach-socfpga/mmu-arm64_s10.c
arch/arm/mach-socfpga/pinmux_arria10.c
arch/arm/mach-socfpga/reset_manager_arria10.c
arch/arm/mach-socfpga/reset_manager_gen5.c
arch/arm/mach-socfpga/reset_manager_s10.c
arch/arm/mach-socfpga/scan_manager.c
arch/arm/mach-socfpga/secure_reg_helper.c
arch/arm/mach-socfpga/secure_vab.c
arch/arm/mach-socfpga/smc_api.c
arch/arm/mach-socfpga/spl_a10.c
arch/arm/mach-socfpga/spl_agilex.c
arch/arm/mach-socfpga/spl_gen5.c
arch/arm/mach-socfpga/spl_n5x.c
arch/arm/mach-socfpga/spl_s10.c
arch/arm/mach-socfpga/spl_soc64.c
arch/arm/mach-socfpga/system_manager_gen5.c
arch/arm/mach-socfpga/system_manager_soc64.c
arch/arm/mach-socfpga/timer.c
arch/arm/mach-socfpga/timer_s10.c
arch/arm/mach-socfpga/vab.c
arch/arm/mach-socfpga/wrap_handoff_soc64.c
arch/arm/mach-socfpga/wrap_iocsr_config.c
arch/arm/mach-socfpga/wrap_pinmux_config.c
arch/arm/mach-socfpga/wrap_pll_config.c
arch/arm/mach-socfpga/wrap_pll_config_soc64.c
arch/arm/mach-socfpga/wrap_sdram_config.c
arch/arm/mach-stm32/soc.c
arch/arm/mach-stm32mp/boot_params.c
arch/arm/mach-stm32mp/bsec.c
arch/arm/mach-stm32mp/cmd_stm32key.c
arch/arm/mach-stm32mp/cmd_stm32prog/cmd_stm32prog.c
arch/arm/mach-stm32mp/cmd_stm32prog/stm32prog_serial.c
arch/arm/mach-stm32mp/cmd_stm32prog/stm32prog_usb.c
arch/arm/mach-stm32mp/dram_init.c
arch/arm/mach-stm32mp/stm32mp1/cpu.c
arch/arm/mach-stm32mp/stm32mp1/fdt.c
arch/arm/mach-stm32mp/stm32mp1/psci.c
arch/arm/mach-stm32mp/stm32mp1/pwr_regulator.c
arch/arm/mach-stm32mp/stm32mp1/spl.c
arch/arm/mach-stm32mp/stm32mp1/stm32mp13x.c
arch/arm/mach-stm32mp/stm32mp1/stm32mp15x.c
arch/arm/mach-stm32mp/syscon.c
arch/arm/mach-sunxi/dram_timings/ddr2_v3s.c
arch/arm/mach-sunxi/dram_timings/ddr3_1333.c
arch/arm/mach-sunxi/dram_timings/h616_ddr3_1333.c
arch/arm/mach-sunxi/dram_timings/h616_lpddr3.c
arch/arm/mach-sunxi/dram_timings/h616_lpddr4_2133.c
arch/arm/mach-sunxi/dram_timings/h6_ddr3_1333.c
arch/arm/mach-sunxi/dram_timings/h6_lpddr3.c
arch/arm/mach-sunxi/dram_timings/lpddr3_stock.c
arch/arm/mach-tegra/ap.c
arch/arm/mach-tegra/arm64-mmu.c
arch/arm/mach-tegra/board.c
arch/arm/mach-tegra/board2.c
arch/arm/mach-tegra/cache.c
arch/arm/mach-tegra/cboot.c
arch/arm/mach-tegra/clock.c
arch/arm/mach-tegra/cmd_enterrcm.c
arch/arm/mach-tegra/cpu.c
arch/arm/mach-tegra/crypto.c
arch/arm/mach-tegra/dt-setup.c
arch/arm/mach-tegra/emc.c
arch/arm/mach-tegra/fuse.c
arch/arm/mach-tegra/gpu.c
arch/arm/mach-tegra/ivc.c
arch/arm/mach-tegra/pmc.c
arch/arm/mach-tegra/powergate.c
arch/arm/mach-tegra/spl.c
arch/arm/mach-tegra/sys_info.c
arch/arm/mach-tegra/tegra114/clock.c
arch/arm/mach-tegra/tegra114/cpu.c
arch/arm/mach-tegra/tegra124/clock.c
arch/arm/mach-tegra/tegra124/cpu.c
arch/arm/mach-tegra/tegra124/pmc.c
arch/arm/mach-tegra/tegra124/psci.c
arch/arm/mach-tegra/tegra124/xusb-padctl.c
arch/arm/mach-tegra/tegra20/bct.c
arch/arm/mach-tegra/tegra20/clock.c
arch/arm/mach-tegra/tegra20/cpu.c
arch/arm/mach-tegra/tegra20/display.c
arch/arm/mach-tegra/tegra20/emc.c
arch/arm/mach-tegra/tegra20/pmu.c
arch/arm/mach-tegra/tegra20/warmboot.c
arch/arm/mach-tegra/tegra20/warmboot_avp.c
arch/arm/mach-tegra/tegra210/clock.c
arch/arm/mach-tegra/tegra210/xusb-padctl.c
arch/arm/mach-tegra/tegra30/bct.c
arch/arm/mach-tegra/tegra30/clock.c
arch/arm/mach-tegra/tegra30/cpu.c
arch/arm/mach-tegra/xusb-padctl-common.c
arch/arm/mach-tegra/xusb-padctl-dummy.c
arch/arm/mach-u8500/cache.c
arch/arm/mach-u8500/cpuinfo.c
arch/arm/mach-uniphier/dram_init.c
arch/arm/mach-versal-net/clk.c
arch/arm/mach-versal-net/cpu.c
arch/arm/mach-versal/clk.c
arch/arm/mach-versal/cpu.c
arch/arm/mach-versal/mp.c
arch/arm/mach-versatile/Makefile [deleted file]
arch/arm/mach-versatile/reset.S [deleted file]
arch/arm/mach-versatile/timer.c [deleted file]
arch/arm/mach-zynq/clk.c
arch/arm/mach-zynq/cpu.c
arch/arm/mach-zynq/ddrc.c
arch/arm/mach-zynq/slcr.c
arch/arm/mach-zynq/spl.c
arch/arm/mach-zynqmp-r5/cpu.c
arch/arm/mach-zynqmp/aes.c
arch/arm/mach-zynqmp/clk.c
arch/arm/mach-zynqmp/cpu.c
arch/arm/mach-zynqmp/ecc_spl_init.c
arch/arm/mach-zynqmp/handoff.c
arch/arm/mach-zynqmp/include/mach/zynqmp_aes.h
arch/arm/mach-zynqmp/mp.c
arch/arm/mach-zynqmp/psu_spl_init.c
arch/arm/mach-zynqmp/spl.c
arch/m68k/include/asm/global_data.h
arch/m68k/lib/bdinfo.c
arch/microblaze/cpu/spl.c
arch/microblaze/include/asm/global_data.h
arch/mips/include/asm/global_data.h
arch/mips/lib/traps.c
arch/mips/mach-mtmips/Kconfig
arch/nios2/cpu/cpu.c
arch/nios2/cpu/interrupts.c
arch/nios2/cpu/traps.c
arch/nios2/include/asm/global_data.h
arch/nios2/lib/bootm.c
arch/nios2/lib/cache.c
arch/powerpc/cpu/mpc83xx/cpu.c
arch/powerpc/cpu/mpc83xx/ecc.c
arch/powerpc/cpu/mpc83xx/fdt.c
arch/powerpc/cpu/mpc83xx/interrupts.c
arch/powerpc/cpu/mpc83xx/law.c
arch/powerpc/cpu/mpc83xx/pci.c
arch/powerpc/cpu/mpc83xx/pcie.c
arch/powerpc/cpu/mpc83xx/qe_io.c
arch/powerpc/cpu/mpc83xx/serdes.c
arch/powerpc/cpu/mpc83xx/spd_sdram.c
arch/powerpc/cpu/mpc83xx/speed.c
arch/powerpc/cpu/mpc83xx/spl_minimal.c
arch/powerpc/cpu/mpc83xx/traps.c
arch/powerpc/cpu/mpc85xx/b4860_ids.c
arch/powerpc/cpu/mpc85xx/b4860_serdes.c
arch/powerpc/cpu/mpc85xx/bsc9132_serdes.c
arch/powerpc/cpu/mpc85xx/c29x_serdes.c
arch/powerpc/cpu/mpc85xx/cmd_errata.c
arch/powerpc/cpu/mpc85xx/cpu.c
arch/powerpc/cpu/mpc85xx/cpu_init_early.c
arch/powerpc/cpu/mpc85xx/fdt.c
arch/powerpc/cpu/mpc85xx/fsl_corenet2_serdes.c
arch/powerpc/cpu/mpc85xx/fsl_corenet_serdes.c
arch/powerpc/cpu/mpc85xx/interrupts.c
arch/powerpc/cpu/mpc85xx/liodn.c
arch/powerpc/cpu/mpc85xx/mp.c
arch/powerpc/cpu/mpc85xx/mpc8536_serdes.c
arch/powerpc/cpu/mpc85xx/mpc8544_serdes.c
arch/powerpc/cpu/mpc85xx/mpc8548_serdes.c
arch/powerpc/cpu/mpc85xx/p1010_serdes.c
arch/powerpc/cpu/mpc85xx/p1021_serdes.c
arch/powerpc/cpu/mpc85xx/p1023_serdes.c
arch/powerpc/cpu/mpc85xx/p2020_serdes.c
arch/powerpc/cpu/mpc85xx/p2041_ids.c
arch/powerpc/cpu/mpc85xx/p2041_serdes.c
arch/powerpc/cpu/mpc85xx/p3041_ids.c
arch/powerpc/cpu/mpc85xx/p3041_serdes.c
arch/powerpc/cpu/mpc85xx/p4080_ids.c
arch/powerpc/cpu/mpc85xx/p4080_serdes.c
arch/powerpc/cpu/mpc85xx/p5040_ids.c
arch/powerpc/cpu/mpc85xx/p5040_serdes.c
arch/powerpc/cpu/mpc85xx/portals.c
arch/powerpc/cpu/mpc85xx/qe_io.c
arch/powerpc/cpu/mpc85xx/speed.c
arch/powerpc/cpu/mpc85xx/spl_minimal.c
arch/powerpc/cpu/mpc85xx/t1024_ids.c
arch/powerpc/cpu/mpc85xx/t1024_serdes.c
arch/powerpc/cpu/mpc85xx/t1040_ids.c
arch/powerpc/cpu/mpc85xx/t1040_serdes.c
arch/powerpc/cpu/mpc85xx/t2080_ids.c
arch/powerpc/cpu/mpc85xx/t2080_serdes.c
arch/powerpc/cpu/mpc85xx/t4240_ids.c
arch/powerpc/cpu/mpc85xx/t4240_serdes.c
arch/powerpc/cpu/mpc85xx/tlb.c
arch/powerpc/cpu/mpc85xx/traps.c
arch/powerpc/cpu/mpc8xxx/cpu.c
arch/powerpc/cpu/mpc8xxx/fdt.c
arch/powerpc/cpu/mpc8xxx/fsl_lbc.c
arch/powerpc/cpu/mpc8xxx/fsl_pamu.c
arch/powerpc/cpu/mpc8xxx/law.c
arch/powerpc/cpu/mpc8xxx/pamu_table.c
arch/powerpc/cpu/mpc8xxx/srio.c
arch/powerpc/include/asm/cache.h
arch/powerpc/include/asm/fsl_dma.h
arch/powerpc/include/asm/fsl_liodn.h
arch/powerpc/include/asm/fsl_portals.h
arch/powerpc/include/asm/fsl_serdes.h
arch/powerpc/include/asm/global_data.h
arch/powerpc/include/asm/immap_8xx.h
arch/powerpc/lib/bdinfo.c
arch/powerpc/lib/bootm.c
arch/powerpc/lib/cache.c
arch/powerpc/lib/extable.c
arch/powerpc/lib/interrupts.c
arch/powerpc/lib/kgdb.c
arch/powerpc/lib/spl.c
arch/powerpc/lib/stack.c
arch/powerpc/lib/time.c
arch/riscv/lib/boot.c
arch/sandbox/include/asm/global_data.h
arch/sh/cpu/sh4/cache.c
arch/sh/cpu/sh4/cpu.c
arch/sh/cpu/sh4/interrupts.c
arch/sh/cpu/sh4/watchdog.c
arch/sh/include/asm/global_data.h
arch/sh/lib/board.c
arch/sh/lib/bootm.c
arch/sh/lib/time.c
arch/sh/lib/time_sh2.c
arch/sh/lib/zimageboot.c
arch/x86/cpu/acpi_gpe.c
arch/x86/cpu/apollolake/acpi.c
arch/x86/cpu/apollolake/cpu.c
arch/x86/cpu/apollolake/cpu_common.c
arch/x86/cpu/apollolake/cpu_spl.c
arch/x86/cpu/apollolake/fsp_bindings.c
arch/x86/cpu/apollolake/fsp_m.c
arch/x86/cpu/apollolake/fsp_s.c
arch/x86/cpu/apollolake/hostbridge.c
arch/x86/cpu/apollolake/lpc.c
arch/x86/cpu/apollolake/pch.c
arch/x86/cpu/apollolake/pmc.c
arch/x86/cpu/apollolake/punit.c
arch/x86/cpu/apollolake/spl.c
arch/x86/cpu/apollolake/systemagent.c
arch/x86/cpu/apollolake/uart.c
arch/x86/cpu/baytrail/acpi.c
arch/x86/cpu/baytrail/cpu.c
arch/x86/cpu/baytrail/early_uart.c
arch/x86/cpu/baytrail/fsp_configs.c
arch/x86/cpu/baytrail/valleyview.c
arch/x86/cpu/braswell/braswell.c
arch/x86/cpu/braswell/early_uart.c
arch/x86/cpu/braswell/fsp_configs.c
arch/x86/cpu/broadwell/adsp.c
arch/x86/cpu/broadwell/cpu.c
arch/x86/cpu/broadwell/cpu_from_spl.c
arch/x86/cpu/broadwell/cpu_full.c
arch/x86/cpu/broadwell/iobp.c
arch/x86/cpu/broadwell/lpc.c
arch/x86/cpu/broadwell/me.c
arch/x86/cpu/broadwell/northbridge.c
arch/x86/cpu/broadwell/pch.c
arch/x86/cpu/broadwell/pinctrl_broadwell.c
arch/x86/cpu/broadwell/power_state.c
arch/x86/cpu/broadwell/refcode.c
arch/x86/cpu/broadwell/sata.c
arch/x86/cpu/broadwell/sdram.c
arch/x86/cpu/coreboot/coreboot.c
arch/x86/cpu/coreboot/coreboot_spl.c
arch/x86/cpu/coreboot/sdram.c
arch/x86/cpu/coreboot/timestamp.c
arch/x86/cpu/cpu.c
arch/x86/cpu/cpu_x86.c
arch/x86/cpu/efi/app.c
arch/x86/cpu/efi/payload.c
arch/x86/cpu/efi/sdram.c
arch/x86/cpu/i386/cpu.c
arch/x86/cpu/i386/interrupt.c
arch/x86/cpu/intel_common/acpi.c
arch/x86/cpu/intel_common/car.S
arch/x86/cpu/intel_common/cpu.c
arch/x86/cpu/intel_common/cpu_from_spl.c
arch/x86/cpu/intel_common/fast_spi.c
arch/x86/cpu/intel_common/generic_wifi.c
arch/x86/cpu/intel_common/intel_opregion.c
arch/x86/cpu/intel_common/itss.c
arch/x86/cpu/intel_common/lpc.c
arch/x86/cpu/intel_common/lpss.c
arch/x86/cpu/intel_common/me_status.c
arch/x86/cpu/intel_common/microcode.c
arch/x86/cpu/intel_common/mrc.c
arch/x86/cpu/intel_common/p2sb.c
arch/x86/cpu/intel_common/pch.c
arch/x86/cpu/intel_common/report_platform.c
arch/x86/cpu/ioapic.c
arch/x86/cpu/irq.c
arch/x86/cpu/ivybridge/bd82x6x.c
arch/x86/cpu/ivybridge/cpu.c
arch/x86/cpu/ivybridge/early_me.c
arch/x86/cpu/ivybridge/fsp_configs.c
arch/x86/cpu/ivybridge/ivybridge.c
arch/x86/cpu/ivybridge/lpc.c
arch/x86/cpu/ivybridge/model_206ax.c
arch/x86/cpu/ivybridge/northbridge.c
arch/x86/cpu/ivybridge/sata.c
arch/x86/cpu/ivybridge/sdram.c
arch/x86/cpu/ivybridge/sdram_nop.c
arch/x86/cpu/lapic.c
arch/x86/cpu/mp_init.c
arch/x86/cpu/mtrr.c
arch/x86/cpu/pci.c
arch/x86/cpu/qemu/cpu.c
arch/x86/cpu/qemu/dram.c
arch/x86/cpu/qemu/e820.c
arch/x86/cpu/qemu/qemu.c
arch/x86/cpu/qfw_cpu.c
arch/x86/cpu/quark/acpi.c
arch/x86/cpu/quark/dram.c
arch/x86/cpu/quark/hte.c
arch/x86/cpu/quark/mrc.c
arch/x86/cpu/quark/mrc_util.c
arch/x86/cpu/quark/msg_port.c
arch/x86/cpu/quark/quark.c
arch/x86/cpu/quark/smc.c
arch/x86/cpu/queensbay/fsp_configs.c
arch/x86/cpu/queensbay/tnc.c
arch/x86/cpu/slimbootloader/sdram.c
arch/x86/cpu/slimbootloader/serial.c
arch/x86/cpu/slimbootloader/slimbootloader.c
arch/x86/cpu/tangier/acpi.c
arch/x86/cpu/tangier/pinmux.c
arch/x86/cpu/tangier/sdram.c
arch/x86/cpu/tangier/sysreset.c
arch/x86/cpu/tangier/tangier.c
arch/x86/cpu/turbo.c
arch/x86/cpu/x86_64/cpu.c
arch/x86/cpu/x86_64/interrupts.c
arch/x86/cpu/x86_64/misc.c
arch/x86/include/asm/arch-quark/mrc.h
arch/x86/include/asm/arch-quark/msg_port.h
arch/x86/include/asm/arch-quark/quark.h
arch/x86/include/asm/cb_sysinfo.h
arch/x86/include/asm/coreboot_tables.h
arch/x86/include/asm/early_cmos.h
arch/x86/include/asm/global_data.h
arch/x86/include/asm/handoff.h
arch/x86/include/asm/me_common.h
arch/x86/include/asm/mp.h
arch/x86/lib/acpi.c
arch/x86/lib/acpi_nhlt.c
arch/x86/lib/acpi_s3.c
arch/x86/lib/acpi_table.c
arch/x86/lib/acpigen.c
arch/x86/lib/asm-offsets.c
arch/x86/lib/bdinfo.c
arch/x86/lib/bios.c
arch/x86/lib/bios_interrupts.c
arch/x86/lib/bootm.c
arch/x86/lib/cmd_boot.c
arch/x86/lib/coreboot/cb_support.c
arch/x86/lib/coreboot/cb_sysinfo.c
arch/x86/lib/coreboot_table.c
arch/x86/lib/div64.c
arch/x86/lib/e820.c
arch/x86/lib/early_cmos.c
arch/x86/lib/fsp/fsp_common.c
arch/x86/lib/fsp/fsp_dram.c
arch/x86/lib/fsp/fsp_graphics.c
arch/x86/lib/fsp/fsp_support.c
arch/x86/lib/fsp1/fsp_common.c
arch/x86/lib/fsp1/fsp_dram.c
arch/x86/lib/fsp1/fsp_support.c
arch/x86/lib/fsp2/fsp_common.c
arch/x86/lib/fsp2/fsp_dram.c
arch/x86/lib/fsp2/fsp_init.c
arch/x86/lib/fsp2/fsp_meminit.c
arch/x86/lib/fsp2/fsp_silicon_init.c
arch/x86/lib/fsp2/fsp_support.c
arch/x86/lib/hob.c
arch/x86/lib/i8254.c
arch/x86/lib/i8259.c
arch/x86/lib/init_helpers.c
arch/x86/lib/interrupts.c
arch/x86/lib/lpc-uclass.c
arch/x86/lib/mpspec.c
arch/x86/lib/mrccache.c
arch/x86/lib/northbridge-uclass.c
arch/x86/lib/physmem.c
arch/x86/lib/pinctrl_ich6.c
arch/x86/lib/pirq_routing.c
arch/x86/lib/pmu.c
arch/x86/lib/ramtest.c
arch/x86/lib/reloc_ia32_efi.c
arch/x86/lib/reloc_x86_64_efi.c
arch/x86/lib/relocate.c
arch/x86/lib/scu.c
arch/x86/lib/sfi.c
arch/x86/lib/spl.c
arch/x86/lib/tables.c
arch/x86/lib/tpl.c
arch/x86/lib/zimage.c
arch/xtensa/cpu/cpu.c
arch/xtensa/cpu/exceptions.c
arch/xtensa/include/asm/global_data.h
arch/xtensa/lib/bootm.c
arch/xtensa/lib/cache.c
arch/xtensa/lib/time.c
board/BuR/brppt1/board.c
board/BuR/brppt1/mux.c
board/BuR/brppt2/board.c
board/BuR/brsmarc1/board.c
board/BuR/brsmarc1/mux.c
board/BuR/brxre1/board.c
board/BuR/brxre1/mux.c
board/BuR/common/br_resetc.c
board/BuR/common/common.c
board/BuS/eb_cpu5282/eb_cpu5282.c
board/CZ.NIC/turris_mox/mox_sp.c
board/CZ.NIC/turris_mox/turris_mox.c
board/CZ.NIC/turris_omnia/turris_omnia.c
board/LaCie/common/common.c
board/LaCie/net2big_v2/net2big_v2.c
board/LaCie/netspace_v2/netspace_v2.c
board/Marvell/db-88f6720/db-88f6720.c
board/Marvell/db-88f6820-amc/db-88f6820-amc.c
board/Marvell/db-88f6820-gp/db-88f6820-gp.c
board/Marvell/db-mv784mp-gp/db-mv784mp-gp.c
board/Marvell/db-xc3-24g4xg/db-xc3-24g4xg.c
board/Marvell/dreamplug/dreamplug.c
board/Marvell/guruplug/guruplug.c
board/Marvell/mvebu_alleycat-5/board.c
board/Marvell/mvebu_armada-37xx/board.c
board/Marvell/mvebu_armada-8k/board.c
board/Marvell/octeontx2/soc-utils.c
board/Marvell/openrd/openrd.c
board/Marvell/sheevaplug/sheevaplug.c
board/Seagate/dockstar/dockstar.c
board/Seagate/goflexhome/goflexhome.c
board/Seagate/nas220/nas220.c
board/Synology/ds109/ds109.c
board/Synology/ds414/cmd_syno.c
board/Synology/ds414/ds414.c
board/advantech/imx8mp_rsb3720a1/imx8mp_rsb3720a1.c
board/advantech/imx8mp_rsb3720a1/spl.c
board/advantech/imx8qm_dmsse20_a1/imx8qm_dmsse20_a1.c
board/advantech/imx8qm_dmsse20_a1/spl.c
board/advantech/imx8qm_rom7720_a1/imx8qm_rom7720_a1.c
board/advantech/imx8qm_rom7720_a1/spl.c
board/advantech/som-db5800-som-6867/som-db5800-som-6867.c
board/alliedtelesis/SBx81LIFKW/sbx81lifkw.c
board/alliedtelesis/SBx81LIFXCAT/sbx81lifxcat.c
board/alliedtelesis/common/gpio_hog.c
board/alliedtelesis/x240/x240.c
board/alliedtelesis/x530/x530.c
board/amarula/vyasa-rk3288/vyasa-rk3288.c
board/amlogic/beelink-s922x/beelink-s922x.c
board/amlogic/jethub-j100/jethub-j100.c
board/amlogic/jethub-j80/jethub-j80.c
board/amlogic/odroid-go-ultra/odroid-go-ultra.c
board/amlogic/odroid-n2/odroid-n2.c
board/amlogic/p200/p200.c
board/amlogic/p201/p201.c
board/amlogic/p212/p212.c
board/amlogic/q200/q200.c
board/amlogic/s400/s400.c
board/amlogic/sei510/sei510.c
board/amlogic/sei610/sei610.c
board/amlogic/u200/u200.c
board/amlogic/vim3/vim3.c
board/amlogic/w400/w400.c
board/aristainetos/aristainetos.c
board/armadeus/opos6uldev/board.c
board/armltd/corstone1000/corstone1000.c
board/armltd/integrator/integrator.c
board/armltd/integrator/timer.c
board/armltd/total_compute/total_compute.c
board/armltd/vexpress/vexpress_common.c
board/armltd/vexpress64/pcie.c
board/armltd/vexpress64/vexpress64.c
board/astro/mcf5373l/fpga.c
board/astro/mcf5373l/mcf5373l.c
board/atmel/at91sam9260ek/at91sam9260ek.c
board/atmel/at91sam9261ek/at91sam9261ek.c
board/atmel/at91sam9263ek/at91sam9263ek.c
board/atmel/at91sam9m10g45ek/at91sam9m10g45ek.c
board/atmel/at91sam9n12ek/at91sam9n12ek.c
board/atmel/at91sam9rlek/at91sam9rlek.c
board/atmel/at91sam9x5ek/at91sam9x5ek.c
board/atmel/common/board.c
board/atmel/common/mac-spi-nor.c
board/atmel/common/mac_eeprom.c
board/atmel/common/video_display.c
board/atmel/sam9x60_curiosity/sam9x60_curiosity.c
board/atmel/sam9x60ek/sam9x60ek.c
board/atmel/sama5d27_som1_ek/sama5d27_som1_ek.c
board/atmel/sama5d27_wlsom1_ek/sama5d27_wlsom1_ek.c
board/atmel/sama5d29_curiosity/sama5d29_curiosity.c
board/atmel/sama5d2_icp/sama5d2_icp.c
board/atmel/sama5d2_ptc_ek/sama5d2_ptc_ek.c
board/atmel/sama5d2_xplained/sama5d2_xplained.c
board/atmel/sama5d3_xplained/sama5d3_xplained.c
board/atmel/sama5d3xek/sama5d3xek.c
board/atmel/sama5d4_xplained/sama5d4_xplained.c
board/atmel/sama5d4ek/sama5d4ek.c
board/atmel/sama7g54_curiosity/sama7g54_curiosity.c
board/atmel/sama7g5ek/sama7g5ek.c
board/avionic-design/common/tamonten-ng.c
board/avionic-design/common/tamonten.c
board/avionic-design/tec-ng/tec-ng-spl.c
board/beacon/beacon-rzg2m/beacon-rzg2m.c
board/beacon/imx8mm/lpddr4_timing.c
board/beacon/imx8mm/spl.c
board/beacon/imx8mn/spl.c
board/beacon/imx8mp/imx8mp_beacon.c
board/beacon/imx8mp/spl.c
board/beagle/beagle/beagle.c
board/beagle/beagle/led.c
board/beckhoff/mx53cx9020/mx53cx9020.c
board/beckhoff/mx53cx9020/mx53cx9020_video.c
board/bluewater/gurnard/gurnard.c
board/bosch/acc/acc.c
board/bosch/guardian/board.c
board/bosch/guardian/mux.c
board/bosch/shc/board.c
board/bosch/shc/mux.c
board/boundary/nitrogen6x/nitrogen6x.c
board/broadcom/bcmbca/board.c
board/broadcom/bcmns/ns.c
board/broadcom/bcmns3/ns3.c
board/broadcom/bcmstb/bcmstb.c
board/bsh/imx6ulz_smm_m2/imx6ulz_smm_m2.c
board/bsh/imx6ulz_smm_m2/spl.c
board/bsh/imx8mn_smm_s2/imx8mn_smm_s2.c
board/bticino/mamoj/mamoj.c
board/bticino/mamoj/spl.c
board/buffalo/lsxl/lsxl.c
board/cadence/xtfpga/xtfpga.c
board/calao/usb_a9263/usb_a9263.c
board/cavium/thunderx/atf.c
board/cavium/thunderx/thunderx.c
board/cei/cei-tk1-som/cei-tk1-som.c
board/chipspark/popmetal_rk3288/popmetal-rk3288.c
board/cloos/imx8mm_phg/imx8mm_phg.c
board/cloos/imx8mm_phg/spl.c
board/cloudengines/pogo_e02/pogo_e02.c
board/cloudengines/pogo_v4/pogo_v4.c
board/cobra5272/cobra5272.c
board/cobra5272/flash.c
board/compulab/cl-som-imx7/cl-som-imx7.c
board/compulab/cl-som-imx7/common.c
board/compulab/cl-som-imx7/mux.c
board/compulab/cl-som-imx7/spl.c
board/compulab/cm_fx6/cm_fx6.c
board/compulab/cm_fx6/common.c
board/compulab/cm_fx6/spl.c
board/compulab/cm_t43/cm_t43.c
board/compulab/cm_t43/mux.c
board/compulab/cm_t43/spl.c
board/compulab/common/common.c
board/compulab/common/eeprom.c
board/compulab/common/omap3_smc911x.c
board/compulab/imx8mm-cl-iot-gate/ddr/ddr.c
board/compulab/imx8mm-cl-iot-gate/ddr/lpddr4_timing_01061010.1_2.c
board/compulab/imx8mm-cl-iot-gate/ddr/lpddr4_timing_01061010.c
board/compulab/imx8mm-cl-iot-gate/ddr/lpddr4_timing_ff000110.c
board/compulab/imx8mm-cl-iot-gate/ddr/lpddr4_timing_ff020008.c
board/compulab/imx8mm-cl-iot-gate/eeprom_spl.c
board/compulab/imx8mm-cl-iot-gate/imx8mm-cl-iot-gate.c
board/compulab/imx8mm-cl-iot-gate/spl.c
board/compulab/trimslice/trimslice.c
board/conclusive/kstr-sama5d27/kstr-sama5d27.c
board/congatec/cgtqmx8/cgtqmx8.c
board/congatec/cgtqmx8/spl.c
board/congatec/common/mmc.c
board/congatec/conga-qeval20-qa3-e3845/conga-qeval20-qa3.c
board/coreboot/coreboot/coreboot.c
board/cortina/presidio-asic/presidio.c
board/cssi/cmpcpro/cmpcpro.c
board/d-link/dns325/dns325.c
board/data_modul/common/common.c
board/data_modul/imx8mm_edm_sbc/imx8mm_data_modul_edm_sbc.c
board/data_modul/imx8mm_edm_sbc/spl.c
board/data_modul/imx8mp_edm_sbc/imx8mp_data_modul_edm_sbc.c
board/data_modul/imx8mp_edm_sbc/spl.c
board/davinci/da8xxevm/da850evm.c
board/davinci/da8xxevm/omapl138_lcdk.c
board/dfi/dfi-bt700/dfi-bt700.c
board/dhelectronics/common/dh_common.c
board/dhelectronics/common/dh_imx.c
board/dhelectronics/dh_imx6/dh_imx6.c
board/dhelectronics/dh_imx6/dh_imx6_spl.c
board/dhelectronics/dh_imx8mp/common.c
board/dhelectronics/dh_imx8mp/imx8mp_dhcom_pdk2.c
board/dhelectronics/dh_imx8mp/spl.c
board/dhelectronics/dh_stm32mp1/board.c
board/ea/ea-lpc3250devkitv2/ea-lpc3250devkitv2.c
board/ea/mx7ulp_com/mx7ulp_com.c
board/eets/pdu001/board.c
board/eets/pdu001/mux.c
board/efi/efi-x86_payload/payload.c
board/egnite/ethernut5/ethernut5.c
board/egnite/ethernut5/ethernut5_pwrman.c
board/elgin/elgin_rv1108/elgin_rv1108.c
board/embest/mx6boards/mx6boards.c
board/emulation/common/qemu_dfu.c
board/emulation/common/qemu_mtdparts.c
board/emulation/qemu-arm/qemu-arm.c
board/emulation/qemu-ppce500/qemu-ppce500.c
board/emulation/qemu-riscv/qemu-riscv.c
board/engicam/common/board.c
board/engicam/common/spl.c
board/engicam/imx6q/imx6q.c
board/engicam/imx6ul/imx6ul.c
board/engicam/imx8mm/icore_mx8mm.c
board/engicam/imx8mm/lpddr4_timing.c
board/engicam/imx8mm/spl.c
board/engicam/imx8mp/icore_mx8mp.c
board/engicam/imx8mp/spl.c
board/engicam/stm32mp1/spl.c
board/engicam/stm32mp1/stm32mp1.c
board/esd/meesc/meesc.c
board/firefly/firefly-rk3288/firefly-rk3288.c
board/firefly/firefly-rk3308/roc_cc_rk3308.c
board/firefly/roc-pc-rk3399/roc-pc-rk3399.c
board/freescale/common/cadmus.c
board/freescale/common/cds_pci_ft.c
board/freescale/common/cds_via.c
board/freescale/common/cmd_esbc_validate.c
board/freescale/common/emc2305.c
board/freescale/common/fman.c
board/freescale/common/fsl_chain_of_trust.c
board/freescale/common/fsl_validate.c
board/freescale/common/i2c_common.c
board/freescale/common/i2c_mux.c
board/freescale/common/ics307_clk.c
board/freescale/common/ls102xa_stream_id.c
board/freescale/common/mc34vr500.c
board/freescale/common/mmc.c
board/freescale/common/ngpixis.c
board/freescale/common/ns_access.c
board/freescale/common/p_corenet/law.c
board/freescale/common/p_corenet/tlb.c
board/freescale/common/pfuze.c
board/freescale/common/qixis.c
board/freescale/common/sdhc_boot.c
board/freescale/common/sys_eeprom.c
board/freescale/common/vid.c
board/freescale/imx8mm_evk/imx8mm_evk.c
board/freescale/imx8mm_evk/spl.c
board/freescale/imx8mn_evk/imx8mn_evk.c
board/freescale/imx8mn_evk/spl.c
board/freescale/imx8mp_evk/spl.c
board/freescale/imx8mq_evk/imx8mq_evk.c
board/freescale/imx8mq_evk/lpddr4_timing.c
board/freescale/imx8mq_evk/lpddr4_timing_b0.c
board/freescale/imx8mq_evk/spl.c
board/freescale/imx8qm_mek/imx8qm_mek.c
board/freescale/imx8qm_mek/spl.c
board/freescale/imx8qxp_mek/imx8qxp_mek.c
board/freescale/imx8qxp_mek/spl.c
board/freescale/imx8ulp_evk/imx8ulp_evk.c
board/freescale/imx8ulp_evk/spl.c
board/freescale/imx93_evk/imx93_evk.c
board/freescale/imx93_evk/spl.c
board/freescale/imxrt1020-evk/imxrt1020-evk.c
board/freescale/imxrt1050-evk/imxrt1050-evk.c
board/freescale/imxrt1170-evk/imxrt1170-evk.c
board/freescale/ls1012afrdm/eth.c
board/freescale/ls1012afrdm/ls1012afrdm.c
board/freescale/ls1012aqds/eth.c
board/freescale/ls1012aqds/ls1012aqds.c
board/freescale/ls1012ardb/eth.c
board/freescale/ls1012ardb/ls1012ardb.c
board/freescale/ls1021aiot/ls1021aiot.c
board/freescale/ls1021aqds/ddr.c
board/freescale/ls1028a/ddr.c
board/freescale/ls1028a/ls1028a.c
board/freescale/ls1043aqds/ddr.c
board/freescale/ls1043aqds/eth.c
board/freescale/ls1043aqds/ls1043aqds.c
board/freescale/ls1043ardb/cpld.c
board/freescale/ls1043ardb/ddr.c
board/freescale/ls1043ardb/eth.c
board/freescale/ls1046afrwy/ddr.c
board/freescale/ls1046afrwy/eth.c
board/freescale/ls1046afrwy/ls1046afrwy.c
board/freescale/ls1046aqds/ddr.c
board/freescale/ls1046aqds/eth.c
board/freescale/ls1046aqds/ls1046aqds.c
board/freescale/ls1046ardb/cpld.c
board/freescale/ls1046ardb/ddr.c
board/freescale/ls1046ardb/eth.c
board/freescale/ls1046ardb/ls1046ardb.c
board/freescale/ls1088a/ddr.c
board/freescale/ls1088a/ls1088a.c
board/freescale/ls2080aqds/ddr.c
board/freescale/ls2080aqds/ls2080aqds.c
board/freescale/ls2080ardb/ddr.c
board/freescale/ls2080ardb/ls2080ardb.c
board/freescale/lx2160a/ddr.c
board/freescale/lx2160a/eth_lx2160ardb.c
board/freescale/lx2160a/lx2160a.c
board/freescale/m5208evbe/m5208evbe.c
board/freescale/m5235evb/m5235evb.c
board/freescale/m5249evb/m5249evb.c
board/freescale/m5253demo/flash.c
board/freescale/m5253demo/m5253demo.c
board/freescale/m5272c3/m5272c3.c
board/freescale/m5275evb/m5275evb.c
board/freescale/m5282evb/m5282evb.c
board/freescale/m53017evb/m53017evb.c
board/freescale/m5329evb/m5329evb.c
board/freescale/m5329evb/nand.c
board/freescale/m5373evb/m5373evb.c
board/freescale/m5373evb/nand.c
board/freescale/mpc837xerdb/mpc837xerdb.c
board/freescale/mpc8548cds/ddr.c
board/freescale/mpc8548cds/law.c
board/freescale/mpc8548cds/mpc8548cds.c
board/freescale/mpc8548cds/tlb.c
board/freescale/mx23evk/mx23evk.c
board/freescale/mx23evk/spl_boot.c
board/freescale/mx28evk/iomux.c
board/freescale/mx28evk/mx28evk.c
board/freescale/mx51evk/mx51evk.c
board/freescale/mx53loco/mx53loco.c
board/freescale/mx6memcal/mx6memcal.c
board/freescale/mx6memcal/spl.c
board/freescale/mx6sabreauto/mx6sabreauto.c
board/freescale/mx6slevk/mx6slevk.c
board/freescale/mx6sllevk/mx6sllevk.c
board/freescale/mx6sxsabreauto/mx6sxsabreauto.c
board/freescale/mx6sxsabresd/mx6sxsabresd.c
board/freescale/mx6ul_14x14_evk/mx6ul_14x14_evk.c
board/freescale/mx6ullevk/mx6ullevk.c
board/freescale/mx7dsabresd/mx7dsabresd.c
board/freescale/mx7ulp_evk/mx7ulp_evk.c
board/freescale/p1010rdb/ddr.c
board/freescale/p1010rdb/law.c
board/freescale/p1010rdb/p1010rdb.c
board/freescale/p1010rdb/spl.c
board/freescale/p1010rdb/spl_minimal.c
board/freescale/p1010rdb/tlb.c
board/freescale/p1_p2_rdb_pc/ddr.c
board/freescale/p1_p2_rdb_pc/law.c
board/freescale/p1_p2_rdb_pc/p1_p2_rdb_pc.c
board/freescale/p1_p2_rdb_pc/spl.c
board/freescale/p1_p2_rdb_pc/spl_minimal.c
board/freescale/p1_p2_rdb_pc/tlb.c
board/freescale/p2041rdb/cpld.c
board/freescale/p2041rdb/ddr.c
board/freescale/p2041rdb/eth.c
board/freescale/p2041rdb/p2041rdb.c
board/freescale/t102xrdb/cpld.c
board/freescale/t102xrdb/ddr.c
board/freescale/t102xrdb/eth_t102xrdb.c
board/freescale/t102xrdb/law.c
board/freescale/t102xrdb/spl.c
board/freescale/t102xrdb/t102xrdb.c
board/freescale/t102xrdb/tlb.c
board/freescale/t104xrdb/cpld.c
board/freescale/t104xrdb/ddr.c
board/freescale/t104xrdb/eth.c
board/freescale/t104xrdb/law.c
board/freescale/t104xrdb/spl.c
board/freescale/t104xrdb/t104xrdb.c
board/freescale/t104xrdb/tlb.c
board/freescale/t208xqds/ddr.c
board/freescale/t208xqds/eth_t208xqds.c
board/freescale/t208xqds/law.c
board/freescale/t208xqds/spl.c
board/freescale/t208xqds/t208xqds.c
board/freescale/t208xqds/tlb.c
board/freescale/t208xrdb/cpld.c
board/freescale/t208xrdb/ddr.c
board/freescale/t208xrdb/eth_t208xrdb.c
board/freescale/t208xrdb/law.c
board/freescale/t208xrdb/spl.c
board/freescale/t208xrdb/t208xrdb.c
board/freescale/t208xrdb/tlb.c
board/freescale/t4rdb/cpld.c
board/freescale/t4rdb/ddr.c
board/freescale/t4rdb/eth.c
board/freescale/t4rdb/law.c
board/freescale/t4rdb/spl.c
board/freescale/t4rdb/t4240rdb.c
board/freescale/t4rdb/tlb.c
board/freescale/vf610twr/vf610twr.c
board/friendlyarm/nanopi2/board.c
board/friendlyarm/nanopi2/hwrev.c
board/friendlyarm/nanopi2/lcds.c
board/friendlyarm/nanopi2/onewire.c
board/gardena/smart-gateway-at91sam/board.c
board/gardena/smart-gateway-at91sam/spl.c
board/gardena/smart-gateway-mt7688/board.c
board/gateworks/gw_ventana/common.c
board/gateworks/gw_ventana/eeprom.c
board/gateworks/gw_ventana/gw_ventana.c
board/gateworks/gw_ventana/gw_ventana_spl.c
board/gateworks/venice/eeprom.c
board/gateworks/venice/lpddr4_timing_imx8mm.c
board/gateworks/venice/spl.c
board/gdsys/a38x/controlcenterdc.c
board/gdsys/a38x/dt_helpers.c
board/gdsys/a38x/hre.c
board/gdsys/a38x/hydra.c
board/gdsys/a38x/ihs_phys.c
board/gdsys/a38x/keyprogram.c
board/gdsys/common/cmd_ioloop.c
board/gdsys/common/dp501.c
board/gdsys/common/ihs_mdio.c
board/gdsys/common/ioep-fpga.c
board/gdsys/common/osd.c
board/gdsys/common/osd_cmd.c
board/gdsys/mpc8308/gazerbeam.c
board/gdsys/mpc8308/mpc8308.c
board/gdsys/mpc8308/sdram.c
board/ge/b1x5v2/b1x5v2.c
board/ge/common/ge_rtc.c
board/ge/common/vpd_reader.h
board/ge/mx53ppd/mx53ppd.c
board/ge/mx53ppd/mx53ppd_video.c
board/google/chromebook_coral/coral.c
board/google/imx8mq_phanbell/imx8mq_phanbell.c
board/google/imx8mq_phanbell/spl.c
board/google/veyron/veyron.c
board/grinn/chiliboard/board.c
board/grinn/liteboard/board.c
board/highbank/ahci.c
board/highbank/hb_sregs.c
board/highbank/highbank.c
board/hisilicon/hikey/hikey.c
board/hisilicon/hikey960/hikey960.c
board/hisilicon/poplar/poplar.c
board/hoperun/hihope-rzg2/hihope-rzg2.c
board/imgtec/boston/checkboard.c
board/imgtec/boston/ddr.c
board/imgtec/boston/dt.c
board/imgtec/ci20/ci20.c
board/imgtec/malta/superio.c
board/imgtec/xilfpga/xilfpga.c
board/intel/cherryhill/cherryhill.c
board/intel/cougarcanyon2/cougarcanyon2.c
board/intel/crownbay/crownbay.c
board/intel/edison/edison.c
board/intel/galileo/galileo.c
board/intel/minnowmax/minnowmax.c
board/intel/slimbootloader/slimbootloader.c
board/inversepath/usbarmory/usbarmory.c
board/iomega/iconnect/iconnect.c
board/isee/igep003x/board.c
board/isee/igep003x/mux.c
board/isee/igep00x0/common.c
board/isee/igep00x0/igep00x0.c
board/k+p/kp_imx53/kp_id_rev.c
board/k+p/kp_imx53/kp_imx53.c
board/k+p/kp_imx6q_tpc/kp_imx6q_tpc.c
board/k+p/kp_imx6q_tpc/kp_imx6q_tpc_spl.c
board/keymile/common/common.c
board/keymile/common/ivm.c
board/keymile/common/qrio.c
board/keymile/km83xx/km83xx.c
board/keymile/kmcent2/tlb.c
board/keymile/pg-wcom-ls102xa/ddr.c
board/keymile/secu1/socfpga.c
board/kobol/helios4/helios4.c
board/kontron/pitx_imx8m/pitx_imx8m.c
board/kontron/pitx_imx8m/spl.c
board/kontron/sl-mx8mm/lpddr4_timing.c
board/kontron/sl28/cmds.c
board/kontron/sl28/common.c
board/kontron/sl28/ddr.c
board/kontron/sl28/sl28.c
board/kontron/sl28/spl.c
board/kontron/sl28/spl_atf.c
board/kosagi/novena/novena.c
board/kosagi/novena/novena_spl.c
board/kosagi/novena/video.c
board/l+g/vinco/vinco.c
board/lego/ev3/legoev3.c
board/lg/sniper/sniper.c
board/liebherr/display5/display5.c
board/liebherr/display5/spl.c
board/liebherr/mccmon6/mccmon6.c
board/liebherr/xea/spl_xea.c
board/liebherr/xea/xea.c
board/logicpd/am3517evm/am3517evm.c
board/logicpd/imx6/imx6logic.c
board/logicpd/omap3som/omap3logic.c
board/maxbcm/maxbcm.c
board/mediatek/mt7622/mt7622_rfb.c
board/mediatek/mt7623/mt7623_rfb.c
board/mediatek/mt7629/mt7629_rfb.c
board/mediatek/mt8183/mt8183_pumpkin.c
board/mediatek/mt8512/mt8512.c
board/mediatek/mt8516/mt8516_pumpkin.c
board/mediatek/mt8518/mt8518_ap1.c
board/menlo/m53menlo/m53menlo.c
board/menlo/mx8menlo/mx8menlo.c
board/microchip/mpfs_icicle/mpfs_icicle.c
board/microchip/pic32mzda/pic32mzda.c
board/mikrotik/crs3xx-98dx3236/crs3xx-98dx3236.c
board/mntre/imx8mq_reform2/imx8mq_reform2.c
board/mntre/imx8mq_reform2/spl.c
board/msc/sm2s_imx8mp/sm2s_imx8mp.c
board/msc/sm2s_imx8mp/spl.c
board/mscc/common/spi.c
board/mscc/jr2/jr2.c
board/mscc/luton/luton.c
board/mscc/ocelot/ocelot.c
board/mscc/serval/serval.c
board/mscc/servalt/servalt.c
board/myir/mys_6ulx/spl.c
board/netgear/dgnd3700v2/dgnd3700v2.c
board/novtech/meerkat96/meerkat96.c
board/nuvoton/arbel_evb/arbel_evb.c
board/nuvoton/poleg_evb/poleg_evb.c
board/nvidia/beaver/beaver-spl.c
board/nvidia/cardhu/cardhu-spl.c
board/nvidia/cardhu/cardhu.c
board/nvidia/dalmore/dalmore.c
board/nvidia/harmony/harmony.c
board/nvidia/jetson-tk1/jetson-tk1.c
board/nvidia/nyan-big/nyan-big.c
board/nvidia/p2371-0000/p2371-0000.c
board/nvidia/p2371-2180/p2371-2180.c
board/nvidia/p2571/p2571.c
board/nvidia/p2771-0000/p2771-0000.c
board/nvidia/p3450-0000/p3450-0000.c
board/nvidia/seaboard/seaboard.c
board/nvidia/venice2/as3722_init.c
board/nvidia/venice2/venice2.c
board/olimex/mx23_olinuxino/mx23_olinuxino.c
board/olimex/mx23_olinuxino/spl_boot.c
board/openpiton/riscv64/openpiton-riscv64.c
board/out4/o4-imx6ull-nano/o4-imx6ull-nano.c
board/phytec/common/Makefile
board/phytec/common/imx8m_som_detection.c
board/phytec/common/k3/Makefile [new file with mode: 0644]
board/phytec/common/k3/board.c [new file with mode: 0644]
board/phytec/common/phytec_som_detection.c
board/phytec/pcl063/spl.c
board/phytec/pcm052/pcm052.c
board/phytec/pcm058/pcm058.c
board/phytec/phycore_am335x_r2/board.c
board/phytec/phycore_am335x_r2/mux.c
board/phytec/phycore_am62x/phycore-am62x.c
board/phytec/phycore_imx8mm/phycore-imx8mm.c
board/phytec/phycore_imx8mm/spl.c
board/phytec/phycore_imx8mp/phycore-imx8mp.c
board/phytec/phycore_imx8mp/spl.c
board/phytec/phycore_rk3288/phycore-rk3288.c
board/phytium/durian/durian.c
board/phytium/pe2201/pe2201.c
board/phytium/pomelo/pomelo.c
board/polyhex/imx8mp_debix_model_a/imx8mp_debix_model_a.c
board/polyhex/imx8mp_debix_model_a/spl.c
board/purism/librem5/librem5.c
board/purism/librem5/lpddr4_timing.c
board/purism/librem5/lpddr4_timing_b0.c
board/purism/librem5/spl.c
board/qca/ap121/ap121.c
board/qca/ap143/ap143.c
board/qca/ap152/ap152.c
board/qualcomm/dragonboard410c/dragonboard410c.c
board/qualcomm/dragonboard820c/dragonboard820c.c
board/raidsonic/ib62x0/ib62x0.c
board/raspberrypi/rpi/rpi.c
board/renesas/falcon/falcon.c
board/renesas/grpeach/grpeach.c
board/rockchip/evb_rk3036/evb_rk3036.c
board/rockchip/evb_rk3308/evb_rk3308.c
board/rockchip/evb_rv1108/evb_rv1108.c
board/rockchip/kylin_rk3036/kylin_rk3036.c
board/rockchip/tinker_rk3288/tinker-rk3288.c
board/ronetix/imx7-cm/imx7-cm.c
board/ronetix/imx7-cm/spl.c
board/ronetix/imx8mq-cm/imx8mq_cm.c
board/ronetix/imx8mq-cm/lpddr4_timing.c
board/ronetix/imx8mq-cm/spl.c
board/ronetix/pm9261/pm9261.c
board/ronetix/pm9263/pm9263.c
board/ronetix/pm9g45/pm9g45.c
board/samsung/arndale/arndale.c
board/samsung/arndale/arndale_spl.c
board/samsung/common/board.c
board/samsung/common/exynos5-dt-types.c
board/samsung/common/exynos5-dt.c
board/samsung/common/gadget.c
board/samsung/common/misc.c
board/samsung/common/sromc.c
board/samsung/goni/goni.c
board/samsung/goni/onenand.c
board/samsung/odroid/odroid.c
board/samsung/origen/origen.c
board/samsung/smdk5250/smdk5250_spl.c
board/samsung/smdk5420/smdk5420_spl.c
board/samsung/smdkc100/onenand.c
board/samsung/smdkc100/smdkc100.c
board/samsung/smdkv310/smdkv310.c
board/samsung/trats/trats.c
board/samsung/trats2/trats2.c
board/samsung/universal_c210/onenand.c
board/samsung/universal_c210/universal.c
board/schneider/rzn1-snarc/rzn1.c
board/seeed/linkit-smart-7688/board.c
board/seeed/npi_imx6ull/spl.c
board/siemens/capricorn/board.c
board/siemens/capricorn/spl.c
board/siemens/corvus/board.c
board/siemens/iot2050/board.c
board/siemens/smartweb/smartweb.c
board/siemens/taurus/taurus.c
board/silinux/ek874/ek874.c
board/sipeed/maix/maix.c
board/skyworth/hc2910-2aghd05/hc2910-2aghd05.c
board/socionext/developerbox/developerbox.c
board/socrates/ddr.c
board/socrates/law.c
board/socrates/nand.c
board/socrates/sdram.c
board/socrates/socrates.c
board/socrates/tlb.c
board/softing/vining_2000/vining_2000.c
board/softing/vining_fpga/socfpga.c
board/solidrun/clearfog/clearfog.c
board/solidrun/common/tlv_data.c
board/solidrun/mx6cuboxi/mx6cuboxi.c
board/somlabs/visionsom-6ull/visionsom-6ull.c
board/sr1500/socfpga.c
board/st/common/cmd_stboard.c
board/st/common/stm32mp_dfu.c
board/st/common/stm32mp_dfu_virt.c
board/st/common/stpmic1.c
board/st/common/stusb160x.c
board/st/stih410-b2260/board.c
board/st/stm32f429-discovery/led.c
board/st/stm32f429-discovery/stm32f429-discovery.c
board/st/stm32f429-evaluation/stm32f429-evaluation.c
board/st/stm32f469-discovery/stm32f469-discovery.c
board/st/stm32f746-disco/stm32f746-disco.c
board/st/stm32h743-disco/stm32h743-disco.c
board/st/stm32h743-eval/stm32h743-eval.c
board/st/stm32h750-art-pi/stm32h750-art-pi.c
board/st/stm32mp1/spl.c
board/st/stm32mp1/stm32mp1.c
board/ste/stemmy/stemmy.c
board/storopack/smegw01/smegw01.c
board/sunxi/board.c
board/sunxi/chip.c
board/sunxi/dram_sun4i_auto.c
board/sunxi/dram_sun5i_auto.c
board/sunxi/gmac.c
board/sysam/amcore/amcore.c
board/sysam/stmark2/stmark2.c
board/tcl/sl50/board.c
board/tcl/sl50/mux.c
board/technexion/pico-imx6/pico-imx6.c
board/technexion/pico-imx6/spl.c
board/technexion/pico-imx6ul/pico-imx6ul.c
board/technexion/pico-imx6ul/spl.c
board/technexion/pico-imx7d/pico-imx7d.c
board/technexion/pico-imx7d/spl.c
board/technexion/pico-imx8mq/lpddr4_timing_1gb.c
board/technexion/pico-imx8mq/lpddr4_timing_2gb.c
board/technexion/pico-imx8mq/lpddr4_timing_3gb.c
board/technexion/pico-imx8mq/lpddr4_timing_4gb.c
board/technexion/pico-imx8mq/pico-imx8mq.c
board/technexion/pico-imx8mq/spl.c
board/terasic/de1-soc/socfpga.c
board/thead/th1520_lpi4a/board.c
board/theadorable/fpga.c
board/theadorable/theadorable.c
board/ti/am335x/board.c
board/ti/am335x/board.h
board/ti/am335x/mux.c
board/ti/am43xx/board.c
board/ti/am43xx/board.h
board/ti/am43xx/mux.c
board/ti/am57xx/board.c
board/ti/common/board_detect.c
board/ti/common/cape_detect.c
board/ti/dra7xx/evm.c
board/ti/ks2_evm/board.c
board/ti/ks2_evm/board_k2e.c
board/ti/ks2_evm/board_k2g.c
board/ti/ks2_evm/board_k2hk.c
board/ti/ks2_evm/board_k2l.c
board/ti/ks2_evm/ddr3_cfg.c
board/ti/ks2_evm/ddr3_k2e.c
board/ti/ks2_evm/ddr3_k2g.c
board/ti/ks2_evm/ddr3_k2hk.c
board/ti/ks2_evm/ddr3_k2l.c
board/ti/omap3evm/evm.c
board/ti/panda/panda.c
board/ti/sdp4430/cmd_bat.c
board/ti/sdp4430/sdp.c
board/timll/devkit3250/devkit3250.c
board/timll/devkit3250/devkit3250_spl.c
board/timll/devkit8000/devkit8000.c
board/toradex/apalis-imx8/apalis-imx8.c
board/toradex/apalis-tk1/apalis-tk1.c
board/toradex/apalis-tk1/as3722_init.c
board/toradex/apalis_imx6/apalis_imx6.c
board/toradex/apalis_imx6/do_fuse.c
board/toradex/apalis_imx6/pf0100.c
board/toradex/apalis_t30/apalis_t30-spl.c
board/toradex/apalis_t30/apalis_t30.c
board/toradex/colibri-imx6ull/colibri-imx6ull.c
board/toradex/colibri-imx8x/colibri-imx8x.c
board/toradex/colibri_imx6/colibri_imx6.c
board/toradex/colibri_imx6/do_fuse.c
board/toradex/colibri_imx6/pf0100.c
board/toradex/colibri_imx7/colibri_imx7.c
board/toradex/colibri_t20/colibri_t20.c
board/toradex/colibri_t30/colibri_t30-spl.c
board/toradex/colibri_t30/colibri_t30.c
board/toradex/colibri_vf/colibri_vf.c
board/toradex/common/tdx-cfg-block.c
board/toradex/common/tdx-common.c
board/toradex/verdin-imx8mm/spl.c
board/toradex/verdin-imx8mm/verdin-imx8mm.c
board/toradex/verdin-imx8mp/spl.c
board/toradex/verdin-imx8mp/verdin-imx8mp.c
board/tplink/wdr4300/wdr4300.c
board/tq/tqma6/tqma6.c
board/tq/tqma6/tqma6_mba6.c
board/tq/tqma6/tqma6_wru4.c
board/traverse/common/ten64_controller.c
board/traverse/ten64/eth_ten64.c
board/traverse/ten64/ten64.c
board/udoo/neo/neo.c
board/udoo/udoo_spl.c
board/variscite/dart_6ul/spl.c
board/variscite/imx8mn_var_som/imx8mn_var_som.c
board/vscom/baltos/board.c
board/vscom/baltos/mux.c
board/wandboard/spl.c
board/wandboard/wandboard.c
board/warp7/warp7.c
board/work-microwave/work_92105/work_92105.c
board/work-microwave/work_92105/work_92105_display.c
board/work-microwave/work_92105/work_92105_spl.c
board/xen/xenguest_arm64/xenguest_arm64.c
board/xilinx/common/board.c
board/xilinx/common/cpu-info.c
board/xilinx/common/fru.c
board/xilinx/common/fru_ops.c
board/xilinx/versal-net/board.c
board/xilinx/versal-net/cmds.c
board/xilinx/versal/board.c
board/xilinx/versal/cmds.c
board/xilinx/zynq/board.c
board/xilinx/zynq/bootimg.c
board/xilinx/zynq/cmds.c
board/xilinx/zynqmp/cmds.c
board/xilinx/zynqmp/zynqmp.c
board/xilinx/zynqmp_r5/board.c
board/zyxel/nsa310s/nsa310s.c
board/zyxel/nsa325/nsa325.c
boot/android_ab.c
boot/boot_fit.c
boot/bootdev-uclass.c
boot/bootflow.c
boot/bootflow_menu.c
boot/bootm.c
boot/bootm_os.c
boot/bootmeth-uclass.c
boot/bootmeth_cros.c
boot/bootmeth_efi.c
boot/bootmeth_efi_mgr.c
boot/bootmeth_extlinux.c
boot/bootmeth_pxe.c
boot/bootmeth_qfw.c
boot/bootmeth_sandbox.c
boot/bootmeth_script.c
boot/bootretry.c
boot/bootstd-uclass.c
boot/cedit.c
boot/common_fit.c
boot/expo.c
boot/expo_build.c
boot/fdt_simplefb.c
boot/fdt_support.c
boot/image-android-dt.c
boot/image-android.c
boot/image-board.c
boot/image-cipher.c
boot/image-fdt.c
boot/image-fit-sig.c
boot/image-fit.c
boot/image-pre-load.c
boot/image-sig.c
boot/image.c
boot/pxe_utils.c
boot/scene.c
boot/scene_menu.c
boot/scene_textline.c
boot/vbe.c
boot/vbe_request.c
boot/vbe_simple.c
boot/vbe_simple_fw.c
boot/vbe_simple_os.c
cmd/2048.c
cmd/Kconfig
cmd/ab_select.c
cmd/abootimg.c
cmd/acpi.c
cmd/adc.c
cmd/addrmap.c
cmd/adtimg.c
cmd/aes.c
cmd/arm/exception64.c
cmd/armffa.c
cmd/armflash.c
cmd/axi.c
cmd/bcb.c
cmd/bdinfo.c
cmd/bind.c
cmd/binop.c
cmd/blk_common.c
cmd/blkcache.c
cmd/blkmap.c
cmd/blob.c
cmd/bloblist.c
cmd/bmp.c
cmd/boot.c
cmd/bootcount.c
cmd/bootdev.c
cmd/bootflow.c
cmd/booti.c
cmd/bootm.c
cmd/bootmenu.c
cmd/bootmeth.c
cmd/bootstage.c
cmd/bootz.c
cmd/broadcom/chimp_boot.c
cmd/broadcom/chimp_handshake.c
cmd/broadcom/nitro_image_load.c
cmd/btrfs.c
cmd/button.c
cmd/cache.c
cmd/cat.c
cmd/cbfs.c
cmd/cedit.c
cmd/clk.c
cmd/clone.c
cmd/cls.c
cmd/config.c
cmd/conitrace.c
cmd/console.c
cmd/cpu.c
cmd/cramfs.c
cmd/cros_ec.c
cmd/cyclic.c
cmd/date.c
cmd/demo.c
cmd/dfu.c
cmd/diag.c
cmd/disk.c
cmd/dm.c
cmd/echo.c
cmd/eeprom.c
cmd/efi.c
cmd/efi_common.c
cmd/eficonfig.c
cmd/eficonfig_sbkey.c
cmd/efidebug.c
cmd/elf.c
cmd/ethsw.c
cmd/event.c
cmd/exit.c
cmd/ext2.c
cmd/ext4.c
cmd/extension_board.c
cmd/fastboot.c
cmd/fat.c
cmd/fdt.c
cmd/flash.c
cmd/font.c
cmd/fpga.c
cmd/fpgad.c
cmd/fs.c
cmd/fs_uuid.c
cmd/fuse.c
cmd/gettime.c
cmd/gpio.c
cmd/gpt.c
cmd/hash.c
cmd/help.c
cmd/history.c
cmd/host.c
cmd/i2c.c
cmd/ide.c
cmd/ini.c
cmd/io.c
cmd/iotrace.c
cmd/irq.c
cmd/itest.c
cmd/jffs2.c
cmd/kaslrseed.c
cmd/led.c
cmd/legacy-mtd-utils.c
cmd/legacy_led.c
cmd/license.c
cmd/load.c
cmd/log.c
cmd/lsblk.c
cmd/lzmadec.c
cmd/mbr.c
cmd/mdio.c
cmd/mem.c
cmd/meson/sm.c
cmd/mii.c
cmd/misc.c
cmd/mmc.c
cmd/mp.c
cmd/mtd.c
cmd/mtdparts.c
cmd/mux.c
cmd/mvebu/bubt.c
cmd/mvebu/comphy_rx_training.c
cmd/nand.c
cmd/net.c
cmd/nvedit.c
cmd/nvedit_efi.c
cmd/nvme.c
cmd/onenand.c
cmd/optee_rpmb.c
cmd/osd.c
cmd/panic.c
cmd/part.c
cmd/pcap.c
cmd/pci.c
cmd/pci_mps.c
cmd/pinmux.c
cmd/pmc.c
cmd/pmic.c
cmd/printf.c
cmd/pvblock.c
cmd/pxe.c
cmd/qfw.c
cmd/read.c
cmd/reginfo.c
cmd/regulator.c
cmd/remoteproc.c
cmd/riscv/sbi.c
cmd/rkmtd.c
cmd/rng.c
cmd/rockusb.c
cmd/rtc.c
cmd/sata.c
cmd/sb.c
cmd/scp03.c
cmd/scsi.c
cmd/seama.c
cmd/setexpr.c
cmd/sf.c
cmd/sha1sum.c
cmd/sleep.c
cmd/smccc.c
cmd/sound.c
cmd/source.c
cmd/spi.c
cmd/spl.c
cmd/stackprot_test.c
cmd/strings.c
cmd/sysboot.c
cmd/temperature.c
cmd/terminal.c
cmd/test.c
cmd/thordown.c
cmd/ti/ddr3.c
cmd/ti/pd.c
cmd/time.c
cmd/timer.c
cmd/tlv_eeprom.c
cmd/tpm-common.c
cmd/tpm-v1.c
cmd/tpm-v2.c
cmd/tpm_test.c
cmd/trace.c
cmd/tsi148.c
cmd/ubi.c
cmd/ubifs.c
cmd/ufs.c
cmd/universe.c
cmd/unlz4.c
cmd/unzip.c
cmd/usb.c
cmd/usb_gadget_sdp.c
cmd/usb_mass_storage.c
cmd/vbe.c
cmd/version.c
cmd/video.c
cmd/virtio.c
cmd/w1.c
cmd/wdt.c
cmd/wol.c
cmd/x86/cbsysinfo.c
cmd/x86/fsp.c
cmd/x86/hob.c
cmd/x86/mtrr.c
cmd/ximg.c
cmd/xxd.c
cmd/yaffs2.c
cmd/zfs.c
cmd/zip.c
common/autoboot.c
common/bloblist.c
common/board_f.c
common/board_info.c
common/board_r.c
common/bootstage.c
common/bouncebuf.c
common/cli.c
common/cli_getch.c
common/cli_hush.c
common/cli_readline.c
common/cli_simple.c
common/command.c
common/console.c
common/cros_ec.c
common/ddr_spd.c
common/dfu.c
common/dlmalloc.c
common/edid.c
common/eeprom/eeprom_field.c
common/eeprom/eeprom_layout.c
common/event.c
common/exports.c
common/flash.c
common/hash.c
common/hwconfig.c
common/init/board_init.c
common/init/handoff.c
common/iomux.c
common/iotrace.c
common/kallsyms.c
common/kgdb.c
common/kgdb_stubs.c
common/log.c
common/log_console.c
common/log_syslog.c
common/main.c
common/malloc_simple.c
common/memsize.c
common/menu.c
common/miiphyutil.c
common/s_record.c
common/scp03.c
common/spl/spl.c
common/spl/spl_atf.c
common/spl/spl_blk_fs.c
common/spl/spl_bootrom.c
common/spl/spl_dfu.c
common/spl/spl_ext.c
common/spl/spl_fat.c
common/spl/spl_fit.c
common/spl/spl_imx_container.c
common/spl/spl_legacy.c
common/spl/spl_mmc.c
common/spl/spl_nand.c
common/spl/spl_net.c
common/spl/spl_nor.c
common/spl/spl_nvme.c
common/spl/spl_onenand.c
common/spl/spl_opensbi.c
common/spl/spl_ram.c
common/spl/spl_sata.c
common/spl/spl_sdp.c
common/spl/spl_semihosting.c
common/spl/spl_spi.c
common/spl/spl_ubi.c
common/spl/spl_usb.c
common/spl/spl_xip.c
common/spl/spl_ymodem.c
common/splash.c
common/splash_source.c
common/stackprot.c
common/stdio.c
common/update.c
common/usb.c
common/usb_hub.c
common/usb_kbd.c
common/usb_onboard_hub.c
common/usb_storage.c
common/xyzModem.c
configs/phycore_am64x_a53_defconfig
disk/disk-uclass.c
disk/part.c
disk/part_amiga.c
disk/part_dos.c
disk/part_efi.c
disk/part_iso.c
disk/part_mac.c
doc/develop/codingstyle.rst
doc/develop/tests_writing.rst
drivers/adc/adc-uclass.c
drivers/adc/exynos-adc.c
drivers/adc/imx93-adc.c
drivers/adc/meson-saradc.c
drivers/adc/rockchip-saradc.c
drivers/adc/sandbox.c
drivers/adc/stm32-adc-core.c
drivers/adc/stm32-adc.c
drivers/ata/ahci-pci.c
drivers/ata/ahci-uclass.c
drivers/ata/ahci.c
drivers/ata/ahci_mvebu.c
drivers/ata/ahci_sunxi.c
drivers/ata/dwc_ahci.c
drivers/ata/dwc_ahsata.c
drivers/ata/fsl_sata.c
drivers/ata/libata.c
drivers/ata/mtk_ahci.c
drivers/ata/sata.c
drivers/ata/sata_bootdev.c
drivers/ata/sata_ceva.c
drivers/ata/sata_mv.c
drivers/ata/sata_sil.c
drivers/axi/axi-emul-uclass.c
drivers/axi/axi-uclass.c
drivers/axi/axi_sandbox.c
drivers/axi/ihs_axi.c
drivers/axi/sandbox_store.c
drivers/bios_emulator/atibios.c
drivers/bios_emulator/besys.c
drivers/bios_emulator/bios.c
drivers/bios_emulator/biosemu.c
drivers/bios_emulator/x86emu/debug.c
drivers/bios_emulator/x86emu/decode.c
drivers/bios_emulator/x86emu/ops.c
drivers/bios_emulator/x86emu/ops2.c
drivers/bios_emulator/x86emu/prim_ops.c
drivers/bios_emulator/x86emu/sys.c
drivers/block/blk-uclass.c
drivers/block/blk_legacy.c
drivers/block/blkcache.c
drivers/block/blkmap.c
drivers/block/efi-media-uclass.c
drivers/block/efi_blk.c
drivers/block/host-uclass.c
drivers/block/host_dev.c
drivers/block/ide.c
drivers/block/sandbox.c
drivers/block/sb_efi_media.c
drivers/bootcount/bootcount-uclass.c
drivers/bootcount/bootcount_at91.c
drivers/bootcount/bootcount_env.c
drivers/bootcount/bootcount_ram.c
drivers/bootcount/bootcount_syscon.c
drivers/bootcount/i2c-eeprom.c
drivers/bootcount/pmic_pfuze100.c
drivers/bootcount/rtc.c
drivers/bootcount/spi-flash.c
drivers/bus/ti-pwmss.c
drivers/bus/ti-sysc.c
drivers/button/button-adc.c
drivers/button/button-gpio.c
drivers/button/button-uclass.c
drivers/cache/cache-andes-l2.c
drivers/cache/cache-l2x0.c
drivers/cache/cache-sifive-ccache.c
drivers/cache/cache-uclass.c
drivers/cache/sandbox_cache.c
drivers/clk/Kconfig
drivers/clk/Makefile
drivers/clk/adi/Kconfig [new file with mode: 0644]
drivers/clk/adi/Makefile [new file with mode: 0644]
drivers/clk/adi/clk-adi-pll.c [new file with mode: 0644]
drivers/clk/adi/clk-adi-sc57x.c [new file with mode: 0644]
drivers/clk/adi/clk-adi-sc58x.c [new file with mode: 0644]
drivers/clk/adi/clk-adi-sc594.c [new file with mode: 0644]
drivers/clk/adi/clk-adi-sc598.c [new file with mode: 0644]
drivers/clk/adi/clk-shared.c [new file with mode: 0644]
drivers/clk/adi/clk.h [new file with mode: 0644]
drivers/clk/altera/clk-agilex.c
drivers/clk/altera/clk-agilex5.c
drivers/clk/altera/clk-arria10.c
drivers/clk/altera/clk-mem-n5x.c
drivers/clk/altera/clk-n5x.c
drivers/clk/aspeed/clk_ast2500.c
drivers/clk/aspeed/clk_ast2600.c
drivers/clk/at91/clk-generic.c
drivers/clk/at91/clk-main.c
drivers/clk/at91/clk-master.c
drivers/clk/at91/clk-peripheral.c
drivers/clk/at91/clk-programmable.c
drivers/clk/at91/clk-sam9x60-pll.c
drivers/clk/at91/clk-system.c
drivers/clk/at91/clk-utmi.c
drivers/clk/at91/compat.c
drivers/clk/at91/pmc.c
drivers/clk/at91/sam9x60.c
drivers/clk/at91/sama7g5.c
drivers/clk/at91/sckc.c
drivers/clk/clk-cdce9xx.c
drivers/clk/clk-composite.c
drivers/clk/clk-divider.c
drivers/clk/clk-fixed-factor.c
drivers/clk/clk-gate.c
drivers/clk/clk-hsdk-cgu.c
drivers/clk/clk-mux.c
drivers/clk/clk-uclass.c
drivers/clk/clk-xlnx-clock-wizard.c
drivers/clk/clk.c
drivers/clk/clk_bcm6345.c
drivers/clk/clk_boston.c
drivers/clk/clk_fixed_factor.c
drivers/clk/clk_fixed_rate.c
drivers/clk/clk_k210.c
drivers/clk/clk_pic32.c
drivers/clk/clk_sandbox.c
drivers/clk/clk_sandbox_ccf.c
drivers/clk/clk_sandbox_test.c
drivers/clk/clk_scmi.c
drivers/clk/clk_versaclock.c
drivers/clk/clk_versal.c
drivers/clk/clk_vexpress_osc.c
drivers/clk/clk_zynq.c
drivers/clk/clk_zynqmp.c
drivers/clk/exynos/clk-exynos7420.c
drivers/clk/ics8n3qv01.c
drivers/clk/imx/clk-composite-8m.c
drivers/clk/imx/clk-composite-93.c
drivers/clk/imx/clk-fracn-gppll.c
drivers/clk/imx/clk-gate-93.c
drivers/clk/imx/clk-gate2.c
drivers/clk/imx/clk-imx6q.c
drivers/clk/imx/clk-imx8.c
drivers/clk/imx/clk-imx8mm.c
drivers/clk/imx/clk-imx8mn.c
drivers/clk/imx/clk-imx8mp.c
drivers/clk/imx/clk-imx8mq.c
drivers/clk/imx/clk-imx8qm.c
drivers/clk/imx/clk-imx8qxp.c
drivers/clk/imx/clk-imx93.c
drivers/clk/imx/clk-imxrt1020.c
drivers/clk/imx/clk-imxrt1050.c
drivers/clk/imx/clk-imxrt1170.c
drivers/clk/imx/clk-pfd.c
drivers/clk/imx/clk-pll14xx.c
drivers/clk/imx/clk-pllv3.c
drivers/clk/intel/clk_intel.c
drivers/clk/mediatek/clk-mt7622.c
drivers/clk/mediatek/clk-mt7623.c
drivers/clk/mediatek/clk-mt7629.c
drivers/clk/mediatek/clk-mt8183.c
drivers/clk/mediatek/clk-mt8512.c
drivers/clk/mediatek/clk-mt8516.c
drivers/clk/mediatek/clk-mt8518.c
drivers/clk/mediatek/clk-mtk.c
drivers/clk/meson/a1.c
drivers/clk/meson/axg-ao.c
drivers/clk/meson/axg.c
drivers/clk/meson/g12a-ao.c
drivers/clk/meson/g12a.c
drivers/clk/meson/gxbb.c
drivers/clk/microchip/mpfs_clk.c
drivers/clk/microchip/mpfs_clk_cfg.c
drivers/clk/microchip/mpfs_clk_msspll.c
drivers/clk/microchip/mpfs_clk_periph.c
drivers/clk/mpc83xx_clk.c
drivers/clk/mtmips/clk-mt7628.c
drivers/clk/mvebu/armada-37xx-periph.c
drivers/clk/mvebu/armada-37xx-tbg.c
drivers/clk/owl/clk_owl.c
drivers/clk/qcom/clock-apq8016.c
drivers/clk/qcom/clock-apq8096.c
drivers/clk/qcom/clock-ipq4019.c
drivers/clk/qcom/clock-qcom.c
drivers/clk/qcom/clock-qcs404.c
drivers/clk/qcom/clock-sdm845.c
drivers/clk/rockchip/clk_pll.c
drivers/clk/rockchip/clk_px30.c
drivers/clk/rockchip/clk_rk3036.c
drivers/clk/rockchip/clk_rk3066.c
drivers/clk/rockchip/clk_rk3128.c
drivers/clk/rockchip/clk_rk3188.c
drivers/clk/rockchip/clk_rk322x.c
drivers/clk/rockchip/clk_rk3288.c
drivers/clk/rockchip/clk_rk3308.c
drivers/clk/rockchip/clk_rk3328.c
drivers/clk/rockchip/clk_rk3368.c
drivers/clk/rockchip/clk_rk3399.c
drivers/clk/rockchip/clk_rk3568.c
drivers/clk/rockchip/clk_rk3588.c
drivers/clk/rockchip/clk_rv1108.c
drivers/clk/rockchip/clk_rv1126.c
drivers/clk/sifive/sifive-prci.c
drivers/clk/starfive/clk-jh7110-pll.c
drivers/clk/starfive/clk-jh7110.c
drivers/clk/stm32/clk-stm32-core.c
drivers/clk/stm32/clk-stm32f.c
drivers/clk/stm32/clk-stm32h7.c
drivers/clk/stm32/clk-stm32mp1.c
drivers/clk/stm32/clk-stm32mp13.c
drivers/clk/sunxi/clk_a10.c
drivers/clk/sunxi/clk_a10s.c
drivers/clk/sunxi/clk_a23.c
drivers/clk/sunxi/clk_a31.c
drivers/clk/sunxi/clk_a64.c
drivers/clk/sunxi/clk_a80.c
drivers/clk/sunxi/clk_a83t.c
drivers/clk/sunxi/clk_d1.c
drivers/clk/sunxi/clk_f1c100s.c
drivers/clk/sunxi/clk_h3.c
drivers/clk/sunxi/clk_h6.c
drivers/clk/sunxi/clk_h616.c
drivers/clk/sunxi/clk_r40.c
drivers/clk/sunxi/clk_sunxi.c
drivers/clk/sunxi/clk_v3s.c
drivers/clk/tegra/tegra-car-clk.c
drivers/clk/tegra/tegra186-clk.c
drivers/clk/ti/clk-am3-dpll-x2.c
drivers/clk/ti/clk-am3-dpll.c
drivers/clk/ti/clk-ctrl.c
drivers/clk/ti/clk-divider.c
drivers/clk/ti/clk-gate.c
drivers/clk/ti/clk-k3-pll.c
drivers/clk/ti/clk-k3.c
drivers/clk/ti/clk-mux.c
drivers/clk/ti/clk-sci.c
drivers/clk/ti/clk.c
drivers/clk/ti/omap4-cm.c
drivers/clk/uniphier/clk-uniphier-core.c
drivers/core/acpi.c
drivers/core/device-remove.c
drivers/core/device.c
drivers/core/devres.c
drivers/core/dump.c
drivers/core/fdtaddr.c
drivers/core/lists.c
drivers/core/of_access.c
drivers/core/of_addr.c
drivers/core/of_extra.c
drivers/core/ofnode.c
drivers/core/read.c
drivers/core/read_extra.c
drivers/core/regmap.c
drivers/core/root.c
drivers/core/simple-bus.c
drivers/core/simple-pm-bus.c
drivers/core/syscon-uclass.c
drivers/core/uclass.c
drivers/core/util.c
drivers/cpu/at91_cpu.c
drivers/cpu/bmips_cpu.c
drivers/cpu/cpu-uclass.c
drivers/cpu/cpu_sandbox.c
drivers/cpu/imx8_cpu.c
drivers/cpu/microblaze_cpu.c
drivers/cpu/mpc83xx_cpu.c
drivers/cpu/riscv_cpu.c
drivers/crypto/ace_sha.c
drivers/crypto/ace_sha.h
drivers/crypto/aspeed/aspeed_acry.c
drivers/crypto/aspeed/aspeed_hace.c
drivers/crypto/fsl/dcp_rng.c
drivers/crypto/fsl/error.c
drivers/crypto/fsl/fsl_blob.c
drivers/crypto/fsl/fsl_hash.c
drivers/crypto/fsl/fsl_mfgprot.c
drivers/crypto/fsl/fsl_rsa.c
drivers/crypto/fsl/jobdesc.c
drivers/crypto/fsl/jr.c
drivers/crypto/fsl/rng.c
drivers/crypto/fsl/sec.c
drivers/crypto/hash/hash-uclass.c
drivers/crypto/hash/hash_sw.c
drivers/crypto/nuvoton/npcm_aes.c
drivers/crypto/nuvoton/npcm_sha.c
drivers/crypto/rsa_mod_exp/mod_exp_sw.c
drivers/crypto/rsa_mod_exp/mod_exp_uclass.c
drivers/ddr/altera/sdram_agilex.c
drivers/ddr/altera/sdram_arria10.c
drivers/ddr/altera/sdram_gen5.c
drivers/ddr/altera/sdram_n5x.c
drivers/ddr/altera/sdram_s10.c
drivers/ddr/altera/sdram_soc64.c
drivers/ddr/altera/sequencer.c
drivers/ddr/altera/sequencer.h
drivers/ddr/fsl/arm_ddr_gen3.c
drivers/ddr/fsl/ctrl_regs.c
drivers/ddr/fsl/ddr1_dimm_params.c
drivers/ddr/fsl/ddr2_dimm_params.c
drivers/ddr/fsl/ddr3_dimm_params.c
drivers/ddr/fsl/ddr4_dimm_params.c
drivers/ddr/fsl/fsl_ddr_gen4.c
drivers/ddr/fsl/fsl_mmdc.c
drivers/ddr/fsl/interactive.c
drivers/ddr/fsl/lc_common_dimm_params.c
drivers/ddr/fsl/main.c
drivers/ddr/fsl/mpc85xx_ddr_gen1.c
drivers/ddr/fsl/mpc85xx_ddr_gen2.c
drivers/ddr/fsl/mpc85xx_ddr_gen3.c
drivers/ddr/fsl/options.c
drivers/ddr/fsl/util.c
drivers/ddr/imx/imx8m/ddr_init.c
drivers/ddr/imx/imx8ulp/ddr_init.c
drivers/ddr/imx/imx9/ddr_init.c
drivers/ddr/imx/phy/ddrphy_train.c
drivers/ddr/imx/phy/ddrphy_utils.c
drivers/ddr/imx/phy/helper.c
drivers/ddr/marvell/axp/ddr3_dfs.c
drivers/ddr/marvell/axp/ddr3_dqs.c
drivers/ddr/marvell/axp/ddr3_hw_training.c
drivers/ddr/marvell/axp/ddr3_init.c
drivers/ddr/marvell/axp/ddr3_pbs.c
drivers/ddr/marvell/axp/ddr3_read_leveling.c
drivers/ddr/marvell/axp/ddr3_sdram.c
drivers/ddr/marvell/axp/ddr3_spd.c
drivers/ddr/marvell/axp/ddr3_write_leveling.c
drivers/ddr/marvell/axp/xor.c
drivers/ddr/microchip/ddr2.c
drivers/demo/demo-pdata.c
drivers/demo/demo-shape.c
drivers/demo/demo-simple.c
drivers/demo/demo-uclass.c
drivers/dfu/dfu.c
drivers/dfu/dfu_alt.c
drivers/dfu/dfu_mmc.c
drivers/dfu/dfu_mtd.c
drivers/dfu/dfu_nand.c
drivers/dfu/dfu_ram.c
drivers/dfu/dfu_sf.c
drivers/dfu/dfu_virt.c
drivers/dma/apbh_dma.c
drivers/dma/bcm6348-iudma.c
drivers/dma/dma-uclass.c
drivers/dma/fsl_dma.c
drivers/dma/keystone_nav.c
drivers/dma/lpc32xx_dma.c
drivers/dma/sandbox-dma-test.c
drivers/dma/ti-edma3.c
drivers/dma/ti/k3-udma.c
drivers/dma/xilinx_dpdma.c
drivers/extcon/extcon-max14526.c
drivers/extcon/extcon-uclass.c
drivers/fastboot/fb_command.c
drivers/fastboot/fb_common.c
drivers/fastboot/fb_getvar.c
drivers/fastboot/fb_mmc.c
drivers/fastboot/fb_nand.c
drivers/firmware/arm-ffa/arm-ffa-uclass.c
drivers/firmware/arm-ffa/arm-ffa.c
drivers/firmware/arm-ffa/ffa-emul-uclass.c
drivers/firmware/arm-ffa/sandbox_ffa.c
drivers/firmware/firmware-sandbox.c
drivers/firmware/firmware-uclass.c
drivers/firmware/firmware-zynqmp.c
drivers/firmware/psci.c
drivers/firmware/scmi/base.c
drivers/firmware/scmi/mailbox_agent.c
drivers/firmware/scmi/optee_agent.c
drivers/firmware/scmi/sandbox-scmi_agent.c
drivers/firmware/scmi/sandbox-scmi_devices.c
drivers/firmware/scmi/scmi_agent-uclass.c
drivers/firmware/scmi/smccc_agent.c
drivers/firmware/scmi/smt.c
drivers/firmware/ti_sci.c
drivers/fpga/ACEX1K.c
drivers/fpga/altera.c
drivers/fpga/cyclon2.c
drivers/fpga/fpga.c
drivers/fpga/intel_sdm_mb.c
drivers/fpga/ivm_core.c
drivers/fpga/lattice.c
drivers/fpga/socfpga.c
drivers/fpga/socfpga_arria10.c
drivers/fpga/socfpga_gen5.c
drivers/fpga/spartan2.c
drivers/fpga/spartan3.c
drivers/fpga/stratixII.c
drivers/fpga/stratixv.c
drivers/fpga/versalpl.c
drivers/fpga/virtex2.c
drivers/fpga/xilinx.c
drivers/fpga/zynqmppl.c
drivers/fpga/zynqpl.c
drivers/fuzz/fuzzing_engine-uclass.c
drivers/fuzz/sandbox_fuzzing_engine.c
drivers/fwu-mdata/fwu-mdata-uclass.c
drivers/gpio/74x164_gpio.c
drivers/gpio/altera_pio.c
drivers/gpio/at91_gpio.c
drivers/gpio/atmel_pio4.c
drivers/gpio/axp_gpio.c
drivers/gpio/bcm2835_gpio.c
drivers/gpio/bcm6345_gpio.c
drivers/gpio/cortina_gpio.c
drivers/gpio/da8xx_gpio.c
drivers/gpio/ftgpio010.c
drivers/gpio/gpio-aspeed.c
drivers/gpio/gpio-fxl6408.c
drivers/gpio/gpio-rcar.c
drivers/gpio/gpio-rza1.c
drivers/gpio/gpio-uclass.c
drivers/gpio/gpio-uniphier.c
drivers/gpio/gpio_slg7xl45106.c
drivers/gpio/hi6220_gpio.c
drivers/gpio/hsdk-creg-gpio.c
drivers/gpio/imx_rgpio2p.c
drivers/gpio/intel_broadwell_gpio.c
drivers/gpio/intel_gpio.c
drivers/gpio/intel_ich6_gpio.c
drivers/gpio/iproc_gpio.c
drivers/gpio/kw_gpio.c
drivers/gpio/lpc32xx_gpio.c
drivers/gpio/max7320_gpio.c
drivers/gpio/mcp230xx_gpio.c
drivers/gpio/mpc83xx_spisel_boot.c
drivers/gpio/mpc8xx_gpio.c
drivers/gpio/mpc8xxx_gpio.c
drivers/gpio/mscc_sgpio.c
drivers/gpio/msm_gpio.c
drivers/gpio/mt7621_gpio.c
drivers/gpio/mvebu_gpio.c
drivers/gpio/mxc_gpio.c
drivers/gpio/mxs_gpio.c
drivers/gpio/nmk_gpio.c
drivers/gpio/npcm_gpio.c
drivers/gpio/nx_gpio.c
drivers/gpio/omap_gpio.c
drivers/gpio/pca953x.c
drivers/gpio/pca953x_gpio.c
drivers/gpio/pcf8575_gpio.c
drivers/gpio/pic32_gpio.c
drivers/gpio/qcom_pmic_gpio.c
drivers/gpio/qe_gpio.c
drivers/gpio/rk_gpio.c
drivers/gpio/s5p_gpio.c
drivers/gpio/sandbox.c
drivers/gpio/sandbox_test.c
drivers/gpio/sh_pfc.c
drivers/gpio/sifive-gpio.c
drivers/gpio/sl28cpld-gpio.c
drivers/gpio/stm32_gpio.c
drivers/gpio/sunxi_gpio.c
drivers/gpio/tca642x.c
drivers/gpio/tegra186_gpio.c
drivers/gpio/tegra_gpio.c
drivers/gpio/vybrid_gpio.c
drivers/gpio/xilinx_gpio.c
drivers/gpio/zynq_gpio.c
drivers/gpio/zynqmp_gpio_modepin.c
drivers/hwspinlock/hwspinlock-uclass.c
drivers/hwspinlock/sandbox_hwspinlock.c
drivers/hwspinlock/stm32_hwspinlock.c
drivers/i2c/acpi_i2c.c
drivers/i2c/ast2600_i2c.c
drivers/i2c/ast_i2c.c
drivers/i2c/at91_i2c.c
drivers/i2c/cros_ec_ldo.c
drivers/i2c/cros_ec_tunnel.c
drivers/i2c/davinci_i2c.c
drivers/i2c/designware_i2c.c
drivers/i2c/designware_i2c_pci.c
drivers/i2c/exynos_hs_i2c.c
drivers/i2c/fsl_i2c.c
drivers/i2c/i2c-cdns.c
drivers/i2c/i2c-cortina.c
drivers/i2c/i2c-emul-uclass.c
drivers/i2c/i2c-gpio.c
drivers/i2c/i2c-microchip.c
drivers/i2c/i2c-uclass.c
drivers/i2c/i2c-versatile.c
drivers/i2c/i2c_core.c
drivers/i2c/ihs_i2c.c
drivers/i2c/imx_lpi2c.c
drivers/i2c/intel_i2c.c
drivers/i2c/iproc_i2c.c
drivers/i2c/lpc32xx_i2c.c
drivers/i2c/meson_i2c.c
drivers/i2c/muxes/i2c-arb-gpio-challenge.c
drivers/i2c/muxes/i2c-mux-gpio.c
drivers/i2c/muxes/i2c-mux-uclass.c
drivers/i2c/muxes/pca954x.c
drivers/i2c/mv_i2c.c
drivers/i2c/mvtwsi.c
drivers/i2c/mxc_i2c.c
drivers/i2c/nx_i2c.c
drivers/i2c/ocores_i2c.c
drivers/i2c/omap24xx_i2c.c
drivers/i2c/qup_i2c.c
drivers/i2c/rcar_i2c.c
drivers/i2c/rcar_iic.c
drivers/i2c/rk_i2c.c
drivers/i2c/s3c24x0_i2c.c
drivers/i2c/sandbox_i2c.c
drivers/i2c/sh_i2c.c
drivers/i2c/soft_i2c.c
drivers/i2c/stm32f7_i2c.c
drivers/i2c/sun6i_p2wi.c
drivers/i2c/sun8i_rsb.c
drivers/i2c/tegra186_bpmp_i2c.c
drivers/i2c/tegra_i2c.c
drivers/i2c/xilinx_xiic.c
drivers/input/apple_spi_kbd.c
drivers/input/button_kbd.c
drivers/input/cros_ec_keyb.c
drivers/input/i8042.c
drivers/input/input.c
drivers/input/key_matrix.c
drivers/input/keyboard-uclass.c
drivers/input/tegra-kbc.c
drivers/iommu/apple_dart.c
drivers/iommu/iommu-uclass.c
drivers/iommu/sandbox_iommu.c
drivers/led/led-uclass.c
drivers/led/led_bcm6328.c
drivers/led/led_bcm6358.c
drivers/led/led_bcm6753.c
drivers/led/led_bcm6858.c
drivers/led/led_cortina.c
drivers/led/led_gpio.c
drivers/led/led_pwm.c
drivers/mailbox/apple-mbox.c
drivers/mailbox/k3-sec-proxy.c
drivers/mailbox/mailbox-uclass.c
drivers/mailbox/sandbox-mbox-test.c
drivers/mailbox/sandbox-mbox.c
drivers/mailbox/stm32-ipcc.c
drivers/mailbox/tegra-hsp.c
drivers/mailbox/zynqmp-ipi.c
drivers/memory/stm32-fmc2-ebi.c
drivers/memory/ti-aemif.c
drivers/memory/ti-gpmc.c
drivers/misc/altera_sysid.c
drivers/misc/atsha204a-i2c.c
drivers/misc/cbmem_console.c
drivers/misc/cros_ec.c
drivers/misc/cros_ec_i2c.c
drivers/misc/cros_ec_lpc.c
drivers/misc/cros_ec_sandbox.c
drivers/misc/cros_ec_spi.c
drivers/misc/ds4510.c
drivers/misc/esm_pmic.c
drivers/misc/fs_loader.c
drivers/misc/fsl_devdis.c
drivers/misc/fsl_ifc.c
drivers/misc/fsl_iim.c
drivers/misc/fsl_portals.c
drivers/misc/fsl_sec_mon.c
drivers/misc/gdsys_ioep.c
drivers/misc/gdsys_rxaui_ctrl.c
drivers/misc/gdsys_soc.c
drivers/misc/gpio_led.c
drivers/misc/i2c_eeprom.c
drivers/misc/i2c_eeprom_emul.c
drivers/misc/ihs_fpga.c
drivers/misc/imx8/fuse.c
drivers/misc/imx8/scu.c
drivers/misc/imx8/scu_api.c
drivers/misc/imx_ele/ele_api.c
drivers/misc/imx_ele/ele_mu.c
drivers/misc/imx_ele/fuse.c
drivers/misc/irq-uclass.c
drivers/misc/irq_sandbox.c
drivers/misc/irq_sandbox_test.c
drivers/misc/jz4780_efuse.c
drivers/misc/k3_avs.c
drivers/misc/k3_esm.c
drivers/misc/ls2_sfp.c
drivers/misc/microchip_flexcom.c
drivers/misc/misc-uclass.c
drivers/misc/misc_sandbox.c
drivers/misc/mpc83xx_serdes.c
drivers/misc/mxc_ocotp.c
drivers/misc/mxs_ocotp.c
drivers/misc/npcm_host_intf.c
drivers/misc/npcm_otp.c
drivers/misc/nuvoton_nct6102d.c
drivers/misc/nvmem.c
drivers/misc/p2sb-uclass.c
drivers/misc/p2sb_emul.c
drivers/misc/p2sb_sandbox.c
drivers/misc/pca9551_led.c
drivers/misc/pwrseq-uclass.c
drivers/misc/qfw.c
drivers/misc/rockchip-efuse.c
drivers/misc/rockchip-otp.c
drivers/misc/sandbox_adder.c
drivers/misc/sifive-otp.c
drivers/misc/sl28cpld.c
drivers/misc/smsc_lpc47m.c
drivers/misc/smsc_sio1007.c
drivers/misc/spltest_sandbox.c
drivers/misc/status_led.c
drivers/misc/stm32_rcc.c
drivers/misc/stm32mp_fuse.c
drivers/misc/swap_case.c
drivers/misc/syscon_sandbox.c
drivers/misc/tegra186_bpmp.c
drivers/misc/tegra_car.c
drivers/misc/test_drv.c
drivers/misc/turris_omnia_mcu.c
drivers/misc/usb251xb.c
drivers/misc/vexpress_config.c
drivers/misc/winbond_w83627.c
drivers/mmc/Kconfig
drivers/mmc/am654_sdhci.c
drivers/mmc/arm_pl180_mmci.c
drivers/mmc/aspeed_sdhci.c
drivers/mmc/atmel_sdhci.c
drivers/mmc/bcm2835_sdhci.c
drivers/mmc/bcm2835_sdhost.c
drivers/mmc/bcmstb_sdhci.c
drivers/mmc/ca_dw_mmc.c
drivers/mmc/davinci_mmc.c
drivers/mmc/dw_mmc.c
drivers/mmc/exynos_dw_mmc.c
drivers/mmc/f_sdh30.c
drivers/mmc/fsl_esdhc.c
drivers/mmc/fsl_esdhc_imx.c
drivers/mmc/fsl_esdhc_spl.c
drivers/mmc/ftsdc010_mci.c
drivers/mmc/gen_atmel_mci.c
drivers/mmc/hi6220_dw_mmc.c
drivers/mmc/iproc_sdhci.c
drivers/mmc/jz_mmc.c
drivers/mmc/kona_sdhci.c
drivers/mmc/meson_gx_mmc.c
drivers/mmc/mmc-pwrseq.c
drivers/mmc/mmc-uclass.c
drivers/mmc/mmc.c
drivers/mmc/mmc_boot.c
drivers/mmc/mmc_bootdev.c
drivers/mmc/mmc_legacy.c
drivers/mmc/mmc_spi.c
drivers/mmc/mmc_write.c
drivers/mmc/msm_sdhci.c
drivers/mmc/mtk-sd.c
drivers/mmc/mv_sdhci.c
drivers/mmc/mvebu_mmc.c
drivers/mmc/mxcmmc.c
drivers/mmc/mxsmmc.c
drivers/mmc/nexell_dw_mmc.c
drivers/mmc/npcm_sdhci.c
drivers/mmc/octeontx_hsmmc.c
drivers/mmc/omap_hsmmc.c
drivers/mmc/owl_mmc.c
drivers/mmc/pci_mmc.c
drivers/mmc/piton_mmc.c
drivers/mmc/rockchip_dw_mmc.c
drivers/mmc/rockchip_sdhci.c
drivers/mmc/rpmb.c
drivers/mmc/s5p_sdhci.c
drivers/mmc/sandbox_mmc.c
drivers/mmc/sdhci-adma.c
drivers/mmc/sdhci-cadence.c
drivers/mmc/sdhci.c
drivers/mmc/sh_mmcif.c
drivers/mmc/snps_dw_mmc.c
drivers/mmc/socfpga_dw_mmc.c
drivers/mmc/sti_sdhci.c
drivers/mmc/stm32_sdmmc2.c
drivers/mmc/sunxi_mmc.c
drivers/mmc/tangier_sdhci.c
drivers/mmc/tegra_mmc.c
drivers/mmc/tmio-common.c
drivers/mmc/uniphier-sd.c
drivers/mmc/xenon_sdhci.c
drivers/mmc/zynq_sdhci.c
drivers/mtd/altera_qspi.c
drivers/mtd/cfi_flash.c
drivers/mtd/cfi_mtd.c
drivers/mtd/hbmc-am654.c
drivers/mtd/jedec_flash.c
drivers/mtd/mtd-uclass.c
drivers/mtd/mtd_uboot.c
drivers/mtd/mtdpart.c
drivers/mtd/nand/bbt.c
drivers/mtd/nand/core.c
drivers/mtd/nand/raw/am335x_spl_bch.c
drivers/mtd/nand/raw/arasan_nfc.c
drivers/mtd/nand/raw/atmel_nand.c
drivers/mtd/nand/raw/brcmnand/bcm63158_nand.c
drivers/mtd/nand/raw/brcmnand/bcm6368_nand.c
drivers/mtd/nand/raw/brcmnand/bcm6753_nand.c
drivers/mtd/nand/raw/brcmnand/bcm68360_nand.c
drivers/mtd/nand/raw/brcmnand/bcm6838_nand.c
drivers/mtd/nand/raw/brcmnand/bcm6858_nand.c
drivers/mtd/nand/raw/brcmnand/brcmnand.c
drivers/mtd/nand/raw/brcmnand/brcmnand_compat.c
drivers/mtd/nand/raw/brcmnand/iproc_nand.c
drivers/mtd/nand/raw/cortina_nand.c
drivers/mtd/nand/raw/davinci_nand.c
drivers/mtd/nand/raw/denali.c
drivers/mtd/nand/raw/denali_spl.c
drivers/mtd/nand/raw/fsl_elbc_nand.c
drivers/mtd/nand/raw/fsl_elbc_spl.c
drivers/mtd/nand/raw/fsl_ifc_nand.c
drivers/mtd/nand/raw/fsl_ifc_spl.c
drivers/mtd/nand/raw/kirkwood_nand.c
drivers/mtd/nand/raw/kmeter1_nand.c
drivers/mtd/nand/raw/lpc32xx_nand_mlc.c
drivers/mtd/nand/raw/lpc32xx_nand_slc.c
drivers/mtd/nand/raw/mxc_nand.c
drivers/mtd/nand/raw/mxc_nand_spl.c
drivers/mtd/nand/raw/mxic_nand.c
drivers/mtd/nand/raw/mxs_nand.c
drivers/mtd/nand/raw/mxs_nand_spl.c
drivers/mtd/nand/raw/nand.c
drivers/mtd/nand/raw/nand_base.c
drivers/mtd/nand/raw/nand_bbt.c
drivers/mtd/nand/raw/nand_bch.c
drivers/mtd/nand/raw/nand_ecc.c
drivers/mtd/nand/raw/nand_ids.c
drivers/mtd/nand/raw/nand_spl_load.c
drivers/mtd/nand/raw/nand_spl_simple.c
drivers/mtd/nand/raw/nand_timings.c
drivers/mtd/nand/raw/nand_util.c
drivers/mtd/nand/raw/omap_elm.c
drivers/mtd/nand/raw/omap_gpmc.c
drivers/mtd/nand/raw/pxa3xx_nand.c
drivers/mtd/nand/raw/rockchip_nfc.c
drivers/mtd/nand/raw/stm32_fmc2_nand.c
drivers/mtd/nand/raw/sunxi_nand.c
drivers/mtd/nand/raw/sunxi_nand_spl.c
drivers/mtd/nand/raw/tegra_nand.c
drivers/mtd/nand/raw/vf610_nfc.c
drivers/mtd/nand/raw/zynq_nand.c
drivers/mtd/nand/spi/core.c
drivers/mtd/nvmxip/nvmxip-uclass.c
drivers/mtd/nvmxip/nvmxip.c
drivers/mtd/nvmxip/nvmxip_qspi.c
drivers/mtd/onenand/onenand_base.c
drivers/mtd/onenand/onenand_bbt.c
drivers/mtd/onenand/onenand_spl.c
drivers/mtd/onenand/onenand_uboot.c
drivers/mtd/onenand/samsung.c
drivers/mtd/renesas_rpc_hf.c
drivers/mtd/spi/fsl_espi_spl.c
drivers/mtd/spi/sandbox.c
drivers/mtd/spi/sf-uclass.c
drivers/mtd/spi/sf_bootdev.c
drivers/mtd/spi/sf_dataflash.c
drivers/mtd/spi/sf_mtd.c
drivers/mtd/spi/sf_probe.c
drivers/mtd/spi/spi-nor-core.c
drivers/mtd/spi/spi-nor-ids.c
drivers/mtd/spi/spi-nor-tiny.c
drivers/mtd/stm32_flash.c
drivers/mtd/ubispl/ubispl.c
drivers/mux/mmio.c
drivers/mux/mux-uclass.c
drivers/net/Kconfig
drivers/net/Makefile
drivers/net/ag7xxx.c
drivers/net/altera_tse.c
drivers/net/aspeed_mdio.c
drivers/net/bcm-sf2-eth-gmac.c
drivers/net/bcm-sf2-eth.c
drivers/net/bcm6348-eth.c
drivers/net/bcm6368-eth.c
drivers/net/bnxt/bnxt.c
drivers/net/calxedaxgmac.c
drivers/net/cortina_ni.c
drivers/net/dc2114x.c
drivers/net/designware.c
drivers/net/dm9000x.c
drivers/net/dwc_eth_qos.c
drivers/net/dwc_eth_qos_imx.c
drivers/net/dwc_eth_qos_qcom.c
drivers/net/dwc_eth_qos_rockchip.c
drivers/net/dwc_eth_qos_starfive.c
drivers/net/dwc_eth_xgmac.c [new file with mode: 0644]
drivers/net/dwc_eth_xgmac.h [new file with mode: 0644]
drivers/net/dwc_eth_xgmac_socfpga.c [new file with mode: 0644]
drivers/net/dwmac_meson8b.c
drivers/net/dwmac_s700.c
drivers/net/dwmac_socfpga.c
drivers/net/e1000.c
drivers/net/e1000_spi.c
drivers/net/eepro100.c
drivers/net/eth-phy-uclass.c
drivers/net/ethoc.c
drivers/net/fec_mxc.c
drivers/net/fm/b4860.c
drivers/net/fm/dtsec.c
drivers/net/fm/eth.c
drivers/net/fm/ls1043.c
drivers/net/fm/ls1046.c
drivers/net/fm/memac.c
drivers/net/fm/memac_phy.c
drivers/net/fm/p1023.c
drivers/net/fm/p4080.c
drivers/net/fm/p5020.c
drivers/net/fm/p5040.c
drivers/net/fm/t1024.c
drivers/net/fm/t1040.c
drivers/net/fm/t2080.c
drivers/net/fm/t4240.c
drivers/net/fm/tgec.c
drivers/net/fm/tgec_phy.c
drivers/net/fsl-mc/mc.c
drivers/net/fsl-mc/mc_sys.c
drivers/net/fsl_enetc.c
drivers/net/fsl_enetc_mdio.c
drivers/net/fsl_ls_mdio.c
drivers/net/fsl_mdio.c
drivers/net/ftgmac100.c
drivers/net/ftmac100.c
drivers/net/gmac_rockchip.c
drivers/net/higmacv300.c
drivers/net/ks8851_mll.c
drivers/net/ldpaa_eth/ldpaa_eth.c
drivers/net/ldpaa_eth/ldpaa_wriop.c
drivers/net/ldpaa_eth/ls1088a.c
drivers/net/ldpaa_eth/ls2080a.c
drivers/net/ldpaa_eth/lx2160a.c
drivers/net/macb.c
drivers/net/mcffec.c
drivers/net/mcfmii.c
drivers/net/mdio-ipq4019.c
drivers/net/mpc8xx_fec.c
drivers/net/mscc_eswitch/jr2_switch.c
drivers/net/mscc_eswitch/luton_switch.c
drivers/net/mscc_eswitch/ocelot_switch.c
drivers/net/mscc_eswitch/serval_switch.c
drivers/net/mscc_eswitch/servalt_switch.c
drivers/net/mt7628-eth.c
drivers/net/mtk_eth.c
drivers/net/mv88e6xxx.c
drivers/net/mvgbe.c
drivers/net/mvmdio.c
drivers/net/mvneta.c
drivers/net/mvpp2.c
drivers/net/netconsole.c
drivers/net/npcm750_eth.c
drivers/net/pch_gbe.c
drivers/net/pcnet.c
drivers/net/pfe_eth/pfe_cmd.c
drivers/net/pfe_eth/pfe_eth.c
drivers/net/pfe_eth/pfe_mdio.c
drivers/net/phy/adin.c
drivers/net/phy/aquantia.c
drivers/net/phy/atheros.c
drivers/net/phy/b53.c
drivers/net/phy/broadcom.c
drivers/net/phy/ca_phy.c
drivers/net/phy/cortina.c
drivers/net/phy/davicom.c
drivers/net/phy/dp83867.c
drivers/net/phy/dp83869.c
drivers/net/phy/ethernet_id.c
drivers/net/phy/fixed.c
drivers/net/phy/generic_10g.c
drivers/net/phy/intel_xway.c
drivers/net/phy/lxt.c
drivers/net/phy/marvell.c
drivers/net/phy/marvell10g.c
drivers/net/phy/meson-gxl.c
drivers/net/phy/micrel_ksz8xxx.c
drivers/net/phy/micrel_ksz90x1.c
drivers/net/phy/miiphybb.c
drivers/net/phy/motorcomm.c
drivers/net/phy/mv88e61xx.c
drivers/net/phy/mv88e6352.c
drivers/net/phy/natsemi.c
drivers/net/phy/ncsi.c
drivers/net/phy/nxp-c45-tja11xx.c
drivers/net/phy/nxp-tja11xx.c
drivers/net/phy/phy.c
drivers/net/phy/realtek.c
drivers/net/phy/smsc.c
drivers/net/phy/teranetics.c
drivers/net/phy/vitesse.c
drivers/net/phy/xilinx_gmii2rgmii.c
drivers/net/phy/xilinx_phy.c
drivers/net/pic32_eth.c
drivers/net/pic32_mdio.c
drivers/net/qe/dm_qe_uec.c
drivers/net/qe/dm_qe_uec_phy.c
drivers/net/qe/uccf.c
drivers/net/qe/uccf.h
drivers/net/ravb.c
drivers/net/rswitch.c
drivers/net/rtl8139.c
drivers/net/rtl8169.c
drivers/net/sandbox-raw-bus.c
drivers/net/sandbox-raw.c
drivers/net/sandbox.c
drivers/net/sh_eth.c
drivers/net/sja1105.c
drivers/net/smc911x.c
drivers/net/sun8i_emac.c
drivers/net/sunxi_emac.c
drivers/net/ti/am65-cpsw-nuss.c
drivers/net/ti/cpsw-common.c
drivers/net/ti/cpsw.c
drivers/net/ti/cpsw_mdio.c
drivers/net/ti/davinci_emac.c
drivers/net/ti/keystone_net.c
drivers/net/tsec.c
drivers/net/vsc7385.c
drivers/net/xilinx_axi_emac.c
drivers/net/xilinx_axi_mrmac.c
drivers/net/xilinx_emaclite.c
drivers/net/zynq_gem.c
drivers/nvme/nvme-uclass.c
drivers/nvme/nvme.c
drivers/nvme/nvme_apple.c
drivers/nvme/nvme_pci.c
drivers/nvme/nvme_show.c
drivers/pch/pch-uclass.c
drivers/pch/pch7.c
drivers/pch/pch9.c
drivers/pch/sandbox_pch.c
drivers/pci/pci-aardvark.c
drivers/pci/pci-emul-uclass.c
drivers/pci/pci-rcar-gen2.c
drivers/pci/pci-rcar-gen3.c
drivers/pci/pci-uclass.c
drivers/pci/pci_auto.c
drivers/pci/pci_auto_common.c
drivers/pci/pci_common.c
drivers/pci/pci_compat.c
drivers/pci/pci_ftpci100.c
drivers/pci/pci_mpc85xx.c
drivers/pci/pci_mvebu.c
drivers/pci/pci_rom.c
drivers/pci/pci_sandbox.c
drivers/pci/pci_sh7751.c
drivers/pci/pci_tegra.c
drivers/pci/pci_x86.c
drivers/pci/pcie_apple.c
drivers/pci/pcie_brcmstb.c
drivers/pci/pcie_dw_common.c
drivers/pci/pcie_dw_meson.c
drivers/pci/pcie_dw_mvebu.c
drivers/pci/pcie_dw_rockchip.c
drivers/pci/pcie_dw_sifive.c
drivers/pci/pcie_dw_ti.c
drivers/pci/pcie_ecam_generic.c
drivers/pci/pcie_ecam_synquacer.c
drivers/pci/pcie_fsl.c
drivers/pci/pcie_fsl_fixup.c
drivers/pci/pcie_imx.c
drivers/pci/pcie_intel_fpga.c
drivers/pci/pcie_iproc.c
drivers/pci/pcie_layerscape.c
drivers/pci/pcie_layerscape_ep.c
drivers/pci/pcie_layerscape_fixup.c
drivers/pci/pcie_layerscape_fixup_common.c
drivers/pci/pcie_layerscape_gen4.c
drivers/pci/pcie_layerscape_gen4_fixup.c
drivers/pci/pcie_layerscape_rc.c
drivers/pci/pcie_mediatek.c
drivers/pci/pcie_phytium.c
drivers/pci/pcie_plda_common.c
drivers/pci/pcie_rockchip.c
drivers/pci/pcie_starfive_jh7110.c
drivers/pci/pcie_uniphier.c
drivers/pci/pcie_xilinx.c
drivers/pci_endpoint/pci_ep-uclass.c
drivers/pci_endpoint/pcie-cadence-ep.c
drivers/pci_endpoint/sandbox-pci_ep.c
drivers/phy/allwinner/phy-sun4i-usb.c
drivers/phy/bcm6318-usbh-phy.c
drivers/phy/bcm6348-usbh-phy.c
drivers/phy/bcm6358-usbh-phy.c
drivers/phy/bcm6368-usbh-phy.c
drivers/phy/cadence/phy-cadence-sierra.c
drivers/phy/cadence/phy-cadence-torrent.c
drivers/phy/keystone-usb-phy.c
drivers/phy/marvell/comphy_a3700.c
drivers/phy/marvell/comphy_core.c
drivers/phy/marvell/comphy_cp110.c
drivers/phy/marvell/comphy_mux.c
drivers/phy/meson-axg-mipi-dphy.c
drivers/phy/meson-axg-mipi-pcie-analog.c
drivers/phy/meson-g12a-usb2.c
drivers/phy/meson-g12a-usb3-pcie.c
drivers/phy/meson-gxbb-usb2.c
drivers/phy/meson-gxl-usb2.c
drivers/phy/mt76x8-usb-phy.c
drivers/phy/nop-phy.c
drivers/phy/omap-usb2-phy.c
drivers/phy/phy-ab8500-usb.c
drivers/phy/phy-apple-atc.c
drivers/phy/phy-bcm-sr-pcie.c
drivers/phy/phy-core-mipi-dphy.c
drivers/phy/phy-da8xx-usb.c
drivers/phy/phy-imx8mq-usb.c
drivers/phy/phy-mtk-tphy.c
drivers/phy/phy-npcm-usb.c
drivers/phy/phy-rcar-gen2.c
drivers/phy/phy-rcar-gen3.c
drivers/phy/phy-stm32-usbphyc.c
drivers/phy/phy-ti-am654.c
drivers/phy/phy-uclass.c
drivers/phy/phy-zynqmp.c
drivers/phy/qcom/msm8916-usbh-phy.c
drivers/phy/qcom/phy-qcom-ipq4019-usb.c
drivers/phy/qcom/phy-qcom-usb-hs-28nm.c
drivers/phy/qcom/phy-qcom-usb-ss.c
drivers/phy/renesas/r8a779f0-ether-serdes.c
drivers/phy/rockchip/phy-rockchip-naneng-combphy.c
drivers/phy/rockchip/phy-rockchip-pcie.c
drivers/phy/rockchip/phy-rockchip-snps-pcie3.c
drivers/phy/rockchip/phy-rockchip-typec.c
drivers/phy/rockchip/phy-rockchip-usbdp.c
drivers/phy/sandbox-phy.c
drivers/phy/socionext/phy-uniphier-pcie.c
drivers/phy/socionext/phy-uniphier-usb3.c
drivers/phy/sti_usb_phy.c
drivers/phy/ti-pipe3-phy.c
drivers/phy/ti/phy-j721e-wiz.c
drivers/pinctrl/aspeed/pinctrl_ast2500.c
drivers/pinctrl/aspeed/pinctrl_ast2600.c
drivers/pinctrl/ath79/pinctrl_ar933x.c
drivers/pinctrl/ath79/pinctrl_qca953x.c
drivers/pinctrl/broadcom/pinctrl-bcm283x.c
drivers/pinctrl/broadcom/pinctrl-bcm6838.c
drivers/pinctrl/exynos/pinctrl-exynos.c
drivers/pinctrl/exynos/pinctrl-exynos7420.c
drivers/pinctrl/exynos/pinctrl-exynos78x0.c
drivers/pinctrl/intel/pinctrl.c
drivers/pinctrl/intel/pinctrl_apl.c
drivers/pinctrl/mediatek/pinctrl-mtk-common.c
drivers/pinctrl/meson/pinctrl-meson-a1.c
drivers/pinctrl/meson/pinctrl-meson-axg-pmx.c
drivers/pinctrl/meson/pinctrl-meson-axg.c
drivers/pinctrl/meson/pinctrl-meson-g12a.c
drivers/pinctrl/meson/pinctrl-meson-gx-pmx.c
drivers/pinctrl/meson/pinctrl-meson-gxbb.c
drivers/pinctrl/meson/pinctrl-meson-gxl.c
drivers/pinctrl/meson/pinctrl-meson.c
drivers/pinctrl/mscc/mscc-common.c
drivers/pinctrl/mscc/pinctrl-jr2.c
drivers/pinctrl/mscc/pinctrl-luton.c
drivers/pinctrl/mscc/pinctrl-ocelot.c
drivers/pinctrl/mscc/pinctrl-serval.c
drivers/pinctrl/mscc/pinctrl-servalt.c
drivers/pinctrl/mtmips/pinctrl-mt7628.c
drivers/pinctrl/mtmips/pinctrl-mtmips-common.c
drivers/pinctrl/mvebu/pinctrl-armada-37xx.c
drivers/pinctrl/mvebu/pinctrl-armada-38x.c
drivers/pinctrl/mvebu/pinctrl-mvebu.c
drivers/pinctrl/nexell/pinctrl-nexell.c
drivers/pinctrl/nexell/pinctrl-s5pxx18.c
drivers/pinctrl/nxp/pinctrl-imx.c
drivers/pinctrl/nxp/pinctrl-imx5.c
drivers/pinctrl/nxp/pinctrl-imx6.c
drivers/pinctrl/nxp/pinctrl-imx7.c
drivers/pinctrl/nxp/pinctrl-imx7ulp.c
drivers/pinctrl/nxp/pinctrl-imx8.c
drivers/pinctrl/nxp/pinctrl-imx8ulp.c
drivers/pinctrl/nxp/pinctrl-imxrt.c
drivers/pinctrl/nxp/pinctrl-mxs.c
drivers/pinctrl/nxp/pinctrl-scu.c
drivers/pinctrl/nxp/pinctrl-vf610.c
drivers/pinctrl/pinctrl-apple.c
drivers/pinctrl/pinctrl-at91-pio4.c
drivers/pinctrl/pinctrl-at91.c
drivers/pinctrl/pinctrl-generic.c
drivers/pinctrl/pinctrl-k210.c
drivers/pinctrl/pinctrl-qe-io.c
drivers/pinctrl/pinctrl-sandbox.c
drivers/pinctrl/pinctrl-single.c
drivers/pinctrl/pinctrl-sti.c
drivers/pinctrl/pinctrl-stmfx.c
drivers/pinctrl/pinctrl-uclass.c
drivers/pinctrl/pinctrl-zynqmp.c
drivers/pinctrl/pinctrl_pic32.c
drivers/pinctrl/pinctrl_stm32.c
drivers/pinctrl/qcom/pinctrl-apq8016.c
drivers/pinctrl/qcom/pinctrl-apq8096.c
drivers/pinctrl/qcom/pinctrl-ipq4019.c
drivers/pinctrl/qcom/pinctrl-qcom.c
drivers/pinctrl/qcom/pinctrl-qcs404.c
drivers/pinctrl/qcom/pinctrl-sdm845.c
drivers/pinctrl/rockchip/pinctrl-px30.c
drivers/pinctrl/rockchip/pinctrl-rk3036.c
drivers/pinctrl/rockchip/pinctrl-rk3066.c
drivers/pinctrl/rockchip/pinctrl-rk3128.c
drivers/pinctrl/rockchip/pinctrl-rk3188.c
drivers/pinctrl/rockchip/pinctrl-rk322x.c
drivers/pinctrl/rockchip/pinctrl-rk3288.c
drivers/pinctrl/rockchip/pinctrl-rk3308.c
drivers/pinctrl/rockchip/pinctrl-rk3328.c
drivers/pinctrl/rockchip/pinctrl-rk3368.c
drivers/pinctrl/rockchip/pinctrl-rk3399.c
drivers/pinctrl/rockchip/pinctrl-rk3568.c
drivers/pinctrl/rockchip/pinctrl-rk3588.c
drivers/pinctrl/rockchip/pinctrl-rockchip-core.c
drivers/pinctrl/rockchip/pinctrl-rv1108.c
drivers/pinctrl/rockchip/pinctrl-rv1126.c
drivers/pinctrl/starfive/pinctrl-starfive.c
drivers/pinctrl/tegra/funcmux-tegra114.c
drivers/pinctrl/tegra/funcmux-tegra124.c
drivers/pinctrl/tegra/funcmux-tegra20.c
drivers/pinctrl/tegra/funcmux-tegra210.c
drivers/pinctrl/tegra/funcmux-tegra30.c
drivers/pinctrl/tegra/pinmux-common.c
drivers/pinctrl/tegra/pinmux-tegra114.c
drivers/pinctrl/tegra/pinmux-tegra124.c
drivers/pinctrl/tegra/pinmux-tegra20.c
drivers/pinctrl/tegra/pinmux-tegra30.c
drivers/pinctrl/uniphier/pinctrl-uniphier-core.c
drivers/pinctrl/uniphier/pinctrl-uniphier-ld11.c
drivers/pinctrl/uniphier/pinctrl-uniphier-ld20.c
drivers/pinctrl/uniphier/pinctrl-uniphier-ld4.c
drivers/pinctrl/uniphier/pinctrl-uniphier-ld6b.c
drivers/pinctrl/uniphier/pinctrl-uniphier-pro4.c
drivers/pinctrl/uniphier/pinctrl-uniphier-pro5.c
drivers/pinctrl/uniphier/pinctrl-uniphier-pxs2.c
drivers/pinctrl/uniphier/pinctrl-uniphier-pxs3.c
drivers/pinctrl/uniphier/pinctrl-uniphier-sld8.c
drivers/power/acpi_pmc/acpi-pmc-uclass.c
drivers/power/acpi_pmc/pmc_emul.c
drivers/power/acpi_pmc/sandbox.c
drivers/power/axp152.c
drivers/power/axp209.c
drivers/power/axp221.c
drivers/power/axp305.c
drivers/power/axp313.c
drivers/power/axp809.c
drivers/power/axp818.c
drivers/power/domain/apple-pmgr.c
drivers/power/domain/bcm6328-power-domain.c
drivers/power/domain/imx8-power-domain-legacy.c
drivers/power/domain/imx8-power-domain.c
drivers/power/domain/imx8m-power-domain.c
drivers/power/domain/imx8mp-hsiomix.c
drivers/power/domain/meson-ee-pwrc.c
drivers/power/domain/meson-gx-pwrc-vpu.c
drivers/power/domain/mtk-power-domain.c
drivers/power/domain/power-domain-uclass.c
drivers/power/domain/sandbox-power-domain-test.c
drivers/power/domain/sandbox-power-domain.c
drivers/power/domain/tegra186-power-domain.c
drivers/power/domain/ti-power-domain.c
drivers/power/domain/ti-sci-power-domain.c
drivers/power/domain/zynqmp-power-domain.c
drivers/power/exynos-tmu.c
drivers/power/mt6323.c
drivers/power/pmic/ab8500.c
drivers/power/pmic/act8846.c
drivers/power/pmic/as3722.c
drivers/power/pmic/as3722_gpio.c
drivers/power/pmic/bd71837.c
drivers/power/pmic/da9063.c
drivers/power/pmic/fan53555.c
drivers/power/pmic/i2c_pmic_emul.c
drivers/power/pmic/lp873x.c
drivers/power/pmic/lp87565.c
drivers/power/pmic/max77686.c
drivers/power/pmic/max8997.c
drivers/power/pmic/max8998.c
drivers/power/pmic/mc34708.c
drivers/power/pmic/mp5416.c
drivers/power/pmic/palmas.c
drivers/power/pmic/pca9450.c
drivers/power/pmic/pfuze100.c
drivers/power/pmic/pmic-uclass.c
drivers/power/pmic/pmic_hi6553.c
drivers/power/pmic/pmic_ltc3676.c
drivers/power/pmic/pmic_mc34vr500.c
drivers/power/pmic/pmic_pca9450.c
drivers/power/pmic/pmic_pfuze100.c
drivers/power/pmic/pmic_pfuze3000.c
drivers/power/pmic/pmic_qcom.c
drivers/power/pmic/pmic_tps62362.c
drivers/power/pmic/pmic_tps65217.c
drivers/power/pmic/pmic_tps65218.c
drivers/power/pmic/pmic_tps65910.c
drivers/power/pmic/pmic_tps65910_dm.c
drivers/power/pmic/rk8xx.c
drivers/power/pmic/rn5t567.c
drivers/power/pmic/s2mps11.c
drivers/power/pmic/s5m8767.c
drivers/power/pmic/sandbox.c
drivers/power/pmic/stpmic1.c
drivers/power/pmic/tps65090.c
drivers/power/pmic/tps65219.c
drivers/power/pmic/tps65941.c
drivers/power/power_core.c
drivers/power/power_dialog.c
drivers/power/power_fsl.c
drivers/power/power_i2c.c
drivers/power/power_spi.c
drivers/power/regulator/act8846.c
drivers/power/regulator/anatop_regulator.c
drivers/power/regulator/as3722_regulator.c
drivers/power/regulator/bd71837.c
drivers/power/regulator/da9063.c
drivers/power/regulator/fan53555.c
drivers/power/regulator/fixed.c
drivers/power/regulator/gpio-regulator.c
drivers/power/regulator/lp873x_regulator.c
drivers/power/regulator/lp87565_regulator.c
drivers/power/regulator/max77686.c
drivers/power/regulator/npcm8xx_regulator.c
drivers/power/regulator/palmas_regulator.c
drivers/power/regulator/pbias_regulator.c
drivers/power/regulator/pca9450.c
drivers/power/regulator/pfuze100.c
drivers/power/regulator/pwm_regulator.c
drivers/power/regulator/regulator-uclass.c
drivers/power/regulator/regulator_common.c
drivers/power/regulator/rk8xx.c
drivers/power/regulator/s2mps11_regulator.c
drivers/power/regulator/s5m8767.c
drivers/power/regulator/sandbox.c
drivers/power/regulator/scmi_regulator.c
drivers/power/regulator/stm32-vrefbuf.c
drivers/power/regulator/stpmic1.c
drivers/power/regulator/tps62360_regulator.c
drivers/power/regulator/tps65090_regulator.c
drivers/power/regulator/tps65219_regulator.c
drivers/power/regulator/tps65910_regulator.c
drivers/power/regulator/tps65941_regulator.c
drivers/power/sy8106a.c
drivers/power/tps6586x.c
drivers/pwm/cros_ec_pwm.c
drivers/pwm/exynos_pwm.c
drivers/pwm/pwm-aspeed.c
drivers/pwm/pwm-at91.c
drivers/pwm/pwm-cadence-ttc.c
drivers/pwm/pwm-imx.c
drivers/pwm/pwm-meson.c
drivers/pwm/pwm-mtk.c
drivers/pwm/pwm-sifive.c
drivers/pwm/pwm-ti-ehrpwm.c
drivers/pwm/pwm-uclass.c
drivers/pwm/rk_pwm.c
drivers/pwm/sandbox_pwm.c
drivers/pwm/sunxi_pwm.c
drivers/pwm/tegra_pwm.c
drivers/ram/aspeed/sdram_ast2500.c
drivers/ram/aspeed/sdram_ast2600.c
drivers/ram/bmips_ram.c
drivers/ram/cadence/ddr_ctrl.c
drivers/ram/imxrt_sdram.c
drivers/ram/k3-am654-ddrss.c
drivers/ram/k3-ddrss/k3-ddrss.c
drivers/ram/mediatek/ddr3-mt7629.c
drivers/ram/mpc83xx_sdram.c
drivers/ram/ram-uclass.c
drivers/ram/renesas/rzn1/ddr_async.c
drivers/ram/rockchip/dmc-rk3368.c
drivers/ram/rockchip/sdram_common.c
drivers/ram/rockchip/sdram_pctl_px30.c
drivers/ram/rockchip/sdram_phy_px30.c
drivers/ram/rockchip/sdram_px30.c
drivers/ram/rockchip/sdram_rk3066.c
drivers/ram/rockchip/sdram_rk3128.c
drivers/ram/rockchip/sdram_rk3188.c
drivers/ram/rockchip/sdram_rk322x.c
drivers/ram/rockchip/sdram_rk3288.c
drivers/ram/rockchip/sdram_rk3308.c
drivers/ram/rockchip/sdram_rk3328.c
drivers/ram/rockchip/sdram_rk3399.c
drivers/ram/rockchip/sdram_rk3568.c
drivers/ram/rockchip/sdram_rk3588.c
drivers/ram/rockchip/sdram_rv1126.c
drivers/ram/sandbox_ram.c
drivers/ram/sifive/sifive_ddr.c
drivers/ram/starfive/ddrcsr_boot.c
drivers/ram/starfive/ddrphy_start.c
drivers/ram/starfive/ddrphy_train.c
drivers/ram/starfive/ddrphy_utils.c
drivers/ram/starfive/starfive_ddr.c
drivers/ram/starfive/starfive_ddr.h
drivers/ram/stm32_sdram.c
drivers/ram/stm32mp1/stm32mp1_ddr.c
drivers/ram/stm32mp1/stm32mp1_interactive.c
drivers/ram/stm32mp1/stm32mp1_ram.c
drivers/ram/stm32mp1/stm32mp1_tests.c
drivers/ram/sunxi/dram_sun20i_d1.c
drivers/reboot-mode/reboot-mode-gpio.c
drivers/reboot-mode/reboot-mode-nvmem.c
drivers/reboot-mode/reboot-mode-rtc.c
drivers/reboot-mode/reboot-mode-uclass.c
drivers/remoteproc/ipu_rproc.c
drivers/remoteproc/k3_system_controller.c
drivers/remoteproc/pru_rproc.c
drivers/remoteproc/rproc-elf-loader.c
drivers/remoteproc/rproc-uclass.c
drivers/remoteproc/sandbox_testproc.c
drivers/remoteproc/stm32_copro.c
drivers/remoteproc/ti_k3_arm64_rproc.c
drivers/remoteproc/ti_k3_dsp_rproc.c
drivers/remoteproc/ti_k3_r5f_rproc.c
drivers/remoteproc/ti_power_proc.c
drivers/reset/reset-ast2500.c
drivers/reset/reset-ast2600.c
drivers/reset/reset-bcm6345.c
drivers/reset/reset-dra7.c
drivers/reset/reset-hisilicon.c
drivers/reset/reset-hsdk.c
drivers/reset/reset-imx7.c
drivers/reset/reset-jh7110.c
drivers/reset/reset-mediatek.c
drivers/reset/reset-meson.c
drivers/reset/reset-mtmips.c
drivers/reset/reset-raspberrypi.c
drivers/reset/reset-rockchip.c
drivers/reset/reset-scmi.c
drivers/reset/reset-sifive.c
drivers/reset/reset-socfpga.c
drivers/reset/reset-sunxi.c
drivers/reset/reset-syscon.c
drivers/reset/reset-ti-sci.c
drivers/reset/reset-uclass.c
drivers/reset/reset-uniphier.c
drivers/reset/reset-zynqmp.c
drivers/reset/rst-rk3588.c
drivers/reset/sandbox-reset-test.c
drivers/reset/sandbox-reset.c
drivers/reset/sti-reset.c
drivers/reset/stm32-reset.c
drivers/reset/tegra-car-reset.c
drivers/reset/tegra186-reset.c
drivers/rtc/abx80x.c
drivers/rtc/davinci.c
drivers/rtc/ds1307.c
drivers/rtc/ds1337.c
drivers/rtc/ds1374.c
drivers/rtc/ds3231.c
drivers/rtc/ds3232.c
drivers/rtc/emul_rtc.c
drivers/rtc/ht1380.c
drivers/rtc/i2c_rtc_emul.c
drivers/rtc/isl1208.c
drivers/rtc/m41t62.c
drivers/rtc/mc13xxx-rtc.c
drivers/rtc/mc146818.c
drivers/rtc/mcfrtc.c
drivers/rtc/mvrtc.c
drivers/rtc/mxsrtc.c
drivers/rtc/pcf2127.c
drivers/rtc/pcf8563.c
drivers/rtc/pl031.c
drivers/rtc/pt7c4338.c
drivers/rtc/rtc-uclass.c
drivers/rtc/rv3029.c
drivers/rtc/rv8803.c
drivers/rtc/rx8010sj.c
drivers/rtc/rx8025.c
drivers/rtc/s35392a.c
drivers/rtc/sandbox_rtc.c
drivers/rtc/stm32_rtc.c
drivers/rtc/zynqmp_rtc.c
drivers/scsi/sandbox_scsi.c
drivers/scsi/scsi-uclass.c
drivers/scsi/scsi.c
drivers/scsi/scsi_bootdev.c
drivers/scsi/scsi_emul.c
drivers/serial/Makefile
drivers/serial/altera_jtag_uart.c
drivers/serial/altera_uart.c
drivers/serial/arm_dcc.c
drivers/serial/atmel_usart.c
drivers/serial/ns16550.c
drivers/serial/sandbox.c
drivers/serial/serial-uclass.c
drivers/serial/serial.c
drivers/serial/serial_adi_uart4.c [new file with mode: 0644]
drivers/serial/serial_ar933x.c
drivers/serial/serial_arc.c
drivers/serial/serial_bcm283x_mu.c
drivers/serial/serial_bcm283x_pl011.c
drivers/serial/serial_coreboot.c
drivers/serial/serial_cortina.c
drivers/serial/serial_efi.c
drivers/serial/serial_htif.c
drivers/serial/serial_intel_mid.c
drivers/serial/serial_linflexuart.c
drivers/serial/serial_lpuart.c
drivers/serial/serial_mcf.c
drivers/serial/serial_meson.c
drivers/serial/serial_mpc8xx.c
drivers/serial/serial_msm.c
drivers/serial/serial_msm_geni.c
drivers/serial/serial_mtk.c
drivers/serial/serial_mvebu_a3700.c
drivers/serial/serial_mxc.c
drivers/serial/serial_mxs.c
drivers/serial/serial_npcm.c
drivers/serial/serial_ns16550.c
drivers/serial/serial_nulldev.c
drivers/serial/serial_omap.c
drivers/serial/serial_owl.c
drivers/serial/serial_pic32.c
drivers/serial/serial_pl01x.c
drivers/serial/serial_rockchip.c
drivers/serial/serial_s5p4418_pl011.c
drivers/serial/serial_semihosting.c
drivers/serial/serial_sifive.c
drivers/serial/serial_sti_asc.c
drivers/serial/serial_stm32.c
drivers/serial/serial_uniphier.c
drivers/serial/serial_xen.c
drivers/serial/serial_xuartlite.c
drivers/serial/serial_zynq.c
drivers/serial/usbtty.c
drivers/sm/meson-sm.c
drivers/sm/sandbox-sm.c
drivers/sm/sm-uclass.c
drivers/smem/msm_smem.c
drivers/smem/sandbox_smem.c
drivers/smem/smem-uclass.c
drivers/soc/soc-uclass.c
drivers/soc/soc_sandbox.c
drivers/soc/soc_ti_k3.c
drivers/soc/soc_xilinx_versal.c
drivers/soc/soc_xilinx_versal_net.c
drivers/soc/soc_xilinx_zynqmp.c
drivers/soc/ti/k3-navss-ringacc.c
drivers/soc/ti/keystone_serdes.c
drivers/soc/ti/pruss.c
drivers/sound/broadwell_i2s.c
drivers/sound/broadwell_sound.c
drivers/sound/codec-uclass.c
drivers/sound/da7219.c
drivers/sound/hda_codec.c
drivers/sound/i2s-uclass.c
drivers/sound/i8254_beep.c
drivers/sound/ivybridge_sound.c
drivers/sound/max98088.c
drivers/sound/max98090.c
drivers/sound/max98095.c
drivers/sound/max98357a.c
drivers/sound/maxim_codec.c
drivers/sound/rockchip_i2s.c
drivers/sound/rockchip_sound.c
drivers/sound/rt5677.c
drivers/sound/samsung-i2s.c
drivers/sound/samsung_sound.c
drivers/sound/sandbox.c
drivers/sound/sound-uclass.c
drivers/sound/sound.c
drivers/sound/tegra_ahub.c
drivers/sound/tegra_i2s.c
drivers/sound/tegra_sound.c
drivers/sound/wm8994.c
drivers/spi/altera_spi.c
drivers/spi/apple_spi.c
drivers/spi/atcspi200_spi.c
drivers/spi/ath79_spi.c
drivers/spi/atmel-quadspi.c
drivers/spi/atmel_spi.c
drivers/spi/bcm63xx_hsspi.c
drivers/spi/bcm63xx_spi.c
drivers/spi/bcmbca_hsspi.c
drivers/spi/ca_sflash.c
drivers/spi/cadence_ospi_versal.c
drivers/spi/cadence_qspi.c
drivers/spi/cadence_qspi_apb.c
drivers/spi/cf_spi.c
drivers/spi/davinci_spi.c
drivers/spi/designware_spi.c
drivers/spi/exynos_spi.c
drivers/spi/fsl_dspi.c
drivers/spi/fsl_espi.c
drivers/spi/fsl_qspi.c
drivers/spi/ich.c
drivers/spi/iproc_qspi.c
drivers/spi/kirkwood_spi.c
drivers/spi/meson_spifc.c
drivers/spi/microchip_coreqspi.c
drivers/spi/mpc8xx_spi.c
drivers/spi/mpc8xxx_spi.c
drivers/spi/mscc_bb_spi.c
drivers/spi/mt7621_spi.c
drivers/spi/mtk_snfi_spi.c
drivers/spi/mtk_snor.c
drivers/spi/mvebu_a3700_spi.c
drivers/spi/mxc_spi.c
drivers/spi/mxs_spi.c
drivers/spi/npcm_pspi.c
drivers/spi/nxp_fspi.c
drivers/spi/omap3_spi.c
drivers/spi/pic32_spi.c
drivers/spi/pl022_spi.c
drivers/spi/renesas_rpc_spi.c
drivers/spi/rk_spi.c
drivers/spi/sandbox_spi.c
drivers/spi/sh_qspi.c
drivers/spi/soft_spi.c
drivers/spi/spi-aspeed-smc.c
drivers/spi/spi-emul-uclass.c
drivers/spi/spi-mem.c
drivers/spi/spi-mxic.c
drivers/spi/spi-qup.c
drivers/spi/spi-sifive.c
drivers/spi/spi-sn-f-ospi.c
drivers/spi/spi-sunxi.c
drivers/spi/spi-synquacer.c
drivers/spi/spi-uclass.c
drivers/spi/spi.c
drivers/spi/stm32_qspi.c
drivers/spi/stm32_spi.c
drivers/spi/tegra114_spi.c
drivers/spi/tegra20_sflash.c
drivers/spi/tegra20_slink.c
drivers/spi/tegra210_qspi.c
drivers/spi/ti_qspi.c
drivers/spi/uniphier_spi.c
drivers/spi/xilinx_spi.c
drivers/spi/zynq_qspi.c
drivers/spi/zynq_spi.c
drivers/spi/zynqmp_gqspi.c
drivers/spmi/spmi-msm.c
drivers/spmi/spmi-sandbox.c
drivers/spmi/spmi-uclass.c
drivers/sysinfo/gazerbeam.c
drivers/sysinfo/gpio.c
drivers/sysinfo/rcar3.c
drivers/sysinfo/sandbox.c
drivers/sysinfo/smbios.c
drivers/sysinfo/sysinfo-uclass.c
drivers/sysreset/poweroff_gpio.c
drivers/sysreset/sysreset-ti-sci.c
drivers/sysreset/sysreset-uclass.c
drivers/sysreset/sysreset_ast.c
drivers/sysreset/sysreset_at91.c
drivers/sysreset/sysreset_gpio.c
drivers/sysreset/sysreset_microblaze.c
drivers/sysreset/sysreset_mpc83xx.c
drivers/sysreset/sysreset_octeon.c
drivers/sysreset/sysreset_psci.c
drivers/sysreset/sysreset_resetctl.c
drivers/sysreset/sysreset_rockchip.c
drivers/sysreset/sysreset_sandbox.c
drivers/sysreset/sysreset_sbi.c
drivers/sysreset/sysreset_socfpga.c
drivers/sysreset/sysreset_socfpga_soc64.c
drivers/sysreset/sysreset_sti.c
drivers/sysreset/sysreset_syscon.c
drivers/sysreset/sysreset_watchdog.c
drivers/sysreset/sysreset_x86.c
drivers/sysreset/sysreset_xtfpga.c
drivers/thermal/imx_scu_thermal.c
drivers/thermal/imx_thermal.c
drivers/thermal/imx_tmu.c
drivers/thermal/thermal-uclass.c
drivers/thermal/thermal_sandbox.c
drivers/timer/Kconfig
drivers/timer/Makefile
drivers/timer/adi_sc5xx_timer.c [new file with mode: 0644]
drivers/timer/altera_timer.c
drivers/timer/andes_plmt_timer.c
drivers/timer/arc_timer.c
drivers/timer/arm_global_timer.c
drivers/timer/arm_twd_timer.c
drivers/timer/ast_timer.c
drivers/timer/atmel_pit_timer.c
drivers/timer/atmel_tcb_timer.c
drivers/timer/cadence-ttc.c
drivers/timer/dw-apb-timer.c
drivers/timer/fttmr010_timer.c
drivers/timer/imx-gpt-timer.c
drivers/timer/mchp-pit64b-timer.c
drivers/timer/mpc83xx_timer.c
drivers/timer/mtk_timer.c
drivers/timer/nomadik-mtu-timer.c
drivers/timer/npcm-timer.c
drivers/timer/omap-timer.c
drivers/timer/orion-timer.c
drivers/timer/ostm_timer.c
drivers/timer/riscv_aclint_timer.c
drivers/timer/riscv_timer.c
drivers/timer/rockchip_timer.c
drivers/timer/sandbox_timer.c
drivers/timer/sp804_timer.c
drivers/timer/starfive-timer.c
drivers/timer/stm32_timer.c
drivers/timer/tegra-timer.c
drivers/timer/timer-uclass.c
drivers/timer/tsc_timer.c
drivers/timer/xilinx-timer.c
drivers/tpm/cr50_i2c.c
drivers/tpm/sandbox_common.c
drivers/tpm/tpm-uclass.c
drivers/tpm/tpm2_ftpm_tee.c
drivers/tpm/tpm2_tis_core.c
drivers/tpm/tpm2_tis_i2c.c
drivers/tpm/tpm2_tis_mmio.c
drivers/tpm/tpm2_tis_sandbox.c
drivers/tpm/tpm2_tis_spi.c
drivers/tpm/tpm_atmel_twi.c
drivers/tpm/tpm_tis_infineon.c
drivers/tpm/tpm_tis_lpc.c
drivers/tpm/tpm_tis_sandbox.c
drivers/tpm/tpm_tis_st33zp24_i2c.c
drivers/tpm/tpm_tis_st33zp24_spi.c
drivers/ufs/cdns-platform.c
drivers/ufs/ti-j721e-ufs.c
drivers/ufs/ufs-pci.c
drivers/ufs/ufs-uclass.c
drivers/ufs/ufs.c
drivers/ufs/ufs.h
drivers/usb/cdns3/cdns3-ti.c
drivers/usb/cdns3/core.c
drivers/usb/common/common.c
drivers/usb/common/fsl-dt-fixup.c
drivers/usb/common/fsl-errata.c
drivers/usb/dwc3/core.c
drivers/usb/dwc3/dwc3-generic.c
drivers/usb/dwc3/dwc3-layerscape.c
drivers/usb/dwc3/dwc3-meson-g12a.c
drivers/usb/dwc3/dwc3-meson-gxl.c
drivers/usb/dwc3/dwc3-omap.c
drivers/usb/dwc3/ep0.c
drivers/usb/dwc3/gadget.c
drivers/usb/dwc3/samsung_usb_phy.c
drivers/usb/dwc3/ti_usb_phy.c
drivers/usb/emul/sandbox_flash.c
drivers/usb/emul/sandbox_hub.c
drivers/usb/emul/sandbox_keyb.c
drivers/usb/emul/usb-emul-uclass.c
drivers/usb/eth/asix.c
drivers/usb/eth/asix88179.c
drivers/usb/eth/mcs7830.c
drivers/usb/eth/r8152.c
drivers/usb/eth/r8152_fw.c
drivers/usb/eth/smsc95xx.c
drivers/usb/eth/usb_ether.c
drivers/usb/gadget/at91_udc.c
drivers/usb/gadget/atmel_usba_udc.c
drivers/usb/gadget/bcm_udc_otg_phy.c
drivers/usb/gadget/ci_udc.c
drivers/usb/gadget/config.c
drivers/usb/gadget/dwc2_udc_otg.c
drivers/usb/gadget/dwc2_udc_otg_phy.c
drivers/usb/gadget/dwc2_udc_otg_xfer_dma.c
drivers/usb/gadget/ep0.c
drivers/usb/gadget/epautoconf.c
drivers/usb/gadget/ether.c
drivers/usb/gadget/f_acm.c
drivers/usb/gadget/f_dfu.c
drivers/usb/gadget/f_fastboot.c
drivers/usb/gadget/f_mass_storage.c
drivers/usb/gadget/f_rockusb.c
drivers/usb/gadget/f_sdp.c
drivers/usb/gadget/f_thor.c
drivers/usb/gadget/g_dnl.c
drivers/usb/gadget/max3420_udc.c
drivers/usb/gadget/rndis.c
drivers/usb/gadget/udc/udc-core.c
drivers/usb/gadget/udc/udc-uclass.c
drivers/usb/gadget/usbstring.c
drivers/usb/host/dwc2.c
drivers/usb/host/dwc3-of-simple.c
drivers/usb/host/dwc3-sti-glue.c
drivers/usb/host/ehci-atmel.c
drivers/usb/host/ehci-exynos.c
drivers/usb/host/ehci-fsl.c
drivers/usb/host/ehci-generic.c
drivers/usb/host/ehci-hcd.c
drivers/usb/host/ehci-marvell.c
drivers/usb/host/ehci-msm.c
drivers/usb/host/ehci-mx5.c
drivers/usb/host/ehci-mx6.c
drivers/usb/host/ehci-mxs.c
drivers/usb/host/ehci-npcm.c
drivers/usb/host/ehci-omap.c
drivers/usb/host/ehci-pci.c
drivers/usb/host/ehci-tegra.c
drivers/usb/host/ehci-vf.c
drivers/usb/host/ehci-zynq.c
drivers/usb/host/ohci-at91.c
drivers/usb/host/ohci-da8xx.c
drivers/usb/host/ohci-generic.c
drivers/usb/host/ohci-hcd.c
drivers/usb/host/ohci-lpc32xx.c
drivers/usb/host/ohci-npcm.c
drivers/usb/host/ohci-pci.c
drivers/usb/host/r8a66597-hcd.c
drivers/usb/host/usb-sandbox.c
drivers/usb/host/usb-uclass.c
drivers/usb/host/usb_bootdev.c
drivers/usb/host/xhci-brcm.c
drivers/usb/host/xhci-dwc3.c
drivers/usb/host/xhci-exynos5.c
drivers/usb/host/xhci-fsl.c
drivers/usb/host/xhci-mem.c
drivers/usb/host/xhci-mtk.c
drivers/usb/host/xhci-mvebu.c
drivers/usb/host/xhci-omap.c
drivers/usb/host/xhci-pci.c
drivers/usb/host/xhci-rcar.c
drivers/usb/host/xhci-ring.c
drivers/usb/host/xhci.c
drivers/usb/isp1760/isp1760-hcd.c
drivers/usb/isp1760/isp1760-if.c
drivers/usb/isp1760/isp1760-uboot.c
drivers/usb/mtu3/mtu3_plat.c
drivers/usb/musb-new/am35x.c
drivers/usb/musb-new/da8xx.c
drivers/usb/musb-new/mt85xx.c
drivers/usb/musb-new/musb_core.c
drivers/usb/musb-new/musb_dsps.c
drivers/usb/musb-new/musb_gadget.c
drivers/usb/musb-new/musb_gadget_ep0.c
drivers/usb/musb-new/musb_host.c
drivers/usb/musb-new/musb_uboot.c
drivers/usb/musb-new/omap2430.c
drivers/usb/musb-new/pic32.c
drivers/usb/musb-new/sunxi.c
drivers/usb/musb-new/ti-musb.c
drivers/usb/musb-new/ux500.c
drivers/usb/musb/am35x.c
drivers/usb/musb/musb_core.c
drivers/usb/musb/musb_hcd.c
drivers/usb/musb/musb_udc.c
drivers/usb/phy/rockchip_usb2_phy.c
drivers/usb/ulpi/omap-ulpi-viewport.c
drivers/usb/ulpi/ulpi-viewport.c
drivers/usb/ulpi/ulpi.c
drivers/video/anx9804.c
drivers/video/atmel_hlcdfb.c
drivers/video/atmel_lcdfb.c
drivers/video/backlight-uclass.c
drivers/video/backlight_gpio.c
drivers/video/bcm2835.c
drivers/video/bmp.c
drivers/video/bochs.c
drivers/video/bridge/anx6345.c
drivers/video/bridge/ps862x.c
drivers/video/bridge/ptn3460.c
drivers/video/bridge/ssd2825.c
drivers/video/bridge/video-bridge-uclass.c
drivers/video/broadwell_igd.c
drivers/video/console_normal.c
drivers/video/console_rotate.c
drivers/video/console_truetype.c
drivers/video/coreboot.c
drivers/video/display-uclass.c
drivers/video/dsi-host-uclass.c
drivers/video/dw_hdmi.c
drivers/video/dw_mipi_dsi.c
drivers/video/efi.c
drivers/video/endeavoru-panel.c
drivers/video/exynos/exynos_dp.c
drivers/video/exynos/exynos_dp_lowlevel.c
drivers/video/exynos/exynos_fb.c
drivers/video/exynos/exynos_mipi_dsi.c
drivers/video/exynos/exynos_mipi_dsi_common.c
drivers/video/exynos/exynos_mipi_dsi_lowlevel.c
drivers/video/himax-hx8394.c
drivers/video/hitachi_tx18d42vm_lcd.c
drivers/video/hx8238d.c
drivers/video/ihs_video_out.c
drivers/video/imx/ipu_common.c
drivers/video/imx/ipu_disp.c
drivers/video/imx/mxc_ipuv3_fb.c
drivers/video/ivybridge_igd.c
drivers/video/lm3533_backlight.c
drivers/video/logicore_dp_tx.c
drivers/video/mali_dp.c
drivers/video/mcde_simple.c
drivers/video/meson/meson_canvas.c
drivers/video/meson/meson_dw_hdmi.c
drivers/video/meson/meson_plane.c
drivers/video/meson/meson_vclk.c
drivers/video/meson/meson_venc.c
drivers/video/meson/meson_vpu.c
drivers/video/meson/meson_vpu_init.c
drivers/video/mipi_dsi.c
drivers/video/mvebu_lcd.c
drivers/video/mxsfb.c
drivers/video/nexell/s5pxx18_dp.c
drivers/video/nexell/s5pxx18_dp_hdmi.c
drivers/video/nexell/s5pxx18_dp_lvds.c
drivers/video/nexell/s5pxx18_dp_mipi.c
drivers/video/nexell/s5pxx18_dp_rgb.c
drivers/video/nexell/soc/s5pxx18_soc_disptop.h
drivers/video/nexell_display.c
drivers/video/omap3_dss.c
drivers/video/orisetech_otm8009a.c
drivers/video/panel-uclass.c
drivers/video/pwm_backlight.c
drivers/video/raydium-rm68200.c
drivers/video/renesas-r61307.c
drivers/video/renesas-r69328.c
drivers/video/rockchip/dw_mipi_dsi_rockchip.c
drivers/video/rockchip/rk3288_hdmi.c
drivers/video/rockchip/rk3288_mipi.c
drivers/video/rockchip/rk3288_vop.c
drivers/video/rockchip/rk3399_hdmi.c
drivers/video/rockchip/rk3399_mipi.c
drivers/video/rockchip/rk3399_vop.c
drivers/video/rockchip/rk_edp.c
drivers/video/rockchip/rk_hdmi.c
drivers/video/rockchip/rk_lvds.c
drivers/video/rockchip/rk_mipi.c
drivers/video/rockchip/rk_vop.c
drivers/video/sandbox_dsi_host.c
drivers/video/sandbox_osd.c
drivers/video/sandbox_sdl.c
drivers/video/seps525.c
drivers/video/simple_panel.c
drivers/video/simplefb.c
drivers/video/ssd2828.c
drivers/video/stm32/stm32_dsi.c
drivers/video/stm32/stm32_ltdc.c
drivers/video/sunxi/lcdc.c
drivers/video/sunxi/sunxi_de2.c
drivers/video/sunxi/sunxi_display.c
drivers/video/sunxi/sunxi_dw_hdmi.c
drivers/video/sunxi/sunxi_lcd.c
drivers/video/sunxi/tve_common.c
drivers/video/tda19988.c
drivers/video/tdo-tl070wsh30.c
drivers/video/tegra124/display.c
drivers/video/tegra124/dp.c
drivers/video/tegra124/sor.c
drivers/video/tegra20/mipi-phy.c
drivers/video/tegra20/tegra-dsi.c
drivers/video/tegra20/tegra-pwm-backlight.c
drivers/video/ti/tilcdc-panel.c
drivers/video/ti/tilcdc.c
drivers/video/tidss/tidss_drv.c
drivers/video/vesa.c
drivers/video/vidconsole-uclass.c
drivers/video/video-uclass.c
drivers/video/video_bmp.c
drivers/video/video_osd-uclass.c
drivers/video/videomodes.c
drivers/video/zynqmp/zynqmp_dpsub.c
drivers/virtio/virtio-uclass.c
drivers/virtio/virtio_blk.c
drivers/virtio/virtio_mmio.c
drivers/virtio/virtio_net.c
drivers/virtio/virtio_pci_legacy.c
drivers/virtio/virtio_pci_modern.c
drivers/virtio/virtio_ring.c
drivers/virtio/virtio_rng.c
drivers/virtio/virtio_sandbox.c
drivers/w1-eeprom/ds24xxx.c
drivers/w1-eeprom/ds2502.c
drivers/w1-eeprom/eep_sandbox.c
drivers/w1-eeprom/w1-eeprom-uclass.c
drivers/w1/mxc_w1.c
drivers/w1/w1-gpio.c
drivers/w1/w1-uclass.c
drivers/watchdog/armada-37xx-wdt.c
drivers/watchdog/ast2600_wdt.c
drivers/watchdog/ast_wdt.c
drivers/watchdog/at91sam9_wdt.c
drivers/watchdog/bcm6345_wdt.c
drivers/watchdog/cdns_wdt.c
drivers/watchdog/cortina_wdt.c
drivers/watchdog/designware_wdt.c
drivers/watchdog/ftwdt010_wdt.c
drivers/watchdog/imx_watchdog.c
drivers/watchdog/mcf_wdt.c
drivers/watchdog/mpc8xxx_wdt.c
drivers/watchdog/mt7621_wdt.c
drivers/watchdog/mtk_wdt.c
drivers/watchdog/omap_wdt.c
drivers/watchdog/orion_wdt.c
drivers/watchdog/rti_wdt.c
drivers/watchdog/s5p_wdt.c
drivers/watchdog/sandbox_alarm-wdt.c
drivers/watchdog/sandbox_wdt.c
drivers/watchdog/sbsa_gwdt.c
drivers/watchdog/sl28cpld-wdt.c
drivers/watchdog/sp805_wdt.c
drivers/watchdog/stm32mp_wdt.c
drivers/watchdog/tangier_wdt.c
drivers/watchdog/ulp_wdog.c
drivers/watchdog/wdt-uclass.c
drivers/watchdog/xilinx_tb_wdt.c
drivers/watchdog/xilinx_wwdt.c
drivers/xen/events.c
drivers/xen/gnttab.c
drivers/xen/hypervisor.c
drivers/xen/pvblock.c
drivers/xen/xenbus.c
env/Kconfig
env/attr.c
env/callback.c
env/common.c
env/eeprom.c
env/env.c
env/ext4.c
env/fat.c
env/flags.c
env/flash.c
env/mmc.c
env/nand.c
env/nowhere.c
env/nvram.c
env/onenand.c
env/remote.c
env/sf.c
env/ubi.c
examples/api/demo.c
examples/api/glue.c
examples/api/libgenwrap.c
examples/standalone/atmel_df_pow2.c
examples/standalone/sched.c
examples/standalone/stubs.c
fs/btrfs/dev.c
fs/btrfs/disk-io.c
fs/btrfs/volumes.c
fs/cbfs/cbfs.c
fs/cramfs/cramfs.c
fs/cramfs/uncompress.c
fs/ext4/dev.c
fs/ext4/ext4_common.c
fs/ext4/ext4_journal.c
fs/ext4/ext4_write.c
fs/ext4/ext4fs.c
fs/fat/fat.c
fs/fat/fat_write.c
fs/fs.c
fs/fs_internal.c
fs/jffs2/compr_zlib.c
fs/jffs2/jffs2_1pass.c
fs/jffs2/mergesort.c
fs/sandbox/host_bootdev.c
fs/sandbox/sandboxfs.c
fs/semihostingfs.c
fs/ubifs/super.c
fs/ubifs/ubifs.c
fs/yaffs2/yaffs_mtdif.c
fs/yaffs2/yaffs_mtdif2.c
fs/yaffs2/yaffs_uboot_glue.c
fs/zfs/dev.c
fs/zfs/zfs.c
fs/zfs/zfs_fletcher.c
fs/zfs/zfs_lzjb.c
fs/zfs/zfs_sha256.c
include/acpi/acpi_s3.h
include/adc.h
include/android_ab.h
include/api_public.h
include/atf_common.h
include/audio_codec.h
include/autoboot.h
include/axi.h
include/bmp_layout.h
include/bootmeth.h
include/bootstd.h
include/cedit.h
include/common.h [deleted file]
include/configs/mt7621.h
include/configs/mt7623.h
include/configs/octeontx2_common.h
include/ddr_spd.h
include/display.h
include/dm/of.h
include/dm/test.h
include/dt-bindings/clock/adi-sc5xx-clock.h [new file with mode: 0644]
include/eeprom.h
include/env/adi/adi_boot.env [new file with mode: 0644]
include/env_callback.h
include/env_default.h
include/env_flags.h
include/extension_board.h
include/flash.h
include/fsl_errata.h
include/fsl_ifc.h
include/fsl_immap.h
include/fuse.h
include/gzip.h
include/handoff.h
include/i2c_eeprom.h
include/init.h
include/jffs2/load_kernel.h
include/libata.h
include/linux/compat.h
include/linux/mtd/omap_gpmc.h
include/mailbox.h
include/mmc.h
include/mpc85xx.h
include/nand.h
include/netdev.h
include/pci.h
include/phy_interface.h
include/ram.h
include/s_record.h
include/sm.h
include/splash.h
include/u-boot/sha1.h
include/u-boot/sha256.h
include/u-boot/sha512.h
include/virtio.h
include/xen/events.h
net/arp.c
net/bootp.c
net/cdp.c
net/dhcpv6.c
net/dns.c
net/eth-uclass.c
net/eth_bootdev.c
net/eth_common.c
net/fastboot_tcp.c
net/fastboot_udp.c
net/link_local.c
net/mdio-mux-uclass.c
net/mdio-uclass.c
net/ndisc.c
net/net.c
net/net6.c
net/nfs.c
net/pcap.c
net/ping6.c
net/rarp.c
net/sntp.c
net/tcp.c
net/tftp.c
net/udp.c
net/wget.c
net/wol.c
post/cpu/mpc83xx/ecc.c
post/drivers/flash.c
post/drivers/i2c.c
post/drivers/memory.c
post/drivers/rtc.c
post/lib_powerpc/andi.c
post/lib_powerpc/b.c
post/lib_powerpc/cmp.c
post/lib_powerpc/cmpi.c
post/lib_powerpc/complex.c
post/lib_powerpc/cpu.c
post/lib_powerpc/cr.c
post/lib_powerpc/fpu/20001122-1.c
post/lib_powerpc/fpu/20010114-2.c
post/lib_powerpc/fpu/20010226-1.c
post/lib_powerpc/fpu/980619-1.c
post/lib_powerpc/fpu/acc1.c
post/lib_powerpc/fpu/compare-fp-1.c
post/lib_powerpc/fpu/fpu.c
post/lib_powerpc/fpu/mul-subnormal-single-1.c
post/lib_powerpc/load.c
post/lib_powerpc/multi.c
post/lib_powerpc/rlwimi.c
post/lib_powerpc/rlwinm.c
post/lib_powerpc/rlwnm.c
post/lib_powerpc/srawi.c
post/lib_powerpc/store.c
post/lib_powerpc/string.c
post/lib_powerpc/three.c
post/lib_powerpc/threei.c
post/lib_powerpc/threex.c
post/lib_powerpc/two.c
post/lib_powerpc/twox.c
post/post.c
post/tests.c
scripts/Makefile.autoconf
scripts/gen_ll_addressable_symbols.sh
test/bloblist.c
test/boot/bootdev.c
test/boot/bootflow.c
test/boot/bootmeth.c
test/boot/bootstd_common.c
test/boot/cedit.c
test/boot/expo.c
test/boot/image.c
test/boot/measurement.c
test/boot/vbe_fixup.c
test/boot/vbe_simple.c
test/bootm.c
test/cmd/addrmap.c
test/cmd/armffa.c
test/cmd/bdinfo.c
test/cmd/exit.c
test/cmd/fdt.c
test/cmd/font.c
test/cmd/history.c
test/cmd/loadm.c
test/cmd/mem.c
test/cmd/mem_search.c
test/cmd/pci_mps.c
test/cmd/pinmux.c
test/cmd/rw.c
test/cmd/seama.c
test/cmd/setexpr.c
test/cmd/temperature.c
test/cmd/test_echo.c
test/cmd/test_pause.c
test/cmd/wget.c
test/cmd_ut.c
test/command_ut.c
test/common/cmd_ut_common.c
test/common/cread.c
test/common/cyclic.c
test/common/event.c
test/common/test_autoboot.c
test/compression.c
test/dm/acpi.c
test/dm/acpi_dp.c
test/dm/acpigen.c
test/dm/adc.c
test/dm/audio.c
test/dm/axi.c
test/dm/blk.c
test/dm/blkmap.c
test/dm/bootcount.c
test/dm/bus.c
test/dm/button.c
test/dm/cache.c
test/dm/clk.c
test/dm/clk_ccf.c
test/dm/core.c
test/dm/cpu.c
test/dm/cros_ec.c
test/dm/cros_ec_pwm.c
test/dm/devres.c
test/dm/dma.c
test/dm/dsi_host.c
test/dm/efi_media.c
test/dm/eth.c
test/dm/fastboot.c
test/dm/fdtdec.c
test/dm/ffa.c
test/dm/firmware.c
test/dm/fwu_mdata.c
test/dm/gpio.c
test/dm/host.c
test/dm/hwspinlock.c
test/dm/i2c.c
test/dm/i2s.c
test/dm/iommu.c
test/dm/irq.c
test/dm/k210_pll.c
test/dm/led.c
test/dm/mailbox.c
test/dm/mdio.c
test/dm/mdio_mux.c
test/dm/misc.c
test/dm/mmc.c
test/dm/mux-cmd.c
test/dm/mux-emul.c
test/dm/mux-mmio.c
test/dm/nop.c
test/dm/nvmxip.c
test/dm/of_extra.c
test/dm/of_platdata.c
test/dm/ofnode.c
test/dm/ofread.c
test/dm/osd.c
test/dm/p2sb.c
test/dm/panel.c
test/dm/part.c
test/dm/pch.c
test/dm/pci.c
test/dm/pci_ep.c
test/dm/phy.c
test/dm/phys2bus.c
test/dm/pinmux.c
test/dm/pmc.c
test/dm/pmic.c
test/dm/power-domain.c
test/dm/pwm.c
test/dm/qfw.c
test/dm/ram.c
test/dm/read.c
test/dm/reboot-mode.c
test/dm/regmap.c
test/dm/regulator.c
test/dm/remoteproc.c
test/dm/reset.c
test/dm/rkmtd.c
test/dm/rng.c
test/dm/rtc.c
test/dm/scmi.c
test/dm/scsi.c
test/dm/serial.c
test/dm/sf.c
test/dm/simple-bus.c
test/dm/simple-pm-bus.c
test/dm/sm.c
test/dm/smem.c
test/dm/soc.c
test/dm/sound.c
test/dm/spi.c
test/dm/spmi.c
test/dm/syscon-reset.c
test/dm/syscon.c
test/dm/sysinfo-gpio.c
test/dm/sysinfo.c
test/dm/sysreset.c
test/dm/tag.c
test/dm/tee.c
test/dm/test-dm.c
test/dm/test-driver.c
test/dm/test-fdt.c
test/dm/test-uclass.c
test/dm/timer.c
test/dm/tpm.c
test/dm/usb.c
test/dm/video.c
test/dm/virtio.c
test/dm/virtio_device.c
test/dm/virtio_rng.c
test/dm/wdt.c
test/env/attr.c
test/env/cmd_ut_env.c
test/env/fdt.c
test/env/hashtable.c
test/fuzz/cmd_fuzz.c
test/fuzz/virtio.c
test/image/spl_load.c
test/image/spl_load_fs.c
test/image/spl_load_net.c
test/image/spl_load_nor.c
test/image/spl_load_os.c
test/image/spl_load_spi.c
test/lib/abuf.c
test/lib/asn1.c
test/lib/cmd_ut_lib.c
test/lib/efi_device_path.c
test/lib/efi_image_region.c
test/lib/getopt.c
test/lib/hexdump.c
test/lib/kconfig.c
test/lib/kconfig_spl.c
test/lib/lmb.c
test/lib/longjmp.c
test/lib/rsa.c
test/lib/sscanf.c
test/lib/string.c
test/lib/strlcat.c
test/lib/test_aes.c
test/lib/test_crypt.c
test/lib/test_errno_str.c
test/lib/test_print.c
test/lib/uuid.c
test/log/cont_test.c
test/log/log_filter.c
test/log/log_test.c
test/log/log_ut.c
test/log/nolog_ndebug.c
test/log/nolog_test.c
test/log/pr_cont_test.c
test/log/syslog_test.c
test/log/syslog_test_ndebug.c
test/optee/cmd_ut_optee.c
test/overlay/cmd_ut_overlay.c
test/print_ut.c
test/py/u_boot_console_base.py
test/stdint/int-types.c
test/str_ut.c
test/test-main.c
test/time_ut.c
test/unicode_ut.c
test/ut.c
tools/dtoc/dtb_platdata.py
tools/dtoc/test_dtoc.py

index 638b2fdd442f57e7bc48c497dba7bfcfbb1cb985..6d021763a62a19a9c4fadccc62da2cc879d3c665 100644 (file)
@@ -598,6 +598,22 @@ R: Marc Murphy <marc.murphy@sancloud.com>
 S:     Supported
 F:     arch/arm/dts/am335x-sancloud*
 
+ARM SC5XX
+M:     Nathan Barrett-Morrison <nathan.morrison@timesys.com>
+M:     Greg Malysa <greg.malysa@timesys.com>
+M:     Ian Roberts <ian.roberts@timesys.com>
+M:     Vasileios Bimpikas <vasileios.bimpikas@analog.com>
+M:     Utsav Agarwal <utsav.agarwal@analog.com>
+M:     Arturs Artamonovs <arturs.artamonovs@analog.com>
+S:     Supported
+T:     git https://github.com/analogdevicesinc/lnxdsp-u-boot
+F:     arch/arm/include/asm/arch-adi/
+F:     arch/arm/mach-sc5xx/
+F:     drivers/clk/adi/
+F:     drivers/serial/serial_adi_uart4.c
+F:     drivers/timer/adi_sc5xx_timer.c
+F:     include/env/adi/
+
 ARM SNAPDRAGON
 M:     Caleb Connolly <caleb.connolly@linaro.org>
 M:     Neil Armstrong <neil.armstrong@linaro.org>
index 89003c161c2fbf58cf147a248b7028f38d0f5dea..d22132f62fe336dee9da10c4f93bd5ed9a687657 100644 (file)
--- a/api/api.c
+++ b/api/api.c
@@ -7,11 +7,13 @@
 
 #include <config.h>
 #include <command.h>
-#include <common.h>
 #include <env.h>
 #include <malloc.h>
+#include <time.h>
 #include <env_internal.h>
+#include <vsprintf.h>
 #include <linux/delay.h>
+#include <linux/errno.h>
 #include <linux/types.h>
 #include <api_public.h>
 #include <u-boot/crc.h>
index 2e877a85d1474b3054ca55fc56b651c625c4dbe3..8fd078c8c4aa5f5ee57feed64802f64106b1e55b 100644 (file)
@@ -3,9 +3,9 @@
  * Copyright (c) 2011 The Chromium OS Authors.
  */
 
-#include <common.h>
 #include <api_public.h>
 #include <log.h>
+#include <linux/types.h>
 
 /* TODO(clchiou): add support of video device */
 
index 7515c26e8b44edd3a4cc2e8184776cc97a4612c5..264ff530563b913a2db352176901c00f99c4f01c 100644 (file)
@@ -6,7 +6,6 @@
  */
 
 #include <config.h>
-#include <common.h>
 #include <net.h>
 #include <linux/types.h>
 #include <api_public.h>
index 6cfd9e6cc20cd2f7d08d90fc550cdac4e25fa4ee..9afba66c244218009a6116dca610fce7800f0ac9 100644 (file)
@@ -12,7 +12,6 @@
 #include <linux/types.h>
 #include <api_public.h>
 
-#include <asm/u-boot.h>
 #include <asm/global_data.h>
 
 #include "api_private.h"
index e1509663af54c76d042eff4dbdc67a44330d3281..262b35a277795143c679147b306db6230869e88e 100644 (file)
@@ -9,7 +9,6 @@
 #include <linux/types.h>
 #include <api_public.h>
 
-#include <asm/u-boot.h>
 #include <asm/global_data.h>
 
 #include "api_private.h"
index 847a4a3015b0a46898a032c581c6fc38c1e49ea3..3a04a9f691c5b58a30a7160c97f2a435a30304a3 100644 (file)
@@ -12,7 +12,6 @@
 #include <linux/types.h>
 #include <api_public.h>
 
-#include <asm/u-boot.h>
 #include <asm/global_data.h>
 
 #include "api_private.h"
index 78becbe39fb6546656f62490172da0c1205e0df0..3d2d9d6ef4c181cabfc7df3e1d843497226f83c6 100644 (file)
@@ -6,10 +6,10 @@
  */
 
 #include <config.h>
-#include <common.h>
 #include <api_public.h>
 #include <part.h>
 #include <scsi.h>
+#include <linux/types.h>
 
 #if defined(CONFIG_CMD_USB) && defined(CONFIG_USB_STORAGE)
 #include <usb.h>
index e35a26f1eb14d220bcb1ad70a13e83b05e4c6fbe..fd9b7fb5f8dbe4d7efbab4183404c04ea00db520 100644 (file)
@@ -6,6 +6,8 @@
 #ifndef        __ASM_ARC_GLOBAL_DATA_H
 #define __ASM_ARC_GLOBAL_DATA_H
 
+#include <asm/u-boot.h>
+
 #ifndef __ASSEMBLY__
 /* Architecture-specific global data */
 struct arch_global_data {
index 38fc757c1f0044cb8be6aa632f8e88d7290eaa65..39ad03acd2e43dada686be633edb8ee993e04feb 100644 (file)
@@ -1853,6 +1853,9 @@ config TARGET_LS1046AFRWY
          development platform that supports the QorIQ LS1046A
          Layerscape Architecture processor.
 
+config ARCH_SC5XX
+       bool "Analog Devices SC5XX-processor family"
+
 config TARGET_SL28
        bool "Support sl28"
        select ARCH_LS1028A
@@ -2286,6 +2289,8 @@ source "arch/arm/mach-rockchip/Kconfig"
 
 source "arch/arm/mach-s5pc1xx/Kconfig"
 
+source "arch/arm/mach-sc5xx/Kconfig"
+
 source "arch/arm/mach-snapdragon/Kconfig"
 
 source "arch/arm/mach-socfpga/Kconfig"
index a4266a3e3668c5fe9b9bfdd16b30b63f762ba020..734c6d69926bb3b8b074482d4d5c31197fb4c258 100644 (file)
@@ -78,6 +78,7 @@ machine-$(CONFIG_ARCH_OWL)            += owl
 machine-$(CONFIG_ARCH_RENESAS)         += renesas
 machine-$(CONFIG_ARCH_ROCKCHIP)                += rockchip
 machine-$(CONFIG_ARCH_S5PC1XX)         += s5pc1xx
+machine-$(CONFIG_ARCH_SC5XX)           += sc5xx
 machine-$(CONFIG_ARCH_SNAPDRAGON)      += snapdragon
 machine-$(CONFIG_ARCH_SOCFPGA)         += socfpga
 machine-$(CONFIG_ARCH_STM32)           += stm32
index 1e16b89d0066349a5e257e0c364cb477b909324a..01d2e1a125d6e48e5ed74434fd7782caae40de59 100644 (file)
@@ -14,7 +14,6 @@
  * CPU specific code
  */
 
-#include <common.h>
 #include <command.h>
 #include <cpu_func.h>
 #include <irq_func.h>
index 9997e8fc3396b8d1a38b943c51e621f3031eed5d..87ca303e31ba8c53c6dc0ddd053ba89385c0f6f0 100644 (file)
@@ -6,7 +6,6 @@
  * (c) 2007 Pengutronix, Sascha Hauer <s.hauer@pengutronix.de>
  */
 
-#include <common.h>
 #include <asm/arch/imx-regs.h>
 #include <asm/arch/clock.h>
 
index a3d4f14796234df8b6b3c3441afb508a8bb8d3a4..fc56baccfcd6e6a013f819568b2f433336dced38 100644 (file)
@@ -4,7 +4,6 @@
  * Sascha Hauer, Pengutronix
  */
 
-#include <common.h>
 #include <div64.h>
 #include <init.h>
 #include <asm/arch/imx-regs.h>
index a913860491cb02e6ac33ebb337cb658bb4c7d411..b41ca68ae5524f585e492decfeff05fc41a347db 100644 (file)
@@ -4,7 +4,6 @@
  * Sascha Hauer, Pengutronix
  */
 
-#include <common.h>
 #include <init.h>
 #include <asm/arch/imx-regs.h>
 #include <asm/io.h>
index f0fc58deadbaf0d3b72e237592c0178d55d24b23..e3d0216158fed68f6e2faa217f52502202abc8d1 100644 (file)
@@ -9,7 +9,7 @@
  * Alex Zuepke <azu@sysgo.de>
  */
 
-#include <common.h>
+#include <linux/types.h>
 
 #if defined(CONFIG_ARCH_TEGRA)
 static ulong timestamp;
index 305713e78615ac058d20dcde5abea2aa98756bd0..61e182305738859e6e35d74688967a86bd49f923 100644 (file)
@@ -12,7 +12,6 @@
  * CPU specific code
  */
 
-#include <common.h>
 #include <command.h>
 #include <cpu_func.h>
 #include <irq_func.h>
index cba4a1f0358f50992146ed93f2fb4e80cfe45aa6..e792e8e795efb9608b0a5863588cb5819fe53965 100644 (file)
@@ -8,7 +8,6 @@
  */
 
 #include <asm-offsets.h>
-#include <common.h>
 #include <config.h>
 
 /*
index 95963d2665f45543083acd47c750e4dec6d46e34..5b87a3af91b22a19cd607a51dea1eef27d20bae6 100644 (file)
@@ -6,7 +6,6 @@
 #include <cpu_func.h>
 #include <asm/cache.h>
 #include <linux/types.h>
-#include <common.h>
 
 #if !CONFIG_IS_ENABLED(SYS_DCACHE_OFF)
 void invalidate_dcache_all(void)
index 2ce413a7f8661a2be32a412c9af39fac843ca519..07ab04b7b08a4425d3f8e145107617d2dacaac7c 100644 (file)
@@ -12,7 +12,6 @@
  * CPU specific code
  */
 
-#include <common.h>
 #include <command.h>
 #include <cpu_func.h>
 #include <irq_func.h>
index 4e1cf3a1e32bbcdb7cf0cae6524f29c60490ad9e..58f6cf80cae048a90bb41e157f15801af9eaa4a8 100644 (file)
@@ -9,7 +9,6 @@
  * Copyright (C) 2010 Freescale Semiconductor, Inc.
  */
 
-#include <common.h>
 #include <log.h>
 #include <linux/errno.h>
 #include <asm/io.h>
index 381264b8a18d24a783f70989aed6e73b4f3ccaea..851b4deb080ba43b1956064964a55016aaa3e776 100644 (file)
@@ -6,7 +6,6 @@
  *                       <armlinux@phytec.de>
  */
 
-#include <common.h>
 #include <linux/errno.h>
 #include <asm/io.h>
 #include <asm/arch/clock.h>
index 4f3cb63c56df5a14c97e36daebaadd95d3fb523d..7b2bb09551b5e68fda4d5785da965471754ec67c 100644 (file)
@@ -9,7 +9,6 @@
  * Copyright (C) 2010 Freescale Semiconductor, Inc.
  */
 
-#include <common.h>
 #include <command.h>
 #include <cpu_func.h>
 #include <hang.h>
index 249f8de8fbe14c37f30a7cec8b1b0e9ba7867e4a..76a69d7f9586b3e29bd45cd1216b2d9b7e97b9b5 100644 (file)
@@ -6,7 +6,6 @@
  * on behalf of DENX Software Engineering GmbH
  */
 
-#include <common.h>
 #include <config.h>
 #include <init.h>
 #include <log.h>
index 2cfbd780953d96f09a9a134d5bc19e388b7d5937..b2d3b2b13efd83f8f7e1ffb92d4abb8c42c3f84c 100644 (file)
@@ -6,7 +6,6 @@
  * on behalf of DENX Software Engineering GmbH
  */
 
-#include <common.h>
 #include <config.h>
 #include <log.h>
 #include <asm/io.h>
index a94803ee93d93d77379c47472a7c11c4149d7ccd..c3136dd8976ad341e93de272dd224efcc507b737 100644 (file)
@@ -6,7 +6,6 @@
  * on behalf of DENX Software Engineering GmbH
  */
 
-#include <common.h>
 #include <config.h>
 #include <init.h>
 #include <log.h>
index 77bca7e331a07166132f83b7a432936cd5d82aa7..8b65c094a8ad6d9fee11df2c91cbef4d0f70f087 100644 (file)
@@ -6,7 +6,6 @@
  * on behalf of DENX Software Engineering GmbH
  */
 
-#include <common.h>
 #include <config.h>
 #include <hang.h>
 #include <log.h>
index 61982e38a1d4a017873b95ce69e7da262bedaa0d..a6eb053cadb0a18eecb74eacb5a824d1a0457739 100644 (file)
@@ -20,7 +20,6 @@
 
 #include <asm-offsets.h>
 #include <config.h>
-#include <common.h>
 #include <system-constants.h>
 
 /*
index 3dff3d768d1ca8355ed1cd88267a5df3f21f452f..cbd3b5d9958a01fef9ed9b3538497ea522fd00a9 100644 (file)
@@ -9,7 +9,6 @@
  * (C) Copyright 2009-2010 Freescale Semiconductor, Inc.
  */
 
-#include <common.h>
 #include <init.h>
 #include <time.h>
 #include <asm/global_data.h>
index c882bd39eab07006120606bfe2152a0ea4e1dee2..5d6c9f0861e1409f055b1bca2f133d0960b77e45 100644 (file)
@@ -16,7 +16,6 @@
 
 #include <asm-offsets.h>
 #include <config.h>
-#include <common.h>
 #include <linux/linkage.h>
 
 /*
index 334bb5427432ddef2631b1ccb1f6f5563373a8b7..efd232d342378072a64948cd367ab5d8f541e373 100644 (file)
@@ -12,7 +12,6 @@
  * CPU specific code
  */
 
-#include <common.h>
 #include <command.h>
 #include <cpu_func.h>
 #include <irq_func.h>
index 17bd53dae847c46c5ed95d909b2db230c65836ed..f25a8674dea40a0a5a42dbad26cd7a8d91fc1690 100644 (file)
@@ -4,7 +4,7 @@
  *     Texas Instruments Incorporated, <www.ti.com>
  */
 
-#include <common.h>
+#include <config.h>
 #include <init.h>
 #include <time.h>
 #include <asm/global_data.h>
index 39217c5b2bf1d9ea6aa58a5fb80e5f27f597ec24..7f73f893458b72d1b1d8cf9ceb9ab34434711dfb 100644 (file)
@@ -9,7 +9,6 @@
  *
  */
 
-#include <common.h>
 #include <asm/io.h>
 #include <linux/errno.h>
 #include <asm/arch/sysmap.h>
index 1b3f36aebe11e47939c784aeb1ab8b410c567a36..55dcc2fd78ca77ba60ca8d248993ce110821036e 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright 2013 Broadcom Corporation.
  */
 
-#include <common.h>
 #include <asm/io.h>
 #include <linux/errno.h>
 #include <asm/arch/sysmap.h>
index d7edefee23184ceaa907876f9685732ad4a8df66..b769c451105f02ae13e3dbd2682e961ef14cdf21 100644 (file)
@@ -9,7 +9,6 @@
  *
  */
 
-#include <common.h>
 #include <log.h>
 #include <asm/io.h>
 #include <linux/delay.h>
index 209ceca9a06e4b1c4058c2e2e69b2f13cdc1893e..5f7cc4a102d09b6cf6bcb24aa5096b83fdf43448 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright 2014 Broadcom Corporation.
  */
 
-#include <common.h>
 #include <asm/io.h>
 #include <linux/delay.h>
 #include <linux/errno.h>
index f2ba354c24f8d468f23c81d261177144ffe2ea48..f3ff29bebe850272371639b3eff0201830bc3114 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright 2013 Broadcom Corporation.
  */
 
-#include <common.h>
 #include <asm/io.h>
 #include <linux/errno.h>
 #include <asm/arch/sysmap.h>
index f604aec62fa6b52642b862ed77060cc272a64a26..87918059408c280e8f8eb2e2decf06b0aa8545b5 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright 2014 Broadcom Corporation.
  */
 
-#include <common.h>
 #include <linux/errno.h>
 #include <asm/arch/sysmap.h>
 #include "clk-core.h"
index 8f6260e7857ea401b60bb25fead33f31ff7ee576..b258fea45c8e4c90bca29c5929dd1d4232682d83 100644 (file)
@@ -9,7 +9,6 @@
  *
  */
 
-#include <common.h>
 #include <asm/io.h>
 #include <linux/errno.h>
 #include <asm/arch/sysmap.h>
index 1b3f36aebe11e47939c784aeb1ab8b410c567a36..55dcc2fd78ca77ba60ca8d248993ce110821036e 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright 2013 Broadcom Corporation.
  */
 
-#include <common.h>
 #include <asm/io.h>
 #include <linux/errno.h>
 #include <asm/arch/sysmap.h>
index 26b673a5405e26e7e8d04d5ef954edf41df1d8e3..3f2e021a307ccf6050836444364757ad73e92bd8 100644 (file)
@@ -9,7 +9,6 @@
  *
  */
 
-#include <common.h>
 #include <log.h>
 #include <asm/io.h>
 #include <linux/delay.h>
index 209ceca9a06e4b1c4058c2e2e69b2f13cdc1893e..5f7cc4a102d09b6cf6bcb24aa5096b83fdf43448 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright 2014 Broadcom Corporation.
  */
 
-#include <common.h>
 #include <asm/io.h>
 #include <linux/delay.h>
 #include <linux/errno.h>
index f2ba354c24f8d468f23c81d261177144ffe2ea48..f3ff29bebe850272371639b3eff0201830bc3114 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright 2013 Broadcom Corporation.
  */
 
-#include <common.h>
 #include <asm/io.h>
 #include <linux/errno.h>
 #include <asm/arch/sysmap.h>
index f604aec62fa6b52642b862ed77060cc272a64a26..87918059408c280e8f8eb2e2decf06b0aa8545b5 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright 2014 Broadcom Corporation.
  */
 
-#include <common.h>
 #include <linux/errno.h>
 #include <asm/arch/sysmap.h>
 #include "clk-core.h"
index 1491e5c88b20a4a016592f1f2a0c49e2165b13cd..87e4337be4e04055f6fb30a40a0db3b955eae982 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright 2013 Broadcom Corporation.
  */
 
-#include <common.h>
 #include <cpu_func.h>
 #include <asm/io.h>
 #include <asm/arch/sysmap.h>
index 63992fd870184bf723f50aaf086c2a4da599c3e9..617c8d68a2a92a5d4149dfd3ccea88b7ce7b76a9 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright 2014 Broadcom Corporation.
  */
 
-#include <common.h>
 #include <cpu_func.h>
 #include <asm/io.h>
 
index a3137752e8864124ec4fe5bdcb0282fec0625c9c..c3be33124c6af1a80109bea6dba715d3094cfdbf 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright 2014 Broadcom Corporation.
  */
 
-#include <common.h>
 #include <cpu_func.h>
 #include <asm/io.h>
 
index 19ff4323528b81f37fd0d6ec5197a7e060a30015..d11420d2fdd02a4934340523148d4c5a93c45e95 100644 (file)
@@ -7,7 +7,6 @@
 #include <cpu_func.h>
 #include <asm/cache.h>
 #include <linux/types.h>
-#include <common.h>
 #include <asm/armv7.h>
 #include <asm/utils.h>
 
index 0ac4e7ba8c80a18349a90e3f21a8d91f217bfb74..b2c52db68dc9dc941a03fd0c66dba211861da8b2 100644 (file)
@@ -7,7 +7,6 @@
  * CP15 specific code
  */
 
-#include <common.h>
 #include <command.h>
 #include <asm/system.h>
 #include <asm/cache.h>
index 6259ffa510866024d26aa110c8494d86b719db02..aa981faef001c3380d33ee4726321818c6613ba5 100644 (file)
@@ -14,7 +14,6 @@
  * CPU specific code
  */
 
-#include <common.h>
 #include <command.h>
 #include <cpu_func.h>
 #include <irq_func.h>
index f6d25bb682c707b4aa8eb52fe5c9a9fd1a02a8a0..7baade61b073e39f792f93f4f869aa424fc339e3 100644 (file)
@@ -8,7 +8,6 @@
  * secure mode before booting an operating system.
  */
 
-#include <common.h>
 #include <bootm.h>
 #include <cpu_func.h>
 #include <log.h>
index 8c3a323f0654aacc943f482b47cdf517f73eda99..b345671b0a64f9d3f20f8b0c269cdcde4444179a 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright 2014 Broadcom Corporation.
  */
 
-#include <common.h>
 #include <asm/io.h>
 #include <asm/iproc-common/armpll.h>
 #include <asm/iproc-common/sysmap.h>
index 896d2f9569427b5040514996c254d05afd49d0c0..eca7e8b512b40619d3bc2324d7a43f42747ea973 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright 2014 Broadcom Corporation.
  */
 
-#include <common.h>
 #include <cpu_func.h>
 #include <asm/cache.h>
 
index a4255a44c00138ba5e4746bad00b5a580349bf3a..b60d90f7e6a3cb5c5c18004c3b2db9e44dff821c 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright 2014 Broadcom Corporation.
  */
 
-#include <common.h>
 #include <div64.h>
 #include <init.h>
 #include <time.h>
index 4e1fe281201f195abcbc64cb98cbc306838af856..e885a85ce65c3f96bfab16646a855a5b1eb9bc65 100644 (file)
@@ -3,7 +3,7 @@
  * Copyright 2014 Freescale Semiconductor, Inc.
  */
 
-#include <common.h>
+#include <config.h>
 #include <clock_legacy.h>
 #include <asm/global_data.h>
 #include <asm/io.h>
index c455969609f668cc1e9dcd265691384eaf9f9b58..74a2dcbc116a909a2816a90155ab1764b5132093 100644 (file)
@@ -4,7 +4,6 @@
  * Copyright 2021 NXP
  */
 
-#include <common.h>
 #include <cpu_func.h>
 #include <init.h>
 #include <net.h>
index 1c3d24bcad9400dd8f4d2147d418292bc22ae941..34eea22eb923ccece9ffeafe58b15611657de8ac 100644 (file)
@@ -3,7 +3,7 @@
  * Copyright 2014 Freescale Semiconductor, Inc.
  */
 
-#include <common.h>
+#include <config.h>
 #include <clock_legacy.h>
 #include <net.h>
 #include <asm/global_data.h>
index e31a4fb6c31bb439790c8e2159a2bd4de85542bb..664eae532d5f9e933abbe900924abb62cbae4cf9 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright 2014 Freescale Semiconductor, Inc.
  */
 
-#include <common.h>
 #include <asm/io.h>
 
 #include "fsl_epu.h"
index f74d819ea1ea6c2f64f410b9be88075aaccc3839..c1eadb34523fc58a025b2ac8eb85efb2c78ef06a 100644 (file)
@@ -3,7 +3,7 @@
  * Copyright 2014 Freescale Semiconductor, Inc.
  */
 
-#include <common.h>
+#include <config.h>
 #include <asm/arch/fsl_serdes.h>
 #include <asm/arch/immap_ls102xa.h>
 #include <linux/errno.h>
index 8c030be8b36f72daf9a7bc22a77c7928699eb174..3032e266c5d4ec60c68ff07e12e140839da8263a 100644 (file)
@@ -3,7 +3,7 @@
  * Copyright 2014 Freescale Semiconductor, Inc.
  */
 
-#include <common.h>
+#include <linux/kernel.h>
 #include <asm/arch/fsl_serdes.h>
 #include <asm/arch/immap_ls102xa.h>
 
index 84d4ea3a8f4a0d63b7ec78fbf8172893342c3639..7ff59edd452ee4bf1b4b28060b7e08eef3a9d580 100644 (file)
@@ -3,7 +3,7 @@
  * Copyright 2015 Freescale Semiconductor, Inc.
  */
 
-#include <common.h>
+#include <config.h>
 #include <log.h>
 #include <asm/arch/clock.h>
 #include <asm/io.h>
index a19496862359aa1a1d8b8209e02a268ccdec5037..374de92d026c8697b03ce2a34fdcff7f8e8f4c4d 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright 2014 Freescale Semiconductor, Inc.
  */
 
-#include <common.h>
 #include <spl.h>
 
 u32 spl_boot_device(void)
index c6126b10c355bca21ab7f92a979499110886a4e9..6f32ced5aec346f70c913f2527961ccf4dc546f6 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright 2014 Freescale Semiconductor, Inc.
  */
 
-#include <common.h>
 #include <init.h>
 #include <time.h>
 #include <asm/global_data.h>
index 1d31c63e5fde29b1e96a49c6f7645b7191d80f64..2d83e4c721d25603bf4ec55391a767d23d06504c 100644 (file)
@@ -6,7 +6,6 @@
  *     Lokesh Vutla <lokeshvutla@ti.com>
  */
 
-#include <common.h>
 #include <command.h>
 #include <cpu_func.h>
 #include <asm/armv7.h>
index fb2920950d426508f9ae61ce2172c425c1e97058..4331dde7643d529307157d1e30ee2b0502ff0687 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2009 Samsung Electronics
  * Minkyu Kang <mk7.kang@samsung.com>
  */
-#include <common.h>
 #include <display_options.h>
 #include <fdtdec.h>
 #include <init.h>
index 5068327d3c5fdb7c75ca70986e58156a5cddc450..986b585b70e92a0e8a9a7af015bf68f7677fc63a 100644 (file)
@@ -5,7 +5,7 @@
  * Donghwa Lee <dh09.lee@samsung.com>
  */
 
-#include <common.h>
+#include <config.h>
 #include <errno.h>
 #include <asm/io.h>
 #include <asm/arch/pwm.h>
index 0fc170936ae442be71b7a7966ba4147af285e0db..c0035fb18ebb64d739110106f750f79efd3809ba 100644 (file)
@@ -4,7 +4,7 @@
  * Naveen Krishna Ch <ch.naveen@samsung.com>
  */
 
-#include <common.h>
+#include <config.h>
 #include <asm/io.h>
 #include <asm/arch/sromc.h>
 
index 9d981cce145d72fa3a754add7ecadebc5133b2ce..12994ecc843ee0b6dbc205f6bd4dd38116c7b1b8 100644 (file)
@@ -6,7 +6,6 @@
  * Minkyu Kang <mk7.kang@samsung.com>
  */
 
-#include <common.h>
 #include <div64.h>
 #include <init.h>
 #include <time.h>
index 8febfe5276696132929b3d53c769f5741f66ba03..27ffb450378f5b3edf9d66ad8e4ef093551fe188 100644 (file)
@@ -4,7 +4,6 @@
  * Hyunseok, Jung <hsjung@nexell.co.kr>
  */
 
-#include <common.h>
 #include <command.h>
 #include <asm/system.h>
 #include <asm/cache.h>
index 5cb8cfa6cf3fc0035a5a25651f48de8dba2c3986..4c30f3294b7ac5b286419e22d612cb0b0fdcfec9 100644 (file)
@@ -7,7 +7,6 @@
  * which was based on code by Carl van Schaik <carl@ok-labs.com>.
  */
 #include <config.h>
-#include <common.h>
 #include <asm/cache.h>
 
 #include <asm/arch/cpu.h>
index 28ff6a1b7c23071d6124596fb5dc243a9beda199..bc25719c9c465deed97c7f5e291f5c282b86af75 100644 (file)
@@ -9,7 +9,6 @@
  * SRAM init for older sunxi SoCs.
  */
 
-#include <common.h>
 #include <init.h>
 #include <asm/io.h>
 #include <asm/arch/cpu.h>
index 7e29636972d992d3c81c816af71da086943ff54c..f0eda1ca98d0cf25ae0de98669509b4f9309d9cf 100644 (file)
@@ -7,7 +7,6 @@
  * Syed Mohammed Khasim <khasim@ti.com>
  */
 
-#include <common.h>
 #include <asm/io.h>
 
 /************************************************************
index c23ddc12b456979aa57c9e6ca5fcaf7bb4296b4e..e61ad7b96e901fac127e8284bb1135c457bf54a3 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright 2013 Freescale Semiconductor, Inc.
  */
 
-#include <common.h>
 #include <clock_legacy.h>
 #include <command.h>
 #include <cpu_func.h>
index a9c1a8fcebc14f43d573f52ce653eaa24e21ce58..7bae0b5574af3a742510af1437249722bd017b8a 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright 2013 Freescale Semiconductor, Inc.
  */
 
-#include <common.h>
 #include <init.h>
 #include <time.h>
 #include <asm/global_data.h>
index c0422485ba4eff3efa8ee14668ff3af8fc0414f9..5dc7ed5e2707a372e737a37917566233ca8ac561 100644 (file)
@@ -15,7 +15,6 @@
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
-#include <common.h>
 #include <errno.h>
 #include <log.h>
 #include <stdio_dev.h>
index 5ffeca13d91341d5e2b40f03f44b0076a7b990bb..811499367d40e691b27b8b3c8f636368af94d05b 100644 (file)
@@ -8,7 +8,6 @@
  * needed to enable ARMv7 virtualization for current hypervisors
  */
 
-#include <common.h>
 #include <cpu_func.h>
 #include <asm/armv7.h>
 #include <asm/cache.h>
index d1aecf6a85cfdfebf48c832f65c0952a971e8860..b6d08b7aad737c93958aaf4534f6868ba7f57dbb 100644 (file)
@@ -4,7 +4,6 @@
  * Author(s): Vikas Manocha, <vikas.manocha@st.com> for STMicroelectronics.
  */
 
-#include <common.h>
 #include <cpu_func.h>
 #include <errno.h>
 #include <log.h>
index 65427b5312bea62a9a08a02d3b633c3fdb55bcee..b4440d3f3f8481d5a94aca819b07a66cb2fc5ca3 100644 (file)
@@ -7,7 +7,6 @@
  * Kamil Lulko, <kamil.lulko@gmail.com>
  */
 
-#include <common.h>
 #include <cpu_func.h>
 #include <irq_func.h>
 #include <asm/io.h>
index c30af4ff7a282f37baa429ed59ff334975555f25..d8fa4f0c707a81c04ce775d34f1131e555e40d59 100644 (file)
@@ -21,7 +21,7 @@
  * using CFG_SYS_HZ_CLOCK.
  */
 
-#include <common.h>
+#include <config.h>
 #include <init.h>
 #include <time.h>
 #include <asm/global_data.h>
index 57d06f0575dcfe95b7e9c976de741ea25caf6572..d4c64f2d60d9aeef5fa2ac51acf10222ad0cc8c4 100644 (file)
@@ -7,7 +7,6 @@
  * Alexander Graf <agraf@suse.de>
  */
 
-#include <common.h>
 #include <cpu_func.h>
 #include <hang.h>
 #include <log.h>
index 9bfe3815e51a0b6d4c1f34cb99edbb6331d27e78..97667e607a836e2c5847a550c5974948f4a6c825 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright 2016 NXP Semiconductor, Inc.
  */
 
-#include <common.h>
 #include <asm/cache.h>
 #include <asm/psci.h>
 #include <asm/system.h>
index 3c7f36ad8d89d7b215523cf60542fc67af7f5aac..d568efa427abdbf06a06c26584ecc49e994c420a 100644 (file)
@@ -10,7 +10,6 @@
  * Gary Jennejohn, DENX Software Engineering, <garyj@denx.de>
  */
 
-#include <common.h>
 #include <command.h>
 #include <cpu_func.h>
 #include <irq_func.h>
index b11936548fb3ed08faa577b4dd4dca598c7bc9e3..85c78f55789dbd2cfb774eafef86527f25ef3bb1 100644 (file)
@@ -8,7 +8,6 @@
  * level before booting an operating system.
  */
 
-#include <common.h>
 #include <bootm.h>
 #include <cpu_func.h>
 #include <log.h>
index 12d31184ad91bfa58c5eb2ddf58f7d0375afc935..d2dbfdd08a02f65e415dc04758e1d0446cf6413a 100644 (file)
@@ -4,7 +4,7 @@
  * Copyright 2014-2015 Freescale Semiconductor, Inc.
  */
 
-#include <common.h>
+#include <config.h>
 #include <clock_legacy.h>
 #include <cpu_func.h>
 #include <env.h>
index 22ce6992165bdf9b432aaf02b047304f3d6b9682..ca6be3626fbeeaee5e24342724164e60bcf3c9a6 100644 (file)
@@ -4,7 +4,7 @@
  * Copyright 2020-2021 NXP
  */
 
-#include <common.h>
+#include <config.h>
 #include <clock_legacy.h>
 #include <efi_loader.h>
 #include <log.h>
index b1bb29bcaf55ddbf8809f44f3bfc634d5d0e40f6..78961d8089e441ee03c17c82cc3bfd124650acc5 100644 (file)
@@ -3,11 +3,12 @@
  * Copyright 2015 Freescale Semiconductor, Inc.
  */
 
-#include <common.h>
+#include <config.h>
 #include <log.h>
 #include <asm/io.h>
 #include <linux/delay.h>
 #include <linux/errno.h>
+#include <linux/string.h>
 #include <asm/arch/fsl_serdes.h>
 #include <asm/arch/soc.h>
 
index 4455eb1726dc18d857221500097147f8b89223fa..9a24d4b303138b1a0cb921522a18eddaecbaf310 100644 (file)
@@ -4,7 +4,7 @@
  * Copyright 2019 NXP.
  */
 
-#include <common.h>
+#include <config.h>
 #include <clock_legacy.h>
 #include <cpu_func.h>
 #include <asm/global_data.h>
index fbd5fd7d433bd0f288f6e1347249944f83146796..b768790437fd50018f211f5841ecb0248103aa00 100644 (file)
@@ -4,7 +4,7 @@
  * Copyright 2014-2015 Freescale Semiconductor, Inc.
  */
 
-#include <common.h>
+#include <config.h>
 #include <env.h>
 #include <log.h>
 #include <asm/io.h>
index 137778dc136b2ec48d447d85285bf6217bf232c1..452246e0e67ff75963e419eb7b3ece700d5654bc 100644 (file)
@@ -6,7 +6,7 @@
  * Derived from arch/power/cpu/mpc85xx/speed.c
  */
 
-#include <common.h>
+#include <config.h>
 #include <clock_legacy.h>
 #include <cpu_func.h>
 #include <asm/global_data.h>
index c22e73253c3c663210b7a56fc8a6565646923dd5..04ffefafbf737a18a70836a868509d292b2a465b 100644 (file)
@@ -3,7 +3,7 @@
  * Copyright 2018 NXP
  */
 
-#include <common.h>
+#include <config.h>
 #include <linux/libfdt.h>
 #include <fdt_support.h>
 
index 8d7beca7db38ae7493183e66447893bf0c3760f1..c0e5455507a41cbed4288b8e0d3001f44083eb8f 100644 (file)
@@ -3,7 +3,7 @@
  * Copyright 2016 Freescale Semiconductor, Inc.
  */
 
-#include <common.h>
+#include <config.h>
 #include <asm/arch/fsl_serdes.h>
 #include <asm/arch/immap_lsch2.h>
 
index 86a49b152e44fab1ce6aa195f76c386cb7f77bc4..d48baa63816fb1be3e2e26c990c541c38af5e90f 100644 (file)
@@ -3,9 +3,9 @@
  * Copyright 2019 NXP
  */
 
-#include <common.h>
 #include <fdt_support.h>
 #include <log.h>
+#include <asm/arch/stream_id_lsch3.h>
 #include <asm/arch-fsl-layerscape/immap_lsch3.h>
 #include <asm/arch-fsl-layerscape/fsl_icid.h>
 #include <asm/arch-fsl-layerscape/fsl_portals.h>
index 80d2910f679f2f6cea00ad3b07be2b5730eb38f7..1b4eab3613e567e1214d9353154a6426b43a0b97 100644 (file)
@@ -3,7 +3,8 @@
  * Copyright 2019 NXP
  */
 
-#include <common.h>
+#include <config.h>
+#include <linux/kernel.h>
 #include <asm/arch/fsl_serdes.h>
 
 struct serdes_config {
index e3c3fc6bfb55f9a60ffb83f76b9d2b1eaebef778..ec80e42055d9ab280b8040103dbdb2f72a4ecac6 100644 (file)
@@ -3,11 +3,12 @@
  * Copyright 2018 NXP
  */
 
-#include <common.h>
+#include <config.h>
 #include <asm/arch-fsl-layerscape/immap_lsch2.h>
 #include <asm/arch-fsl-layerscape/fsl_icid.h>
 #include <asm/arch-fsl-layerscape/fsl_portals.h>
 #include <fsl_sec.h>
+#include <asm/arch/stream_id_lsch3.h>
 
 #ifdef CONFIG_SYS_DPAA_QBMAN
 struct qportal_info qp_info[CFG_SYS_QMAN_NUM_PORTALS] = {
index 6c5e52ebaa698db3bb412571aa08c6e09a922411..1911ca1a175bb89cba44b09e6c8e828385b24dd7 100644 (file)
@@ -3,7 +3,7 @@
  * Copyright 2015 Freescale Semiconductor, Inc.
  */
 
-#include <common.h>
+#include <config.h>
 #include <asm/arch/fsl_serdes.h>
 #include <asm/arch/immap_lsch2.h>
 
index 333d7e2fa21aebc35460d181c0db38c1cddb762e..a73dd316f8d0fb074056671e932930c1e856f399 100644 (file)
@@ -3,10 +3,11 @@
  * Copyright 2018 NXP
  */
 
-#include <common.h>
+#include <config.h>
 #include <asm/arch-fsl-layerscape/immap_lsch2.h>
 #include <asm/arch-fsl-layerscape/fsl_icid.h>
 #include <asm/arch-fsl-layerscape/fsl_portals.h>
+#include <asm/arch/stream_id_lsch3.h>
 
 #ifdef CONFIG_SYS_DPAA_QBMAN
 struct qportal_info qp_info[CFG_SYS_QMAN_NUM_PORTALS] = {
index 9347e516bf695c4bca0f61324aa5a3db004a55a3..26ca4ca10f3d4913aa67fe88d371449588918be3 100644 (file)
@@ -4,7 +4,7 @@
  * Copyright 2019 NXP
  */
 
-#include <common.h>
+#include <config.h>
 #include <asm/arch/fsl_serdes.h>
 #include <asm/arch/immap_lsch2.h>
 
index 23743ae10cffd6a824e412602c489efdcbad7542..3a076ca04f6ea3d3a1cda4dfe101d7cf0cb00873 100644 (file)
@@ -3,10 +3,11 @@
  * Copyright 2019 NXP
  */
 
-#include <common.h>
+#include <config.h>
 #include <asm/arch-fsl-layerscape/immap_lsch3.h>
 #include <asm/arch-fsl-layerscape/fsl_icid.h>
 #include <asm/arch-fsl-layerscape/fsl_portals.h>
+#include <asm/arch/stream_id_lsch3.h>
 
 struct icid_id_table icid_tbl[] = {
        SET_SDHC_ICID(1, FSL_SDMMC_STREAM_ID),
index fe667f06c3956f1e96c81ad8ff972f00763905cd..154b727392e12e63200fccbd6b94a16ce2f52491 100644 (file)
@@ -3,7 +3,7 @@
  * Copyright 2017-2019 NXP
  */
 
-#include <common.h>
+#include <config.h>
 #include <asm/arch/fsl_serdes.h>
 #include <asm/arch/soc.h>
 #include <asm/io.h>
index 7997422840f298bb967bc308adf15ecaec3704e5..5088c8ebb7ff5b1499be9e7c7c17a64fcfe6b173 100644 (file)
@@ -3,7 +3,7 @@
  * Copyright 2014-2015 Freescale Semiconductor, Inc.
  */
 
-#include <common.h>
+#include <config.h>
 #include <asm/arch/fsl_serdes.h>
 
 struct serdes_config {
index e6403b7952632d23ca3606583b3eeebc9c364313..c320e835c996fc00c91da832f96d64b542b9af1e 100644 (file)
@@ -3,10 +3,11 @@
  * Copyright 2019 NXP
  */
 
-#include <common.h>
+#include <config.h>
 #include <asm/arch-fsl-layerscape/immap_lsch3.h>
 #include <asm/arch-fsl-layerscape/fsl_icid.h>
 #include <asm/arch-fsl-layerscape/fsl_portals.h>
+#include <asm/arch/stream_id_lsch3.h>
 
 struct icid_id_table icid_tbl[] = {
        SET_SDHC_ICID(1, FSL_SDMMC_STREAM_ID),
index 3a0ed1fa550c4c15db7c4892e3fc1ec173973160..df9329df77e16c9364fbb2eab29625e1964f539f 100644 (file)
@@ -3,10 +3,11 @@
  * Copyright 2019 NXP
  */
 
-#include <common.h>
+#include <config.h>
 #include <asm/arch-fsl-layerscape/immap_lsch3.h>
 #include <asm/arch-fsl-layerscape/fsl_icid.h>
 #include <asm/arch-fsl-layerscape/fsl_portals.h>
+#include <asm/arch/stream_id_lsch3.h>
 
 struct icid_id_table icid_tbl[] = {
        SET_SDHC_ICID(1, FSL_SDMMC_STREAM_ID),
index 5941d90e036fdfb82cda7e5ee94b1972af68dc18..43f0e8c87ba917880d1ad81abea47e9d6e90cfbe 100644 (file)
@@ -3,7 +3,7 @@
  * Copyright 2018, 2020 NXP
  */
 
-#include <common.h>
+#include <config.h>
 #include <asm/arch/fsl_serdes.h>
 
 struct serdes_config {
index ce0c46ad0d4ea32985d683c7071aa7b98c00a441..db913208b9e9c287fe6f6269630be570abc2e2b9 100644 (file)
@@ -3,7 +3,7 @@
  * Copyright 2014-2015 Freescale Semiconductor, Inc.
  */
 
-#include <common.h>
+#include <config.h>
 #include <clock_legacy.h>
 #include <cpu_func.h>
 #include <image.h>
index 4c61d28c20f004960b530815aecf8c1eac58895b..d85a630f8a3cb722034b131b94529688af4f55fc 100644 (file)
@@ -4,7 +4,7 @@
  * Copyright 2019-2021 NXP
  */
 
-#include <common.h>
+#include <config.h>
 #include <clock_legacy.h>
 #include <cpu_func.h>
 #include <env.h>
index 232adfa843a2cce31d95c282e295aa3dc2a368a4..a739ff2da581f9d6a931293a80b676e71111d41c 100644 (file)
@@ -3,7 +3,7 @@
  * Copyright 2014-2015 Freescale Semiconductor, Inc.
  */
 
-#include <common.h>
+#include <config.h>
 #include <clock_legacy.h>
 #include <cpu_func.h>
 #include <debug_uart.h>
index e18b5c81875e7af60601eaafa084968249f41d49..1de7ec596fc7cbbc3e78a241f163bc0a4fcad6b6 100644 (file)
@@ -4,7 +4,6 @@
  * David Feng <fenghua@phytium.com.cn>
  */
 
-#include <common.h>
 #include <bootstage.h>
 #include <command.h>
 #include <time.h>
index e14057c0a47c372675967a7414513e9be1d63446..d7a5a7926102543ef31b5f280eaeb8e5a297b7aa 100644 (file)
@@ -4,7 +4,6 @@
  * Peter Griffin <peter.griffin@linaro.org>
  */
 
-#include <common.h>
 #include <fdtdec.h>
 #include <log.h>
 #include <asm/gpio.h>
index c0e8726346f584636a3c0f14f6124f48cefae8ac..44372cbe4a1c631d35bbc654f92d8e5f74670ae4 100644 (file)
@@ -3,7 +3,7 @@
  * Copyright 2016 NXP Semiconductor, Inc.
  */
 
-#include <common.h>
+#include <config.h>
 #include <cpu_func.h>
 #include <errno.h>
 #include <fdt_support.h>
index 780b119a90bf47cb1a77f4cc881ca2e3e0823ded..c88b4dc66e1f5a0fbdaa42ee7b548dd26ac1a1d6 100644 (file)
@@ -5,7 +5,6 @@
  * Copyright (C) 2022 Linaro Ltd <loic.poulain@linaro.org>
  */
 
-#include <common.h>
 #include <u-boot/sha1.h>
 
 extern void sha1_armv8_ce_process(uint32_t state[5], uint8_t const *src,
index 67dd796c122d267709b0022abb924c881aa0fac2..d5d2b4f4ac7e4c0fdae40c28822648d48b19efae 100644 (file)
@@ -5,7 +5,6 @@
  * Copyright (C) 2022 Linaro Ltd <loic.poulain@linaro.org>
  */
 
-#include <common.h>
 #include <u-boot/sha256.h>
 
 extern void sha256_armv8_ce_process(uint32_t state[8], uint8_t const *src,
index 42a0962fdcda111cb47b9628e7af9dfe60eff19c..485294b88d0ac5516f58fb616ca59eebe30ef022 100644 (file)
@@ -4,7 +4,6 @@
  *   Author: Masahiro Yamada <yamada.masahiro@socionext.com>
  */
 
-#include <common.h>
 #include <linux/libfdt.h>
 #include <asm/spin_table.h>
 
index 8f1231c86ebb20da3937b878b606fc2e355618c9..259b49ff3640e1e711b072a85e9dc41ffc66990a 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright 2020 NXP
  */
 
-#include <common.h>
 #include <spl.h>
 
 char __data_save_start[0] __section(".__data_save_start");
index 06db86598761e1b69947d284e7a0be2a6ee1779b..e8020fec2dc35ba88a25a25d0828ea323a672c88 100644 (file)
@@ -1,6 +1,6 @@
 // SPDX-License-Identifier: GPL-2.0
 /*
- * Copyright (C) 2022-2023 Texas Instruments Incorporated - https://www.ti.com/
+ * Copyright (C) 2022-2024 Texas Instruments Incorporated - https://www.ti.com/
  */
 
 #include "k3-binman.dtsi"
        config = "pm-cfg_j7200.yaml";
 };
 
+&binman {
+       tiboot3-j7200-hs-evm.bin {
+               filename = "tiboot3-j7200-hs-evm.bin";
+               ti-secure-rom {
+                       content = <&u_boot_spl_sr1>, <&ti_fs_enc_sr1>, <&combined_tifs_cfg_sr1>,
+                               <&combined_dm_cfg_sr1>, <&sysfw_inner_cert_sr1>;
+                       combined;
+                       dm-data;
+                       core-opts = <2>;
+                       sysfw-inner-cert;
+                       keyfile = "custMpk.pem";
+                       sw-rev = <1>;
+                       content-sbl = <&u_boot_spl_sr1>;
+                       content-sysfw = <&ti_fs_enc_sr1>;
+                       content-sysfw-data = <&combined_tifs_cfg_sr1>;
+                       content-sysfw-inner-cert = <&sysfw_inner_cert_sr1>;
+                       content-dm-data = <&combined_dm_cfg_sr1>;
+                       load = <0x41c00000>;
+                       load-sysfw = <0x40000>;
+                       load-sysfw-data = <0x7f000>;
+                       load-dm-data = <0x41c80000>;
+               };
+               u_boot_spl_sr1: u-boot-spl {
+                       no-expanded;
+               };
+               ti_fs_enc_sr1: ti-fs-enc.bin {
+                       filename = "ti-sysfw/ti-fs-firmware-j7200-hs-enc.bin";
+                       type = "blob-ext";
+                       optional;
+               };
+               combined_tifs_cfg_sr1: combined-tifs-cfg.bin {
+                       filename = "combined-tifs-cfg.bin";
+                       type = "blob-ext";
+               };
+               sysfw_inner_cert_sr1: sysfw-inner-cert {
+                       filename = "ti-sysfw/ti-fs-firmware-j7200-hs-cert.bin";
+                       type = "blob-ext";
+                       optional;
+               };
+               combined_dm_cfg_sr1: combined-dm-cfg.bin {
+                       filename = "combined-dm-cfg.bin";
+                       type = "blob-ext";
+               };
+       };
+};
+
 &binman {
        tiboot3-j7200_sr2-hs-evm.bin {
                filename = "tiboot3-j7200_sr2-hs-evm.bin";
        };
 };
 
+&binman {
+       tiboot3-j7200-hs-fs-evm.bin {
+               filename = "tiboot3-j7200-hs-fs-evm.bin";
+               ti-secure-rom {
+                       content = <&u_boot_spl_fs_sr1>, <&ti_fs_enc_fs_sr1>,
+                                 <&combined_tifs_cfg_fs_sr1>, <&combined_dm_cfg_fs_sr1>,
+                                 <&sysfw_inner_cert_fs_sr1>;
+                       combined;
+                       dm-data;
+                       core-opts = <2>;
+                       sysfw-inner-cert;
+                       keyfile = "custMpk.pem";
+                       sw-rev = <1>;
+                       content-sbl = <&u_boot_spl_fs_sr1>;
+                       content-sysfw = <&ti_fs_enc_fs_sr1>;
+                       content-sysfw-data = <&combined_tifs_cfg_fs_sr1>;
+                       content-sysfw-inner-cert = <&sysfw_inner_cert_fs_sr1>;
+                       content-dm-data = <&combined_dm_cfg_fs_sr1>;
+                       load = <0x41c00000>;
+                       load-sysfw = <0x40000>;
+                       load-sysfw-data = <0x7f000>;
+                       load-dm-data = <0x41c80000>;
+               };
+               u_boot_spl_fs_sr1: u-boot-spl {
+                       no-expanded;
+               };
+               ti_fs_enc_fs_sr1: ti-fs-enc.bin {
+                       filename = "ti-sysfw/ti-fs-firmware-j7200-hs-fs-enc.bin";
+                       type = "blob-ext";
+                       optional;
+               };
+               combined_tifs_cfg_fs_sr1: combined-tifs-cfg.bin {
+                       filename = "combined-tifs-cfg.bin";
+                       type = "blob-ext";
+               };
+               sysfw_inner_cert_fs_sr1: sysfw-inner-cert {
+                       filename = "ti-sysfw/ti-fs-firmware-j7200-hs-fs-cert.bin";
+                       type = "blob-ext";
+                       optional;
+               };
+               combined_dm_cfg_fs_sr1: combined-dm-cfg.bin {
+                       filename = "combined-dm-cfg.bin";
+                       type = "blob-ext";
+               };
+       };
+};
+
 &binman {
        tiboot3-j7200_sr2-hs-fs-evm.bin {
                filename = "tiboot3-j7200_sr2-hs-fs-evm.bin";
index 75a6e9599b9a64f6367e5ba78889670d21005e02..1514d897634a6f5995d5e39309ee7174f0ed2f20 100644 (file)
@@ -1,6 +1,6 @@
 // SPDX-License-Identifier: GPL-2.0
 /*
- * Copyright (C) 2022-2023 Texas Instruments Incorporated - https://www.ti.com/
+ * Copyright (C) 2022-2024 Texas Instruments Incorporated - https://www.ti.com/
  */
 
 #include "k3-binman.dtsi"
        };
 };
 
+&binman {
+       tiboot3-j721e_sr1_1-hs-fs-evm.bin {
+               filename = "tiboot3-j721e_sr1_1-hs-fs-evm.bin";
+               ti-secure-rom {
+                       content = <&u_boot_spl_fs_sr1_1>;
+                       core = "public";
+                       core-opts = <2>;
+                       load = <CONFIG_SPL_TEXT_BASE>;
+                       keyfile = "custMpk.pem";
+               };
+               u_boot_spl_fs_sr1_1: u-boot-spl {
+                       no-expanded;
+               };
+       };
+       sysfw_fs_sr1_1 {
+               filename = "sysfw.bin_fs_sr1_1";
+               ti-fs-cert-fs.bin {
+                       filename = "ti-sysfw/ti-fs-firmware-j721e_sr1_1-hs-fs-cert.bin";
+                       type = "blob-ext";
+                       optional;
+               };
+               ti-fs-firmware-j721e-hs-fs-enc.bin {
+                       filename = "ti-sysfw/ti-fs-firmware-j721e_sr1_1-hs-fs-enc.bin";
+                       type = "blob-ext";
+                       optional;
+               };
+       };
+       itb_fs_sr1_1 {
+               filename = "sysfw-j721e_sr1_1-hs-fs-evm.itb";
+               fit {
+                       description = "SYSFW and Config fragments";
+                       #address-cells = <1>;
+                       images {
+                               sysfw.bin {
+                                       description = "sysfw";
+                                       type = "firmware";
+                                       arch = "arm";
+                                       compression = "none";
+                                       blob-ext {
+                                           filename = "sysfw.bin_fs_sr1_1";
+                                       };
+                               };
+                               board-cfg.bin {
+                                       description = "board-cfg";
+                                       type = "firmware";
+                                       arch = "arm";
+                                       compression = "none";
+                                       board-cfg {
+                                               filename = "board-cfg.bin";
+                                               type = "blob-ext";
+                                       };
+
+                               };
+                               pm-cfg.bin {
+                                       description = "pm-cfg";
+                                       type = "firmware";
+                                       arch = "arm";
+                                       compression = "none";
+                                       pm-cfg {
+                                               filename = "pm-cfg.bin";
+                                               type = "blob-ext";
+                                       };
+                               };
+                               rm-cfg.bin {
+                                       description = "rm-cfg";
+                                       type = "firmware";
+                                       arch = "arm";
+                                       compression = "none";
+                                       rm-cfg {
+                                               filename = "rm-cfg.bin";
+                                               type = "blob-ext";
+                                       };
+                               };
+                               sec-cfg.bin {
+                                       description = "sec-cfg";
+                                       type = "firmware";
+                                       arch = "arm";
+                                       compression = "none";
+                                       sec-cfg {
+                                               filename = "sec-cfg.bin";
+                                               type = "blob-ext";
+                                       };
+                               };
+                       };
+               };
+       };
+};
+
 &binman {
        tiboot3-j721e_sr2-hs-fs-evm.bin {
                filename = "tiboot3-j721e_sr2-hs-fs-evm.bin";
diff --git a/arch/arm/include/asm/arch-adi/sc5xx/sc5xx.h b/arch/arm/include/asm/arch-adi/sc5xx/sc5xx.h
new file mode 100644 (file)
index 0000000..683e3d4
--- /dev/null
@@ -0,0 +1,39 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
+/*
+ * (C) Copyright 2022 - Analog Devices, Inc.
+ *
+ * Written and/or maintained by Timesys Corporation
+ *
+ * Contact: Nathan Barrett-Morrison <nathan.morrison@timesys.com>
+ * Contact: Greg Malysa <greg.malysa@timesys.com>
+ */
+#ifndef ARCH_ADI_SC5XX_SC5XX_H
+#define ARCH_ADI_SC5XX_SC5XX_H
+
+#include <linux/types.h>
+
+#define TWI0_CLKDIV                 0x31001400    // TWI0 SCL Clock Divider Register
+#define TWI1_CLKDIV                 0x31001500    // TWI1 SCL Clock Divider Register
+#define TWI2_CLKDIV                 0x31001600    // TWI2 SCL Clock Divider Register
+
+const char *sc5xx_get_boot_mode(u32 *bmode);
+void sc5xx_enable_rgmii(void);
+
+void sc5xx_enable_ns_sharc_access(uintptr_t securec0_base);
+void sc5xx_disable_spu0(uintptr_t spu0_start, uintptr_t spu0_end);
+void sc5xx_enable_pmu(void);
+
+/**
+ * Per-SoC init function to be used to initialize hw-specific things. Examples:
+ * enable PMU on armv7, enable coresight timer on armv8, etc.
+ */
+void sc5xx_soc_init(void);
+
+/*
+ * Reconfigure SPI memory map region for OSPI use. The adi-spi3 driver
+ * does not use the memory map, while the OSPI driver requires it. Only
+ * available on sc59x and sc59x-64
+ */
+void sc59x_remap_ospi(void);
+
+#endif
diff --git a/arch/arm/include/asm/arch-adi/sc5xx/soc.h b/arch/arm/include/asm/arch-adi/sc5xx/soc.h
new file mode 100644 (file)
index 0000000..430dbe2
--- /dev/null
@@ -0,0 +1,18 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
+/*
+ * (C) Copyright 2022 - Analog Devices, Inc.
+ *
+ * Written and/or maintained by Timesys Corporation
+ *
+ * Contact: Nathan Barrett-Morrison <nathan.morrison@timesys.com>
+ * Contact: Greg Malysa <greg.malysa@timesys.com>
+ */
+
+#ifndef BOARD_ADI_COMMON_SOC_H
+#define BOARD_ADI_COMMON_SOC_H
+
+#include <phy.h>
+
+void fixup_dp83867_phy(struct phy_device *phydev);
+
+#endif
diff --git a/arch/arm/include/asm/arch-adi/sc5xx/spl.h b/arch/arm/include/asm/arch-adi/sc5xx/spl.h
new file mode 100644 (file)
index 0000000..c215e6b
--- /dev/null
@@ -0,0 +1,43 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
+/*
+ * (C) Copyright 2022 - Analog Devices, Inc.
+ *
+ * Written and/or maintained by Timesys Corporation
+ *
+ * Contact: Nathan Barrett-Morrison <nathan.morrison@timesys.com>
+ * Contact: Greg Malysa <greg.malysa@timesys.com>
+ */
+#ifndef ARCH_ADI_SC5XX_SPL_H
+#define ARCH_ADI_SC5XX_SPL_H
+
+#include <linux/types.h>
+
+struct adi_boot_args {
+       phys_addr_t addr;
+       u32 flags;
+       u32 cmd;
+};
+
+extern u32 bmode;
+
+/**
+ * This table stores the arguments to the rom boot function per bootmode,
+ * and it is populated per SoC in the corresponding SoC support file (sc7x, sc58x,
+ * and so on).
+ */
+extern const struct adi_boot_args adi_rom_boot_args[8];
+
+/**
+ * Struct layout for the boot config is also specific to an SoC, so you should
+ * only access it inside an SoC-specific boot hook function, which will be called
+ * from the boot rom while going from SPL to proper u-boot
+ */
+struct ADI_ROM_BOOT_CONFIG;
+int32_t adi_rom_boot_hook(struct ADI_ROM_BOOT_CONFIG *cfg, int32_t cause);
+
+typedef void (*adi_rom_boot_fn)(void *address, uint32_t flags, int32_t count,
+                               void *hook, uint32_t command);
+
+extern adi_rom_boot_fn adi_rom_boot;
+
+#endif
index 8e3d55f3e7632f7f6c4d155715be871d1aefbe33..393bc7a6a8a5d738d3aa12bbb0dabf59ed0c97b5 100644 (file)
@@ -10,6 +10,8 @@
 #ifndef __CLK_SYNTHESIZER_H
 #define __CLK_SYNTHESIZER_H
 
+#include <linux/types.h>
+
 #define CLK_SYNTHESIZER_ID_REG         0x0
 #define CLK_SYNTHESIZER_XCSEL          0x05
 #define CLK_SYNTHESIZER_MUX_REG                0x14
index 50d6a6bc7605d8d4c17ffc9acccfe1ccb4d3b8ff..a415693de6ea34d24c039aadb6a721b41cb9b50b 100644 (file)
 #define SCU_CLKDUTY_RGMII2TXCK_MASK    (0x7f << SCU_CLKDUTY_RGMII2TXCK_SHIFT)
 
 #ifndef __ASSEMBLY__
+#include <linux/types.h>
 
 struct ast2500_clk_priv {
        struct ast2500_scu *scu;
index 251bfa269bf43f9d0c7509531514be08906e7842..a2c8852db842d6877f3bda6e5257c347a97063f4 100644 (file)
 #define SCU_MISC_CTRL1_UART5_DIV               BIT(12)
 
 #ifndef __ASSEMBLY__
+#include <linux/types.h>
+
 struct ast2600_scu {
        uint32_t prot_key1;             /* 0x000 */
        uint32_t chip_id1;              /* 0x004 */
index 9e29350ca4ba894b54834e012366b8d8ee53b1f2..a02bec9371c09ccda3e8819d9948214a25232fbe 100644 (file)
@@ -7,6 +7,8 @@
 #ifndef __FSL_SERDES_H__
 #define __FSL_SERDES_H__
 
+#include <linux/types.h>
+
 #ifdef CONFIG_FSL_LSCH3
 enum srds_prtcl {
        /*
index 9794db044996578a6ff2a792eb459b6aba35b4fb..147ca2f99de69f93f39193b7053ccc85a8916e34 100644 (file)
@@ -6,6 +6,7 @@
 #ifndef __ARCH_FSL_LSCH2_IMMAP_H__
 #define __ARCH_FSL_LSCH2_IMMAP_H__
 
+#include <config.h>
 #include <fsl_immap.h>
 #ifndef __ASSEMBLY__
 #include <linux/bitops.h>
index c14855d177ecbed336b6b5a2f58d2e292c37b416..1f81d91977c805fc1b017b791c99dd129ae90ab6 100644 (file)
@@ -8,7 +8,7 @@
 
 #include <asm/io.h>
 #include <asm/types.h>
-#include <asm/arch/ddr.h>
+#include <asm/arch/imx-regs.h>
 
 #define DDRC_DDR_SS_GPR0               0x3d000000
 #define DDRC_IPS_BASE_ADDR_0           0x3f400000
index 9244e0a78fd341c7b3e9ee5c5265e249a390d959..35e3ec7a9878de55770c618a46c8912f48504ff1 100644 (file)
@@ -6,6 +6,8 @@
 #ifndef __FSL_SERDES_H
 #define __FSL_SERDES_H
 
+#include <linux/types.h>
+
 enum srds_prtcl {
        /*
         * Nobody will check whether the device 'NONE' has been configured,
index d585b5cf4b2232fc174cd78e9dfae3f9e6427dd0..58013a85951ac449fe9897b95ee44bd55b4f148c 100644 (file)
@@ -7,6 +7,8 @@
 #ifndef __ASM_ARCH_CLOCK_H
 #define __ASM_ARCH_CLOCK_H
 
+#include <stdbool.h>
+
 #ifdef CONFIG_SYS_MX5_HCLK
 #define MXC_HCLK       CONFIG_SYS_MX5_HCLK
 #else
index 634736cc09cdd5b5b61e964bc2e7b1d2c86f06fd..5da0037b2c6b3acbaeed461baffbdb9fa48032a2 100644 (file)
@@ -7,6 +7,8 @@
 
 #include <asm/mach-imx/sys_proto.h>
 
+struct wdog_regs;
+
 void set_wdog_reset(struct wdog_regs *wdog);
 
 #endif /* __SYS_PROTO_IMX7_ */
index ecf3b4e7428c465ab67b280868c8f6ad4648a0af..e736772fda755a5b8f96d6605a0bb989fb95e697 100644 (file)
@@ -7,6 +7,8 @@
 #ifndef _ASM_ARCH_BOOTROM_H
 #define _ASM_ARCH_BOOTROM_H
 
+#include <linux/types.h>
+
 /*
  * Saved Stack pointer address.
  * Access might be needed in some special cases.
index f01c5aeb71cb5de24a0ba6ca455565cdc7b199c7..73e5283108b146ca2d80d39bddc02aaaee921df4 100644 (file)
@@ -6,6 +6,8 @@
 #ifndef _ASM_ARCH_CLOCK_H
 #define _ASM_ARCH_CLOCK_H
 
+#include <linux/types.h>
+
 struct udevice;
 
 /* define pll mode */
index a995bb950d975711f2a6776d75242fb5ac9620cb..f4bbc2401310a52a8dddac624505d6a0affc43eb 100644 (file)
@@ -5,6 +5,8 @@
 #ifndef _ASM_ARCH_GRF_rk3308_H
 #define _ASM_ARCH_GRF_rk3308_H
 
+#include <linux/kernel.h>
+
 struct rk3308_grf {
        unsigned int gpio0a_iomux;
        unsigned int reserved0;
index 5ab9b2809f29ee151fa9fc410ae07cb5cec99039..e26459fdd3bfdab64f23d309748d694e6285ab21 100644 (file)
@@ -8,6 +8,8 @@
 #ifndef _SUNXI_PMIC_BUS_H
 #define _SUNXI_PMIC_BUS_H
 
+#include <linux/types.h>
+
 int pmic_bus_init(void);
 int pmic_bus_read(u8 reg, u8 *data);
 int pmic_bus_write(u8 reg, u8 data);
index 46cd87e79e8da080339ef109dee1a7cf65e5f2af..4fbb4b91c86b8c6b9879e173455a2d5a34265710 100644 (file)
@@ -9,6 +9,8 @@
 #ifndef _TVE_H
 #define _TVE_H
 
+#include <linux/types.h>
+
 enum tve_mode {
        tve_mode_vga,
        tve_mode_composite_pal,
index 78aeb25ac78e37c7ce1658c2a2985f1000745773..b922b2d30ea0f98bde84cf015bcdec33623585c8 100644 (file)
@@ -4,6 +4,7 @@
  * NVIDIA Corporation <www.nvidia.com>
  */
 #include <asm/types.h>
+#include <asm/arch-tegra/tegra.h>
 
 /* Stabilization delays, in usec */
 #define PLL_STABILIZATION_DELAY        (300)
index 4e1da98d1f2105bc61ce8849b482e14efe1c31b6..d0ba83ae8bc8e3d9e479656c109147f9e4a72330 100644 (file)
@@ -6,6 +6,8 @@
 #ifndef _TEGRA_CBOOT_H_
 #define _TEGRA_CBOOT_H_
 
+#include <linux/errno.h>
+#include <linux/types.h>
 #include <net.h>
 
 #ifdef CONFIG_ARM64
index fe7b3a50e0d9d8b2f68d296c882f6bd0d514aeeb..3c1838cf1372dace41b2c0fd0174fa1a3e240453 100644 (file)
@@ -6,6 +6,7 @@
 #ifndef _TEGRA_GPIO_H_
 #define _TEGRA_GPIO_H_
 
+#include <linux/types.h>
 #include <dt-bindings/gpio/tegra-gpio.h>
 
 #define TEGRA_GPIOS_PER_PORT   8
index afec6bbdda339174d7e69d9df3069a31447f4ad5..dc8db39122192fddb3450a8c1c6e57c2638fd309 100644 (file)
@@ -10,6 +10,7 @@
 
 #include <asm/io.h>
 #include <asm/types.h>
+#include <asm/arch/tegra.h>
 
 struct udevice;
 
index f19e4e726a19ab07bcc637b39c27b5294f017549..99488730998ee2c59e6d9c2f75177fec272ed93e 100644 (file)
@@ -7,6 +7,7 @@
 #ifndef __ASM_ESR_H
 #define __ASM_ESR_H
 
+#include <stdbool.h>
 #include <asm/memory.h>
 #include <linux/const.h>
 
index 452bcd1b8fd91d42f62f69e4a624d3c458320064..45401d5e3c8a42714cd246f22b1d6154a4230031 100644 (file)
@@ -12,6 +12,7 @@
 #include <config.h>
 
 #include <linux/types.h>
+#include <asm/u-boot.h>
 
 /* Architecture-specific global data */
 struct arch_global_data {
index 1b7c9cd524993cb293760d7fe097ca39b55aadcd..25763526f5f6c6d0155b3778df9b9fdba3559321 100644 (file)
@@ -9,6 +9,8 @@
 #define __ASM_ARCH_IMX_GPIO_H
 
 #if !(defined(__KERNEL_STRICT_NAMES) || defined(__ASSEMBLY__))
+#include <linux/types.h>
+
 /* GPIO registers */
 struct gpio_regs {
        u32 gpio_dr;    /* data */
index 38a1a6ea0d7b38b09ce9489957d2344b0c4dc017..84fe01e3b712360f30cc3a25dae2044461d14d6b 100644 (file)
@@ -9,6 +9,7 @@
 #ifndef _DAVINCI_NAND_H_
 #define _DAVINCI_NAND_H_
 
+#include <config.h>
 #include <asm/arch/hardware.h>
 
 #define NAND_READ_START                0x00
index 181a8ac4c27f4add7972409f687c85d43f5a3d48..9afd837599961aca706371da9adfffb4a872a799 100644 (file)
@@ -16,7 +16,6 @@
  *   Abdellatif El Khlifi <abdellatif.elkhlifi@arm.com>
  */
 
-#include <common.h>
 #include <linux/kbuild.h>
 #include <linux/arm-smccc.h>
 
index b88b01eefdcd351b343377624764bb68b19a5e7a..7c49462c8eb4ff1cd110f4dd5fe73a8a150c31ed 100644 (file)
@@ -6,7 +6,7 @@
  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  */
 
-#include <common.h>
+#include <config.h>
 #include <init.h>
 #include <asm/global_data.h>
 #include <asm/mach-types.h>
index 29020bd1c6bc84c76dd3cc6bca38a78ef77df3dc..2671f9a0ebf5e71ac95214f374955c370497590a 100644 (file)
@@ -14,7 +14,6 @@
  * Copyright (C) 2001  Erik Mouw (J.A.K.Mouw@its.tudelft.nl)
  */
 
-#include <common.h>
 #include <fdt_support.h>
 #ifdef CONFIG_ARMV7_NONSEC
 #include <asm/armv7.h>
index f30a483ed8b47b62a4e987a9f05f31005bf08aaa..192c120a7d2ebe8a2c57f92b424c1699fd8e0e35 100644 (file)
@@ -11,7 +11,6 @@
  * Copyright (C) 2001  Erik Mouw (J.A.K.Mouw@its.tudelft.nl)
  */
 
-#include <common.h>
 #include <bootm.h>
 #include <bootstage.h>
 #include <command.h>
index 0893915b3004927ad2230dc799c8f1041421d53e..947012f29963d0663b02b77c348a17098df6fd77 100644 (file)
@@ -4,7 +4,6 @@
  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  */
 
-#include <common.h>
 #include <cpu_func.h>
 #include <log.h>
 #include <asm/global_data.h>
index d05314ee57fc1fc03d5e6fd79ae1200b26206c97..0afd3880447f62a54ca577deee9f2324e4a59d0e 100644 (file)
@@ -9,7 +9,6 @@
 #include <asm/armv7.h>
 #include <asm/pl310.h>
 #include <config.h>
-#include <common.h>
 
 struct pl310_regs *const pl310 = (struct pl310_regs *)CFG_SYS_PL310_BASE;
 
index 7a160158671195df67d708274945d02063c0806b..b2ae74a59f102a6c1d83a3b1ded795404fb6aa9a 100644 (file)
@@ -6,7 +6,7 @@
 
 /* for now: just dummy functions to satisfy the linker */
 
-#include <common.h>
+#include <config.h>
 #include <cpu_func.h>
 #include <log.h>
 #include <malloc.h>
index c905ecc4bd943f0cc164009eba09ab9c4332d444..5df5bc305a2fa4742b2230db8baed82f7c9ec7dd 100644 (file)
@@ -17,7 +17,6 @@
  * Copyright 2015 Konsulko Group, Matt Porter <mporter@konsulko.com>
  */
 
-#include <common.h>
 #include <command.h>
 
 /*
index f7029918d4fb86e81205474dd8bae3f0d6efce2c..0a96ba1355f84300a823a3c9d143153654ee272e 100644 (file)
@@ -5,7 +5,9 @@
  * (C) Copyright 2009 Wolfgang Denk <wd@denx.de>
  */
 
-#include <common.h>
+#include <stdio.h>
+#include <linux/stddef.h>
+#include <linux/string.h>
 
 int raise (int signum)
 {
index f4bbd21da915e8c0f57ac84b08bef74bc5bddfd7..2cc0a32f9d47f1f3def290a08f70183206057e47 100644 (file)
@@ -2,7 +2,6 @@
 /*
  * Copyright 2019 Broadcom.
  */
-#include <common.h>
 #include <cpu_func.h>
 #include <dm.h>
 #include <asm/gic.h>
index e394c1ad90934f60493bfa604f1d1584cbe0e910..1f672eee2c86769417692d890a7dd8e4699555f2 100644 (file)
@@ -4,7 +4,6 @@
  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  */
 
-#include <common.h>
 #include <image.h>
 #include <mapmem.h>
 #include <asm/global_data.h>
index 9961472f69f76098faf61fc4b04faf6c6f22d7dc..333a5026a469bec3cbddbbe0bbdebee72ef0e124 100644 (file)
@@ -18,7 +18,6 @@
  * Philippe Robin, ARM Ltd. <philippe.robin@arm.com>
  */
 
-#include <common.h>
 #include <cpu_func.h>
 #include <efi_loader.h>
 #include <irq_func.h>
index 125dc0bb390bb1fa4404d0f892572b4424c700b9..b3024ba514ec363bfc3b957df203fc784278037e 100644 (file)
@@ -4,7 +4,6 @@
  * David Feng <fenghua@phytium.com.cn>
  */
 
-#include <common.h>
 #include <asm/esr.h>
 #include <asm/global_data.h>
 #include <asm/ptrace.h>
index 277854aa878c2fbf6ffe3f05c6a60e8228fd7c49..b977961bde8a2792054a9c679abe49a9b04c8f4f 100644 (file)
@@ -4,9 +4,10 @@
  * Kamil Lulko, <kamil.lulko@gmail.com>
  */
 
-#include <common.h>
+#include <stdio.h>
 #include <cpu_func.h>
 #include <irq_func.h>
+#include <vsprintf.h>
 
 /*
  * Upon exception entry ARMv7-M processors automatically save stack
index 903b3357048aa0d0dcdefbab91a9e3fa038edd8a..be800a3bc9ebbfad81d6ecb6e9c7ff647edd7282 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright 2016 NXP Semiconductor, Inc.
  */
 
-#include <common.h>
 #include <asm/cache.h>
 #include <linux/libfdt.h>
 #include <fdt_support.h>
index 3e051e36f12dd0739934d4b7c2ece9fdb7ecb06f..c9796a4435c6fb9fab89307d20be6711487b5a65 100644 (file)
@@ -20,7 +20,6 @@
  * (C) Copyright 2004 Texas Insturments
  */
 
-#include <common.h>
 #include <command.h>
 #include <cpu_func.h>
 #include <irq_func.h>
index b286bac9bf0082fc737bc9ca158b449e7ad9009c..4357acaef6c4315b46c7a1bbe8fea0609ae61994 100644 (file)
@@ -10,7 +10,6 @@
 #include <fdtdec.h>
 #include <fdt_support.h>
 #include <fdt.h>
-#include <common.h>
 #include <linux/errno.h>
 #include <asm/system.h>
 #include <asm/armv8/mmu.h>
index b13897495daebaa60c5005036b6f7c7f6101738b..c43a63f1819e700e2773e648d8fcc7683ca016ae 100644 (file)
@@ -7,7 +7,6 @@
  * Tom Rini <trini@ti.com>
  */
 
-#include <common.h>
 #include <config.h>
 #include <init.h>
 #include <log.h>
index 656084c7e519486bc606db7f29781aab2554580d..ea1b937add76fb591d499d7d6848c8b70d6723db 100644 (file)
@@ -10,7 +10,6 @@
  * Sysgo Real-Time Solutions, GmbH <www.elinos.com>
  * Marius Groeger <mgroeger@sysgo.de>
  */
-#include <common.h>
 #include <init.h>
 #include <lmb.h>
 #include <asm/global_data.h>
index 45e9c4506a97b9def389c595ed9f8fa0f405bc79..51287251b3f6a078822f3d76c58c36f53434c771 100644 (file)
@@ -6,7 +6,6 @@
  * bootz code:
  * Copyright (C) 2012 Marek Vasut <marek.vasut@gmail.com>
  */
-#include <common.h>
 #include <image.h>
 
 #define        LINUX_ARM_ZIMAGE_MAGIC  0x016f2818
index 7a6151a97223cdd5be6401edc97d4f867a356748..8bace3005eb567ad40f6e8d8a2a0d4c1d885933c 100644 (file)
@@ -3,7 +3,6 @@
  * (C) Copyright 2021 Mark Kettenis <kettenis@openbsd.org>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <dm/uclass-internal.h>
 #include <efi_loader.h>
index a550b553b663bcde0ac70fbd56a51d11b4823cb4..b8f4771e5e71928db9152a3dec301730ae8195d8 100644 (file)
@@ -4,13 +4,14 @@
  * (C) Copyright 2021 Copyright The Asahi Linux Contributors
  */
 
-#include <common.h>
 #include <mailbox.h>
 #include <malloc.h>
 
 #include <asm/arch/rtkit.h>
 #include <linux/apple-mailbox.h>
 #include <linux/bitfield.h>
+#include <linux/errno.h>
+#include <linux/types.h>
 
 #define APPLE_RTKIT_EP_MGMT 0
 #define APPLE_RTKIT_EP_CRASHLOG        1
index bae10271844add321ed488950d51ecba93449fae..531c2ad1562c98839217e935cb618f4228d979a9 100644 (file)
@@ -2,7 +2,7 @@
 /*
  * Copyright (c) 2016 Google, Inc
  */
-#include <common.h>
+#include <config.h>
 #include <dm.h>
 #include <init.h>
 #include <log.h>
index 02bd3f67c96aeee166f641101ce2d15f51f57537..50d7f99b2643927487e4a3a5e59e8045296cb0cf 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2016 Google, Inc
  */
 
-#include <common.h>
 #include <dm.h>
 #include <asm/io.h>
 #include <asm/arch/scu_ast2500.h>
index dc6cdc35d15ca2b538914d74881cc8d4618e0ed1..4c0b705ea88dc0ebcca17f28db564188ec28737a 100644 (file)
@@ -2,7 +2,7 @@
 /*
  * Copyright (c) Aspeed Technology Inc.
  */
-#include <common.h>
+#include <config.h>
 #include <dm.h>
 #include <ram.h>
 #include <timer.h>
index 0952e73a45729e18f0aea24edf24cb7cba57cf42..05390c16f3aff42c388c7de453b5899beac61546 100644 (file)
@@ -2,7 +2,6 @@
 /*
  * Copyright (c) Aspeed Technology Inc.
  */
-#include <common.h>
 #include <debug_uart.h>
 #include <dm.h>
 #include <spl.h>
index 5bc442ef33ce2a21af3881aa7361c30f738b9e4f..c420940d1cb917633a6f89c67664eceb36d0836e 100644 (file)
@@ -3,7 +3,6 @@
  * (C) Copyright 2016 Google, Inc
  */
 
-#include <common.h>
 #include <asm/io.h>
 #include <asm/arch/wdt.h>
 #include <linux/err.h>
index c849885bc2bb2a8706fef1c32d3cf4362da1bd0a..459edadb5876c299458b354d75c2380ba22e5215 100644 (file)
@@ -10,7 +10,6 @@
  * Lead Tech Design <www.leadtechdesign.com>
  */
 
-#include <common.h>
 #include <asm/io.h>
 #include <asm/arch/at91_common.h>
 #include <asm/arch/clk.h>
index 09ac66d619d24a0fff2b98685deda2a97db32f91..ac55a61be64766c63a4b01080bf6b8c3e4995276 100644 (file)
@@ -7,7 +7,7 @@
  * Copyright (C) 2005 Ivan Kokshaysky
  * Copyright (C) 2009 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
  */
-#include <common.h>
+#include <config.h>
 #include <asm/global_data.h>
 #include <asm/io.h>
 #include <asm/arch/hardware.h>
index 9bf03fd68ecc6e8704d3f8899f1de33cd0ded45c..579e76b339d8495d3cbcb2890283085f4a750c60 100644 (file)
@@ -10,7 +10,7 @@
  * Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
  */
 
-#include <common.h>
+#include <config.h>
 #include <init.h>
 #include <asm/io.h>
 #include <asm/arch/hardware.h>
index 91e375146ad7ff51d2f35e29027acae4d4b621c1..7582cef417fff842f9ff840763b1442ed76fe0c2 100644 (file)
@@ -13,7 +13,6 @@
  * Alex Zuepke <azu@sysgo.de>
  */
 
-#include <common.h>
 #include <cpu_func.h>
 #include <asm/io.h>
 #include <asm/arch/hardware.h>
index 8ef5764e3153acfdf634d594fb5e51a942a4f5f7..f7b4116344ca5adf40ec92f4cd7ce27c81493795 100644 (file)
@@ -13,7 +13,7 @@
  * Alex Zuepke <azu@sysgo.de>
  */
 
-#include <common.h>
+#include <config.h>
 #include <init.h>
 #include <time.h>
 #include <asm/global_data.h>
index c10571fa28a0386dabbe6e890a13f0a3819d2f93..201c99ade4ec95c1bbc3e0f12e7de5ebf4b57f6d 100644 (file)
@@ -5,7 +5,6 @@
  * Lead Tech Design <www.leadtechdesign.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <asm/io.h>
 #include <asm/arch/at91sam9260_matrix.h>
index 0c2b9f2ecc9bb764a32861f5634802eee73d4aa5..b8d209cbec843566d2a3625cb15b16e6f47f3008 100644 (file)
@@ -5,7 +5,6 @@
  * Lead Tech Design <www.leadtechdesign.com>
  */
 
-#include <common.h>
 #include <asm/io.h>
 #include <asm/arch/at91_common.h>
 #include <asm/arch/clk.h>
index 3b8a4623866cb88aec23245561f49b2986da5c08..1749662dae9cee4dcbcf30ee0a1d9ca84e5eddd0 100644 (file)
@@ -9,7 +9,6 @@
  * esd electronic system design gmbh <www.esd.eu>
  */
 
-#include <common.h>
 #include <asm/io.h>
 #include <asm/arch/at91_common.h>
 #include <asm/arch/clk.h>
index d517810c991ad9edf97afe4ebd4b4469ec7f7211..4c481484c3d28d734f682628c2ec5280f1eed062 100644 (file)
@@ -5,7 +5,6 @@
  * Lead Tech Design <www.leadtechdesign.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <asm/arch/at91_common.h>
 #include <asm/arch/clk.h>
index 9f98ce7a45ca932e102904ffc188c2aa0ebdce09..4dc6e51aba831bf568bd3d091970211ed38fc3fa 100644 (file)
@@ -4,7 +4,6 @@
  * Josh Wu <josh.wu@atmel.com>
  */
 
-#include <common.h>
 #include <asm/io.h>
 #include <asm/arch/at91_common.h>
 #include <asm/arch/at91_pio.h>
index b4002eb75046de2a677365a56e0a0a8904e8d8f0..4f5bafb8c2e84363c24891a2d3a0add2d95fb594 100644 (file)
@@ -5,7 +5,6 @@
  * Lead Tech Design <www.leadtechdesign.com>
  */
 
-#include <common.h>
 #include <asm/io.h>
 #include <asm/arch/at91_common.h>
 #include <asm/arch/clk.h>
index f44760bed31b6603a8babd6c314809762432620b..40c8a58b5635489a7e9e1f8072c81279f165eb11 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2012 Atmel Corporation
  */
 
-#include <common.h>
 #include <asm/arch/at91_common.h>
 #include <asm/arch/clk.h>
 #include <asm/arch/gpio.h>
index 013daf43b742469be895b459185eda00d34430b7..241de6a5378837dd91ea6379da975706bb75f6e6 100644 (file)
@@ -7,7 +7,8 @@
  * Copyright (C) 2009 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
  */
 
-#include <common.h>
+#include <config.h>
+#include <time.h>
 #include <asm/global_data.h>
 #include <asm/io.h>
 #include <asm/arch/hardware.h>
index 5e84b0a40e1388b5e430e377a83c459c9839ecfc..e476cd5bcf3d2c1bb16fe4c0015d227199d4390c 100644 (file)
@@ -6,7 +6,7 @@
  * Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
  */
 
-#include <common.h>
+#include <config.h>
 #include <init.h>
 #include <vsprintf.h>
 #include <asm/io.h>
index aade13cc014b83fbdc2bb0a457a9482aee6612d3..bb66700566e5f4f0eedf10e30d5f3bdc573b25db 100644 (file)
@@ -42,7 +42,6 @@
  *     someone puts a jffs2 into them)
  * do a read-modify-write for partially programmed pages
  */
-#include <common.h>
 #include <display_options.h>
 #include <flash.h>
 #include <log.h>
index 6acbfa33011dfefd430a214b587a575b4d3d390c..01b2663f96c9288395b14d0209ff332ac527b976 100644 (file)
@@ -5,7 +5,6 @@
  * Lead Tech Design <www.leadtechdesign.com>
  */
 
-#include <common.h>
 #include <cpu_func.h>
 #include <asm/io.h>
 #include <asm/arch/hardware.h>
index e3d3dd880cad2446e5d11242209095551f2af46f..97c572deaaf0e30af984f682c4b0283b0d744b27 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2018 Microchip Technology Inc. and its subsidiaries
  */
 
-#include <common.h>
 #include <asm/arch/at91_common.h>
 #include <asm/arch/clk.h>
 #include <asm/arch/gpio.h>
index a8cf0e4bd7992aa9a05414ee761141f3da70301e..137a5e5b8fd0bd36ccd2d9201ffaf9d9c9381432 100644 (file)
@@ -5,7 +5,6 @@
  * Lead Tech Design <www.leadtechdesign.com>
  */
 
-#include <common.h>
 #include <init.h>
 #include <time.h>
 #include <asm/global_data.h>
index 6bfa02d1d0a3ac06e646f964f3fe3e6c1b41f16b..5357b4cffc2cc711f732b1314bd2a221e4e39f05 100644 (file)
@@ -9,7 +9,7 @@
  * Copyright (C) 2015 Wenyou Yang <wenyou.yang@atmel.com>
  */
 
-#include <common.h>
+#include <config.h>
 #include <asm/global_data.h>
 #include <linux/delay.h>
 #include <linux/errno.h>
index 5ea7e2609f59df55fb808a02c14769bfe088769b..f4b2f4f351cb85e374f7e068093a673909e4a1f1 100644 (file)
@@ -8,7 +8,7 @@
  * Bo Shen <voice.shen@atmel.com>
  */
 
-#include <common.h>
+#include <config.h>
 #include <cpu_func.h>
 #include <init.h>
 #include <vsprintf.h>
index edc20574c31bb03b3e699f6bd533fbb341970e19..469c221176651ff952a8b3e1f900cdcd320d2193 100644 (file)
@@ -4,7 +4,6 @@
  *                   Wenyou Yang <wenyou.yang@atmel.com>
  */
 
-#include <common.h>
 #include <asm/io.h>
 #include <asm/arch/clk.h>
 #include <asm/arch/sama5d2.h>
index 04b700a94d734c42415b43b148838245acd7a3f5..67b63208edaa4c1f59f1c8fd4cd4bcf2dbe55c2f 100644 (file)
@@ -4,7 +4,6 @@
  * Bo Shen <voice.shen@atmel.com>
  */
 
-#include <common.h>
 #include <asm/arch/sama5d3.h>
 #include <asm/arch/at91_common.h>
 #include <asm/arch/clk.h>
index e68ae994078858e11d1dfe5e550b28e32fd3b883..76fff9cd466c1abe5dc590dc18157aaa494c8e08 100644 (file)
@@ -4,7 +4,6 @@
  *                   Bo Shen <voice.shen@atmel.com>
  */
 
-#include <common.h>
 #include <asm/io.h>
 #include <asm/arch/at91_common.h>
 #include <asm/arch/clk.h>
index 1f54c5dcad987522d2b0206cf2a45cd9a87e6d74..bfdb75ce39a9d551c66ed9861d8bf51ac3345981 100644 (file)
@@ -8,7 +8,6 @@
  * Bo Shen <voice.shen@atmel.com>
  */
 
-#include <common.h>
 #include <init.h>
 #include <time.h>
 #include <asm/global_data.h>
index 62108d2bd0a5db43ae42ab539170041efb8d99b8..019ef930022ffba30263192743a0ca199ff1b008 100644 (file)
@@ -4,7 +4,7 @@
  *                   Wenyou Yang <wenyou.yang@atmel.com>
  */
 
-#include <common.h>
+#include <config.h>
 #include <asm/hardware.h>
 #include <asm/io.h>
 #include <asm/arch/at91_sfr.h>
index 8344daeb39a24eebd181e8991c40b1d1d30dbfc7..442b822fe77f4b568e1f4ca6150e9c0601ef3946 100644 (file)
@@ -4,8 +4,8 @@
  *                   Wenyou Yang <wenyou.yang@atmel.com>
  */
 
-#include <common.h>
 #include <dm.h>
+#include <time.h>
 #include <wdt.h>
 #include <asm/io.h>
 #include <asm/arch/hardware.h>
index f7b411cf7dfa59ca239a373649b43a5f0dd9fc10..683e539b1b3c63e8adb9292323c5b0b8bb8bae29 100644 (file)
@@ -8,6 +8,8 @@
 #ifndef AT91_COMMON_H
 #define AT91_COMMON_H
 
+#include <linux/types.h>
+
 void at91_can_hw_init(void);
 void at91_gmac_hw_init(void);
 void at91_macb_hw_init(void);
index 2fa8493a0bd6a552ceb497d138eab8ecbce2a894..3bef5648d4a1ff0350244cb7aff168e12da43bee 100644 (file)
@@ -4,7 +4,6 @@
  *                   Wenyou Yang <wenyou.yang@atmel.com>
  */
 
-#include <common.h>
 #include <asm/hardware.h>
 #include <asm/io.h>
 #include <asm/arch/sama5_matrix.h>
index 5422c05456e03c5aaa3837f045087e5728cb93be..ac6a719d9c08b282d1a8402f3c619c7093f97313 100644 (file)
@@ -7,7 +7,6 @@
  *                   Wenyou Yang <wenyou.yang@atmel.com>
  */
 
-#include <common.h>
 #include <asm/io.h>
 #include <asm/arch/atmel_mpddrc.h>
 #include <asm/arch/at91_common.h>
index f4484a77c7de525d7dc65533cf8c316152c10908..ec38f5bc9315225736117f1112c2f0b0ae90f471 100644 (file)
@@ -11,7 +11,7 @@
  * Copyright (C) 2013 DENX Software Engineering, hs@denx.de
  */
 
-#include <common.h>
+#include <time.h>
 #include <asm/hardware.h>
 #include <asm/io.h>
 #include <linux/delay.h>
index 6638aa82bb6439e1bb6e2ea3af3c052ad00597f8..be3e91c7dbad5388e7349164e60c9a1f56b0b060 100644 (file)
@@ -9,7 +9,6 @@
  * Lead Tech Design <www.leadtechdesign.com>
  */
 
-#include <common.h>
 #include <asm/io.h>
 #include <asm/arch/at91_common.h>
 #include <asm/arch/at91sam9_sdramc.h>
index 8d537998c984fa858498117048fe05e5a9ae79f7..5feb8f735511a45dd37ee04bb3742f57d8f2e067 100644 (file)
@@ -4,7 +4,6 @@
  *                   Bo Shen <voice.shen@atmel.com>
  */
 
-#include <common.h>
 #include <hang.h>
 #include <asm/io.h>
 #include <asm/arch/at91_common.h>
index dfba9f730c12a9a22efad578433e794bf41e4bd7..cde1700a28396e5dd18dfbf28b0939b7a09af0ff 100644 (file)
@@ -8,7 +8,7 @@
  *                   Bo Shen <voice.shen@atmel.com>
  */
 
-#include <common.h>
+#include <config.h>
 #include <hang.h>
 #include <init.h>
 #include <log.h>
index a30c4f6c075f2ad1e13093b111b2463af047a7c0..62a7df8a195f9ea1332204d31eb1a302bde3df96 100644 (file)
@@ -4,7 +4,7 @@
  *                   Bo Shen <voice.shen@atmel.com>
  */
 
-#include <common.h>
+#include <config.h>
 #include <hang.h>
 #include <init.h>
 #include <log.h>
index 016bc1eb412951ef01bed599cf29f5237b490b29..1b459707bc63a4f2ca5821121e020b11aaafbbe9 100644 (file)
@@ -6,7 +6,6 @@
  * project.
  */
 
-#include <common.h>
 #include <cpu_func.h>
 #include <init.h>
 #include <dm/device.h>
index da9faafe1ddc64d21bf6354f4684d7a7b89e023a..c7cbfa72ffcce0998cc082ce58b94a82d5963b02 100644 (file)
@@ -3,9 +3,9 @@
  * (C) Copyright 2012 Stephen Warren
  */
 
-#include <common.h>
 #include <cpu_func.h>
 #include <log.h>
+#include <time.h>
 #include <asm/cache.h>
 #include <asm/io.h>
 #include <asm/arch/base.h>
index 2188b38d84b4a098c96e449bdd96d45400d30f26..4993c0bdb81905c72e41fc4c73dd36b2983e4ea9 100644 (file)
@@ -3,7 +3,6 @@
  * (C) Copyright 2012 Stephen Warren
  */
 
-#include <common.h>
 #include <memalign.h>
 #include <phys2bus.h>
 #include <asm/arch/mbox.h>
index f13ac0c63757db3494caa1d578dd83b3c162782d..9199234917f7d2e49829c13f31cad714562f0006 100644 (file)
@@ -6,7 +6,7 @@
  * project.
  */
 
-#include <common.h>
+#include <config.h>
 #include <cpu_func.h>
 #include <asm/io.h>
 #include <asm/arch/base.h>
index 5ab04083cc6c95d8f7b85ca67f93412564591d60..ca403bae99128efe2f2ba43c257e500c6092f837 100644 (file)
@@ -2,7 +2,6 @@
 /*
  *  Copyright 2022 Broadcom Ltd.
  */
-#include <common.h>
 #include <asm/armv8/mmu.h>
 #include <linux/sizes.h>
 
index 52a53a2c76d08089ac5ed9ca40f9437c4eff2865..b11effe06678032a62301bdfedaa8c5c5a5f0f31 100644 (file)
@@ -2,7 +2,6 @@
 /*
  *  Copyright 2022 Broadcom Ltd.
  */
-#include <common.h>
 #include <asm/armv8/mmu.h>
 #include <linux/sizes.h>
 
index c6b7a54fbdfa16661de69586ab898cba5d76d065..a883e74ac00547cef3cb729f374e564b709a3b63 100644 (file)
@@ -2,7 +2,6 @@
 /*
  *  Copyright 2022 Broadcom Ltd.
  */
-#include <common.h>
 #include <asm/armv8/mmu.h>
 #include <linux/sizes.h>
 
index fe7efb30e22beb35a05e85a4c86e1885c60590da..eb3cc3e5aec20c8ed2f67c20e50dd836e190e449 100644 (file)
@@ -2,7 +2,6 @@
 /*
  *  Copyright 2022 Broadcom Ltd.
  */
-#include <common.h>
 #include <asm/armv8/mmu.h>
 #include <linux/sizes.h>
 
index eb736bf7d5085681874e9a8a6b879bd3a13b46d2..458624e87aa9d9d74bc9c4f28ca18bbf76ec7e7d 100644 (file)
@@ -2,7 +2,6 @@
 /*
  *  Copyright 2022 Broadcom Ltd.
  */
-#include <common.h>
 #include <asm/armv8/mmu.h>
 #include <linux/sizes.h>
 
index 8e53b4929eb81aa53cf1686c9761be42338e253c..83c07727573ab0ea4e57ee38869dafb237e7b51d 100644 (file)
@@ -2,7 +2,6 @@
 /*
  *  Copyright 2022 Broadcom Ltd.
  */
-#include <common.h>
 #include <asm/armv8/mmu.h>
 #include <linux/sizes.h>
 
index 898291075f5e22779fb7fce76a101d33597e0b67..82aba326dcb393a8a0fd718e3446e313863976cc 100644 (file)
@@ -2,7 +2,6 @@
 /*
  *  Copyright 2022 Broadcom Ltd.
  */
-#include <common.h>
 #include <asm/armv8/mmu.h>
 #include <linux/sizes.h>
 
index dae60262f5b7b86ab51e7cc0075ddfc98bc0b3cf..7c0a2638977569a884cf865058d64b6a06d740ed 100644 (file)
@@ -4,7 +4,7 @@
  * Copyright (C) 2009 David Brownell
  */
 
-#include <common.h>
+#include <config.h>
 #include <clock_legacy.h>
 #include <init.h>
 #include <asm/arch/hardware.h>
index 08c8f59252437296cf062973101732d51c1128ba..936b5e11667975a55619d126fc7581b6da41e680 100644 (file)
@@ -5,7 +5,7 @@
  * Copyright (C) 2011
  * Heiko Schocher, DENX Software Engineering, hs@denx.de.
  */
-#include <common.h>
+#include <config.h>
 #include <init.h>
 #include <nand.h>
 #include <ns16550.h>
index f2536c8dd6d6de02e370591cb9ef8cbfee0c942f..4ee3cd0d5b34fd2d0c01c8182c41392e0f6f5f81 100644 (file)
@@ -5,7 +5,6 @@
  * Copyright (C) 2011 OMICRON electronics GmbH
  */
 
-#include <common.h>
 #include <asm/arch/davinci_misc.h>
 #include <asm/arch/hardware.h>
 #include <asm/arch/pinmux_defs.h>
index 1133a23bdee321b9db8802da1b9b5e391e6ae016..0d0ad1e593e1f248c8a09e0204921b00b24203b6 100644 (file)
@@ -6,6 +6,7 @@
 #ifndef __MISC_H
 #define __MISC_H
 
+#include <linux/types.h>
 #include <asm/arch/hardware.h>
 
 /* pin muxer definitions */
index cfad28c43d0ad405f6758519e329efb1fb468947..6c97e5810cdbae139a952455175608d3c7245e73 100644 (file)
@@ -8,7 +8,7 @@
  * Copyright (C) 2004 Texas Instruments.
  */
 
-#include <common.h>
+#include <config.h>
 #include <env.h>
 #include <i2c.h>
 #include <init.h>
index 7904257b4a4224427cae6103ddd4d075e6815864..5ecb434b03b6469df367615d56d00398d048a9bd 100644 (file)
@@ -8,7 +8,6 @@
  * Copyright (C) 2004 Texas Instruments.
  */
 
-#include <common.h>
 #include <asm/arch/hardware.h>
 #include <asm/io.h>
 #include <asm/arch/davinci_misc.h>
index dae10aa03bbb29c79d364efbb7d3bcdb41d504bd..90b817860a62bd7bb00d5dd855380f241bac863a 100644 (file)
@@ -7,7 +7,6 @@
  * Copyright (C) 2004 Texas Instruments.
  */
 
-#include <common.h>
 #include <asm/arch/hardware.h>
 #include <asm/io.h>
 
index 0d59eb6e3cef6f1988403de43fe87122b62439b0..e3e2c56a6760ad3962f34e277bac7e17ab6ac919 100644 (file)
@@ -6,7 +6,6 @@
  * Copyright (C) 2007 Sergey Kubushyn <ksi@koi8.net>
  */
 
-#include <common.h>
 #include <cpu_func.h>
 #include <asm/io.h>
 #include <asm/arch/timer_defs.h>
index 5f5b9ebbf97aa9f0a8ac7cd271e408105ee9899a..8c6cf9c219257d9f1799d48613693f03bebc88b4 100644 (file)
@@ -3,12 +3,10 @@
  * Copyright (C) 2011
  * Heiko Schocher, DENX Software Engineering, hs@denx.de.
  */
-#include <common.h>
 #include <config.h>
 #include <hang.h>
 #include <init.h>
 #include <spl.h>
-#include <asm/u-boot.h>
 #include <asm/utils.h>
 #include <nand.h>
 #include <asm/arch/dm365_lowlevel.h>
index 83c190b620e79163dc98c9a287eb3b1cc7582999..f2990f7187734f686124ad9ae42abfc2d18ed779 100644 (file)
@@ -20,7 +20,7 @@
  * Copyright (C) 2007 Sergey Kubushyn <ksi@koi8.net>
  */
 
-#include <common.h>
+#include <config.h>
 #include <init.h>
 #include <time.h>
 #include <asm/global_data.h>
index f91f2ee862de25f5a3d868df5d8f3ff1d867c5ba..ee71b95237df6b5a2d3c9e6f023cc602b8aa6b3e 100644 (file)
@@ -4,9 +4,10 @@
  * Minkyu Kang <mk7.kang@samsung.com>
  */
 
-#include <common.h>
 #include <clock_legacy.h>
 #include <log.h>
+#include <time.h>
+#include <mach/cpu.h>
 #include <asm/io.h>
 #include <asm/arch/clock.h>
 #include <asm/arch/clk.h>
index 584e4bac09fcc0fe44fce035643a0c09aee5d709..95ed1956a077594a95fed5c60f99fccf5c5b12b5 100644 (file)
@@ -23,7 +23,6 @@
  * MA 02111-1307 USA
  */
 
-#include <common.h>
 #include <config.h>
 #include <asm/io.h>
 #include <asm/arch/cpu.h>
index 1cb8d391e7c92f9adb160784cc90a03c178b6b83..232a2482dc656cefebc13fa74f75267cf96a370e 100644 (file)
@@ -5,7 +5,6 @@
  * Copyright (C) 2012 Samsung Electronics
  */
 
-#include <common.h>
 #include <config.h>
 #include <asm/io.h>
 #include <asm/arch/clk.h>
index d7f02231fdfa0d3f3470703a9dd7f83e6f14450d..4f56160ee50a2d7f0bf02121821857181ae953e9 100644 (file)
@@ -23,6 +23,8 @@
  * MA 02111-1307 USA
  */
 
+#include <linux/types.h>
+#include <mach/cpu.h>
 #include <asm/arch/system.h>
 
 #define DMC_OFFSET     0x10000
index 44923dd5520f61a70d586721c512c2f1f643b5f0..a96ded443b9a689c651a0486e8f652f080cb6992 100644 (file)
@@ -5,7 +5,7 @@
  * Copyright (C) 2012 Samsung Electronics
  */
 
-#include <common.h>
+#include <linux/types.h>
 #include <asm/arch/spl.h>
 
 #include "clock_init.h"
index cad8ccc5315f79f30f7f19774a780c4a6dc20561..193de4c3a595f71ab048fc2cefc0e1bbdbb542c0 100644 (file)
@@ -5,7 +5,6 @@
  * Copyright (C) 2012 Samsung Electronics
  */
 
-#include <common.h>
 #include <config.h>
 #include <asm/io.h>
 #include <asm/arch/clock.h>
index e9874a8c1b24dda1e0481e95a776e6b386d2b6b9..4e508edba0c6b49d7ea0fe580f51b07c2c3175e8 100644 (file)
@@ -8,6 +8,7 @@
 #ifndef _SMDK5250_SETUP_H
 #define _SMDK5250_SETUP_H
 
+#include <linux/types.h>
 #include <asm/arch/dmc.h>
 
 #define NOT_AVAILABLE          0
index a3d8974dcb5b054211556b653fb986aa3b8d4907..757e1586bde4deb0dd0def4ae5855b0d29baa69a 100644 (file)
@@ -8,6 +8,8 @@
 #define __ASM_ARM_ARCH_POWER_H_
 
 #ifndef __ASSEMBLY__
+#include <linux/types.h>
+
 struct exynos4_power {
        unsigned int    om_stat;
        unsigned char   res1[0x8];
index c57b8aee798937adc31987cba8fd18f2691ddf7e..0967ab995a93ad7107758f4974cedf4e446a4993 100644 (file)
@@ -23,7 +23,6 @@
  * MA 02111-1307 USA
  */
 
-#include <common.h>
 #include <config.h>
 #include <debug_uart.h>
 #include <asm/system.h>
index 30e522804fbf379822f2af34a8cc8f1f92a36816..e2f32547adfc5ba27a8e5a4efd2be47a08929fc9 100644 (file)
@@ -4,7 +4,6 @@
  * Thomas Abraham <thomas.ab@samsung.com>
  */
 
-#include <common.h>
 #include <asm/armv8/mmu.h>
 #include <linux/sizes.h>
 
index ad3fbf2da7a86d1089bfddb67994c36d7f05fdc7..4061dd4aafaea117b6289cc38fc3bacdb5fe3dea 100644 (file)
@@ -4,7 +4,6 @@
  * Abhilash Kesavan <a.kesavan@samsung.com>
  */
 
-#include <common.h>
 #include <fdtdec.h>
 #include <log.h>
 #include <asm/gpio.h>
index f2a6c00dd629cfdd48146abdee06eb1cea6f572d..599d3ccff60326fe5dd1afb6680cb35393a4738b 100644 (file)
@@ -4,7 +4,7 @@
  * Donghwa Lee <dh09.lee@samsung.com>
  */
 
-#include <common.h>
+#include <mach/cpu.h>
 #include <asm/io.h>
 #include <asm/arch/power.h>
 
index aff2b5e1b6e863f46952b30a1a152d3e4d39bb03..be18f181a7aac67de9c833bbc8b2e5a10985df5e 100644 (file)
@@ -4,7 +4,6 @@
  * Minkyu Kang <mk7.kang@samsung.com>
  */
 
-#include <common.h>
 #include <cpu_func.h>
 #include <asm/cache.h>
 #include <asm/io.h>
index 553dac75b61d6faa8c4cb23cd1c718c4d6da91db..bd5a06447b9c8977e06da9f26068921c0e7ac4bb 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2012 Samsung Electronics
  */
 
-#include <common.h>
 #include <config.h>
 #include <init.h>
 #include <log.h>
index 12d0d8fd34a673cbbccd9c0a7939b1c8a823914a..f5090613c0d8779e15434a8e2424312fe6321ee1 100644 (file)
@@ -4,7 +4,7 @@
  * Donghwa Lee <dh09.lee@samsung.com>
  */
 
-#include <common.h>
+#include <config.h>
 #include <asm/io.h>
 #include <asm/arch/system.h>
 
index abe8e7f4589848243751997f074f88f253b2dcd1..320a0cf351365a97f56d5b4c41325d165fecac9d 100644 (file)
@@ -5,7 +5,7 @@
  * Copyright (C) 2012 Samsung Electronics
  */
 
-#include <common.h>
+#include <mach/cpu.h>
 #include <asm/arch/tzpc.h>
 #include <asm/io.h>
 
index 2423a0e378555efbc0982f1cefc41588a6f0cbb5..32ec6f0ac0e2fecb5a6cea7deb0ee785daffbc74 100644 (file)
@@ -5,7 +5,6 @@
  * Based on arm926ejs/mx27/timer.c
  */
 
-#include <common.h>
 #include <init.h>
 #include <asm/io.h>
 #include <asm/arch-armv7/systimer.h>
index a26c2066e02887953005399ab8e01a6c94e5273b..84d02c9aca21321ecbed06d1c1213da65ab1b179 100644 (file)
@@ -5,7 +5,6 @@
  * (C) Copyright 2023 Yang Xiwen <forbidden405@outlook.com>
  */
 
-#include <common.h>
 #include <fdtdec.h>
 #include <init.h>
 #include <asm/system.h>
index 83a2bb94179906282a0f6f57160aa49f92270e91..76414558379f2c5eeedbe9ace9a96688fc1e7581 100644 (file)
@@ -5,7 +5,6 @@
  * (C) Copyright 2023 Yang Xiwen <forbidden405@outlook.com>
  */
 
-#include <common.h>
 #include <asm/armv8/mmu.h>
 
 static struct mm_region histb_mem_map[] = {
index ab9b621a2a6284d76a00b0cf76b9695efb234e1a..b368db49fce562b913424117cc73d3d6df80760f 100644 (file)
@@ -3,7 +3,7 @@
  * Copyright 2015 Freescale Semiconductor, Inc.
  */
 
-#include <common.h>
+#include <config.h>
 #include <cpu_func.h>
 #include <asm/armv7.h>
 #include <asm/cache.h>
index 5b2f4686230c195ffac433cb38fd6de0f5277272..c20e80725f8ba93fafa8346acbd8088faddda326 100644 (file)
@@ -2,7 +2,6 @@
 /*
  * Copyright (C) 2012 Boundary Devices Inc.
  */
-#include <common.h>
 #include <linux/errno.h>
 #include <asm/io.h>
 #include <asm/mach-imx/boot_mode.h>
index 2f389dbe8df0a02ff2addfebad255388c5b1f699..c7962ead2d54c565854077ae8988e8ad9b300a7a 100644 (file)
@@ -6,7 +6,7 @@
  * Command for encapsulating DEK blob
  */
 
-#include <common.h>
+#include <config.h>
 #include <command.h>
 #include <log.h>
 #include <malloc.h>
@@ -17,6 +17,7 @@
 #include <asm/arch/clock.h>
 #include <mapmem.h>
 #include <tee.h>
+#include <vsprintf.h>
 #ifdef CONFIG_IMX_SECO_DEK_ENCAP
 #include <imx_container.h>
 #include <firmware/imx/sci/sci.h>
index e2571adfb0062326549bd76fed46ca58673724c9..8104ab26b08f2cbc1ea21726d5b342ac74c3aa45 100644 (file)
@@ -2,7 +2,6 @@
 /*
  * Copyright (C) 2012 Boundary Devices Inc.
  */
-#include <common.h>
 #include <command.h>
 #include <asm/arch/imx-regs.h>
 #include <asm/arch/mxc_hdmi.h>
index 9576b48dde30f99ef4dbc14416d62ed51dd07f53..9925c9922687e47e441cb109b35a3dac47856f66 100644 (file)
@@ -11,7 +11,7 @@
 #include <asm/arch/clock.h>
 #include <linux/compiler.h>
 #include <command.h>
-#include <common.h>
+#include <config.h>
 #include <env.h>
 #include <fsl_sec.h>
 #include <mapmem.h>
index 70a213a49dd06b5eeccf6038c6a209d63361dfb5..c2e452b69270cf83011bfc1f876f7f363b7f7cfc 100644 (file)
@@ -11,7 +11,6 @@
  * SPDX-License-Identifier:    GPL-2.0+
  */
 
-#include <common.h>
 #include <command.h>
 #include <log.h>
 #include <malloc.h>
index 488638c9058518a40116273eb99dbf57cef31eef..ceee31eecd7923a0b31c43e25ffb56fc24b5972e 100644 (file)
@@ -7,7 +7,6 @@
  */
 
 #include <bootm.h>
-#include <common.h>
 #include <dm.h>
 #include <init.h>
 #include <log.h>
index 7d787d0459807ea003d60be2c452314014b879af..2cf684322ea3f8206e57175e2a0c7f76e29f7cf4 100644 (file)
@@ -7,7 +7,6 @@
  *
  */
 /* #define DEBUG */
-#include <common.h>
 #include <log.h>
 #include <asm/io.h>
 #include <asm/arch/imx-regs.h>
index 7895ee66f8a8b7121485e9e6e540da09767586ed..e449fa6f552d9500c46103f319e36f6b7ebb501b 100644 (file)
@@ -6,7 +6,6 @@
  * Copyright 2013 Freescale Semiconductor, Inc.
  */
 
-#include <common.h>
 #include <asm/io.h>
 #include <asm/arch/imx-regs.h>
 #include <asm/arch/iomux-vf610.h>
index d02316ed6cb11b6f15c85bd1f6caaa1e8d8cd555..c13d9f0e00e3957a688534f3d869f3ac9f05badc 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright 2022 NXP
  */
 
-#include <common.h>
 #include <command.h>
 #include <errno.h>
 #include <imx_container.h>
index 27e053ef701c2f0660695cc4f046e235b617df05..85d90686f68043eae0b1eeb1136dd0412c3cabb9 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2010-2015 Freescale Semiconductor, Inc.
  */
 
-#include <common.h>
 #include <command.h>
 #include <config.h>
 #include <display_options.h>
index a5866cf9f7034a39c2f93b4fbe201dcaf5c57ab9..256db150818a98753a26591bd8ca259bb4f46f4c 100644 (file)
@@ -2,8 +2,8 @@
 /*
  * Copyright (C) 2012 Boundary Devices Inc.
  */
-#include <common.h>
 #include <malloc.h>
+#include <time.h>
 #include <asm/arch/clock.h>
 #include <asm/arch/imx-regs.h>
 #include <linux/delay.h>
index 35da0ae04258dbd31ed8778c9a2a80087078af21..e2388e3fef86116da2cb990a8a55abdf7610f081 100644 (file)
@@ -3,7 +3,7 @@
  * Copyright 2019 NXP
  */
 
-#include <common.h>
+#include <config.h>
 #include <errno.h>
 #include <imx_container.h>
 #include <log.h>
index 1c072f6af11d41a8df8a732545e2e24322bd8cc4..ed44df394b154bd2a7d371594ca740b461b7cbfa 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright 2018-2019, 2022 NXP
  */
 
-#include <common.h>
 #include <command.h>
 #include <errno.h>
 #include <imx_container.h>
index 9941b57b4be5160525b2f845ec1db5498945b5de..4e49b5bf3755a91ec89eeb7416c857c4a87393c2 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright 2018 NXP
  */
 
-#include <common.h>
 #include <asm/global_data.h>
 #include <linux/errno.h>
 #include <asm/arch/clock.h>
index 6e643188f4028394ec575c726e358887eee5dcf2..627baa1d83fdc29b98610ec4cbf44508634115d9 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright 2018, 2021 NXP
  */
 
-#include <common.h>
 #include <clk.h>
 #include <cpu.h>
 #include <cpu_func.h>
index c2bed3e0c1fb61aaac5bf0502e9b4f9a6d8f6f29..6d0585f5cc67c2d513edfd347e068646e91af649 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright 2019 NXP
  */
 
-#include <common.h>
 #include <log.h>
 #include <firmware/imx/sci/sci.h>
 #include <asm/arch/sys_proto.h>
index e4f7651bd1d4b6d3163342ff1e9ff19c29ead3d9..3e27d75827a5f4469275d3ffc6906afb538fd3c5 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright 2018 NXP
  */
 
-#include <common.h>
 #include <log.h>
 #include <asm/global_data.h>
 #include <asm/io.h>
index 0ce3036818b66355612290b07ff97a8dc9eeb2a0..c77104d0338fa6107ed8b7a08d70025a154ae367 100644 (file)
@@ -1,5 +1,4 @@
 // SPDX-License-Identifier: GPL-2.0+
-#include <common.h>
 #include <log.h>
 #include <firmware/imx/sci/sci.h>
 #include <asm/mach-imx/sys_proto.h>
index 1eaa68f8d5ff88e3bbd1eb9b23b73994772b5273..f13dfc1551652afa4cf969a48b71c96f1c086974 100644 (file)
@@ -14,7 +14,6 @@
 #include <command.h>
 #include <log.h>
 #include <stddef.h>
-#include <common.h>
 #include <firmware/imx/sci/sci.h>
 #include <asm/arch-imx8/imx8-pins.h>
 #include <asm/arch-imx8/snvs_security_sc.h>
index 47219957b58c028ba46f438cd3fa966832636544..de630e940c906fac615005e3dcb0aff795a01281 100644 (file)
@@ -5,7 +5,6 @@
  * Peng Fan <peng.fan@nxp.com>
  */
 
-#include <common.h>
 #include <asm/arch/clock.h>
 #include <asm/arch/imx-regs.h>
 #include <asm/arch/sys_proto.h>
index 9db62b944e4cb9e89157b01b23ce662c7f07e912..7e6c37487163613107c6f655e23c7d8edb07a1f8 100644 (file)
@@ -5,7 +5,6 @@
  * Peng Fan <peng.fan@nxp.com>
  */
 
-#include <common.h>
 #include <command.h>
 #include <asm/arch/clock.h>
 #include <asm/arch/imx-regs.h>
index b5ed27a923e07c323b5730c25df8553ebd9f4842..7cfdc46d349ede08fd53882f6d34a3464f48f168 100644 (file)
@@ -5,7 +5,6 @@
  * Peng Fan <peng.fan@nxp.com>
  */
 
-#include <common.h>
 #include <asm/arch/clock.h>
 #include <asm/arch/imx-regs.h>
 #include <asm/io.h>
index 62f0b768cfa44cc1fb9855123044326ee608e7bb..f5644c642bd66e4de4247594b113488a0f37bb67 100644 (file)
@@ -10,7 +10,6 @@
 #include <asm/io.h>
 #include <asm/psci.h>
 #include <asm/secure.h>
-#include <common.h>
 #include <cpu_func.h>
 #include <debug_uart.h>
 #include <fsl_wdog.h>
index 0c49fb9cd48805371f7b18662dc804f5967c5ee2..be38ca52885027831cefbc57af66872956b1b06b 100644 (file)
@@ -5,7 +5,7 @@
  * Peng Fan <peng.fan@nxp.com>
  */
 
-#include <common.h>
+#include <config.h>
 #include <cpu_func.h>
 #include <event.h>
 #include <init.h>
index d2fadb4877c95466c9580ec33845f9c4762bcf88..f9d8ed5b048b616cac1b1398f906444beed09ae2 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright 2021 NXP
  */
 
-#include <common.h>
 #include <div64.h>
 #include <asm/io.h>
 #include <errno.h>
index 36d12943a05912d38058e37619e7c23772b52803..fadf165ece2749d1385b20d7cf4c57a5ac56e92e 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright 2020 NXP
  */
 
-#include <common.h>
 #include <command.h>
 #include <div64.h>
 #include <asm/arch/imx-regs.h>
index c6d20f546809a6b7b6ea968c1da05589a24ea24b..43f856bf732476eaaffedccf97066634d478bb06 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright 2020-2021 NXP
  */
 
-#include <common.h>
 #include <asm/io.h>
 #include <asm/arch/imx-regs.h>
 #include <asm/arch/iomux.h>
index e3c6d6760be202883adb70ff40dc20471cc4aab6..449e496521f10442c054ec4ef14fa2f4cc8ad321 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright 2021 NXP
  */
 
-#include <common.h>
 #include <div64.h>
 #include <asm/io.h>
 #include <errno.h>
index cfc09e79cbd53838a51c52f038a00da1feb60eb6..ca657748ed9a0865dbf32ccf7b89be98ff25e57b 100644 (file)
@@ -3,7 +3,8 @@
  * Copyright 2021 NXP
  */
 
-#include <common.h>
+#include <config.h>
+#include <linux/errno.h>
 #include <asm/io.h>
 #include <asm/types.h>
 #include <asm/arch/imx-regs.h>
index 75d92af036a1e520dd384b2c8bea6063bd0c094a..0abf4579a1e0e07678fee305a3085be1f9ffaa9c 100644 (file)
@@ -5,7 +5,6 @@
  * Peng Fan <peng.fan@nxp.com>
  */
 
-#include <common.h>
 #include <command.h>
 #include <asm/arch/clock.h>
 #include <asm/arch/imx-regs.h>
index 7d7ae865946f3b232276b7cbdb17ddc586307bfa..47106fffefba6794ebaf5f75131efe19e4779a55 100644 (file)
@@ -5,7 +5,7 @@
  * Peng Fan <peng.fan@nxp.com>
  */
 
-#include <common.h>
+#include <config.h>
 #include <command.h>
 #include <asm/arch/clock.h>
 #include <asm/arch/sys_proto.h>
index 6afb59e05159aa84a887a5326830d573afbcad33..73f2e72263d6edd8d6873fae952c72bcc0959858 100644 (file)
@@ -3,11 +3,12 @@
  * Copyright 2022 NXP
  */
 
-#include <common.h>
 #include <command.h>
 #include <log.h>
 #include <imx_sip.h>
+#include <vsprintf.h>
 #include <linux/arm-smccc.h>
+#include <linux/errno.h>
 
 int arch_auxiliary_core_check_up(u32 core_id)
 {
index 2117489f23206e67592b98810b505e6ced493d22..32208220b207d4edc243f0b67f1bc052da0cce5d 100644 (file)
@@ -5,7 +5,7 @@
  * Peng Fan <peng.fan@nxp.com>
  */
 
-#include <common.h>
+#include <config.h>
 #include <cpu_func.h>
 #include <init.h>
 #include <log.h>
index d0f855bb1bc13bc1e41eb7deec31829cd39f99e2..8cdb28459a36685bf0716af6b0b7003358e064cf 100644 (file)
@@ -3,8 +3,8 @@
  * Copyright 2022 NXP
  */
 
-#include <common.h>
 #include <log.h>
+#include <linux/errno.h>
 #include <asm/io.h>
 #include <asm/types.h>
 #include <asm/arch/imx-regs.h>
index f7b14ca38d94263bebf7bf8dc5855921e6b6c1c4..26374fdc33eca986c2cf7a661a1225ef0bf06f30 100644 (file)
@@ -3,15 +3,18 @@
  * Copyright (C) 2016 Freescale Semiconductor, Inc.
  */
 
-#include <common.h>
 #include <log.h>
+#include <asm/arch/imx-regs.h>
 #include <asm/io.h>
 #include <asm/mach-imx/sys_proto.h>
 #include <command.h>
 #include <elf.h>
 #include <imx_sip.h>
+#include <vsprintf.h>
 #include <linux/arm-smccc.h>
 #include <linux/compiler.h>
+#include <linux/errno.h>
+#include <linux/string.h>
 #include <cpu_func.h>
 
 #ifndef CONFIG_IMX8
index 34162a3976fbf1120ece470a4de396376717cfcf..3028957953bdaff2d7feef10f1082b27d69154ad 100644 (file)
@@ -4,7 +4,6 @@
  * Author(s): Giulio Benetti <giulio.benetti@benettiengineering.com>
  */
 
-#include <common.h>
 #include <init.h>
 #include <asm/io.h>
 #include <asm/armv7_mpu.h>
index 18131a20f43800e52d27a550235ddb68821abcf8..c134e95ed78059fda725c65eb5f8cbed4deaa79d 100644 (file)
@@ -7,7 +7,6 @@
  *
  * Copyright (C) 2004-2011 Freescale Semiconductor, Inc.
  */
-#include <common.h>
 #include <asm/io.h>
 #include <asm/arch/imx-regs.h>
 #include <asm/mach-imx/iomux-v3.h>
index 9bb63d25b48833cd7a7716d9c871d4c518ee2e35..e739fd14c89820fee8a4641b50e607fccd3a37e9 100644 (file)
@@ -5,7 +5,6 @@
  * Peng Fan <peng.fan@nxp.com>
  */
 
-#include <common.h>
 #include <asm/arch/imx-regs.h>
 #include <asm/io.h>
 #include <asm/arch/sys_proto.h>
index 09a758ff6e893286ae388b2450fc0a0529e0d962..7452b82f110557726d66c458f4cd69589118b525 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright 2013 Stefan Roese <sr@denx.de>
  */
 
-#include <common.h>
 #include <lmb.h>
 #include <log.h>
 #include <asm/arch/sys_proto.h>
index 9c822f721c600c1733e23fb6f6f59f7c84f0220f..34a7d1706f3d75b8460ae18ebd3d1fe27470545e 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2017 NXP
  */
 
-#include <common.h>
 #include <asm/arch/imx-regs.h>
 #include <asm/arch/sys_proto.h>
 #include <asm/io.h>
index 41a5af6bd3077d911eddc72acde6f16966d0f7f6..2b1d203f8635f4c527209889f2cfe31d2282a965 100644 (file)
@@ -1,6 +1,6 @@
 // SPDX-License-Identifier: GPL-2.0+
 
-#include <common.h>
+#include <config.h>
 #include <asm/io.h>
 
 #if defined(CONFIG_MX53)
index bbaddd5a33faf3bb9ca21086d0ac9a45b196700a..0b8a10fd729448aa862f59989f5ec0a7df528762 100644 (file)
@@ -6,7 +6,6 @@
  * (C) Copyright 2009 Freescale Semiconductor, Inc.
  */
 
-#include <common.h>
 #include <command.h>
 #include <log.h>
 #include <asm/io.h>
index f74414419470653913606d75b88787801a2a6b07..180a745d435156ebb37295ae9b9c047547b2ba89 100644 (file)
@@ -4,7 +4,6 @@
  * Patrick Bruenn <p.bruenn@beckhoff.com>
  */
 
-#include <common.h>
 #include <init.h>
 #include <asm/global_data.h>
 
index 47f531dc856cd5cd6f5beaed5f803fdbb5d37cdb..4df5f9c164169e2f8ecba358cc26c9fec9855342 100644 (file)
@@ -6,7 +6,6 @@
  * (C) Copyright 2009 Freescale Semiconductor, Inc.
  */
 
-#include <common.h>
 #include <cpu_func.h>
 #include <asm/arch/imx-regs.h>
 #include <asm/arch/clock.h>
index e0da9c2395841997cf54e01336cd8d3570a5cf5b..fb9f56d2e63ca5760638253ef7a97d39b5ba64d2 100644 (file)
@@ -3,10 +3,10 @@
  * Copyright (C) 2010-2011 Freescale Semiconductor, Inc.
  */
 
-#include <common.h>
 #include <command.h>
 #include <div64.h>
 #include <log.h>
+#include <time.h>
 #include <asm/io.h>
 #include <linux/errno.h>
 #include <asm/arch/imx-regs.h>
index 3c87c577737b302fe7b099eba0a06d39de57daa7..5a1258e002d2e7eb2416bb5bcca473f0101a7d17 100644 (file)
@@ -4,7 +4,6 @@
  * Author: Tim Harvey <tharvey@gateworks.com>
  */
 
-#include <common.h>
 #include <hang.h>
 #include <log.h>
 #include <linux/delay.h>
index 2ba3245e226ca20c0105a7f814f4266e46d4c2d0..ab5de2665778cbe69397d4d66c7aff1b261583be 100644 (file)
@@ -17,7 +17,7 @@
 #include <asm/mach-imx/iomux-v3.h>
 #include <asm/mach-imx/boot_mode.h>
 #include <asm/io.h>
-#include <common.h>
+#include <config.h>
 #include <fsl_esdhc_imx.h>
 #include <linux/delay.h>
 #include <linux/sizes.h>
index b58f11c1e562b338b30b38c41ddc33cb02d76ce9..8b23d48a854cfb33e6d1327dd930c162f5c89b75 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright 2019 NXP
  */
 
-#include <common.h>
 #include <fdt_support.h>
 #include <asm/io.h>
 #include <asm/arch/sys_proto.h>
index de9ace083ce8e7d26f6de40e5f68f22de8b339bb..091a37238316ab8ce173e70837eec023f216ac32 100644 (file)
@@ -6,7 +6,6 @@
  * (C) Copyright 2009 Freescale Semiconductor, Inc.
  */
 
-#include <common.h>
 #include <cpu_func.h>
 #include <asm/io.h>
 #include <linux/errno.h>
index 38ead8ace20ce5f4dc8065c3a46e21ffc75aa8df..340e6147b63823ac48827d491f62ccebea51a2ad 100644 (file)
@@ -10,7 +10,7 @@
 #include <asm/arch/sys_proto.h>
 #include <asm/global_data.h>
 #include <asm/io.h>
-#include <common.h>
+#include <config.h>
 #include <env.h>
 
 DECLARE_GLOBAL_DATA_PTR;
index c2875e727c946994cdf43b301af4164a5f5775cf..3a3e01f3d0aafe97c116178afe548491800544ea 100644 (file)
@@ -7,7 +7,6 @@
  * Copyright 2021 NXP
  */
 
-#include <common.h>
 #include <env.h>
 #include <init.h>
 #include <linux/delay.h>
index 4e232385afc36e809ccdd9ace1cdb18aa091ca55..a8606fa9b24b10bda8a6d7ff79dc064ad4be7cf9 100644 (file)
@@ -6,11 +6,12 @@
  *     Peng Fan <Peng.Fan@freescale.com>
  */
 
-#include <common.h>
+#include <config.h>
 #include <clock_legacy.h>
 #include <command.h>
 #include <div64.h>
 #include <log.h>
+#include <time.h>
 #include <asm/global_data.h>
 #include <asm/io.h>
 #include <linux/errno.h>
index dd731d94962144f613c2006aa32d818970fc111a..2a1304fc11283028bcce083788acb5be0ae602b6 100644 (file)
@@ -6,7 +6,6 @@
  *     Peng Fan <Peng.Fan@freescale.com>
  */
 
-#include <common.h>
 #include <div64.h>
 #include <asm/io.h>
 #include <linux/errno.h>
index cf25569765ea8a2a8e902ec35378418d47613acd..c4a90be3945b5d55859d6f6bf429192c995f2dc3 100644 (file)
@@ -12,7 +12,6 @@
 #include <asm/arch/imx-regs.h>
 #include <asm/arch/crm_regs.h>
 #include <asm/arch/mx7-ddr.h>
-#include <common.h>
 #include <linux/delay.h>
 
 /*
index 0b71fa4034462818cd0a9531aae5831456c3758c..12d6a63b9255de37cf0e5294ea7f1e94378815b1 100644 (file)
@@ -13,7 +13,6 @@
 #include <asm/armv7.h>
 #include <asm/gic.h>
 #include <linux/bitops.h>
-#include <common.h>
 #include <fsl_wdog.h>
 
 #define GPC_LPCR_A7_BSC        0x0
index 689dbefe8ee09344a8404c276c397c3d28710245..16c77cbf7beee4a7876145d80eed1d64e12f7068 100644 (file)
@@ -4,7 +4,6 @@
  * Copyright 2021 NXP
  */
 
-#include <common.h>
 #include <init.h>
 #include <asm/io.h>
 #include <asm/arch/imx-regs.h>
index 37d8565c20fc689eec55fd4a0a19ec25a4065322..fb19c62a520013d99f7c8a859e0a805f29acd8ce 100644 (file)
@@ -3,7 +3,7 @@
  * Copyright (C) 2016 Freescale Semiconductor, Inc.
  */
 
-#include <common.h>
+#include <config.h>
 #include <clock_legacy.h>
 #include <command.h>
 #include <div64.h>
index 05ddeed2a64b4b196c29aa76e0c5bdae16703f5f..2c87a8c18b9645b3f4342340391c538a80df8933 100644 (file)
@@ -2,7 +2,6 @@
 /*
  * Copyright (C) 2016 Freescale Semiconductor, Inc.
  */
-#include <common.h>
 #include <log.h>
 #include <asm/io.h>
 #include <asm/arch/imx-regs.h>
index aa7ea86a443e89a4cc4bec328d820552c6a4a1e5..0bfd8f71815a5e6e530a15955d3a9890a2586401 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2016 Freescale Semiconductor, Inc.
  */
 
-#include <common.h>
 #include <div64.h>
 #include <log.h>
 #include <asm/io.h>
index 4c066557c1cafbebfd1520278d49cee5fe3752c5..d4fb5389cacbca1793133cfb4a296dc06fb7a578 100644 (file)
@@ -3,7 +3,7 @@
  * Copyright (C) 2016 Freescale Semiconductor, Inc.
  */
 
-#include <common.h>
+#include <config.h>
 #include <div64.h>
 #include <log.h>
 #include <asm/io.h>
index 217b7c45867d35cf48d1b0dbc3cbd931f554a8cc..198ae2d919c96168de711dee6a4acfabfbdabdf3 100644 (file)
@@ -4,7 +4,7 @@
  * Copyright 2021 NXP
  */
 
-#include <common.h>
+#include <config.h>
 #include <cpu_func.h>
 #include <init.h>
 #include <log.h>
index 5b022d5c8201f74063dce23e1871fbf8e18205b4..65924483bc890ddad00358277c80123561c29c42 100644 (file)
@@ -11,7 +11,6 @@
  */
 
 #include <asm/io.h>
-#include <common.h>
 #include <command.h>
 #include <fsl_sec.h>
 
index e683673753e14cf8db41030e5442ab855b150420..56725cc109f0cae07a34e170b04fb95ed6f89362 100644 (file)
@@ -2,7 +2,6 @@
 /*
  * Copyright (C) 2016 Freescale Semiconductor, Inc.
  */
-#include <common.h>
 #include <asm/io.h>
 #include <asm/arch/imx-regs.h>
 #include <asm/mach-imx/rdc-sema.h>
index 0e81cc880a1a15b0415f0c7b9fc105a87983a36c..98a42b22f9cc9f9ba8a159dff1bd8c14298d0194 100644 (file)
@@ -7,7 +7,7 @@
  * TsiChung Liew (Tsi-Chung.Liew@freescale.com)
  */
 
-#include <common.h>
+#include <config.h>
 #include <clock_legacy.h>
 #include <asm/arch/imx-regs.h>
 #include <asm/arch/clock.h>
index b30cd9625538f39bbbc185f92e1f84e72d8173c7..bc291dcd1296c3dbfdc308eaf8fd6444e829e14f 100644 (file)
@@ -6,7 +6,7 @@
  * Author: Tim Harvey <tharvey@gateworks.com>
  */
 
-#include <common.h>
+#include <config.h>
 #include <hang.h>
 #include <init.h>
 #include <log.h>
index b9ff9bb83b3ce213639ae8213f5935db276e805c..9a86f5c133f73fa8943d4ad1b96a6b81bf682a11 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright 2019 NXP
  */
 
-#include <common.h>
 #include <errno.h>
 #include <image.h>
 #include <imx_container.h>
index 16df1186759e9a0393ded38c1ffd7719dfc74555..922f851c56b7fdccd8cf161aaf0473b8a6e8e751 100644 (file)
@@ -5,7 +5,7 @@
  * The file use ls102xa/timer.c as a reference.
  */
 
-#include <common.h>
+#include <config.h>
 #include <init.h>
 #include <time.h>
 #include <asm/global_data.h>
index fcd45f09f1815b12551cc32fe84da6f5f9fe874f..5ac8f28e670d8a46be2d4a8bf253540ccef5fdf5 100644 (file)
@@ -6,7 +6,6 @@
  * (C) Copyright 2009 Freescale Semiconductor, Inc.
  */
 
-#include <common.h>
 #include <init.h>
 #include <time.h>
 #include <asm/io.h>
index 1bc9b7cc7e1591061afbea0b3cc8a6ba8682b475..6cbb49da53cc1c6d26eb4ae315dcbf96580f2eb7 100644 (file)
@@ -1,8 +1,9 @@
 // SPDX-License-Identifier: GPL-2.0+
 
-#include <common.h>
+#include <stdio.h>
 #include <env.h>
 #include <linux/errno.h>
+#include <asm/arch/imx-regs.h>
 #include <asm/mach-imx/video.h>
 
 #ifdef CONFIG_IMX_HDMI
index 59ec43e79051e7837e7bcf3fb11c7a5f798ff76c..d0b286276c8d147793f4b4dc4e28612bc4e12494 100644 (file)
@@ -1,3 +1,4 @@
 # SPDX-License-Identifier:     GPL-2.0+
 
 obj-$(CONFIG_SPL_BUILD) += am642_init.o
+obj-y += boot.o
index e55582011637b28bb895ea57cc7193b5559cd727..41812b7dbf74fa3fc0510911e7a00b57dca63679 100644 (file)
@@ -286,97 +286,7 @@ u32 spl_mmc_boot_mode(struct mmc *mmc, const u32 boot_device)
        }
 }
 
-static u32 __get_backup_bootmedia(u32 main_devstat)
-{
-       u32 bkup_bootmode =
-           (main_devstat & MAIN_DEVSTAT_BACKUP_BOOTMODE_MASK) >>
-           MAIN_DEVSTAT_BACKUP_BOOTMODE_SHIFT;
-       u32 bkup_bootmode_cfg =
-           (main_devstat & MAIN_DEVSTAT_BACKUP_BOOTMODE_CFG_MASK) >>
-           MAIN_DEVSTAT_BACKUP_BOOTMODE_CFG_SHIFT;
-
-       switch (bkup_bootmode) {
-       case BACKUP_BOOT_DEVICE_UART:
-               return BOOT_DEVICE_UART;
-
-       case BACKUP_BOOT_DEVICE_DFU:
-               if (bkup_bootmode_cfg & MAIN_DEVSTAT_BACKUP_USB_MODE_MASK)
-                       return BOOT_DEVICE_USB;
-               return BOOT_DEVICE_DFU;
-
-
-       case BACKUP_BOOT_DEVICE_ETHERNET:
-               return BOOT_DEVICE_ETHERNET;
-
-       case BACKUP_BOOT_DEVICE_MMC:
-               if (bkup_bootmode_cfg)
-                       return BOOT_DEVICE_MMC2;
-               return BOOT_DEVICE_MMC1;
-
-       case BACKUP_BOOT_DEVICE_SPI:
-               return BOOT_DEVICE_SPI;
-
-       case BACKUP_BOOT_DEVICE_I2C:
-               return BOOT_DEVICE_I2C;
-       };
-
-       return BOOT_DEVICE_RAM;
-}
-
-static u32 __get_primary_bootmedia(u32 main_devstat)
-{
-       u32 bootmode = (main_devstat & MAIN_DEVSTAT_PRIMARY_BOOTMODE_MASK) >>
-           MAIN_DEVSTAT_PRIMARY_BOOTMODE_SHIFT;
-       u32 bootmode_cfg =
-           (main_devstat & MAIN_DEVSTAT_PRIMARY_BOOTMODE_CFG_MASK) >>
-           MAIN_DEVSTAT_PRIMARY_BOOTMODE_CFG_SHIFT;
-
-       switch (bootmode) {
-       case BOOT_DEVICE_OSPI:
-               fallthrough;
-       case BOOT_DEVICE_QSPI:
-               fallthrough;
-       case BOOT_DEVICE_XSPI:
-               fallthrough;
-       case BOOT_DEVICE_SPI:
-               return BOOT_DEVICE_SPI;
-
-       case BOOT_DEVICE_ETHERNET_RGMII:
-               fallthrough;
-       case BOOT_DEVICE_ETHERNET_RMII:
-               return BOOT_DEVICE_ETHERNET;
-
-       case BOOT_DEVICE_EMMC:
-               return BOOT_DEVICE_MMC1;
-
-       case BOOT_DEVICE_NAND:
-               return BOOT_DEVICE_NAND;
-
-       case BOOT_DEVICE_MMC:
-               if ((bootmode_cfg & MAIN_DEVSTAT_PRIMARY_MMC_PORT_MASK) >>
-                    MAIN_DEVSTAT_PRIMARY_MMC_PORT_SHIFT)
-                       return BOOT_DEVICE_MMC2;
-               return BOOT_DEVICE_MMC1;
-
-       case BOOT_DEVICE_DFU:
-               if ((bootmode_cfg & MAIN_DEVSTAT_PRIMARY_USB_MODE_MASK) >>
-                   MAIN_DEVSTAT_PRIMARY_USB_MODE_SHIFT)
-                       return BOOT_DEVICE_USB;
-               return BOOT_DEVICE_DFU;
-
-       case BOOT_DEVICE_NOBOOT:
-               return BOOT_DEVICE_RAM;
-       }
-
-       return bootmode;
-}
-
 u32 spl_boot_device(void)
 {
-       u32 devstat = readl(CTRLMMR_MAIN_DEVSTAT);
-
-       if (bootindex == K3_PRIMARY_BOOTMODE)
-               return __get_primary_bootmedia(devstat);
-       else
-               return __get_backup_bootmedia(devstat);
+       return get_boot_device();
 }
diff --git a/arch/arm/mach-k3/am64x/boot.c b/arch/arm/mach-k3/am64x/boot.c
new file mode 100644 (file)
index 0000000..ce8ae94
--- /dev/null
@@ -0,0 +1,105 @@
+// SPDX-License-Identifier: GPL-2.0+
+#include <asm/io.h>
+#include <asm/arch/hardware.h>
+#include <asm/arch/spl.h>
+
+static u32 __get_backup_bootmedia(u32 main_devstat)
+{
+       u32 bkup_bootmode =
+           (main_devstat & MAIN_DEVSTAT_BACKUP_BOOTMODE_MASK) >>
+           MAIN_DEVSTAT_BACKUP_BOOTMODE_SHIFT;
+       u32 bkup_bootmode_cfg =
+           (main_devstat & MAIN_DEVSTAT_BACKUP_BOOTMODE_CFG_MASK) >>
+           MAIN_DEVSTAT_BACKUP_BOOTMODE_CFG_SHIFT;
+
+       switch (bkup_bootmode) {
+       case BACKUP_BOOT_DEVICE_UART:
+               return BOOT_DEVICE_UART;
+
+       case BACKUP_BOOT_DEVICE_DFU:
+               if (bkup_bootmode_cfg & MAIN_DEVSTAT_BACKUP_USB_MODE_MASK)
+                       return BOOT_DEVICE_USB;
+               return BOOT_DEVICE_DFU;
+
+       case BACKUP_BOOT_DEVICE_ETHERNET:
+               return BOOT_DEVICE_ETHERNET;
+
+       case BACKUP_BOOT_DEVICE_MMC:
+               if (bkup_bootmode_cfg)
+                       return BOOT_DEVICE_MMC2;
+               return BOOT_DEVICE_MMC1;
+
+       case BACKUP_BOOT_DEVICE_SPI:
+               return BOOT_DEVICE_SPI;
+
+       case BACKUP_BOOT_DEVICE_I2C:
+               return BOOT_DEVICE_I2C;
+       };
+
+       return BOOT_DEVICE_RAM;
+}
+
+static u32 __get_primary_bootmedia(u32 main_devstat)
+{
+       u32 bootmode = (main_devstat & MAIN_DEVSTAT_PRIMARY_BOOTMODE_MASK) >>
+           MAIN_DEVSTAT_PRIMARY_BOOTMODE_SHIFT;
+       u32 bootmode_cfg =
+           (main_devstat & MAIN_DEVSTAT_PRIMARY_BOOTMODE_CFG_MASK) >>
+           MAIN_DEVSTAT_PRIMARY_BOOTMODE_CFG_SHIFT;
+
+       switch (bootmode) {
+       case BOOT_DEVICE_OSPI:
+               fallthrough;
+       case BOOT_DEVICE_QSPI:
+               fallthrough;
+       case BOOT_DEVICE_XSPI:
+               fallthrough;
+       case BOOT_DEVICE_SPI:
+               return BOOT_DEVICE_SPI;
+
+       case BOOT_DEVICE_ETHERNET_RGMII:
+               fallthrough;
+       case BOOT_DEVICE_ETHERNET_RMII:
+               return BOOT_DEVICE_ETHERNET;
+
+       case BOOT_DEVICE_EMMC:
+               return BOOT_DEVICE_MMC1;
+
+       case BOOT_DEVICE_NAND:
+               return BOOT_DEVICE_NAND;
+
+       case BOOT_DEVICE_MMC:
+               if ((bootmode_cfg & MAIN_DEVSTAT_PRIMARY_MMC_PORT_MASK) >>
+                    MAIN_DEVSTAT_PRIMARY_MMC_PORT_SHIFT)
+                       return BOOT_DEVICE_MMC2;
+               return BOOT_DEVICE_MMC1;
+
+       case BOOT_DEVICE_DFU:
+               if ((bootmode_cfg & MAIN_DEVSTAT_PRIMARY_USB_MODE_MASK) >>
+                   MAIN_DEVSTAT_PRIMARY_USB_MODE_SHIFT)
+                       return BOOT_DEVICE_USB;
+               return BOOT_DEVICE_DFU;
+
+       case BOOT_DEVICE_NOBOOT:
+               return BOOT_DEVICE_RAM;
+       }
+
+       return bootmode;
+}
+
+u32 get_boot_device(void)
+{
+       u32 devstat = readl(CTRLMMR_MAIN_DEVSTAT);
+       u32 bootmode = *(u32 *)(CONFIG_SYS_K3_BOOT_PARAM_TABLE_INDEX);
+       u32 bootmedia;
+
+       if (bootmode == K3_PRIMARY_BOOTMODE)
+               bootmedia = __get_primary_bootmedia(devstat);
+       else
+               bootmedia = __get_backup_bootmedia(devstat);
+
+       debug("%s: devstat = 0x%x bootmedia = 0x%x bootmode = %d\n",
+             __func__, devstat, bootmedia, bootmode);
+
+       return bootmedia;
+}
index 009b7deeca64bd007bfd3c29c04bfae87e0bcb57..acd2e8b1145e7b9a33d1391d901adf9b801db9c3 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (c) 2012 Michael Walle
  * Michael Walle <michael@walle.cc>
  */
-#include <common.h>
 #include <asm/arch/cpu.h>
 #include <asm/cache.h>
 
index 2b493b36c20d73b7c5b36fdc287a071205ed85ae..a432abe615d37691d91c407d2d5df4b5ec736255 100644 (file)
@@ -5,7 +5,6 @@
  * Written-by: Prafulla Wadaskar <prafulla@marvell.com>
  */
 
-#include <common.h>
 #include <command.h>
 #include <cpu_func.h>
 #include <env.h>
index 4d1f58c0cbdf2626ad63f4682080bf26d1be76a6..e2757942590b404312c872047ef8f99dc412099a 100644 (file)
@@ -8,6 +8,8 @@
 #ifndef __KIRKWOOD_MPP_H
 #define __KIRKWOOD_MPP_H
 
+#include <linux/types.h>
+
 #define MPP(_num, _sel, _in, _out, _F6180, _F6190, _F6192, _F6281) ( \
        /* MPP number */                ((_num) & 0xff) | \
        /* MPP select value */          (((_sel) & 0xf) << 8) | \
index 4fdad99cadef54c0acc63b761b1a44176e5f1dff..7938820e513f2bb9cda41ff5724ff93b654015ef 100644 (file)
@@ -9,7 +9,6 @@
  * warranty of any kind, whether express or implied.
  */
 
-#include <common.h>
 #include <log.h>
 #include <asm/io.h>
 #include <asm/arch/cpu.h>
index cb2344d79fec1a0e3b5a73eda3acc1584e93c628..2e11903e7e07a930a1bfe269ec01231d13e5939b 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2011 by Vladimir Zapolskiy <vz@mleia.com>
  */
 
-#include <common.h>
 #include <clock_legacy.h>
 #include <div64.h>
 #include <asm/arch/cpu.h>
index a97f9a1958ab35370806e961523f7daefbcb3fd6..80f5e7c88eb47dd3c05a5df50d312ff701eac0ec 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2011-2015 by Vladimir Zapolskiy <vz@mleia.com>
  */
 
-#include <common.h>
 #include <cpu_func.h>
 #include <init.h>
 #include <net.h>
index 6a67a3591aa6e981c7d86daa2b14e6ffa724594d..49308d6d4be0127c1f25321fc35df786ab8cb16a 100644 (file)
@@ -3,7 +3,7 @@
  * Copyright (C) 2011 by Vladimir Zapolskiy <vz@mleia.com>
  */
 
-#include <common.h>
+#include <config.h>
 #include <dm.h>
 #include <ns16550.h>
 
index 160223792353ef244c8e27ff1cc3b3eea5244f34..ab7c13512a5a88391a87daf1eafde7d57f3a46d2 100644 (file)
@@ -10,7 +10,6 @@
  * This code runs from SRAM.
  */
 
-#include <common.h>
 #include <netdev.h>
 #include <asm/arch/cpu.h>
 #include <asm/arch/clk.h>
index 90183e3014ebbb737c3d9d42e6c5cbe07d05749f..523f9cfc8c488b04c5854e14a3f3342eeb18071b 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2011 Vladimir Zapolskiy <vz@mleia.com>
  */
 
-#include <common.h>
 #include <init.h>
 #include <time.h>
 #include <asm/arch/cpu.h>
index 82018bd9d3e3fec0a7e88707680f8f62a7c538af..ff1fdee5c8da2bc81916da02bc3b84974a7042ff 100644 (file)
@@ -23,6 +23,7 @@ config TARGET_MT7622
 config TARGET_MT7623
        bool "MediaTek MT7623 SoC"
        select CPU_V7A
+       select MMC_SUPPORTS_TUNING
        help
          The MediaTek MT7623 is a ARM-based SoC with a quad-core Cortex-A7
          including NEON and GPU, Mali-450 graphics, several DDR3 options,
index c329e7cc98a87c8932c95bdfd73ede7c23227be5..8e8bc4f9ceaa336bf1acf5ce4eed19ea02896701 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2018 MediaTek Inc.
  */
 
-#include <common.h>
 #include <cpu_func.h>
 #include <dm.h>
 #include <init.h>
index 00d3eb9ce7a47503f8ca78e8a3cf9709cd3e8341..6e970acf8b052f6c3b2fbcfe44d8caded3fb1b83 100644 (file)
@@ -9,7 +9,6 @@
 #include <asm/armv8/mmu.h>
 #include <asm/system.h>
 #include <asm/global_data.h>
-#include <asm/u-boot.h>
 #include <linux/sizes.h>
 
 DECLARE_GLOBAL_DATA_PTR;
index 988b057e5984fe1deeb46187169ae606459debb5..3d6ba3f383c535e82b947366416b116dec02f718 100644 (file)
@@ -3,7 +3,7 @@
  * Copyright (C) 2018 MediaTek Inc.
  */
 
-#include <common.h>
+#include <config.h>
 #include <init.h>
 #include <asm/global_data.h>
 #include <linux/io.h>
index 0130554ff35c66542a4fc678f7e66f3c8738f7dd..7cb8b72c364c0ba88059ac04908c87e127616783 100644 (file)
@@ -5,7 +5,7 @@
  */
 
 #include <clk.h>
-#include <common.h>
+#include <config.h>
 #include <dm.h>
 #include <fdtdec.h>
 #include <init.h>
index 862f0ca4793d5f5776bd6e2ac94c55bc1dc12620..07da58971904393e0babb03c1d7c9c8b189385ac 100644 (file)
@@ -9,7 +9,6 @@
 #include <asm/armv8/mmu.h>
 #include <asm/system.h>
 #include <asm/global_data.h>
-#include <asm/u-boot.h>
 #include <linux/sizes.h>
 
 DECLARE_GLOBAL_DATA_PTR;
index 905a3ab4e2721c331eacd6c8d2d12aa51f48bb59..a521c95bd9d39d0d06e608082fd942e871f1b2b4 100644 (file)
@@ -9,7 +9,6 @@
 #include <asm/armv8/mmu.h>
 #include <asm/system.h>
 #include <asm/global_data.h>
-#include <asm/u-boot.h>
 #include <linux/sizes.h>
 
 DECLARE_GLOBAL_DATA_PTR;
index 082f12bf65e5bb5dde30f5a520f36050ca118629..2efc8c6a88fe88c4711f3573fce41b204d21ef49 100644 (file)
@@ -8,7 +8,6 @@
 #include <init.h>
 #include <asm/armv8/mmu.h>
 #include <asm/global_data.h>
-#include <asm/u-boot.h>
 #include <asm/system.h>
 
 DECLARE_GLOBAL_DATA_PTR;
index 7496029705f61ea4a76831a090af9a6e68e1b946..37243547da81f4ecde9593e396e08eccb9a93587 100644 (file)
@@ -6,7 +6,6 @@
  */
 
 #include <clk.h>
-#include <common.h>
 #include <dm.h>
 #include <fdtdec.h>
 #include <ram.h>
index 5a21e9a4485c799cdd49aca1cb104071236bd32d..3b48caf5196c5dacff1b4f7e5dfe2ec3ea7c4a1e 100644 (file)
@@ -7,7 +7,6 @@
  */
 
 #include <clk.h>
-#include <common.h>
 #include <dm.h>
 #include <fdtdec.h>
 #include <init.h>
index 3460dcc249437a70e779d5dda3294f671469df6e..892bd441a33bd1a630f33576c5ec8b8d3ecf74cc 100644 (file)
@@ -6,7 +6,6 @@
  */
 
 #include <clk.h>
-#include <common.h>
 #include <cpu_func.h>
 #include <dm.h>
 #include <fdtdec.h>
index f7e03de36507e1c8feb18b07e5b6f3ae878c87df..c04bcb6351780d077f67e7c47701e833a4656b8d 100644 (file)
@@ -7,7 +7,6 @@
  */
 
 #include <clk.h>
-#include <common.h>
 #include <cpu_func.h>
 #include <dm.h>
 #include <fdtdec.h>
index d3cda94617e1a7925d7cad17224d2330d429da88..247d7ee6f1db43d88ebb9a57e47eeed0809da759 100644 (file)
@@ -5,7 +5,6 @@
  */
 
 #include <clk.h>
-#include <common.h>
 #include <hang.h>
 #include <init.h>
 #include <spl.h>
index 967bb671822ef701e7c9a537476822f635506d5d..f848c0f068edcf1ae14963ca08d6139c47efa5d7 100644 (file)
@@ -3,12 +3,12 @@
  * (C) Copyright 2023 SberDevices, Inc.
  */
 
-#include <common.h>
 #include <asm/arch/a1.h>
 #include <asm/arch/boot.h>
 #include <asm/armv8/mmu.h>
 #include <asm/io.h>
 #include <linux/compiler.h>
+#include <linux/errno.h>
 #include <linux/sizes.h>
 
 phys_size_t get_effective_memsize(void)
index fdf18752cdd05a6bf46578161c98b82b2c71ad3b..6535539184ccfbb4cb891f5510a8c63ad274d602 100644 (file)
@@ -4,7 +4,6 @@
  * (C) Copyright 2018 Neil Armstrong <narmstrong@baylibre.com>
  */
 
-#include <common.h>
 #include <init.h>
 #include <net.h>
 #include <asm/arch/boot.h>
index 7ceba7cede85c6e8bca409823a3ee488cbb569b6..39774c43049a40ed11578086603717571bedd23b 100644 (file)
@@ -3,7 +3,6 @@
  * (C) Copyright 2016 Beniamino Galvani <b.galvani@gmail.com>
  */
 
-#include <common.h>
 #include <cpu_func.h>
 #include <fastboot.h>
 #include <init.h>
index d5a830fb1db8de9c67db41f7013ccc9515f70f4c..dc4abe1e107469c8cdd3917fcecbcbb774632449 100644 (file)
@@ -4,7 +4,6 @@
  * (C) Copyright 2018 Neil Armstrong <narmstrong@baylibre.com>
  */
 
-#include <common.h>
 #include <init.h>
 #include <log.h>
 #include <net.h>
index c3fbdfffeae83687d627e4410e5c434332c6b136..0370ed57e205073f431175eea9911e0d31861dab 100644 (file)
@@ -4,7 +4,6 @@
  * (C) Copyright 2018 Neil Armstrong <narmstrong@baylibre.com>
  */
 
-#include <common.h>
 #include <init.h>
 #include <net.h>
 #include <asm/arch/boot.h>
index d51d9b8f064512aa5445f5bb47c5d6d53a095dcc..b4058f593234e940fc2c00b82cdf9bd758cef567 100644 (file)
@@ -4,7 +4,6 @@
  * (C) Copyright 2019 Neil Armstrong <narmstrong@baylibre.com>
  */
 
-#include <common.h>
 #include <init.h>
 #include <asm/global_data.h>
 #include <asm/io.h>
index 914fd11c9894a5dace2bbceaf1489db61abf90ed..4d9f83d3b38d54e20d7d2bec997793cca5d7f0e4 100644 (file)
@@ -5,7 +5,6 @@
  * Secure monitor calls.
  */
 
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <regmap.h>
index 0f72ae1709be37b4dcf1edf30e3d7fb385cbadf2..be2d9a25bf902e17490816e7d55ce5a39e718029 100644 (file)
@@ -3,7 +3,7 @@
  * Copyright (C) 2018 Marvell International Ltd.
  */
 
-#include <common.h>
+#include <config.h>
 #include <dm.h>
 #include <fdtdec.h>
 #include <linux/libfdt.h>
index 734b0a87dd498eb9dbf47a61d52cd340b7982559..98e66735eb9eb546bbb3bbe20c54489589293e89 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2018 Marvell International Ltd.
  */
 
-#include <common.h>
 #include <asm/arch-armada8k/cache_llc.h>
 #include <asm/io.h>
 #include <asm/arch/cpu.h>
index 4c67f1aba4defc99baf6de63022d885c143b5c3a..63a12f7d77439b5fff8d25208cb20a34668ed6a6 100644 (file)
@@ -3,7 +3,7 @@
  * Copyright (C) 2016 Stefan Roese <sr@denx.de>
  */
 
-#include <common.h>
+#include <config.h>
 #include <dm.h>
 #include <fdtdec.h>
 #include <init.h>
index ab72b304e5daaedd829cee80e2a1b34aef53f597..17525691e6828b7e5a8e940e15f8a1d5c7085f96 100644 (file)
@@ -4,7 +4,6 @@
  * Copyright (C) 2020 Marek Behún <kabel@kernel.org>
  */
 
-#include <common.h>
 #include <cpu_func.h>
 #include <dm.h>
 #include <fdtdec.h>
index 07d5f394354c323da718e2d640cef6d2f36163ee..84a1e388c11b628cdff8a0dec4e2f764dbb2a2b9 100644 (file)
@@ -5,9 +5,10 @@
  */
 
 #include <config.h>
-#include <common.h>
 #include <asm/io.h>
 #include <linux/delay.h>
+#include <linux/errno.h>
+#include <linux/types.h>
 #include <mach/mbox.h>
 #include <mach/soc.h>
 
index 6555b8673ce0648d72efadb6291aa53b7a2bf9b2..5ac543abce5b664b9c94cdea70645f8fa48e1d88 100644 (file)
@@ -4,11 +4,11 @@
  * Copyright (C) 2021 Pali Rohár <pali@kernel.org>
  */
 
-#include <common.h>
 #include <asm/arch/soc.h>
 #include <asm/io.h>
 #include <linux/bitops.h>
 #include <linux/delay.h>
+#include <linux/errno.h>
 #include <mach/mbox.h>
 
 #define RWTM_BASE              (MVEBU_REGISTER(0xb0000))
index 939abce000f6ec2ed5c9b8c0ec391ef3cba21d2a..7908f75809c5eb3d5a8bc22c659c364195d3f1f3 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2016 Stefan Roese <sr@denx.de>
  */
 
-#include <common.h>
 #include <cpu_func.h>
 #include <dm.h>
 #include <fdtdec.h>
index 6c801bfa1db73131e26ddf97b838f5f3dc891f56..fd58551d0e32b2e15c5d86e4a79e086d8878b7be 100644 (file)
@@ -3,7 +3,7 @@
  * Copyright (C) 2016 Stefan Roese <sr@denx.de>
  */
 
-#include <common.h>
+#include <config.h>
 #include <asm/arch/cpu.h>
 #include <asm/arch/soc.h>
 #include <asm/global_data.h>
index 7c62a5dbb6a00b4b988b1ea67cee963bdc45e3eb..e603ab9ffb759097e4562acd8c0953f10d99a41e 100644 (file)
@@ -3,7 +3,7 @@
  * Copyright (C) 2014-2016 Stefan Roese <sr@denx.de>
  */
 
-#include <common.h>
+#include <config.h>
 #include <ahci.h>
 #include <cpu_func.h>
 #include <init.h>
index d398d0f7676a68bc9e8b020a73a1350b795a1678..c00c6b9b3fc2c3bf60462d76d198a5d6c49d0fe6 100644 (file)
@@ -6,7 +6,6 @@
  */
 
 #include <config.h>
-#include <common.h>
 #include <init.h>
 #include <asm/global_data.h>
 #include <asm/io.h>
index be5dc0e07d9bcab8707efb4631e1fc22b80bad7c..475687955e059e535bd6057fc7fafbb38e30f053 100644 (file)
@@ -4,7 +4,6 @@
  */
 
 #include <config.h>
-#include <common.h>
 #include <errno.h>
 #include <asm/io.h>
 #include <asm/arch/cpu.h>
index 1d1e3df8ba90f22cf898e8f5523080fb93f9f4da..587cbb00e7fc02294066a12c2b4288f62e846f14 100644 (file)
@@ -5,7 +5,6 @@
  * Written-by: Prafulla Wadaskar <prafulla@marvell.com>
  */
 
-#include <common.h>
 #include <asm/io.h>
 #include <asm/arch/cpu.h>
 #include <asm/arch/soc.h>
index 959ca8e92602840c148711170dea3f9aa7c85cf5..9baeece3c850724a77ac2a397542fa4499198004 100644 (file)
@@ -46,7 +46,7 @@
  *   mvebu_mbus_del_window().
  */
 
-#include <common.h>
+#include <config.h>
 #include <malloc.h>
 #include <linux/bitops.h>
 #include <linux/errno.h>
index 12596ec2d8bdd1987aefd535e30071a2f181417b..4582871556d960023f397a2f13d96de264407ee1 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) Marvell International Ltd. and its affiliates
  */
 
-#include <common.h>
 #include <spl.h>
 #include <asm/io.h>
 #include <asm/arch/cpu.h>
index 3349f4eb54917e477a9cdcf6054695f7f4c38c83..efc31d5218ac6c2c5b921b4738f91579c5e2dd6e 100644 (file)
@@ -3,7 +3,7 @@
  * Copyright (C) Marvell International Ltd. and its affiliates
  */
 
-#include <common.h>
+#include <config.h>
 #include <spl.h>
 #include <asm/io.h>
 #include <asm/arch/cpu.h>
index 2a51b7113ce4e2aa347c9394352b761cb375ed32..9a1bbba7f2f4db97210672b590323385ef49a35c 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) Marvell International Ltd. and its affiliates
  */
 
-#include <common.h>
 #include <spl.h>
 #include <asm/io.h>
 #include <asm/arch/cpu.h>
index fb8ec11dfb95c6f8bf7c4b057896a8887af42c58..8290b861c0795f92de9a567a04ed201cb174ce68 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) Marvell International Ltd. and its affiliates
  */
 
-#include <common.h>
 #include <spl.h>
 #include <asm/io.h>
 #include <asm/arch/cpu.h>
index 68f8eade27221b24481035c9e07bf21e49e16902..61b7f168697bb09f8f9ea46169d0b5c3b19bfa9c 100644 (file)
@@ -3,7 +3,7 @@
  * Copyright (C) Marvell International Ltd. and its affiliates
  */
 
-#include <common.h>
+#include <config.h>
 #include <i2c.h>
 #include <spl.h>
 #include <asm/io.h>
index 539d237623a14e1721b87d47773758165db7393d..9b7bb2c38511cb096a9450a6e2b41405e67a4def 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) Marvell International Ltd. and its affiliates
  */
 
-#include <common.h>
 #include <spl.h>
 #include <asm/io.h>
 #include <asm/arch/cpu.h>
index 79f8877745b35e1d6fdf84c0f6d329889aa8545c..4f4f7e00e3cff2f7449c270162cdb1f6801d01cd 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2014-2016 Stefan Roese <sr@denx.de>
  */
 
-#include <common.h>
 #include <cpu_func.h>
 #include <dm.h>
 #include <fdtdec.h>
index 682431ee11d93471ff978538b16d3c2dc975e6a5..d94bde0777c8df024efad78e8b13ce70e347bcb7 100644 (file)
@@ -4,7 +4,6 @@
  * Copyright (C) 2024 Marek Behún <kabel@kernel.org>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <dm/lists.h>
 #include <regmap.h>
index 59ffa26255f509073e975db1d918be934a21c257..3082f6077b730961e9cd1944f1d5c7c3fc7a1323 100644 (file)
@@ -4,8 +4,8 @@
  * Hyunseok, Jung <hsjung@nexell.co.kr>
  */
 
-#include <common.h>
 #include <command.h>
+#include <vsprintf.h>
 #include <linux/err.h>
 #include <asm/io.h>
 #include <asm/arch/nexell.h>
index f3fdec64647c46582d8f2e9c4f30fecc6568ac1a..9183ffdd9c3d0e6d01447bb66fd560c035496e68 100644 (file)
@@ -11,6 +11,8 @@
 #ifndef MIPI_DISPLAY_H
 #define MIPI_DISPLAY_H
 
+#include <linux/types.h>
+
 /* MIPI DSI Processor-to-Peripheral transaction types */
 enum {
        MIPI_DSI_V_SYNC_START                           = 0x01,
index e1301d4e53d334c2c0d8ef2f2a5636b080d822ca..0c6a13043f913d1698c19d63123ef6bf374d356b 100644 (file)
@@ -7,6 +7,8 @@
 #ifndef __NEXELL_RESET__
 #define __NEXELL_RESET__
 
+#include <linux/types.h>
+
 #define NUMBER_OF_RESET_MODULE_PIN      69
 
 enum rstcon {
index 1f732a3d373243bb731900f94825e55587a80d1f..627f568270b61af8822ddc9c41022aa48aeb52ec 100644 (file)
@@ -8,7 +8,6 @@
  *FIXME : Not support device tree & reset control driver.
  *        will remove after support device tree & reset control driver.
  */
-#include <common.h>
 #include <asm/io.h>
 #include <asm/arch/nexell.h>
 #include <asm/arch/reset.h>
index 5a4744c296a2d4aeaad63a31c1413955b7aa89ad..51cca6744d6fb138704ed6587096695a4db312e3 100644 (file)
@@ -4,7 +4,6 @@
  * Youngbok, Park <park@nexell.co.kr>
  */
 
-#include <common.h>
 #include <asm/arch/nexell.h>
 #include <asm/arch/clk.h>
 #include <asm/arch/reset.h>
index 3b311fd22a56f627dd80d7a05ea9d34d6550a5af..b35c7b1bb33a77127be66572593e3a3ce0ec544d 100644 (file)
@@ -4,7 +4,6 @@
  * Hyunseok, Jung <hsjung@nexell.co.kr>
  */
 
-#include <common.h>
 #include <log.h>
 
 #include <asm/io.h>
index dd74bb9e08719812262a7d036db375f12d95c4aa..47d51cab5c7656cc0c9debd40e399fd6aa878081 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (c) 2021 Nuvoton Technology Corp.
  */
 
-#include <common.h>
 #include <cpu_func.h>
 #include <asm/armv7.h>
 #include <asm/io.h>
index ed4b1ca5c9833483d63e83ab488a2f31a7de7899..df80687c857198b58389c24e3dd3f0b9b327d338 100644 (file)
@@ -3,7 +3,7 @@
  * Copyright (c) 2021 Nuvoton Technology Corp.
  */
 
-#include <common.h>
+#include <config.h>
 #include <asm/io.h>
 #include <asm/pl310.h>
 
index af594526094c5433a62d802bc10fa6e7edaee924..a1fb400b2645c7db22bdc35b1f6bff03bc0cf8ef 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (c) 2022 Nuvoton Technology Corp.
  */
 
-#include <common.h>
 #include <dm.h>
 #include <asm/global_data.h>
 #include <asm/io.h>
index 6954e6c6a17f68df968eaa0efb343a0781481718..e28b4ae7ae4bcba17aeec2a640bb0f765ff5e2e2 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (c) 2022 Nuvoton Technology Corp.
  */
 
-#include <common.h>
 #include <asm/io.h>
 #include <asm/arch/gcr.h>
 #include <asm/arch/rst.h>
index 9da21077ecdcb7824dede7744b1e09aa218bda8a..ffdee8799fb6dec48a75377756f42275ac404d69 100644 (file)
@@ -5,7 +5,6 @@
  * https://spdx.org/licenses
  */
 
-#include <common.h>
 #include <asm/io.h>
 #include <asm/arch/board.h>
 #include <asm/arch/clock.h>
index aa5f4585c6f50ce94ad04f7c1ff0d579143e708d..90454edca257e28220367a5ee8c0970cac8ca6f7 100644 (file)
@@ -5,7 +5,6 @@
  * https://spdx.org/licenses
  */
 
-#include <common.h>
 #include <asm/armv8/mmu.h>
 #include <asm/global_data.h>
 #include <asm/io.h>
index 9da21077ecdcb7824dede7744b1e09aa218bda8a..ffdee8799fb6dec48a75377756f42275ac404d69 100644 (file)
@@ -5,7 +5,6 @@
  * https://spdx.org/licenses
  */
 
-#include <common.h>
 #include <asm/io.h>
 #include <asm/arch/board.h>
 #include <asm/arch/clock.h>
index 723deef719b6d31883fd76f4248c95c01b5f6221..0a44af71a40dea282a0cb79d4598de667c156fab 100644 (file)
@@ -5,7 +5,6 @@
  * https://spdx.org/licenses
  */
 
-#include <common.h>
 #include <asm/armv8/mmu.h>
 #include <asm/global_data.h>
 #include <asm/io.h>
index 722e6db0566d3f023bc8ad41850d41d820ac2c01..ce33d2fe129744a06d0822eec6e2473d1d1b6e88 100644 (file)
@@ -8,7 +8,6 @@
  * Andrii Tseglytskyi <andrii.tseglytskyi@ti.com>
  */
 
-#include <common.h>
 #include <asm/omap_common.h>
 #include <asm/arch/clock.h>
 #include <asm/io.h>
index 09659da5867db74fb683ae1d746e4d6a5efe74c5..78c1e965c9f54f789cb75c5ff07a04abcc342184 100644 (file)
@@ -7,7 +7,7 @@
  * Copyright (C) 2011, Texas Instruments, Incorporated - https://www.ti.com/
  */
 
-#include <common.h>
+#include <config.h>
 #include <dm.h>
 #include <debug_uart.h>
 #include <errno.h>
index d4f2abe17a97b8f16ef7b2e07f9ff99e36f8cc8f..4765ce0adeeaea587224d6175f698d8527710625 100644 (file)
@@ -4,7 +4,6 @@
  * Copyright (C) 2017, Grinn - http://grinn-global.com/
  */
 
-#include <common.h>
 #include <init.h>
 #include <asm/arch/clock.h>
 #include <asm/arch/clk_synthesizer.h>
index 0969a404bf69416697db2321b6c1d356c9738ef1..b75eb58ee827ad4b77eed0d9dfb3e4d0df4ec23e 100644 (file)
@@ -7,8 +7,7 @@
  * Copyright (C) 2016, Texas Instruments, Incorporated - https://www.ti.com/
  */
 
-
-#include <common.h>
+#include <stdio.h>
 #include <asm/arch/clk_synthesizer.h>
 #include <i2c.h>
 
index 3273632c648dbfded39d1cbf508e3b577a46da0c..f07003c95bc2954c56b69ee64a9f0d3fb831d2a4 100644 (file)
@@ -7,7 +7,6 @@
  *
  * Copyright (C) 2013, Texas Instruments, Incorporated - https://www.ti.com/
  */
-#include <common.h>
 #include <hang.h>
 #include <init.h>
 #include <log.h>
index d39e7e4fed13d826007f48f197f3a4bdbd88de44..c33d974dccdd60509c31da39904a8bba2a59989b 100644 (file)
@@ -7,7 +7,6 @@
  * Copyright (C) 2013, Texas Instruments, Incorporated - https://www.ti.com/
  */
 
-#include <common.h>
 #include <asm/arch/cpu.h>
 #include <asm/arch/sys_proto.h>
 #include <asm/arch/clock.h>
index 8039bc2fe751714b880116a588e41ea92835d748..abd65ffd77fc90e64b887ff4eaa0e0c60ca351fa 100644 (file)
@@ -8,7 +8,6 @@
  * Copyright (C) 2013, Texas Instruments, Incorporated - https://www.ti.com/
  */
 
-#include <common.h>
 #include <asm/arch/cpu.h>
 #include <asm/arch/clock.h>
 #include <asm/arch/hardware.h>
index 61b95c937338536c1c559c4bc2bc308141b4e48c..41eec005cb1bfec1a31c91162dc977042f89474e 100644 (file)
@@ -5,7 +5,7 @@
  * Copyright (C) 2011 Texas Instruments Incorporated - https://www.ti.com/
  */
 
-#include <common.h>
+#include <config.h>
 #include <log.h>
 #include <asm/arch/cpu.h>
 #include <asm/arch/ddr_defs.h>
index b29250b8d2074c6c5153b29881e012a2b4042e4a..f19c66822d209bad38c6c8b829f2f621ec9ff2b5 100644 (file)
@@ -7,7 +7,6 @@
  * Copyright (C) 2011, Texas Instruments, Incorporated - https://www.ti.com/
  */
 
-#include <common.h>
 #include <asm/arch/cpu.h>
 #include <asm/arch/ddr_defs.h>
 #include <asm/arch/hardware.h>
index 2ec30b1f9c38459ccac7ce9298ade3d5d5902b8b..3e81616cb7465aecd296a9e81d5a216c5925dc6e 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright 2017 Texas Instruments, Inc.
  */
 
-#include <common.h>
 #include <hang.h>
 #include <linux/libfdt.h>
 #include <fdt_support.h>
index 49605593979854fcb7072c59932ed6197383e517..06b08e89e7fb75751dea467bd0aee325a41f393e 100644 (file)
@@ -13,7 +13,6 @@
  * GNU General Public License for more details.
  */
 
-#include <common.h>
 #include <asm/arch/mux.h>
 #include <asm/arch/hardware.h>
 #include <asm/io.h>
index 390d540e85a0ce211040a85ae44f3739134a4bbf..87afc096602df185284000c31827ba04b482c4ef 100644 (file)
@@ -11,7 +11,6 @@
  *      Syed Mohammed Khasim <khasim@ti.com>
  */
 
-#include <common.h>
 #include <init.h>
 #include <asm/io.h>
 #include <asm/arch/sys_proto.h>
index aa0ab13d5fb14d08400f44a3e4ddd1f2e952a401..e1ea3515ac10804d6e25c915a85dceb75e705b4c 100644 (file)
@@ -7,7 +7,6 @@
  * Copyright (C) 2011, Texas Instruments, Incorporated - https://www.ti.com/
  */
 
-#include <common.h>
 #include <ahci.h>
 #include <log.h>
 #include <dm/uclass.h>
index 390d1f2a649b9eb3c5c4b4a0907d6138422892cd..2a0c22841d03f898b8da988a9f11895ab687fe82 100644 (file)
@@ -12,7 +12,6 @@
  *     Santosh Shilimkar <santosh.shilimkar@ti.com>
  *     Rajendra Nayak <rnayak@ti.com>
  */
-#include <common.h>
 #include <hang.h>
 #include <i2c.h>
 #include <init.h>
index 9daaeef731900da386b7627044e515ecc5baf6f7..4d431e20779d8f620046c5c2c64c574abdeff02f 100644 (file)
@@ -8,7 +8,7 @@
  * Aneesh V <aneesh@ti.com>
  */
 
-#include <common.h>
+#include <config.h>
 #include <hang.h>
 #include <init.h>
 #include <log.h>
index e90d5776703d06c77e54ab3f2ee5d259133ce691..c6b4c03b5085224815d0eaa637672571d4c7c683 100644 (file)
@@ -3,7 +3,7 @@
  * Copyright 2016-2017 Texas Instruments, Inc.
  */
 
-#include <common.h>
+#include <config.h>
 #include <log.h>
 #include <linux/libfdt.h>
 #include <fdt_support.h>
index 0e4572ca41a77e490635178c9f6ed2bf481ee09b..138501602c357ed75a83e113a6c2a21596f9cf41 100644 (file)
@@ -10,7 +10,6 @@
  *     Aneesh V        <aneesh@ti.com>
  *     Steve Sakoman   <steve@sakoman.com>
  */
-#include <common.h>
 #include <debug_uart.h>
 #include <event.h>
 #include <fdtdec.h>
index 19197482aa42352b215eb5c262463970fe365653..00f144eb747b5ae2d79d9485c114fea42ec3219e 100644 (file)
@@ -12,7 +12,7 @@
  *     Syed Mohammed Khasim <khasim@ti.com>
  */
 
-#include <common.h>
+#include <config.h>
 #include <asm/io.h>
 #include <asm/arch/cpu.h>
 #if IS_ENABLED(CONFIG_TARGET_AM335X_GUARDIAN)
index 36db5882433949455a08653b3705eedfeca842df..200a08fa5c83e8a749ecbefe0a3c5b82d002d4e3 100644 (file)
@@ -11,9 +11,9 @@
  *     Steve Sakoman   <steve@sakoman.com>
  */
 
-#include <common.h>
 #include <cpu_func.h>
 #include <log.h>
+#include <linux/string.h>
 #include <asm/cache.h>
 #include <asm/global_data.h>
 
index 1121acc0058997667fb5949217d3f753b82e8ad3..d3807623bc640eba1ef10ffb0a77b047a38ffbea 100644 (file)
@@ -8,8 +8,8 @@
  * Hema HK <hemahk@ti.com>
  */
 
-#include <common.h>
 #include <log.h>
+#include <time.h>
 #include <dm/device.h>
 #include <asm/io.h>
 #include <asm/arch/am35x_def.h>
index c76a95dd5d09a0ef4e2a07fa7ce22ce658f6a235..c5ada607f9786d98cdffc513cc5f083bb74db64c 100644 (file)
@@ -15,7 +15,6 @@
  *      Syed Mohammed Khasim <khasim@ti.com>
  *
  */
-#include <common.h>
 #include <command.h>
 #include <dm.h>
 #include <init.h>
index ea26115b71189678f8190c0fc10ef7336c6e3a76..2a36a25e27999c5745bd6d383b488be3f3b0225a 100644 (file)
@@ -5,7 +5,6 @@
  * Copyright (C) 2015 Paul Kocialkowski <contact@paulk.fr>
  */
 
-#include <common.h>
 #include <asm/io.h>
 #include <asm/arch/sys_proto.h>
 #include <spl.h>
index 13685e0567afa18799e20aa284feacf9189979c1..417d1eb846f34f829df2707783b8ccf4927bbb0a 100644 (file)
  *      Syed Mohammed Khasim <khasim@ti.com>
  */
 
-#include <common.h>
+#include <config.h>
 #include <asm/io.h>
 #include <asm/arch/clock.h>
 #include <asm/arch/clocks_omap3.h>
 #include <asm/arch/mem.h>
+#include <asm/arch/omap.h>
 #include <asm/arch/sys_proto.h>
 #include <command.h>
 
index d0d0b7a75a610db70f535b25b03ef02c1db07faa..7348e92cabdfe9392821f3eb6e16d70492491c7f 100644 (file)
@@ -6,7 +6,6 @@
  * (C) Copyright 2011, Ilya Yanok, Emcraft Systems
  */
 
-#include <common.h>
 #include <net.h>
 #include <asm/io.h>
 #include <asm/arch/am35x_def.h>
index 4fbfb387ab085b4536e077fc8880e365363d0ede..049eedfeb65b7919ec0b899fb26bd5ca249670ec 100644 (file)
@@ -9,7 +9,7 @@
  * Texas Instruments Incorporated - https://www.ti.com/
  */
 
-#include <common.h>
+#include <config.h>
 #include <init.h>
 #include <asm/global_data.h>
 #include <asm/io.h>
index 4d27d82c7881eb90ae723d6b4a620d65690437a6..404333689f60d09b2a94c0e3a78b690f326884b0 100644 (file)
@@ -21,7 +21,6 @@
  *      Manikandan Pillai <mani.pillai@ti.com>
  */
 
-#include <common.h>
 #include <init.h>
 #include <asm/global_data.h>
 #include <asm/io.h>
index 84a0b0ade931956883cc639a9b820ef08d502a31..d4712629d9deabacdc2ad9750c44c5c702597819 100644 (file)
@@ -11,7 +11,6 @@
  *     Jian Zhang <jzhang@ti.com>
  */
 
-#include <common.h>
 #include <jffs2/load_kernel.h>
 #include <linux/mtd/rawnand.h>
 #include <linux/mtd/omap_gpmc.h>
index 5f535e2782770690c1de56a37e091a7c8c9bbca6..1e3fcd5979680d5324d00ab5bce9abb47ab5a5a0 100644 (file)
  *      Syed Mohammed Khasim <khasim@ti.com>
  */
 
-#include <common.h>
+#include <config.h>
 #include <asm/io.h>
 #include <asm/arch/mem.h>      /* get mem tables */
+#include <asm/arch/omap.h>
 #include <asm/arch/sys_proto.h>
 #include <asm/bootm.h>
 #include <asm/omap_common.h>
index 90b5380ae39866c66c1b06d702e3152712c16b48..a60249f7fd62a9901eaac07defb12c58aba44891 100644 (file)
@@ -5,7 +5,6 @@
  * Copyright (C) 2015 Paul Kocialkowski <contact@paulk.fr>
  */
 
-#include <common.h>
 #include <asm/io.h>
 #include <asm/omap_common.h>
 #include <asm/arch/sys_proto.h>
index 35a51645be7fd3ca6308f0e3472219a3d43d9ff2..5b0d3b5c78a0b06c13747047eebf4e486f88ec58 100644 (file)
@@ -8,7 +8,6 @@
  * Aneesh V <aneesh@ti.com>
  */
 
-#include <common.h>
 #include <asm/emif.h>
 #include <asm/arch/sys_proto.h>
 #include <asm/utils.h>
index d587a4d4def02fac763509faaab0ce40d84f977f..a81d7655494998d4591499c209e30f0bf18de40e 100644 (file)
@@ -8,7 +8,6 @@
  *
  * Sricharan R <r.sricharan@ti.com>
  */
-#include <common.h>
 #include <asm/arch/omap.h>
 #include <asm/arch/sys_proto.h>
 #include <asm/omap_common.h>
index 27dfa9142dcd7be5091ea3ca772e2f00ce84dbe6..e3e6cc8e57858cdeffa5ccc8da1c5ca742464464 100644 (file)
@@ -10,7 +10,6 @@
  *     Aneesh V        <aneesh@ti.com>
  *     Steve Sakoman   <steve@sakoman.com>
  */
-#include <common.h>
 #include <palmas.h>
 #include <asm/armv7.h>
 #include <asm/arch/cpu.h>
index 2a18cf0215d9f76a5320081a1652121021e52760..a29a264016ed2eeb77507e03739a2e20a608db3a 100644 (file)
@@ -9,7 +9,6 @@
  * Aneesh V <aneesh@ti.com>
  */
 
-#include <common.h>
 #include <asm/emif.h>
 #include <asm/arch/sys_proto.h>
 
index 2f9f8e65d03e6f11b503f855fc303a0e5cca3ff1..21da0b11661d85736d652d90e6ffa988ecbb2141 100644 (file)
@@ -8,7 +8,7 @@
  * Andrii Tseglytskyi <andrii.tseglytskyi@ti.com>
  */
 
-#include <common.h>
+#include <asm/arch/omap.h>
 #include <asm/omap_common.h>
 #include <asm/io.h>
 #include <linux/bitops.h>
index 15d6836c6eaef0337d820daf69cf432207dd6ccb..5b479a87516be24d2dfc4632eb0509f090b2d873 100644 (file)
@@ -5,7 +5,6 @@
  * Copyright (C) 2015 Paul Kocialkowski <contact@paulk.fr>
  */
 
-#include <common.h>
 #include <asm/io.h>
 #include <asm/omap_common.h>
 #include <spl.h>
index 8569eff31ab5c3c45f2575c3c17efadb2f0fe013..d50452b5a30b2a881525d63ffbe73b3a72721dd5 100644 (file)
@@ -6,7 +6,7 @@
  * Lokesh Vutla <lokeshvutla@ti.com>
  */
 
-#include <common.h>
+#include <config.h>
 #include <hang.h>
 #include <log.h>
 #include <asm/utils.h>
index 2de36b6feca6e1138e7566438771fb7a2ef72f3d..d243ff3bd8f05a0bc4ec137049d95874308e42a7 100644 (file)
@@ -8,7 +8,6 @@
  * Aneesh V <aneesh@ti.com> for OMAP4
  */
 
-#include <common.h>
 #include <log.h>
 #include <asm/emif.h>
 #include <asm/arch/sys_proto.h>
index 0ca02e664c4bc64ed7bd03af13ba14f31862320b..f75ec47d821037f2ec7cfb59866b03b6feaf8f7b 100644 (file)
@@ -3,7 +3,7 @@
  * Copyright 2016 Texas Instruments, Inc.
  */
 
-#include <common.h>
+#include <config.h>
 #include <hang.h>
 #include <log.h>
 #include <linux/libfdt.h>
index b39132222ee5b820c8a68d2d903904d268f1d8b7..e65727026effeae85bf236c1e5e48d2935d00391 100644 (file)
@@ -8,7 +8,6 @@
  *
  * Sricharan R <r.sricharan@ti.com>
  */
-#include <common.h>
 #include <palmas.h>
 #include <asm/arch/omap.h>
 #include <asm/arch/sys_proto.h>
index edab9a92982e4c5b2211c21285d57e9b8767c156..7f41e85c4a6735ef4a5e4fed0ef78637c1d9fa7c 100644 (file)
@@ -11,7 +11,6 @@
  *     Steve Sakoman   <steve@sakoman.com>
  *     Sricharan       <r.sricharan@ti.com>
  */
-#include <common.h>
 #include <cpu_func.h>
 #include <palmas.h>
 #include <asm/armv7.h>
index 786da45fac8321a8749581095b4390e8e6dd889a..6bf4cf4a75825867cff2eeac7b6ff35efd779184 100644 (file)
@@ -10,7 +10,6 @@
  * Sricharan R <r.sricharan@ti.com>
  */
 
-#include <common.h>
 #include <asm/emif.h>
 #include <asm/arch/sys_proto.h>
 
index 64560b21e3f51112c07ec91b97721d1215a493d5..16bbc93f4a35cff74811f317ae3a3156d0327e34 100644 (file)
@@ -12,7 +12,7 @@
  * Andrew F. Davis <afd@ti.com>
  */
 
-#include <common.h>
+#include <config.h>
 #include <command.h>
 #include <cpu_func.h>
 #include <hang.h>
index 71fdf5bf487c79b1ebb90923bd253bd0577e1663..ed0620e7b63f4f6aac10ee8721970df5ea7328f8 100644 (file)
@@ -15,7 +15,7 @@
  * Gary Jennejohn, DENX Software Engineering, <garyj@denx.de>
  */
 
-#include <common.h>
+#include <config.h>
 #include <init.h>
 #include <time.h>
 #include <asm/global_data.h>
index 0623281a3c7d12b531a886930daf8e8c904b2049..2326d153b12fefaa1e0bbff53bad7d696abe5032 100644 (file)
@@ -3,9 +3,9 @@
  * Copyright 2011 Linaro Limited
  * Aneesh V <aneesh@ti.com>
  */
-#include <common.h>
 #include <env.h>
 #include <part.h>
+#include <vsprintf.h>
 #include <asm/setup.h>
 #include <asm/arch/sys_proto.h>
 #include <asm/omap_common.h>
index 054782efbdbd4b8ff935c0b7dc8161862b4f71b4..cb377aa12723fca9b77b1786e65ada0da460124c 100644 (file)
@@ -14,7 +14,7 @@
  * GNU General Public License for more details.
  */
 
-#include <common.h>
+#include <config.h>
 #include <asm/omap_common.h>
 #include <asm/arch/sys_proto.h>
 #include <asm/arch/clock.h>
index ffae9a01e37c06cf5bd7081c93c3ba1c9921b81a..58ee67eca50f32c086f0e1d689674732cbb644b5 100644 (file)
@@ -8,7 +8,6 @@
  * Written-by: Prafulla Wadaskar <prafulla@marvell.com>
  */
 
-#include <common.h>
 #include <cpu_func.h>
 #include <init.h>
 #include <net.h>
index 5647f847d78fefc6e9eb221d07d12717619c15af..228a3f7ad07560bd479b24d9f9700956a449d2f0 100644 (file)
@@ -8,7 +8,6 @@
  * Written-by: Prafulla Wadaskar <prafulla@marvell.com>
  */
 
-#include <common.h>
 #include <config.h>
 #include <init.h>
 #include <asm/arch/cpu.h>
index b373e59e6fe3cc06a7cab5046bfb8cbd68e6a0a7..85736f04e6728304f19e178c07825aece81930f1 100644 (file)
@@ -7,7 +7,7 @@
  * Written-by: Prafulla Wadaskar <prafulla@marvell.com>
  */
 
-#include <common.h>
+#include <config.h>
 #include <init.h>
 #include <time.h>
 #include <asm/global_data.h>
index f0f46f2dcb74e134e64df514c1b71945cd43adf1..0130cad7678258e9d6e2969122583facdf2a9df7 100644 (file)
@@ -5,13 +5,13 @@
  * Copyright (C) 2018 Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
  */
 
+#include <config.h>
 #include <cpu_func.h>
 #include <init.h>
 #include <asm/cache.h>
 #include <asm/global_data.h>
 #include <linux/arm-smccc.h>
 #include <linux/psci.h>
-#include <common.h>
 #include <asm/io.h>
 #include <asm/mach-types.h>
 #include <asm/psci.h>
index 81f6ca2e49195841c65135de178464c5955eb86c..6f0a220320e4b9178ad2f4f7b97a38fd0c03abe9 100644 (file)
@@ -6,7 +6,6 @@
  * Copyright (C) 2018 Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
  */
 
-#include <common.h>
 #include <asm/armv8/mmu.h>
 
 static struct mm_region owl_mem_map[] = {
index 4dff9e07629dfae93710a0c0e62a7a0555e297b8..c50700df078d4514d82c0c62b92076a9030bb5ec 100644 (file)
@@ -7,7 +7,6 @@
 
 #include <asm/armv8/mmu.h>
 #include <asm/global_data.h>
-#include <asm/u-boot.h>
 #include <cpu_func.h>
 
 #define GEN3_NR_REGIONS 16
index 9934a775220b4ecd20f55d2417ce1e4cf4689ab9..3b3c6f7cde9a0422d8cfbc84702ab815cf0e0cde 100644 (file)
@@ -8,7 +8,6 @@
 
 #include <asm/armv8/mmu.h>
 #include <asm/global_data.h>
-#include <asm/u-boot.h>
 #include <cpu_func.h>
 
 #define RZG2L_NR_REGIONS 16
index cd226844b638773da19b2b325f3e60cfa15f08f2..8a57b8217ff2683749068777e6be99d915c105f2 100644 (file)
@@ -8,7 +8,7 @@
  * Based on puma-rk3399.c:
  *      (C) Copyright 2017 Theobroma Systems Design und Consulting GmbH
  */
-#include <common.h>
+#include <config.h>
 #include <clk.h>
 #include <cpu_func.h>
 #include <env.h>
index f9be396aa558f8fb560e8d9b766d9396fe087028..55e9456668ae727a1afbc7e976e2218f1c362ad3 100644 (file)
@@ -3,7 +3,6 @@
  * (C) Copyright 2016 Rockchip Electronics Co., Ltd
  */
 
-#include <common.h>
 #include <adc.h>
 #include <command.h>
 #include <env.h>
index b36e559e8719eba9dcfcf94609cf0e7f1cf179d0..82a0b3efef927bff730d77bd0f0a430cb3b84fe5 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (c) 2017 Google, Inc
  */
 
-#include <common.h>
 #include <hang.h>
 #include <asm/arch-rockchip/bootrom.h>
 #include <asm/arch-rockchip/boot_mode.h>
index a62ff53c6a0484b251aedff71d78f04752f6cdf5..14c7331e1ab2ee47a701a18fb71f7763840789ae 100644 (file)
@@ -4,7 +4,6 @@
  * Author: Jagan Teki <jagan@amarulasolutions.com>
  */
 
-#include <common.h>
 #include <env.h>
 #include <init.h>
 #include <asm/arch-rockchip/clock.h>
index db368a7b8c23b001a47555c201bdcd83f675f33a..f0b3c5f83f47868869ffcd97e9b4ae161f23a6f3 100644 (file)
@@ -3,7 +3,6 @@
  * (C) Copyright 2019 Rockchip Electronics Co., Ltd
  */
 
-#include <common.h>
 #include <debug_uart.h>
 #include <dm.h>
 #include <init.h>
index 7edf1321feb339f882139e9e48a5fd4933da8417..410134769f8cf44470cfc3396b90da6dc99623a2 100644 (file)
@@ -3,7 +3,6 @@
  * (C) Copyright 2017 Rockchip Electronics Co., Ltd.
  */
 
-#include <common.h>
 #include <dm.h>
 #include <syscon.h>
 #include <asm/arch-rockchip/clock.h>
index 2ec3289d75b7d012088c185cca037b88b5073e41..8b1509e55f2102d5d131aa82fb0265d884d07500 100644 (file)
@@ -2,7 +2,6 @@
 /*
  * Copyright (c) 2017 Rockchip Electronics Co., Ltd
  */
-#include <common.h>
 #include <clk.h>
 #include <dm.h>
 #include <fdt_support.h>
index 37e88f5ccb912c2648da7cc3bb1d829ff87eb237..c9de57493d8cf89bad64edafc1dde8ae9e90055c 100644 (file)
@@ -3,7 +3,6 @@
  * (C) Copyright 2017 Rockchip Electronics Co., Ltd
  */
 
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <syscon.h>
index 73f6d241a1cef1068f001ba7cdd00a5592aaed63..64e100172fac5f3383733dee0aac19395332d222 100644 (file)
@@ -3,7 +3,6 @@
  * (C) Copyright 2015-2019 Rockchip Electronics Co., Ltd
  */
 
-#include <common.h>
 #include <debug_uart.h>
 #include <init.h>
 #include <asm/io.h>
index 116dccd7b87a7a8cdee5ae4d83728bd8191a4038..9046601a75e81f34022431cbddb866cd35f25143 100644 (file)
@@ -4,7 +4,6 @@
  * Written by Simon Glass <sjg@chromium.org>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <syscon.h>
 #include <asm/arch-rockchip/clock.h>
index e8130abdd777891cbccd8e9e9e68e722f893b998..6c92b31dc84647f69ff736a756ef6b09c9fdbca4 100644 (file)
@@ -3,7 +3,6 @@
  * (C) Copyright 2019 Rockchip Electronics Co., Ltd
  */
 
-#include <common.h>
 #include <init.h>
 #include <asm/global_data.h>
 #include <asm/arch-rockchip/grf_rk3036.h>
index 07cd29a33e69ff46739c35e392997e66893fb620..308b9e6b8a8a769f8a31677e0fb8d64b511b2c38 100644 (file)
@@ -2,7 +2,7 @@
 /*
  * (C) Copyright 2015 Rockchip Electronics Co., Ltd
  */
-#include <common.h>
+#include <config.h>
 #include <init.h>
 #include <asm/types.h>
 #include <asm/arch-rockchip/cru_rk3036.h>
index c2fd16079902950043e0bf45fa93c1d9cf2645e5..23b75269d507c8f2588744dc464ed14f5e71de1f 100644 (file)
@@ -3,7 +3,6 @@
  * (C) Copyright 2015 Rockchip Electronics Co., Ltd
  */
 
-#include <common.h>
 #include <dm.h>
 #include <syscon.h>
 #include <asm/arch-rockchip/clock.h>
index c47526dca5dec8be0849bd33d1fd1dc283372b24..88057fad05014b49013d4724ae6212fd63cbcc13 100644 (file)
@@ -4,7 +4,6 @@
  * Written by Simon Glass <sjg@chromium.org>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <syscon.h>
 #include <asm/arch-rockchip/clock.h>
index 9a95ff85041794d23393e8e57822463e4343bd5d..70b55ca8abf6c98173a5a332d4d5b81603d9bc13 100644 (file)
@@ -3,7 +3,6 @@
  * (C) Copyright 2016 Rockchip Electronics Co., Ltd
  */
 
-#include <common.h>
 #include <asm/arch-rockchip/bootrom.h>
 #include <asm/arch-rockchip/grf_rk3066.h>
 #include <asm/arch-rockchip/hardware.h>
index a598f6400de345f81308e640548fcd3e03e8f840..ff269b53b542434fef78452a46f96c08f7320b93 100644 (file)
@@ -4,7 +4,6 @@
  * Written by Simon Glass <sjg@chromium.org>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <syscon.h>
index a1b038c64866f1d013267e32c802ed73b46c4ce1..ae552af3ff598f7e16bdaaa3e9db9cbe0915f7d2 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (c) 2017 Rockchip Electronics Co., Ltd
  */
 
-#include <common.h>
 #include <dm.h>
 #include <syscon.h>
 #include <asm/arch-rockchip/clock.h>
index 1406d5d0d325d2aa6df49088ed9f3aee1aef3c70..f81c57a48beef257dac69bfe27b40a955d23e5c2 100644 (file)
@@ -3,7 +3,6 @@
  * (C) Copyright 2017 Rockchip Electronics Co., Ltd
  */
 
-#include <common.h>
 #include <dm.h>
 #include <syscon.h>
 #include <asm/arch-rockchip/clock.h>
index 94d1d23e1f457b82ad6adf0483acdebb144d11a0..c0e71c3fa90679a37c2afe77cc03202e5600123a 100644 (file)
@@ -4,7 +4,6 @@
  * Written by Simon Glass <sjg@chromium.org>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <syscon.h>
 #include <asm/arch-rockchip/clock.h>
index ffdcaa49a1e5245a5f17d2a019b53ce0d091ed23..53b2eaa2d5345c629a199f3a18d45e65ef6cf6d1 100644 (file)
@@ -2,7 +2,6 @@
 /*
  * (C) Copyright 2019 Rockchip Electronics Co., Ltd
  */
-#include <common.h>
 #include <dm.h>
 #include <hang.h>
 #include <init.h>
index 917ff37c0fc15bb2ae5f645fc0525dca5144b20e..6df054e5b27dd656f568b5298ddb12322f58874e 100644 (file)
@@ -4,7 +4,6 @@
  * Written by Simon Glass <sjg@chromium.org>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <syscon.h>
index 2e57672b246d438bca3dc793d4d9b96d38b0c7f9..4703125392eb6875e2a7acb4fbd3da887f425d54 100644 (file)
@@ -3,7 +3,6 @@
  * (C) Copyright 2017 Rockchip Electronics Co., Ltd.
  */
 
-#include <common.h>
 #include <dm.h>
 #include <syscon.h>
 #include <asm/arch-rockchip/clock.h>
index 0d9dca8173cd466af636ad9be3554460fef76d13..c471a4c9fb74e8522f6c789a908a13e6f65a8f6c 100644 (file)
@@ -3,7 +3,6 @@
  * (C) Copyright 2017 Rockchip Electronics Co., Ltd
  */
 
-#include <common.h>
 #include <dm.h>
 #include <syscon.h>
 #include <asm/arch-rockchip/clock.h>
index fb4c0891d0dcdb957ece5ef172dbc0a62dbd98cf..af6c5d1f59b243241939c7b26db1bfce821dd702 100644 (file)
@@ -4,7 +4,6 @@
  * Written by Simon Glass <sjg@chromium.org>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <syscon.h>
 #include <asm/arch-rockchip/clock.h>
index 70cf500291214ab96c3e5cc97e46b0799f1aa67d..d1170f7e23d07cd339a4b93e838b6ea57726a5eb 100644 (file)
@@ -2,7 +2,6 @@
 /*
  * Copyright (c) 2016 Rockchip Electronics Co., Ltd
  */
-#include <common.h>
 #include <command.h>
 #include <dm.h>
 #include <env.h>
index 8b2c2f323a71d1bbb9bc78cc14efa1f9572e5ffd..6413d0a88a16a90817b615886d3d51fb175884d6 100644 (file)
@@ -4,7 +4,6 @@
  * Written by Simon Glass <sjg@chromium.org>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <dt-structs.h>
 #include <log.h>
index 201bf661f9bb107cbc7a41fe0d7c4eddd9082fbb..557e21f8199eb9e9f8d8180f51c0ac69de56f467 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (c) 2018 Fuzhou Rockchip Electronics Co., Ltd
  */
 
-#include <common.h>
 #include <dm.h>
 #include <syscon.h>
 #include <asm/arch-rockchip/clock.h>
index a0915c72bfa0c51212c3bf19a61fe039741853ac..6f88638d15698bc7621fd489298ce2f155b6498d 100644 (file)
@@ -2,7 +2,6 @@
 /*
  *Copyright (c) 2018 Rockchip Electronics Co., Ltd
  */
-#include <common.h>
 #include <init.h>
 #include <malloc.h>
 #include <asm/arch-rockchip/bootrom.h>
index b380ff5723361129e2911e74a4ed3c061a91fdb8..2d7e9711015271202eb10a0c39fa414a14cff23f 100644 (file)
@@ -3,7 +3,6 @@
  * (C) Copyright 2018 Rockchip Electronics Co., Ltd
  */
 
-#include <common.h>
 #include <dm.h>
 #include <syscon.h>
 #include <asm/arch-rockchip/clock.h>
index 70c0eb6f98e7419610229c786c0e1df1fb4002f9..b0c5af53da687d5208440998f33bb5ba59689891 100644 (file)
@@ -3,7 +3,6 @@
  * (C) Copyright 2017 Rockchip Electronics Co., Ltd
  */
 
-#include <common.h>
 #include <dm.h>
 #include <asm/arch-rockchip/clock.h>
 #include <asm/arch-rockchip/cru_rk3328.h>
index ca3fa81e1278b8b37c4e6ec856a6233c4b4dfa02..c86d11943d6dbb42f4a56a601a0f2c470f977162 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (c) 2016 Rockchip Electronics Co., Ltd
  */
 
-#include <common.h>
 #include <init.h>
 #include <asm/arch-rockchip/bootrom.h>
 #include <asm/arch-rockchip/hardware.h>
index d2f267e63534dd6a722d525bf81909f7908df397..02ed366d8b6fddc0f3f2e16ec6bf977f9922d5de 100644 (file)
@@ -3,7 +3,6 @@
  * (C) Copyright 2016 Rockchip Electronics Co., Ltd
  */
 
-#include <common.h>
 #include <asm/arch-rockchip/clock.h>
 #include <dm.h>
 #include <syscon.h>
index b075319720d9230e59b1996b637cdad216a2ca88..c4d41e52af08c80786f91e2cbbfaedd8657683af 100644 (file)
@@ -4,7 +4,6 @@
  * Author: Andy Yan <andy.yan@rock-chips.org>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <syscon.h>
 #include <asm/arch-rockchip/clock.h>
index 8f5ca1dfa7c9c39099c171ed20bb412c202ba4d3..f589bf67328d821cba8bf385c3d9c1ed80cf0537 100644 (file)
@@ -4,7 +4,6 @@
  * Copyright (c) 2016 Andreas Färber
  */
 
-#include <common.h>
 #include <init.h>
 #include <syscon.h>
 #include <asm/armv8/mmu.h>
index dc2d831dd84fb7a1dab27b3f28eee7e8099f2d28..7389c02836412074072c4026a35c55dec8fde1c6 100644 (file)
@@ -5,7 +5,6 @@
  * (C) Copyright 2017 Theobroma Systems Design und Consulting GmbH
  */
 
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <syscon.h>
index 9d9a837fc7489e09ce66ffa29f4619d913b359bb..de552b5903b5ca41ffdf4437ba00dbec4bce4f1b 100644 (file)
@@ -4,7 +4,6 @@
  * Written by Simon Glass <sjg@chromium.org>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <syscon.h>
 #include <asm/arch-rockchip/clock.h>
index 7fa1d7c7b7af93bc2fa5457356fb8a677f2b7063..2d7d0f82a2f13a434c77046fe07594d60b39ff67 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (c) 2016 Rockchip Electronics Co., Ltd
  */
 
-#include <common.h>
 #include <fdt_support.h>
 #include <init.h>
 #include <log.h>
index 2b5746cb31bba2e0b6ec8932de4d2e11481fe615..b92ad54ede5cf91229f2b5c5ba2bb447b254b2ae 100644 (file)
@@ -3,7 +3,6 @@
  * (C) Copyright 2016 Rockchip Electronics Co., Ltd
  */
 
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <syscon.h>
index 8917edcbd304e1c72c3839cebeb84ead38be4b07..1c6b2ece602b59eeae7988e3f95a4642c2204796 100644 (file)
@@ -3,7 +3,6 @@
  * (C) Copyright 2021 Rockchip Electronics Co., Ltd
  */
 
-#include <common.h>
 #include <dm.h>
 #include <syscon.h>
 #include <asm/arch-rockchip/clock.h>
index b30ea04f737a33ce55a17bbe2125a03009fab99b..1b3e40074e3b427e1d1ef97b97d2b7a9bb4025cd 100644 (file)
@@ -3,7 +3,6 @@
  * (C) Copyright 2021 Rockchip Electronics Co., Ltd
  */
 
-#include <common.h>
 #include <dm.h>
 #include <asm/armv8/mmu.h>
 #include <asm/arch-rockchip/bootrom.h>
index 5407e7827f5234fa999106199ea9dc91ca5e3a06..255259eabfdaceca07928014621e7979cfe67652 100644 (file)
@@ -3,7 +3,6 @@
  * (C) Copyright 2021 Rockchip Electronics Co., Ltd
  */
 
-#include <common.h>
 #include <dm.h>
 #include <syscon.h>
 #include <asm/arch-rockchip/clock.h>
index 3df0bf223e3016e2c37157830df96167b7b2247f..250ec423bd24b6ecca7855237f15b47d53bef1d6 100644 (file)
@@ -3,7 +3,6 @@
  * (C) Copyright 2020 Rockchip Electronics Co., Ltd.
  */
 
-#include <common.h>
 #include <dm.h>
 #include <syscon.h>
 #include <asm/arch-rockchip/clock.h>
index eb65dafe3a241b2136b3b71978b90373ceb315fe..d3162d3447e03d69851a9904c889e0793a802a7c 100644 (file)
@@ -4,7 +4,6 @@
  * Copyright (c) 2022 Edgeble AI Technologies Pvt. Ltd.
  */
 
-#include <common.h>
 #include <spl.h>
 #include <asm/armv8/mmu.h>
 #include <asm/arch-rockchip/bootrom.h>
index 7b2cf37d9da1e36f435a050a8e614047ca4b038d..f86567fcaf4ff4f7f0938467bffbc8c1cb90aeb1 100644 (file)
@@ -3,7 +3,6 @@
  * (C) Copyright 2021 Rockchip Electronics Co., Ltd
  */
 
-#include <common.h>
 #include <dm.h>
 #include <syscon.h>
 #include <asm/arch-rockchip/clock.h>
index 44b53c407a78ca5839a8d24a6d154aad765b4d40..5659ae03d711769652a4f4f7a03d5f6e02b00a1d 100644 (file)
@@ -4,7 +4,6 @@
  * Author: Andy Yan <andy.yan@rock-chips.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <syscon.h>
 #include <asm/arch-rockchip/clock.h>
index babdf5720b248eb992a2f254b06f3cbbfc43472e..d68fbf1bd2514e11181e48041a539f5db09e10ab 100644 (file)
@@ -3,7 +3,6 @@
  * (C) Copyright 2016 Rockchip Electronics Co., Ltd
  */
 
-#include <common.h>
 #include <dm.h>
 #include <syscon.h>
 #include <asm/arch-rockchip/clock.h>
index bd8902718f203daa6bb10e5b8655573cf31afecb..3d64fcd45949b242713583eb958734e24b79375d 100644 (file)
@@ -4,7 +4,6 @@
  * Copyright (c) 2022 Edgeble AI Technologies Pvt. Ltd.
  */
 
-#include <common.h>
 #include <dm.h>
 #include <syscon.h>
 #include <asm/arch-rockchip/clock.h>
index 40eb9eb7b1967e169a61b306a0f8241628c0bc39..1c10e9b9f2335ee77c77ab679f62426959894473 100644 (file)
@@ -4,7 +4,6 @@
  * Copyright (c) 2022 Edgeble AI Technologies Pvt. Ltd.
  */
 
-#include <common.h>
 #include <asm/arch-rockchip/bootrom.h>
 #include <asm/arch-rockchip/hardware.h>
 #include <asm/arch-rockchip/grf_rv1126.h>
index 599ea66e3d67d7761188de389a13f3fbd0e518fe..67d2f18a8d0f598f27ca55bede96e7caeb0bbd1d 100644 (file)
@@ -4,7 +4,6 @@
  * Copyright (c) 2022 Edgeble AI Technologies Pvt. Ltd.
  */
 
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <syscon.h>
index f2a3d6b1400153c14b70a374d0f6757839423240..1fb01e1c4b131ceb876711983675b73aaccad41f 100644 (file)
@@ -3,7 +3,7 @@
  * Copyright (C) 2017 Rockchip Electronics Co., Ltd.
  */
 
-#include <common.h>
+#include <config.h>
 #include <dm.h>
 #include <init.h>
 #include <log.h>
index 3543267aa574341023a7764918488592e5eec98d..3dce9b30898d49a86ec1963846ffdddea521e201 100644 (file)
@@ -3,7 +3,6 @@
  * (C) Copyright 2017 Theobroma Systems Design und Consulting GmbH
  */
 
-#include <common.h>
 #include <dm.h>
 #include <fdt_support.h>
 #include <log.h>
index 2c3e9789cc897e00f048a73a3d82dac84e046605..50f04f9474a0d16da36c88a57ab7a39299ddfd5a 100644 (file)
@@ -3,7 +3,6 @@
  * (C) Copyright 2019 Rockchip Electronics Co., Ltd
  */
 
-#include <common.h>
 #include <bootstage.h>
 #include <debug_uart.h>
 #include <dm.h>
index b390bdf8278408e5ed7b40fd43ca702bbc1d2f70..f0aec7c0fe02dbed6a02b05e6cc0ca6ee87fae87 100644 (file)
@@ -7,7 +7,6 @@
  * based on arch/arm/cpu/armv7/omap3/cache.S
  */
 
-#include <common.h>
 #include <cpu_func.h>
 #include <asm/cache.h>
 
index c90c341b5082eb224dbcec8d9f74905084605e19..b92ce1152f66baeee5c6bfb33e5274e2e4ec703c 100644 (file)
@@ -5,7 +5,7 @@
  * Heungjun Kim <riverful.kim@samsung.com>
  */
 
-#include <common.h>
+#include <config.h>
 #include <asm/io.h>
 #include <asm/arch/clock.h>
 #include <asm/arch/clk.h>
index 818d75164dee1204e32c335112db36bec1d62ac7..23b9252827ae958007ca5ecb7c412956683ee98a 100644 (file)
@@ -6,7 +6,6 @@
  * Written by Simon Glass <sjg@chromium.org>
  */
 
-#include <common.h>
 #include <asm/arch/pinmux.h>
 
 int exynos_pinmux_config(int peripheral, int flags)
diff --git a/arch/arm/mach-sc5xx/Kconfig b/arch/arm/mach-sc5xx/Kconfig
new file mode 100644 (file)
index 0000000..3846b4f
--- /dev/null
@@ -0,0 +1,475 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+#
+# (C) Copyright 2022 - Analog Devices, Inc.
+#
+# Written and/or maintained by Timesys Corporation
+#
+# Contact: Nathan Barrett-Morrison <nathan.morrison@timesys.com>
+# Contact: Greg Malysa <greg.malysa@timesys.com>
+#
+
+# All 32-bit platforms require SYS_ARM_CACHE_WRITETHROUGH
+# But it is ignored if selected here, so it must be in the defconfig
+
+if ARCH_SC5XX
+
+config SC57X
+       bool
+       select SUPPORT_SPL
+       select CPU_V7A
+       select PANIC_HANG
+       select COMMON_CLK_ADI_SC57X
+       select TIMER
+       select ADI_SC5XX_TIMER
+
+config SC58X
+       bool
+       select SUPPORT_SPL
+       select CPU_V7A
+       select PANIC_HANG
+       select COMMON_CLK_ADI_SC58X
+       select TIMER
+       select ADI_SC5XX_TIMER
+
+config SC59X
+       bool
+       select SUPPORT_SPL
+       select CPU_V7A
+       select PANIC_HANG
+       select COMMON_CLK_ADI_SC594
+       select TIMER
+       select ADI_SC5XX_TIMER
+       select NOP_PHY
+
+config SC59X_64
+       bool
+       select SUPPORT_SPL
+       select PANIC_HANG
+       select MMC_SDHCI_ADMA_FORCE_32BIT
+       select ARM64
+       select DM
+       select DM_SERIAL
+       select COMMON_CLK_ADI_SC598
+       select GICV3
+       select GIC_600_CLEAR_RDPD
+       select NOP_PHY
+
+config SC_BOOT_MODE
+       int "SC5XX boot mode select"
+       default 1
+       range 0 7
+       help
+         Mode 0: do nothing, just idle
+         Mode 1: boot ldr out of serial flash
+         Mode 7: boot ldr over uart
+
+config SC_BOOT_SPI_BUS
+       int "sc5xx spi boot bus"
+       default 2
+       range 0 4
+       help
+         This is the SPI peripheral number to use for booting, X in the
+         expression `sf probe X:Y`
+
+config SC_BOOT_SPI_SSEL
+       int "sc5xx spi boot chipselect"
+       default 1
+       range 0 6
+       help
+         This is the SPI chip select number to use for booting, Y in the
+         expression `sf probe X:Y`
+
+config SC_BOOT_OSPI_BUS
+       int "sc5xx ospi boot bus"
+       default 0
+       help
+         This is the OSPI peripheral number to use for booting, X in the
+         expression `sf probe X:Y`
+
+config SC_BOOT_OSPI_SSEL
+       int "sc5xx ospi boot chipselect"
+       default 0
+       help
+         This is the OSPI chip select number to use for booting, Y in the
+         expression `sf probe X:Y`
+
+config SYS_FLASH_BASE
+       hex
+       default 0x60000000
+
+config UART_CONSOLE
+       int
+       default 0
+
+config UART4_SERIAL
+       bool
+       depends on DM_SERIAL
+       default y
+
+config WDT_ADI
+       bool
+       default y
+
+config WATCHDOG_TIMEOUT_MSECS
+       int
+       default 30000
+
+config DW_PORTS
+       int
+       default 1
+
+config ADI_BUG_EZKHW21
+       bool "SC584 EZKIT phy bug workaround"
+       depends on SC58X
+       help
+         This workaround affects the SC584 EZKIT and addresses bug EZKHW21.
+         It disables gigabit ethernet mode and limits the board to 100 Mbps
+
+config ADI_CARRIER_SOMCRR_EZKIT
+       bool "Support the EV-SOMCRR-EZKIT"
+       depends on (SC59X || SC59X_64)
+       help
+         Say y to include support for the EV-SOMCRR-EZKIT carrier board,
+         which is compatible with the SC594 and SC598 SOMs. The EZKIT is
+         mutually incompatible with the EZLITE.
+
+config ADI_CARRIER_SOMCRR_EZLITE
+       bool "Support the EV-SOMCRR-EZLITE"
+       depends on (SC59X || SC59X_64)
+       help
+         Say y to include support for the EV-SOMCRR-EZLITE carrier board,
+         which is compatible with the SC594 and SC598 SOMs. The EZLITE is
+         mutually incompatible with the EZKIT.
+
+config ADI_SPL_FORCE_BMODE
+       int "Force the SPL to use this BMODE device during next boot stage"
+       default 0
+       range 0 9
+       depends on SPL
+       help
+         Force the SPL to use this BMODE device during next boot stage.
+         For example, if booting via QSPI, we can force the second stage
+         Of the boot process to use other peripherals via:
+         1 = QSPI -> QSPI
+         5 = QSPI -> OSPI
+         6 = QSPI -> eMMC
+
+config ADI_USE_DMC0
+       bool "Configure DMC0"
+       default y
+       help
+         During hardware initialization, channel 0 of the DMC will be
+         initialized. Select this if you have DMC0 connected to external
+         DDR memory. This is expected to be true for every board using
+         an SC5xx SoC.
+
+config ADI_USE_DMC1
+       bool "Configure DMC1"
+       help
+         During hardware initialization, channel 1 of the DMC will be
+         initialized. Not all processors have a DMC1. Select this if your
+         SoC has DMC1 and you have it connected to external DDR memory.
+
+config ADI_USE_DDR2
+       bool "Configure DMC for DDR2 mode"
+       help
+         Configure the DMC in DDR2 mode. The default is DDR3 and not all
+         parts may actually support DDR2. Please consult the manual for
+         the SoC that you are using to determine if DDR2 mode is supported.
+         This also requires that DDR2 memory is present on the board or it
+         will probably cause strange failure.
+
+menu "Clock configuration"
+
+config CGU0_DF_DIV
+       int "CGU0_DF_DIV"
+       range 0 1
+       help
+         Select 0 to pass CLKIN to PLL
+         Select 1 to pass CLKIN/2 to PLL
+
+config CGU0_VCO_MULT
+       int "CGU0_VCO_MULT"
+       range 0 127
+       help
+         VCO_MULT controls the MSEL (multiplier) bits in PLL_CTL
+         A value of 0 means 128
+
+config CGU0_CCLK_DIV
+       int "CGU0_CCLK_DIV"
+       range 0 31
+       help
+         CCLK_DIV controls the core clock divider
+         A value of 0 means 32
+         CCLK = ((CLKIN / (1 + DF)) * VCO_MULT) / CCLK_DIV
+
+config CGU0_SCLK_DIV
+       int "CGU0_SCLK_DIV"
+       range 0 31
+       help
+         SCLK_DIV controls the system clock divider
+         A value of 0 means 32
+         SCLK = ((CLKIN / (1 + DF)) * VCO_MULT) / SYSCLK_DIV
+
+config CGU0_SCLK0_DIV
+       int "CGU0_SCLK0_DIV"
+       range 0 7
+       help
+         A value of 0 means 8
+         SCLK0 = SCLK / SCLK0_DIV
+
+config CGU0_SCLK1_DIV
+       int "CGU0_SCLK1_DIV"
+       depends on (SC57X || SC58X)
+       range 0 7
+       help
+         A value of 0 means 8
+         SCLK1 = SCLK / SCLK1_DIV
+
+config CGU0_DCLK_DIV
+       int "CGU0_DCLK_DIV"
+       range 0 31
+       help
+         DCLK_DIV controls the DDR clock divider
+         A value of 0 means 32
+         DCLK = ((CLKIN / (1 + DF)) * VCO_MULT) / DCLK_DIV
+
+config CGU0_OCLK_DIV
+       int "CGU0_OCLK_DIV"
+       range 0 127
+       help
+         OCLK_DIV controls the output clock divider
+         A value of 0 means 128
+         OCLK = ((CLKIN / (1 + DF)) * VCO_MULT) / OCLK_DIV
+
+config CGU0_DIV_S1SELEX
+       int "CGU0_DIV_S1SELEX"
+       depends on !SC57X && !SC58X
+       range 0 255
+       help
+         CGU0 SCLK1 Extended divisor register.
+         A value of 0 means 256.
+         SCLK1 = ((CLKIN / (1 + DF)) * VCO_MULT) / DIV_S1SELEX
+
+config CGU0_CLKOUTSEL
+       int "CGU0_CLKOUTSEL"
+       default 0
+       range 0 31
+       help
+         Select signal driven through CLKOUT pin multiplexer.
+         This value varies on each SOC. Refer to
+         CGU_CLKOUTSEL.CLKOUTSEL in the Hardware Reference Manual
+         for values applicable to each SOC.
+         Commonly, values 0 and 1 select CLKIN0 or CLKIN1 respectively.
+
+config CGU1_PLL3_DDRCLK
+       bool "DDRCLK From 3rd PLL"
+       depends on SC59X_64
+       help
+         3rd PLL output is connected to DMC block when set.
+         When cleared, DDR clock is CLKO3 output of CDU.
+
+config CGU1_PLL3_VCO_MSEL
+       int "CGU0_PLL3_VCO_MSEL"
+       depends on CGU1_PLL3_DDRCLK
+       range 1 128
+       help
+         PLL multiplier value for the 3rd PLL.
+         DCLK = (CLKIN * PLL3_VCO_MSEL) / PLL3_DCLK_DIV
+
+config CGU1_PLL3_DCLK_DIV
+       int "CGU0_PLL3_DCLK_DIV"
+       depends on CGU1_PLL3_DDRCLK
+       range 1 32
+       help
+         PLL divider value for the 3rd PLL.
+         DCLK = (CLKIN * PLL3_VCO_MSEL) / PLL3_DCLK_DIV
+
+config CGU1_DF_DIV
+       int "CGU1_DF_DIV"
+       range 0 1
+       help
+         Select 0 to pass CLKIN to PLL
+         Select 1 to pass CLKIN/2 to PLL
+
+config CGU1_VCO_MULT
+       int "CGU1_VCO_MULT"
+       range 0 127
+       help
+         VCO_MULT controls the MSEL (multiplier) bits in PLL_CTL
+         A value of 0 means 128
+
+config CGU1_CCLK_DIV
+       int "CGU1_CCLK_DIV"
+       range 0 31
+       help
+         CCLK_DIV controls the core clock divider
+         A value of 0 means 32
+         CCLK = ((CLKIN / (1 + DF)) * VCO_MULT) / CCLK_DIV
+
+config CGU1_SCLK_DIV
+       int "CGU1_SCLK_DIV"
+       range 0 31
+       help
+         SCLK_DIV controls the system clock divider
+         A value of 0 means 32
+         SCLK = ((CLKIN / (1 + DF)) * VCO_MULT) / SYSCLK_DIV
+
+config CGU1_SCLK0_DIV
+       int "CGU1_SCLK0_DIV"
+       depends on (SC57X || SC58X || SC59X)
+       range 0 7
+       help
+         A value of 0 means 8
+         SCLK0 = SCLK / SCLK0_DIV
+
+config CGU1_SCLK1_DIV
+       int "CGU1_SCLK1_DIV"
+       depends on (SC57X || SC58X)
+       range 0 7
+       help
+         A value of 0 means 8
+         SCLK1 = SCLK / SCLK1_DIV
+
+config CGU1_DCLK_DIV
+       int "CGU1_DCLK_DIV"
+       range 0 31
+       help
+         DCLK_DIV controls the DDR clock divider
+         A value of 0 means 32
+         DCLK = ((CLKIN / (1 + DF)) * VCO_MULT) / DCLK_DIV
+
+config CGU1_OCLK_DIV
+       int "CGU1_OCLK_DIV"
+       range 0 127
+       help
+         OCLK_DIV controls the output clock divider
+         A value of 0 means 128
+         OCLK = ((CLKIN / (1 + DF)) * VCO_MULT) / OCLK_DIV
+
+config CGU1_DIV_S0SELEX
+       int "CGU1_DIV_S0SELEX"
+       depends on !SC57X && !SC58X && !SC59X
+       range 0 255
+       help
+         CGU1 SCLK0 Extended divisor register.
+         A value of 0 means 256.
+         SCLK0 = ((CLKIN / (1 + DF)) * VCO_MULT) / DIV_S0SELEX
+
+config CGU1_DIV_S1SELEX
+       int "CGU1_DIV_S1SELEX"
+       depends on !SC57X && !SC58X
+       range 0 255
+       help
+         CGU1 SCLK1 Extended divisor register.
+         A value of 0 means 256.
+         SCLK1 = ((CLKIN / (1 + DF)) * VCO_MULT) / DIV_S1SELEX
+
+config CDU0_CGU1_CLKIN
+       int "CDU0 CGU1 CLKINn Select"
+       default 0
+       range 0 1
+       help
+         Selects source clock for CGU1.
+         0 for CLKIN0
+         1 for CLKIN1
+
+config CDU0_CLKO0
+       int "CDU0_CLKO0"
+       range 1 7
+       help
+         Clock source select. Refer to SOC Hardware Reference Manual
+
+config CDU0_CLKO1
+       int "CDU0_CLKO1"
+       range 1 7
+       help
+         Clock source select. Refer to SOC Hardware Reference Manual
+
+config CDU0_CLKO2
+       int "CDU0_CLKO2"
+       range 1 7
+       help
+         Clock source select. Refer to SOC Hardware Reference Manual
+
+config CDU0_CLKO3
+       int "CDU0_CLKO3"
+       range 1 7
+       help
+         Clock source select. Refer to SOC Hardware Reference Manual
+
+config CDU0_CLKO4
+       int "CDU0_CLKO4"
+       range 1 7
+       help
+         Clock source select. Refer to SOC Hardware Reference Manual
+
+config CDU0_CLKO5
+       int "CDU0_CLKO5"
+       range 1 7
+       help
+         Clock source select. Refer to SOC Hardware Reference Manual
+
+config CDU0_CLKO6
+       int "CDU0_CLKO6"
+       range 1 7
+       help
+         Clock source select. Refer to SOC Hardware Reference Manual
+
+config CDU0_CLKO7
+       int "CDU0_CLKO7"
+       range 1 7
+       help
+         Clock source select. Refer to SOC Hardware Reference Manual
+
+config CDU0_CLKO8
+       int "CDU0_CLKO8"
+       range 1 7
+       help
+         Clock source select. Refer to SOC Hardware Reference Manual
+
+config CDU0_CLKO9
+       int "CDU0_CLKO9"
+       range 1 7
+       help
+         Clock source select. Refer to SOC Hardware Reference Manual
+
+config CDU0_CLKO10
+       int "CDU0_CLKO10"
+       range 1 7
+       depends on (SC59X || SC59X_64)
+       help
+         Clock source select. Refer to SOC Hardware Reference Manual
+
+config CDU0_CLKO12
+       int "CDU0_CLKO12"
+       range 1 7
+       depends on (SC59X || SC59X_64)
+       help
+         Clock source select. Refer to SOC Hardware Reference Manual
+
+config CDU0_CLKO13
+       int "CDU0_CLKO13"
+       range 1 7
+       depends on SC59X_64
+       help
+         Clock source select. Refer to SOC Hardware Reference Manual
+
+config CDU0_CLKO14
+       int "CDU0_CLKO14"
+       range 1 7
+       depends on SC59X_64
+       help
+         Clock source select. Refer to SOC Hardware Reference Manual
+
+endmenu
+
+config ADI_GPIO
+       bool
+       default y
+
+config PINCTRL_ADI
+       bool
+       default y
+
+endif
diff --git a/arch/arm/mach-sc5xx/Makefile b/arch/arm/mach-sc5xx/Makefile
new file mode 100644 (file)
index 0000000..eeb56c0
--- /dev/null
@@ -0,0 +1,19 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+#
+# (C) Copyright 2022 - Analog Devices, Inc.
+#
+# Written and/or maintained by Timesys Corporation
+#
+# Contact: Nathan Barrett-Morrison <nathan.morrison@timesys.com>
+# Contact: Greg Malysa <greg.malysa@timesys.com>
+#
+
+obj-y += soc.o init/
+
+obj-$(CONFIG_SC57X) += sc57x.o
+obj-$(CONFIG_SC58X) += sc58x.o
+obj-$(CONFIG_SC59X) += sc59x.o
+obj-$(CONFIG_SC59X_64) += sc59x_64.o
+
+obj-$(CONFIG_SPL_BUILD) += spl.o
+obj-$(CONFIG_SYSCON) += rcu.o
diff --git a/arch/arm/mach-sc5xx/config.mk b/arch/arm/mach-sc5xx/config.mk
new file mode 100644 (file)
index 0000000..580964e
--- /dev/null
@@ -0,0 +1,16 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+#
+# (C) Copyright 2022 - Analog Devices, Inc.
+#
+# Written and/or maintained by Timesys Corporation
+#
+# Contact: Nathan Barrett-Morrison <nathan.morrison@timesys.com>
+# Contact: Greg Malysa <greg.malysa@timesys.com>
+#
+
+ifdef CONFIG_SPL_BUILD
+INPUTS-y += $(obj)/u-boot-spl.ldr
+endif
+
+LDR_FLAGS += --bcode=$(CONFIG_SC_BOOT_MODE)
+LDR_FLAGS += --use-vmas
diff --git a/arch/arm/mach-sc5xx/init/Makefile b/arch/arm/mach-sc5xx/init/Makefile
new file mode 100644 (file)
index 0000000..9d4920f
--- /dev/null
@@ -0,0 +1,11 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+#
+# (C) Copyright 2022 - Analog Devices, Inc.
+#
+# Written and/or maintained by Timesys Corporation
+#
+# Contact: Nathan Barrett-Morrison <nathan.morrison@timesys.com>
+# Contact: Greg Malysa <greg.malysa@timesys.com>
+#
+
+obj-y += dmcinit.o clkinit.o
diff --git a/arch/arm/mach-sc5xx/init/clkinit.c b/arch/arm/mach-sc5xx/init/clkinit.c
new file mode 100644 (file)
index 0000000..ae53cd6
--- /dev/null
@@ -0,0 +1,558 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
+/*
+ * (C) Copyright 2022 - Analog Devices, Inc.
+ *
+ * Written and/or maintained by Timesys Corporation
+ *
+ * Contact: Nathan Barrett-Morrison <nathan.morrison@timesys.com>
+ * Contact: Greg Malysa <greg.malysa@timesys.com>
+ */
+
+#include <asm/arch-adi/sc5xx/sc5xx.h>
+#include <asm/io.h>
+#include <linux/types.h>
+#include "clkinit.h"
+#include "dmcinit.h"
+
+#ifdef CONFIG_CGU0_SCLK0_DIV
+       #define VAL_CGU0_SCLK0_DIV CONFIG_CGU0_SCLK0_DIV
+#else
+       #define VAL_CGU0_SCLK0_DIV 1
+#endif
+#ifdef CONFIG_CGU0_SCLK1_DIV
+       #define VAL_CGU0_SCLK1_DIV CONFIG_CGU0_SCLK1_DIV
+#else
+       #define VAL_CGU0_SCLK1_DIV 1
+#endif
+#ifdef CONFIG_CGU0_DIV_S0SELEX
+       #define VAL_CGU0_DIV_S0SELEX CONFIG_CGU0_DIV_S0SELEX
+#else
+       #define VAL_CGU0_DIV_S0SELEX -1
+#endif
+#ifdef CONFIG_CGU0_DIV_S1SELEX
+       #define VAL_CGU0_DIV_S1SELEX CONFIG_CGU0_DIV_S1SELEX
+#else
+       #define VAL_CGU0_DIV_S1SELEX -1
+#endif
+#ifdef CONFIG_CGU0_CLKOUTSEL
+       #define VAL_CGU0_CLKOUTSEL CONFIG_CGU0_CLKOUTSEL
+#else
+       #define VAL_CGU0_CLKOUTSEL -1
+#endif
+#ifdef CONFIG_CGU1_SCLK0_DIV
+       #define VAL_CGU1_SCLK0_DIV CONFIG_CGU1_SCLK0_DIV
+#else
+       #define VAL_CGU1_SCLK0_DIV 1
+#endif
+#ifdef CONFIG_CGU1_SCLK1_DIV
+       #define VAL_CGU1_SCLK1_DIV CONFIG_CGU1_SCLK1_DIV
+#else
+       #define VAL_CGU1_SCLK1_DIV 1
+#endif
+#ifdef CONFIG_CGU1_DIV_S0SELEX
+       #define VAL_CGU1_DIV_S0SELEX CONFIG_CGU1_DIV_S0SELEX
+#else
+       #define VAL_CGU1_DIV_S0SELEX -1
+#endif
+#ifdef CONFIG_CGU1_DIV_S1SELEX
+       #define VAL_CGU1_DIV_S1SELEX CONFIG_CGU1_DIV_S1SELEX
+#else
+       #define VAL_CGU1_DIV_S1SELEX -1
+#endif
+#ifdef CONFIG_CGU1_CLKOUTSEL
+       #define VAL_CGU1_CLKOUTSEL CONFIG_CGU1_CLKOUTSEL
+#else
+       #define VAL_CGU1_CLKOUTSEL -1
+#endif
+
+#define REG_MISC_REG10_tst_addr     0x310A902C
+
+#define CGU0_REGBASE   0x3108D000
+#define CGU1_REGBASE   0x3108E000
+
+#define CGU_CTL                0x00 // CGU0 Control Register
+#define CGU_PLLCTL     0x04 // CGU0 PLL Control Register
+#define CGU_STAT       0x08 // CGU0 Status Register
+#define CGU_DIV                0x0C // CGU0 Clocks Divisor Register
+#define CGU_CLKOUTSEL  0x10 // CGU0 CLKOUT Select Register
+#define CGU_DIVEX      0x40 // CGU0 DIV Register Extension
+
+#define BITP_CGU_DIV_OSEL                   22    // OUTCLK Divisor
+#define BITP_CGU_DIV_DSEL                   16    // DCLK Divisor
+#define BITP_CGU_DIV_S1SEL                  13    // SCLK 1 Divisor
+#define BITP_CGU_DIV_SYSSEL                  8    // SYSCLK Divisor
+#define BITP_CGU_DIV_S0SEL                   5    // SCLK 0 Divisor
+#define BITP_CGU_DIV_CSEL                    0    // CCLK Divisor
+
+#define BITP_CGU_CTL_MSEL                    8    // Multiplier Select
+#define BITP_CGU_CTL_DF                      0    // Divide Frequency
+
+#define BITM_CGU_STAT_CLKSALGN      0x00000008
+#define BITM_CGU_STAT_PLOCK         0x00000004
+#define BITM_CGU_STAT_PLLBP         0x00000002
+#define BITM_CGU_STAT_PLLEN         0x00000001
+
+/*  PLL Multiplier and Divisor Selections (Required Value, Bit Position) */
+/* PLL Multiplier Select */
+#define MSEL(X)                (((X) << BITP_CGU_CTL_MSEL) & \
+                                BITM_CGU_CTL_MSEL)
+/* Divide frequency[true or false] */
+#define DF(X)          (((X) << BITP_CGU_CTL_DF) & \
+                                BITM_CGU_CTL_DF)
+/* Core Clock Divisor Select */
+#define CSEL(X)                (((X) << BITP_CGU_DIV_CSEL) & \
+                                BITM_CGU_DIV_CSEL)
+/* System Clock Divisor Select */
+#define SYSSEL(X)      (((X) << BITP_CGU_DIV_SYSSEL) & \
+                                BITM_CGU_DIV_SYSSEL)
+/* SCLK0 Divisor Select  */
+#define S0SEL(X)       (((X) << BITP_CGU_DIV_S0SEL) & \
+                                BITM_CGU_DIV_S0SEL)
+/* SCLK1 Divisor Select  */
+#define S1SEL(X)       (((X) << BITP_CGU_DIV_S1SEL) & \
+                                BITM_CGU_DIV_S1SEL)
+/* DDR Clock Divisor Select */
+#define DSEL(X)                (((X) << BITP_CGU_DIV_DSEL) & \
+                                BITM_CGU_DIV_DSEL)
+/* OUTCLK Divisor Select */
+#define OSEL(X)                (((X) << BITP_CGU_DIV_OSEL) & \
+                                BITM_CGU_DIV_OSEL)
+/* CLKOUT select       */
+#define CLKOUTSEL(X)   (((X) << BITP_CGU_CLKOUTSEL_CLKOUTSEL) & \
+                                BITM_CGU_CLKOUTSEL_CLKOUTSEL)
+#define S0SELEX(X)     (((X) << BITP_CGU_DIVEX_S0SELEX) & \
+                                BITM_CGU_DIVEX_S0SELEX)
+#define S1SELEX(X)     (((X) << BITP_CGU_DIVEX_S1SELEX) & \
+                                BITM_CGU_DIVEX_S1SELEX)
+
+struct CGU_Settings {
+       phys_addr_t rbase;
+       u32 ctl_MSEL:7;
+       u32 ctl_DF:1;
+       u32 div_CSEL:5;
+       u32 div_SYSSEL:5;
+       u32 div_S0SEL:3;
+       u32 div_S1SEL:3;
+       u32 div_DSEL:5;
+       u32 div_OSEL:7;
+       s16 divex_S0SELEX;
+       s16 divex_S1SELEX;
+       s8  clkoutsel;
+};
+
+/* CGU Registers */
+#define BITM_CGU_CTL_LOCK      0x80000000 /* Lock */
+
+#define BITM_CGU_CTL_MSEL      0x00007F00 /* Multiplier Select */
+#define BITM_CGU_CTL_DF                0x00000001 /* Divide Frequency */
+#define BITM_CGU_CTL_S1SELEXEN 0x00020000 /* SCLK1 Extension Divider Enable */
+#define BITM_CGU_CTL_S0SELEXEN 0x00010000 /* SCLK0 Extension Divider Enable */
+
+#define BITM_CGU_DIV_LOCK      0x80000000 /* Lock */
+#define BITM_CGU_DIV_UPDT      0x40000000 /* Update Clock Divisors */
+#define BITM_CGU_DIV_ALGN      0x20000000 /* Align */
+#define BITM_CGU_DIV_OSEL      0x1FC00000 /* OUTCLK Divisor */
+#define BITM_CGU_DIV_DSEL      0x001F0000 /* DCLK Divisor */
+#define BITM_CGU_DIV_S1SEL     0x0000E000 /* SCLK 1 Divisor */
+#define BITM_CGU_DIV_SYSSEL    0x00001F00 /* SYSCLK Divisor */
+#define BITM_CGU_DIV_S0SEL     0x000000E0 /* SCLK 0 Divisor */
+#define BITM_CGU_DIV_CSEL      0x0000001F /* CCLK Divisor */
+
+#define BITP_CGU_DIVEX_S0SELEX 0
+#define BITM_CGU_DIVEX_S0SELEX 0x000000FF /*  SCLK 0 Extension Divisor */
+
+#define BITP_CGU_DIVEX_S1SELEX 16
+#define BITM_CGU_DIVEX_S1SELEX 0x00FF0000 /*  SCLK 1 Extension Divisor */
+
+#define BITM_CGU_PLLCTL_PLLEN          0x00000008      /* PLL Enable */
+#define BITM_CGU_PLLCTL_PLLBPCL                0x00000002      /* PLL Bypass Clear */
+#define BITM_CGU_PLLCTL_PLLBPST                0x00000001      /* PLL Bypass Set */
+
+#define BITP_CGU_CLKOUTSEL_CLKOUTSEL   0               /* CLKOUT Select */
+#define BITM_CGU_CLKOUTSEL_CLKOUTSEL   0x0000001F      /* CLKOUT Select */
+
+#define CGU_STAT_MASK (BITM_CGU_STAT_PLLEN | BITM_CGU_STAT_PLOCK | \
+           BITM_CGU_STAT_CLKSALGN)
+#define CGU_STAT_ALGN_LOCK (BITM_CGU_STAT_PLLEN | BITM_CGU_STAT_PLOCK)
+
+/* Clock Distribution Unit Registers */
+#define REG_CDU0_CFG0                  0x3108F000
+#define REG_CDU0_CFG1                  0x3108F004
+#define REG_CDU0_CFG2                  0x3108F008
+#define REG_CDU0_CFG3                  0x3108F00C
+#define REG_CDU0_CFG4                  0x3108F010
+#define REG_CDU0_CFG5                  0x3108F014
+#define REG_CDU0_CFG6                  0x3108F018
+#define REG_CDU0_CFG7                  0x3108F01C
+#define REG_CDU0_CFG8                  0x3108F020
+#define REG_CDU0_CFG9                  0x3108F024
+#define REG_CDU0_CFG10                 0x3108F028
+#define REG_CDU0_CFG11                 0x3108F02C
+#define REG_CDU0_CFG12                 0x3108F030
+#define REG_CDU0_CFG13                 0x3108F034
+#define REG_CDU0_CFG14                 0x3108F038
+#define REG_CDU0_STAT                  0x3108F040
+#define REG_CDU0_CLKINSEL              0x3108F044
+#define REG_CDU0_REVID                 0x3108F048
+
+#define BITM_REG10_MSEL3               0x000007F0
+#define BITP_REG10_MSEL3               4
+
+#define BITM_REG10_DSEL3               0x0001F000
+#define BITP_REG10_DSEL3               12
+
+/* Selected clock macros */
+#define CGUn_MULT(cgu)         ((CONFIG_CGU##cgu##_VCO_MULT == 0) ? \
+                                128 : CONFIG_CGU##cgu##_VCO_MULT)
+#define CGUn_DIV(clkname, cgu) ((CONFIG_CGU##cgu##_##clkname##_DIV == 0) ? \
+                                32 : CONFIG_CGU##cgu##_##clkname##_DIV)
+#define CCLK1_n_RATIO(cgu)     (((CGUn_MULT(cgu)) / \
+                                 (1 + CONFIG_CGU##cgu##_DF_DIV)) / \
+                                  CGUn_DIV(CCLK, cgu))
+#define CCLK2_n_RATIO(cgu)     (((CGUn_MULT(cgu) * 2) / 3) / \
+                                 (1 + CONFIG_CGU##cgu##_DF_DIV))
+#define DCLK_n_RATIO(cgu)      (((CGUn_MULT(cgu)) / \
+                                (1 + CONFIG_CGU##cgu##_DF_DIV)) / \
+                                 CGUn_DIV(DCLK, cgu))
+#define SYSCLK_n_RATIO(cgu)    (((CGUn_MULT(cgu)) / \
+                                (1 + CONFIG_CGU##cgu##_DF_DIV)) / \
+                                 CGUn_DIV(SCLK, cgu))
+#define PLL3_RATIO             ((CONFIG_CGU1_PLL3_VCO_MSEL) / \
+                                (CONFIG_CGU1_PLL3_DCLK_DIV))
+
+#if (1 == CONFIG_CDU0_CLKO2)
+       #define ARMCLK_IN       0
+       #define ARMCLK_RATIO    CCLK1_n_RATIO(0)
+#elif (3 == CONFIG_CDU0_CLKO2) && \
+       (defined(CONFIG_SC57X) || defined(CONFIG_SC58X))
+       #define ARMCLK_IN       0
+       #define ARMCLK_RATIO    SYSCLK_n_RATIO(0)
+#elif (5 == CONFIG_CDU0_CLKO2) && defined(CONFIG_SC59X_64)
+       #define ARMCLK_IN       0
+       #define ARMCLK_RATIO    CCLK2_n_RATIO(0)
+#elif (7 == CONFIG_CDU0_CLKO2) && defined(CONFIG_SC59X_64)
+       #define ARMCLK_IN       CDU0_CGU1_CLKIN
+       #define ARMCLK_RATIO    CCLK2_n_RATIO(1)
+#endif
+
+#ifdef CONFIG_CGU1_PLL3_DDRCLK
+       #define DDRCLK_IN       CDU0_CGU1_CLKIN
+       #define DDRCLK_RATIO    PLL3_RATIO
+#elif (1 == CONFIG_CDU0_CLKO3)
+       #define DDRCLK_IN       0
+       #define DDRCLK_RATIO    DCLK_n_RATIO(0)
+#elif (3 == CONFIG_CDU0_CLKO3)
+       #define DDRCLK_IN       CDU0_CGU1_CLKIN
+       #define DDRCLK_RATIO    DCLK_n_RATIO(1)
+#endif
+
+#ifndef ARMCLK_RATIO
+       #error Invalid/unknown ARMCLK selection!
+#endif
+#ifndef DDRCLK_RATIO
+       #error Invalid/unknown DDRCLK selection!
+#endif
+
+#define ARMDDR_CLK_RATIO_FPERCISION 1000
+
+#if ARMCLK_IN != DDRCLK_IN
+       #ifndef CUSTOM_ARMDDR_CLK_RATIO
+               /**
+                * SYS_CLKINx are defined within the device tree, not configs.
+                * Thus, we can only determine cross-CGU clock ratios if they
+                * use the same SYS_CLKINx.
+                */
+               #error Define CUSTOM_ARMDDR_CLK_RATIO for different SYS_CLKINs
+       #else
+               #define ARMDDR_CLK_RATIO CUSTOM_ARMDDR_CLK_RATIO
+       #endif
+#else
+       #define ARMDDR_CLK_RATIO (ARMDDR_CLK_RATIO_FPERCISION *\
+                                  ARMCLK_RATIO / DDRCLK_RATIO)
+#endif
+
+void dmcdelay(uint32_t delay)
+{
+       /* There is no zero-overhead loop on ARM, so assume each iteration
+        * takes 4 processor cycles (based on examination of -O3 and -Ofast
+        * output).
+        */
+       u32 i, remainder;
+
+       /* Convert DDR cycles to core clock cycles */
+       u32 f = delay * ARMDDR_CLK_RATIO;
+
+       delay = f + 500;
+       delay /= ARMDDR_CLK_RATIO_FPERCISION;
+
+       /* Round up to multiple of 4 */
+       remainder = delay % 4;
+       if (remainder != 0u)
+               delay += (4u - remainder);
+
+       for (i = 0; i < delay; i += 4)
+               asm("nop");
+}
+
+static void program_cgu(const struct CGU_Settings *cgu)
+{
+       const uintptr_t b = cgu->rbase;
+       const bool use_extension0 = cgu->divex_S0SELEX >= 0;
+       const bool use_extension1 = cgu->divex_S1SELEX >= 0;
+       u32 temp;
+
+       temp =  OSEL(cgu->div_OSEL);
+       temp |= SYSSEL(cgu->div_SYSSEL);
+       temp |= CSEL(cgu->div_CSEL);
+       temp |= DSEL(cgu->div_DSEL);
+       temp |= (S0SEL(cgu->div_S0SEL));
+       temp |= (S1SEL(cgu->div_S1SEL));
+       temp &= ~BITM_CGU_DIV_LOCK;
+
+       //Put PLL in to Bypass Mode
+       writel(BITM_CGU_PLLCTL_PLLEN | BITM_CGU_PLLCTL_PLLBPST,
+              b + CGU_PLLCTL);
+       while (!(readl(b + CGU_STAT) & BITM_CGU_STAT_PLLBP))
+               ;
+
+       while (!((readl(b + CGU_STAT) & CGU_STAT_MASK) == CGU_STAT_ALGN_LOCK))
+               ;
+
+       dmcdelay(1000);
+
+       writel(temp & (~BITM_CGU_DIV_ALGN) & (~BITM_CGU_DIV_UPDT),
+              b + CGU_DIV);
+
+       dmcdelay(1000);
+
+       temp = MSEL(cgu->ctl_MSEL) | DF(cgu->ctl_DF);
+       if (use_extension0)
+               temp |= BITM_CGU_CTL_S0SELEXEN;
+       if (use_extension1)
+               temp |= BITM_CGU_CTL_S1SELEXEN;
+
+       writel(temp & (~BITM_CGU_CTL_LOCK), b + CGU_CTL);
+
+       if (use_extension0 || use_extension1) {
+               u32 mask = BITM_CGU_CTL_S1SELEXEN | BITM_CGU_CTL_S0SELEXEN;
+
+               while (!(readl(b + CGU_CTL) & mask))
+                       ;
+
+               temp = readl(b + CGU_DIVEX);
+
+               if (use_extension0) {
+                       temp &= ~BITM_CGU_DIVEX_S0SELEX;
+                       temp |= S0SELEX(cgu->divex_S0SELEX);
+               }
+
+               if (use_extension1) {
+                       temp &= ~BITM_CGU_DIVEX_S1SELEX;
+                       temp |= S1SELEX(cgu->divex_S1SELEX);
+               }
+
+               writel(temp, b + CGU_DIVEX);
+       }
+
+       dmcdelay(1000);
+
+       //Take PLL out of Bypass Mode
+       writel(BITM_CGU_PLLCTL_PLLEN | BITM_CGU_PLLCTL_PLLBPCL,
+              b + CGU_PLLCTL);
+       while ((readl(b + CGU_STAT) &
+              (BITM_CGU_STAT_PLLBP | BITM_CGU_STAT_CLKSALGN)))
+               ;
+
+       dmcdelay(1000);
+
+       if (cgu->clkoutsel >= 0) {
+               temp = readl(b + CGU_CLKOUTSEL);
+               temp &= ~BITM_CGU_CLKOUTSEL_CLKOUTSEL;
+               temp |= CLKOUTSEL(cgu->clkoutsel);
+               writel(temp, b + CGU_CLKOUTSEL);
+       }
+}
+
+void adi_config_third_pll(void)
+{
+#if defined(CONFIG_CGU1_PLL3_VCO_MSEL) && defined(CONFIG_CGU1_PLL3_DCLK_DIV)
+       u32 temp;
+
+       u32 msel = CONFIG_CGU1_PLL3_VCO_MSEL - 1;
+       u32 dsel = CONFIG_CGU1_PLL3_DCLK_DIV - 1;
+
+       temp = readl(REG_MISC_REG10_tst_addr);
+       temp &= 0xFFFE0000;
+       writel(temp, REG_MISC_REG10_tst_addr);
+
+       dmcdelay(4000u);
+
+       //update MSEL [10:4]
+       temp = readl(REG_MISC_REG10_tst_addr);
+       temp |= ((msel << BITP_REG10_MSEL3) & BITM_REG10_MSEL3);
+       writel(temp, REG_MISC_REG10_tst_addr);
+
+       temp = readl(REG_MISC_REG10_tst_addr);
+       temp |= 0x2;
+       writel(temp, REG_MISC_REG10_tst_addr);
+
+       dmcdelay(100000u);
+
+       temp = readl(REG_MISC_REG10_tst_addr);
+       temp |= 0x1;
+       writel(temp, REG_MISC_REG10_tst_addr);
+
+       temp = readl(REG_MISC_REG10_tst_addr);
+       temp |= 0x800;
+       writel(temp, REG_MISC_REG10_tst_addr);
+
+       temp = readl(REG_MISC_REG10_tst_addr);
+       temp &= 0xFFFFF7F8;
+       writel(temp, REG_MISC_REG10_tst_addr);
+
+       dmcdelay(4000u);
+
+       temp = readl(REG_MISC_REG10_tst_addr);
+       temp |= ((dsel << BITP_REG10_DSEL3) & BITM_REG10_DSEL3);
+       writel(temp, REG_MISC_REG10_tst_addr);
+
+       temp = readl(REG_MISC_REG10_tst_addr);
+       temp |= 0x4;
+       writel(temp, REG_MISC_REG10_tst_addr);
+
+       dmcdelay(100000u);
+
+       temp = readl(REG_MISC_REG10_tst_addr);
+       temp |= 0x1;
+       writel(temp, REG_MISC_REG10_tst_addr);
+
+       temp = readl(REG_MISC_REG10_tst_addr);
+       temp |= 0x800;
+       writel(temp, REG_MISC_REG10_tst_addr);
+#endif
+}
+
+static void Active_To_Fullon(const struct CGU_Settings *pCGU)
+{
+       u32 tmp;
+
+       while (1) {
+               tmp = readl(pCGU->rbase + CGU_STAT);
+               if ((tmp & BITM_CGU_STAT_PLLEN) &&
+                   (tmp & BITM_CGU_STAT_PLLBP))
+                       break;
+       }
+
+       writel(BITM_CGU_PLLCTL_PLLBPCL, pCGU->rbase + CGU_PLLCTL);
+
+       while (1) {
+               tmp = readl(pCGU->rbase + CGU_STAT);
+               if ((tmp & BITM_CGU_STAT_PLLEN) &&
+                   ~(tmp & BITM_CGU_STAT_PLLBP) &&
+                   ~(tmp & BITM_CGU_STAT_CLKSALGN))
+                       break;
+       }
+}
+
+static void CGU_Init(const struct CGU_Settings *pCGU)
+{
+       const uintptr_t b = pCGU->rbase;
+
+#if defined(CONFIG_SC59X) || defined(CONFIG_SC59X_64)
+       if (readl(b + CGU_STAT) & BITM_CGU_STAT_PLLEN)
+               writel(BITM_CGU_PLLCTL_PLLEN, b + CGU_PLLCTL);
+
+       dmcdelay(1000);
+#endif
+
+       /* Check if processor is in Active mode */
+       if (readl(b + CGU_STAT) & BITM_CGU_STAT_PLLBP)
+               Active_To_Fullon(pCGU);
+
+#if defined(CONFIG_SC59X) || defined(CONFIG_SC59X_64)
+       dmcdelay(1000);
+#endif
+
+       program_cgu(pCGU);
+}
+
+void cgu_init(void)
+{
+       const struct CGU_Settings dividers0 = {
+               .rbase =                CGU0_REGBASE,
+               .ctl_MSEL =             CONFIG_CGU0_VCO_MULT,
+               .ctl_DF =               CONFIG_CGU0_DF_DIV,
+               .div_CSEL =             CONFIG_CGU0_CCLK_DIV,
+               .div_SYSSEL =           CONFIG_CGU0_SCLK_DIV,
+               .div_S0SEL =            VAL_CGU0_SCLK0_DIV,
+               .div_S1SEL =            VAL_CGU0_SCLK1_DIV,
+               .div_DSEL =             CONFIG_CGU0_DCLK_DIV,
+               .div_OSEL =             CONFIG_CGU0_OCLK_DIV,
+               .divex_S0SELEX =        VAL_CGU0_DIV_S0SELEX,
+               .divex_S1SELEX =        VAL_CGU0_DIV_S1SELEX,
+               .clkoutsel =            VAL_CGU0_CLKOUTSEL,
+       };
+       const struct CGU_Settings dividers1 = {
+               .rbase =                CGU1_REGBASE,
+               .ctl_MSEL =             CONFIG_CGU1_VCO_MULT,
+               .ctl_DF =               CONFIG_CGU1_DF_DIV,
+               .div_CSEL =             CONFIG_CGU1_CCLK_DIV,
+               .div_SYSSEL =           CONFIG_CGU1_SCLK_DIV,
+               .div_S0SEL =            VAL_CGU1_SCLK0_DIV,
+               .div_S1SEL =            VAL_CGU1_SCLK1_DIV,
+               .div_DSEL =             CONFIG_CGU1_DCLK_DIV,
+               .div_OSEL =             CONFIG_CGU1_OCLK_DIV,
+               .divex_S0SELEX =        VAL_CGU1_DIV_S0SELEX,
+               .divex_S1SELEX =        VAL_CGU1_DIV_S1SELEX,
+               .clkoutsel =            VAL_CGU1_CLKOUTSEL,
+       };
+
+       CGU_Init(&dividers0);
+       CGU_Init(&dividers1);
+}
+
+#define CONFIGURE_CDU0(a, b, c) \
+       writel(a, b); \
+       while (readl(REG_CDU0_STAT) & (1 << (c)))
+
+void cdu_init(void)
+{
+       while (readl(REG_CDU0_STAT) & 0xffff)
+               ;
+       writel((CONFIG_CDU0_CGU1_CLKIN & 0x1), REG_CDU0_CLKINSEL);
+
+       CONFIGURE_CDU0(CONFIG_CDU0_CLKO0, REG_CDU0_CFG0, 0);
+       CONFIGURE_CDU0(CONFIG_CDU0_CLKO1, REG_CDU0_CFG1, 1);
+       CONFIGURE_CDU0(CONFIG_CDU0_CLKO2, REG_CDU0_CFG2, 2);
+       CONFIGURE_CDU0(CONFIG_CDU0_CLKO3, REG_CDU0_CFG3, 3);
+       CONFIGURE_CDU0(CONFIG_CDU0_CLKO4, REG_CDU0_CFG4, 4);
+       CONFIGURE_CDU0(CONFIG_CDU0_CLKO5, REG_CDU0_CFG5, 5);
+       CONFIGURE_CDU0(CONFIG_CDU0_CLKO6, REG_CDU0_CFG6, 6);
+       CONFIGURE_CDU0(CONFIG_CDU0_CLKO7, REG_CDU0_CFG7, 7);
+       CONFIGURE_CDU0(CONFIG_CDU0_CLKO8, REG_CDU0_CFG8, 8);
+       CONFIGURE_CDU0(CONFIG_CDU0_CLKO9, REG_CDU0_CFG9, 9);
+#ifdef CONFIG_CDU0_CLKO10
+       CONFIGURE_CDU0(CONFIG_CDU0_CLKO10, REG_CDU0_CFG10, 10);
+#endif
+#ifdef CONFIG_CDU0_CLKO12
+       CONFIGURE_CDU0(CONFIG_CDU0_CLKO12, REG_CDU0_CFG12, 12);
+#endif
+#ifdef CONFIG_CDU0_CLKO13
+       CONFIGURE_CDU0(CONFIG_CDU0_CLKO13, REG_CDU0_CFG13, 13);
+#endif
+#ifdef CONFIG_CDU0_CLKO14
+       CONFIGURE_CDU0(CONFIG_CDU0_CLKO14, REG_CDU0_CFG14, 14);
+#endif
+}
+
+void clks_init(void)
+{
+       adi_dmc_reset_lanes(true);
+
+       cdu_init();
+       cgu_init();
+
+       adi_config_third_pll();
+
+       adi_dmc_reset_lanes(false);
+}
diff --git a/arch/arm/mach-sc5xx/init/clkinit.h b/arch/arm/mach-sc5xx/init/clkinit.h
new file mode 100644 (file)
index 0000000..b05f432
--- /dev/null
@@ -0,0 +1,18 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
+/*
+ * (C) Copyright 2022 - Analog Devices, Inc.
+ *
+ * Written and/or maintained by Timesys Corporation
+ *
+ * Contact: Nathan Barrett-Morrison <nathan.morrison@timesys.com>
+ * Contact: Greg Malysa <greg.malysa@timesys.com>
+ */
+
+#ifndef CLKINIT_H_
+#define CLKINIT_H_
+
+void clks_init(void);
+
+void dmcdelay(uint32_t delay);
+
+#endif
diff --git a/arch/arm/mach-sc5xx/init/dmcinit.c b/arch/arm/mach-sc5xx/init/dmcinit.c
new file mode 100644 (file)
index 0000000..e375b5c
--- /dev/null
@@ -0,0 +1,954 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
+/*
+ * (C) Copyright 2022 - Analog Devices, Inc.
+ *
+ * Written and/or maintained by Timesys Corporation
+ *
+ * Contact: Nathan Barrett-Morrison <nathan.morrison@timesys.com>
+ * Contact: Greg Malysa <greg.malysa@timesys.com>
+ */
+
+#include <asm/io.h>
+#include <asm/arch-adi/sc5xx/sc5xx.h>
+#include <linux/types.h>
+#include "clkinit.h"
+#include "dmcinit.h"
+
+#define REG_DMC0_BASE          0x31070000
+#define REG_DMC1_BASE          0x31073000
+
+#define REG_DMC_CTL            0x0004 // Control Register
+#define REG_DMC_STAT           0x0008 // Status Register
+#define REG_DMC_CFG            0x0040 // Configuration Register
+#define REG_DMC_TR0            0x0044 // Timing 0 Register
+#define REG_DMC_TR1            0x0048 // Timing 1 Register
+#define REG_DMC_TR2            0x004C // Timing 2 Register
+#define REG_DMC_MR             0x0060 // Shadow MR Register (DDR3)
+#define REG_DMC_EMR1           0x0064 // Shadow EMR1 Register
+#define REG_DMC_EMR2           0x0068 // Shadow EMR2 Register
+#define REG_DMC_EMR3           0x006C
+#define REG_DMC_DLLCTL         0x0080 // DLL Control Register
+#define REG_DMC_DT_CALIB_ADDR  0x0090 // Data Calibration Address Register
+#define REG_DMC_CPHY_CTL       0x01C0 // Controller to PHY Interface Register
+
+/* SC57x && SC58x DMC REGs */
+#define REG_DMC_PHY_CTL0       0x1000 // PHY Control 0 Register
+#define REG_DMC_PHY_CTL1       0x1004 // PHY Control 1 Register
+#define REG_DMC_PHY_CTL2       0x1008 // PHY Control 2 Register
+#define REG_DMC_PHY_CTL3       0x100c // PHY Control 3 Register
+#define REG_DMC_PHY_CTL4       0x1010 // PHY Control 4 Register
+#define REG_DMC_CAL_PADCTL0    0x1034 // CALIBRATION PAD CTL 0 Register
+#define REG_DMC_CAL_PADCTL2    0x103C // CALIBRATION PAD CTL2 Register
+/* END */
+
+/* SC59x DMC REGs */
+#define REG_DMC_DDR_LANE0_CTL0 0x1000 // Data Lane 0 Control Register 0
+#define REG_DMC_DDR_LANE0_CTL1 0x1004 // Data Lane 0 Control Register 1
+#define REG_DMC_DDR_LANE1_CTL0 0x100C // Data Lane 1 Control Register 0
+#define REG_DMC_DDR_LANE1_CTL1 0x1010 // Data Lane 1 Control Register 1
+#define REG_DMC_DDR_ROOT_CTL   0x1018 // DDR ROOT Module Control Register
+#define REG_DMC_DDR_ZQ_CTL0    0x1034 // DDR Calibration Control Register 0
+#define REG_DMC_DDR_ZQ_CTL1    0x1038 // DDR Calibration Control Register 1
+#define REG_DMC_DDR_ZQ_CTL2    0x103C // DDR Calibration Control Register 2
+#define REG_DMC_DDR_CA_CTL     0x1068 // DDR CA Lane Control Register
+/* END */
+
+#define REG_DMC_DDR_SCRATCH_2  0x1074
+#define REG_DMC_DDR_SCRATCH_3  0x1078
+#define REG_DMC_DDR_SCRATCH_6  0x1084
+#define REG_DMC_DDR_SCRATCH_7  0x1088
+
+#define REG_DMC_DDR_SCRATCH_STAT0      0x107C
+#define REG_DMC_DDR_SCRATCH_STAT1      0x1080
+
+#define DMC0_DATA_CALIB_ADD    0x80000000
+#define DMC1_DATA_CALIB_ADD    0xC0000000
+
+#define BITM_DMC_CFG_EXTBANK   0x0000F000  /* External Banks */
+#define ENUM_DMC_CFG_EXTBANK1  0x00000000  /* EXTBANK: 1 External Bank */
+#define BITM_DMC_CFG_SDRSIZE   0x00000F00  /* SDRAM Size */
+#define ENUM_DMC_CFG_SDRSIZE64 0x00000000  /* SDRSIZE: 64M Bit SDRAM (LPDDR Only) */
+#define ENUM_DMC_CFG_SDRSIZE128        0x00000100  /* SDRSIZE: 128M Bit SDRAM (LPDDR Only) */
+#define ENUM_DMC_CFG_SDRSIZE256        0x00000200  /* SDRSIZE: 256M Bit SDRAM */
+#define ENUM_DMC_CFG_SDRSIZE512        0x00000300  /* SDRSIZE: 512M Bit SDRAM */
+#define ENUM_DMC_CFG_SDRSIZE1G 0x00000400  /* SDRSIZE: 1G Bit SDRAM */
+#define ENUM_DMC_CFG_SDRSIZE2G 0x00000500  /* SDRSIZE: 2G Bit SDRAM */
+#define ENUM_DMC_CFG_SDRSIZE4G 0x00000600  /* SDRSIZE: 4G Bit SDRAM */
+#define ENUM_DMC_CFG_SDRSIZE8G 0x00000700  /* SDRSIZE: 8G Bit SDRAM */
+#define BITM_DMC_CFG_SDRWID    0x000000F0  /* SDRAM Width */
+#define ENUM_DMC_CFG_SDRWID16  0x00000020  /* SDRWID: 16-Bit Wide SDRAM */
+#define BITM_DMC_CFG_IFWID     0x0000000F  /* Interface Width */
+#define ENUM_DMC_CFG_IFWID16   0x00000002  /* IFWID: 16-Bit Wide Interface */
+
+#define BITM_DMC_CTL_DDR3EN    0x00000001
+#define BITM_DMC_CTL_INIT      0x00000004
+#define BITP_DMC_STAT_INITDONE 2            /* Initialization Done */
+#define BITM_DMC_STAT_INITDONE 0x00000004
+
+#define BITP_DMC_CTL_AL_EN     27
+#define BITP_DMC_CTL_ZQCL      25           /* ZQ Calibration Long */
+#define BITP_DMC_CTL_ZQCS      24           /* ZQ Calibration Short */
+#define BITP_DMC_CTL_DLLCAL    13           /* DLL Calibration Start */
+#define BITP_DMC_CTL_PPREF     12           /* Postpone Refresh */
+#define BITP_DMC_CTL_RDTOWR     9           /* Read-to-Write Cycle */
+#define BITP_DMC_CTL_ADDRMODE   8           /* Addressing (Page/Bank) Mode */
+#define BITP_DMC_CTL_RESET      7           /* Reset SDRAM */
+#define BITP_DMC_CTL_PREC       6           /* Precharge */
+#define BITP_DMC_CTL_DPDREQ     5           /* Deep Power Down Request */
+#define BITP_DMC_CTL_PDREQ      4           /* Power Down Request */
+#define BITP_DMC_CTL_SRREQ      3           /* Self Refresh Request */
+#define BITP_DMC_CTL_INIT       2           /* Initialize DRAM Start */
+#define BITP_DMC_CTL_LPDDR      1           /* Low Power DDR Mode */
+#define BITP_DMC_CTL_DDR3EN     0           /* DDR3 Mode */
+
+#ifdef CONFIG_TARGET_SC584_EZKIT
+       #define DMC_PADCTL2_VALUE       0x0078283C
+#elif CONFIG_TARGET_SC573_EZKIT
+       #define DMC_PADCTL2_VALUE       0x00782828
+#elif CONFIG_TARGET_SC589_MINI || CONFIG_TARGET_SC589_EZKIT
+       #define DMC_PADCTL2_VALUE       0x00783C3C
+#elif defined(CONFIG_SC57X) || defined(CONFIG_SC58X)
+       #error "PADCTL2 not specified for custom board!"
+#else
+       //Newer DMC. Legacy calibration obsolete
+       #define DMC_PADCTL2_VALUE       0x0
+#endif
+
+#define DMC_CPHYCTL_VALUE      0x0000001A
+
+#define BITP_DMC_MR1_QOFF      12 /*  Output Buffer Enable */
+#define BITP_DMC_MR1_TDQS      11 /*  Termination Data Strobe */
+#define BITP_DMC_MR1_RTT2       9 /*  Rtt_nom */
+#define BITP_DMC_MR1_WL                 7 /*  Write Leveling Enable. */
+#define BITP_DMC_MR1_RTT1       6 /*  Rtt_nom */
+#define BITP_DMC_MR1_DIC1       5 /*  Output Driver Impedance Control */
+#define BITP_DMC_MR1_AL                 3 /*  Additive Latency */
+#define BITP_DMC_MR1_RTT0       2 /*  Rtt_nom */
+#define BITP_DMC_MR1_DIC0       1 /*  Output Driver Impedance control */
+#define BITP_DMC_MR1_DLLEN      0 /*  DLL Enable */
+
+#define BITP_DMC_MR2_CWL        3 /* CAS write Latency */
+
+#define BITP_DMC_TR0_TMRD      28 /* Timing Mode Register Delay */
+#define BITP_DMC_TR0_TRC       20 /* Timing Row Cycle */
+#define BITP_DMC_TR0_TRAS      12 /* Timing Row Active Time */
+#define BITP_DMC_TR0_TRP        8 /* Timing RAS Precharge. */
+#define BITP_DMC_TR0_TWTR       4 /* Timing Write to Read */
+#define BITP_DMC_TR0_TRCD       0 /* Timing RAS to CAS Delay */
+
+#define BITP_DMC_TR1_TRRD      28 /* Timing Read-Read Delay */
+#define BITP_DMC_TR1_TRFC      16 /* Timing Refresh-to-Command */
+#define BITP_DMC_TR1_TREF       0 /* Timing Refresh Interval */
+
+#define BITP_DMC_TR2_TCKE      20 /* Timing Clock Enable */
+#define BITP_DMC_TR2_TXP       16 /* Timing Exit Powerdown */
+#define BITP_DMC_TR2_TWR       12 /* Timing Write Recovery */
+#define BITP_DMC_TR2_TRTP       8 /* Timing Read-to-Precharge */
+#define BITP_DMC_TR2_TFAW       0 /* Timing Four-Activated-Window */
+
+#define BITP_DMC_MR_PD         12 /* Active Powerdown Mode */
+#define BITP_DMC_MR_WRRECOV     9 /* Write Recovery */
+#define BITP_DMC_MR_DLLRST      8 /* DLL Reset */
+#define BITP_DMC_MR_CL          4 /* CAS Latency */
+#define BITP_DMC_MR_CL0                 2 /* CAS Latency */
+#define BITP_DMC_MR_BLEN        0 /* Burst Length */
+
+#define BITP_DMC_DLLCTL_DATACYC                8 /* Data Cycles */
+#define BITP_DMC_DLLCTL_DLLCALRDCNT    0 /* DLL Calibration RD Count */
+
+#define BITM_DMC_DLLCTL_DATACYC                0x00000F00 /* Data Cycles */
+#define BITM_DMC_DLLCTL_DLLCALRDCNT    0x000000FF /* DLL Calib RD Count */
+
+#define BITP_DMC_STAT_PHYRDPHASE       20 /* PHY Read Phase */
+
+#define BITM_DMC_DDR_LANE0_CTL0_CB_RSTDAT      0x08000000 /* Rst Data Pads */
+#define BITM_DMC_DDR_LANE1_CTL0_CB_RSTDAT      0x08000000 /* Rst Data Pads */
+#define BITM_DMC_DDR_LANE0_CTL1_COMP_DCYCLE    0x00000002 /* Compute Dcycle */
+#define BITM_DMC_DDR_LANE1_CTL1_COMP_DCYCLE    0x00000002 /* Compute Dcycle */
+#define BITM_DMC_DDR_LANE1_CTL0_CB_RSTDLL      0x00000100 /* Rst Lane DLL */
+#define BITM_DMC_DDR_LANE0_CTL0_CB_RSTDLL      0x00000100 /* Rst Lane DLL */
+#define BITP_DMC_DDR_ROOT_CTL_PIPE_OFSTDCYCLE  10         /* Pipeline offset for PHYC_DATACYCLE */
+#define BITM_DMC_DDR_ROOT_CTL_SW_REFRESH       0x00002000 /* Refresh Lane DLL Code */
+#define BITM_DMC_DDR_CA_CTL_SW_REFRESH         0x00004000 /* Refresh Lane DLL Code */
+
+#define BITP_DMC_CTL_RL_DQS            26         /* RL_DQS */
+#define BITM_DMC_CTL_RL_DQS            0x04000000 /* RL_DQS */
+#define BITP_DMC_EMR3_MPR               2         /* Multi Purpose Read Enable (Read Leveling)*/
+#define BITM_DMC_EMR3_MPR              0x00000004 /* Multi Purpose Read Enable (Read Leveling)*/
+#define BITM_DMC_MR1_WL                        0x00000080 /* Write Leveling Enable.*/
+#define BITM_DMC_STAT_PHYRDPHASE       0x00F00000 /* PHY Read Phase */
+
+#define BITP_DMC_DDR_LANE0_CTL1_BYPCODE                10
+#define BITM_DMC_DDR_LANE0_CTL1_BYPCODE                0x00007C00
+#define BITP_DMC_DDR_LANE0_CTL1_BYPDELCHAINEN  15
+#define BITM_DMC_DDR_LANE0_CTL1_BYPDELCHAINEN  0x00008000
+
+#define DMC_ZQCTL0_VALUE                       0x00785A64
+#define DMC_ZQCTL1_VALUE                       0
+#define DMC_ZQCTL2_VALUE                       0x70000000
+
+#define DMC_TRIG_CALIB                         0
+#define DMC_OFSTDCYCLE                         2
+
+#define BITP_DMC_CAL_PADCTL0_RTTCALEN  31         /* RTT Calibration Enable */
+#define BITP_DMC_CAL_PADCTL0_PDCALEN   30         /* PULLDOWN Calib Enable */
+#define BITP_DMC_CAL_PADCTL0_PUCALEN   29         /* PULLUP Calib Enable */
+#define BITP_DMC_CAL_PADCTL0_CALSTRT   28         /* Start New Calib ( Hardware Cleared) */
+#define BITM_DMC_CAL_PADCTL0_RTTCALEN  0x80000000 /* RTT Calibration Enable */
+#define BITM_DMC_CAL_PADCTL0_PDCALEN   0x40000000 /* PULLDOWN Calib Enable */
+#define BITM_DMC_CAL_PADCTL0_PUCALEN   0x20000000 /* PULLUP Calib Enable */
+#define BITM_DMC_CAL_PADCTL0_CALSTRT   0x10000000 /* Start New Calib ( Hardware Cleared) */
+#define ENUM_DMC_PHY_CTL4_DDR3         0x00000000 /* DDRMODE: DDR3 Mode */
+#define ENUM_DMC_PHY_CTL4_DDR2         0x00000001 /* DDRMODE: DDR2 Mode */
+#define ENUM_DMC_PHY_CTL4_LPDDR                0x00000003 /* DDRMODE: LPDDR Mode */
+
+#define BITP_DMC_DDR_ZQ_CTL0_IMPRTT    16         /*  Data/DQS ODT */
+#define BITP_DMC_DDR_ZQ_CTL0_IMPWRDQ    8         /*  Data/DQS/DM/CLK Drive Strength */
+#define BITP_DMC_DDR_ZQ_CTL0_IMPWRADD   0         /*  Address/Command Drive Strength */
+#define BITM_DMC_DDR_ZQ_CTL0_IMPRTT    0x00FF0000 /* Data/DQS ODT */
+#define BITM_DMC_DDR_ZQ_CTL0_IMPWRDQ   0x0000FF00 /* Data/DQS/DM/CLK Drive Strength */
+#define BITM_DMC_DDR_ZQ_CTL0_IMPWRADD  0x000000FF /* Address/Command Drive Strength */
+
+#define BITM_DMC_DDR_ROOT_CTL_TRIG_RD_XFER_ALL 0x00200000 /* All Lane Read Status */
+
+#if defined(CONFIG_ADI_USE_DDR2)
+       #define DMC_MR0_VALUE \
+               ((DMC_BL / 4 + 1) << BITP_DMC_MR_BLEN) | \
+               (DMC_CL << BITP_DMC_MR_CL) | \
+               (DMC_WRRECOV << BITP_DMC_MR_WRRECOV)
+
+       #define DMC_MR1_VALUE \
+               (DMC_MR1_AL << BITP_DMC_MR1_AL | 0x04) \
+
+       #define DMC_MR2_VALUE 0
+       #define DMC_MR3_VALUE 0
+
+       #define DMC_CTL_VALUE \
+               (DMC_RDTOWR << BITP_DMC_CTL_RDTOWR) | \
+               (1 << BITP_DMC_CTL_DLLCAL) | \
+               (BITM_DMC_CTL_INIT)
+#else
+       #define DMC_MR0_VALUE \
+               (0 << BITP_DMC_MR_BLEN) | \
+               (DMC_CL0 << BITP_DMC_MR_CL0) | \
+               (DMC_CL123 << BITP_DMC_MR_CL) | \
+               (DMC_WRRECOV << BITP_DMC_MR_WRRECOV) | \
+               (1 << BITP_DMC_MR_DLLRST)
+
+       #define DMC_MR1_VALUE \
+               (DMC_MR1_DLLEN << BITP_DMC_MR1_DLLEN) | \
+               (DMC_MR1_DIC0 << BITP_DMC_MR1_DIC0) | \
+               (DMC_MR1_RTT0 << BITP_DMC_MR1_RTT0) | \
+               (DMC_MR1_AL << BITP_DMC_MR1_AL) | \
+               (DMC_MR1_DIC1 << BITP_DMC_MR1_DIC1) | \
+               (DMC_MR1_RTT1 << BITP_DMC_MR1_RTT1) | \
+               (DMC_MR1_RTT2 << BITP_DMC_MR1_RTT2) | \
+               (DMC_MR1_WL << BITP_DMC_MR1_WL) | \
+               (DMC_MR1_TDQS << BITP_DMC_MR1_TDQS) | \
+               (DMC_MR1_QOFF << BITP_DMC_MR1_QOFF)
+
+       #define DMC_MR2_VALUE \
+               ((DMC_WL) << BITP_DMC_MR2_CWL)
+
+       #define DMC_MR3_VALUE \
+               ((DMC_WL) << BITP_DMC_MR2_CWL)
+
+       #define DMC_CTL_VALUE \
+               (DMC_RDTOWR << BITP_DMC_CTL_RDTOWR) | \
+               (BITM_DMC_CTL_INIT) | \
+               (BITM_DMC_CTL_DDR3EN) | \
+               (DMC_CTL_AL_EN << BITP_DMC_CTL_AL_EN)
+#endif
+
+#define DMC_DLLCTL_VALUE \
+       (DMC_DATACYC << BITP_DMC_DLLCTL_DATACYC) | \
+       (DMC_DLLCALRDCNT << BITP_DMC_DLLCTL_DLLCALRDCNT)
+
+#define DMC_CFG_VALUE \
+       ENUM_DMC_CFG_IFWID16 | \
+       ENUM_DMC_CFG_SDRWID16 | \
+       SDR_CHIP_SIZE | \
+       ENUM_DMC_CFG_EXTBANK1
+
+#define DMC_TR0_VALUE \
+       (DMC_TRCD << BITP_DMC_TR0_TRCD) | \
+       (DMC_TWTR << BITP_DMC_TR0_TWTR) | \
+       (DMC_TRP << BITP_DMC_TR0_TRP) | \
+       (DMC_TRAS << BITP_DMC_TR0_TRAS) | \
+       (DMC_TRC << BITP_DMC_TR0_TRC) | \
+       (DMC_TMRD << BITP_DMC_TR0_TMRD)
+
+#define DMC_TR1_VALUE \
+       (DMC_TREF << BITP_DMC_TR1_TREF) | \
+       (DMC_TRFC << BITP_DMC_TR1_TRFC) | \
+       (DMC_TRRD << BITP_DMC_TR1_TRRD)
+
+#define DMC_TR2_VALUE \
+       (DMC_TFAW << BITP_DMC_TR2_TFAW) | \
+       (DMC_TRTP << BITP_DMC_TR2_TRTP) | \
+       (DMC_TWR << BITP_DMC_TR2_TWR) | \
+       (DMC_TXP << BITP_DMC_TR2_TXP) | \
+       (DMC_TCKE << BITP_DMC_TR2_TCKE)
+
+enum DDR_MODE {
+       DDR3_MODE,
+       DDR2_MODE,
+       LPDDR_MODE,
+};
+
+enum CALIBRATION_MODE {
+       CALIBRATION_LEGACY,
+       CALIBRATION_METHOD1,
+       CALIBRATION_METHOD2,
+};
+
+static struct dmc_param {
+       phys_addr_t reg;
+       u32 ddr_mode;
+       u32 padctl2_value;
+       u32 dmc_cphyctl_value;
+       u32 dmc_cfg_value;
+       u32 dmc_dllctl_value;
+       u32 dmc_ctl_value;
+       u32 dmc_tr0_value;
+       u32 dmc_tr1_value;
+       u32 dmc_tr2_value;
+       u32 dmc_mr0_value;
+       u32 dmc_mr1_value;
+       u32 dmc_mr2_value;
+       u32 dmc_mr3_value;
+       u32 dmc_zqctl0_value;
+       u32 dmc_zqctl1_value;
+       u32 dmc_zqctl2_value;
+       u32 dmc_data_calib_add_value;
+       bool phy_init_required;
+       bool anomaly_20000037_applicable;
+       enum CALIBRATION_MODE calib_mode;
+} dmc;
+
+#ifdef CONFIG_SC59X_64
+#define DQS_DEFAULT_DELAY      3ul
+
+#define DELAYTRIM      1
+#define LANE0_DQS_DELAY        1
+#define LANE1_DQS_DELAY        1
+
+#define CLKDIR         0ul
+
+#define DQSTRIM                0
+#define DQSCODE                0ul
+
+#define CLKTRIM                0
+#define CLKCODE                0ul
+#endif
+
+static inline void calibration_legacy(void)
+{
+       u32 temp;
+
+       /* 1. Set DDR mode to DDR3/DDR2/LPDDR in DMCx_PHY_CTL4 register */
+       if (dmc.ddr_mode == DDR3_MODE)
+               writel(ENUM_DMC_PHY_CTL4_DDR3, dmc.reg + REG_DMC_PHY_CTL4);
+       else if (dmc.ddr_mode == DDR2_MODE)
+               writel(ENUM_DMC_PHY_CTL4_DDR2, dmc.reg + REG_DMC_PHY_CTL4);
+       else if (dmc.ddr_mode == LPDDR_MODE)
+               writel(ENUM_DMC_PHY_CTL4_LPDDR, dmc.reg + REG_DMC_PHY_CTL4);
+
+       /*
+        * 2. Make sure that the bits 6, 7, 25, and 27 of the DMC_PHY_
+        * CTL3 register are set
+        */
+       writel(0x0A0000C0, dmc.reg + REG_DMC_PHY_CTL3);
+
+       /*
+        * 3. For DDR2/DDR3 mode, make sure that the bits 0, 1, 2, 3 of
+        * the DMC_PHY_CTL0 register and the bits 26, 27, 28, 29, 30, 31
+        * of the DMC_PHY_CTL2 are set.
+        */
+       if (dmc.ddr_mode == DDR3_MODE ||
+           dmc.ddr_mode == DDR2_MODE) {
+               writel(0XFC000000, dmc.reg + REG_DMC_PHY_CTL2);
+               writel(0x0000000f, dmc.reg + REG_DMC_PHY_CTL0);
+       }
+
+       writel(0x00000000, dmc.reg + REG_DMC_PHY_CTL1);
+
+       /* 4. For DDR3 mode, set bit 1 and configure bits [5:2] of the
+        * DMC_CPHY_CTL register with WL=CWL+AL in DCLK cycles.
+        */
+       if (dmc.ddr_mode == DDR3_MODE)
+               writel(dmc.dmc_cphyctl_value, dmc.reg + REG_DMC_CPHY_CTL);
+       /* 5. Perform On Die Termination(ODT) & Driver Impedance Calibration */
+       if (dmc.ddr_mode == LPDDR_MODE) {
+               /* Bypass processor ODT */
+               writel(0x80000, dmc.reg + REG_DMC_PHY_CTL1);
+       } else {
+               /* Set bits RTTCALEN, PDCALEN, PUCALEN of register */
+               temp = BITM_DMC_CAL_PADCTL0_RTTCALEN |
+                      BITM_DMC_CAL_PADCTL0_PDCALEN |
+                      BITM_DMC_CAL_PADCTL0_PUCALEN;
+               writel(temp, dmc.reg + REG_DMC_CAL_PADCTL0);
+               /* Configure ODT and drive impedance values in the
+                * DMCx_CAL_PADCTL2 register
+                */
+               writel(dmc.padctl2_value, dmc.reg + REG_DMC_CAL_PADCTL2);
+               /* start calibration */
+               temp |= BITM_DMC_CAL_PADCTL0_CALSTRT;
+               writel(temp, dmc.reg + REG_DMC_CAL_PADCTL0);
+               /* Wait for PAD calibration to complete - 300 DCLK cycle.
+                * Worst case: CCLK=450 MHz, DCLK=125 MHz
+                */
+               dmcdelay(300);
+       }
+}
+
+static inline void calibration_method1(void)
+{
+#if defined(CONFIG_SC59X) || defined(CONFIG_SC59X_64)
+       writel(dmc.dmc_zqctl0_value, dmc.reg + REG_DMC_DDR_ZQ_CTL0);
+       writel(dmc.dmc_zqctl1_value, dmc.reg + REG_DMC_DDR_ZQ_CTL1);
+       writel(dmc.dmc_zqctl2_value, dmc.reg + REG_DMC_DDR_ZQ_CTL2);
+
+       /* Generate the trigger */
+       writel(0x0ul, dmc.reg + REG_DMC_DDR_CA_CTL);
+       writel(0x0ul, dmc.reg + REG_DMC_DDR_ROOT_CTL);
+       writel(0x00010000ul, dmc.reg + REG_DMC_DDR_ROOT_CTL);
+       dmcdelay(8000u);
+
+       /* The [31:26] bits may change if pad ring changes */
+       writel(0x0C000001ul | DMC_TRIG_CALIB,  dmc.reg + REG_DMC_DDR_CA_CTL);
+       dmcdelay(8000u);
+       writel(0x0ul, dmc.reg + REG_DMC_DDR_CA_CTL);
+       writel(0x0ul, dmc.reg + REG_DMC_DDR_ROOT_CTL);
+#endif
+}
+
+static inline void calibration_method2(void)
+{
+#if defined(CONFIG_SC59X) || defined(CONFIG_SC59X_64)
+       u32 stat_value = 0x0u;
+       u32 drv_pu, drv_pd, odt_pu, odt_pd;
+       u32 ro_dt, clk_dqs_drv_impedance;
+       u32 temp;
+
+       /* Reset trigger */
+       writel(0x0ul, dmc.reg + REG_DMC_DDR_CA_CTL);
+       writel(0x0ul, dmc.reg + REG_DMC_DDR_ROOT_CTL);
+       writel(0x0ul, dmc.reg + REG_DMC_DDR_SCRATCH_3);
+       writel(0x0ul, dmc.reg + REG_DMC_DDR_SCRATCH_2);
+
+       /* Writing internal registers in calib pad to zero. Calib mode set
+        * to 1 [26], trig M1 S1 write [16], this enables usage of scratch
+        * registers instead of ZQCTL registers
+        */
+       writel(0x04010000ul, dmc.reg + REG_DMC_DDR_ROOT_CTL);
+       dmcdelay(2500u);
+
+       /* TRIGGER FOR M2-S2 WRITE     -> slave id 31:26  trig m2,s2 write
+        * bit 1->1 slave1 address is 4
+        */
+       writel(0x10000002ul, dmc.reg + REG_DMC_DDR_CA_CTL);
+       dmcdelay(2500u);
+
+       /* reset Trigger */
+       writel(0x0u, dmc.reg + REG_DMC_DDR_CA_CTL);
+       writel(0x0u, dmc.reg + REG_DMC_DDR_ROOT_CTL);
+
+       /* write to slave 1, make the power down bit high */
+       writel(0x1ul << 12, dmc.reg + REG_DMC_DDR_SCRATCH_3);
+       writel(0x0ul, dmc.reg + REG_DMC_DDR_SCRATCH_2);
+       dmcdelay(2500u);
+
+       /* Calib mode set to 1 [26], trig M1 S1 write [16] */
+       writel(0x04010000ul, dmc.reg + REG_DMC_DDR_ROOT_CTL);
+       dmcdelay(2500u);
+
+       writel(0x10000002ul, dmc.reg + REG_DMC_DDR_CA_CTL);
+       dmcdelay(2500u);
+
+       writel(0x0ul, dmc.reg + REG_DMC_DDR_CA_CTL);
+       writel(0x0ul, dmc.reg + REG_DMC_DDR_ROOT_CTL);
+       writel(0x0, dmc.reg + REG_DMC_DDR_SCRATCH_3);
+
+       /* for slave 0 */
+       writel(dmc.dmc_zqctl0_value, dmc.reg + REG_DMC_DDR_SCRATCH_2);
+
+       /* Calib mode set to 1 [26], trig M1 S1 write [16] */
+       writel(0x04010000ul, dmc.reg + REG_DMC_DDR_ROOT_CTL);
+       dmcdelay(2500u);
+
+       writel(0x0C000002ul, dmc.reg + REG_DMC_DDR_CA_CTL);
+       dmcdelay(2500u);
+
+       writel(0x0ul, dmc.reg + REG_DMC_DDR_CA_CTL);
+       writel(0x0ul, dmc.reg + REG_DMC_DDR_ROOT_CTL);
+
+       /* writing to slave 1
+        * calstrt is 0, but other programming is done
+        *
+        * make power down LOW again, to kickstart BIAS circuit
+        */
+       writel(0x0ul, dmc.reg + REG_DMC_DDR_SCRATCH_3);
+       writel(0x30000000ul, dmc.reg + REG_DMC_DDR_SCRATCH_2);
+
+       /* write to ca_ctl lane, calib mode set to 1 [26],
+        * trig M1 S1 write [16]
+        */
+       writel(0x04010000ul, dmc.reg + REG_DMC_DDR_ROOT_CTL);
+       dmcdelay(2500u);
+
+       /*  copies data to lane controller slave
+        *  TRIGGER FOR M2-S2 WRITE     -> slave id 31:26
+        *  trig m2,s2 write bit 1->1
+        *  slave1 address is 4
+        */
+       writel(0x10000002ul, dmc.reg + REG_DMC_DDR_CA_CTL);
+       dmcdelay(2500u);
+
+       /* reset Trigger */
+       writel(0x0ul, dmc.reg + REG_DMC_DDR_CA_CTL);
+       writel(0x0ul, dmc.reg + REG_DMC_DDR_ROOT_CTL);
+       writel(0x0ul, dmc.reg + REG_DMC_DDR_SCRATCH_3);
+       writel(0x0ul, dmc.reg + REG_DMC_DDR_SCRATCH_2);
+       writel(0x0ul, dmc.reg + REG_DMC_DDR_SCRATCH_3);
+       writel(0x0ul, dmc.reg + REG_DMC_DDR_SCRATCH_2);
+       writel(0x04010000ul, dmc.reg + REG_DMC_DDR_ROOT_CTL);
+       dmcdelay(2500u);
+       writel(0x10000002ul, dmc.reg + REG_DMC_DDR_CA_CTL);
+       dmcdelay(2500u);
+       writel(0x0ul, dmc.reg + REG_DMC_DDR_CA_CTL);
+       writel(0x0ul, dmc.reg + REG_DMC_DDR_ROOT_CTL);
+       writel(0x0ul, dmc.reg + REG_DMC_DDR_SCRATCH_3);
+       writel(0x0ul, dmc.reg + REG_DMC_DDR_SCRATCH_2);
+       writel(0x0ul, dmc.reg + REG_DMC_DDR_SCRATCH_3);
+       writel(0x50000000ul, dmc.reg + REG_DMC_DDR_SCRATCH_2);
+       writel(0x04010000ul, dmc.reg + REG_DMC_DDR_ROOT_CTL);
+       dmcdelay(2500u);
+       writel(0x10000002ul, dmc.reg + REG_DMC_DDR_CA_CTL);
+       dmcdelay(2500u);
+       writel(0u, dmc.reg + REG_DMC_DDR_CA_CTL);
+       writel(0u, dmc.reg + REG_DMC_DDR_ROOT_CTL);
+       writel(0x0C000004u, dmc.reg + REG_DMC_DDR_CA_CTL);
+       dmcdelay(2500u);
+       writel(BITM_DMC_DDR_ROOT_CTL_TRIG_RD_XFER_ALL,
+              dmc.reg + REG_DMC_DDR_ROOT_CTL);
+       dmcdelay(2500u);
+       writel(0u, dmc.reg + REG_DMC_DDR_CA_CTL);
+       writel(0u, dmc.reg + REG_DMC_DDR_ROOT_CTL);
+       // calculate ODT PU and PD values
+       stat_value = ((readl(dmc.reg + REG_DMC_DDR_SCRATCH_7) & 0x0000FFFFu) <<
+               16);
+       stat_value |= ((readl(dmc.reg + REG_DMC_DDR_SCRATCH_6) & 0xFFFF0000u) >>
+               16);
+       clk_dqs_drv_impedance = ((dmc.dmc_zqctl0_value) &
+               BITM_DMC_DDR_ZQ_CTL0_IMPWRDQ) >> BITP_DMC_DDR_ZQ_CTL0_IMPWRDQ;
+       ro_dt = ((dmc.dmc_zqctl0_value) & BITM_DMC_DDR_ZQ_CTL0_IMPRTT) >>
+               BITP_DMC_DDR_ZQ_CTL0_IMPRTT;
+       drv_pu = stat_value & 0x0000003Fu;
+       drv_pd = (stat_value >> 12) & 0x0000003Fu;
+       odt_pu = (drv_pu * clk_dqs_drv_impedance) / ro_dt;
+       odt_pd = (drv_pd * clk_dqs_drv_impedance) / ro_dt;
+       temp = ((1uL << 24)                   |
+              ((drv_pd & 0x0000003Fu))       |
+              ((odt_pd & 0x0000003Fu) << 6)  |
+              ((drv_pu & 0x0000003Fu) << 12) |
+              ((odt_pu & 0x0000003Fu) << 18));
+       temp |= readl(dmc.reg + REG_DMC_DDR_SCRATCH_2);
+       writel(temp, dmc.reg + REG_DMC_DDR_SCRATCH_2);
+       writel(0x0C010000u, dmc.reg + REG_DMC_DDR_ROOT_CTL);
+       dmcdelay(2500u);
+       writel(0x08000002u, dmc.reg + REG_DMC_DDR_CA_CTL);
+       dmcdelay(2500u);
+       writel(0u, dmc.reg + REG_DMC_DDR_CA_CTL);
+       writel(0u, dmc.reg + REG_DMC_DDR_ROOT_CTL);
+       writel(0x04010000u, dmc.reg + REG_DMC_DDR_ROOT_CTL);
+       dmcdelay(2500u);
+       writel(0x80000002u, dmc.reg + REG_DMC_DDR_CA_CTL);
+       dmcdelay(2500u);
+       writel(0u, dmc.reg + REG_DMC_DDR_CA_CTL);
+       writel(0u, dmc.reg + REG_DMC_DDR_ROOT_CTL);
+#endif
+}
+
+static inline void adi_dmc_lane_reset(bool reset, uint32_t dmc_no)
+{
+#if defined(CONFIG_SC59X) || defined(CONFIG_SC59X_64)
+       u32 temp;
+       phys_addr_t base = (dmc_no == 0) ? REG_DMC0_BASE : REG_DMC1_BASE;
+       phys_addr_t ln0 = base + REG_DMC_DDR_LANE0_CTL0;
+       phys_addr_t ln1 = base + REG_DMC_DDR_LANE1_CTL0;
+
+       if (reset) {
+               temp = readl(ln0);
+               temp |= BITM_DMC_DDR_LANE0_CTL0_CB_RSTDLL;
+               writel(temp, ln0);
+
+               temp = readl(ln1);
+               temp |= BITM_DMC_DDR_LANE1_CTL0_CB_RSTDLL;
+               writel(temp, ln1);
+       } else {
+               temp = readl(ln0);
+               temp &= ~BITM_DMC_DDR_LANE0_CTL0_CB_RSTDLL;
+               writel(temp, ln0);
+
+               temp = readl(ln1);
+               temp &= ~BITM_DMC_DDR_LANE1_CTL0_CB_RSTDLL;
+               writel(temp, ln1);
+       }
+       dmcdelay(9000u);
+#endif
+}
+
+void adi_dmc_reset_lanes(bool reset)
+{
+       if (!IS_ENABLED(CONFIG_ADI_USE_DDR2)) {
+               if (IS_ENABLED(CONFIG_SC59X) || IS_ENABLED(CONFIG_SC59X_64)) {
+                       if (IS_ENABLED(CONFIG_ADI_USE_DMC0))
+                               adi_dmc_lane_reset(reset, 0);
+                       if (IS_ENABLED(CONFIG_ADI_USE_DMC1))
+                               adi_dmc_lane_reset(reset, 1);
+               }
+               else {
+                       u32 temp = reset ? 0x800 : 0x0;
+
+                       if (IS_ENABLED(CONFIG_ADI_USE_DMC0))
+                               writel(temp, REG_DMC0_BASE + REG_DMC_PHY_CTL0);
+                       if (IS_ENABLED(CONFIG_ADI_USE_DMC1))
+                               writel(temp, REG_DMC1_BASE + REG_DMC_PHY_CTL0);
+               }
+       }
+}
+
+static inline void dmc_controller_init(void)
+{
+#if defined(CONFIG_SC59X) || defined(CONFIG_SC59X_64)
+       u32 phyphase, rd_cnt, t_EMR1, t_EMR3, t_CTL, data_cyc, temp;
+#endif
+
+       /* 1. Program the DMC controller registers: DMCx_CFG, DMCx_TR0,
+        * DMCx_TR1, DMCx_TR2, DMCx_MR(DDR2/LPDDR)/DMCx_MR0(DDR3),
+        * DMCx_EMR1(DDR2)/DMCx_MR1(DDR3),
+        * DMCx_EMR2(DDR2)/DMCx_EMR(LPDDR)/DMCx_MR2(DDR3)
+        */
+       writel(dmc.dmc_cfg_value, dmc.reg + REG_DMC_CFG);
+       writel(dmc.dmc_tr0_value, dmc.reg + REG_DMC_TR0);
+       writel(dmc.dmc_tr1_value, dmc.reg + REG_DMC_TR1);
+       writel(dmc.dmc_tr2_value, dmc.reg + REG_DMC_TR2);
+       writel(dmc.dmc_mr0_value, dmc.reg + REG_DMC_MR);
+       writel(dmc.dmc_mr1_value, dmc.reg + REG_DMC_EMR1);
+       writel(dmc.dmc_mr2_value, dmc.reg + REG_DMC_EMR2);
+
+#if defined(CONFIG_SC59X) || defined(CONFIG_SC59X_64)
+       writel(dmc.dmc_mr3_value, dmc.reg + REG_DMC_EMR3);
+       writel(dmc.dmc_dllctl_value, dmc.reg + REG_DMC_DLLCTL);
+       dmcdelay(2000u);
+
+       temp = readl(dmc.reg + REG_DMC_DDR_CA_CTL);
+       temp |= BITM_DMC_DDR_CA_CTL_SW_REFRESH;
+       writel(temp, dmc.reg + REG_DMC_DDR_CA_CTL);
+       dmcdelay(5u);
+
+       temp = readl(dmc.reg + REG_DMC_DDR_ROOT_CTL);
+       temp |= BITM_DMC_DDR_ROOT_CTL_SW_REFRESH |
+               (DMC_OFSTDCYCLE << BITP_DMC_DDR_ROOT_CTL_PIPE_OFSTDCYCLE);
+       writel(temp, dmc.reg + REG_DMC_DDR_ROOT_CTL);
+#endif
+
+       /* 2. Make sure that the REG_DMC_DT_CALIB_ADDR register is programmed
+        * to an unused DMC location corresponding to a burst of 16 bytes
+        * (by default it is the starting address of the DMC address range).
+        */
+#ifndef CONFIG_SC59X
+       writel(dmc.dmc_data_calib_add_value, dmc.reg + REG_DMC_DT_CALIB_ADDR);
+#endif
+       /* 3. Program the DMCx_CTL register with INIT bit set to start
+        * the DMC initialization sequence
+        */
+       writel(dmc.dmc_ctl_value, dmc.reg + REG_DMC_CTL);
+       /* 4. Wait for the DMC initialization to complete by polling
+        * DMCx_STAT.INITDONE bit.
+        */
+
+#if defined(CONFIG_SC59X) || defined(CONFIG_SC59X_64)
+       dmcdelay(722000u);
+
+       /* Add necessary delay depending on the configuration */
+       t_EMR1 = (dmc.dmc_mr1_value & BITM_DMC_MR1_WL) >> BITP_DMC_MR1_WL;
+
+       dmcdelay(600u);
+       if (t_EMR1 != 0u)
+               while ((readl(dmc.reg + REG_DMC_EMR1) & BITM_DMC_MR1_WL) != 0)
+                       ;
+
+       t_EMR3 = (dmc.dmc_mr3_value & BITM_DMC_EMR3_MPR) >>
+                BITP_DMC_EMR3_MPR;
+       dmcdelay(2000u);
+       if (t_EMR3 != 0u)
+               while ((readl(dmc.reg + REG_DMC_EMR3) & BITM_DMC_EMR3_MPR) != 0)
+                       ;
+
+       t_CTL = (dmc.dmc_ctl_value & BITM_DMC_CTL_RL_DQS) >> BITP_DMC_CTL_RL_DQS;
+       dmcdelay(600u);
+       if (t_CTL != 0u)
+               while ((readl(dmc.reg + REG_DMC_CTL) & BITM_DMC_CTL_RL_DQS) != 0)
+                       ;
+#endif
+
+       /* check if DMC initialization finished*/
+       while ((readl(dmc.reg + REG_DMC_STAT) & BITM_DMC_STAT_INITDONE) == 0)
+               ;
+
+#if defined(CONFIG_SC59X) || defined(CONFIG_SC59X_64)
+       /* toggle DCYCLE */
+       temp = readl(dmc.reg + REG_DMC_DDR_LANE0_CTL1);
+       temp |= BITM_DMC_DDR_LANE0_CTL1_COMP_DCYCLE;
+       writel(temp, dmc.reg + REG_DMC_DDR_LANE0_CTL1);
+
+       temp = readl(dmc.reg + REG_DMC_DDR_LANE1_CTL1);
+       temp |= BITM_DMC_DDR_LANE1_CTL1_COMP_DCYCLE;
+       writel(temp, dmc.reg + REG_DMC_DDR_LANE1_CTL1);
+
+       dmcdelay(10u);
+
+       temp = readl(dmc.reg + REG_DMC_DDR_LANE0_CTL1);
+       temp &= (~BITM_DMC_DDR_LANE0_CTL1_COMP_DCYCLE);
+       writel(temp, dmc.reg + REG_DMC_DDR_LANE0_CTL1);
+
+       temp = readl(dmc.reg + REG_DMC_DDR_LANE1_CTL1);
+       temp &= (~BITM_DMC_DDR_LANE1_CTL1_COMP_DCYCLE);
+       writel(temp, dmc.reg + REG_DMC_DDR_LANE1_CTL1);
+
+       /* toggle RSTDAT */
+       temp = readl(dmc.reg + REG_DMC_DDR_LANE0_CTL0);
+       temp |= BITM_DMC_DDR_LANE0_CTL0_CB_RSTDAT;
+       writel(temp, dmc.reg + REG_DMC_DDR_LANE0_CTL0);
+
+       temp = readl(dmc.reg + REG_DMC_DDR_LANE0_CTL0);
+       temp &= (~BITM_DMC_DDR_LANE0_CTL0_CB_RSTDAT);
+       writel(temp, dmc.reg + REG_DMC_DDR_LANE0_CTL0);
+
+       temp = readl(dmc.reg + REG_DMC_DDR_LANE1_CTL0);
+       temp |= BITM_DMC_DDR_LANE1_CTL0_CB_RSTDAT;
+       writel(temp, dmc.reg + REG_DMC_DDR_LANE1_CTL0);
+
+       temp = readl(dmc.reg + REG_DMC_DDR_LANE1_CTL0);
+       temp &= (~BITM_DMC_DDR_LANE1_CTL0_CB_RSTDAT);
+       writel(temp, dmc.reg + REG_DMC_DDR_LANE1_CTL0);
+
+       dmcdelay(2500u);
+
+       /* Program phyphase*/
+       phyphase = (readl(dmc.reg + REG_DMC_STAT) &
+                  BITM_DMC_STAT_PHYRDPHASE) >> BITP_DMC_STAT_PHYRDPHASE;
+       data_cyc = (phyphase << BITP_DMC_DLLCTL_DATACYC) &
+                  BITM_DMC_DLLCTL_DATACYC;
+       rd_cnt = dmc.dmc_dllctl_value;
+       rd_cnt <<= BITP_DMC_DLLCTL_DLLCALRDCNT;
+       rd_cnt &= BITM_DMC_DLLCTL_DLLCALRDCNT;
+       writel(rd_cnt | data_cyc, dmc.reg + REG_DMC_DLLCTL);
+       writel((dmc.dmc_ctl_value & (~BITM_DMC_CTL_INIT) &
+              (~BITM_DMC_CTL_RL_DQS)), dmc.reg + REG_DMC_CTL);
+
+#if DELAYTRIM
+       /* DQS delay trim*/
+       u32 stat_value, WL_code_LDQS, WL_code_UDQS;
+
+       /* For LDQS */
+       temp = readl(dmc.reg + REG_DMC_DDR_LANE0_CTL1) | (0x000000D0);
+       writel(temp, dmc.reg + REG_DMC_DDR_LANE0_CTL1);
+       dmcdelay(2500u);
+       writel(0x00400000, dmc.reg + REG_DMC_DDR_ROOT_CTL);
+       dmcdelay(2500u);
+       writel(0x0, dmc.reg + REG_DMC_DDR_ROOT_CTL);
+       stat_value = (readl(dmc.reg + REG_DMC_DDR_SCRATCH_STAT0) &
+                    (0xFFFF0000)) >> 16;
+       WL_code_LDQS = (stat_value) & (0x0000001F);
+
+       temp = readl(dmc.reg + REG_DMC_DDR_LANE0_CTL1);
+       temp &= ~(BITM_DMC_DDR_LANE0_CTL1_BYPCODE |
+                 BITM_DMC_DDR_LANE0_CTL1_BYPDELCHAINEN);
+       writel(temp, dmc.reg + REG_DMC_DDR_LANE0_CTL1);
+
+       /* If write leveling is enabled */
+       if ((dmc.dmc_mr1_value & BITM_DMC_MR1_WL) >> BITP_DMC_MR1_WL) {
+               temp = readl(dmc.reg + REG_DMC_DDR_LANE0_CTL1);
+               temp |= (((WL_code_LDQS + LANE0_DQS_DELAY) <<
+                          BITP_DMC_DDR_LANE0_CTL1_BYPCODE) &
+                           BITM_DMC_DDR_LANE0_CTL1_BYPCODE) |
+                            BITM_DMC_DDR_LANE0_CTL1_BYPDELCHAINEN;
+               writel(temp, dmc.reg + REG_DMC_DDR_LANE0_CTL1);
+       } else {
+               temp = readl(dmc.reg + REG_DMC_DDR_LANE0_CTL1);
+               temp |= (((DQS_DEFAULT_DELAY + LANE0_DQS_DELAY) <<
+                          BITP_DMC_DDR_LANE0_CTL1_BYPCODE) &
+                           BITM_DMC_DDR_LANE0_CTL1_BYPCODE) |
+                            BITM_DMC_DDR_LANE0_CTL1_BYPDELCHAINEN;
+               writel(temp, dmc.reg + REG_DMC_DDR_LANE0_CTL1);
+       }
+       dmcdelay(2500u);
+
+       /* For UDQS */
+       temp = readl(dmc.reg + REG_DMC_DDR_LANE1_CTL1) | (0x000000D0);
+       writel(temp, dmc.reg + REG_DMC_DDR_LANE1_CTL1);
+       dmcdelay(2500u);
+       writel(0x00800000, dmc.reg + REG_DMC_DDR_ROOT_CTL);
+       dmcdelay(2500u);
+       writel(0x0, dmc.reg + REG_DMC_DDR_ROOT_CTL);
+       stat_value = (readl(dmc.reg + REG_DMC_DDR_SCRATCH_STAT1) &
+                    (0xFFFF0000)) >> 16;
+       WL_code_UDQS = (stat_value) & (0x0000001F);
+
+       temp = readl(dmc.reg + REG_DMC_DDR_LANE1_CTL1);
+       temp &= ~(BITM_DMC_DDR_LANE0_CTL1_BYPCODE |
+               BITM_DMC_DDR_LANE0_CTL1_BYPDELCHAINEN);
+       writel(temp, dmc.reg + REG_DMC_DDR_LANE1_CTL1);
+
+       /* If write leveling is enabled */
+       if ((dmc.dmc_mr1_value & BITM_DMC_MR1_WL) >> BITP_DMC_MR1_WL) {
+               temp = readl(dmc.reg + REG_DMC_DDR_LANE1_CTL1);
+               temp |= (((WL_code_UDQS + LANE1_DQS_DELAY) <<
+                          BITP_DMC_DDR_LANE0_CTL1_BYPCODE) &
+                           BITM_DMC_DDR_LANE0_CTL1_BYPCODE) |
+                            BITM_DMC_DDR_LANE0_CTL1_BYPDELCHAINEN;
+               writel(temp, dmc.reg + REG_DMC_DDR_LANE1_CTL1);
+       } else {
+               temp = readl(dmc.reg + REG_DMC_DDR_LANE1_CTL1);
+               temp |= (((DQS_DEFAULT_DELAY + LANE1_DQS_DELAY) <<
+                          BITP_DMC_DDR_LANE0_CTL1_BYPCODE) &
+                           BITM_DMC_DDR_LANE0_CTL1_BYPCODE) |
+                            BITM_DMC_DDR_LANE0_CTL1_BYPDELCHAINEN;
+               writel(temp, dmc.reg + REG_DMC_DDR_LANE1_CTL1);
+       }
+       dmcdelay(2500u);
+#endif
+
+#else
+       /* 5. Program the DMCx_CTL.DLLCTL register with 0x948 value
+        * (DATACYC=9,    DLLCALRDCNT=72).
+        */
+       writel(0x00000948, dmc.reg + REG_DMC_DLLCTL);
+#endif
+
+       /* 6. Workaround for anomaly#20000037 */
+       if (dmc.anomaly_20000037_applicable) {
+               /* Perform dummy read to any DMC location */
+               readl(0x80000000);
+
+               writel(readl(dmc.reg + REG_DMC_PHY_CTL0) | 0x1000,
+                      dmc.reg + REG_DMC_PHY_CTL0);
+               /* Clear DMCx_PHY_CTL0.RESETDAT bit */
+               writel(readl(dmc.reg + REG_DMC_PHY_CTL0) & (~0x1000),
+                      dmc.reg + REG_DMC_PHY_CTL0);
+       }
+}
+
+static inline void dmc_init(void)
+{
+       /* PHY Calibration+Initialization */
+       if (!dmc.phy_init_required)
+               goto out;
+
+       switch (dmc.calib_mode) {
+       case CALIBRATION_LEGACY:
+               calibration_legacy();
+               break;
+       case CALIBRATION_METHOD1:
+               calibration_method1();
+               break;
+       case CALIBRATION_METHOD2:
+               calibration_method2();
+               break;
+       }
+
+#if DQSTRIM
+       /* DQS duty trim */
+       temp = readl(dmc.reg + REG_DMC_DDR_LANE0_CTL0);
+       temp |= ((DQSCODE) << BITP_DMC_DDR_LANE0_CTL0_BYPENB) &
+                (BITM_DMC_DDR_LANE1_CTL0_BYPENB |
+                 BITM_DMC_DDR_LANE0_CTL0_BYPSELP |
+                 BITM_DMC_DDR_LANE0_CTL0_BYPCODE);
+       writel(temp, dmc.reg + REG_DMC_DDR_LANE0_CTL0);
+
+       temp = readl(dmc.reg + REG_DMC_DDR_LANE1_CTL0);
+       temp |= ((DQSCODE) << BITP_DMC_DDR_LANE1_CTL0_BYPENB) &
+                (BITM_DMC_DDR_LANE1_CTL1_BYPCODE |
+                 BITM_DMC_DDR_LANE1_CTL0_BYPSELP |
+                 BITM_DMC_DDR_LANE1_CTL0_BYPCODE);
+       writel(temp, dmc.reg + REG_DMC_DDR_LANE1_CTL0);
+#endif
+
+#if CLKTRIM
+       /* Clock duty trim */
+       temp = readl(dmc.reg + REG_DMC_DDR_CA_CTL);
+       temp |= (((CLKCODE << BITP_DMC_DDR_CA_CTL_BYPCODE1) &
+                  BITM_DMC_DDR_CA_CTL_BYPCODE1) |
+                BITM_DMC_DDR_CA_CTL_BYPENB |
+                ((CLKDIR << BITP_DMC_DDR_CA_CTL_BYPSELP) &
+                 BITM_DMC_DDR_CA_CTL_BYPSELP));
+       writel(temp, dmc.reg + REG_DMC_DDR_CA_CTL);
+#endif
+
+out:
+       /* Controller Initialization */
+       dmc_controller_init();
+}
+
+static inline void __dmc_config(uint32_t dmc_no)
+{
+       if (dmc_no == 0) {
+               dmc.reg = REG_DMC0_BASE;
+               dmc.dmc_data_calib_add_value = DMC0_DATA_CALIB_ADD;
+       } else if (dmc_no == 1) {
+               dmc.reg = REG_DMC1_BASE;
+               dmc.dmc_data_calib_add_value = DMC1_DATA_CALIB_ADD;
+       } else {
+               return;
+       }
+
+       if (IS_ENABLED(CONFIG_ADI_USE_DDR2))
+               dmc.ddr_mode = DDR2_MODE;
+       else
+               dmc.ddr_mode = DDR3_MODE;
+
+       dmc.phy_init_required = true;
+
+#if defined(CONFIG_SC59X) || defined(CONFIG_SC59X_64)
+       dmc.anomaly_20000037_applicable = false;
+       dmc.dmc_dllctl_value = DMC_DLLCTL_VALUE;
+       dmc.calib_mode = CALIBRATION_METHOD2;
+#else
+       dmc.anomaly_20000037_applicable = true;
+       dmc.calib_mode = CALIBRATION_LEGACY;
+#endif
+
+       dmc.dmc_ctl_value = DMC_CTL_VALUE;
+       dmc.dmc_cfg_value = DMC_CFG_VALUE;
+       dmc.dmc_tr0_value = DMC_TR0_VALUE;
+       dmc.dmc_tr1_value = DMC_TR1_VALUE;
+       dmc.dmc_tr2_value = DMC_TR2_VALUE;
+       dmc.dmc_mr0_value = DMC_MR0_VALUE;
+       dmc.dmc_mr1_value = DMC_MR1_VALUE;
+       dmc.dmc_mr2_value = DMC_MR2_VALUE;
+
+#if defined(CONFIG_SC59X) || defined(CONFIG_SC59X_64)
+       dmc.dmc_mr3_value = DMC_MR3_VALUE;
+       dmc.dmc_zqctl0_value = DMC_ZQCTL0_VALUE;
+       dmc.dmc_zqctl1_value = DMC_ZQCTL1_VALUE;
+       dmc.dmc_zqctl2_value = DMC_ZQCTL2_VALUE;
+#endif
+
+       dmc.padctl2_value = DMC_PADCTL2_VALUE;
+       dmc.dmc_cphyctl_value = DMC_CPHYCTL_VALUE;
+
+       /* Initialize DMC now */
+       dmc_init();
+}
+
+void DMC_Config(void)
+{
+       if (IS_ENABLED(CONFIG_ADI_USE_DMC0))
+               __dmc_config(0);
+
+       if (IS_ENABLED(CONFIG_ADI_USE_DMC1))
+               __dmc_config(1);
+}
diff --git a/arch/arm/mach-sc5xx/init/dmcinit.h b/arch/arm/mach-sc5xx/init/dmcinit.h
new file mode 100644 (file)
index 0000000..46ff729
--- /dev/null
@@ -0,0 +1,31 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
+/*
+ * (C) Copyright 2022 - Analog Devices, Inc.
+ *
+ * Written and/or maintained by Timesys Corporation
+ *
+ * Contact: Nathan Barrett-Morrison <nathan.morrison@timesys.com>
+ * Contact: Greg Malysa <greg.malysa@timesys.com>
+ */
+
+#ifndef DMCINIT_H_
+#define DMCINIT_H_
+
+#include <config.h>
+
+#ifdef MEM_MT41K512M16HA
+       #include "mem/mt41k512m16ha.h"
+#elif defined(MEM_MT41K128M16JT)
+       #include "mem/mt41k128m16jt.h"
+#elif defined(MEM_MT47H128M16RT)
+       #include "mem/mt47h128m16rt.h"
+#elif defined(MEM_IS43TR16512BL)
+       #include "mem/is43tr16512bl.h"
+#else
+       #error "No DDR part name is defined for this board."
+#endif
+
+void DMC_Config(void);
+void adi_dmc_reset_lanes(bool reset);
+
+#endif
diff --git a/arch/arm/mach-sc5xx/init/mem/is43tr16512bl.h b/arch/arm/mach-sc5xx/init/mem/is43tr16512bl.h
new file mode 100644 (file)
index 0000000..a583837
--- /dev/null
@@ -0,0 +1,62 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
+/*
+ * (C) Copyright 2022 - Analog Devices, Inc.
+ *
+ * Written and/or maintained by Timesys Corporation
+ *
+ * Contact: Nathan Barrett-Morrison <nathan.morrison@timesys.com>
+ * Contact: Greg Malysa <greg.malysa@timesys.com>
+ */
+
+#ifndef IS43TR16512BL_H
+#define IS43TR16512BL_H
+
+/* DMC0 setup for the EV-21593-SOM and EV-SC594-SOM :
+ * - uses a single 8GB IS43TR16512BL-125KBL DDR3 chip configured for
+ *   800 MHz DCLK.
+ * DMC0 setup for the EV-SC594-SOMS :
+ * - uses a single 4GB IS43TR16256BL-093NBL DDR3 chip configured for
+ *   800 MHz DCLK.
+ */
+#define DMC_DLLCALRDCNT                 240
+#define DMC_DATACYC                     12
+#define DMC_TRCD                        11
+#define DMC_TWTR                        6
+#define DMC_TRP                         11
+#define DMC_TRAS                        28
+#define DMC_TRC                         39
+#define DMC_TMRD                        4
+#define DMC_TREF                        6240
+#define DMC_TRRD                        6
+#define DMC_TFAW                        32
+#define DMC_TRTP                        6
+#define DMC_TWR                         12
+#define DMC_TXP                         5
+#define DMC_TCKE                        4
+#define DMC_CL0                         0
+#define DMC_CL123                       7
+#define DMC_WRRECOV                     6
+#define DMC_MR1_DLLEN                   0
+#define DMC_MR1_DIC0                    0
+#define DMC_MR1_RTT0                    0
+#define DMC_MR1_AL                      0
+#define DMC_MR1_DIC1                    0
+#define DMC_MR1_RTT1                    1
+#define DMC_MR1_WL                      0
+#define DMC_MR1_RTT2                    0
+#define DMC_MR1_TDQS                    0
+#define DMC_MR1_QOFF                    0
+#define DMC_WL                          3
+#define DMC_RDTOWR                      5
+#define DMC_CTL_AL_EN                   1
+#if defined(MEM_ISSI_4Gb_DDR3_800MHZ)
+    #define SDR_CHIP_SIZE                    (ENUM_DMC_CFG_SDRSIZE4G)
+    #define DMC_TRFC                        208ul
+#elif defined(MEM_ISSI_8Gb_DDR3_800MHZ)
+    #define SDR_CHIP_SIZE                    (ENUM_DMC_CFG_SDRSIZE8G)
+    #define DMC_TRFC                        280ul
+#else
+    #error "Need to select MEM_ISSI_4Gb_DDR3_800MHZ or MEM_ISSI_8Gb_DDR3_800MHZ"
+#endif
+
+#endif
diff --git a/arch/arm/mach-sc5xx/init/mem/mt41k128m16jt.h b/arch/arm/mach-sc5xx/init/mem/mt41k128m16jt.h
new file mode 100644 (file)
index 0000000..8827775
--- /dev/null
@@ -0,0 +1,50 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
+/*
+ * (C) Copyright 2022 - Analog Devices, Inc.
+ *
+ * Written and/or maintained by Timesys Corporation
+ *
+ * Contact: Nathan Barrett-Morrison <nathan.morrison@timesys.com>
+ * Contact: Greg Malysa <greg.malysa@timesys.com>
+ */
+
+#ifndef MT41K128M16JT_H
+#define MT41K128M16JT_H
+
+/* Default DDR3 part assumed: MT41K128M16JT-125, 2Gb part */
+/* For DCLK= 450 MHz */
+#define DMC_DLLCALRDCNT                 72
+#define DMC_DATACYC                     9
+#define DMC_TRCD                        6
+#define DMC_TWTR                        4
+#define DMC_TRP                         6
+#define DMC_TRAS                        17
+#define DMC_TRC                         23
+#define DMC_TMRD                        4
+#define DMC_TREF                        3510
+#define DMC_TRFC                        72
+#define DMC_TRRD                        4
+#define DMC_TFAW                        17
+#define DMC_TRTP                        4
+#define DMC_TWR                         7
+#define DMC_TXP                         4
+#define DMC_TCKE                        3
+#define DMC_CL0                         0
+#define DMC_CL123                       3
+#define DMC_WRRECOV                     (DMC_TWR - 1)
+#define DMC_MR1_DLLEN                   0
+#define DMC_MR1_DIC0                    1
+#define DMC_MR1_RTT0                    1
+#define DMC_MR1_AL                      0
+#define DMC_MR1_DIC1                    0
+#define DMC_MR1_RTT1                    0
+#define DMC_MR1_WL                      0
+#define DMC_MR1_RTT2                    0
+#define DMC_MR1_TDQS                    0
+#define DMC_MR1_QOFF                    0
+#define DMC_WL                          1
+#define DMC_RDTOWR                      2
+#define DMC_CTL_AL_EN                   0
+#define SDR_CHIP_SIZE                   ENUM_DMC_CFG_SDRSIZE2G
+
+#endif
diff --git a/arch/arm/mach-sc5xx/init/mem/mt41k512m16ha.h b/arch/arm/mach-sc5xx/init/mem/mt41k512m16ha.h
new file mode 100644 (file)
index 0000000..5735b87
--- /dev/null
@@ -0,0 +1,50 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
+/*
+ * (C) Copyright 2022 - Analog Devices, Inc.
+ *
+ * Written and/or maintained by Timesys Corporation
+ *
+ * Contact: Nathan Barrett-Morrison <nathan.morrison@timesys.com>
+ * Contact: Greg Malysa <greg.malysa@timesys.com>
+ */
+
+#ifndef MT41K512M16HA_H
+#define MT41K512M16HA_H
+
+/* Default DDR3 part assumed: MT41K512M16HA-107, 8Gb part */
+/* For DCLK= 450 MHz */
+#define DMC_DLLCALRDCNT                 72
+#define DMC_DATACYC                     9
+#define DMC_TRCD                        7
+#define DMC_TWTR                        4
+#define DMC_TRP                         7
+#define DMC_TRAS                        10
+#define DMC_TRC                         16
+#define DMC_TMRD                        4
+#define DMC_TREF                        3510
+#define DMC_TRFC                        158
+#define DMC_TRRD                        6
+#define DMC_TFAW                        16
+#define DMC_TRTP                        4
+#define DMC_TWR                         7
+#define DMC_TXP                         3
+#define DMC_TCKE                        3
+#define DMC_CL0                         0
+#define DMC_CL123                       3
+#define DMC_WRRECOV                     (DMC_TWR - 1)
+#define DMC_MR1_DLLEN                   0
+#define DMC_MR1_DIC0                    1
+#define DMC_MR1_RTT0                    1
+#define DMC_MR1_AL                      0
+#define DMC_MR1_DIC1                    0
+#define DMC_MR1_RTT1                    0
+#define DMC_MR1_WL                      0
+#define DMC_MR1_RTT2                    0
+#define DMC_MR1_TDQS                    0
+#define DMC_MR1_QOFF                    0
+#define DMC_WL                          1
+#define DMC_RDTOWR                      2
+#define DMC_CTL_AL_EN                   0
+#define SDR_CHIP_SIZE                   ENUM_DMC_CFG_SDRSIZE8G
+
+#endif
diff --git a/arch/arm/mach-sc5xx/init/mem/mt47h128m16rt.h b/arch/arm/mach-sc5xx/init/mem/mt47h128m16rt.h
new file mode 100644 (file)
index 0000000..5ada7f2
--- /dev/null
@@ -0,0 +1,49 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
+/*
+ * (C) Copyright 2022 - Analog Devices, Inc.
+ *
+ * Written and/or maintained by Timesys Corporation
+ *
+ * Contact: Nathan Barrett-Morrison <nathan.morrison@timesys.com>
+ * Contact: Greg Malysa <greg.malysa@timesys.com>
+ */
+
+#ifndef MT47H128M16RT_H
+#define MT47H128M16RT_H
+
+/* Default DDR2 part: MT47H128M16RT-25E XIT:C, 2 Gb part */
+/* For DCLK= 400 MHz */
+#define DMC_DLLCALRDCNT                 72
+#define DMC_DATACYC                     9
+#define DMC_TRCD                        5
+#define DMC_TWTR                        3
+#define DMC_TRP                         5
+#define DMC_TRAS                        16
+#define DMC_TRC                         22
+#define DMC_TMRD                        2
+#define DMC_TREF                        3120
+#define DMC_TRFC                        78
+#define DMC_TRRD                        4
+#define DMC_TFAW                        18
+#define DMC_TRTP                        3
+#define DMC_TWR                         6
+#define DMC_TXP                         2
+#define DMC_TCKE                        3
+#define DMC_CL                          5
+#define DMC_WRRECOV                     (DMC_TWR - 1)
+#define DMC_MR1_DLLEN                   0
+#define DMC_MR1_DIC0                    1
+#define DMC_MR1_RTT0                    1
+#define DMC_MR1_AL                      4
+#define DMC_MR1_DIC1                    0
+#define DMC_MR1_RTT1                    0
+#define DMC_MR1_WL                      0
+#define DMC_MR1_RTT2                    0
+#define DMC_MR1_TDQS                    0
+#define DMC_MR1_QOFF                    0
+#define DMC_BL                          4
+#define DMC_RDTOWR                      2
+#define DMC_CTL_AL_EN                   0
+#define SDR_CHIP_SIZE                   ENUM_DMC_CFG_SDRSIZE2G
+
+#endif
diff --git a/arch/arm/mach-sc5xx/rcu.c b/arch/arm/mach-sc5xx/rcu.c
new file mode 100644 (file)
index 0000000..4935750
--- /dev/null
@@ -0,0 +1,22 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
+/*
+ * (C) Copyright 2024 - Analog Devices, Inc.
+ *
+ * Written and/or maintained by Timesys Corporation
+ *
+ * Contact: Ian Roberts <ian.roberts@timesys.com>
+ */
+
+#include <dm.h>
+#include <syscon.h>
+
+static const struct udevice_id adi_syscon_ids[] = {
+       { .compatible = "adi,reset-controller" },
+       { }
+};
+
+U_BOOT_DRIVER(syscon_sc5xx_rcu) = {
+       .name = "sc5xx_rcu",
+       .id = UCLASS_SYSCON,
+       .of_match = adi_syscon_ids,
+};
diff --git a/arch/arm/mach-sc5xx/sc57x.c b/arch/arm/mach-sc5xx/sc57x.c
new file mode 100644 (file)
index 0000000..b058768
--- /dev/null
@@ -0,0 +1,32 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
+/*
+ * (C) Copyright 2024 - Analog Devices, Inc.
+ *
+ * Written and/or maintained by Timesys Corporation
+ *
+ * Contact: Nathan Barrett-Morrison <nathan.morrison@timesys.com>
+ * Contact: Greg Malysa <greg.malysa@timesys.com>
+ */
+
+#include <asm/io.h>
+#include <asm/arch-adi/sc5xx/sc5xx.h>
+#include <asm/arch-adi/sc5xx/spl.h>
+
+#define REG_SPU0_SECUREC0 0x3108B980
+#define REG_PADS0_PCFG0 0x31004404
+#define REG_SPU0_SECUREP_START 0x3108BA00
+#define REG_SPU0_SECUREP_END 0x3108BD24
+
+adi_rom_boot_fn adi_rom_boot = (adi_rom_boot_fn)0x000000e1;
+
+void sc5xx_enable_rgmii(void)
+{
+       writel((readl(REG_PADS0_PCFG0) | 0xc), REG_PADS0_PCFG0);
+}
+
+void sc5xx_soc_init(void)
+{
+       sc5xx_enable_ns_sharc_access(REG_SPU0_SECUREC0);
+       sc5xx_disable_spu0(REG_SPU0_SECUREP_START, REG_SPU0_SECUREP_END);
+       sc5xx_enable_pmu();
+}
diff --git a/arch/arm/mach-sc5xx/sc58x.c b/arch/arm/mach-sc5xx/sc58x.c
new file mode 100644 (file)
index 0000000..0f89277
--- /dev/null
@@ -0,0 +1,32 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
+/*
+ * (C) Copyright 2024 - Analog Devices, Inc.
+ *
+ * Written and/or maintained by Timesys Corporation
+ *
+ * Contact: Nathan Barrett-Morrison <nathan.morrison@timesys.com>
+ * Contact: Greg Malysa <greg.malysa@timesys.com>
+ */
+
+#include <asm/io.h>
+#include <asm/arch-adi/sc5xx/sc5xx.h>
+#include <asm/arch-adi/sc5xx/spl.h>
+
+#define REG_SPU0_SECUREC0 0x3108C980
+#define REG_PADS0_PCFG0 0x31004404
+#define REG_SPU0_SECUREP_START 0x3108CA00
+#define REG_SPU0_SECUREP_END 0x3108CCF0
+
+adi_rom_boot_fn adi_rom_boot = (adi_rom_boot_fn)0x000000e1;
+
+void sc5xx_enable_rgmii(void)
+{
+       writel((readl(REG_PADS0_PCFG0) | 0xc), REG_PADS0_PCFG0);
+}
+
+void sc5xx_soc_init(void)
+{
+       sc5xx_enable_ns_sharc_access(REG_SPU0_SECUREC0);
+       sc5xx_disable_spu0(REG_SPU0_SECUREP_START, REG_SPU0_SECUREP_END);
+       sc5xx_enable_pmu();
+}
diff --git a/arch/arm/mach-sc5xx/sc59x.c b/arch/arm/mach-sc5xx/sc59x.c
new file mode 100644 (file)
index 0000000..174c6f5
--- /dev/null
@@ -0,0 +1,43 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
+/*
+ * (C) Copyright 2024 - Analog Devices, Inc.
+ *
+ * Written and/or maintained by Timesys Corporation
+ *
+ * Contact: Nathan Barrett-Morrison <nathan.morrison@timesys.com>
+ * Contact: Greg Malysa <greg.malysa@timesys.com>
+ */
+
+#include <asm/io.h>
+#include <asm/arch-adi/sc5xx/sc5xx.h>
+#include <asm/arch-adi/sc5xx/spl.h>
+
+#define REG_SPU0_SECUREC0 0x3108B980
+#define REG_PADS0_PCFG0 0x31004604
+#define REG_SPU0_SECUREP_START 0x3108BA00
+#define REG_SPU0_SECUREP_END 0x3108BD24
+
+#define REG_SCB5_SPI2_OSPI_REMAP        0x30400000
+#define BITM_SCB5_SPI2_OSPI_REMAP_REMAP 0x00000003
+#define ENUM_SCB5_SPI2_OSPI_REMAP_OSPI0 0x00000001
+
+adi_rom_boot_fn adi_rom_boot = (adi_rom_boot_fn)0x000000e9;
+
+void sc5xx_enable_rgmii(void)
+{
+       writel((readl(REG_PADS0_PCFG0) | 0xc), REG_PADS0_PCFG0);
+}
+
+void sc59x_remap_ospi(void)
+{
+       clrsetbits_le32(REG_SCB5_SPI2_OSPI_REMAP,
+                       BITM_SCB5_SPI2_OSPI_REMAP_REMAP,
+                       ENUM_SCB5_SPI2_OSPI_REMAP_OSPI0);
+}
+
+void sc5xx_soc_init(void)
+{
+       sc5xx_enable_ns_sharc_access(REG_SPU0_SECUREC0);
+       sc5xx_disable_spu0(REG_SPU0_SECUREP_START, REG_SPU0_SECUREP_END);
+       sc5xx_enable_pmu();
+}
diff --git a/arch/arm/mach-sc5xx/sc59x_64.c b/arch/arm/mach-sc5xx/sc59x_64.c
new file mode 100644 (file)
index 0000000..82537bf
--- /dev/null
@@ -0,0 +1,97 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
+/*
+ * (C) Copyright 2024 - Analog Devices, Inc.
+ *
+ * Written and/or maintained by Timesys Corporation
+ *
+ * Contact: Nathan Barrett-Morrison <nathan.morrison@timesys.com>
+ * Contact: Greg Malysa <greg.malysa@timesys.com>
+ */
+
+#include <asm/io.h>
+#include <asm/arch-adi/sc5xx/sc5xx.h>
+#include <asm/arch-adi/sc5xx/spl.h>
+
+#define REG_TSGENWR0_CNTCR 0x310AE000
+#define REG_PADS0_PCFG0 0x31004604
+#define REG_RCU0_BCODE 0x3108C028
+
+#define REG_SPU0_SECUREP_START 0x3108BA00
+#define REG_SPU0_WP_START 0x3108B400
+#define REG_SPU0_SECUREC0 0x3108B980
+
+#define REG_SCB5_SPI2_OSPI_REMAP 0x30400000
+#define BITM_SCB5_SPI2_OSPI_REMAP_REMAP 0x00000003
+#define ENUM_SCB5_SPI2_OSPI_REMAP_OSPI0 0x00000001
+
+adi_rom_boot_fn adi_rom_boot = (adi_rom_boot_fn)0x000000e4;
+
+void sc5xx_enable_rgmii(void)
+{
+       writel((readl(REG_PADS0_PCFG0) | 0xc), REG_PADS0_PCFG0);
+
+       // Set dw for little endian operation as well
+       writel(readl(REG_PADS0_PCFG0) & ~(1 << 19), REG_PADS0_PCFG0);
+       writel(readl(REG_PADS0_PCFG0) & ~(1 << 20), REG_PADS0_PCFG0);
+}
+
+void sc59x_remap_ospi(void)
+{
+       clrsetbits_le32(REG_SCB5_SPI2_OSPI_REMAP,
+                       BITM_SCB5_SPI2_OSPI_REMAP_REMAP,
+                       ENUM_SCB5_SPI2_OSPI_REMAP_OSPI0);
+}
+
+/**
+ * SPU/SMPU configuration is the default for permissive access from non-secure
+ * EL1. If TFA and OPTEE are configured, they run *after* this code, as the
+ * current boot flow is SPL -> TFA -> OPTEE -> Proper -> Linux, and will
+ * be expected to configure peripheral security correctly. If they are not
+ * configured, then this permissive setting will allow Linux (which always
+ * runs in NS EL1) to control all access to these peripherals. Without it,
+ * the peripherals would simply be unavailable in a non-security build,
+ * which is not OK.
+ */
+void sc5xx_soc_init(void)
+{
+       phys_addr_t smpus[] = {
+               0x31007800, //SMPU0
+               0x31083800, //SMPU2
+               0x31084800, //SMPU3
+               0x31085800, //SMPU4
+               0x31086800, //SMPU5
+               0x31087800, //SMPU6
+               0x310A0800, //SMPU9
+               0x310A1800, //SMPU11
+               0x31012800, //SMPU12
+       };
+       size_t i;
+
+       // Enable coresight timer
+       writel(1, REG_TSGENWR0_CNTCR);
+
+       //Do not rerun preboot routine --
+       // Without this, hardware resets triggered by RCU0_CTL:SYSRST
+       // lead to a deadlock somewhere in the boot ROM
+       writel(0x200, REG_RCU0_BCODE);
+
+       /* Alter outstanding transactions property of A55*/
+       writel(0x1, 0x30643108); /* SCB6 A55 M0 Ib.fn Mod */
+       isb();
+
+       /* configure DDR prefetch behavior, per ADI */
+       writel(0x1, 0x31076000);
+
+       /* configure smart mode, per ADI */
+       writel(0x1307, 0x31076004);
+
+       // Disable SPU and SPU WP registers
+       sc5xx_disable_spu0(REG_SPU0_SECUREP_START, REG_SPU0_SECUREP_START + 4*213);
+       sc5xx_disable_spu0(REG_SPU0_WP_START, REG_SPU0_WP_START + 4*213);
+
+       /* configure smpus permissively */
+       for (i = 0; i < ARRAY_SIZE(smpus); ++i)
+               writel(0x500, smpus[i]);
+
+       sc5xx_enable_ns_sharc_access(REG_SPU0_SECUREC0);
+}
diff --git a/arch/arm/mach-sc5xx/soc.c b/arch/arm/mach-sc5xx/soc.c
new file mode 100644 (file)
index 0000000..8f13127
--- /dev/null
@@ -0,0 +1,179 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
+/*
+ * (C) Copyright 2022 - Analog Devices, Inc.
+ *
+ * Written and/or maintained by Timesys Corporation
+ *
+ * Contact: Nathan Barrett-Morrison <nathan.morrison@timesys.com>
+ * Contact: Greg Malysa <greg.malysa@timesys.com>
+ */
+
+#include <asm/arch-adi/sc5xx/sc5xx.h>
+#include <asm/arch-adi/sc5xx/soc.h>
+#include <asm/global_data.h>
+#include <asm/io.h>
+#include <cpu_func.h>
+
+#ifdef CONFIG_SC58X
+       #define RCU0_CTL                0x3108B000
+       #define RCU0_STAT               0x3108B004
+       #define RCU0_CRCTL              0x3108B008
+       #define RCU0_CRSTAT             0x3108B00C
+       #define RCU0_SIDIS              0x3108B010
+       #define RCU0_MSG_SET            0x3108B064
+#elif defined(CONFIG_SC57X) || defined(CONFIG_SC59X) || defined(CONFIG_SC59X_64)
+       #define RCU0_CTL                0x3108C000
+       #define RCU0_STAT               0x3108C004
+       #define RCU0_CRCTL              0x3108C008
+       #define RCU0_CRSTAT             0x3108C00C
+       #define RCU0_SIDIS              0x3108C01C
+       #define RCU0_MSG_SET            0x3108C070
+#else
+       #error "No SC5xx SoC CONFIG_ enabled"
+#endif
+
+#define BITP_RCU_STAT_BMODE                  8
+#define BITM_RCU_STAT_BMODE         0x00000F00
+
+#define REG_ARMPMU0_PMCR            0x31121E04
+#define REG_ARMPMU0_PMUSERENR       0x31121E08
+#define REG_ARMPMU0_PMLAR           0x31121FB0
+
+DECLARE_GLOBAL_DATA_PTR;
+
+void reset_cpu(void)
+{
+       u32 val = readl(RCU0_CTL);
+       writel(val | 1, RCU0_CTL);
+}
+
+void enable_caches(void)
+{
+       if (!IS_ENABLED(CONFIG_SYS_DCACHE_OFF))
+               dcache_enable();
+}
+
+void sc5xx_enable_ns_sharc_access(uintptr_t securec0_base)
+{
+       writel(0, securec0_base);
+       writel(0, securec0_base + 0x4);
+       writel(0, securec0_base + 0x8);
+}
+
+void sc5xx_disable_spu0(uintptr_t spu0_start, uintptr_t spu0_end)
+{
+       for (uintptr_t i = spu0_start; i <= spu0_end; i += 4)
+               writel(0, i);
+}
+
+/**
+ * PMU is only available on armv7 platforms and all share the same location
+ */
+void sc5xx_enable_pmu(void)
+{
+       if (!IS_ENABLED(CONFIG_SC59X_64)) {
+               writel(readl(REG_ARMPMU0_PMUSERENR) | 0x01, REG_ARMPMU0_PMUSERENR);
+               writel(0xc5acce55, REG_ARMPMU0_PMLAR);
+               writel(readl(REG_ARMPMU0_PMCR) | (1 << 1), REG_ARMPMU0_PMCR);
+       }
+}
+
+const char *sc5xx_get_boot_mode(u32 *bmode)
+{
+       static const char * const bmodes[] = {
+               "JTAG/BOOTROM",
+               "QSPI Master",
+               "QSPI Slave",
+               "UART",
+               "LP0 Slave",
+               "OSPI",
+#ifdef CONFIG_SC59X_64
+               "eMMC"
+#endif
+       };
+       u32 local_mode;
+
+       local_mode = (readl(RCU0_STAT) & BITM_RCU_STAT_BMODE) >> BITP_RCU_STAT_BMODE;
+
+#if CONFIG_ADI_SPL_FORCE_BMODE != 0
+       /*
+        * In case we want to force boot sequences such as:
+        * QSPI -> OSPI
+        * QSPI -> eMMC
+        * If this is not set, then we will always try to use the BMODE setting
+        * for both stages... i.e.
+        * QSPI -> QSPI
+        */
+
+       // (Don't allow skipping JTAG/UART BMODE settings)
+       if (local_mode != 0 && local_mode != 3)
+               local_mode = CONFIG_ADI_SPL_FORCE_BMODE;
+#endif
+
+       *bmode = local_mode;
+
+       if (local_mode >= 0 && local_mode <= ARRAY_SIZE(bmodes))
+               return bmodes[local_mode];
+       return "unknown";
+}
+
+void print_cpu_id(void)
+{
+       if (!IS_ENABLED(CONFIG_ARM64)) {
+               u32 cpuid = 0;
+
+               __asm__ __volatile__("mrc p15, 0, %0, c0, c0, 0" : "=r"(cpuid));
+
+               printf("Detected Revision: %d.%d\n", cpuid & 0xf00000 >> 20, cpuid & 0xf);
+       }
+}
+
+int print_cpuinfo(void)
+{
+       u32 bmode;
+
+       printf("CPU:   ADSP %s (%s boot)\n", CONFIG_LDR_CPU, sc5xx_get_boot_mode(&bmode));
+       print_cpu_id();
+
+       return 0;
+}
+
+void fixup_dp83867_phy(struct phy_device *phydev)
+{
+       int phy_data = 0;
+
+       phy_data = phy_read(phydev, MDIO_DEVAD_NONE, 0x32);
+       phy_write(phydev, MDIO_DEVAD_NONE, 0x32, (1 << 7) | phy_data);
+       int cfg3 = 0;
+       #define MII_DP83867_CFG3    (0x1e)
+       /*
+        * Pin INT/PWDN on DP83867 should be configured as an Interrupt Output
+        * instead of a Power-Down Input on ADI SC5XX boards in order to
+        * prevent the signal interference from other peripherals during they
+        * are running at the same time.
+        */
+       cfg3 = phy_read(phydev, MDIO_DEVAD_NONE, MII_DP83867_CFG3);
+       cfg3 |= (1 << 7);
+       phy_write(phydev, MDIO_DEVAD_NONE, MII_DP83867_CFG3, cfg3);
+
+       // Mystery second port fixup on ezkits with two PHYs
+       if (CONFIG_DW_PORTS & 2)
+               phy_write(phydev, MDIO_DEVAD_NONE, 0x11, 3);
+
+       if (IS_ENABLED(CONFIG_ADI_BUG_EZKHW21)) {
+               phydev->advertising &= PHY_BASIC_FEATURES;
+               phydev->speed = SPEED_100;
+       }
+
+       if (phydev->drv->config)
+               phydev->drv->config(phydev);
+
+       if (IS_ENABLED(CONFIG_ADI_BUG_EZKHW21))
+               phy_write(phydev, MDIO_DEVAD_NONE, 0, 0x3100);
+}
+
+int dram_init(void)
+{
+       gd->ram_size = CFG_SYS_SDRAM_SIZE;
+       return 0;
+}
diff --git a/arch/arm/mach-sc5xx/spl.c b/arch/arm/mach-sc5xx/spl.c
new file mode 100644 (file)
index 0000000..68e0310
--- /dev/null
@@ -0,0 +1,102 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
+/*
+ * (C) Copyright 2022 - Analog Devices, Inc.
+ *
+ * Written and/or maintained by Timesys Corporation
+ *
+ * Contact: Nathan Barrett-Morrison <nathan.morrison@timesys.com>
+ * Contact: Greg Malysa <greg.malysa@timesys.com>
+ */
+
+#include <spl.h>
+#include <asm/arch-adi/sc5xx/sc5xx.h>
+#include <asm/arch-adi/sc5xx/spl.h>
+#include "init/clkinit.h"
+#include "init/dmcinit.h"
+
+static bool adi_start_uboot_proper;
+
+static int adi_sf_default_bus = CONFIG_SF_DEFAULT_BUS;
+static int adi_sf_default_cs = CONFIG_SF_DEFAULT_CS;
+static int adi_sf_default_speed = CONFIG_SF_DEFAULT_SPEED;
+
+u32 bmode;
+
+int spl_start_uboot(void)
+{
+       return adi_start_uboot_proper;
+}
+
+unsigned int spl_spi_get_default_speed(void)
+{
+       return adi_sf_default_speed;
+}
+
+unsigned int spl_spi_get_default_bus(void)
+{
+       return adi_sf_default_bus;
+}
+
+unsigned int spl_spi_get_default_cs(void)
+{
+       return adi_sf_default_cs;
+}
+
+void board_boot_order(u32 *spl_boot_list)
+{
+       const char *bmodestring = sc5xx_get_boot_mode(&bmode);
+
+       printf("ADI Boot Mode: 0x%x (%s)\n", bmode, bmodestring);
+
+       /*
+        * By default everything goes back to the bootrom, where we'll read table
+        * parameters and ask for another image to be loaded
+        */
+       spl_boot_list[0] = BOOT_DEVICE_BOOTROM;
+
+       if (bmode == 0) {
+               printf("SPL execution has completed.  Please load U-Boot Proper via JTAG");
+               while (1)
+                       ;
+       }
+}
+
+int32_t __weak adi_rom_boot_hook(struct ADI_ROM_BOOT_CONFIG *config, int32_t cause)
+{
+       return 0;
+}
+
+int board_return_to_bootrom(struct spl_image_info *spl_image,
+                           struct spl_boot_device *bootdev)
+{
+#if CONFIG_ADI_SPL_FORCE_BMODE != 0
+       // see above
+       if (bmode != 0 && bmode != 3)
+               bmode = CONFIG_ADI_SPL_FORCE_BMODE;
+#endif
+
+       if (bmode >= (ARRAY_SIZE(adi_rom_boot_args)))
+               bmode = 0;
+
+       adi_rom_boot((void *)adi_rom_boot_args[bmode].addr,
+                    adi_rom_boot_args[bmode].flags,
+                    0, &adi_rom_boot_hook,
+                    adi_rom_boot_args[bmode].cmd);
+       return 0;
+};
+
+void board_init_f(ulong dummy)
+{
+       int ret;
+
+       clks_init();
+       DMC_Config();
+       sc5xx_soc_init();
+
+       ret = spl_early_init();
+       if (ret)
+               panic("spl_early_init() failed\n");
+
+       preloader_console_init();
+}
+
index 616e1afe5de68365d4c45cd5257107fc18276376..feaf5ce459642b1b703f78caf02b34685867ee55 100644 (file)
@@ -5,7 +5,7 @@
  * Copyright (C) 2015 Marek Vasut <marex@denx.de>
  */
 
-#include <common.h>
+#include <config.h>
 #include <asm/arch/clock_manager.h>
 #include <asm/arch/mailbox_s10.h>
 #include <asm/arch/misc.h>
index 9e645a425317fd9f28271f8ff16ffed7c3fb964f..160f6e73ca9e3f97cc2b242cb3cc0619fcd4a208 100644 (file)
@@ -3,7 +3,6 @@
  *  Copyright (C) 2013-2017 Altera Corporation <www.altera.com>
  */
 
-#include <common.h>
 #include <asm/arch/clock_manager.h>
 #include <asm/arch/system_manager.h>
 #include <asm/global_data.h>
index 28f593b60e63575d138b9490e482c6494c504776..9987d5bcee6fab4f4ce102c8e748dbcfbb032278 100644 (file)
@@ -5,7 +5,6 @@
  */
 
 #include <clk.h>
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <malloc.h>
index b92f0b3af806b97689bbb3bd38ca35d2be8dcade..7ec28d91ef326222e880ea8920575c09cbe96ab4 100644 (file)
@@ -16,7 +16,6 @@
 #include <vsprintf.h>
 #include <asm/global_data.h>
 #include <asm/io.h>
-#include <asm/u-boot.h>
 #include <linux/kernel.h>
 #include <linux/string.h>
 #include <linux/types.h>
index 8ab18f6b725296eeff1dcac3adec5eee97f1d8e9..58b9321131a90d4da4a4d5bb069fa2802bce2636 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2016-2017 Intel Corporation
  */
 
-#include <common.h>
 #include <fdtdec.h>
 #include <malloc.h>
 #include <asm/io.h>
index 8fa2760798b8de48e76cead37e9729a3f61721b6..154ad2154ae7e55d0db382b7307de19f2050b066 100644 (file)
@@ -3,7 +3,6 @@
  *  Copyright (C) 2013-2017 Altera Corporation <www.altera.com>
  */
 
-#include <common.h>
 #include <time.h>
 #include <asm/io.h>
 #include <dm.h>
index 0ed480de670d36a4b89715c3719d1ee48b9f8452..c4c071330fc34857396b91aa1bd4d29895be1047 100644 (file)
@@ -4,7 +4,6 @@
  *
  */
 
-#include <common.h>
 #include <asm/arch/clock_manager.h>
 #include <asm/arch/system_manager.h>
 #include <asm/global_data.h>
index 45300336d52a0e3aedf1f88783acb15b438ea17b..1e148947a3385ff1b9ed3ab5ae4e3ac65c2cfa8d 100644 (file)
@@ -4,7 +4,7 @@
  *
  */
 
-#include <common.h>
+#include <linux/errno.h>
 #include <asm/global_data.h>
 #include <asm/io.h>
 #include <asm/arch/clock_manager.h>
index 69229dc651e4ffe2e7913c66b3da22ade38ca9de..4dec47b8e960d25d75244193f38a54dc186ed612 100644 (file)
@@ -4,8 +4,8 @@
  *
  */
 
+#include <mach/base_addr_soc64.h>
 #include <asm/io.h>
-#include <common.h>
 #include <asm/arch/firewall.h>
 #include <asm/arch/system_manager.h>
 
index 18d692c63144983d09a3e2085a7cee753177a849..c946d4c38d96e823ef744345d71b6a5a039ded9f 100644 (file)
@@ -7,7 +7,7 @@
  * platform code, the real meat is located in drivers/fpga/socfpga.c .
  */
 
-#include <common.h>
+#include <config.h>
 #include <asm/io.h>
 #include <linux/errno.h>
 #include <asm/arch/fpga_manager.h>
index 561d3408cd8fdb3827cad12c78084c5f3b657c13..7c86350d5eac68682f0a9198ec09e35d5b905669 100644 (file)
@@ -4,7 +4,7 @@
  */
 
 
-#include <common.h>
+#include <config.h>
 #include <asm/io.h>
 #include <asm/arch/clock_manager.h>
 #include <asm/arch/freeze_controller.h>
index 6c9d32b9dd8a6ac89198274b40db1c1179914f0a..49f3fb2e705755c710eaf07fb75eb8ed33a5e15d 100644 (file)
@@ -6,6 +6,8 @@
 #ifndef _CLOCK_MANAGER_H_
 #define _CLOCK_MANAGER_H_
 
+#include <linux/types.h>
+
 phys_addr_t socfpga_get_clkmgr_addr(void);
 
 #ifndef __ASSEMBLY__
index d5a11122c723b22b6d1b93833e494909f758f3b5..01335dc931087d484fabb7a5d1f168d000f04520 100644 (file)
@@ -7,6 +7,8 @@
 #ifndef        _SECURE_REG_HELPER_H_
 #define        _SECURE_REG_HELPER_H_
 
+#include <linux/types.h>
+
 #define SOCFPGA_SECURE_REG_SYSMGR_SOC64_SDMMC 1
 #define SOCFPGA_SECURE_REG_SYSMGR_SOC64_EMAC0 2
 #define SOCFPGA_SECURE_REG_SYSMGR_SOC64_EMAC1 3
index 101af2385529c38c14b1376f2d95bd5b8f210366..4c86f1e99170c098eb4b5259a2e6a9e861a4b702 100644 (file)
@@ -4,7 +4,6 @@
  *
  */
 
-#include <common.h>
 #include <asm/arch/clock_manager.h>
 #include <asm/arch/mailbox_s10.h>
 #include <asm/arch/system_manager.h>
index 80ad0870341b20550a7bdd54d71be94b30d9f791..495ba2a0d4184a5d5e950eac9caeac5a08524e69 100644 (file)
@@ -3,7 +3,7 @@
  *  Copyright (C) 2012-2017 Altera Corporation <www.altera.com>
  */
 
-#include <common.h>
+#include <config.h>
 #include <command.h>
 #include <cpu_func.h>
 #include <hang.h>
index 93c9e8b0fb408d60cce4a9ae3df465e47b4ff9aa..34c21317894d805b7fd18efda4717927ab769009 100644 (file)
@@ -4,7 +4,7 @@
  */
 
 #include <altera.h>
-#include <common.h>
+#include <config.h>
 #include <errno.h>
 #include <fdtdec.h>
 #include <init.h>
index e7500c16f720985f62e05e576630366d392ded5a..b898b6f8f2262e9364390afac5acef3d9578dedc 100644 (file)
@@ -3,7 +3,7 @@
  *  Copyright (C) 2012-2017 Altera Corporation <www.altera.com>
  */
 
-#include <common.h>
+#include <config.h>
 #include <cpu_func.h>
 #include <init.h>
 #include <asm/global_data.h>
index 2acdfad07b35be6d583869b2e0587558596e04c5..ad1ef0db1869af08ac1323ed37632664de26aa97 100644 (file)
@@ -5,7 +5,6 @@
  */
 
 #include <altera.h>
-#include <common.h>
 #include <asm/arch/mailbox_s10.h>
 #include <asm/arch/misc.h>
 #include <asm/arch/reset_manager.h>
index 91c6d7c55f134be8c7dd35aeee635b2fbf45f376..b8e40d9a78893641d08997e2e7edb9a8f2263611 100644 (file)
@@ -4,7 +4,6 @@
  *
  */
 
-#include <common.h>
 #include <asm/armv8/mmu.h>
 #include <asm/global_data.h>
 
index f378fce7f02df2032c044489e64795f9e260d081..c8074f47e7604c8adf0edb230e4b783d7911bdf9 100644 (file)
@@ -4,9 +4,9 @@
  */
 
 #include <log.h>
+#include <linux/errno.h>
 #include <asm/arch/pinmux.h>
 #include <asm/io.h>
-#include <common.h>
 #include <fdtdec.h>
 
 static int do_pinctr_pin(const void *blob, int child, const char *node_name)
index 27c030801134e597efcc4bcab85d218f0fd17bce..da335f4292cb1071e1303657ad7fd7e379f86c9b 100644 (file)
@@ -9,7 +9,6 @@
 #include <asm/arch/misc.h>
 #include <asm/arch/reset_manager.h>
 #include <asm/arch/system_manager.h>
-#include <common.h>
 #include <errno.h>
 #include <fdtdec.h>
 #include <wait_bit.h>
index a65860ef021a8b14f8d32a70234b5875bcc554de..9395122dae13854b12ce1e4a7d9f43b86e31feae 100644 (file)
@@ -4,7 +4,7 @@
  */
 
 
-#include <common.h>
+#include <mach/base_addr_ac5.h>
 #include <asm/io.h>
 #include <asm/arch/fpga_manager.h>
 #include <asm/arch/reset_manager.h>
index f47fec10a0c6b24d8b73addf0269b2bccaedcf94..dd0383c7c76dd8634f8be18f975f6276a9f60b39 100644 (file)
@@ -4,7 +4,6 @@
  *
  */
 
-#include <common.h>
 #include <hang.h>
 #include <asm/global_data.h>
 #include <asm/io.h>
index 36d6880141eac34aa038c864da9bfd283662af1c..f8811525da4d33e94c8dafefc9292cb53169b99b 100644 (file)
@@ -3,7 +3,7 @@
  *  Copyright (C) 2013 Altera Corporation <www.altera.com>
  */
 
-#include <common.h>
+#include <config.h>
 #include <errno.h>
 #include <asm/io.h>
 #include <asm/arch/freeze_controller.h>
index 0d4f45f33da546bab114648568f43b402bd04825..802a966ce87a1e0f4a6d7c2b723fca04b380506e 100644 (file)
@@ -4,7 +4,6 @@
  *
  */
 
-#include <common.h>
 #include <hang.h>
 #include <asm/io.h>
 #include <asm/system.h>
index e2db588506436f11ff0f453029cd2b32b387c814..4347bf6e79274be5e6755a3190917601630864aa 100644 (file)
@@ -8,7 +8,6 @@
 #include <asm/arch/secure_vab.h>
 #include <asm/arch/smc_api.h>
 #include <asm/unaligned.h>
-#include <common.h>
 #include <exports.h>
 #include <linux/errno.h>
 #include <linux/intel-smc.h>
index 8ffc7a472b5b9460ee35de117bb96aba0a579fcd..ebaa0b8fa170061803ea32ff8a7174bba1fea470 100644 (file)
@@ -4,10 +4,11 @@
  *
  */
 
-#include <common.h>
 #include <asm/ptrace.h>
 #include <asm/system.h>
+#include <linux/errno.h>
 #include <linux/intel-smc.h>
+#include <linux/string.h>
 
 int invoke_smc(u32 func_id, u64 *args, int arg_len, u64 *ret_arg, int ret_len)
 {
index 3981d2d4f140779f4ed2f276290d2520c2edc3dd..c20376f7f8ef3029293cda16f57f09e6f9a9c628 100644 (file)
@@ -3,14 +3,13 @@
  *  Copyright (C) 2012-2021 Altera Corporation <www.altera.com>
  */
 
-#include <common.h>
+#include <config.h>
 #include <cpu_func.h>
 #include <hang.h>
 #include <init.h>
 #include <asm/global_data.h>
 #include <asm/io.h>
 #include <asm/pl310.h>
-#include <asm/u-boot.h>
 #include <asm/utils.h>
 #include <image.h>
 #include <asm/arch/reset_manager.h>
index ee5a9dc1e2f5059c52ea254c655a37046dd5a0af..52617a39ccaf96b1a655906f41b0083d597e9b3a 100644 (file)
@@ -8,9 +8,7 @@
 #include <log.h>
 #include <asm/global_data.h>
 #include <asm/io.h>
-#include <asm/u-boot.h>
 #include <asm/utils.h>
-#include <common.h>
 #include <hang.h>
 #include <image.h>
 #include <spl.h>
index 287fbd1713c63e44dd9b3a89e0aa95947afe075a..df79cfe0f7fafd4e84f27a23a6b66054fcf8afc3 100644 (file)
@@ -3,13 +3,11 @@
  *  Copyright (C) 2012 Altera Corporation <www.altera.com>
  */
 
-#include <common.h>
 #include <hang.h>
 #include <init.h>
 #include <log.h>
 #include <asm/global_data.h>
 #include <asm/io.h>
-#include <asm/u-boot.h>
 #include <asm/utils.h>
 #include <image.h>
 #include <asm/arch/reset_manager.h>
index d056871d29244154db5f4a49f4e5afdd5560fd12..5ff137e5c6fb05754d03ec3cf79c1194040585ed 100644 (file)
@@ -4,7 +4,6 @@
  *
  */
 
-#include <common.h>
 #include <asm/arch/clock_manager.h>
 #include <asm/arch/firewall.h>
 #include <asm/arch/mailbox_s10.h>
@@ -13,7 +12,6 @@
 #include <asm/arch/system_manager.h>
 #include <asm/global_data.h>
 #include <asm/io.h>
-#include <asm/u-boot.h>
 #include <asm/utils.h>
 #include <dm/uclass.h>
 #include <hang.h>
index c20e87cdbef3b69ab9384c85d5fa43c64d218049..53852cb744391886dba962e7df197af408018d22 100644 (file)
@@ -9,9 +9,7 @@
 #include <log.h>
 #include <asm/global_data.h>
 #include <asm/io.h>
-#include <asm/u-boot.h>
 #include <asm/utils.h>
-#include <common.h>
 #include <debug_uart.h>
 #include <image.h>
 #include <spl.h>
index ba6efc1d86418bc09581a8515a36207059043f51..4fe67ea081127044c4d21cb849e342a48f50f4d7 100644 (file)
@@ -4,7 +4,6 @@
  *
  */
 
-#include <common.h>
 #include <spl.h>
 
 DECLARE_GLOBAL_DATA_PTR;
index 09caebb3c882a4cdd0bea9457a9564b6a16e84df..c377d1c32c79eb43bc8af59d9610f4a20bbd64bb 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2013-2017 Altera Corporation <www.altera.com>
  */
 
-#include <common.h>
 #include <asm/io.h>
 #include <asm/arch/system_manager.h>
 #include <asm/arch/fpga_manager.h>
index 958bb5107b5b96fd17e3bdc2bdd2c37878552d78..4b42158be9d9731eaa02939f33a4fc3961ec8b68 100644 (file)
@@ -8,7 +8,6 @@
 #include <asm/arch/system_manager.h>
 #include <asm/global_data.h>
 #include <asm/io.h>
-#include <common.h>
 
 DECLARE_GLOBAL_DATA_PTR;
 
index d9e8c84bfcfee74baff9e7193a8338a334380edd..99de5744c48f42491d92bb92daa6a8e01cef5a9c 100644 (file)
@@ -3,7 +3,7 @@
  *  Copyright (C) 2012 Altera Corporation <www.altera.com>
  */
 
-#include <common.h>
+#include <config.h>
 #include <init.h>
 #include <asm/io.h>
 #include <asm/arch/timer.h>
index 84b13ce9d3a93529ec20971a806758e086a7305d..809335863190925048f854c84186f12201e77d9f 100644 (file)
@@ -4,7 +4,6 @@
  *
  */
 
-#include <common.h>
 #include <init.h>
 #include <div64.h>
 #include <asm/io.h>
index e146f2c52901671d009631f237b7d9c98d8dd25a..e74c71cfbb44110e2daeb1bee563bc7a7d2bfb0e 100644 (file)
@@ -4,9 +4,9 @@
  *
  */
 
+#include <vsprintf.h>
 #include <asm/arch/secure_vab.h>
 #include <command.h>
-#include <common.h>
 #include <linux/ctype.h>
 
 static int do_vab(struct cmd_tbl *cmdtp, int flag, int argc,
index 6aa9bb26b4ec1f3c41b74b02a5a042a822110f31..92051d19b737ad761c2da7b28f5835af05ae9f34 100644 (file)
@@ -6,7 +6,6 @@
 
 #include <asm/arch/handoff_soc64.h>
 #include <asm/io.h>
-#include <common.h>
 #include <errno.h>
 #include "log.h"
 
index ce86f04cad1f5a9a82815ca06df2f9b717338c58..43ce329dd10fe2237b7cbae15ba343fcae334ec0 100644 (file)
@@ -3,7 +3,7 @@
  * Copyright (C) 2015 Marek Vasut <marex@denx.de>
  */
 
-#include <common.h>
+#include <config.h>
 #include <errno.h>
 #include <asm/arch/clock_manager.h>
 
index 33ca14c9dc766599539943d1e59609be7250ad75..e494d2eb3f9fd2fed335dd316efec4be83b58629 100644 (file)
@@ -3,8 +3,9 @@
  * Copyright (C) 2015 Marek Vasut <marex@denx.de>
  */
 
-#include <common.h>
 #include <errno.h>
+#include <linux/kernel.h>
+#include <linux/types.h>
 
 /* Board-specific header. */
 #include <qts/pinmux_config.h>
index 0c40ae987613ac30af29e3b491e0349b6cefdc32..e0d0f8f81b7cf180c736fbbdc1bbdc3e9e7d3621 100644 (file)
@@ -3,7 +3,7 @@
  * Copyright (C) 2015 Marek Vasut <marex@denx.de>
  */
 
-#include <common.h>
+#include <config.h>
 #include <asm/arch/clock_manager.h>
 #include <qts/pll_config.h>
 
index 6a0d6b5ead72991ef9119c666040fcb9c33c059d..f13581033e6bf28a0cdd4c9fc7d5e163d0e3475c 100644 (file)
@@ -4,7 +4,6 @@
  *
  */
 
-#include <common.h>
 #include <asm/arch/clock_manager.h>
 #include <asm/io.h>
 #include <asm/arch/handoff_soc64.h>
index cd3a0f6633556c61384cffc1672999e983f2e122..8f3fbaf80c8c61703d0226880821cc5811a2a42b 100644 (file)
@@ -3,8 +3,10 @@
  * Copyright (C) 2015 Marek Vasut <marex@denx.de>
  */
 
-#include <common.h>
+#include <config.h>
 #include <errno.h>
+#include <linux/types.h>
+#include <linux/kernel.h>
 #include <asm/arch/sdram.h>
 
 /* Board-specific header. */
index 0bd8d7b22c4df6297477d52683d48f11857103d2..737e6809f8d310594eff0e90df045afc99bcebae 100644 (file)
@@ -4,7 +4,6 @@
  * Author(s): Patrice Chotard, <patrice.chotard@foss.st.com> for STMicroelectronics.
  */
 
-#include <common.h>
 #include <init.h>
 #include <asm/io.h>
 #include <asm/armv7_mpu.h>
index 158bf40cb97e8fb688ab1523413a3b312ab936a0..ebddf6a7dbcc5f5c48a018127ae0e29b8d7f12e3 100644 (file)
@@ -5,7 +5,7 @@
 
 #define LOG_CATEGORY LOGC_ARCH
 
-#include <common.h>
+#include <config.h>
 #include <log.h>
 #include <linux/libfdt.h>
 #include <asm/arch/sys_proto.h>
index 5b869017ec1abd5823e90d2dea4784ff1c125c8d..9ba7a6c9a892958280c23c0bd0fa2d853b54ebd9 100644 (file)
@@ -5,7 +5,6 @@
 
 #define LOG_CATEGORY UCLASS_MISC
 
-#include <common.h>
 #include <clk.h>
 #include <dm.h>
 #include <log.h>
index c7fe232f86e0cdff6faff1e20f1cccb9c56f8c3e..0cb3c7a9fa440c07cc9cda12d21e61bf043d78cb 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2019, STMicroelectronics - All Rights Reserved
  */
 
-#include <common.h>
 #include <command.h>
 #include <console.h>
 #include <log.h>
index adee6e05b636bd611af656353a506d9dd18ccfbd..967fa4e06c0e8ddf0f14f84199f407e97a8f0dca 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2020, STMicroelectronics - All Rights Reserved
  */
 
-#include <common.h>
 #include <bootm.h>
 #include <command.h>
 #include <dfu.h>
index 35bed3199422812b54bd53b329722d5d086fa775..07c5e0456f824bf5f3b8ef5c795da50ef319056f 100644 (file)
@@ -3,12 +3,12 @@
  * Copyright (C) 2020, STMicroelectronics - All Rights Reserved
  */
 
-#include <common.h>
 #include <console.h>
 #include <dm.h>
 #include <dfu.h>
 #include <malloc.h>
 #include <serial.h>
+#include <time.h>
 #include <watchdog.h>
 #include <asm/arch/sys_proto.h>
 #include <dm/lists.h>
index d18455bf36f1d90f7b3a6ec014ff735eff7f2869..4b1ed50e9fe5d87503d8afb973470f47439fbb9b 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2020, STMicroelectronics - All Rights Reserved
  */
 
-#include <common.h>
 #include <dfu.h>
 #include <g_dnl.h>
 #include <usb.h>
index fb1208fc5d570bb3e4676c308bf67f56c57f626f..78b12fcbb6acafdca7ead328f8eb671a52297843 100644 (file)
@@ -5,7 +5,6 @@
 
 #define LOG_CATEGORY LOGC_ARCH
 
-#include <common.h>
 #include <dm.h>
 #include <image.h>
 #include <init.h>
index 524778f00c67d409017d3767cce57601f35ef119..478c3efae73e65317c8430ea735f1f68c742bbe9 100644 (file)
@@ -5,7 +5,6 @@
 
 #define LOG_CATEGORY LOGC_ARCH
 
-#include <common.h>
 #include <clk.h>
 #include <cpu_func.h>
 #include <debug_uart.h>
index d0b6c3cc5a5595ba301c4c97e0045c848c994ffd..e1e4dc04e01cd18c2a318f2bafdcb9e7d34fc5ba 100644 (file)
@@ -5,11 +5,11 @@
 
 #define LOG_CATEGORY LOGC_ARCH
 
-#include <common.h>
 #include <fdtdec.h>
 #include <fdt_support.h>
 #include <log.h>
 #include <tee.h>
+#include <mach/stm32.h>
 #include <asm/arch/sys_proto.h>
 #include <dt-bindings/pinctrl/stm32-pinfunc.h>
 #include <linux/io.h>
index 4f2379df45fbfb8a4c2b8a6f15f80f6c2b2b0fd7..7772546b2fefbee2e7e55bce77ca7e012c363a10 100644 (file)
@@ -4,7 +4,6 @@
  */
 
 #include <config.h>
-#include <common.h>
 #include <asm/armv7.h>
 #include <asm/cache.h>
 #include <asm/gic.h>
@@ -13,6 +12,7 @@
 #include <asm/secure.h>
 #include <hang.h>
 #include <linux/bitops.h>
+#include <linux/errno.h>
 
 /* PWR */
 #define PWR_CR3                                        0x0c
index 846637ab162e3126063a54a61557156f7b2a6b13..79c44188cc56363cd5d4602e8dd1a5b08d3e464f 100644 (file)
@@ -5,10 +5,10 @@
 
 #define LOG_CATEGORY UCLASS_REGULATOR
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <syscon.h>
+#include <time.h>
 #include <asm/io.h>
 #include <dm/device_compat.h>
 #include <dm/device-internal.h>
index 6c79259b2c82147fb94ea2b575beb34add1658cb..7a8fd3178adff04303d4d23781a9365f10c0b0e7 100644 (file)
@@ -5,7 +5,7 @@
 
 #define LOG_CATEGORY LOGC_ARCH
 
-#include <common.h>
+#include <config.h>
 #include <cpu_func.h>
 #include <dm.h>
 #include <hang.h>
index 845d973ad1b2473341a769cb9f6e25bd525542e6..4a811065fc31655eb644f1076c90501973c63ee2 100644 (file)
@@ -5,7 +5,7 @@
 
 #define LOG_CATEGORY LOGC_ARCH
 
-#include <common.h>
+#include <config.h>
 #include <log.h>
 #include <syscon.h>
 #include <asm/io.h>
index d75ec99d6a17adfdf3746177176815bc17c3d05b..f096fe538d88d3472ef2a00f1e8822f1c9c2eb9d 100644 (file)
@@ -5,7 +5,6 @@
 
 #define LOG_CATEGORY LOGC_ARCH
 
-#include <common.h>
 #include <env.h>
 #include <log.h>
 #include <asm/io.h>
index a2e351d74a7aa1dde520d0814ce6fa16539eb670..8bcbd9793404b8860554acb15c67742397c069ae 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2018, STMicroelectronics - All Rights Reserved
  */
 
-#include <common.h>
 #include <clk.h>
 #include <dm.h>
 #include <syscon.h>
index 9077f86a8b4cffd59f4d87294306041d24608b3d..3666dddca15c3844d58358f0920a4cd9196129d9 100644 (file)
@@ -1,4 +1,3 @@
-#include <common.h>
 #include <asm/arch/dram.h>
 #include <asm/arch/cpu.h>
 
index 0471e8a49e586e87f53e26be38bd5e6421ea5ff7..ceaafd6ec6fac3e6ea1a0d1424eac2f462c01349 100644 (file)
@@ -1,4 +1,3 @@
-#include <common.h>
 #include <asm/arch/dram.h>
 #include <asm/arch/cpu.h>
 
index 232b4fe2df7f226d315e2f16148d9145a67aced3..3faf8d5bd9743cb58944370ddd4f5b1921bacdb0 100644 (file)
@@ -11,7 +11,6 @@
  * SPDX-License-Identifier:    GPL-2.0+
  */
 
-#include <common.h>
 #include <asm/arch/dram.h>
 #include <asm/arch/cpu.h>
 
index b6d6a6874682da9d8340a7e0c1ee1fdd41cc8b70..ce2ffa7a020e9558f5eaf365baa20fcc3c7a9e37 100644 (file)
@@ -11,7 +11,6 @@
  * SPDX-License-Identifier:    GPL-2.0+
  */
 
-#include <common.h>
 #include <asm/arch/dram.h>
 #include <asm/arch/cpu.h>
 
index c11cb8678f64bf746b2245632674072f38b6bb52..e6446b9180da4d54b0fc045bee9b67427d95971c 100644 (file)
@@ -9,7 +9,6 @@
  * SPDX-License-Identifier:    GPL-2.0+
  */
 
-#include <common.h>
 #include <asm/arch/dram.h>
 #include <asm/arch/cpu.h>
 
index 2136ca3a4cb0107221ac074819001ee99e1fea35..afe8e25c7f58c9d4f49ec807bc3b04798bc3be58 100644 (file)
@@ -19,7 +19,6 @@
  * SPDX-License-Identifier:    GPL-2.0+
  */
 
-#include <common.h>
 #include <asm/arch/dram.h>
 #include <asm/arch/cpu.h>
 
index 10008601134ab47390d0135e4ab5fda85b5a09f9..c243b574406de13941851e29bd399ca5fce87298 100644 (file)
@@ -6,7 +6,6 @@
  * SPDX-License-Identifier:    GPL-2.0+
  */
 
-#include <common.h>
 #include <asm/arch/dram.h>
 #include <asm/arch/cpu.h>
 
index bd57e2f6aac2907d5f94e2d2a751bdad1b233327..bc47a4638533c7e0658460d411f677a07ba980c6 100644 (file)
@@ -1,4 +1,3 @@
-#include <common.h>
 #include <asm/arch/dram.h>
 #include <asm/arch/cpu.h>
 
index 532730fe7270aba943f92cce32adf4137cee9e98..1ea620e4ab594634cce575ee1efa19994b43d5da 100644 (file)
@@ -6,7 +6,7 @@
 
 /* Tegra AP (Application Processor) code */
 
-#include <common.h>
+#include <config.h>
 #include <log.h>
 #include <linux/bug.h>
 #include <asm/io.h>
index ea4eac392d96fe3d633f26146db9d4c34a0e0db4..4fbe47a91e1e24bd795fba2132aeb66d689ca242 100644 (file)
@@ -7,7 +7,6 @@
  * Copyright (c) 2015, NVIDIA CORPORATION. All rights reserved.
  */
 
-#include <common.h>
 #include <asm/system.h>
 #include <asm/armv8/mmu.h>
 
index 327d70bd4cc081abfbba0d4e1f7514c069fc62f6..c382e0428603f6c6bc1134cc606de2b0c59dd8f6 100644 (file)
@@ -4,7 +4,7 @@
  *  NVIDIA Corporation <www.nvidia.com>
  */
 
-#include <common.h>
+#include <config.h>
 #include <cpu_func.h>
 #include <dm.h>
 #include <init.h>
index adea12c9b7f9a3bc1cbf2e14ce10360b455a263d..479137e457cb7f77eb1c98c6040626f7bdb992a3 100644 (file)
@@ -4,7 +4,7 @@
  *  NVIDIA Corporation <www.nvidia.com>
  */
 
-#include <common.h>
+#include <config.h>
 #include <dm.h>
 #include <env.h>
 #include <errno.h>
index d7063490e222092e04e634df94e3edafe225ecad..462364abf03846f08aa79a54756dda60c1978f94 100644 (file)
@@ -5,7 +5,6 @@
 
 /* Tegra cache routines */
 
-#include <common.h>
 #include <asm/io.h>
 #include <asm/arch-tegra/ap.h>
 #if IS_ENABLED(CONFIG_TEGRA_GP_PADCTRL)
index 8f5bb2f261a9357aabf9dc581f67c70ccba5027f..c12543d71ac0a2ea81ac54d20eefe2ddfe800ecb 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (c) 2016-2018, NVIDIA CORPORATION.
  */
 
-#include <common.h>
 #include <env.h>
 #include <fdt_support.h>
 #include <fdtdec.h>
index 575da2bdb5a2dc3c5a26273bf19ae7842ae31bbf..157e6c4911a4c35aad72c05fad36e56b9fdc6c96 100644 (file)
@@ -5,7 +5,6 @@
 
 /* Tegra SoC common clock control functions */
 
-#include <common.h>
 #include <div64.h>
 #include <dm.h>
 #include <errno.h>
index 92ff6cb1bf86d6ef4774f4487b5baa68a8b24986..8fa1207e97a8adf17f7cea161895b19fa8d22542 100644 (file)
@@ -24,7 +24,6 @@
  * (C) Copyright 2004 Texas Insturments
  */
 
-#include <common.h>
 #include <command.h>
 #include <cpu_func.h>
 #include <irq_func.h>
index 59ca8aeabac7ba720c9050052a5915ef1455379d..5f2a5917102406ddccf887460786f10d76190cfe 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (c) 2010-2019, NVIDIA CORPORATION.  All rights reserved.
  */
 
-#include <common.h>
 #include <log.h>
 #include <asm/io.h>
 #include <asm/arch/clock.h>
index 893da35e0b9dfcdc5cba70a7e0f5f37ec0f2b87a..49e6a45243adc55c2a2ae8d33b7e3c5327de6562 100644 (file)
@@ -4,7 +4,6 @@
  * (C) Copyright 2010 - 2011 NVIDIA Corporation <www.nvidia.com>
  */
 
-#include <common.h>
 #include <log.h>
 #include <linux/errno.h>
 #include <asm/arch-tegra/crypto.h>
index c11494722bc7aee5a8d9a2ed5a7376511f9232e3..f4ae602d523965fd2f5d47ea70bf18df69df8654 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (c) 2010-2016, NVIDIA CORPORATION.
  */
 
-#include <common.h>
 #include <fdtdec.h>
 #include <stdlib.h>
 #include <asm/arch-tegra/cboot.h>
index 2eea14b5a744a1067f42d5c39d82b3de0bbd71a6..83fad35d4dcc4879db9643b2b0250df04c1442e9 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (c) 2011 The Chromium OS Authors.
  */
 
-#include <common.h>
 #include <asm/global_data.h>
 #include "emc.h"
 #include <asm/io.h>
index 83bd505538411cb7c9ddc5b8739c8dc00b7f3654..e9b5259ac7010126469c07e06eed3aac1f1e7b9e 100644 (file)
@@ -7,7 +7,6 @@
  *  Svyatoslav Ryhel <clamor95@gmail.com>
  */
 
-#include <common.h>
 #include <linux/delay.h>
 #include <asm/io.h>
 
index 36538e7f96adc75a51638c413b121ac79c4e0194..23381759b79716e8e68ba4fe76550398a0dcd1ea 100644 (file)
@@ -5,7 +5,6 @@
 
 /* Tegra vpr routines */
 
-#include <common.h>
 #include <log.h>
 #include <asm/io.h>
 #include <asm/arch/tegra.h>
index 66c1276f4b876cbe90ec0c8e6b7176d5d711bf67..0445d5d48e5cbe877589f8fc29e901e1399e5924 100644 (file)
@@ -3,11 +3,11 @@
  * Copyright (c) 2016, NVIDIA CORPORATION.
  */
 
-#include <common.h>
 #include <cpu_func.h>
 #include <asm/io.h>
 #include <asm/arch-tegra/ivc.h>
 #include <linux/bug.h>
+#include <linux/errno.h>
 #include <linux/printk.h>
 
 #define TEGRA_IVC_ALIGN 64
index c4f5106750b80cc14ce501c2e4a0697e7b051ff2..3f968d4aeae862053dc4e7f26335ebbe1bbb9aa5 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (c) 2018-2019, NVIDIA CORPORATION. All rights reserved.
  */
 
-#include <common.h>
 #include <cpu_func.h>
 #include <log.h>
 #include <asm/global_data.h>
index 631bc04e95061d20b5075df7ab657092dfabaf43..2a2f8467216e82bd943035bde642cdef6837b2eb 100644 (file)
@@ -3,8 +3,8 @@
  * Copyright (c) 2014-2019, NVIDIA CORPORATION.  All rights reserved.
  */
 
-#include <common.h>
 #include <errno.h>
+#include <time.h>
 #include <linux/delay.h>
 
 #include <asm/io.h>
index ed897efc5f07510683104786212ec4a4b040a8d2..5df0eb28c96f4a4a20fcf408707b3924586466bb 100644 (file)
@@ -5,7 +5,6 @@
  *
  * Allen Martin <amartin@nvidia.com>
  */
-#include <common.h>
 #include <debug_uart.h>
 #include <log.h>
 #include <spl.h>
index 5ad586ac17fb079974c682a3e0a5dcda0c6a27a0..11b40480246620d88c8a0dd7e89b93227d0295f1 100644 (file)
@@ -4,7 +4,6 @@
  * NVIDIA Corporation <www.nvidia.com>
  */
 
-#include <common.h>
 #include <init.h>
 #include <linux/ctype.h>
 #if defined(CONFIG_TEGRA124) || defined(CONFIG_TEGRA30)
index 2ee755bc649c69788cf6ac4253eabb6b598181c1..d5cc8ac44dde9c780f6c258c13e4406f8ba543f4 100644 (file)
@@ -6,7 +6,6 @@
 
 /* Tegra114 Clock control functions */
 
-#include <common.h>
 #include <init.h>
 #include <log.h>
 #include <asm/io.h>
index 7d8f080c310caf02ee3b688b0dc7f4c319b33f0a..3fe2d2d73246584b2a3777093b4ae6de96536641 100644 (file)
@@ -4,7 +4,6 @@
  * NVIDIA Corporation <www.nvidia.com>
  */
 
-#include <common.h>
 #include <log.h>
 #include <asm/io.h>
 #include <asm/arch/clock.h>
index ed8b6d963816a45369d1df288944e0d0805ee957..4ac0c10c597d1d2a257a7ea7a655561964aacc92 100644 (file)
@@ -6,7 +6,7 @@
 
 /* Tegra124 Clock control functions */
 
-#include <common.h>
+#include <config.h>
 #include <init.h>
 #include <log.h>
 #include <asm/io.h>
index b1bfe8fb5e139937f5ed9347a20de53d15302700..07892aedd3cbfad645c676730368228d3c199b5d 100644 (file)
@@ -4,7 +4,6 @@
  * NVIDIA Corporation <www.nvidia.com>
  */
 
-#include <common.h>
 #include <log.h>
 #include <asm/io.h>
 #include <asm/arch/ahb.h>
index 3921ffb52af49b5835ecf64a46069c4ffe636944..2294911501e799353b5948f50835f3bba30d81bb 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2017 Google, Inc
  */
 
-#include <common.h>
 #include <dm.h>
 #include <syscon.h>
 
index ab102a6226115a3256059e9a12acbc7d2961331b..a50b681935aa33384d358237dbdf12cb7a9663e2 100644 (file)
@@ -4,7 +4,6 @@
  * Author: Jan Kiszka <jan.kiszka@siemens.com>
  */
 
-#include <common.h>
 #include <asm/io.h>
 #include <asm/psci.h>
 #include <asm/arch/flow.h>
index 69736aa392553194b3a6b71d9fb341442e6a373c..1153444267d33d2730bf672dea9b2f0370f4146c 100644 (file)
@@ -5,9 +5,9 @@
 
 #define pr_fmt(fmt) "tegra-xusb-padctl: " fmt
 
-#include <common.h>
 #include <errno.h>
 #include <log.h>
+#include <time.h>
 #include <dm/of_access.h>
 #include <dm/ofnode.h>
 #include <linux/delay.h>
index b2c44f3d237c60614786305510f399f1fcf3c439..e155b98cf65545b78ea383fa4422290df755ce57 100644 (file)
@@ -4,7 +4,6 @@
  * Copyright (c) 2022, Svyatoslav Ryhel <clamor95@gmail.com>
  */
 
-#include <common.h>
 #include <command.h>
 #include <log.h>
 #include <asm/arch-tegra/crypto.h>
index 109b73bfbe7f14e6266736eb316ad1c8d2ce18b0..6af20e9c782bb7dfd0b7c42f4dbdc1214c1c13ce 100644 (file)
@@ -7,7 +7,6 @@
 
 /* Tegra20 Clock control functions */
 
-#include <common.h>
 #include <errno.h>
 #include <init.h>
 #include <log.h>
index e5b60598f7f7a383c67bc9e3884dc37387191259..1ba3930b5e6ed814626e72d79a020c3cebd64adf 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (c) 2010-2012, NVIDIA CORPORATION.  All rights reserved.
  */
 
-#include <common.h>
 #include <asm/io.h>
 #include <asm/arch/tegra.h>
 #include <asm/arch-tegra/pmc.h>
index 4ba3fb23fd63b64ba61b51dd32ad58cb6f8ea559..207e50aac9053b70e662fb48143a553bb0438199 100644 (file)
@@ -4,7 +4,6 @@
  *  NVIDIA Corporation <www.nvidia.com>
  */
 
-#include <common.h>
 #include <asm/io.h>
 #include <asm/arch/clock.h>
 #include <asm/arch/tegra.h>
index fb5e699c940dac395551b6600ddb74b2c7cb762f..e2ee8f124ac799c533c2b92fe01eb462c4ccbecf 100644 (file)
@@ -3,7 +3,7 @@
  * Copyright (c) 2011 The Chromium OS Authors.
  */
 
-#include <common.h>
+#include <config.h>
 #include <fdtdec.h>
 #include <log.h>
 #include <asm/io.h>
index 05d0668cdbaacc69ec72f8d809f6c8a62e3724ff..f2fe5d0fa9dc09d5c3111c6da6202312265fea58 100644 (file)
@@ -4,7 +4,6 @@
  * (C) Copyright 2010,2011 NVIDIA Corporation <www.nvidia.com>
  */
 
-#include <common.h>
 #include <i2c.h>
 #include <log.h>
 #include <tps6586x.h>
index 5e3a9ebaceb3ed6ef1d8d6d9cb787e057de59298..18034c83a1c216618555c04267b957c68ea30d9d 100644 (file)
@@ -4,7 +4,6 @@
  * NVIDIA Corporation <www.nvidia.com>
  */
 
-#include <common.h>
 #include <asm/global_data.h>
 #include <asm/io.h>
 #include <linux/errno.h>
index 94ce762e01f5886f1737583980eb9c9d53035ffa..65bbe1825356998ceef9ba8eab98a7297d4460f2 100644 (file)
@@ -4,7 +4,7 @@
  * NVIDIA Corporation <www.nvidia.com>
  */
 
-#include <common.h>
+#include <config.h>
 #include <asm/io.h>
 #include <asm/arch/clock.h>
 #include <asm/arch/flow.h>
index 74817e0440b8080ac747bda8c330c1e14a2bd0fa..57ff0b2a19afec2e2fc41086c78779c39b8c2481 100644 (file)
@@ -6,10 +6,10 @@
 
 /* Tegra210 Clock control functions */
 
-#include <common.h>
 #include <errno.h>
 #include <init.h>
 #include <log.h>
+#include <time.h>
 #include <asm/cache.h>
 #include <asm/io.h>
 #include <asm/arch/clock.h>
index 30d0395bb0e58553a6885d8db7084702ff57503c..e409c2842e241a1f9b35337883bd6a1c67319780 100644 (file)
@@ -5,9 +5,9 @@
 
 #define pr_fmt(fmt) "tegra-xusb-padctl: " fmt
 
-#include <common.h>
 #include <errno.h>
 #include <log.h>
+#include <time.h>
 #include <asm/global_data.h>
 #include <dm/of_access.h>
 #include <dm/ofnode.h>
index cff1a3e98d2746800114eef60ceaed504a7cbe3e..250009ea8d8ec59097296ae0407806be444835ed 100644 (file)
@@ -4,9 +4,9 @@
  * Copyright (c) 2022, Svyatoslav Ryhel <clamor95@gmail.com>
  */
 
-#include <common.h>
 #include <command.h>
 #include <log.h>
+#include <vsprintf.h>
 #include <asm/arch-tegra/crypto.h>
 #include "bct.h"
 #include "uboot_aes.h"
index 0af8cde8c64db419199df67a0ab77feea298a1eb..7d61127920be9b2c18739d3d04d5ced7ef8c695e 100644 (file)
@@ -6,7 +6,6 @@
 
 /* Tegra30 Clock control functions */
 
-#include <common.h>
 #include <errno.h>
 #include <init.h>
 #include <log.h>
index 60bbf13ea5259837f19b13ceb6ffbf981702e93e..51a9deab1fdab485567376b2a9458f2d2d25ad3a 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (c) 2010-2014, NVIDIA CORPORATION.  All rights reserved.
  */
 
-#include <common.h>
 #include <log.h>
 #include <asm/io.h>
 #include <asm/arch/clock.h>
index 28fdebe50a331c173cd6b7f196cb9aedd501a479..a3515d903a69525672a242117143a22a12014f45 100644 (file)
@@ -5,7 +5,6 @@
 
 #define pr_fmt(fmt) "tegra-xusb-padctl: " fmt
 
-#include <common.h>
 #include <errno.h>
 #include <log.h>
 #include <linux/printk.h>
index f2d90302f6d2932beac4c839be5485e1272f0dbb..1345b80747e88b076589adac826ec82f4737ab76 100644 (file)
@@ -3,9 +3,9 @@
  * Copyright (c) 2014, NVIDIA CORPORATION.  All rights reserved.
  */
 
-#include <common.h>
 #include <errno.h>
 
+#include <linux/compiler.h>
 #include <asm/arch-tegra/xusb-padctl.h>
 
 struct tegra_xusb_phy * __weak tegra_xusb_phy_get(unsigned int type)
index 05a91346a897310123534471bf9d4f70068c901b..7541b567d0fd0fb0cbd3cf4721ec61d180188e09 100644 (file)
@@ -3,7 +3,7 @@
  * Copyright (C) 2019 Stephan Gerhold <stephan@gerhold.net>
  */
 
-#include <common.h>
+#include <config.h>
 #include <cpu_func.h>
 #include <asm/armv7.h>
 #include <asm/cache.h>
index ab05b8a51b239d26915d43d376986299731ae2fd..6d4c6196c3dfb18f3953fcae32c5cc244c01258e 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2019 Stephan Gerhold <stephan@gerhold.net>
  */
 
-#include <common.h>
 #include <init.h>
 #include <asm/io.h>
 
index e6f1286e71fdf071b5cbd16fcf3a87bc389545b7..0e1164a2680ff116bb2496c2c080de826c0ac6b0 100644 (file)
@@ -12,7 +12,6 @@
 #include <linux/printk.h>
 #include <linux/sizes.h>
 #include <asm/global_data.h>
-#include <asm/u-boot.h>
 
 #include "init.h"
 #include "sg-regs.h"
index d097de7afa632d8aca5eed259fac921a299875c2..61b8fe71b1aefaf26885038a12f2b82b4a9ece61 100644 (file)
@@ -6,7 +6,6 @@
  * Michal Simek <michal.simek@amd.com>
  */
 
-#include <common.h>
 #include <init.h>
 #include <time.h>
 #include <asm/global_data.h>
index a82741e70fc88c65fc0cf740651917b0c5662511..d088e440f638f7d9859cb2a48ba832745db71927 100644 (file)
@@ -6,7 +6,6 @@
  * Michal Simek <michal.simek@amd.com>
  */
 
-#include <common.h>
 #include <init.h>
 #include <asm/armv8/mmu.h>
 #include <asm/cache.h>
index 5e3f44c77822f529d77e8dab8077048c0c1ec648..19943dfdd4ca6300d24445efff5a74cf7fb5e52a 100644 (file)
@@ -4,7 +4,6 @@
  * Michal Simek <michal.simek@amd.com>
  */
 
-#include <common.h>
 #include <init.h>
 #include <time.h>
 #include <asm/global_data.h>
index e4dc305d92884d27a5504603df48036045771a80..363ce3007fd1ce10ab2f12aaf3f9063141c975e8 100644 (file)
@@ -4,7 +4,6 @@
  * Michal Simek <michal.simek@amd.com>
  */
 
-#include <common.h>
 #include <init.h>
 #include <asm/armv8/mmu.h>
 #include <asm/cache.h>
index 2487b482ddb15a6ce5d12622aada083eef13c600..921ca49c3596e83371a636d7be3f7797f109b621 100644 (file)
@@ -4,7 +4,8 @@
  * Siva Durga Prasad Paladugu <siva.durga.prasad.paladugu@amd.com>
  */
 
-#include <common.h>
+#include <config.h>
+#include <linux/string.h>
 #include <asm/io.h>
 #include <asm/arch/hardware.h>
 #include <asm/arch/sys_proto.h>
diff --git a/arch/arm/mach-versatile/Makefile b/arch/arm/mach-versatile/Makefile
deleted file mode 100644 (file)
index 858ca94..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-# SPDX-License-Identifier: GPL-2.0+
-#
-# (C) Copyright 2000-2006
-# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
-
-obj-y  = timer.o
-obj-y  += reset.o
diff --git a/arch/arm/mach-versatile/reset.S b/arch/arm/mach-versatile/reset.S
deleted file mode 100644 (file)
index c7f1225..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0+ */
-/*
- *  armboot - Startup Code for ARM926EJS CPU-core
- *
- *  Copyright (c) 2003  Texas Instruments
- *
- *  ----- Adapted for OMAP1610 OMAP730 from ARM925t code ------
- *
- *  Copyright (c) 2001 Marius Gröger <mag@sysgo.de>
- *  Copyright (c) 2002 Alex Züpke <azu@sysgo.de>
- *  Copyright (c) 2002 Gary Jennejohn <garyj@denx.de>
- *  Copyright (c) 2003 Richard Woodruff <r-woodruff2@ti.com>
- *  Copyright (c) 2003 Kshitij <kshitij@ti.com>
- */
-
-       .align  5
-.globl reset_cpu
-reset_cpu:
-       ldr     r1, rstctl1     /* get clkm1 reset ctl */
-       mov     r3, #0x0
-       strh    r3, [r1]        /* clear it */
-       mov     r3, #0x8
-       strh    r3, [r1]        /* force dsp+arm reset */
-_loop_forever:
-       b       _loop_forever
-
-rstctl1:
-       .word   0xfffece10
diff --git a/arch/arm/mach-versatile/timer.c b/arch/arm/mach-versatile/timer.c
deleted file mode 100644 (file)
index b471412..0000000
+++ /dev/null
@@ -1,62 +0,0 @@
-// SPDX-License-Identifier: GPL-2.0+
-/*
- * (C) Copyright 2003
- * Texas Instruments <www.ti.com>
- *
- * (C) Copyright 2002
- * Sysgo Real-Time Solutions, GmbH <www.elinos.com>
- * Marius Groeger <mgroeger@sysgo.de>
- *
- * (C) Copyright 2002
- * Sysgo Real-Time Solutions, GmbH <www.elinos.com>
- * Alex Zuepke <azu@sysgo.de>
- *
- * (C) Copyright 2002-2004
- * Gary Jennejohn, DENX Software Engineering, <garyj@denx.de>
- *
- * (C) Copyright 2004
- * Philippe Robin, ARM Ltd. <philippe.robin@arm.com>
- */
-
-#include <common.h>
-
-#define TIMER_ENABLE   (1 << 7)
-#define TIMER_MODE_MSK (1 << 6)
-#define TIMER_MODE_FR  (0 << 6)
-#define TIMER_MODE_PD  (1 << 6)
-
-#define TIMER_INT_EN   (1 << 5)
-#define TIMER_PRS_MSK  (3 << 2)
-#define TIMER_PRS_8S   (1 << 3)
-#define TIMER_SIZE_MSK (1 << 2)
-#define TIMER_ONE_SHT  (1 << 0)
-
-int timer_init (void)
-{
-       ulong   tmr_ctrl_val;
-
-       /* 1st disable the Timer */
-       tmr_ctrl_val = *(volatile ulong *)(CFG_SYS_TIMERBASE + 8);
-       tmr_ctrl_val &= ~TIMER_ENABLE;
-       *(volatile ulong *)(CFG_SYS_TIMERBASE + 8) = tmr_ctrl_val;
-
-       /*
-        * The Timer Control Register has one Undefined/Shouldn't Use Bit
-        * So we should do read/modify/write Operation
-        */
-
-       /*
-        * Timer Mode : Free Running
-        * Interrupt : Disabled
-        * Prescale : 8 Stage, Clk/256
-        * Tmr Siz : 16 Bit Counter
-        * Tmr in Wrapping Mode
-        */
-       tmr_ctrl_val = *(volatile ulong *)(CFG_SYS_TIMERBASE + 8);
-       tmr_ctrl_val &= ~(TIMER_MODE_MSK | TIMER_INT_EN | TIMER_PRS_MSK | TIMER_SIZE_MSK | TIMER_ONE_SHT );
-       tmr_ctrl_val |= (TIMER_ENABLE | TIMER_PRS_8S);
-
-       *(volatile ulong *)(CFG_SYS_TIMERBASE + 8) = tmr_ctrl_val;
-
-       return 0;
-}
index 5e1ba8d43ed1920bd2740fb080e0cd803edc9b69..c1b018cf22e92c000e712d6c720b53ab3fa8e991 100644 (file)
@@ -4,7 +4,6 @@
  * Copyright (C) 2013 Xilinx, Inc. All rights reserved.
  */
 #include <clk.h>
-#include <common.h>
 #include <dm.h>
 #include <init.h>
 #include <malloc.h>
index 3b6518c71c90dcd46e31655715f99ee23856dc09..c75e453d57301b6fe4d97f93bac4b0c3d1be01aa 100644 (file)
@@ -3,10 +3,11 @@
  * Copyright (C) 2012 Michal Simek <monstr@monstr.eu>
  * Copyright (C) 2012 Xilinx, Inc. All rights reserved.
  */
-#include <common.h>
+#include <config.h>
 #include <cpu_func.h>
 #include <init.h>
 #include <zynqpl.h>
+#include <linux/errno.h>
 #include <asm/cache.h>
 #include <asm/io.h>
 #include <asm/arch/clk.h>
index 28988ef95b5ac3dca13d63ff86863407361f7d53..b9a2eef5a6f023ecc05b68e6b5f1abd13d863595 100644 (file)
@@ -4,7 +4,7 @@
  * Copyright (C) 2012 - 2017 Xilinx, Inc. All rights reserved.
  */
 
-#include <common.h>
+#include <linux/string.h>
 #include <asm/io.h>
 #include <asm/arch/sys_proto.h>
 #include <asm/arch/hardware.h>
index 5d9f4d23f34bfd7496234d3087521367d7489407..ef877df0fe85125dfc9ab399ccc67d2dd0e413a8 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (c) 2013 - 2017 Xilinx Inc.
  */
 
-#include <common.h>
 #include <asm/io.h>
 #include <malloc.h>
 #include <asm/arch/hardware.h>
index fea1c9b12ad16c9b6c1385a9657d7580d7078f31..8ef12ed65ceb40fc5fc2d7bd3f00b140ec89d8a9 100644 (file)
@@ -2,7 +2,6 @@
 /*
  * (C) Copyright 2014 - 2017 Xilinx, Inc. Michal Simek
  */
-#include <common.h>
 #include <debug_uart.h>
 #include <hang.h>
 #include <image.h>
index 0d368443d824a8427ae8d1ab7c9de43ac6b559d0..9a912dd5bd7cd30fccf42b33878f5b3444b0c35b 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2018 Xilinx, Inc. (Michal Simek)
  */
 
-#include <common.h>
 #include <cpu_func.h>
 #include <init.h>
 #include <asm/armv7_mpu.h>
index 8a2b7fdcbe9fe56daad72563fec843ec0a40d857..9a05fbf9c11b48c5cc6394305ee7ef92630f8fd0 100644 (file)
@@ -7,9 +7,8 @@
  * Christian Taedcke <christian.taedcke@weidmueller.com>
  */
 
-#include <common.h>
 #include <mach/zynqmp_aes.h>
-
+#include <linux/errno.h>
 #include <asm/arch/sys_proto.h>
 #include <cpu_func.h>
 #include <memalign.h>
index 3b05f8455bf5deb33fa7f1984a8c89a0e8cec603..9b573b1746aa0001fad220ac4a9bdf172d849b7a 100644 (file)
@@ -4,7 +4,6 @@
  * Michal Simek <michal.simek@amd.com>
  */
 
-#include <common.h>
 #include <init.h>
 #include <time.h>
 #include <asm/arch/clk.h>
index 6ae27894ecd95972e1d245efdbb1f62b6ccabbd6..07668c94689152c891c47a0674959a36e2542cd3 100644 (file)
@@ -4,9 +4,10 @@
  * Michal Simek <michal.simek@amd.com>
  */
 
-#include <common.h>
 #include <init.h>
 #include <time.h>
+#include <linux/errno.h>
+#include <linux/types.h>
 #include <asm/arch/hardware.h>
 #include <asm/arch/sys_proto.h>
 #include <asm/armv8/mmu.h>
index f547d8e3a5bfe076b6d72154fb83a9482bd850cc..1eef1078951402c42f091400ddba83ae3e71cd7d 100644 (file)
@@ -5,7 +5,6 @@
  *  Jorge Ramirez-Ortiz <jorge@foundries.io>
  */
 
-#include <common.h>
 #include <cpu_func.h>
 #include <asm/arch/hardware.h>
 #include <asm/arch/ecc_spl_init.h>
index dce92438926e471f8a7dadb3e0702675ddd10f6c..b007307e1f368e66eed0da7bebde6fb8b4701bc6 100644 (file)
@@ -5,7 +5,6 @@
  * Michal Simek <michal.simek@amd.com>
  */
 
-#include <common.h>
 #include <asm/io.h>
 #include <asm/arch/hardware.h>
 #include <asm/arch/sys_proto.h>
index 2a9cffbd0f800619bae02822e2cd40fbae03c578..01a13d4c7c060e5bd1e7eec6b5a4cad115514192 100644 (file)
@@ -9,6 +9,8 @@
 #ifndef ZYNQMP_AES_H
 #define ZYNQMP_AES_H
 
+#include <linux/types.h>
+
 struct zynqmp_aes {
        u64 srcaddr;
        u64 ivaddr;
index aff9054212c57bc67bee78d6d8bccdc0ff27704e..9b46a25a1cbe970f1b6e01e2ab2f688549c59003 100644 (file)
@@ -4,14 +4,16 @@
  * Michal Simek <michal.simek@amd.com>
  */
 
-#include <common.h>
+#include <config.h>
 #include <cpu_func.h>
 #include <log.h>
+#include <vsprintf.h>
 #include <zynqmp_firmware.h>
 #include <asm/arch/hardware.h>
 #include <asm/arch/sys_proto.h>
 #include <asm/io.h>
 #include <linux/delay.h>
+#include <linux/string.h>
 
 #define LOCK           0
 #define SPLIT          1
index b4d7f44bbeee37f8ae1e04c2d8e415083b3c5b78..5b4d66359bfb6c01281cd3e50ce0b882be81ee2a 100644 (file)
@@ -4,7 +4,6 @@
  *
  * Michal Simek <michal.simek@amd.com>
  */
-#include <common.h>
 #include <asm/io.h>
 #include <asm/arch/psu_init_gpl.h>
 #include <linux/delay.h>
index 979ff3aef6c28c4f1bde36f8e11312c07201fdca..6b67245f348c5b7198fc8b7bbdaa47d751b7a455 100644 (file)
@@ -5,7 +5,6 @@
  * Michal Simek <michal.simek@amd.com>
  */
 
-#include <common.h>
 #include <image.h>
 #include <init.h>
 #include <log.h>
index c2ef5770a3dfdf924397894962be13e2a4bfa392..93efc722ba8a025ea684246859ee9922242eba33 100644 (file)
@@ -7,6 +7,8 @@
 #ifndef        __ASM_GBL_DATA_H
 #define __ASM_GBL_DATA_H
 
+#include <asm/u-boot.h>
+
 /* Architecture-specific global data */
 struct arch_global_data {
 #ifdef CONFIG_SYS_I2C_FSL
index 3719f11c03c6d1a64cb470f407e391902c9481d5..cf6ae5adddfdcf97e0432e555bc1bca00fc98797 100644 (file)
@@ -8,7 +8,6 @@
 
 #include <config.h>
 #include <init.h>
-#include <asm/u-boot.h>
 #include <asm/global_data.h>
 
 DECLARE_GLOBAL_DATA_PTR;
index cb224bd254236202ed31f57f1decc33516cab56f..521776705786aef848a3ee31e5f1f94cc2a0cb91 100644 (file)
@@ -10,7 +10,6 @@
 #include <log.h>
 #include <spl.h>
 #include <asm/io.h>
-#include <asm/u-boot.h>
 #include <linux/stringify.h>
 
 void board_boot_order(u32 *spl_boot_list)
index 93506dec894e0dfb11ad47eec77eb6e3e96c46f9..bb4112f22a3c99a2b5fbaf5fe064d90637a34831 100644 (file)
@@ -9,6 +9,7 @@
 #define __ASM_GBL_DATA_H
 
 #include <asm/cpuinfo.h>
+#include <asm/u-boot.h>
 
 /* Architecture-specific global data */
 struct arch_global_data {
index 34b7e0bed945ef4267a6a53a763619c3ebade4c2..147a95ecea8bb0f82ba2789bbdc35e1bc0fe2b5b 100644 (file)
@@ -9,6 +9,7 @@
 
 #include <linux/types.h>
 #include <asm/regdef.h>
+#include <asm/u-boot.h>
 
 struct octeon_eeprom_mac_addr {
        u8 mac_addr_base[6];
index 40469d1be0906794406fb09c2bb4f029c943d95b..89846c9723c7fca7094e0a8bbd421c483c6aea08 100644 (file)
@@ -20,7 +20,6 @@
 #include <asm/mipsregs.h>
 #include <asm/addrspace.h>
 #include <asm/system.h>
-#include <asm/u-boot.h>
 
 DECLARE_GLOBAL_DATA_PTR;
 
index 15b2792e619b01c09ffc6aa12a7c89d30a033c97..3fcd0b8465b454f4a3ed4602b232458dfe581360 100644 (file)
@@ -80,6 +80,7 @@ config SOC_MT7621
        bool "MT7621"
        select MIPS_CM
        select MIPS_L2_CACHE
+       select MMC_SUPPORTS_TUNING
        select SYS_CACHE_SHIFT_5
        select SYS_MIPS_CACHE_INIT_RAM_LOAD
        select PINCTRL_MT7621
index de7bfa947f1135660ee9ad65d826a17cc4c92407..792fa01ab9e2d88578db1b933dd7a7de73d96687 100644 (file)
@@ -4,7 +4,7 @@
  * Scott McNutt <smcnutt@psyent.com>
  */
 
-#include <common.h>
+#include <config.h>
 #include <command.h>
 #include <cpu.h>
 #include <cpu_func.h>
index 90cabb67571b813d852af596f90fac4386427d66..27093c4faa3d8525147529150f9e5a55ed9326b3 100644 (file)
@@ -7,7 +7,6 @@
  * Scott McNutt <smcnutt@psyent.com>
  */
 
-#include <common.h>
 #include <command.h>
 #include <irq_func.h>
 #include <asm/nios2.h>
index 087a05097d9e6ffdbf67ae01f77e728542f14333..59690214f14e722af9888f9021d7952b8f2396d8 100644 (file)
@@ -4,8 +4,8 @@
  * Scott McNutt <smcnutt@psyent.com>
  */
 
-#include <common.h>
 #include <hang.h>
+#include <stdio.h>
 #include <asm/ptrace.h>
 
 void trap_handler (struct pt_regs *regs)
index b56e8a5078e04d505e5b4ef5cd1c37385bfcfb40..d9bbd54734e508cfce400ac26dca9398f9d4bcbc 100644 (file)
@@ -7,6 +7,7 @@
 #define __ASM_NIOS2_GLOBALDATA_H_
 
 #include <linux/types.h>
+#include <asm/u-boot.h>
 
 /* Architecture-specific global data */
 struct arch_global_data {
index 657a17c7204fa3863b5a4b3b3d4f8921465c97bd..ce939ff5e15aa958e77f96554643b9cc8033956c 100644 (file)
@@ -4,7 +4,6 @@
  * Scott McNutt <smcnutt@psyent.com>
  */
 
-#include <common.h>
 #include <bootm.h>
 #include <cpu_func.h>
 #include <env.h>
index 5864d8f0f4733453f6791a16c8e0cca5d5874217..8f543f2a2f2664f227b5ba9ed99e0ff87af423c1 100644 (file)
@@ -5,7 +5,6 @@
  * Implemented by fredrik.markstrom@gmail.com and ivarholmqvist@gmail.com
  */
 
-#include <common.h>
 #include <cpu_func.h>
 #include <asm/cache.h>
 #include <asm/global_data.h>
index f6ffe295b8ed8fee526493a34606c823208e317e..e0be938ea9825576baeb93848b1287b4203aab0d 100644 (file)
@@ -9,7 +9,6 @@
  * Derived from the MPC8260 and MPC85xx.
  */
 
-#include <common.h>
 #include <cpu_func.h>
 #include <irq_func.h>
 #include <net.h>
index 3e24752e2f6c162c822eae7e4a10d528ba11798f..9ab5ea313d3a98a36c9919abc3e83fc4250d5c6f 100644 (file)
@@ -6,7 +6,6 @@
  * based on the contribution of Marian Balakowicz <m8@semihalf.com>
  */
 
-#include <common.h>
 #include <irq_func.h>
 #include <mpc83xx.h>
 #include <command.h>
index 33b2151f878c4ccc9b0c8b79f273f1c73d998007..1bd4f2b3449dc9c6690c9d12b4dcb32ef7b7c9fd 100644 (file)
@@ -6,7 +6,6 @@
  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  */
 
-#include <common.h>
 #include <clock_legacy.h>
 #include <asm/global_data.h>
 #include <linux/libfdt.h>
index f9486678af33bf2c36901adf619dbe2c0c627f58..d86c981811e99870336fc8c723616fc772ce1270 100644 (file)
@@ -6,7 +6,6 @@
  * Copyright 2004 Freescale Semiconductor, Inc.
  */
 
-#include <common.h>
 #include <command.h>
 #include <irq_func.h>
 #include <mpc83xx.h>
index 5e02f4094bb11733e885f74a2e7b9b84f87d99b2..ae60be9e8774dfb48fef4455bba55dbe6a48c89d 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright 2011 Freescale Semiconductor, Inc.
  */
 
-#include <common.h>
 #include <log.h>
 #include <asm/fsl_law.h>
 #include <asm/mmu.h>
index 65ef0497c2a13a247347ae0b1288e54dc4d3871e..6f378c4e221ff7f6d22786d1c5b6701a6a2c8267 100644 (file)
@@ -6,7 +6,6 @@
  * with some bits from older board-specific PCI initialization.
  */
 
-#include <common.h>
 #include <init.h>
 #include <pci.h>
 #include <asm/bitops.h>
index 47ca74c5c35686101bf6ec262b5f0a3960a4d746..efa30c6833893088d2c8af045b9940fb6227cb07 100644 (file)
@@ -7,7 +7,6 @@
  *          Anton Vorontsov <avorontsov@ru.mvista.com>
  */
 
-#include <common.h>
 #include <clock_legacy.h>
 #include <pci.h>
 #include <mpc83xx.h>
index 52360703a7da2eeade3f2488f0535b86edfef10c..256dbfe8a4bb0b60b4909b55b8c8ddd23b9db7a9 100644 (file)
@@ -6,7 +6,6 @@
  * based on source code of Shlomi Gridish
  */
 
-#include <common.h>
 #include <linux/errno.h>
 #include <asm/io.h>
 #include <asm/immap_83xx.h>
index d4848b2ec4d5d0d2cde00e0b92b3268dad3fe7c5..d3ca24422a597412c499c847341bfa0d4d38927b 100644 (file)
@@ -9,7 +9,6 @@
  */
 
 #include <config.h>
-#include <common.h>
 #include <asm/io.h>
 #include <asm/fsl_mpc83xx_serdes.h>
 #include <linux/delay.h>
index 6da8fc4381d1f8604f33fa95ee252fc9500cdb7c..e847c03f378b4135b2bd72fca720eeb2e0863998 100644 (file)
@@ -12,7 +12,6 @@
 
 #ifndef CONFIG_MPC83XX_SDRAM
 
-#include <common.h>
 #include <cpu_func.h>
 #include <log.h>
 #include <time.h>
index b7a87fec2f5b44867c1d409754e2a859af3f6e58..72464962613f361864f36fb3012e2afc7a20a0a1 100644 (file)
@@ -8,7 +8,6 @@
 
 #ifndef CONFIG_CLK_MPC83XX
 
-#include <common.h>
 #include <clock_legacy.h>
 #include <mpc83xx.h>
 #include <command.h>
index b55bfaffcaed086ad8d547eac513fe4c649f6429..7036e3fae0c85ecf5ab8bdfb52826ff4868cd9fd 100644 (file)
@@ -3,7 +3,7 @@
  * Copyright (C) 2004-2008 Freescale Semiconductor, Inc.
  */
 
-#include <common.h>
+#include <config.h>
 #include <asm-offsets.h>
 #include <clock_legacy.h>
 #include <mpc83xx.h>
index 94e6323d73653980566d2978a01a0b4bafaa5c44..79ea1a9bb3c907dd350d3ca2e2b5c579f6f0abf7 100644 (file)
@@ -11,7 +11,6 @@
  * exceptions
  */
 
-#include <common.h>
 #include <asm/global_data.h>
 #include <asm/ptrace.h>
 #include <command.h>
index 013a171ed87b04d7afea841a91f06d34c2c6e499..df2f0efe3eda71346f71b079ded7fcab1360c3e8 100644 (file)
@@ -3,7 +3,8 @@
  * Copyright 2012 Freescale Semiconductor, Inc.
  */
 
-#include <common.h>
+#include <config.h>
+#include <linux/kernel.h>
 #include <asm/fsl_portals.h>
 #include <asm/fsl_liodn.h>
 
index 8e18e12f634121b1bf833b25e5c6019e63075c84..25fdb4b042110d55cdc8c16caf2b146ad4cd6456 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright 2012 Freescale Semiconductor, Inc.
  */
 
-#include <common.h>
 #include <asm/fsl_serdes.h>
 #include <asm/processor.h>
 #include <asm/io.h>
index 7921334827402a1d8cb52b753d842b1895375ae5..9ebb3d838fa4e945c6f464f4102e4d1a67ceffde 100644 (file)
@@ -5,7 +5,6 @@
  */
 
 #include <config.h>
-#include <common.h>
 #include <log.h>
 #include <asm/io.h>
 #include <asm/immap_85xx.h>
index e53dd43f31fe998308ea19a1e33927987565c0e8..bbe4a0dd62b0d7ff1f9644514ae2c13c99b58a78 100644 (file)
@@ -4,7 +4,6 @@
  */
 
 #include <config.h>
-#include <common.h>
 #include <log.h>
 #include <asm/io.h>
 #include <asm/immap_85xx.h>
index c7d473d4a1b43dea063f7d0f4ba5f2dba75e0ed0..f91a4d441d3aef6cbbe2f692502baea208688c18 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright 2010-2011 Freescale Semiconductor, Inc.
  */
 
-#include <common.h>
 #include <command.h>
 #include <init.h>
 #include <linux/compiler.h>
index e8a3e82765fc6e7f817c9a0e1ad52ba1913fad5f..6356b02163805ed916784fad12c39145e8ef0eb3 100644 (file)
@@ -9,7 +9,6 @@
  */
 
 #include <config.h>
-#include <common.h>
 #include <cpu_func.h>
 #include <clock_legacy.h>
 #include <display_options.h>
index a67f37e3af96eb23b5f9f9c693bbce6e369f2786..574510fa0883955019e64d90700cbb0e3fccf2c9 100644 (file)
@@ -3,8 +3,9 @@
  * Copyright 2009-2012 Freescale Semiconductor, Inc
  */
 
-#include <common.h>
+#include <asm/ppc.h>
 #include <system-constants.h>
+#include <linux/types.h>
 #include <asm-offsets.h>
 #include <asm/global_data.h>
 #include <asm/processor.h>
index e26436bf5701932cd232edeabb1f17a5cc687845..c56e98d4b49ed7602c5549c4dd42df58ce3055a0 100644 (file)
@@ -6,7 +6,7 @@
  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  */
 
-#include <common.h>
+#include <config.h>
 #include <clock_legacy.h>
 #include <env.h>
 #include <log.h>
index 9b6577e547e573e82850b517bbb40dd58aef5c66..945020f7ecbe1e87c1860e47b26b207f79383167 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright 2012 Freescale Semiconductor, Inc.
  */
 
-#include <common.h>
 #include <log.h>
 #include <asm/fsl_serdes.h>
 #include <asm/immap_85xx.h>
index 7c2de02c4c56b9d9b2907c2be56da88196aeb195..78316ea5ffe24cfc06280064cdf2b2db7cf30b71 100644 (file)
@@ -3,7 +3,7 @@
  * Copyright 2009-2011 Freescale Semiconductor, Inc.
  */
 
-#include <common.h>
+#include <config.h>
 #include <env.h>
 #include <log.h>
 #include <time.h>
index bcbdfac02792ba44a77951f343998a6c067ccfc9..3c98768f22ea87dbfaf29e78fc7e95d993b467c4 100644 (file)
@@ -10,7 +10,7 @@
  * Xianghua Xiao (X.Xiao@motorola.com)
  */
 
-#include <common.h>
+#include <asm/ppc.h>
 #include <irq_func.h>
 #include <log.h>
 #include <time.h>
index 4b8844a4d960b04d8cf40361e4a429a980b85815..af6731cbb3a495c2c05af2dfcbdcc8bfbb980e70 100644 (file)
@@ -3,7 +3,7 @@
  * Copyright 2008-2011 Freescale Semiconductor, Inc.
  */
 
-#include <common.h>
+#include <config.h>
 #include <log.h>
 #include <linux/libfdt.h>
 #include <fdt_support.h>
index 7c47e415f05dd51e12310374b82c227504f18a69..b638f24ed14cc5b4f912e245f226d7bd460f9d80 100644 (file)
@@ -3,7 +3,7 @@
  * Copyright 2008-2011 Freescale Semiconductor, Inc.
  */
 
-#include <common.h>
+#include <config.h>
 #include <cpu_func.h>
 #include <env.h>
 #include <log.h>
index cbcb57fe3a5454ff8e3691f1b94d2aadb2221751..bafff2083b35bca78e8871843027419f752be126 100644 (file)
@@ -5,7 +5,6 @@
  */
 
 #include <config.h>
-#include <common.h>
 #include <log.h>
 #include <asm/io.h>
 #include <asm/immap_85xx.h>
index a48f3c15128584df7095852da26dc3e0b9e8190c..ad979caf6a7de243df10ee0e59b73b7f10df76ae 100644 (file)
@@ -4,7 +4,6 @@
  */
 
 #include <config.h>
-#include <common.h>
 #include <log.h>
 #include <asm/io.h>
 #include <asm/immap_85xx.h>
index 479ee085d3abdb3e0ecfc898f065ce0151151177..924afa096d181089a3b00d0a59085ae49130e6e8 100644 (file)
@@ -4,7 +4,6 @@
  */
 
 #include <config.h>
-#include <common.h>
 #include <log.h>
 #include <asm/io.h>
 #include <asm/immap_85xx.h>
index 56e5ef6468c1f9c788408f567cd8554490a9b264..d38041ef5c2ba9e7951978d5c0a2cae6f31cb83b 100644 (file)
@@ -5,7 +5,6 @@
  */
 
 #include <config.h>
-#include <common.h>
 #include <log.h>
 #include <asm/io.h>
 #include <asm/immap_85xx.h>
index 47f13e3c1cd788ceef22f7ea8af7734f8a97265e..ec0f14ae6a74d81d7bb6c4cf4a4ad7f9ea24fac3 100644 (file)
@@ -4,7 +4,6 @@
  */
 
 #include <config.h>
-#include <common.h>
 #include <log.h>
 #include <asm/io.h>
 #include <asm/immap_85xx.h>
index 7a8f653727efdc60f6d5b22c894d92ad428719fb..6d306d99c32d9ca9bd36041271fe13fc8e88d65b 100644 (file)
@@ -5,7 +5,6 @@
  */
 
 #include <config.h>
-#include <common.h>
 #include <log.h>
 #include <asm/io.h>
 #include <asm/immap_85xx.h>
index 8c5d82ae8ade2a9261f82bcfe643016dd4dce649..49626fc1d1b6c15471d5bd7166a85c518608c341 100644 (file)
@@ -4,7 +4,6 @@
  */
 
 #include <config.h>
-#include <common.h>
 #include <log.h>
 #include <asm/io.h>
 #include <asm/immap_85xx.h>
index 540a6e6e191fbeaa7a5bd4242ce2083e071537d6..ae5227a1eed183ff714beebd9d41b0bf1c21ed12 100644 (file)
@@ -3,7 +3,8 @@
  * Copyright 2011 Freescale Semiconductor, Inc.
  */
 
-#include <common.h>
+#include <config.h>
+#include <linux/kernel.h>
 #include <asm/fsl_portals.h>
 #include <asm/fsl_liodn.h>
 
index 3eca3a69326fe896249728ac6056a7f59150e268..3943859a518831212e4441f4d0dce80fa30b5167 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright 2010-2011 Freescale Semiconductor, Inc.
  */
 
-#include <common.h>
 #include <asm/fsl_serdes.h>
 #include <asm/processor.h>
 #include <asm/io.h>
index 8f645258a5fc49ae3176db25d68a426fffd2ec8b..0675a59414be19292e4de4b6c1d97a38ee0a730f 100644 (file)
@@ -3,7 +3,8 @@
  * Copyright 2010-2011 Freescale Semiconductor, Inc.
  */
 
-#include <common.h>
+#include <config.h>
+#include <linux/kernel.h>
 #include <asm/fsl_portals.h>
 #include <asm/fsl_liodn.h>
 
index ec8234c1c1e5fa3e23376402f4eb80212c0e2b03..b1586f110e86842f809a29777239523c1bb96702 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright 2009-2011 Freescale Semiconductor, Inc.
  */
 
-#include <common.h>
 #include <asm/fsl_serdes.h>
 #include <asm/processor.h>
 #include <asm/io.h>
index db411162022b0a5fb4faabb79a0fceaed1107e8f..15ab4ac93852d10e999ec17cd2b8f478508fe7c4 100644 (file)
@@ -3,7 +3,8 @@
  * Copyright 2010-2011 Freescale Semiconductor, Inc.
  */
 
-#include <common.h>
+#include <config.h>
+#include <linux/kernel.h>
 #include <asm/fsl_portals.h>
 #include <asm/fsl_liodn.h>
 
index 463fa119c9b8b642050348ec283d6b82f1cf3eca..438fd446be36b43aa8157a8e0327eda9105280a4 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright 2009-2010 Freescale Semiconductor, Inc.
  */
 
-#include <common.h>
 #include <asm/io.h>
 #include <asm/fsl_serdes.h>
 #include <asm/processor.h>
index bd05eae2551defe2659f69d4a1331754c9c4038a..0a34e066e94028503af8c1e0b92a1bb6468ca24b 100644 (file)
@@ -3,7 +3,8 @@
  * Copyright 2010-2011 Freescale Semiconductor, Inc.
  */
 
-#include <common.h>
+#include <config.h>
+#include <linux/kernel.h>
 #include <asm/fsl_portals.h>
 #include <asm/fsl_liodn.h>
 
index 2327b2c2a414339d2adf43f068dd954c3ef2de2b..409f2ac938d1f1e50cf9bae791373ed0f693e5e6 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright 2009-2011 Freescale Semiconductor, Inc.
  */
 
-#include <common.h>
 #include <asm/fsl_serdes.h>
 #include <asm/processor.h>
 #include <asm/io.h>
index 6b4cbddcdfe15a403307c720c5c914195673d176..782874d79d7ccf836a2647ff2c85c84f15efe68f 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright 2008-2011 Freescale Semiconductor, Inc.
  */
 
-#include <common.h>
 #include <linux/libfdt.h>
 #include <fdt_support.h>
 
index 3cf41ca76d5bc0c279e3ba9ff7cf3791624c981c..c3f7493efc7e23cc0cec1a696bf2b08772f00e93 100644 (file)
@@ -6,7 +6,7 @@
  * based on source code of Shlomi Gridish
  */
 
-#include <common.h>
+#include <config.h>
 #include <linux/errno.h>
 #include <asm/io.h>
 #include <asm/immap_85xx.h>
index 9af40310b46fccfa726238c865aba49ef5efc2b3..a7e1b3c98a9d358d55b1ee0d1bafd89949233844 100644 (file)
@@ -9,7 +9,6 @@
  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  */
 
-#include <common.h>
 #include <cpu_func.h>
 #include <clock_legacy.h>
 #include <ppc_asm.tmpl>
index ce2b9c21667780d512d14c60fd07a2d01a9d475f..29318fad5f0b0cda591db8779af2bbaf34b0ce3b 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright 2009 Freescale Semiconductor, Inc.
  */
 
-#include <common.h>
 #include <asm/processor.h>
 #include <asm/global_data.h>
 #include <fsl_ifc.h>
index bab076b2b1809f2edc815c7522fb5a3dd00c1ccb..7239d28f9368898d554e8432072f66faa753178d 100644 (file)
@@ -3,7 +3,8 @@
  * Copyright 2014 Freescale Semiconductor, Inc.
  */
 
-#include <common.h>
+#include <config.h>
+#include <linux/kernel.h>
 #include <asm/fsl_portals.h>
 #include <asm/fsl_liodn.h>
 
index 16458e73be13b1d93dc3fc68ce34cbc3324b5525..0d958fe131b51d53056986475e4dc76edc213c17 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright 2014 Freescale Semiconductor, Inc.
  */
 
-#include <common.h>
 #include <asm/fsl_serdes.h>
 #include <asm/processor.h>
 #include <asm/io.h>
index 59f4f9c6692c3c4041554eca8b3375ee0a9bdee1..bb92fc392cc2dcb9e3aa11698e4180e67212ddc2 100644 (file)
@@ -3,7 +3,8 @@
  * Copyright 2012 Freescale Semiconductor, Inc.
  */
 
-#include <common.h>
+#include <config.h>
+#include <linux/kernel.h>
 #include <asm/fsl_portals.h>
 #include <asm/fsl_liodn.h>
 
index 3a7fdef79c2e9de87267fffcb64f47dc2b3af904..2033ebbaa5e65f59bea7500759449bb15629a913 100644 (file)
@@ -3,10 +3,11 @@
  * Copyright 2012 Freescale Semiconductor, Inc.
  */
 
-#include <common.h>
+#include <linux/kernel.h>
 #include <asm/fsl_serdes.h>
 #include <asm/processor.h>
 #include <asm/io.h>
+#include <asm/ppc.h>
 
 
 static u8 serdes_cfg_tbl[][SRDS_MAX_LANES] = {
index 390bb1153758977831e6df9ee8fa4350a4384f03..26a2d745a864a0f266309e4b1197bed160ad5372 100644 (file)
@@ -3,7 +3,8 @@
  * Copyright 2013 Freescale Semiconductor, Inc.
  */
 
-#include <common.h>
+#include <config.h>
+#include <linux/kernel.h>
 #include <asm/fsl_portals.h>
 #include <asm/fsl_liodn.h>
 
index 5f34aab4531e6c219ceb6144130ce76729983397..6702acaf772390f4394c202f2d180a2d83998251 100644 (file)
@@ -5,9 +5,10 @@
  * Shengzhou Liu <Shengzhou.Liu@freescale.com>
  */
 
-#include <common.h>
+#include <linux/kernel.h>
 #include <asm/fsl_serdes.h>
 #include <asm/processor.h>
+#include <asm/ppc.h>
 #include "fsl_corenet2_serdes.h"
 
 struct serdes_config {
index 37ea7788ccfc865ca20bb515eca7d607bcab32f9..c319bf5cff57ca3eb641fd508bdae60f028b0bf0 100644 (file)
@@ -3,7 +3,8 @@
  * Copyright 2012 Freescale Semiconductor, Inc.
  */
 
-#include <common.h>
+#include <config.h>
+#include <linux/kernel.h>
 #include <asm/fsl_portals.h>
 #include <asm/fsl_liodn.h>
 
index 61402e84ef62823726eb11bdd8be06d79ada5a83..36fe34f11ecc8cf959343029207824123ad06e85 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright 2012 Freescale Semiconductor, Inc.
  */
 
-#include <common.h>
 #include <asm/fsl_serdes.h>
 #include <asm/processor.h>
 #include <asm/io.h>
index 2a78f0fe502cb8eedfd4b755e626095bb8d71b47..e0b36f869a9cc68051c8686ef308a30b137c871f 100644 (file)
@@ -6,7 +6,7 @@
  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  */
 
-#include <common.h>
+#include <config.h>
 #include <display_options.h>
 #include <init.h>
 #include <asm/bitops.h>
index 8f451b486248466bef6981af366e950b79c7b25d..db70f07500c570fab1243899ebc3483bf945d4e5 100644 (file)
@@ -19,7 +19,7 @@
  * This file handles the architecture-dependent parts of hardware exceptions
  */
 
-#include <common.h>
+#include <asm/ppc.h>
 #include <asm/global_data.h>
 #include <asm/ptrace.h>
 #include <command.h>
index 73d28f2a4e28aeb98e988e737f30f848c1a31422..82f28749eb17de4c3e3b67cb664db99ecdb9f236 100644 (file)
@@ -8,7 +8,6 @@
  */
 
 #include <config.h>
-#include <common.h>
 #include <command.h>
 #include <cpu_func.h>
 #include <init.h>
index 300429024878139daf7b3b39418025ffc764c98e..f1c1cbc1c3c60f4cbe08a47cbb4c4d02e69d6ff6 100644 (file)
@@ -8,7 +8,6 @@
  * cpu specific common code for 85xx/86xx processors.
  */
 
-#include <common.h>
 #include <cpu_func.h>
 #include <linux/libfdt.h>
 #include <fdt_support.h>
index 29489b46e6cd084f0c6ed6130f6c4bfdfa38d145..843dd191ccf780b627e0fd5b2208202c290c6384 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright 2010-2011 Freescale Semiconductor, Inc.
  */
 
-#include <common.h>
 #include <hang.h>
 #include <init.h>
 #include <asm/fsl_lbc.h>
index 8e1f6c964d3f3f2d8610ee738a39ca72a7dba691..29399bcd8b6866cdc67cd398944f57fc3af0fd39 100644 (file)
@@ -5,12 +5,14 @@
  * Copyright 2012-2016 Freescale Semiconductor, Inc.
  */
 
-#include <common.h>
+#include <config.h>
 #include <log.h>
 #include <linux/bitops.h>
 #include <linux/log2.h>
 #include <malloc.h>
 #include <asm/fsl_pamu.h>
+#include <asm/io.h>
+#include <asm/ppc.h>
 
 struct paace *ppaact;
 struct paace *sec;
index 35409dc8824c1807f7607e57a2fbdac2a3ce6b1f..f16bc1996639d79ee67a195c45209de6594f3f99 100644 (file)
@@ -6,7 +6,6 @@
  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  */
 
-#include <common.h>
 #include <display_options.h>
 #include <asm/bitops.h>
 #include <asm/global_data.h>
index b906279226a52c83ba7dea772caa89cf587efb11..831a11736cc8f135780da00ad7e10042b8890a02 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright 2012-2016 Freescale Semiconductor, Inc.
  */
 
-#include <common.h>
 #include <log.h>
 #include <asm/fsl_pamu.h>
 #include <asm/global_data.h>
index c0b4a1217d338f7c671bd98639d3fb52aaba99f7..0c7288c75740febe9dee1e132028d39e314496a5 100644 (file)
@@ -3,13 +3,13 @@
  * Copyright 2011 Freescale Semiconductor, Inc.
  */
 
-#include <common.h>
 #include <config.h>
 #include <log.h>
 #include <time.h>
 #include <asm/fsl_law.h>
 #include <asm/fsl_serdes.h>
 #include <asm/fsl_srio.h>
+#include <asm/ppc.h>
 #include <linux/delay.h>
 #include <linux/errno.h>
 
index b94faa5408e1013525dceb5d8f23fc8c35a0289c..21dfce4c8c732dd9b9bc79e4cf53d9739c5fd691 100644 (file)
@@ -39,6 +39,8 @@
 #endif
 
 #if defined(__KERNEL__) && !defined(__ASSEMBLY__)
+#include <linux/types.h>
+
 extern void flush_dcache_range(unsigned long start, unsigned long stop);
 extern void clean_dcache_range(unsigned long start, unsigned long stop);
 extern void invalidate_dcache_range(unsigned long start, unsigned long stop);
index 1459db74beea62fa36135195ec4224caf3cc020f..e69e7dbefe88b0803abc2d955e10248dda7a8b61 100644 (file)
@@ -8,7 +8,7 @@
 #ifndef _ASM_FSL_DMA_H_
 #define _ASM_FSL_DMA_H_
 
-#include <asm/types.h>
+#include <linux/types.h>
 
 #ifdef CONFIG_MPC83xx
 typedef struct fsl_dma {
index 0af3d8902ace15906a8d59869cebfd07ac9f5022..4ce869b5c189980989b834c246d991d2183cde5e 100644 (file)
@@ -6,7 +6,9 @@
 #ifndef _FSL_LIODN_H_
 #define _FSL_LIODN_H_
 
-#include <asm/types.h>
+#include <config.h>
+#include <linux/types.h>
+#include <asm/ppc.h>
 #include <fsl_qbman.h>
 
 struct srio_liodn_id_table {
index 54ef4fb629542090cd41a7748d0dbb8413f39e98..021eec72382d4d16a1180c067b211d6a97ca1029 100644 (file)
@@ -6,6 +6,8 @@
 #ifndef _FSL_PORTALS_H_
 #define _FSL_PORTALS_H_
 
+#include <linux/types.h>
+
 /* entries must be in order and contiguous */
 enum fsl_dpaa_dev {
        FSL_HW_PORTAL_SEC,
index ddde4f80c632ee70967323b22cd8a83c51388def..fdf76115233344f9fee397c3153bdc7448599d86 100644 (file)
@@ -7,6 +7,7 @@
 #define __FSL_SERDES_H
 
 #include <config.h>
+#include <linux/types.h>
 
 enum srds_prtcl {
        /*
index f7860122a00b903765850205f1aaf4dad156173c..a9efbbdd3d498c9b25a9850b0dbff996267f1720 100644 (file)
@@ -93,4 +93,6 @@ struct arch_global_data {
 
 #define DECLARE_GLOBAL_DATA_PTR     register volatile gd_t *gd asm ("r2")
 
+#include <asm/u-boot.h>
+
 #endif /* __ASM_GBL_DATA_H */
index cf1300f6e297c23bb7e9388c09eba4404fb5b226..e11300cab20dc299820948c3744c923625ccb2d7 100644 (file)
@@ -12,6 +12,8 @@
 #ifndef __IMMAP_8XX__
 #define __IMMAP_8XX__
 
+#include <linux/types.h>
+
 /* System configuration registers.
 */
 typedef        struct sys_conf {
index 55dcad5df8e9888a2e2602953a6c066a9a7acc39..6491c210f4e25dd2be864416a81cffe74aaa2e3c 100644 (file)
@@ -6,7 +6,6 @@
  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  */
 
-#include <common.h>
 #include <init.h>
 #include <asm/global_data.h>
 
index 75c6bfd2bf8151306cbc3ad7a3560e84d7b358df..f55b5ff8320eb08218e26841c900c57bb264cceb 100644 (file)
@@ -7,7 +7,7 @@
  */
 
 
-#include <common.h>
+#include <config.h>
 #include <bootm.h>
 #include <bootstage.h>
 #include <cpu_func.h>
index c4c5c2d45138ab532151d5414840bcd8de397515..e480b26964948d95f4e9ed944a2e0a1979e0482e 100644 (file)
@@ -4,7 +4,6 @@
  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  */
 
-#include <common.h>
 #include <cpu_func.h>
 #include <asm/cache.h>
 #include <watchdog.h>
index 7e9d4f22f39048ba15bd3049317bf39ac90302fd..fd45e8a790d984e609c2a3d18fb42848b2363989 100644 (file)
@@ -5,7 +5,6 @@
  * (C) Copyright 2000
  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  */
-#include <common.h>
 #include <log.h>
 
 /*
index df312dfa28ef1c8231b717cdb71e9fa151cb04a0..92b8a0bceacf4a89b3b4c0f38984aeb39e38c107 100644 (file)
@@ -7,7 +7,7 @@
  * Gleb Natapov <gnatapov@mrv.com>
  */
 
-#include <common.h>
+#include <asm/ppc.h>
 #include <irq_func.h>
 #include <asm/processor.h>
 #include <watchdog.h>
index 8727d18884c427d4df25751cdf4e09aaa559e5bd..20fcb7eef0ece3fe883aeb67d7bddae96ad8b6df 100644 (file)
@@ -1,4 +1,3 @@
-#include <common.h>
 #include <command.h>
 #include <kgdb.h>
 #include <asm/ptrace.h>
index b638ea7be6117f8c7800dc19dccdb747824da6cb..3a24cbfff3bcfed25e601f34686de427fd9241ce 100644 (file)
@@ -2,7 +2,6 @@
 /*
  * Copyright 2012 Stefan Roese <sr@denx.de>
  */
-#include <common.h>
 #include <config.h>
 #include <log.h>
 #include <spl.h>
index 2e731aa8701dd0da2af00372e06ee715d8d0958f..afd869e4ac30fb64e6483c3adf4c97da21a5f10b 100644 (file)
@@ -10,7 +10,6 @@
  * Sysgo Real-Time Solutions, GmbH <www.elinos.com>
  * Marius Groeger <mgroeger@sysgo.de>
  */
-#include <common.h>
 #include <init.h>
 #include <asm/global_data.h>
 #include <asm/mp.h>
index 8d6babfb83d6edd71785651325fbd2d44836b511..0a0e75e726b0e9cb244c68ec2bd10ba0a5491a0d 100644 (file)
@@ -4,7 +4,6 @@
  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  */
 
-#include <common.h>
 #include <init.h>
 #include <time.h>
 #include <asm/io.h>
index 03014c56dce285422e6ec1b516fc791a2f1a83cf..161335abee18f17fd477ab4c0c4f2edf396b02b1 100644 (file)
@@ -4,7 +4,8 @@
  * Rick Chen, Andes Technology Corporation <rick@andestech.com>
  */
 
-#include <asm/u-boot.h>
+#include <linux/types.h>
+#include <asm/u-boot-riscv.h>
 
 unsigned long do_go_exec(ulong (*entry)(int, char * const []),
                         int argc, char *const argv[])
index 001b2b53c1c8a80b23eff9fe25dcb7e23d96fa10..309422f75e3f31dbaf555f14ced7670e508e7632 100644 (file)
@@ -10,6 +10,7 @@
 #define __ASM_GBL_DATA_H
 
 #include <linux/types.h>
+#include <asm/u-boot.h>
 
 /* Architecture-specific global data */
 struct arch_global_data {
index 0f7dfdd3cf7909e187b02a62be090af70d21fb1e..8c1839935ca1acf4b5a29fbe6bbef53cb05f99fb 100644 (file)
@@ -4,7 +4,6 @@
  * (C) Copyright 2007 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
  */
 
-#include <common.h>
 #include <command.h>
 #include <cpu_func.h>
 #include <asm/cache.h>
index 1b2f50dbe6e4339bc595374f9ad094564dc60442..b0ad685a91b12080a67b039efeba47759e088335 100644 (file)
@@ -4,7 +4,6 @@
  * Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
  */
 
-#include <common.h>
 #include <command.h>
 #include <irq_func.h>
 #include <cpu_func.h>
index 278a3e32ac910b0dcd351f3a8f1cc3cdbc318e18..eace09aeabfa8d45dbd89fe391a2606943d8266f 100644 (file)
@@ -4,7 +4,6 @@
  * Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
  */
 
-#include <common.h>
 #include <irq_func.h>
 
 int interrupt_init(void)
index bf403d3c520ec517dd49c1f4d0db03840cf9703e..c59743374657092ca07b6da0f2bbda2e434cb112 100644 (file)
@@ -1,6 +1,5 @@
 // SPDX-License-Identifier: GPL-2.0+
 
-#include <common.h>
 #include <cpu_func.h>
 #include <asm/processor.h>
 #include <asm/system.h>
index bd946ffd8fd7305d74cd956cc9e35499ffae613c..933c302d68cead1a5b7d4d076fff3a96bfa68fa5 100644 (file)
@@ -10,6 +10,8 @@
 #ifndef        __ASM_SH_GLOBALDATA_H_
 #define __ASM_SH_GLOBALDATA_H_
 
+#include <asm/u-boot.h>
+
 /* Architecture-specific global data */
 struct arch_global_data {
 };
index b31fa6d70311c523075a58d5be1c7bba29858768..53b1c147c2e30a39e37a2f95fa58ef3bf6ebbe21 100644 (file)
@@ -3,7 +3,7 @@
  * Copyright (C) 2016 Vladimir Zapolskiy <vz@mleia.com>
  */
 
-#include <common.h>
+#include <config.h>
 #include <init.h>
 #include <asm/global_data.h>
 
index 05d586b1b6cecc2f2a68650f07a9dd224d877b4f..e298d766b52d0ae666671480916685d7a55caef8 100644 (file)
@@ -7,7 +7,7 @@
  * (c) Copyright 2008 Renesas Solutions Corp.
  */
 
-#include <common.h>
+#include <config.h>
 #include <bootm.h>
 #include <command.h>
 #include <env.h>
index 19c8e3ca3e7be63606f6388155658677c23a2053..5feb19835561f94f41e0ea8db3afbfb9a52fa101 100644 (file)
@@ -10,7 +10,6 @@
  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  */
 
-#include <common.h>
 #include <init.h>
 #include <asm/processor.h>
 #include <asm/io.h>
index 5484c543c6c8284a67716e3dcff824dd1ff16c1b..0ee7dc756ba6701a461b1422ac55c1bb297a182d 100644 (file)
@@ -7,7 +7,6 @@
  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  */
 
-#include <common.h>
 #include <init.h>
 #include <time.h>
 #include <asm/io.h>
index c2e285ff0f62c38e5acb33b05345c233b47d7359..e731c6a7cb36009e6ff6deccfbe3435f02a6b2e5 100644 (file)
@@ -9,10 +9,10 @@
  * Linux SuperH zImage loading and boot
  */
 
-#include <common.h>
 #include <command.h>
 #include <env.h>
 #include <irq_func.h>
+#include <vsprintf.h>
 #include <asm/io.h>
 #include <asm/zimage.h>
 
index da01e71335f1cbd2df719a1b8850a369777ca7ea..13fe695014be9f2085290e16db1dd96508c52952 100644 (file)
@@ -6,10 +6,10 @@
 
 #define LOG_CATEGORY   UCLASS_IRQ
 
-#include <common.h>
 #include <dm.h>
 #include <irq.h>
 #include <log.h>
+#include <time.h>
 #include <acpi/acpi_device.h>
 #include <asm/io.h>
 #include <dt-bindings/interrupt-controller/irq.h>
index c610a7f44770fe2c606f0a0325bbff89087fbbe7..76230aea837d9051179ad730ad4a2103cc88c3bf 100644 (file)
@@ -10,7 +10,6 @@
 
 #define LOG_CATEGORY LOGC_ACPI
 
-#include <common.h>
 #include <cpu.h>
 #include <dm.h>
 #include <log.h>
index 647c9df6a72b27e9006b0345c73b760ab55bb4f3..f480bb1d8c347f43997987cefe381fb9f6510f82 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright 2019 Google LLC
  */
 
-#include <common.h>
 #include <cpu.h>
 #include <dm.h>
 #include <log.h>
index 9a5502617bf553b3d5878cad4aa72b75f5d63041..498b306cd6183cf96c37344ad17ca718b2ee52a6 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright 2019 Google LLC
  */
 
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <asm/cpu_common.h>
index 8f48457ee2209e656510cc06b1ef355f52103617..8798fa79d4c193f32bde7b9e6396c8e41fbb887a 100644 (file)
@@ -5,7 +5,6 @@
  * Portions taken from coreboot
  */
 
-#include <common.h>
 #include <dm.h>
 #include <ec_commands.h>
 #include <init.h>
index fb75e1f709519bd8a46ae4e7e89def11665a0381..f6fbddce922aa8a33fe5b4fcd2be2fb090b90659 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright 2020 B&R Industrial Automation GmbH - http://www.br-automation.com
  */
 
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <asm/arch/fsp_bindings.h>
index c6be707e4eaf537ca92ae3921bac2902cd10456f..19065e17ae04d8bd49be3f142cbe7a3090c469b4 100644 (file)
@@ -4,7 +4,6 @@
  * Written by Simon Glass <sjg@chromium.org>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <asm/arch/iomap.h>
index a9b13c0c7047684ba62cf57757c6d6b89fe239a0..5fca19f90d382b7ecbc545d944fdbf7ee35f8680 100644 (file)
@@ -4,7 +4,6 @@
  * Written by Simon Glass <sjg@chromium.org>
  */
 
-#include <common.h>
 #include <binman.h>
 #include <bootstage.h>
 #include <dm.h>
index 2405dec8525b1af4e3d5aa93164844b4a833de62..9ee362239efefd1a8f38cbb17909a6150cf22ef7 100644 (file)
@@ -11,7 +11,6 @@
 
 #define LOG_CATEGORY UCLASS_NORTHBRIDGE
 
-#include <common.h>
 #include <dm.h>
 #include <dt-structs.h>
 #include <log.h>
index 4be6366f0438fcfc807dd9ce94109194e58e4c98..531ff1cd91f47058d5feefab3066a30a6617235a 100644 (file)
@@ -5,7 +5,6 @@
  * From coreboot Apollo Lake support lpc.c
  */
 
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <spl.h>
index a0f9b031dea31d74f129ec3c0e2249648f595bfd..32190312ff8cd879bddb704cac5ef69522cbf49f 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright 2019 Google LLC
  */
 
-#include <common.h>
 #include <dm.h>
 #include <pch.h>
 #include <spl.h>
index 163119e2e9e9c706d088f9fb17576bb3047cf43b..32fd0344861e9040dbbaa69d21b5178b50d5d4ec 100644 (file)
@@ -8,7 +8,6 @@
 
 #define LOG_CATEGORY UCLASS_ACPI_PMC
 
-#include <common.h>
 #include <dm.h>
 #include <dt-structs.h>
 #include <log.h>
index 5ed7963579eaa43ab1a094e72d8cee9a85509b60..b1503c25140aa542be90cca57aa8c9c0f723a973 100644 (file)
@@ -3,10 +3,10 @@
  * Copyright 2019 Google LLC
  */
 
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <spl.h>
+#include <time.h>
 #include <asm/cpu.h>
 #include <asm/cpu_common.h>
 #include <asm/intel_regs.h>
index 6078d5a200e8841a1cec26accc1a1f73a0f87e49..b351d73e7d8b1ea6021c2afa09515e41766106c9 100644 (file)
@@ -5,7 +5,6 @@
 
 #define LOG_CATEGORY LOGC_BOOT
 
-#include <common.h>
 #include <binman_sym.h>
 #include <bootstage.h>
 #include <dm.h>
index b6bc2ba14f151e5b2329dcb3dea14e9ca8760ef8..f966b9083fc2ea1da32a4695faecdd6907506713 100644 (file)
@@ -4,7 +4,6 @@
  * Take from coreboot project file of the same name
  */
 
-#include <common.h>
 #include <asm/intel_regs.h>
 #include <asm/io.h>
 #include <asm/arch/systemagent.h>
index a9362436000cd1e90c12f6c27e7bce2ea88027e1..7e4c816dcef0d9fd31771242c4df669b3190f162 100644 (file)
@@ -7,7 +7,6 @@
  * Some code from coreboot lpss.c
  */
 
-#include <common.h>
 #include <dm.h>
 #include <dt-structs.h>
 #include <malloc.h>
index ccc4851b1881dfbb94c88a1b5ef9b26dffebbebb..7821964f1fca96c385140b3dc48808c47c4609a9 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2016, Bin Meng <bmeng.cn@gmail.com>
  */
 
-#include <common.h>
 #include <cpu.h>
 #include <dm.h>
 #include <log.h>
index c270426d820818f9576c32fea0db0e9ced27faab..7756a1a4a8e857905817489148a9b17da982c209 100644 (file)
@@ -5,7 +5,6 @@
  * Based on code from coreboot
  */
 
-#include <common.h>
 #include <cpu.h>
 #include <dm.h>
 #include <event.h>
index 08dbd5538f7a9fac331d957d95ff3a4f8ebf3466..3736127239e56be4e464b2bdf0914429bee14159 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2015 Google, Inc
  */
 
-#include <common.h>
 #include <errno.h>
 #include <asm/io.h>
 
index fb3f946c45f90d9225799bd43c4ffb7088b06cbd..9eb456f90d1085ec3a821508aa8fa8665970a70e 100644 (file)
@@ -5,7 +5,6 @@
  * Copyright (C) 2015, Kodak Alaris, Inc
  */
 
-#include <common.h>
 #include <fdtdec.h>
 #include <log.h>
 #include <asm/fsp1/fsp_support.h>
index f73738ce5c01bbe07ec0cc599beea8374d2843fe..839ff4d2bf219dfd3053f2026e27676f16b00eb3 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2014, Bin Meng <bmeng.cn@gmail.com>
  */
 
-#include <common.h>
 #include <init.h>
 #include <mmc.h>
 #include <pci_ids.h>
@@ -11,6 +10,7 @@
 #include <asm/mrccache.h>
 #include <asm/post.h>
 #include <asm/arch/iomap.h>
+#include <asm/u-boot-x86.h>
 #include <linux/bitops.h>
 
 /* GPIO SUS */
index 3345049993d6f301465ccb9bc360909c7068db03..8cf4b628d41a4559dbb11b67a3311283969c5e65 100644 (file)
@@ -3,10 +3,10 @@
  * Copyright (C) 2017, Bin Meng <bmeng.cn@gmail.com>
  */
 
-#include <common.h>
 #include <init.h>
 #include <asm/mrccache.h>
 #include <asm/post.h>
+#include <asm/u-boot-x86.h>
 
 int arch_cpu_init(void)
 {
index d78c6b0feb6ab192dbfa1ceef4dc6953db884e53..8b28d28d13663163ffa6cd15ea98a6f6775b0a95 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2017, Bin Meng <bmeng.cn@gmail.com>
  */
 
-#include <common.h>
 #include <asm/io.h>
 
 #define PCI_DEV_CONFIG(segbus, dev, fn) ( \
index 243298fd5718b23717c561c40cf7ec18db645e4b..aaf3e67f81cc5c142ee9cf8c361fb0cf22bad3e8 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2017, Bin Meng <bmeng.cn@gmail.com>
  */
 
-#include <common.h>
 #include <fdtdec.h>
 #include <log.h>
 #include <asm/fsp1/fsp_support.h>
index 1fa18237809cdfe9d1f9283a8701949bd94ce15c..90b2449475e56d2dc457a06d3cfa351cb3059412 100644 (file)
@@ -9,7 +9,6 @@
 
 #define LOG_CATEGORY UCLASS_SYSCON
 
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <pci.h>
index cbd4a3b67973c46afa78c4b5e8b237e9a932682f..dc6717eca40ea8c307a2a6bed9c93fd999716061 100644 (file)
@@ -5,7 +5,6 @@
  * Based on code from coreboot src/soc/intel/broadwell/cpu.c
  */
 
-#include <common.h>
 #include <dm.h>
 #include <cpu.h>
 #include <event.h>
index df5a9675ee4baf380c7cd53fdbc79cd8f9013afe..a48be29599433945311eb6f22eb6ff4500070767 100644 (file)
@@ -4,7 +4,6 @@
  * Written by Simon Glass <sjg@chromium.org>
  */
 
-#include <common.h>
 #include <bloblist.h>
 #include <cpu_func.h>
 #include <debug_uart.h>
@@ -13,6 +12,7 @@
 #include <log.h>
 #include <asm/global_data.h>
 #include <asm/mtrr.h>
+#include <linux/errno.h>
 
 int misc_init_r(void)
 {
index 2049dbfe24a57c43dba1802301febe9dbae91fc2..c43fb7a608b4e411faa79f4724490f589e498659 100644 (file)
@@ -5,7 +5,6 @@
  * Based on code from coreboot src/soc/intel/broadwell/cpu.c
  */
 
-#include <common.h>
 #include <dm.h>
 #include <cpu.h>
 #include <init.h>
index cb5595c930e143dc9c6954a513df9b82b5ebd67f..f8b2a60d09f1ce6231ebec8e1d0cecbde1cdabb9 100644 (file)
@@ -5,7 +5,6 @@
  * Modified from coreboot
  */
 
-#include <common.h>
 #include <errno.h>
 #include <asm/intel_regs.h>
 #include <asm/io.h>
index d2638a4e7a6b840dd60b6162542632663e6b6140..b945693f1cf9e1d2fc3450e071aec94981f65237 100644 (file)
@@ -5,7 +5,6 @@
  * From coreboot broadwell support
  */
 
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <pch.h>
index ae16ce2649922137070943e48cbc0d43912ffa39..3399d822e5b65bbd4822f7a25d83c610f8cd4e4e 100644 (file)
@@ -5,7 +5,6 @@
  * Based on code from coreboot src/soc/intel/broadwell/me_status.c
  */
 
-#include <common.h>
 #include <errno.h>
 #include <log.h>
 #include <asm/arch/me.h>
index 141babc51c3a57c376c8f160a28d3bcb46f34965..d67ab03627d12ab1eaf58cfdaccbbcd13c2fc142 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2011 The Chromium Authors
  */
 
-#include <common.h>
 #include <dm.h>
 #include <asm/global_data.h>
 #include <asm/io.h>
index 37fcddbb9b038c997feb949decad388854583660..2c8b7380d962e36b9ca63c9d9f988672990ce21f 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (c) 2016 Google, Inc
  */
 
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <pch.h>
index 85bd37101ba21cc6c69dbf6344f4940ca1dedd71..b6313c3466a403c04c7b0b6c081facd311805ae7 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2016 Google, Inc
  */
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <fdtdec.h>
index 62fd2e8d2c0e85e0f8376ce54ee425911266e1a6..e1d60915f55a4826aecda60d642d796dc736cbda 100644 (file)
@@ -5,7 +5,6 @@
  * Copyright (C) 2016 Google, Inc.
  */
 
-#include <common.h>
 #include <log.h>
 #include <pci.h>
 #include <asm/io.h>
index df2df7972e98575e2b7b04f3b856284cfbb80472..653d31dd67c551b8bd304725a7f58514e960ac6a 100644 (file)
@@ -6,7 +6,7 @@
  * Copyright (c) 2016 Google, Inc
  */
 
-#include <common.h>
+#include <config.h>
 #include <display_options.h>
 #include <errno.h>
 #include <init.h>
index be3c9e764ef38935031dc8b5920e6f78b67e8cb4..0f67ba9666f60d37f8047d43af78ec2a3c2b1fe0 100644 (file)
@@ -5,7 +5,6 @@
  * From coreboot src/soc/intel/broadwell/sata.c
  */
 
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <asm/global_data.h>
index d30ebee021ead6563ae5e1786a841b9bbff20d6d..cd534a17cf15943b48a24d1f989002dd4bdb8477 100644 (file)
@@ -7,7 +7,6 @@
 
 #define LOG_CATEGORY UCLASS_RAM
 
-#include <common.h>
 #include <dm.h>
 #include <init.h>
 #include <log.h>
index 82fe4c71cd27f17bb65c23b39c46a09b54e97819..d474c79e25efbb2a8f574ff6fbc6b5928c930e7a 100644 (file)
@@ -5,7 +5,6 @@
  * Graeme Russ, graeme.russ@gmail.com.
  */
 
-#include <common.h>
 #include <cpu_func.h>
 #include <event.h>
 #include <fdtdec.h>
index 36661871e9234358aef62c99a39a3b92ac5002f1..566c65a96aedf688c1908f08761efd4e2d6f24cb 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright 2020 Google LLC
  */
 
-#include <common.h>
 #include <init.h>
 
 int dram_init(void)
index 26352df421f7321de2ccb5283b53ebf6330ae48c..013225f129a9c6d34211211e3a7a13f3b9a481e8 100644 (file)
@@ -5,7 +5,6 @@
  * Graeme Russ, <graeme.russ@gmail.com>
  */
 
-#include <common.h>
 #include <init.h>
 #include <asm/e820.h>
 #include <asm/cb_sysinfo.h>
index 3ad611a530c429d77fa02268fd382b23f5752aa7..ec4003c4e77e57d12527921d362167332b5ac14b 100644 (file)
@@ -5,10 +5,10 @@
  * Modified from the coreboot version
  */
 
-#include <common.h>
 #include <bootstage.h>
 #include <asm/arch/timestamp.h>
 #include <asm/cb_sysinfo.h>
+#include <asm/u-boot-x86.h>
 #include <linux/compiler.h>
 
 static struct timestamp_table *ts_table  __section(".data");
index ce55efc454bfa35b7939e300737b9ddb8bcb26fc..c8433360f28e9c54dd9928b7b64521cf0c3121f9 100644 (file)
@@ -20,7 +20,6 @@
 
 #define LOG_CATEGORY   UCLASS_CPU
 
-#include <common.h>
 #include <bootstage.h>
 #include <command.h>
 #include <cpu_func.h>
index 59da41f383336787bf26a75d4d841297ef369514..6c53f0ea821fcc0f9eb34fb8b00f34d549c4ae57 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2015, Bin Meng <bmeng.cn@gmail.com>
  */
 
-#include <common.h>
 #include <cpu.h>
 #include <dm.h>
 #include <errno.h>
index f754489784a727537a0ab4333ae1d31d02a612a7..218a68c4642dfc15cddc7faa18ba5f5a005aa227 100644 (file)
@@ -3,11 +3,11 @@
  * Copyright (c) 2015 Google, Inc
  */
 
-#include <common.h>
 #include <cpu_func.h>
 #include <fdtdec.h>
 #include <init.h>
 #include <netdev.h>
+#include <asm/u-boot-x86.h>
 
 int arch_cpu_init(void)
 {
index 708bfbe7ee488d6f6e8a9915a9eb89bcdd8238e8..642a87a37d8b2aeb65cca9adaf7506511f5ba78f 100644 (file)
@@ -4,7 +4,6 @@
  * Written by Simon Glass <sjg@chromium.org>
  */
 
-#include <common.h>
 #include <cpu_func.h>
 #include <efi.h>
 #include <efi_api.h>
@@ -17,6 +16,7 @@
 #include <asm/e820.h>
 #include <asm/global_data.h>
 #include <asm/post.h>
+#include <asm/u-boot-x86.h>
 
 DECLARE_GLOBAL_DATA_PTR;
 
index 56f3326146ca6c2158878771910644f162a23068..6fe400711402d375b7e74ecb4f5f11695944b8c9 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (c) 2015 Google, Inc
  */
 
-#include <common.h>
 #include <efi.h>
 #include <init.h>
 #include <asm/global_data.h>
index 8882532ebf3ad06ad387e2d99c606106abfb6583..db2727d74851562d4f222d6a26327290d36169dd 100644 (file)
@@ -18,7 +18,6 @@
  * src/arch/x86/lib/cpu.c
  */
 
-#include <common.h>
 #include <cpu_func.h>
 #include <init.h>
 #include <log.h>
@@ -32,6 +31,7 @@
 #include <asm/msr.h>
 #include <asm/mtrr.h>
 #include <asm/processor-flags.h>
+#include <asm/u-boot-x86.h>
 
 DECLARE_GLOBAL_DATA_PTR;
 
index f3f3527237f2ecfe6bc828823f6f7d6d68721fbd..b3f4214acdb7729872b66a848d7961e47357871e 100644 (file)
@@ -10,7 +10,6 @@
  *  Copyright (C) 1991, 1992  Linus Torvalds
  */
 
-#include <common.h>
 #include <dm.h>
 #include <efi_loader.h>
 #include <hang.h>
index d94ec208f65d58cb1dced468013f7787a3f15c86..29676b4abfae66eed7897dfc7150c5e8db578286 100644 (file)
@@ -8,7 +8,6 @@
  * Modified from coreboot src/soc/intel/common/block/acpi.c
  */
 
-#include <common.h>
 #include <bloblist.h>
 #include <cpu.h>
 #include <dm.h>
index 00308dbdef9bc62333e3094d86d2bb21f85020f9..46d9ede09cb0faee04025e2ec11b9167aeca122a 100644 (file)
@@ -10,7 +10,6 @@
  * Copyright (C) 2012 Kyösti Mälkki <kyosti.malkki@gmail.com>
  */
 
-#include <common.h>
 #include <asm/microcode.h>
 #include <asm/msr-index.h>
 #include <asm/mtrr.h>
index 8f489e6c651c0203f7fa8743b38247837bb3949a..e7f4191304298eb7c37f9eef5c28e608763e728a 100644 (file)
@@ -7,7 +7,6 @@
  * Some code taken from coreboot cpulib.c
  */
 
-#include <common.h>
 #include <cpu.h>
 #include <dm.h>
 #include <errno.h>
index 1c0dcedb5824473e362d75d2c847b44c0fcedf08..48b2ef253cbd23abb942a884c38548dfa2fca859 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (c) 2016 Google, Inc
  */
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <handoff.h>
index 5d3944dee2c84858d55a01b34343c464b8185f14..e1d536be21224e6ef83d65ec4ee6154c60406800 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright 2019 Google LLC
  */
 
-#include <common.h>
 #include <asm/io.h>
 #include <asm/cpu_common.h>
 #include <asm/fast_spi.h>
index 61ec5391b0942f9dd8c862b080f299237b84b8e4..75fa4e01d8ad481cae8de61d3a0df2ee321b1073 100644 (file)
@@ -6,7 +6,6 @@
  * Modified from coreboot src/drivers/wifi/generic.c
  */
 
-#include <common.h>
 #include <log.h>
 #include <acpi/acpigen.h>
 #include <acpi/acpi_device.h>
index 1eed21d8cdf85c57b6010ddaeeb5ee57e05b08cf..78caff0dc123b066392d970d0dea9ddc4c869de4 100644 (file)
@@ -6,7 +6,6 @@
  * Modified from coreboot src/soc/intel/gma/opregion.c
  */
 
-#include <common.h>
 #include <binman.h>
 #include <bloblist.h>
 #include <dm.h>
index ec73b3d89312adc5d1d4b08e28b1dc0d63841dc4..6d3184f969f92b6b30716ce2bfb8245c81371d00 100644 (file)
@@ -9,7 +9,6 @@
  * Taken from coreboot itss.c
  */
 
-#include <common.h>
 #include <dm.h>
 #include <dt-structs.h>
 #include <irq.h>
index af68c0f079c42282f11a85acb7e6246a3c166a81..f2bdf8c1e8780d388c2e64d4ec040fda95e03b2e 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (c) 2016 Google, Inc
  */
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <fdtdec.h>
index 26a2d2d1e36d9e0a270cf1153f14ca227a221a61..44cd3f0ca5f642449fab6a3901f4587fd4ab3696 100644 (file)
@@ -7,7 +7,6 @@
  * Some code from coreboot lpss.c
  */
 
-#include <common.h>
 #include <dm.h>
 #include <pci.h>
 #include <asm/io.h>
index abc5f6fbc77bc307848f1b66225ea772fd1b9aba..a09bd5029ebb7660eef29de4629b7281b5a3b308 100644 (file)
@@ -5,7 +5,6 @@
  * Copyright (C) 2011 The Chromium OS Authors. All rights reserved.
  */
 
-#include <common.h>
 #include <log.h>
 #include <asm/arch/me.h>
 
index 4d8e1d210838718b493bab85481bc10f4c8bd326..6cad2727075ce813df3fbe3d424fc7486ec47449 100644 (file)
@@ -6,7 +6,6 @@
  * Microcode update for Intel PIII and later CPUs
  */
 
-#include <common.h>
 #include <errno.h>
 #include <fdtdec.h>
 #include <log.h>
index ff959d1bd8d859ef62e553a79d81bec2e213a576..c834c05d130807bf8750efb73829e243a44f711f 100644 (file)
@@ -5,17 +5,17 @@
 
 #define LOG_CATEGORY   UCLASS_RAM
 
-#include <common.h>
+#include <config.h>
 #include <dm.h>
 #include <init.h>
 #include <log.h>
 #include <spl.h>
 #include <syscon.h>
+#include <time.h>
 #include <asm/cpu.h>
 #include <asm/global_data.h>
 #include <asm/gpio.h>
 #include <asm/intel_regs.h>
-#include <asm/mrc_common.h>
 #include <asm/pch_common.h>
 #include <asm/post.h>
 #include <asm/arch/me.h>
index e4e53f73c08d94ff6245f708f34fb98d3dd5a05e..7aad8f8ca56a4167f4f1bd91be3b57e777ce1968 100644 (file)
@@ -7,7 +7,6 @@
 
 #define LOG_CATEGORY UCLASS_P2SB
 
-#include <common.h>
 #include <dm.h>
 #include <dt-structs.h>
 #include <log.h>
index af82b64a13c75032076efe3ea385da3e9350f12b..c4cc478b3064e0f8035f8f2792ec070c679a4d2c 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (c) 2016 Google, Inc
  */
 
-#include <common.h>
 #include <dm.h>
 #include <asm/pch_common.h>
 
index a3612817c45bb2558fc95f88b3eac7803b119691..a7524435ba0314e6142503400a954004ed3bca43 100644 (file)
@@ -5,12 +5,12 @@
  * Copyright (C) 2012 Google Inc.
  */
 
-#include <common.h>
 #include <log.h>
 #include <asm/cpu.h>
 #include <asm/pci.h>
 #include <asm/report_platform.h>
 #include <asm/arch/pch.h>
+#include <linux/string.h>
 
 static void report_cpu_info(void)
 {
index 4f99de6ece2bc50c642d9f7afc291ee29d930f2f..fa912bac57dd6a879747d0fe715f1bfa603bf25d 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2015, Bin Meng <bmeng.cn@gmail.com>
  */
 
-#include <common.h>
 #include <log.h>
 #include <asm/io.h>
 #include <asm/ioapic.h>
index 766b2451a2cc3e4b8762b22eed17cf6e48569e78..d4dd1816092be874800a5c525a0fa0fc0ef8a4a5 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2015, Bin Meng <bmeng.cn@gmail.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <fdtdec.h>
index 417290f559e9e45d015dc7876704122c7c2e29ea..8ae4798f125ce8e4aea077111d39d9a6444e062a 100644 (file)
@@ -2,7 +2,6 @@
 /*
  * Copyright (C) 2014 Google, Inc
  */
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <fdtdec.h>
index e71a10bfd441014b141c881bb7a9fcce4582c083..d71ab0a6385eb32242103ed964657fae0204201b 100644 (file)
@@ -10,7 +10,6 @@
  * Copyright (C) 2011 Google Inc.
  */
 
-#include <common.h>
 #include <cpu_func.h>
 #include <dm.h>
 #include <errno.h>
index bee1671baf8b673b2a08b9210695142433fc6599..ac868025f8edd17c479878682970a3badaa5a772 100644 (file)
@@ -5,7 +5,6 @@
  * Copyright (C) 2011 The Chromium OS Authors. All rights reserved.
  */
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <log.h>
index 3c4ea6c267f8900ef3f30034efedc0bc99d363d9..19b6ef283bc06db3a0e37c8f839b2be7e7477796 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2016, Bin Meng <bmeng.cn@gmail.com>
  */
 
-#include <common.h>
 #include <fdtdec.h>
 #include <log.h>
 #include <asm/fsp1/fsp_support.h>
index eb3f362e4e99a25b84cb57ae7cab804ed6f9da1d..81b54bb8dda5a35b3c35203dbd1233f05931eb19 100644 (file)
@@ -3,10 +3,10 @@
  * Copyright (C) 2016, Bin Meng <bmeng.cn@gmail.com>
  */
 
-#include <common.h>
 #include <init.h>
 #include <asm/post.h>
 #include <asm/processor.h>
+#include <asm/u-boot-x86.h>
 
 int arch_cpu_init(void)
 {
index f931d2be1b521d2fd83f62b3f13023944c7032c8..17a47edadbb8fbc7032fde9e28bf72e730f2f685 100644 (file)
@@ -5,7 +5,6 @@
  * Copyright (C) 2008-2009 coresystems GmbH
  */
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <fdtdec.h>
index 3906a69796f3d475c3a4f4e54977b1506db169ba..b72de96a277eb0fe8c7bd0a899f5b264303aca87 100644 (file)
@@ -6,7 +6,6 @@
  * Copyright (C) 2011 The Chromium Authors
  */
 
-#include <common.h>
 #include <cpu.h>
 #include <dm.h>
 #include <fdtdec.h>
index 994f8a4ff6a59f0e0622065922cfc9aff6457e23..76e52f38ad8393ad0bfed9c6194e8e3842828c3e 100644 (file)
@@ -6,7 +6,6 @@
  * Copyright (C) 2011 The Chromium Authors
  */
 
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <asm/global_data.h>
index f47ecdffae76ccd2966be111f5c8282d6f489324..4e2484fa956de940f9b9f4658529bd99fb522319 100644 (file)
@@ -4,7 +4,6 @@
  * Copyright (C) 2008-2009 coresystems GmbH
  */
 
-#include <common.h>
 #include <ahci.h>
 #include <dm.h>
 #include <fdtdec.h>
index 95a826da7130e751b1c78b72dba4c8ff83363c1f..bddec6c66b6609326e7c0730411959ee93f35453 100644 (file)
@@ -11,7 +11,6 @@
 
 #define LOG_CATEGORY   UCLASS_RAM
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <fdtdec.h>
index 51dfe23f94d0711a073c83d436e689436dd1956d..d20c9a2a379f11c8aacc8288c9eddab95f830cd5 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (c) 2016 Google, Inc
  */
 
-#include <common.h>
 #include <init.h>
 #include <asm/global_data.h>
 
index c0691454f1293aecc49f7d36f69548012efc5f67..55b1b1833eed9e297e5139608be5ee1eeead1cef 100644 (file)
@@ -6,7 +6,6 @@
  * Copyright (C) 2014 Google, Inc
  */
 
-#include <common.h>
 #include <log.h>
 #include <asm/io.h>
 #include <asm/lapic.h>
index a133a5d8116159d2cc5cca51140c773adff59cfa..aa1f47d7227eb7fb453fe2b6899b343dd5ea79cb 100644 (file)
@@ -5,13 +5,13 @@
  * Based on code from the coreboot file of the same name
  */
 
-#include <common.h>
 #include <cpu.h>
 #include <dm.h>
 #include <errno.h>
 #include <log.h>
 #include <malloc.h>
 #include <qfw.h>
+#include <time.h>
 #include <asm/atomic.h>
 #include <asm/cpu.h>
 #include <asm/global_data.h>
index 9c24ae984e907340dde770cd819128e91aff46aa..50cba5fb88dc49231242d47d8e4cb4eebbbe6d8d 100644 (file)
@@ -16,7 +16,6 @@
  * since the MTRR registers are sometimes in flux.
  */
 
-#include <common.h>
 #include <cpu_func.h>
 #include <log.h>
 #include <sort.h>
index 8a992ed82339f61bec2b872054078096a80fd9c3..a7ad57f6de03f2452ac7b3650261344ff4b6a718 100644 (file)
@@ -8,7 +8,6 @@
  * Daniel Engström, Omicron Ceti AB, <daniel@omicron.se>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <log.h>
index 735b6560843aee7749583b24e958e66553a22c1d..0708a380626f296caaf86fe0f6a587c1c0fdaa01 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2015, Miao Yan <yanmiaobest@gmail.com>
  */
 
-#include <common.h>
 #include <cpu.h>
 #include <dm.h>
 #include <errno.h>
index d83abf00527132bb5838ddf9385d30c780aa0856..62a301c0fd3ea7c3d5d12c4c7ae4e11495102e2f 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2015, Bin Meng <bmeng.cn@gmail.com>
  */
 
-#include <common.h>
 #include <init.h>
 #include <asm/global_data.h>
 #include <asm/post.h>
index ebfe5956442a9320c399335e4968e384d5144171..17a04f86479ecd51907d3bd1463be9493ec1eb46 100644 (file)
@@ -6,7 +6,6 @@
  * (C) Copyright 2019 Bin Meng <bmeng.cn@gmail.com>
  */
 
-#include <common.h>
 #include <env_internal.h>
 #include <malloc.h>
 #include <asm/e820.h>
index 70414556086cc5574936766a983566430d16388f..262584d01f0fff79ad379c010973272720c219e1 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2015, Bin Meng <bmeng.cn@gmail.com>
  */
 
-#include <common.h>
 #include <cpu_func.h>
 #include <init.h>
 #include <pci.h>
@@ -14,6 +13,7 @@
 #include <asm/processor.h>
 #include <asm/arch/device.h>
 #include <asm/arch/qemu.h>
+#include <asm/u-boot-x86.h>
 
 static bool i440fx;
 
index ee00b8fe73279bfa381304fe98acda19dcc114fa..468df5a36e61ae98823a1c2d7f65165867c8bc0b 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2015 Google, Inc
  */
 
-#include <common.h>
 #include <cpu.h>
 #include <dm.h>
 #include <malloc.h>
index 0e18ceab68d4fe55af630cb282abb4c2f0e25fd2..80e94600fc5af04d5180227dc5dc7c89d111c82d 100644 (file)
@@ -3,13 +3,13 @@
  * Copyright (C) 2016, Bin Meng <bmeng.cn@gmail.com>
  */
 
-#include <common.h>
 #include <mapmem.h>
 #include <acpi/acpi_table.h>
 #include <asm/processor.h>
 #include <asm/tables.h>
 #include <asm/arch/global_nvs.h>
 #include <asm/arch/iomap.h>
+#include <linux/string.h>
 
 static int quark_write_fadt(struct acpi_ctx *ctx,
                            const struct acpi_writer *entry)
index ad98f3e07bae04874578ab56b62b37650e57407f..34e576940d4fa1dcb179e9a2dd38828613833376 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2015, Bin Meng <bmeng.cn@gmail.com>
  */
 
-#include <common.h>
 #include <cpu_func.h>
 #include <errno.h>
 #include <fdtdec.h>
index df14779357d5c696593a1cea388aa9c920183c98..3cca6bd4c227b67e47eb46e9c6f9c18831c734b3 100644 (file)
@@ -7,7 +7,6 @@
  * QuarkSocPkg/QuarkNorthCluster/MemoryInit/Pei
  */
 
-#include <common.h>
 #include <asm/arch/mrc.h>
 #include <asm/arch/msg_port.h>
 #include "mrc_util.h"
index ce3c2b8ab426e8f811adaee99ce017d1a3acbd35..be9c36b96c4ff2c7d4a830df692b7fe48504d6dd 100644 (file)
@@ -32,9 +32,9 @@
  * DRAM unit configuration based on Valleyview MRC.
  */
 
-#include <common.h>
 #include <asm/arch/mrc.h>
 #include <asm/arch/msg_port.h>
+#include <asm/u-boot-x86.h>
 #include "mrc_util.h"
 #include "smc.h"
 
index b0bc59b71ef5cc3ae87113c0937e7b5563ab8ca8..85408b3e33529acb7441cc0fe9724daf7e33e073 100644 (file)
@@ -7,12 +7,12 @@
  * QuarkSocPkg/QuarkNorthCluster/MemoryInit/Pei
  */
 
-#include <common.h>
 #include <hang.h>
 #include <asm/arch/device.h>
 #include <asm/arch/mrc.h>
 #include <asm/arch/msg_port.h>
 #include <asm/arch/quark.h>
+#include <asm/u-boot-x86.h>
 #include "mrc_util.h"
 #include "hte.h"
 #include "smc.h"
index d4f8c082ffc2f4dee041e753fb61c4ff7bb89207..6261766cdf886ccaf0eedaa6ee93e64c2d551924 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2015, Bin Meng <bmeng.cn@gmail.com>
  */
 
-#include <common.h>
 #include <asm/arch/device.h>
 #include <asm/arch/msg_port.h>
 #include <asm/arch/quark.h>
index 62b83c228cfba3ac22f344bce947eb457343dd4a..fdf92b2c0c3a5b42216b299ab0ac925149161de7 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2015, Bin Meng <bmeng.cn@gmail.com>
  */
 
-#include <common.h>
 #include <cpu_func.h>
 #include <event.h>
 #include <init.h>
@@ -19,6 +18,7 @@
 #include <asm/arch/device.h>
 #include <asm/arch/msg_port.h>
 #include <asm/arch/quark.h>
+#include <asm/u-boot-x86.h>
 #include <linux/delay.h>
 
 static void quark_setup_mtrr(void)
index b4b3e1204bd5ac6affc8b2c1163b2af9b0bdbeb9..a7e92b3f5c160674870c967bd181b1d609ece676 100644 (file)
@@ -7,11 +7,12 @@
  * QuarkSocPkg/QuarkNorthCluster/MemoryInit/Pei
  */
 
-#include <common.h>
 #include <pci.h>
 #include <asm/arch/device.h>
 #include <asm/arch/mrc.h>
 #include <asm/arch/msg_port.h>
+#include <asm/u-boot-x86.h>
+#include <linux/string.h>
 #include "mrc_util.h"
 #include "hte.h"
 #include "smc.h"
index 381edd0761587b21747b33ee874f92c0f9f02f88..3b5cbdb44f1a3469cf3c87358dd7185d95c53542 100644 (file)
@@ -4,7 +4,6 @@
  * Copyright (C) 2014, Bin Meng <bmeng.cn@gmail.com>
  */
 
-#include <common.h>
 #include <asm/fsp1/fsp_support.h>
 
 void fsp_update_configs(struct fsp_config_data *config,
index 4a008622d19e33b5d4f9b2a251b4aefdb7e0bb6d..7c7eb413f993d0efbdea644b78c186382f0203dd 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2014, Bin Meng <bmeng.cn@gmail.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <init.h>
 #include <dm/device-internal.h>
index fbb33b246e5b5f395c6b7d5a8a32fc07a903f4b7..75ca5273625cd8fab5ebd3dfd165e08b475f0b7d 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2019 Intel Corporation <www.intel.com>
  */
 
-#include <common.h>
 #include <init.h>
 #include <asm/global_data.h>
 #include <linux/sizes.h>
index d28b280890d36060902db7090f6366c6b9538653..4c889dad6d2d4b47d7dd67e86034c995d7ad4d95 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2019 Intel Corporation <www.intel.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <ns16550.h>
index ec5b87cfd63f862b7e5b9a619e4e9e44339d4929..142c9341cf86c041371ea7df2f925a1e49a8b451 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2019 Intel Corporation <www.intel.com>
  */
 
-#include <common.h>
 #include <cpu_func.h>
 #include <init.h>
 #include <log.h>
index 1d37cc9e2b0db384cfe951980fa8a8b71fd4886b..d4d0ef6f855269e2c3f24bc0bdc59f9e77d71d65 100644 (file)
@@ -5,7 +5,6 @@
  * Partially based on acpi.c for other x86 platforms
  */
 
-#include <common.h>
 #include <cpu.h>
 #include <dm.h>
 #include <mapmem.h>
index 23bfa7c18d2c6c114c0f6102fe4886e19e257c26..6afb8646a987aac6e4eebfab7d90b3ae553ade95 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (c) 2018 Emlid Limited
  */
 
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <dm/pinctrl.h>
index 374b262b1348039dbf0acb47def815fefbc5081d..6192f2296b80b646bbcc4cfe6c49636e315b72e7 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (c) 2017 Intel Corporation
  */
 
-#include <common.h>
 #include <init.h>
 #include <log.h>
 #include <asm/e820.h>
index b03bc28f9353aa4cb5e372bac165545273b3323e..f57423a611d2c0ae0d0bd6338e6372796f517c84 100644 (file)
@@ -5,7 +5,6 @@
  * Reset driver for tangier processor
  */
 
-#include <common.h>
 #include <dm.h>
 #include <sysreset.h>
 #include <asm/scu.h>
index 1e2f6cc8b700fdb9dd1396535f1999615c46041a..8a8f7d27a9d19d534daf11c79f3db8ff1cd271f1 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (c) 2017 Intel Corporation
  */
 
-#include <common.h>
 #include <cpu_func.h>
 #include <init.h>
 #include <asm/u-boot-x86.h>
index e2c84cddec8e711d1b1b9f54051fedb0d38e737e..c9b402c4dc73396f82f7a581d39631aded0cc6d3 100644 (file)
@@ -5,7 +5,6 @@
  * Copyright (C) 2011 The Chromium Authors.
  */
 
-#include <common.h>
 #include <log.h>
 #include <asm/cpu.h>
 #include <asm/global_data.h>
index 5ea746ecce4ddb15b9fc643ba2327ca2a1c8f5a5..80eab71031529e3db98855df8042957b48fdcfd8 100644 (file)
@@ -4,7 +4,6 @@
  * Written by Simon Glass <sjg@chromium.org>
  */
 
-#include <common.h>
 #include <cpu_func.h>
 #include <debug_uart.h>
 #include <init.h>
index 634f7660c03f9e9fa472a512f846afaa1871a506..b84ff798814edc0849b64c8b2bb3fda90b3adf9b 100644 (file)
@@ -4,7 +4,6 @@
  * Written by Simon Glass <sjg@chromium.org>
  */
 
-#include <common.h>
 #include <irq_func.h>
 #include <asm/processor-flags.h>
 
index 691b67ff68ab97ead8d95920894d50c86d3fd57b..294511e6ebabadf6460b6f9096a14d6a8391c710 100644 (file)
@@ -4,7 +4,6 @@
  * Written by Simon Glass <sjg@chromium.org>
  */
 
-#include <common.h>
 #include <init.h>
 
 DECLARE_GLOBAL_DATA_PTR;
index 2353426cd6d2d0d15d35bab7542da4ccff5892b0..40c92a549cdfa39e325d5d7372d9f4b2dc1bd9bc 100644 (file)
@@ -10,6 +10,8 @@
 #ifndef _MRC_H_
 #define _MRC_H_
 
+#include <linux/types.h>
+
 #define MRC_VERSION    0x0111
 
 /* architectural definitions */
index 9527fdad3fd42ee0e5e7563a61dfa947333901f0..98a9360d5435ef35e0df821f9d6331c7e714ebdb 100644 (file)
@@ -34,6 +34,8 @@
 
 #ifndef __ASSEMBLY__
 
+#include <linux/types.h>
+
 /**
  * msg_port_setup - set up the message port control register
  *
index feca1983ba89a00f753db131c2e09bbec0e1789c..dec30e2b27f30581223c506712de65fe3d153aff 100644 (file)
@@ -71,6 +71,8 @@
 
 #ifndef __ASSEMBLY__
 
+#include <linux/types.h>
+
 /* variable range MTRR usage */
 enum {
        MTRR_VAR_ROM,
index 12fa395ffd28805c36934931396eb80adfa4b0d3..5864b2700cecc52d6bf5f9024f083fc9a31ca813 100644 (file)
@@ -9,6 +9,7 @@
 #define _COREBOOT_SYSINFO_H
 
 #include <asm/coreboot_tables.h>
+#include <linux/types.h>
 
 /* Maximum number of memory range definitions */
 #define SYSINFO_MAX_MEM_RANGES 32
index 0dfb64babb962d5bdbc6631e171e6919b443d402..54aeffb9889dbf20253c6007703ab147248990b2 100644 (file)
@@ -8,6 +8,9 @@
 #ifndef _COREBOOT_TABLES_H
 #define _COREBOOT_TABLES_H
 
+#include <linux/kernel.h>
+#include <linux/types.h>
+
 struct timestamp_entry {
        u32     entry_id;
        u64     entry_stamp;
index 543a9e69f03af995eb9eaa61f422e5bbd4fdcc49..007aeb7c23eba46983a073cdad7ced7a8fc621c0 100644 (file)
@@ -6,6 +6,8 @@
 #ifndef __EARLY_CMOS_H
 #define __EARLY_CMOS_H
 
+#include <linux/types.h>
+
 /* CMOS actually resides in the RTC SRAM */
 #define CMOS_IO_PORT   0x70
 
index 1ef7f1f0349e6cc31622c7b0c926afd58c3ffe18..06bd80ccc135374b7c6fe93b6816fe8fdb53db0b 100644 (file)
@@ -12,6 +12,7 @@
 #include <linux/types.h>
 #include <asm/processor.h>
 #include <asm/mrccache.h>
+#include <asm/u-boot.h>
 
 enum pei_boot_mode_t {
        PEI_BOOT_NONE = 0,
index aec49b9b815c6e1a1a683c516e9ceeecd1ae844c..5f6691939eb559489c71e885b7d44846155dd9db 100644 (file)
@@ -9,6 +9,8 @@
 #ifndef __x86_asm_handoff_h
 #define __x86_asm_handoff_h
 
+#include <linux/types.h>
+
 /**
  * struct arch_spl_handoff - architecture-specific handoff info
  *
index 857036831492f9376117de4547aaa933ee5b57db..aa478594ec92a8e1788aa95c015b69ae52ef52a6 100644 (file)
@@ -13,6 +13,7 @@
 #define __ASM_ME_COMMON_H
 
 #include <linux/compiler.h>
+#include <linux/string.h>
 #include <linux/types.h>
 #include <pci.h>
 
index f4c4d6c257c528e5d1e501e37cac00c9d49f492b..7c08f7a1d5c05b28b588b595559d58037f70a87c 100644 (file)
@@ -11,6 +11,7 @@
 #include <asm/atomic.h>
 #include <asm/cache.h>
 #include <linux/bitops.h>
+#include <linux/errno.h>
 
 struct udevice;
 
index 155fffabf080639faa75c4704a3cc88bae31f52c..a73a2539ad35fa1962d00539440a91fe950e5b79 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2018, Bin Meng <bmeng.cn@gmail.com>
  */
 
-#include <common.h>
 #include <log.h>
 #include <acpi/acpi_table.h>
 #include <asm/io.h>
index 08e13fdea67f41fffe59ab2d769adfa7e26188fd..880ef31df7d975284f26763a4779e17f057ca2ca 100644 (file)
@@ -7,7 +7,6 @@
 
 #define LOG_CATEGORY   LOGC_ACPI
 
-#include <common.h>
 #include <binman.h>
 #include <dm.h>
 #include <log.h>
index 2c70acbe7b0b91ddc8bf1b2da72a593f2e5abc92..3a1e3318a15b934f97cd54794552733e4593d214 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2017, Bin Meng <bmeng.cn@gmail.com>
  */
 
-#include <common.h>
 #include <acpi/acpi_s3.h>
 #include <acpi/acpi_table.h>
 #include <asm/acpi.h>
index a5683132b014564ea502e959fbc6a4ba71ecdc55..a42a7e6bbd65a90b813f6741d5aee7e4a4d963ac 100644 (file)
@@ -8,7 +8,6 @@
 
 #define LOG_CATEGORY LOGC_ACPI
 
-#include <common.h>
 #include <bloblist.h>
 #include <cpu.h>
 #include <dm.h>
index ea2ec2a90833d516df0369deba0ea767ba7fb4e7..b486f8fb37d634245aaf3e8cde7da45830a96392 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2020 Google LLC
  */
 
-#include <common.h>
 #include <acpi/acpigen.h>
 #include <acpi/acpi_table.h>
 #include <asm/acpigen.h>
index 8df67db65c391d29a7a9a65ce6b3d04599434eca..7b2905dda56c4df16224946f11c19657c282d481 100644 (file)
@@ -11,7 +11,6 @@
  * #defines from the assembly-language output.
  */
 
-#include <common.h>
 #include <asm/global_data.h>
 #include <linux/kbuild.h>
 
index 124058442c55a096b97c37790c01eaabaf33fd8b..165e8ab944f016a268b309444305c9969c27cc77 100644 (file)
@@ -5,7 +5,6 @@
  * Copyright 2021 Google LLC
  */
 
-#include <common.h>
 #include <efi.h>
 #include <init.h>
 #include <asm/cpu.h>
index f146bbd542277d3e968b10071d3369acef41230d..03f7360032c6d496c05640bfdd315c9ac81f3630 100644 (file)
@@ -5,7 +5,6 @@
  * Copyright (C) 2007 Advanced Micro Devices, Inc.
  * Copyright (C) 2009-2010 coresystems GmbH
  */
-#include <common.h>
 #include <compiler.h>
 #include <bios_emul.h>
 #include <irq_func.h>
index d6b4da7e25022203b8339fa49a99f662fd6423e4..b2cf1527b1cd93b738f0e3c894410b2703d30879 100644 (file)
@@ -7,7 +7,6 @@
  * Copyright (C) 2007-2009 coresystems GmbH
  */
 
-#include <common.h>
 #include <log.h>
 #include <asm/pci.h>
 #include "bios_emul.h"
index 050c420e86b69d211750cd3fdbe2ef6b09827d6e..2c889bcd33c587af1b2c3834039d4790347b867e 100644 (file)
@@ -7,7 +7,6 @@
  * Copyright (C) 2001  Erik Mouw (J.A.K.Mouw@its.tudelft.nl)
  */
 
-#include <common.h>
 #include <bootm.h>
 #include <bootstage.h>
 #include <command.h>
index 4facbe5f32fb5d8918baaa0ead75d2c8a6f5bb96..0444a5f89d3c3ae4aa92dc70ff97d69cebcd1fe0 100644 (file)
@@ -14,7 +14,6 @@
  * Marius Groeger <mgroeger@sysgo.de>
  */
 
-#include <common.h>
 #include <command.h>
 #include <malloc.h>
 #include <asm/global_data.h>
index ebb45cdfb5b59df7b3d5b8d1d806d058d37633e5..b4d5fa4af32778ee81592552dbb53e67db3903f1 100644 (file)
@@ -5,9 +5,9 @@
  * Copyright 2021 Google LLC
  */
 
-#include <common.h>
 #include <asm/cb_sysinfo.h>
 #include <asm/e820.h>
+#include <linux/kernel.h>
 
 unsigned int cb_install_e820_map(unsigned int max_entries,
                                 struct e820_entry *entries)
index f7fd9ea5bcbba53067a010bf8855f57cb0351576..ec997fa49cf28a08ad0f7a45257796c6179a42f8 100644 (file)
@@ -6,12 +6,12 @@
  * Copyright (C) 2009 coresystems GmbH
  */
 
-#include <common.h>
 #include <asm/cb_sysinfo.h>
 #include <init.h>
 #include <mapmem.h>
 #include <net.h>
 #include <asm/global_data.h>
+#include <linux/errno.h>
 
 DECLARE_GLOBAL_DATA_PTR;
 
index 05519d851a9d65b1c133252b3f45cb75b0dd5045..33fce5d0a5e51dbd36db431c0bdbfa35827cc0c8 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2016, Bin Meng <bmeng.cn@gmail.com>
  */
 
-#include <common.h>
 #include <malloc.h>
 #include <net.h>
 #include <vesa.h>
index 2bea205f60f93b995b612393d906d2f5bbcf7537..57da889ef49b1d1870e38e96c1ba54f07be7c36b 100644 (file)
@@ -6,7 +6,7 @@
  * Copyright 2014 Google Inc.
  */
 
-#include <common.h>
+#include <linux/types.h>
 
 union overlay64 {
        u64 longw;
index 12fcff123805100deab3e14874c26e501ae7dea4..122b4f7ca01b61b15bfb4b1e20507652911fd59e 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2015, Bin Meng <bmeng.cn@gmail.com>
  */
 
-#include <common.h>
 #include <efi_loader.h>
 #include <asm/e820.h>
 #include <asm/global_data.h>
index f7b3bb2a8e190bd201e455daf587a02502c75dfa..5635d08718fa8baecac00da6dc0ad44625ff3566 100644 (file)
@@ -10,7 +10,6 @@
  * uclass write ops, that data is stored in little-endian mode.
  */
 
-#include <common.h>
 #include <asm/early_cmos.h>
 #include <asm/io.h>
 
index 8f2977a80709af50336b97878f018d33b2f1b3b9..c47e6ca473881c0ea649601ed59f8f75f039dc78 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2014, Bin Meng <bmeng.cn@gmail.com>
  */
 
-#include <common.h>
 #include <cpu_func.h>
 #include <dm.h>
 #include <errno.h>
index cc889a688d8adf3529d040c17f68ed703526bc70..730721dc17685df882bef73c733793e97005da44 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2014, Bin Meng <bmeng.cn@gmail.com>
  */
 
-#include <common.h>
 #include <handoff.h>
 #include <init.h>
 #include <log.h>
index 09d5da8c841a0113e7e899a73440971ab077a2cb..5f7701265a95340dca95ceb8bfa8188c1260af18 100644 (file)
@@ -5,7 +5,6 @@
 
 #define LOG_CATEGORY UCLASS_VIDEO
 
-#include <common.h>
 #include <dm.h>
 #include <init.h>
 #include <log.h>
index fd4d98ef627468e2f16fabefc9c88de4d822774a..19f9f65b2e410f5a9083a8fd0c744ece93bb708f 100644 (file)
@@ -4,7 +4,6 @@
  * Copyright (C) 2014, Bin Meng <bmeng.cn@gmail.com>
  */
 
-#include <common.h>
 #include <log.h>
 #include <asm/fsp/fsp_support.h>
 #include <asm/post.h>
index df18f47675628cd2e2138f744aed733a7c4c0c32..ebf655a11439e371d0a28a8d96a55014a0662e08 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2014, Bin Meng <bmeng.cn@gmail.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <init.h>
index eee9ce54b1ce64ac59b438402c7b0de4cb289f53..f3a8134a3f2f5c3767954bc43f8143cb99a589dc 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2014, Bin Meng <bmeng.cn@gmail.com>
  */
 
-#include <common.h>
 #include <init.h>
 #include <asm/fsp/fsp_support.h>
 #include <asm/global_data.h>
index d84c632f140742f8cc3ab4b6563d5ba3fb4adc46..6e311a12d20bced28d2a6bb947ec41f5ffe57fc1 100644 (file)
@@ -4,7 +4,6 @@
  * Copyright (C) 2014, Bin Meng <bmeng.cn@gmail.com>
  */
 
-#include <common.h>
 #include <log.h>
 #include <asm/fsp1/fsp_support.h>
 #include <asm/post.h>
index d802a86967d5c83ba0220cf4834287d38727de64..45a274c05123a4633608dc0a6e4a1233184baf62 100644 (file)
@@ -4,7 +4,6 @@
  * Written by Simon Glass <sjg@chromium.org>
  */
 
-#include <common.h>
 #include <init.h>
 #include <asm/fsp/fsp_support.h>
 
index a1432239cfc1397717af8871c1b2a476d48f8f46..83c6d7bcc93f5b14ea5739898527412bd3426431 100644 (file)
@@ -6,7 +6,6 @@
 
 #define LOG_CATEGORY LOGC_ARCH
 
-#include <common.h>
 #include <handoff.h>
 #include <init.h>
 #include <log.h>
index aadc08cf3c448ade3ce0816ed1cf9833219ecc3b..ecbadaae75cfb609f3dc8ddf50bd7648d04d201a 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright 2019 Google LLC
  */
 
-#include <common.h>
 #include <binman.h>
 #include <binman_sym.h>
 #include <bootstage.h>
index 022e2cb64e5a52509613bc82aee67b7b97bb85e1..f4817830cc21ad793f51b6c0785830c31c9544d9 100644 (file)
@@ -6,7 +6,6 @@
  * Mostly taken from coreboot fsp2_0/memory_init.c
  */
 
-#include <common.h>
 #include <binman.h>
 #include <bootstage.h>
 #include <dm.h>
index a96d2b183f6e658dfcc338ddbf614134fee6976f..16d30c25a57ac25a805f6fd00ba2eee605af61bb 100644 (file)
@@ -8,7 +8,6 @@
 
 #define LOG_CATEGORY UCLASS_NORTHBRIDGE
 
-#include <common.h>
 #include <binman.h>
 #include <bootstage.h>
 #include <dm.h>
index b2c76582453fac71378f7fa9c513727a67de11d2..808f0eb9d29c506159048016d1904531c3e1e106 100644 (file)
@@ -4,7 +4,6 @@
  * Written by Simon Glass <sjg@chromium.org>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <init.h>
 #include <log.h>
index b35248e5fde7b3c7908d507b298f950bf178796b..46e83aa395ab103ba24ab22dcb337cafc6202365 100644 (file)
@@ -4,7 +4,6 @@
  * Copyright (C) 2014, Bin Meng <bmeng.cn@gmail.com>
  */
 
-#include <common.h>
 #include <asm/hob.h>
 
 /**
index a8d1db188ece9eab5a54fb8d8038956172d70175..8a590c6191faca7cebe69302a8e3bf409ea0002d 100644 (file)
@@ -4,10 +4,10 @@
  * Daniel Engström, Omicron Ceti AB, <daniel@omicron.se>
  */
 
-#include <common.h>
 #include <asm/io.h>
 #include <asm/i8254.h>
 #include <asm/ibmpc.h>
+#include <linux/errno.h>
 
 #define TIMER1_VALUE           18      /* 15.6us */
 #define BEEP_FREQUENCY_HZ      440
index a0e3c09257386c93bd6864c7ad51153a04063d8e..465ff70146f75b6a34f8a7c9bf0319f982246f68 100644 (file)
@@ -13,7 +13,6 @@
  * Programmable Interrupt Controllers.
  */
 
-#include <common.h>
 #include <log.h>
 #include <asm/io.h>
 #include <asm/i8259.h>
index bf0c921577d192a2aaf089c0ce9dcc9cd8a8b5d3..bd0efde00c1090d47c7cbc9ed7227f328ec06ff7 100644 (file)
@@ -4,11 +4,11 @@
  * Graeme Russ, <graeme.russ@gmail.com>
  */
 
-#include <common.h>
 #include <init.h>
 #include <asm/global_data.h>
 #include <linux/errno.h>
 #include <asm/mtrr.h>
+#include <asm/u-boot-x86.h>
 
 DECLARE_GLOBAL_DATA_PTR;
 
index ff52959ed285e241523bbdb960c5d2e1981d3b86..f96b2bfd70eee26c6a2b048011aa8f3906ee6a97 100644 (file)
@@ -29,7 +29,6 @@
  * Daniel Engström
  */
 
-#include <common.h>
 #include <command.h>
 #include <irq_func.h>
 #include <asm/interrupt.h>
index 67b931d3b28966ae6301a64fa0241f66181f630b..4f89db4e5389dfcad88060d19c547e62ae5f252f 100644 (file)
@@ -4,7 +4,6 @@
  * Written by Simon Glass <sjg@chromium.org>
  */
 
-#include <common.h>
 #include <dm.h>
 
 UCLASS_DRIVER(lpc) = {
index 8e97d9ff36d93fe280c027135b8a9bcc5af1c056..5abd9288c2a3b3104139d998e55a0c4fc7b34d28 100644 (file)
@@ -5,7 +5,6 @@
  * Adapted from coreboot src/arch/x86/boot/mpspec.c
  */
 
-#include <common.h>
 #include <cpu.h>
 #include <dm.h>
 #include <errno.h>
index 6494b8d2634189a98ff2a92d55628ac338cef54e..970704a8dd626eb69d95962608bbc9ce5901bf9c 100644 (file)
@@ -8,7 +8,6 @@
 
 #define LOG_CATEGORY   UCLASS_RAM
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <fdtdec.h>
index 383888724841ef95b1568a4d9c4691cc7ff686df..1d1780535a2aee9e6fc558c36bf890ec7f87dcbf 100644 (file)
@@ -4,7 +4,6 @@
  * Written by Simon Glass <sjg@chromium.org>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <dm/root.h>
 
index 382f768149f448ea9b63aebf11cae005c85f0cd5..48cd1073c152ba77913894aa2eba41926df7ec20 100644 (file)
@@ -8,7 +8,6 @@
  * Software Foundation.
  */
 
-#include <common.h>
 #include <log.h>
 #include <physmem.h>
 #include <asm/cpu.h>
index c93f245845de46f421aa37078edbeb45bd4884d0..d4f71c562f859d0fb265f56e0cdb5127809c2958 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2016 Google, Inc
  */
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <fdtdec.h>
index caeaec9287fe621cefeafa9dc2f1eba92a2df12b..5178940901c28077ad69e32f8ae97cc00a1df279 100644 (file)
@@ -5,7 +5,6 @@
  * Part of this file is ported from coreboot src/arch/x86/boot/pirq_routing.c
  */
 
-#include <common.h>
 #include <log.h>
 #include <pci.h>
 #include <asm/global_data.h>
index 083aec8d8dd7010202df19345d5393ba7f28b7ff..2127257cd431847b5ce81df7eee704e96df92ece 100644 (file)
@@ -2,7 +2,6 @@
 /*
  * Copyright (c) 2017 Intel Corporation
  */
-#include <common.h>
 #include <dm.h>
 #include <regmap.h>
 #include <syscon.h>
index 03385396325d34ac13be95dcc9b2f8ea1e1c19dc..16cd6e49437c0b49e511da9b08ce863ca5efb0e9 100644 (file)
@@ -5,9 +5,9 @@
  * From Coreboot src/lib/ramtest.c
  */
 
-#include <common.h>
 #include <asm/io.h>
 #include <asm/post.h>
+#include <vsprintf.h>
 
 static void write_phys(unsigned long addr, u32 value)
 {
index d56cd50bd937a1268949bf1b153b41bfdfb996b7..17ab54dc2469e992fde0cbe70dcbbd04301cb75e 100644 (file)
@@ -7,7 +7,6 @@
  * All rights reserved.
  */
 
-#include <common.h>
 #include <efi.h>
 #include <elf.h>
 
index 2694de7110419322418c38b81dfdc11feb8c668e..c7a21d9393d62713e25e9cf811d75ce1f5a1a275 100644 (file)
@@ -9,7 +9,6 @@
  * All rights reserved.
  */
 
-#include <common.h>
 #include <efi.h>
 #include <elf.h>
 
index da819b9bdd2c1be9e291dee24de2b801886abecd..9ce56062d24732da8f729572c38e3d903867c583 100644 (file)
@@ -14,7 +14,6 @@
  * Marius Groeger <mgroeger@sysgo.de>
  */
 
-#include <common.h>
 #include <log.h>
 #include <relocate.h>
 #include <asm/global_data.h>
index 90ef239bcd3def2f10f55497bc8a95129b338893..02fed601fb65fe827ba8c246b452e4c50978fc50 100644 (file)
@@ -9,7 +9,6 @@
  *
  * This driver enables IPC channel to SCU.
  */
-#include <common.h>
 #include <dm.h>
 #include <regmap.h>
 #include <syscon.h>
index 85e963b634b5070013c315aff6d4eb96af8cbb1e..04d97327a4df8d0411ba385bf38917d8e44f497e 100644 (file)
@@ -12,7 +12,6 @@
  * See https://simplefirmware.org/ for details
  */
 
-#include <common.h>
 #include <cpu.h>
 #include <dm.h>
 #include <asm/cpu.h>
index c15f11f8cdf44209058ae35235589a1cb95093ac..f761fbc8bc3b9aaec7930477a75e3f0ff28fd631 100644 (file)
@@ -5,7 +5,6 @@
 
 #define LOG_CATEGORY   LOGC_BOOT
 
-#include <common.h>
 #include <cpu_func.h>
 #include <debug_uart.h>
 #include <dm.h>
@@ -29,6 +28,7 @@
 #include <asm/processor.h>
 #include <asm/qemu.h>
 #include <asm/spl.h>
+#include <asm/u-boot-x86.h>
 #include <asm-generic/sections.h>
 
 DECLARE_GLOBAL_DATA_PTR;
index 1095dc92c5aa13c514853c2543b666ab10810892..45a70e927634dd411cdae729d8707105b3e8b9fe 100644 (file)
@@ -5,7 +5,6 @@
 
 #define LOG_CATEGORY LOGC_ACPI
 
-#include <common.h>
 #include <bloblist.h>
 #include <log.h>
 #include <malloc.h>
index 273e9c8e1ca157238fcb6d30fd8f1c0aa2012ae3..7c03dea07111b8d3ba071498244fa6a0e508f111 100644 (file)
@@ -5,7 +5,6 @@
 
 #define LOG_CATEGORY   LOGC_BOOT
 
-#include <common.h>
 #include <debug_uart.h>
 #include <dm.h>
 #include <hang.h>
index d7403876c13d4232fef942aee3fa089f3c47912a..73a21bc8f03b650180d0fc42c03e30c0ea41118b 100644 (file)
@@ -14,7 +14,6 @@
 
 #define LOG_CATEGORY   LOGC_BOOT
 
-#include <common.h>
 #include <bootm.h>
 #include <command.h>
 #include <env.h>
index 98d9753b7e34be14e9de5d0e792d161b6c409683..abcd8f7984fac81e601e650b10e2a826b3654894 100644 (file)
@@ -8,7 +8,7 @@
  * CPU specific code
  */
 
-#include <common.h>
+#include <config.h>
 #include <command.h>
 #include <init.h>
 #include <vsprintf.h>
index cf9af4326a2952d82e218b02665d9747aa520e18..206767094e9f8895a142dda1bad2358f8588aa34 100644 (file)
  *  (Note that alloca is a special case and handled in start.S)
  */
 
-#include <common.h>
 #include <command.h>
 #include <irq_func.h>
 #include <asm/ptrace.h>
 #include <asm/string.h>
 #include <asm/regs.h>
+#include <vsprintf.h>
 
 typedef void (*handler_t)(struct pt_regs *);
 
index 1157978ab688ee2873019a7962f9cba12bf46723..40c129db4ace0e5066ad9f349bf909a296ee4637 100644 (file)
@@ -6,6 +6,8 @@
 #ifndef        _XTENSA_GBL_DATA_H
 #define _XTENSA_GBL_DATA_H
 
+#include <asm/u-boot.h>
+
 /* Architecture-specific global data */
 
 struct arch_global_data {
index 9780d46e9b894268f79311872d79a058d9f72411..1de06b7fb53daaf3bb978957f633b441f72075d8 100644 (file)
@@ -4,7 +4,6 @@
  * (C) Copyright 2014 Cadence Design Systems Inc.
  */
 
-#include <common.h>
 #include <bootm.h>
 #include <bootstage.h>
 #include <command.h>
index 4e0c0acc3bbe3d3b41d8215c1f0cef146ec08c42..e6a7f6827fc2541fa6756f90191203e427ba1d94 100644 (file)
@@ -4,7 +4,6 @@
  * (C) Copyright 2014 - 2016 Cadence Design Systems Inc.
  */
 
-#include <common.h>
 #include <cpu_func.h>
 #include <asm/cache.h>
 
index 1c927d2a6a3cdcdd3eac807a60064f4544dd37ba..c6739584bbf2b67967afd19e931f075d88633813 100644 (file)
@@ -3,7 +3,6 @@
  * (C) Copyright 2008 - 2013 Tensilica Inc.
  */
 
-#include <common.h>
 #include <clock_legacy.h>
 #include <time.h>
 #include <asm/global_data.h>
index 36945bbdccf5d1cd88b6309f1d001fd80bfceced..192a2fa6327b448da9c6b3dfa070adc94eb674ed 100644 (file)
@@ -9,7 +9,7 @@
  *
  */
 
-#include <common.h>
+#include <config.h>
 #include <bootcount.h>
 #include <env.h>
 #include <errno.h>
index 5d2c7a201ea0e7fa088f61c857a3ecb6d6b9724d..8932b9ab3b1ac5375a659bd3626b8ac70e1e3ab4 100644 (file)
@@ -8,7 +8,6 @@
  * Bernecker & Rainer Industrieelektronik GmbH - http://www.br-automation.com
  */
 
-#include <common.h>
 #include <asm/arch/sys_proto.h>
 #include <asm/arch/hardware.h>
 #include <asm/arch/mux.h>
index ee006f0196c6d9e36b7510a9785dd88c514a9af2..105fac8912d03d1be8937ef8f86749508d5ebe2d 100644 (file)
@@ -6,7 +6,6 @@
  * B&R Industrial Automation GmbH - http://www.br-automation.com/
  *
  */
-#include <common.h>
 #include <cpu_func.h>
 #include <hang.h>
 #include <init.h>
index 738a5d2ff94438bc738b616e6b7d757bb2057e0a..2d3f593d0ab0052f4b439a1df0378e539665a5be 100644 (file)
@@ -8,7 +8,6 @@
  * B&R Industrial Automation GmbH - http://www.br-automation.com
  *
  */
-#include <common.h>
 #include <errno.h>
 #include <init.h>
 #include <spl.h>
index 33c214d6b2a7e81af3eb605574a0a67efb5928fc..b59d64f93ef3d36724e66d6066718d61cbad77ef 100644 (file)
@@ -9,7 +9,6 @@
  *
  */
 
-#include <common.h>
 #include <asm/arch/sys_proto.h>
 #include <asm/arch/hardware.h>
 #include <asm/arch/mux.h>
index a909104df4ac0c2a8f800a39f108b6053c0fe87a..b9b595cb156d823df1d1db38776b6df0844e3be4 100644 (file)
@@ -8,7 +8,6 @@
  * Bernecker & Rainer Industrieelektronik GmbH - http://www.br-automation.com
  *
  */
-#include <common.h>
 #include <env.h>
 #include <errno.h>
 #include <init.h>
index 6c5ad891ba915597a7c05b60f4b60c7f0b9d475d..e2e8ec57678f5280d2e15f76c319a83aeaf35232 100644 (file)
@@ -8,7 +8,6 @@
  * Bernecker & Rainer Industrieelektronik GmbH - http://www.br-automation.com
  */
 
-#include <common.h>
 #include <asm/arch/sys_proto.h>
 #include <asm/arch/hardware.h>
 #include <asm/arch/mux.h>
index 32f32b65e9d82cc172243f9d0fb3860f7709ebff..f5d09fef3d3499310276a892101122b98af452d0 100644 (file)
@@ -5,7 +5,6 @@
  * Copyright (C) 2019 Hannes Schmelzer <oe5hpm@oevsv.at>
  * B&R Industrial Automation GmbH - http://www.br-automation.com/ *
  */
-#include <common.h>
 #include <env.h>
 #include <errno.h>
 #include <i2c.h>
index 3c78020bf93c7c6fa19481f191314c66ed89cba9..8aff821cfe8a11206b6e40b30d7e94eaf711bd4a 100644 (file)
@@ -10,7 +10,6 @@
  */
 #include <log.h>
 #include <version.h>
-#include <common.h>
 #include <env.h>
 #include <fdtdec.h>
 #include <i2c.h>
index ea49c7a99c0bcdc60a1d45427fa08ddff0aa1884..cf5610861b50d502ada3770e0a7bd7c10b93e2fb 100644 (file)
@@ -7,7 +7,7 @@
  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  */
 
-#include <common.h>
+#include <config.h>
 #include <command.h>
 #include <asm/global_data.h>
 #include "asm/m5282.h"
index 11d875647170d5096297d6fabeceda3d3cb28b7d..1591b40deee6694f13c304db371c228dba0e5fcf 100644 (file)
@@ -3,7 +3,7 @@
  * Copyright (C) 2018 Marek Behún <kabel@kernel.org>
  */
 
-#include <common.h>
+#include <vsprintf.h>
 #include <asm/arch/soc.h>
 #include <asm/io.h>
 #include <linux/bitops.h>
index 00114e6d915651fa0f9f3d2beab2e1a76b8507bc..e4ed7f258109762f570dce8df2b73e636d5e0604 100644 (file)
@@ -3,7 +3,7 @@
  * Copyright (C) 2018 Marek Behún <kabel@kernel.org>
  */
 
-#include <common.h>
+#include <config.h>
 #include <asm/arch/cpu.h>
 #include <asm/arch/soc.h>
 #include <net.h>
index 3b7a71bdad2565b815e43cf3d05f6d606925d5b4..4ee1a394b0243c56d714b02816a4f486e00b17fa 100644 (file)
@@ -7,7 +7,7 @@
  *   Marvell/db-88f6820-gp by Stefan Roese <sr@denx.de>
  */
 
-#include <common.h>
+#include <config.h>
 #include <env.h>
 #include <i2c.h>
 #include <init.h>
index 52880a16fad3c4add82420278b467dc135bf4c98..e8a7830fc05690aad234e5647b13020715c0f7ef 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2011 Simon Guinot <sguinot@lacie.com>
  */
 
-#include <common.h>
 #include <i2c.h>
 #include <miiphy.h>
 
index 917091340009ef4054e34bd382e66542daa3512e..083d91b696a1cf90075baee70f708d652d7c8964 100644 (file)
@@ -8,7 +8,7 @@
  * Written-by: Prafulla Wadaskar <prafulla@marvell.com>
  */
 
-#include <common.h>
+#include <config.h>
 #include <command.h>
 #include <env.h>
 #include <i2c.h>
index 22bb008745e1f616fa9cbbd16684bcf95714d816..3a2fdb5c1546a3332338fe92afd7124866d47993 100644 (file)
@@ -8,7 +8,6 @@
  * Written-by: Prafulla Wadaskar <prafulla@marvell.com>
  */
 
-#include <common.h>
 #include <command.h>
 #include <env.h>
 #include <init.h>
index 26c30647fbb04e3e4b1c8656e2b644c6be63000a..920421366f11db546a92c16a078fc72f6b0f5d70 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2016 Stefan Roese <sr@denx.de>
  */
 
-#include <common.h>
 #include <init.h>
 #include <miiphy.h>
 #include <net.h>
index 122c63d11f997164407e2c06a640ad2d71c83979..0f92cc385bc8bf13b8de2f74fbc430491c8bfe71 100644 (file)
@@ -3,7 +3,7 @@
  * Copyright (C) 2015 Stefan Roese <sr@denx.de>
  */
 
-#include <common.h>
+#include <config.h>
 #include <i2c.h>
 #include <init.h>
 #include <miiphy.h>
index 1edc1cb6515c6be692a413217ad316c97d18d6f7..8f8b2720107ac979461eaf7b4f03567a4a2c3404 100644 (file)
@@ -3,7 +3,7 @@
  * Copyright (C) 2015 Stefan Roese <sr@denx.de>
  */
 
-#include <common.h>
+#include <config.h>
 #include <i2c.h>
 #include <init.h>
 #include <miiphy.h>
index 9e1fdecfca4d973dc86543026df2ed4457ef7483..6bca1f91a0a48e4949e3c2da58e7ff7aebd05a8b 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2014 Stefan Roese <sr@denx.de>
  */
 
-#include <common.h>
 #include <init.h>
 #include <miiphy.h>
 #include <net.h>
index 0abdca1cd2106bcdcf5b89c3008d204f8bd051a4..a7a84798a53bc51f63b778924ec44c2367742d7f 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2015 Stefan Roese <sr@denx.de>
  */
 
-#include <common.h>
 #include <i2c.h>
 #include <init.h>
 #include <asm/global_data.h>
index d15faa1cb7ff813b09713ba4ccb056d983bc7d5a..3812750613181616d0e08ac86e199be68ea0b2e0 100644 (file)
@@ -8,7 +8,6 @@
  * Written-by: Siddarth Gore <gores@marvell.com>
  */
 
-#include <common.h>
 #include <init.h>
 #include <netdev.h>
 #include <asm/arch/cpu.h>
index ea87ded222e60b280b1cb3a3cf744ee1f825057f..7c3cea22b936b5818744d109b15697cc80578c96 100644 (file)
@@ -5,7 +5,6 @@
  * Written-by: Siddarth Gore <gores@marvell.com>
  */
 
-#include <common.h>
 #include <init.h>
 #include <miiphy.h>
 #include <net.h>
index 0c4f8e03b8596e301cd64a6db4d2dc86c54ec92f..c1b7cc3b613c4ad0a68ee2b2c88c6ce4fa979efa 100644 (file)
@@ -1,6 +1,6 @@
 // SPDX-License-Identifier: GPL-2.0+
 
-#include <common.h>
+#include <config.h>
 #include <asm/global_data.h>
 
 DECLARE_GLOBAL_DATA_PTR;
index 1685b12b847858a3d1310193207242a2a423b7ee..df3fb6d21645ee460970f7ad7b798afccf8952bc 100644 (file)
@@ -3,7 +3,7 @@
  * Copyright (C) 2016 Stefan Roese <sr@denx.de>
  */
 
-#include <common.h>
+#include <config.h>
 #include <dm.h>
 #include <dm/device-internal.h>
 #include <env.h>
index a8899af6e5af04331650d42db54f15f7ffc4a313..6d7042117424154cd41c8e7f287fe10f5e513c86 100644 (file)
@@ -3,7 +3,7 @@
  * Copyright (C) 2016 Stefan Roese <sr@denx.de>
  */
 
-#include <common.h>
+#include <config.h>
 #include <dm.h>
 #include <i2c.h>
 #include <init.h>
index 43a19a90717ca70278596a7b35b58212b61bba04..64eb95f3b400d81002ab5585ef6fa5096f7fe50a 100644 (file)
@@ -5,7 +5,6 @@
  * https://spdx.org/licenses
  */
 
-#include <common.h>
 #include <dm.h>
 #include <malloc.h>
 #include <errno.h>
index 581e2e084d6f78071eb0b78f5709b09487c47795..dda56a582b3e0aac47a3a4d12b6f7d29934e1f1b 100644 (file)
@@ -10,7 +10,6 @@
  * Written-by: Prafulla Wadaskar <prafulla@marvell.com>
  */
 
-#include <common.h>
 #include <init.h>
 #include <miiphy.h>
 #include <net.h>
index 26ee39ef77f9fbd10f0ef3333d2a83ce6e3ac1c3..23e761d5febf28c1dfb2d77a12794fa0c6762956 100644 (file)
@@ -6,7 +6,6 @@
  * Written-by: Prafulla Wadaskar <prafulla@marvell.com>
  */
 
-#include <common.h>
 #include <init.h>
 #include <netdev.h>
 #include <asm/global_data.h>
index d72e3ef24ee61f4d360af4d652cf7d193bbfe139..e6ec00a9c6cc6d47ab3b4eeae1ebda0d6f912738 100644 (file)
@@ -9,7 +9,6 @@
  * Marvell Semiconductor <www.marvell.com>
  */
 
-#include <common.h>
 #include <bootstage.h>
 #include <init.h>
 #include <netdev.h>
index caea89c10e0729f54bf9f5b94aa7e1dd24124943..b2d0ad8c3f22bc9b7d73aad36b7cebfb6eb58ce1 100644 (file)
@@ -12,7 +12,6 @@
  * Marvell Semiconductor <www.marvell.com>
  */
 
-#include <common.h>
 #include <bootstage.h>
 #include <init.h>
 #include <netdev.h>
index cd2bbdad1cd62c8d10ffd59b75b2a583179a457e..fa7553250d1c30d5f4a8bd6d4bb3b50987b2996c 100644 (file)
@@ -8,7 +8,6 @@
  * Marvell Semiconductor <www.marvell.com>
  */
 
-#include <common.h>
 #include <init.h>
 #include <miiphy.h>
 #include <net.h>
index 5c3f46e23f46f9925caa84dfb8268be4a5064e8b..4f39757818230c9dee8d82a52e3fcd9adf79edb9 100644 (file)
@@ -5,7 +5,7 @@
  * Luka Perkov <luka@openwrt.org>
  */
 
-#include <common.h>
+#include <config.h>
 #include <init.h>
 #include <miiphy.h>
 #include <net.h>
index a62658a2eb6b2e18f9c9185be06be44e404f729d..29ea35e5e9107db0ac7b58d9ecda40059cd946e0 100644 (file)
@@ -5,7 +5,6 @@
  * Copyright (C) 2015  Phil Sutter <phil@nwl.cc>
  */
 
-#include <common.h>
 #include <command.h>
 #include <div64.h>
 #include <env.h>
index abe6f9eb5e23d76ea356ff9b7e30e5e4beb5dbc2..8db810ad3eba680ca5d8b8f8641123d1acce071d 100644 (file)
@@ -4,7 +4,6 @@
  * Copyright (C) 2015 Phil Sutter <phil@nwl.cc>
  */
 
-#include <common.h>
 #include <init.h>
 #include <miiphy.h>
 #include <asm/global_data.h>
index d87fe3606f6a5c628ae912f782cfb58a9366b411..070933fb54b27c4c8bdaee23ff4fe24d6a4302be 100644 (file)
@@ -4,7 +4,6 @@
  * Copyright 2022 Linaro
  */
 
-#include <common.h>
 #include <dwc3-uboot.h>
 #include <efi.h>
 #include <efi_loader.h>
index f4257bc993d6051628729b345f3e45267beab78f..1f7c1f25adcf969d6a980a5795e89e9295b2a692 100644 (file)
@@ -4,7 +4,7 @@
  * Copyright 2022 Linaro
  */
 
-#include <common.h>
+#include <config.h>
 #include <command.h>
 #include <cpu_func.h>
 #include <errno.h>
index 56b7bdb57c944347e3d94cc5e14b9f6dadca250f..50b35db5f6cf3737eb366a3495dd2c55fe70e7b3 100644 (file)
@@ -4,7 +4,6 @@
  * Copyright 2019-2023 Kococonnector GmbH
  */
 
-#include <common.h>
 #include <errno.h>
 #include <linux/libfdt.h>
 #include <asm/io.h>
index e8959ede51d9cf0daf0e67493e088937cf35d266..93cf0744002607c2b0afc863a3aad99fd496a840 100644 (file)
@@ -3,7 +3,7 @@
  * Copyright 2017-2018 NXP
  * Copyright 2019-2023 Kococonnector GmbH
  */
-#include <common.h>
+#include <config.h>
 #include <dm.h>
 #include <spl.h>
 #include <init.h>
index 7f766a688bb5eaa713ef164499dd2c5c96983972..3def182f2967e24fb2b444632866877da9725d3d 100644 (file)
@@ -4,7 +4,6 @@
  * Copyright (C) 2019 Oliver Graute <oliver.graute@kococonnector.com>
  */
 
-#include <common.h>
 #include <cpu_func.h>
 #include <env.h>
 #include <errno.h>
index d32400101fc9311cda312e7a80f283bac9ab61e3..5863e335a8bcd0dbd353a6d02dc837406233e07e 100644 (file)
@@ -2,7 +2,7 @@
 /*
  * Copyright 2017-2018 NXP
  */
-#include <common.h>
+#include <config.h>
 #include <dm.h>
 #include <image.h>
 #include <init.h>
index 8499fc541fa70e37fb69639107f7b2be95d24773..9bbd5fd291aa32a24b73f5634e0309ddaa82bc5e 100644 (file)
@@ -4,7 +4,6 @@
  * Copyright (C) 2016 George McCollister <george.mccollister@gmail.com>
  */
 
-#include <common.h>
 #include <init.h>
 #include <asm/fsp1/fsp_support.h>
 
index e0a7f3fa89f0c91292782ec9492120cd481c8a0a..5e6d6c6234fb4db9c277fab0cd3b9e27b99cf574 100644 (file)
@@ -4,7 +4,6 @@
  * Allied Telesis <www.alliedtelesis.com>
  */
 
-#include <common.h>
 #include <init.h>
 #include <net.h>
 #include <asm/global_data.h>
index 52b8eba92fc1ab520a3b8a51de142bf21ada30eb..f30821c17963f111011cc1c5856d3d74295691d6 100644 (file)
@@ -4,7 +4,6 @@
  * Allied Telesis <www.alliedtelesis.com>
  */
 
-#include <common.h>
 #include <init.h>
 #include <miiphy.h>
 #include <net.h>
index 4aecf7e2cef7a30d4db2cbe056d94240361f51b4..7da70fb4f7d6d537d2b7c177f4d09b57cf76f6e4 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2018 Allied Telesis Labs
  */
 
-#include <common.h>
 #include <dm.h>
 #include <asm/global_data.h>
 #include <asm/gpio.h>
index 0c4f8e03b8596e301cd64a6db4d2dc86c54ec92f..c1b7cc3b613c4ad0a68ee2b2c88c6ce4fa979efa 100644 (file)
@@ -1,6 +1,6 @@
 // SPDX-License-Identifier: GPL-2.0+
 
-#include <common.h>
+#include <config.h>
 #include <asm/global_data.h>
 
 DECLARE_GLOBAL_DATA_PTR;
index 80ad62c2c665dc92d2a286f3cf735b9966934ea3..65e6d48db0a6adc694fdcfc17cfcb2492621209c 100644 (file)
@@ -3,7 +3,7 @@
  * Copyright (C) 2017 Allied Telesis Labs
  */
 
-#include <common.h>
+#include <config.h>
 #include <command.h>
 #include <dm.h>
 #include <env.h>
index 92e0698c534be4b8fe1cfa9e3731d6d22e00c45b..b220256c67fa12bf72590a98d20340752ec4aeab 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2017 Amarula Solutions
  */
 
-#include <common.h>
 #include <serial.h>
 
 #ifndef CONFIG_TPL_BUILD
index c2776310a3dc7da037c43589d7736c605f2c1ae2..ccb2f7d1bb1913d6b579338332df7727b161cea0 100644 (file)
@@ -4,7 +4,6 @@
  * Author: Neil Armstrong <narmstrong@baylibre.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <env.h>
 #include <init.h>
index 010fc0df7d18c9425e57df3cea286cf752f4fea0..b770a1f8c537275a439d4bd2ee104ad3557a0b6a 100644 (file)
@@ -4,7 +4,6 @@
  * Author: Vyacheslav Bocharov <adeep@lexina.in>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <init.h>
 #include <net.h>
index 0b781666e985d3b70f0838a2ccb9012f0e81d67b..07a08dcd17001b567b27648204bc6987e367e570 100644 (file)
@@ -6,7 +6,6 @@
  *
  */
 
-#include <common.h>
 #include <dm.h>
 #include <adc.h>
 #include <env.h>
index bbd23e20fcdd1cd7439a3492fd4434088b1d61ed..8f3f2045d74d3323d4ab9650a66c51010bb8e291 100644 (file)
@@ -3,7 +3,7 @@
  * Copyright (C) 2023 Neil Armstrong <neil.armstrong@linaro.org>
  */
 
-#include <common.h>
+#include <log.h>
 #include <asm/arch/boot.h>
 #include <power/regulator.h>
 
index a4bcc62174a0e88429e1ba68691ab88355a866d3..ae953d0e4bab7a8b088740cb8918caa3a03c2ece 100644 (file)
@@ -4,7 +4,6 @@
  * Author: Neil Armstrong <narmstrong@baylibre.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <adc.h>
 #include <env.h>
index 754242e4a9fa112426a8079ebcf541cd6645c239..3bede46b324c89c070d7d40b0363e3cb971a2d2e 100644 (file)
@@ -3,7 +3,6 @@
  * (C) Copyright 2016 Beniamino Galvani <b.galvani@gmail.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <env.h>
 #include <init.h>
index 769e2735d27ecc86a7a8ebf40dd70b0fa38cc4b4..d44ebae07ddea6e86c3ab604df05c394eaaae85d 100644 (file)
@@ -3,7 +3,6 @@
  * (C) Copyright 2016 Beniamino Galvani <b.galvani@gmail.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <env.h>
 #include <init.h>
index f6e60ae3af1799a21d4fd1793e217e83eaed9a0a..ae9834c0bf8dd1eb69a066068c274337efde1715 100644 (file)
@@ -4,7 +4,6 @@
  * Author: Neil Armstrong <narmstrong@baylibre.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <env.h>
 #include <init.h>
index 47f1566a9d3d09b44bf232267301023afaf8f500..0c0afccb38c25b45a86dfd99b220efb2d75bc80b 100644 (file)
@@ -4,7 +4,6 @@
  * Author: Neil Armstrong <narmstrong@baylibre.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <env.h>
 #include <init.h>
index 06a9044fd8087cc585a0ff356b63d933e65eb277..96244c9ccb11b5be05d0c6c212fb564502c0d971 100644 (file)
@@ -4,7 +4,6 @@
  * Author: Neil Armstrong <narmstrong@baylibre.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <init.h>
 #include <net.h>
index bb188c21f75f334730ee67b9c2bd7324be4cecd6..1a978d1290a547f5de573e74e83ed8c077508c45 100644 (file)
@@ -4,7 +4,6 @@
  * Author: Neil Armstrong <narmstrong@baylibre.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <env.h>
 #include <env_internal.h>
index 6490bac9eb5576669e548d7f5e88a378ea8a81c9..8a096b15bfb271b31d710a8a6a102a1ca675c6b2 100644 (file)
@@ -4,7 +4,6 @@
  * Author: Neil Armstrong <narmstrong@baylibre.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <env.h>
 #include <env_internal.h>
index 06a9044fd8087cc585a0ff356b63d933e65eb277..96244c9ccb11b5be05d0c6c212fb564502c0d971 100644 (file)
@@ -4,7 +4,6 @@
  * Author: Neil Armstrong <narmstrong@baylibre.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <init.h>
 #include <net.h>
index a4850364f418e89c2735086c47de54ee72741c73..bbc2d826e05056aeb536f9cf694e3a7a7575599d 100644 (file)
@@ -4,7 +4,6 @@
  * Author: Neil Armstrong <narmstrong@baylibre.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <env_internal.h>
 #include <init.h>
index 4199198496b1817eecf547716f5431249216d441..b84366aaeb15d71ed196b7947e161b8ebc1851e5 100644 (file)
@@ -4,7 +4,6 @@
  * Author: Neil Armstrong <narmstrong@baylibre.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <env_internal.h>
 #include <init.h>
index 17f37badd746072786883ae3ccfb4d72f4132848..8cfac9fbb3427ac902c540ae7e5dbae93bba19fb 100644 (file)
@@ -9,7 +9,6 @@
  * Author: Fabio Estevam <fabio.estevam@freescale.com>
  */
 
-#include <common.h>
 #include <bmp_layout.h>
 #include <command.h>
 #include <image.h>
index 365fdca1b76f6919dc3de7817e1f478a6f2a2666..5b25545cdb8839845599c81bfaadc7622c0004e3 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2018 Armadeus Systems
  */
 
-#include <common.h>
 #include <init.h>
 #include <asm/arch/sys_proto.h>
 #include <asm/gpio.h>
index 01c80aaf9d7717f65cc64b2d5d0b1171d352a4f7..3ad77f51949f5df93226938b4a4ff0fbd52d3212 100644 (file)
@@ -6,7 +6,6 @@
  */
 
 #include <blk.h>
-#include <common.h>
 #include <cpu_func.h>
 #include <dm.h>
 #include <env.h>
index ad02cf16da5e0d5a430c1582106e55b51224e26f..eaf87e3bfe304ba8a18b3225c997079cb1f057bf 100644 (file)
@@ -16,7 +16,7 @@
  * Philippe Robin, <philippe.robin@arm.com>
  */
 
-#include <common.h>
+#include <config.h>
 #include <bootstage.h>
 #include <cpu_func.h>
 #include <dm.h>
index 9db5135a8ffab1fb0397bb77c85d73847ce438b3..f4101b649e305fcb0a2156f08cdce63d9c46baed 100644 (file)
@@ -16,7 +16,7 @@
  * Philippe Robin, <philippe.robin@arm.com>
  */
 
-#include <common.h>
+#include <config.h>
 #include <div64.h>
 #include <time.h>
 #include <linux/delay.h>
index 53941b5f5f2887cffc52cb09ed55f8d3a38351a8..e1b4f49d044b8cdddf4f90865bf1eecffa16a95c 100644 (file)
@@ -4,7 +4,7 @@
  * Usama Arif <usama.arif@arm.com>
  */
 
-#include <common.h>
+#include <config.h>
 #include <dm.h>
 #include <dm/platform_data/serial_pl01x.h>
 #include <asm/armv8/mmu.h>
index 763131c217e53968ce68a410059297b767cfd460..6c374e25e32c367cc78461dcb73a4d4e346ead9e 100644 (file)
@@ -15,7 +15,7 @@
  * ARM Ltd.
  * Philippe Robin, <philippe.robin@arm.com>
  */
-#include <common.h>
+#include <config.h>
 #include <bootstage.h>
 #include <cpu_func.h>
 #include <init.h>
index e553da86e0e04feb7a1324630ded77f81d7755da..1045c905f732d1172eb7f78703dfff390dc0f25c 100644 (file)
@@ -5,7 +5,6 @@
  * Author: Liviu Dudau <Liviu.Dudau@arm.com>
  */
 
-#include <common.h>
 #include <init.h>
 #include <log.h>
 #include <asm/io.h>
index ee65a596838a768698b7aefba5cd553d09cf3d31..0119f54f0df8ceb4785d8517780977c7fc532820 100644 (file)
@@ -4,7 +4,7 @@
  * David Feng <fenghua@phytium.com.cn>
  * Sharma Bhupesh <bhupesh.sharma@freescale.com>
  */
-#include <common.h>
+#include <config.h>
 #include <cpu_func.h>
 #include <dm.h>
 #include <init.h>
index f85737432b3155d81821d26aa31d9448d27069c7..6e505c630d1270d77b9d174a9573e48e264b1c70 100644 (file)
@@ -13,7 +13,6 @@
 
 /* Altera/Xilinx FPGA configuration support for the ASTRO "URMEL" board */
 
-#include <common.h>
 #include <console.h>
 #include <watchdog.h>
 #include <altera.h>
index 43563c412793f608faeda7a44cca1ef3c26c975d..43fcbc65513dc4bf515e8907b4f34ca1b5e414cc 100644 (file)
@@ -5,9 +5,10 @@
  * modified by Wolfgang Wegner <w.wegner@astro-kom.de> for ASTRO 5373l
  */
 
-#include <common.h>
+#include <config.h>
 #include <init.h>
 #include <serial.h>
+#include <time.h>
 #include <watchdog.h>
 #include <command.h>
 #include <asm/global_data.h>
index b8e02f459031ea7cdeab06941904a130cb6abfb2..48aec652c4a43cd74b85d36f97aa0b63d4f6f5d0 100644 (file)
@@ -5,7 +5,7 @@
  * Lead Tech Design <www.leadtechdesign.com>
  */
 
-#include <common.h>
+#include <config.h>
 #include <debug_uart.h>
 #include <init.h>
 #include <net.h>
index eab3a130819505a6d6a7eb4a6ad96218aa0806fd..5d7a18379fae89c298c09a4cbb86c8341b3bf79e 100644 (file)
@@ -5,7 +5,7 @@
  * Lead Tech Design <www.leadtechdesign.com>
  */
 
-#include <common.h>
+#include <config.h>
 #include <debug_uart.h>
 #include <init.h>
 #include <vsprintf.h>
index 15f20b62f6720e2298644faf0c728b0df1eb6504..2b0b01798eae978b9ca498118469e54b4b7ee4a0 100644 (file)
@@ -5,7 +5,7 @@
  * Lead Tech Design <www.leadtechdesign.com>
  */
 
-#include <common.h>
+#include <config.h>
 #include <debug_uart.h>
 #include <init.h>
 #include <net.h>
index f53c1cf612d545385c3f25fa104f811221f848f2..3bd94d0889da25fa437109f2c7ec09b945d3ee57 100644 (file)
@@ -5,7 +5,7 @@
  * Lead Tech Design <www.leadtechdesign.com>
  */
 
-#include <common.h>
+#include <config.h>
 #include <debug_uart.h>
 #include <init.h>
 #include <net.h>
index a3e294c88fc8988d4c677c4939932ba1369efe29..afc0c0520e1f6648930d022a1f796c0e4a4fb1f5 100644 (file)
@@ -4,7 +4,7 @@
  * Josh Wu <josh.wu@atmel.com>
  */
 
-#include <common.h>
+#include <config.h>
 #include <init.h>
 #include <net.h>
 #include <vsprintf.h>
index 11725f778b7dbca3af1b6ac56abdf6c394c663d0..214e917381e732b24cc5ab0fe3d0aff118a19d66 100644 (file)
@@ -5,7 +5,7 @@
  * Lead Tech Design <www.leadtechdesign.com>
  */
 
-#include <common.h>
+#include <config.h>
 #include <debug_uart.h>
 #include <init.h>
 #include <vsprintf.h>
index ab666b6be34f18085aa2d51b6616a82bb34cc284..e5688c6cf132dae2171cd05e3da5470cfc8062b9 100644 (file)
@@ -3,7 +3,7 @@
  * Copyright (C) 2012 Atmel Corporation
  */
 
-#include <common.h>
+#include <config.h>
 #include <init.h>
 #include <asm/global_data.h>
 #include <asm/io.h>
index c93c0e52e30d52c1a3ecd6e17fdd073f31f032ef..55afd43d4f32fdc136e8eb85bedbbf9f81d40bdd 100644 (file)
@@ -4,7 +4,6 @@
  *                   Wenyou Yang <wenyou.yang@microchip.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <env.h>
 #include <w1.h>
index ced27b65e63b8feb68b2537692503311bada5ab1..628f795812955690ab6a523be80d9320122b2aa1 100644 (file)
@@ -5,7 +5,6 @@
  * Author: Tudor Ambarus <tudor.ambarus@microchip.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <env.h>
 #include <net.h>
index 4606008c697f1fb16df501ea84116f9a91c4c30f..97edb7a549d42d79307e046a84b3d2911db17ce2 100644 (file)
@@ -4,9 +4,7 @@
  *                   Wenyou Yang <wenyou.yang@microchip.com>
  */
 
-#include <common.h>
 #include <dm.h>
-#include <eeprom.h>
 #include <env.h>
 #include <i2c_eeprom.h>
 #include <net.h>
index a5049f4aad411591c276fb87f336779f86370d23..771888205814d8e9019338d1fe10b148b8134ce4 100644 (file)
@@ -4,7 +4,6 @@
  *                   Wenyou Yang <wenyou.yang@microchip.com>
  */
 
-#include <common.h>
 #include <atmel_lcd.h>
 #include <dm.h>
 #include <init.h>
index f53d359404ef2763d1d51a1a7da8e987a3399268..e75043ec00f9028bf81e32244d6d38fb3eb03618 100644 (file)
@@ -5,7 +5,6 @@
  * Author: Durai Manickam KR <durai.manickamkr@microchip.com>
  */
 
-#include <common.h>
 #include <debug_uart.h>
 #include <fdtdec.h>
 #include <init.h>
index 3fbfca4acc96d7d133790e426dce55f6ab541d4b..2e5073f02b3e0d17e73f8ba27f491c00e135cd5e 100644 (file)
@@ -5,7 +5,7 @@
  * Author: Sandeep Sheriker M <sandeep.sheriker@microchip.com>
  */
 
-#include <common.h>
+#include <config.h>
 #include <init.h>
 #include <asm/global_data.h>
 #include <asm/io.h>
index 329eac7223add7eb9d4f4e4b4acb91604384be08..36995a927cf15b95ed27fd1a3544ebc9b0b7c1c1 100644 (file)
@@ -4,7 +4,6 @@
  *                   Wenyou.Yang <wenyou.yang@microchip.com>
  */
 
-#include <common.h>
 #include <debug_uart.h>
 #include <fdtdec.h>
 #include <init.h>
index 6e41017af17ce83d00d55012625641f2eb901fd8..c775d593e58c91e65a70a919600601b11fe29c54 100644 (file)
@@ -5,7 +5,7 @@
  * Author: Nicolas Ferre <nicolas.ferre@microcihp.com>
  */
 
-#include <common.h>
+#include <config.h>
 #include <debug_uart.h>
 #include <init.h>
 #include <asm/global_data.h>
index d0679317fb2d5c37a5ef8f6ee9edf9a148831ce5..8759ff6f01acc4953a6648711d81f41a67074515 100644 (file)
@@ -6,7 +6,6 @@
  *
  */
 
-#include <common.h>
 #include <debug_uart.h>
 #include <init.h>
 #include <asm/global_data.h>
index fabe492715ab055997b7d2356541c927d337f810..986da01639f94afc0208d5a6a7461aaca1c72aab 100644 (file)
@@ -4,7 +4,7 @@
  *                   Eugen Hristev <eugen.hristev@microchip.com>
  */
 
-#include <common.h>
+#include <config.h>
 #include <debug_uart.h>
 #include <init.h>
 #include <asm/global_data.h>
index 854715ea2269bd2a6ac8ddb5d67d249dde7d5cf0..438829df82d5d2bfb40bbc20d1ab389d4aa253eb 100644 (file)
@@ -4,7 +4,7 @@
  *                   Wenyou Yang <wenyou.yang@microchip.com>
  */
 
-#include <common.h>
+#include <config.h>
 #include <debug_uart.h>
 #include <dm.h>
 #include <i2c.h>
index aa522075691c7b07ecde3f37b60076172a6229f3..c8a8eb49826b6797d541e9d6b028f8b1e21d326b 100644 (file)
@@ -4,7 +4,6 @@
  *                   Wenyou.Yang <wenyou.yang@atmel.com>
  */
 
-#include <common.h>
 #include <debug_uart.h>
 #include <init.h>
 #include <asm/global_data.h>
index ce73a801e50111570ff398cc98da5c8ba153c8d9..54cc3c4d9003fac61d9fef74d46f71de41721e71 100644 (file)
@@ -4,7 +4,7 @@
  *                   Bo Shen <voice.shen@atmel.com>
  */
 
-#include <common.h>
+#include <config.h>
 #include <init.h>
 #include <asm/global_data.h>
 #include <asm/io.h>
index 660a6b9d58358320b010babddc2c12fa25458844..f2e1242fcb0fff4d44d55211982be28fedab7f93 100644 (file)
@@ -4,7 +4,7 @@
  * Bo Shen <voice.shen@atmel.com>
  */
 
-#include <common.h>
+#include <config.h>
 #include <init.h>
 #include <asm/global_data.h>
 #include <asm/io.h>
index 780aba15ab1d4d27b49f4fec6baa403306914b2c..09ca16ca88ce571bc7d1192873c5b2a5b7502870 100644 (file)
@@ -4,7 +4,7 @@
  *                   Bo Shen <voice.shen@atmel.com>
  */
 
-#include <common.h>
+#include <config.h>
 #include <init.h>
 #include <asm/global_data.h>
 #include <asm/io.h>
index 2226906a3b3d7b9b9c7d765eaaf46838ba40c320..1f8b85f0614e486ca555f95524009b3bce7a819a 100644 (file)
@@ -4,7 +4,7 @@
  *                   Bo Shen <voice.shen@atmel.com>
  */
 
-#include <common.h>
+#include <config.h>
 #include <init.h>
 #include <asm/global_data.h>
 #include <asm/io.h>
index 33cd0903d25366c22265e771c8d23e3ff32f9fa9..b05c9754c96421e2a010e080a108c2910facd5c4 100644 (file)
@@ -6,7 +6,6 @@
  *
  */
 
-#include <common.h>
 #include <init.h>
 #include <asm/global_data.h>
 #include <asm/io.h>
index 295fd079dcf7cee5cb4a128e5e67ce06fe040941..c07115a2119527e9335b3eb05689b3ad2eb05ac8 100644 (file)
@@ -4,7 +4,7 @@
  *                   Eugen Hristev <eugen.hristev@microchip.com>
  */
 
-#include <common.h>
+#include <config.h>
 #include <debug_uart.h>
 #include <init.h>
 #include <asm/global_data.h>
index 29bde60228f914d61270dd1f1dd78cef06edff76..e35bda81468113bd63ad5f3177857cf0bfd35312 100644 (file)
@@ -4,7 +4,6 @@
  * Avionic Design GmbH <www.avionic-design.de>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <asm/arch/pinmux.h>
index 988f057a281cab446f12824a89775ef51878a544..4d7477237d446517620175c4fd9e1e1bd2357449 100644 (file)
@@ -6,7 +6,6 @@
  *  Avionic Design GmbH <www.avionic-design.de>
  */
 
-#include <common.h>
 #include <ns16550.h>
 #include <asm/io.h>
 #include <asm/gpio.h>
index 6e544641833e7184f980492ac0df97f87f5be862..250494524952b398372d0faace4ceea25737b671 100644 (file)
@@ -7,7 +7,6 @@
  *  Svyatoslav Ryhel <clamor95@gmail.com>
  */
 
-#include <common.h>
 #include <asm/arch-tegra/tegra_i2c.h>
 #include <linux/delay.h>
 
index 99fe1edfb33097288ef4adf8ccd47497e8f21f23..099053235ded49f922377dd3210b6b061672054d 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright 2020 Compass Electronics Group, LLC
  */
 
-#include <common.h>
 #include <asm/global_data.h>
 #include <asm/io.h>
 
index 8e48b9d81b770d6751900c726f5fd4facc6129df..c1498dd5eaf4753c14fcf39bfce994088d0d4ec5 100644 (file)
@@ -4,7 +4,6 @@
  */
 
 #include <linux/kernel.h>
-#include <common.h>
 #include <asm/arch/ddr.h>
 #include <asm/arch/lpddr4_define.h>
 
index 1632238bf5dd5f3e5a21f03226cbfc17bbbc5e8e..12013aa5a4da42a07d1707593f4594a563fc6bce 100644 (file)
@@ -1,6 +1,5 @@
 // SPDX-License-Identifier: GPL-2.0+
 
-#include <common.h>
 #include <cpu_func.h>
 #include <hang.h>
 #include <init.h>
index b4d46f11f98d251665c69f77027aa8b57cf4528d..f03841e5a01ddbf15ffbaa4c18e4b2753eaa01a2 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright 2020 Compass Electronics Group, LLC
  */
 
-#include <common.h>
 #include <hang.h>
 #include <image.h>
 #include <init.h>
index 8963a51fbba098031e614e9bb4475d241f8a8065..dd74e7c0f7559f78fe0e589d689aefdb804042be 100644 (file)
@@ -1,7 +1,6 @@
 // SPDX-License-Identifier: GPL-2.0+
 /* Copyright 2023 Logic PD, Inc dba Beacon EmbeddedWorks */
 
-#include <common.h>
 #include <init.h>
 #include <miiphy.h>
 #include <asm/arch/sys_proto.h>
index 591e8ca9ab5b27d502b8aca3ac3c53a9048ded52..30d577f7e0e334446806d530c616a94e8419db73 100644 (file)
@@ -4,7 +4,6 @@
  *
  */
 
-#include <common.h>
 #include <hang.h>
 #include <init.h>
 #include <log.h>
index 847d596646e3312328e0d012037eb92c4872f672..ac2f89cf213aa664ae8b7d4e4d048e39fb4eae65 100644 (file)
@@ -12,7 +12,7 @@
  *     Syed Mohammed Khasim <khasim@ti.com>
  *
  */
-#include <common.h>
+#include <config.h>
 #include <bootstage.h>
 #include <dm.h>
 #include <env.h>
index e21c0169db7160843d49e3ce885c9e5a85ded99d..efbd7c1e0e3641fb5fa3468930421480ffd9b5b0 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (c) 2010 Texas Instruments, Inc.
  * Jason Kridner <jkridner@beagleboard.org>
  */
-#include <common.h>
 #include <status_led.h>
 #include <asm/arch/cpu.h>
 #include <asm/io.h>
index e7b131836b61bc5a077c4928ef2d63d5908bfc25..3a766728a6f718359cc7319fcdedd647c9adb7dd 100644 (file)
@@ -7,7 +7,6 @@
  * Copyright (C) 2011 Freescale Semiconductor, Inc.
  */
 
-#include <common.h>
 #include <cpu_func.h>
 #include <init.h>
 #include <asm/arch/sys_proto.h>
index bf472902562227cdf32df17eac19071d5f3bb3ab..fd28a70f4d72b9e5f8b44775463a735e10c0d1a5 100644 (file)
@@ -7,7 +7,6 @@
  * Copyright (C) 2012 Freescale Semiconductor, Inc.
  */
 
-#include <common.h>
 #include <asm/arch/iomux-mx53.h>
 #include <asm/gpio.h>
 #include <asm/mach-imx/video.h>
index 9b42299b080f8c4a31bd0a985935273b385db559..3275803226a38acdabda3defa259f95a92f9494f 100644 (file)
@@ -7,7 +7,7 @@
  *   Author: Ryan Mallon <ryan@bluewatersys.com>
  */
 
-#include <common.h>
+#include <config.h>
 #include <atmel_lcd.h>
 #include <atmel_lcdc.h>
 #include <atmel_mci.h>
index 65c2f35671358f2329fca7b7397c49389aaa94ed..a1a00e7ffc49cd0a4f0e8aec30db5f4863b52546 100644 (file)
@@ -5,7 +5,7 @@
  * Copyright (c) 2022 DENX Software Engineering GmbH, Philip Oberfichtner <pro@denx.de>
  */
 
-#include <common.h>
+#include <config.h>
 #include <cpu_func.h>
 #include <bootstage.h>
 #include <dm.h>
index ee9e6d632ed49e9893f094843ce406be00e95e59..41d7567ad21e1fe56ebe74d6dae0e2c62c182038 100644 (file)
@@ -8,7 +8,7 @@
  * Copyright (C) 2018 Robert Bosch Power Tools GmbH
  */
 
-#include <common.h>
+#include <config.h>
 #include <dm.h>
 #include <env_internal.h>
 #include <errno.h>
index 53850ffb8f7e7230305736e85c24efa6eee22abf..eab3398c4aec84c470fa40ec6574678a54288936 100644 (file)
@@ -6,7 +6,6 @@
  * Copyright (C) 2018 Robert Bosch Power Tools GmbH
  */
 
-#include <common.h>
 #include <i2c.h>
 #include <asm/arch/hardware.h>
 #include <asm/arch/mux.h>
index aebdfd4dfec0753bd9683e43895afc7293847158..ab688745938a4786fb72c17bcc46e6373f578028 100644 (file)
@@ -11,7 +11,7 @@
  * Copyright (C) 2011, Texas Instruments, Incorporated - https://www.ti.com/
  */
 
-#include <common.h>
+#include <config.h>
 #include <bootstage.h>
 #include <cpu_func.h>
 #include <env.h>
index f19d1866c7216b59371875faa6353e71a7714db4..a2a8947a3bd86ce023f7b1d2d82a3c9f4af123f2 100644 (file)
@@ -9,7 +9,6 @@
  * Copyright (C) 2011 Texas Instruments Incorporated - https://www.ti.com/
  */
 
-#include <common.h>
 #include <hang.h>
 #include <asm/arch/sys_proto.h>
 #include <asm/arch/hardware.h>
index 382c01ddf4e017c68c0610eed50c5ca520d1d444..2b0cb2361c4061205805e9f4da3fff6054c7cfd7 100644 (file)
@@ -4,7 +4,6 @@
  * Copyright (C) 2013, Boundary Devices <info@boundarydevices.com>
  */
 
-#include <common.h>
 #include <command.h>
 #include <env.h>
 #include <init.h>
index bcecb4d783922468eeaa3160b53c5bbb39b73ed4..a6ced92565f98c383a930603f10c65978c721847 100644 (file)
@@ -3,7 +3,6 @@
  * (C) Copyright 2022 Broadcom Ltd.
  */
 
-#include <common.h>
 #include <fdtdec.h>
 
 int board_init(void)
index 1249e45af0362b5f2e9733c8164a93205390ebf2..45cc62936cecb0cc894f9f38595486a8c6889665 100644 (file)
@@ -4,7 +4,6 @@
  * Copyright (C) 2023 Linus Walleij <linus.walleij@linaro.org>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <init.h>
 #include <log.h>
index 7ae6742c4be8ff487d412a18e2ffcba61aa9a59b..bb2f1e4f62adffe9ba0b990fc07a5f88023a0f3a 100644 (file)
@@ -4,8 +4,8 @@
  *
  */
 
-#include <common.h>
 #include <fdt_support.h>
+#include <linux/errno.h>
 #include <asm/io.h>
 #include <asm/gic-v3.h>
 #include <asm/global_data.h>
index aead6f099e818ae43cd7b8c9728a4d35cc6a0769..bc05aecc446dd83f4c54de89f933c5763c4a17e5 100644 (file)
@@ -12,7 +12,6 @@
 #include <time.h>
 #include <asm/global_data.h>
 #include <linux/types.h>
-#include <common.h>
 #include <env.h>
 #include <asm/io.h>
 #include <asm/bootm.h>
index c82eabbfbea1ec43f466d5e87a9f6e9787171e6b..c03e390762a9d65c6cc65001cfd54495455602ea 100644 (file)
@@ -14,7 +14,6 @@
 #include <asm/mach-imx/boot_mode.h>
 #include <asm/global_data.h>
 #include <asm/gpio.h>
-#include <common.h>
 #include <env.h>
 #include <linux/sizes.h>
 
index 5b4812e129e3179d62dca64efd09cf501ccf77e1..724841b57456029ec227eb4ea142606eb3cde5f6 100644 (file)
@@ -1,6 +1,5 @@
 // SPDX-License-Identifier: GPL-2.0+
 
-#include <common.h>
 #include <cpu_func.h>
 #include <hang.h>
 #include <init.h>
index 0ebf208be82a2317e0720ca0aabebd380abf207d..c99896873991f10646f61e4edd531dd9738aa0d6 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright 2021 Collabora Ltd.
  */
 
-#include <common.h>
 #include <asm/arch/sys_proto.h>
 #include <env.h>
 
index c9da42b43bf5d393930536d458502fb9e7ce97b1..71497b8ab1e8672f8cbe584f18ec8131b9a7001b 100644 (file)
@@ -5,7 +5,6 @@
  * Copyright (C) 2018 Jagan Teki <jagan@amarulasolutions.com>
  */
 
-#include <common.h>
 #include <init.h>
 #include <asm/arch/sys_proto.h>
 #include <asm/global_data.h>
index 883b7f4133b9e2a03f60373ffe748c9d48b4d131..59b7c24ccc9ac6525c85ae7a1591e3a88f902045 100644 (file)
@@ -5,7 +5,6 @@
  * Copyright (C) 2018 Jagan Teki <jagan@amarulasolutions.com>
  */
 
-#include <common.h>
 #include <init.h>
 #include <serial.h>
 #include <spl.h>
index 6a866b5470d6e1fd3746c6cb047c47cb24b35a8c..1e501a09813dbc9516d97cd9a189c783d061013e 100644 (file)
@@ -7,7 +7,6 @@
  *   Marvell Semiconductor <www.marvell.com>
  */
 
-#include <common.h>
 #include <bootstage.h>
 #include <button.h>
 #include <command.h>
index 8e4081b4c6dd1edc7a3f432321119efdea2c8c91..5110fed31194f5596eb1e02910201beeb47d526e 100644 (file)
@@ -4,7 +4,7 @@
  * (C) Copyright 2014 - 2016 Cadence Design Systems Inc.
  */
 
-#include <common.h>
+#include <config.h>
 #include <clock_legacy.h>
 #include <command.h>
 #include <dm.h>
index 3d31776d48419fa35f3802af2fe007c2bce9f1f4..8e39a157ea311fb5534536ea1627d5c0dedf503d 100644 (file)
@@ -7,7 +7,7 @@
  * Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
  */
 
-#include <common.h>
+#include <config.h>
 #include <init.h>
 #include <asm/arch/at91sam9_smc.h>
 #include <asm/arch/at91_common.h>
index 37340fe97003aa221d5bb54f839c6a083cf5b38d..ce7afb78ed50c65746ae1283b55ea0f129ed3a84 100644 (file)
@@ -3,8 +3,9 @@
  * (C) Copyright 2014, Cavium Inc.
 **/
 
-#include <common.h>
+#include <config.h>
 #include <command.h>
+#include <vsprintf.h>
 #include <asm/cache.h>
 #include <asm/io.h>
 #include <asm/ptrace.h>
index ab20825ed36fe5c44f1a83be40cfdaa40c5fed8e..b1a805c136093d6e83c436b068c50fb4ece0a2f3 100644 (file)
@@ -3,7 +3,7 @@
  * (C) Copyright 2014, Cavium Inc.
 **/
 
-#include <common.h>
+#include <config.h>
 #include <cpu_func.h>
 #include <dm.h>
 #include <init.h>
index 95ee7bbfe29a03a5c11830990b4fca0d32959df8..15b200454da7aaadd33b8020b316ab0fdb5219e2 100644 (file)
@@ -4,7 +4,7 @@
  * NVIDIA Corporation <www.nvidia.com>
  */
 
-#include <common.h>
+#include <linux/kernel.h>
 #include <power/as3722.h>
 
 #include <asm/arch/gpio.h>
index e6909b3b1c5330f4de947e7025d73e7db9c73a65..dd7551170d2575550d19b3272db060fa8da04cc3 100644 (file)
@@ -3,7 +3,6 @@
  * (C) Copyright 2016 Rockchip Electronics Co., Ltd
  */
 
-#include <common.h>
 #include <init.h>
 #include <asm/gpio.h>
 
index bc4e984d5056a282ed5f960e59228fc89ff026ea..091c9a59a52b66bbe63b044cc34b20fcd52c187f 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright 2018 NXP
  */
 
-#include <common.h>
 #include <env.h>
 #include <init.h>
 #include <miiphy.h>
index 0c3a0135a8600432e8fbd532837cf36748fcee08..b8892ed2fccd80bf483db833b62a8bf55817d67e 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright 2019 NXP
  */
 
-#include <common.h>
 #include <command.h>
 #include <cpu_func.h>
 #include <hang.h>
index 59e1218b411a18fd5169bc0cf032c9ac351960c5..48eee67129fac8f063ce24dd07a5a2f32625a204 100644 (file)
@@ -10,7 +10,6 @@
  * Written-by: Prafulla Wadaskar <prafulla@marvell.com>
  */
 
-#include <common.h>
 #include <init.h>
 #include <log.h>
 #include <netdev.h>
index 61ce0d59c77e3d3a059fd96a3bfbf6c0a7ef4c25..c8ad563f721deca364553e81db386ffea61a38f1 100644 (file)
@@ -11,7 +11,6 @@
  * Written-by: Prafulla Wadaskar <prafulla@marvell.com>
  */
 
-#include <common.h>
 #include <netdev.h>
 #include <asm/arch/cpu.h>
 #include <asm/arch/soc.h>
index 69a9df942311949cc6712be30ede9712aea7ba77..774aa82b57feda4e6cb081a158240873fae1f638 100644 (file)
@@ -4,7 +4,7 @@
  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  */
 
-#include <common.h>
+#include <config.h>
 #include <init.h>
 #include <asm/global_data.h>
 #include <asm/immap.h>
index 8416af163ad1c194732e3e0d7c6ed75e8e2e2f6b..157b71da85e80b426b9979723418ea4e1183f41a 100644 (file)
@@ -4,13 +4,17 @@
  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  */
 
-#include <common.h>
+#include <config.h>
 #include <console.h>
 #include <cpu_func.h>
 #include <flash.h>
 #include <irq_func.h>
+#include <stdio.h>
+#include <time.h>
 #include <uuid.h>
+#include <vsprintf.h>
 #include <linux/delay.h>
+#include <linux/string.h>
 
 #define PHYS_FLASH_1 CFG_SYS_FLASH_BASE
 #define FLASH_BANK_SIZE 0x200000
index af19a658b542133054a3114940b6c38bd0cdf02b..7853c4d024a35fa17668518e02dcf9e108df6b05 100644 (file)
@@ -7,7 +7,7 @@
  * Author: Uri Mashiach <uri.mashiach@compulab.co.il>
  */
 
-#include <common.h>
+#include <config.h>
 #include <env.h>
 #include <init.h>
 #include <mmc.h>
index 40ba0f7a96056ee9f495457785e303b156920789..ae8e834662071e1c28e786f5d1d4709aca1d683a 100644 (file)
@@ -7,7 +7,6 @@
  * Author: Uri Mashiach <uri.mashiach@compulab.co.il>
  */
 
-#include <common.h>
 #include <fsl_esdhc_imx.h>
 #include <asm-generic/gpio.h>
 #include "common.h"
index 18f16a48738c39024f1acb2421c4247abcaafab5..25123ee145a647d0a99677cd60b7b10b4556d451 100644 (file)
@@ -7,7 +7,7 @@
  * Author: Uri Mashiach <uri.mashiach@compulab.co.il>
  */
 
-#include <common.h>
+#include <linux/kernel.h>
 #include <asm/mach-imx/iomux-v3.h>
 #include <asm/arch-mx7/mx7-pins.h>
 
index 98c3b831f1e1aca28d3968c8e790737dacef4c7d..9b6bbb974da743756429ca410add6673675e69cc 100644 (file)
@@ -7,7 +7,6 @@
  * Author: Uri Mashiach <uri.mashiach@compulab.co.il>
  */
 
-#include <common.h>
 #include <hang.h>
 #include <init.h>
 #include <spl.h>
index 7bce09e432c045f4950dc27c97d807ce444f7ceb..4a6cc3e56308693ce4d2204b1cdc97a9327f1e4c 100644 (file)
@@ -7,7 +7,7 @@
  * Author: Nikita Kiryanov <nikita@compulab.co.il>
  */
 
-#include <common.h>
+#include <config.h>
 #include <ahci.h>
 #include <dm.h>
 #include <dwc_ahsata.h>
index ed8c7a3bf5f870c13530f704d27e1f74995a0e99..a71861b1731b3efaf562e0d5b4dafe4fb95032b7 100644 (file)
@@ -7,7 +7,6 @@
  * Author: Nikita Kiryanov <nikita@compulab.co.il>
  */
 
-#include <common.h>
 #include <asm/arch/sys_proto.h>
 #include <asm/gpio.h>
 #include <asm/mach-imx/spi.h>
index 079f196200e585756e3fc1800699e2bdca9b62d4..b11bf2d28c68da5de9b29d1d1f77e10c20bd786b 100644 (file)
@@ -7,7 +7,6 @@
  * Author: Nikita Kiryanov <nikita@compulab.co.il>
  */
 
-#include <common.h>
 #include <clock_legacy.h>
 #include <hang.h>
 #include <init.h>
index 5df378a62e3c293e6d565c67fd33c8d679d36aa1..181581926c37f5cbec3444b21c304f7186839c4b 100644 (file)
@@ -3,7 +3,7 @@
  * Copyright (C) 2015 Compulab, Ltd.
  */
 
-#include <common.h>
+#include <config.h>
 #include <i2c.h>
 #include <miiphy.h>
 #include <cpsw.h>
index 778ea05e84cb699372bebaa3c7e9904cdfeb853e..f10910565d500a0c72e96cbf740a1ab825170634 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2015 Compulab, Ltd.
  */
 
-#include <common.h>
 #include <asm/arch/sys_proto.h>
 #include <asm/arch/mux.h>
 #include "board.h"
index a6223a477fef689f4dcecfae15f38f5190965102..212bfeb5c307b5ffe198e528ae7be7b9eb7289c5 100644 (file)
@@ -3,7 +3,7 @@
  * Copyright (C) 2016 Compulab, Ltd.
  */
 
-#include <common.h>
+#include <config.h>
 #include <hang.h>
 #include <init.h>
 #include <spl.h>
index 528c97df19a4cdf1c82adef340cf7394fdd5ad04..6ffebe6bdb413a6d863556907b9e682264e612ea 100644 (file)
@@ -5,7 +5,6 @@
  * Authors: Igor Grinberg <grinberg@compulab.co.il>
  */
 
-#include <common.h>
 #include <malloc.h>
 #include <asm/bootm.h>
 #include <asm/gpio.h>
index c4b257f851d664ae451c9fad5f6c5a8bf9f5d19b..efdaf342d5c31be4ac2cdeb728615885946f31dc 100644 (file)
@@ -6,13 +6,13 @@
  *         Igor Grinberg <grinberg@compulab.co.il>
  */
 
-#include <common.h>
-#include <eeprom.h>
 #include <i2c.h>
+#include <vsprintf.h>
 #include <eeprom_layout.h>
 #include <eeprom_field.h>
 #include <asm/setup.h>
 #include <linux/kernel.h>
+#include <linux/string.h>
 #include "eeprom.h"
 
 #define EEPROM_LAYOUT_VER_OFFSET       44
index f0d365272c1bed56bae660a608528f12f908c4ca..411fc4943bacb579d538e859baf2fc6d8c3fafa3 100644 (file)
@@ -5,7 +5,6 @@
  * Authors: Igor Grinberg <grinberg@compulab.co.il>
  */
 
-#include <common.h>
 #include <netdev.h>
 #include <linux/delay.h>
 
index b230478b611aa52be346014befcc04af96c4b7de..99d3bf3af3bc88cc518a55864ea1e2337cd8ed55 100644 (file)
@@ -5,7 +5,6 @@
  *
  */
 
-#include <common.h>
 #include <spl.h>
 #include <asm/io.h>
 #include <errno.h>
index 9019a1f2035cd8dfd42a92b99edcbe0485aa9f3c..efcc95c739fd60354e446bb30584a81e3cab5559 100644 (file)
@@ -7,7 +7,6 @@
  */
 
 #include <linux/kernel.h>
-#include <common.h>
 #include <asm/arch/ddr.h>
 #include <asm/arch/lpddr4_define.h>
 
index 5141c04f12dc89bb24155934838072e8aa1e7d7b..67f59ed9407f98883156c2ae06656858a334e2f8 100644 (file)
@@ -7,7 +7,6 @@
  */
 
 #include <linux/kernel.h>
-#include <common.h>
 #include <asm/arch/ddr.h>
 #include <asm/arch/lpddr4_define.h>
 
index 2334722497db4df9a4104da5775e52cd129f9d7d..273ee89c0bc692e9d7802c51e02ab7153b749ad4 100644 (file)
@@ -7,7 +7,6 @@
  */
 
 #include <linux/kernel.h>
-#include <common.h>
 #include <asm/arch/ddr.h>
 #include <asm/arch/lpddr4_define.h>
 
index e65445e0155906b7772f7def3e90dd0ea83e253d..1243800b32414ba87bfad52866ad2d795e2f8618 100644 (file)
@@ -7,7 +7,6 @@
  */
 
 #include <linux/kernel.h>
-#include <common.h>
 #include <asm/arch/ddr.h>
 #include <asm/arch/lpddr4_define.h>
 
index 90cc33a6e4605f4f1eb9284feee1882a3acd3b08..1256848f9a982a40bf1fbc460eb3d3ec65a84c3a 100644 (file)
@@ -1,7 +1,7 @@
 // SPDX-License-Identifier: GPL-2.0+
 /* (C) Copyright 2019 CompuLab, Ltd. <www.compulab.co.il> */
 
-#include <common.h>
+#include <config.h>
 #include <i2c.h>
 #include <linux/kernel.h>
 #include <asm/arch/imx8mq_pins.h>
index af070ec315c4d1a342e99fa2bfda7b251aed8fcc..ba15873414283b4c334bb9bec5ff03a052706696 100644 (file)
@@ -4,7 +4,6 @@
  * Copyright 2020 Linaro
  */
 
-#include <common.h>
 #include <efi.h>
 #include <efi_loader.h>
 #include <env.h>
index 19c1acd8a5254da7bcd8348da2e7cec62cca574f..6d9af2538b630a0939d557ab35368b803dfe2fb9 100644 (file)
@@ -4,7 +4,6 @@
  * Copyright 2020 Linaro
  */
 
-#include <common.h>
 #include <command.h>
 #include <cpu_func.h>
 #include <hang.h>
index 21ff0cda7f70ac47ef85b1b99eeb9ea4dde89e3c..af05c0c0f059a75edcf59269f255b53a264f76ef 100644 (file)
@@ -4,7 +4,6 @@
  *  NVIDIA Corporation <www.nvidia.com>
  */
 
-#include <common.h>
 #include <asm/io.h>
 #include <asm/arch/tegra.h>
 #include <asm/arch/clock.h>
index 1b765b113743f48d9eb40032dbde0947877a2e18..64282ae9dc7732165e5c0ea309782ba2d3ef9dc2 100644 (file)
@@ -4,7 +4,7 @@
  * Copyright (C) 2021-2023 Conclusive Engineering Sp. z o. o.
  */
 
-#include <common.h>
+#include <config.h>
 #include <debug_uart.h>
 #include <init.h>
 #include <env.h>
index d8e5b1d6963341426e5b9327874843f343f4a313..99c33a1943e0d6992f6f6f8cee20bc819e4c02c4 100644 (file)
@@ -3,7 +3,7 @@
  * Copyright 2018 congatec AG
  * Copyright (C) 2019 Oliver Graute <oliver.graute@kococonnector.com>
  */
-#include <common.h>
+#include <config.h>
 #include <errno.h>
 #include <linux/libfdt.h>
 #include <fsl_esdhc.h>
index b432ce27459f60e3773a690880a60a0c136d26a8..242e794981b7ebf320f31f876925144c2cbd53ce 100644 (file)
@@ -4,7 +4,6 @@
  *
  */
 
-#include <common.h>
 #include <dm.h>
 #include <fdt_support.h>
 #include <init.h>
index bb7a3d4a9aa03fe3a3bb27f41a8c6ae875f2b0c9..74a189ab4d7f4d2920744f57db6c79b1d6e57128 100644 (file)
@@ -4,7 +4,8 @@
  * Copyright 2018 NXP
  *
  */
-#include <common.h>
+
+#include <vsprintf.h>
 #include <linux/errno.h>
 #include <asm/io.h>
 #include <env.h>
index 315b6dc5429573001c1eb48e9f7b7e20bef414c3..4197e88fb6ff2a7f3a555f52bf07973b42b4741f 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2016 Stefan Roese <sr@denx.de>
  */
 
-#include <common.h>
 #include <i2c.h>
 #include <init.h>
 #include <winbond_w83627.h>
index e58dce37477feed4b4ab8625e4aa0461a39244dd..f2ca10767681d83ecc5e10868d8586421b2c7901 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2018, Bin Meng <bmeng.cn@gmail.com>
  */
 
-#include <common.h>
 #include <splash.h>
 #include <init.h>
 #include <smbios.h>
index fdfa3affc3b134378ab4b33f377ef7191dacfa4a..c07e0eae4e9d21b40319062ca14b171dc6b6768b 100644 (file)
@@ -3,7 +3,7 @@
  * (C) Copyright 2020 - Cortina Access Inc.
  *
  */
-#include <common.h>
+#include <config.h>
 #include <event.h>
 #include <init.h>
 #include <malloc.h>
index ef304124564950b77ad23116b4d2d2a4430a87db..ec13d9a7ed7dee7283057bb3a06debd6d673e844 100644 (file)
@@ -7,7 +7,6 @@
 #include <dm.h>
 #include <env.h>
 #include <env_internal.h>
-#include <eeprom.h>
 #include <fdt_support.h>
 #include <hang.h>
 #include <ioports.h>
index 8ebfe4c601890307df5cbebd3a9da16a95d5c8ea..3bbde9808d20c3f03e6deda648b0c3f30b86f0c8 100644 (file)
@@ -9,7 +9,6 @@
  * Written-by: Prafulla Wadaskar <prafulla@marvell.com>
  */
 
-#include <common.h>
 #include <init.h>
 #include <log.h>
 #include <miiphy.h>
index 4ece82c73039211889a92ba663683c386884d024..b4d74a8fd8bd8113654afd1cf35728dca12df496 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright 2022 Marek Vasut <marex@denx.de>
  */
 
-#include <common.h>
 #include <asm-generic/gpio.h>
 #include <asm-generic/sections.h>
 #include <asm/arch/clock.h>
index bfb2bddc1d1f8cdd4523ce562819bf97371c0cb6..339702e8392774e54d2ea7075138f967f485c0aa 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright 2022 Marek Vasut <marex@denx.de>
  */
 
-#include <common.h>
 #include <asm/arch/clock.h>
 #include <asm/arch/imx8mm_pins.h>
 #include <asm/io.h>
index 4a9c62fb86fc3fa5d41e5273e802438b35a39fb0..17aafd719c9d444a23b63cc0f48e89a82320e72a 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright 2022 Marek Vasut <marex@denx.de>
  */
 
-#include <common.h>
 #include <hang.h>
 #include <image.h>
 #include <init.h>
index f0f373aa2800ea8d5357baf240a57eb9e33ed847..138acd36ad2407570760a4676a174738119c1d08 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright 2022 Marek Vasut <marex@denx.de>
  */
 
-#include <common.h>
 #include <asm/arch/clock.h>
 #include <asm/arch/imx8mp_pins.h>
 #include <asm/io.h>
index cc2d253e391ed6636807c49fcc5307d92992e9cd..c1935898533297c165569eafa64ecefa62da8e87 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright 2022 Marek Vasut <marex@denx.de>
  */
 
-#include <common.h>
 #include <hang.h>
 #include <image.h>
 #include <init.h>
index 05053a87a5a926f255390dd8a31342b8958d5ebd..0011c8285237590959611a3fd61ceae6497cde93 100644 (file)
@@ -8,7 +8,7 @@
  * Copyright (C) 2007 Sergey Kubushyn <ksi@koi8.net>
  */
 
-#include <common.h>
+#include <config.h>
 #include <dm.h>
 #include <env.h>
 #include <i2c.h>
index 9738e2bd9c77a967ebaeb0ff85dd0b2aaa067050..607e05ad9ae453c6a2f09055c3913048929be511 100644 (file)
@@ -8,7 +8,7 @@
  * Copyright (C) 2007 Sergey Kubushyn <ksi@koi8.net>
  */
 
-#include <common.h>
+#include <config.h>
 #include <env.h>
 #include <i2c.h>
 #include <init.h>
index 87506a77a17e5b274ae18c13c01dbc0eb36dc81f..907cc985d7a9e6b61c511b5bf705e87bf6bd9cb0 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2016 Stefan Roese <sr@denx.de>
  */
 
-#include <common.h>
 #include <init.h>
 #include <log.h>
 #include <nuvoton_nct6102d.h>
index 34094a020b0754ffef1340a34f3991b5fbdca6d6..32c50b4f0f59c53e430dc648bc7cdd6e272c67e9 100644 (file)
@@ -4,7 +4,6 @@
  * Copyright 2022 DENX Software Engineering GmbH, Philip Oberfichtner <pro@denx.de>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <i2c_eeprom.h>
 #include <net.h>
index 7f451bad59c7f8b6cd0ee5b194b60e1acadbaccd..3d6487dd0d8c7d8757490c274c063268083bcb1f 100644 (file)
@@ -4,9 +4,9 @@
  * Copyright 2022 DENX Software Engineering GmbH, Philip Oberfichtner <pro@denx.de>
  */
 
+#include <linux/errno.h>
 #include <asm/arch/imx-regs.h>
 #include <asm/arch/sys_proto.h>
-#include <common.h>
 #include <net.h>
 #include "dh_imx.h"
 
index 0676587c38a1058807c36328f3bea7ab1dc05629..c8dd30dfeaf532e32cb9f0cadd2b12a44625b4b7 100644 (file)
@@ -5,9 +5,7 @@
  * Copyright (C) 2017 Marek Vasut <marex@denx.de>
  */
 
-#include <common.h>
 #include <dm.h>
-#include <eeprom.h>
 #include <image.h>
 #include <init.h>
 #include <net.h>
index e6d5657c62d00f52a00cae34b207bab851f61bed..3a5495ea18e3a66448166b66616bb07c881b24c1 100644 (file)
@@ -5,7 +5,6 @@
  * Copyright (C) 2017 Marek Vasut <marex@denx.de>
  */
 
-#include <common.h>
 #include <cpu_func.h>
 #include <init.h>
 #include <asm/arch/clock.h>
index 44456da681ce56183cdeac0c65b729e82b5b387a..f6db9f678042f100f2401ae077f5a426736a297b 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright 2022 Marek Vasut <marex@denx.de>
  */
 
-#include <common.h>
 #include <asm/io.h>
 #include <asm-generic/gpio.h>
 
index ff2c0e872151902372a7a3cc3238e318d4cd925e..c635735d89cb92d748014a39c974290ebd28d1b3 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright 2022 Marek Vasut <marex@denx.de>
  */
 
-#include <common.h>
 #include <asm/arch/clock.h>
 #include <asm/arch/ddr.h>
 #include <asm/arch/sys_proto.h>
index 7d228da8e5b73181adf28754e0cc2f0b6a14844a..714f846521e0b9308c9fbacc039df36f773c3409 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright 2022 Marek Vasut <marex@denx.de>
  */
 
-#include <common.h>
 #include <hang.h>
 #include <image.h>
 #include <init.h>
index 22af423536d5a016ca5642d099ff2eaef9c57208..20c9d70737ec6d54d756560a2492bf8ac0395f99 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2018, STMicroelectronics - All Rights Reserved
  */
 
-#include <common.h>
 #include <adc.h>
 #include <log.h>
 #include <net.h>
index 2b03e4891d92f0d3d1565e9fc169c0c055014b80..222e5facf434cb78e315069044f6f7e6f8532e87 100644 (file)
@@ -5,7 +5,7 @@
  */
 
 #include <init.h>
-#include <common.h>
+#include <config.h>
 #include <asm/io.h>
 #include <asm/global_data.h>
 
index cd9591a9e3243156bf3c021f030660bb3aab25bf..8f78937e097300e727b6d0d2ccf4232d95e6395a 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2016 Freescale Semiconductor, Inc.
  */
 
-#include <common.h>
 #include <init.h>
 #include <asm/global_data.h>
 #include <asm/io.h>
index 3a52e4ae675fd1c051b6c56a4a7517309da6bfb2..2ad256f8635791772b6c336445af8ce4af49935e 100644 (file)
@@ -9,7 +9,7 @@
  * Copyright (C) 2011, Texas Instruments, Incorporated - https://www.ti.com/
  */
 
-#include <common.h>
+#include <config.h>
 #include <env.h>
 #include <errno.h>
 #include <init.h>
index c97927e5cfe9ec4d3eb2ee79f2ed236b130c9db9..f306a134031599c0121510f80d1754eb74b5ad7b 100644 (file)
@@ -7,7 +7,7 @@
  * Copyright (C) 2011 Texas Instruments Incorporated - https://www.ti.com/
  */
 
-#include <common.h>
+#include <config.h>
 #include <i2c.h>
 #include <asm/arch/sys_proto.h>
 #include <asm/arch/hardware.h>
index 5d4492cdc77acc5c6c71a90a41c9ffda62f075b6..d7d1e53e911cda86bac69ee817fbd02e39cca6d2 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2018, Bin Meng <bmeng.cn@gmail.com>
  */
 
-#include <common.h>
 #include <init.h>
 #include <usb.h>
 
index 9953df017e1906d461f2bbafb39197960406277e..64e341c3779c6b08fd2fc994970f11a897412ddc 100644 (file)
@@ -52,7 +52,7 @@
  * http://www.ethernut.de/
  */
 
-#include <common.h>
+#include <config.h>
 #include <init.h>
 #include <net.h>
 #include <netdev.h>
index 81f1abf2fad9ffd7d782a82e609709b2b5b4a8af..42e1914a8759f38ce5f00a0e7c0a708931ebfb6e 100644 (file)
@@ -31,8 +31,8 @@
  * For additional information visit the project home page at
  * http://www.ethernut.de/
  */
-#include <common.h>
 #include <command.h>
+#include <vsprintf.h>
 #include <asm/arch/at91sam9260.h>
 #include <asm/arch/at91_common.h>
 #include <asm/arch/gpio.h>
index 10398e7f71264ee11ab3993be315d48ebc23cee7..9fea4f86d5aa47d5b4d158dd111dcd9d276dac25 100644 (file)
@@ -4,7 +4,6 @@
  * Authors: Andy Yan <andy.yan@rock-chips.com>
  */
 
-#include <common.h>
 #include <init.h>
 #include <syscon.h>
 #include <asm/global_data.h>
index a3c23bdfb64e0fb25b9379607efcaec841bbf133..896350140d61c64cab5db1eb71092d94975d6c1e 100644 (file)
@@ -12,7 +12,6 @@
  * Copyright (C) 2013 Jon Nettleton <jon.nettleton@gmail.com>.
  */
 
-#include <common.h>
 #include <init.h>
 #include <net.h>
 #include <asm/arch/clock.h>
index 7e7d84f6c00ffcf49181cf9b9ab18d6a5890e3e8..393fcaeb7422d9ca206061c7e5209728601fc695 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (c) 2020 Linaro Limited
  */
 
-#include <common.h>
 #include <dfu.h>
 #include <env.h>
 #include <memalign.h>
index 60212e97acf6535a699b2f96e4a5a3a0a37f5ec8..c1501276789c6e353013f347dba42cfb521e031f 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (c) 2020 Linaro Limited
  */
 
-#include <common.h>
 #include <dm.h>
 #include <mtd.h>
 
index ecfd19f1a7eddfd101608028c9670993d7936585..6095cb02b23f17502ab87a755942635fba78f133 100644 (file)
@@ -3,7 +3,7 @@
  * Copyright (c) 2017 Tuomas Tynkkynen
  */
 
-#include <common.h>
+#include <config.h>
 #include <cpu_func.h>
 #include <dm.h>
 #include <efi.h>
index 221361691c15b9cf987b0c8ae48873fb18b27427..58e5d5eb942708152fa7d124dad1648e29ce50c5 100644 (file)
@@ -4,7 +4,7 @@
  * Copyright (C) 2021, Bin Meng <bmeng.cn@gmail.com>
  */
 
-#include <common.h>
+#include <config.h>
 #include <command.h>
 #include <cpu_func.h>
 #include <dm.h>
index 173245b40e3ca0167cd55545d3c71dfd6a1d2023..e5193e31e37e485041865ec7bf5fb9ffc58197ea 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2018, Bin Meng <bmeng.cn@gmail.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <dm/ofnode.h>
 #include <env.h>
index df9149e0d6d857fa7276ec39d1868df60d7f1d56..8e0477c7a6e47b53e3f758572209a2726dca28e7 100644 (file)
@@ -5,7 +5,6 @@
  * Author: Jagan Teki <jagan@amarulasolutions.com>
  */
 
-#include <common.h>
 #include <command.h>
 #include <env.h>
 #include <hang.h>
index f1ccdc334363b45e6d0f7431bb98a311b7a4f584..8bc80ee6baa84c26f23248f6cc28a11bb0a134d5 100644 (file)
@@ -5,7 +5,6 @@
  * Author: Jagan Teki <jagan@amarulasolutions.com>
  */
 
-#include <common.h>
 #include <image.h>
 #include <init.h>
 #include <serial.h>
index e6c888fcfde114ee20c147259124a17780d9359e..d799fe6526af9733a503575a6d84b7837869a6e3 100644 (file)
@@ -5,7 +5,6 @@
  * Author: Jagan Teki <jagan@amarulasolutions.com>
  */
 
-#include <common.h>
 
 #include <asm/io.h>
 #include <asm/gpio.h>
index 412d6c302e88e5ab56f4cf3d6e1137c336adc21f..24d654445dbd8569a6b85b1d1fbd6b69b0c1ca46 100644 (file)
@@ -5,7 +5,6 @@
  * Author: Jagan Teki <jagan@amarulasolutions.com>
  */
 
-#include <common.h>
 #include <mmc.h>
 
 #include <asm/io.h>
index 320388faae3e074ab956d1ddce13c0bd139c0ab3..236337546aeea42bf14006dbc32f9ba8ecc4a6b7 100644 (file)
@@ -5,7 +5,6 @@
  * Author: Jagan Teki <jagan@amarulasolutions.com>
  */
 
-#include <common.h>
 #include <miiphy.h>
 #include <netdev.h>
 
index 821212740bcc70a1733b5d707116f3ce9502fe45..fcd45c158f2271c86e116d50512844acbe5b68e4 100644 (file)
@@ -6,7 +6,6 @@
  * Align with uboot-imx_v2018.03_4.14.78_1.0.0_ga
  */
 
-#include <common.h>
 #include <asm/arch/ddr.h>
 #include <asm/arch/lpddr4_define.h>
 
index af9044a3c2b036d5a5e04ae869796f1899b109e6..d51ae241e85cd5fd0646dba2f2a5a6ab607eab57 100644 (file)
@@ -5,7 +5,6 @@
  * Author: Jagan Teki <jagan@amarulasolutions.com>
  */
 
-#include <common.h>
 #include <hang.h>
 #include <init.h>
 #include <log.h>
index 5f820cc8dd70164d5c74202e42e527278f8794e4..e2ed70caa43a60a49c5c16fcff40464cd7d3b3e7 100644 (file)
@@ -8,7 +8,6 @@
  * Jagan Teki <jagan@amarulasolutions.com>
  */
 
-#include <common.h>
 #include <env.h>
 #include <errno.h>
 #include <init.h>
index 36b83aace392cead37fb16ac424e510af3f4d046..cd31aa6041d1397fb5b465d174f0c2c52f5596d3 100644 (file)
@@ -8,7 +8,6 @@
  * Jagan Teki <jagan@amarulasolutions.com>
  */
 
-#include <common.h>
 #include <hang.h>
 #include <init.h>
 #include <log.h>
index 2b7779cc01dd3b6424f78bbdff2d6fab7e8049f1..bb2bd446aa8c42ae628e4c9151cb1ab7cd4788ad 100644 (file)
@@ -5,7 +5,7 @@
  * Copyright (C) 2020 Amarula Solutions(India)
  */
 
-#include <common.h>
+#include <linux/types.h>
 
 /* board early initialisation in board_f: need to use global variable */
 static u32 opp_voltage_mv __section(".data");
index 5223e9bae8d7733b0f3f454cef44126be602ce83..bc2af66d8e964143f1f2330f07903855598a1fc7 100644 (file)
@@ -6,7 +6,6 @@
  * Author: Jagan Teki <jagan@amarulasolutions.com>
  */
 
-#include <common.h>
 #include <env.h>
 #include <env_internal.h>
 #include <syscon.h>
index 9e36210422411704db57f5d30f5b945ef129ebc1..dce69abdfd1d4f2d615997f59cad475ba8df5fa7 100644 (file)
@@ -9,7 +9,7 @@
  * esd electronic system design gmbh <www.esd.eu>
  */
 
-#include <common.h>
+#include <config.h>
 #include <env.h>
 #include <init.h>
 #include <net.h>
index 95d8b00924d8a39138fabda7866f9a26d82df690..8e67ab4b13273c04d8c48827285c740a9212877d 100644 (file)
@@ -3,7 +3,6 @@
  * (C) Copyright 2015 Google, Inc
  */
 
-#include <common.h>
 #include <hang.h>
 #include <led.h>
 #include <log.h>
index af00250e118d427f91e8226c24b5fe5fb623ce11..404bdc632bbc7b31c034b4a783a5bc29ac834aa4 100644 (file)
@@ -3,7 +3,6 @@
  * (C) Copyright 2019 Rockchip Electronics Co., Ltd
  */
 
-#include <common.h>
 #include <adc.h>
 #include <asm/arch-rockchip/grf_rk3308.h>
 #include <asm/arch-rockchip/hardware.h>
index 590519b32af2a812ba05c7eaed95d2944421845c..a149e4fe822ecea57bad0318929f79150078f1b0 100644 (file)
@@ -3,7 +3,6 @@
  * (C) Copyright 2016 Rockchip Electronics Co., Ltd
  */
 
-#include <common.h>
 #include <dm.h>
 #include <env.h>
 #include <log.h>
index e7e07fff86c337145dccc237cc80dda12c2fc361..6f66ed6851d4095823d418fc53c622eb19df5db4 100644 (file)
@@ -4,8 +4,9 @@
  */
 
 
-#include <common.h>
+#include <config.h>
 #include <clock_legacy.h>
+#include <linux/types.h>
 
 /*
  * CADMUS Board System Registers
index dc2d62850d19713adbcbbfec0d53650ff3d6e072..56b01e3f51f046ed30803ff76b9afcd31006d674 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright 2004 Freescale Semiconductor.
  */
 
-#include <common.h>
 #include <linux/libfdt.h>
 #include <fdt_support.h>
 #include "cadmus.h"
index 6184472b1658d34996d2f27d06d1b0c808884c5e..6fc3a21780f6c2eefeac6ed9b08a129a6344eba1 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright 2006 Freescale Semiconductor.
  */
 
-#include <common.h>
 #include <pci.h>
 
 /* Config the VIA chip */
index 6c096266b4840eb9a0450260fd8e84116ce705cc..d4192e5ab5218efde0f33728da0bbcbfdf3c9add 100644 (file)
@@ -3,10 +3,10 @@
  * Copyright 2015 Freescale Semiconductor, Inc.
  */
 
-#include <common.h>
 #include <command.h>
 #include <env.h>
 #include <fsl_validate.h>
+#include <vsprintf.h>
 
 int do_esbc_halt(struct cmd_tbl *cmdtp, int flag, int argc,
                 char *const argv[])
index 9a75c5a09dd17749a84cbca6e240c91198f71fe0..50252bb5007f667bd53115922b9c8d06e76f7f61 100644 (file)
@@ -4,7 +4,6 @@
  *
  */
 
-#include <common.h>
 #include <command.h>
 #include <i2c.h>
 #include <asm/global_data.h>
index 358303108d8dc7531d55947377553efeee42a43b..650ecc7b44022a385bcbafe651db61cefe2899d0 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright 2011-2015 Freescale Semiconductor, Inc.
  */
 
-#include <common.h>
 #include <linux/libfdt.h>
 #include <linux/libfdt_env.h>
 #include <fdt_support.h>
index 87ed814d6a2a3018b2ceaa05531fda6a6c933fe7..27a33924c84d1686a0e6dfb70f04df53dee91ea1 100644 (file)
@@ -4,7 +4,7 @@
  * Copyright 2022 NXP
  */
 
-#include <common.h>
+#include <config.h>
 #include <dm.h>
 #include <env.h>
 #include <init.h>
index bfe6357b0d603e16ecbae571e9c11f0fc52fc20c..e03434dcdfed09729a41a86a9a593e22fca8b35b 100644 (file)
@@ -4,7 +4,7 @@
  * Copyright 2021-2022 NXP
  */
 
-#include <common.h>
+#include <config.h>
 #include <dm.h>
 #include <fsl_validate.h>
 #include <fsl_secboot_err.h>
index 119ed3c6171bff594423b72f3fd24ec0141930ab..20705ecc8e4669e595847ab978f15cfbb7bd7249 100644 (file)
@@ -5,7 +5,7 @@
  * Copyright 2021 Microsoft Corporation
  */
 
-#include <common.h>
+#include <stdio.h>
 #include <i2c.h>
 #include "i2c_common.h"
 
index d40b34f10397eeba1f9b9342e109420e50b3cec0..89151ccaf06012b3a6b25a733e81d5b3bcb550c0 100644 (file)
@@ -5,8 +5,9 @@
  * Copyright 2021 Microsoft Corporation
  */
 
-#include <common.h>
+#include <config.h>
 #include <i2c.h>
+#include <stdio.h>
 #include "i2c_common.h"
 #include "i2c_mux.h"
 
index 5f95571d24cc0e6879ba5852cedf2c94864ed644..af30faa0c5feb102bf500cb1fa4abff9afb773fa 100644 (file)
@@ -3,7 +3,7 @@
  * Copyright 2010-2011 Freescale Semiconductor, Inc.
  */
 
-#include <common.h>
+#include <config.h>
 #include <clock_legacy.h>
 #include <log.h>
 #include <asm/io.h>
index f754cf42fd38949464d978136962fae492a1566c..bf76274c43ca4a5399aff6ececb3071a32235089 100644 (file)
@@ -3,7 +3,7 @@
  * Copyright 2014 Freescale Semiconductor
  */
 
-#include <common.h>
+#include <config.h>
 #include <asm/io.h>
 #include <asm/arch/ls102xa_stream_id.h>
 
index d6b4c65a3c0856e50f360e64b365e40023c1ae44..cf14b29a3ec1f3f88483da346dfcffa3b2ab953c 100644 (file)
@@ -4,7 +4,6 @@
  * Hou Zhiqiang <Zhiqiang.Hou@freescale.com>
  */
 
-#include <common.h>
 #include <errno.h>
 #include <i2c.h>
 #include <log.h>
index 8cd5079f962df8bcbf33056eb5e975913e1f4445..00e4f3675fe4cac8bf4feebbd8b12025cf606686 100644 (file)
@@ -4,8 +4,8 @@
  * Copyright 2018-2022 NXP
  */
 
-#include <common.h>
 #include <command.h>
+#include <vsprintf.h>
 #include <asm/arch/sys_proto.h>
 #include <linux/errno.h>
 #include <asm/io.h>
index 7be1ccee6383f6c436858ad93018f5f1287ff7ad..74c345807e64128a7efa12db09425f0edc2f06b0 100644 (file)
@@ -29,7 +29,6 @@
  *    boot from the alternate bank.
  */
 
-#include <common.h>
 #include <command.h>
 #include <asm/io.h>
 
index a95d15c1ef39b908ec3ad8a5f35179a0c9807417..c46e87f4cceed989bcfbd9afdfedcfc11eb680d2 100644 (file)
@@ -3,7 +3,7 @@
  * Copyright 2014 Freescale Semiconductor
  */
 
-#include <common.h>
+#include <config.h>
 #include <log.h>
 #include <asm/cache.h>
 #include <asm/io.h>
index 1a1e9343d23b843f3ca74170894a2cd2a935ae91..83818d6d84794a78f92dba5493ada3360b9f4f3d 100644 (file)
@@ -6,7 +6,7 @@
  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  */
 
-#include <common.h>
+#include <config.h>
 #include <asm/fsl_law.h>
 #include <asm/mmu.h>
 
index 1a2d9cbfc0ce02674f29454f7078a102bd300489..cebdedfa4a7a3070936a7ecf525379a72327822b 100644 (file)
@@ -6,8 +6,9 @@
  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  */
 
-#include <common.h>
+#include <config.h>
 #include <asm/mmu.h>
+#include <asm/ppc.h>
 
 struct fsl_e_tlb_entry tlb_table[] = {
        /* TLB 0 - for temp stack in cache */
index a9288820b2ebaa7047cb5e5f8875d66cc9c21c35..0d7a94fd232f81ac595bd464096971d716b7b8b6 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright 2014 Freescale Semiconductor, Inc.
  */
 
-#include <common.h>
 #include <errno.h>
 #include <power/pmic.h>
 #include <power/pfuze100_pmic.h>
index da2c1de078b74cad9c9211f15c26c14a47a1a313..6400ac052454a1c0ba2287ba2e6a0d0c80edb07b 100644 (file)
@@ -7,7 +7,7 @@
  * This file provides support for the QIXIS of some Freescale reference boards.
  */
 
-#include <common.h>
+#include <config.h>
 #include <command.h>
 #include <asm/io.h>
 #include <linux/compiler.h>
index a1c7a94a90e347c58c3e3b032e53870d6b83b15b..5ee730cefd044ba9ee187bde7657a83ff5bcc767 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright 2011 Freescale Semiconductor, Inc.
  */
 
-#include <common.h>
 #include <mmc.h>
 #include <malloc.h>
 
index 64139d4659f24a3d5f132c73f54fe9822f0a2d17..ec3c9e37222a550666fbf8ed2f1ac4a8c274d261 100644 (file)
@@ -6,7 +6,6 @@
  * Timur Tabi (timur@freescale.com)
  */
 
-#include <common.h>
 #include <command.h>
 #include <env.h>
 #include <i2c.h>
index fc5d400cfe18d0e49a444c8fc15513a869a4c160..84cb43fad56a457c2747dbe5e747e992db8916a7 100644 (file)
@@ -5,12 +5,13 @@
  * Copyright 2020 Stephen Carlson <stcarlso@linux.microsoft.com>
  */
 
-#include <common.h>
+#include <config.h>
 #include <command.h>
 #include <env.h>
 #include <i2c.h>
 #include <irq_func.h>
 #include <log.h>
+#include <vsprintf.h>
 #include <asm/io.h>
 #ifdef CONFIG_FSL_LSCH2
 #include <asm/arch/immap_lsch2.h>
index e0975fcda7050942a0b764363fa4cd2f5453d982..4c4436af3b1dd7e796e48458488d2df4e60c182a 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright 2018 NXP
  */
 
-#include <common.h>
 #include <env.h>
 #include <init.h>
 #include <miiphy.h>
index 35437811d9df7c8e343dbf9057412f04d6d78fe6..cd251d274ff68a4e70f0449b4e72f8ec479dace2 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright 2019, 2021 NXP
  */
 
-#include <common.h>
 #include <command.h>
 #include <cpu_func.h>
 #include <hang.h>
index e35d505aea97236554eb9437c6a5dc0fd18c49ab..6b6fb0a7dd2178a20d9869a1b478d5a8b5124ad8 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright 2019 NXP
  */
 
-#include <common.h>
 #include <env.h>
 #include <init.h>
 #include <asm/global_data.h>
index dd54fa9b6085bb288c2782395f032c9ee754d48d..231b9289eead9467bd77207dd81ac7530772280a 100644 (file)
@@ -4,7 +4,6 @@
  *
  */
 
-#include <common.h>
 #include <command.h>
 #include <cpu_func.h>
 #include <hang.h>
index 9dd2cbc799c3181cf4b3ea899ab7cc52b8c247e5..12da1b2abfbb7d1a22a2910f7f1d7ebce470bf0a 100644 (file)
@@ -4,7 +4,6 @@
  *
  */
 
-#include <common.h>
 #include <hang.h>
 #include <init.h>
 #include <log.h>
index e577e4d9ccaa9a79e8fd09967dc7781259678094..ab920a4539cdf9a77607e1eba5640fa8a6233436 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright 2018 NXP
  */
 
-#include <common.h>
 #include <env.h>
 #include <init.h>
 #include <malloc.h>
index 46bc7f8591cbf850d6ad85d5c4e5cf42b15c278d..e9559e3d843aaac7cbf08ce4b65f366fb3209cca 100644 (file)
@@ -4,7 +4,6 @@
  */
 
 #include <linux/kernel.h>
-#include <common.h>
 #include <asm/arch/ddr.h>
 #include <asm/arch/lpddr4_define.h>
 
index ec68edaf6905b51c064b83f84782dffb2cf67ddc..5d8f2803be67f56db518fb5e8183355af3c3ddd5 100644 (file)
@@ -4,7 +4,6 @@
  */
 
 #include <linux/kernel.h>
-#include <common.h>
 #include <asm/arch/ddr.h>
 #include <asm/arch/lpddr4_define.h>
 
index 818cdd615eb9a3c28c1a5229e29596a1e4df9667..a346305c8633fedc760ff9361dd34eac49da07c6 100644 (file)
@@ -4,7 +4,7 @@
  *
  */
 
-#include <common.h>
+#include <config.h>
 #include <hang.h>
 #include <image.h>
 #include <init.h>
index 2b209c8886f2c15d853aa8ed7502d93aecb5bfa9..72527f774ca93edc6cd62c9c9e3d265d7dd586e4 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright 2018 NXP
  */
 
-#include <common.h>
 #include <cpu_func.h>
 #include <env.h>
 #include <errno.h>
index 17fd437116d35da1544163e13414ab19b76ebad6..ad786833309104756b7f64ec252f302739582b53 100644 (file)
@@ -4,7 +4,6 @@
  *
  */
 
-#include <common.h>
 #include <dm.h>
 #include <image.h>
 #include <init.h>
index 833bee55462d1757e4dda413e99df10cf8e7ffc4..adb9556a021c89b9c37d081c6b6909e32338ee00 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright 2018 NXP
  */
 
-#include <common.h>
 #include <cpu_func.h>
 #include <env.h>
 #include <errno.h>
index 462c43ceebc75b864d2001c10dd01e77846d58d4..05e3c0a2ff26ab99f1c8933771d308bccc8f7fec 100644 (file)
@@ -4,7 +4,6 @@
  *
  */
 
-#include <common.h>
 #include <dm.h>
 #include <image.h>
 #include <init.h>
index dd04d5925a009067bf7c5aad09838585a982eeef..0af6106726378ffd6e34251ccdf94c937037af9e 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright 2020 NXP
  */
 
-#include <common.h>
 #include <miiphy.h>
 #include <netdev.h>
 #include <asm/arch/imx8ulp-pins.h>
index c49b5be4762052ca7754471779e4032632e6161b..d123b21b72251a402a0e36bcf0fbc073b4d721f7 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright 2021 NXP
  */
 
-#include <common.h>
 #include <init.h>
 #include <spl.h>
 #include <asm/io.h>
index c54dc9d05c5c493c3c604b6841d10deacc815f57..341831a7d30d5f7c5063a2f07a035c3b67b4340e 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright 2022 NXP
  */
 
-#include <common.h>
 #include <env.h>
 #include <init.h>
 #include <miiphy.h>
index 6d5e110b27764665cbf80eb923a25086449862a3..e5807134bb2357016c186fc49323372d15e94d96 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright 2022 NXP
  */
 
-#include <common.h>
 #include <command.h>
 #include <cpu_func.h>
 #include <hang.h>
index 785da604b964077437b93a46dca6bd9e19b9736e..42a0a67ae933fbeb2594916937b30dcec38172b4 100644 (file)
@@ -4,7 +4,6 @@
  * Author(s): Giulio Benetti <giulio.benetti@benettiengineering.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <init.h>
 #include <log.h>
index 4cc3defc8828831c16a978a2bdf8a060686aea8f..46a644908e9d0f46c9016fcb970a149362d5b34b 100644 (file)
@@ -4,7 +4,6 @@
  * Author(s): Giulio Benetti <giulio.benetti@benettiengineering.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <init.h>
 #include <log.h>
index 4b82ee5e9ce447add8f17afee620256f138b6d72..e10b8830ec6ad5d820077ec58888bbfed412bd46 100644 (file)
@@ -4,7 +4,6 @@
  * Author(s): Giulio Benetti <giulio.benetti@benettiengineering.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <init.h>
 #include <log.h>
index d2df9351eaccd49637118fb921f383b6cc928d16..c431e5e611bb521c9862f9ad1bf8a10d960e7c3f 100644 (file)
@@ -4,7 +4,6 @@
  * Copyright 2017 NXP
  */
 
-#include <common.h>
 #include <dm.h>
 #include <net.h>
 #include <asm/io.h>
index 271072bf7a1cb3c5750328be30799c0203f7dd7d..dae2cf097bc0cddce057c087b6818d3e651dab30 100644 (file)
@@ -3,7 +3,7 @@
  * Copyright 2017-2018, 2021 NXP
  */
 
-#include <common.h>
+#include <config.h>
 #include <fdt_support.h>
 #include <i2c.h>
 #include <asm/cache.h>
index 38267acedde1817adad2cb92ca02368200844189..d5e87c5393b8fc6a5c98219130189ad5df873efe 100644 (file)
@@ -4,7 +4,7 @@
  * Copyright 2017 NXP
  */
 
-#include <common.h>
+#include <config.h>
 #include <dm.h>
 #include <asm/io.h>
 #include <netdev.h>
index a5ea8d634edca221a0772a3e8da72736a088e3e9..7d56eb0117d4a33b3e7ff872d321de6f2350bc0e 100644 (file)
@@ -4,7 +4,7 @@
  * Copyright 2021 NXP
  */
 
-#include <common.h>
+#include <config.h>
 #include <i2c.h>
 #include <fdt_support.h>
 #include <asm/cache.h>
index 5c661274987cd077cc2c3612e00cc178827cfad8..71cb2988a56dbcff460a096795a8bf3c032690d6 100644 (file)
@@ -4,7 +4,7 @@
  * Copyright 2017 NXP
  */
 
-#include <common.h>
+#include <config.h>
 #include <dm.h>
 #include <net.h>
 #include <asm/io.h>
index 18f92089caef1b4a3f8821b5b583cd7d79059abe..7f8001b4981f290dc6a43cb6f07ed332508665ee 100644 (file)
@@ -4,7 +4,7 @@
  * Copyright 2021 NXP
  */
 
-#include <common.h>
+#include <config.h>
 #include <command.h>
 #include <fdt_support.h>
 #include <hang.h>
index d6f22bd6a2a3c0d406174eb0f77a8797bc8cce5a..7abc41269330d4e8cc4287fd0e0ca16c6ead5727 100644 (file)
@@ -4,7 +4,7 @@
  * Copyright 2021 NXP
  */
 
-#include <common.h>
+#include <config.h>
 #include <clock_legacy.h>
 #include <fdt_support.h>
 #include <init.h>
index 4e70acc5a0cc83b0c7c8617f5b69242622e4ce50..5b0f23688f0bf6ddd711b897765480b24c750ac5 100644 (file)
@@ -3,7 +3,7 @@
  * Copyright 2014 Freescale Semiconductor, Inc.
  */
 
-#include <common.h>
+#include <config.h>
 #include <fsl_ddr_sdram.h>
 #include <fsl_ddr_dimm_params.h>
 #include <init.h>
index 3e976da6b305805fb8a09ee7312af32a6aa30e6c..c406f2436d1ae6db1837357311b79b92244fd086 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright 2019 NXP
  */
 
-#include <common.h>
 #include <fsl_ddr_sdram.h>
 #include <fsl_ddr_dimm_params.h>
 #include <asm/global_data.h>
index 7f181ab3dfb793887379c53538c9c79c8233a855..e01b5a8c2eb0dc5cb56c27af284e39ee1b33f37d 100644 (file)
@@ -3,7 +3,7 @@
  * Copyright 2019-2022 NXP
  */
 
-#include <common.h>
+#include <config.h>
 #include <display_options.h>
 #include <init.h>
 #include <malloc.h>
index 23947bdb84c97ccb161209ba3d46d05db083ef88..2a9717df616ca8eacc580d5c31e75182a4756ee0 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright 2015 Freescale Semiconductor, Inc.
  */
 
-#include <common.h>
 #include <fsl_ddr_sdram.h>
 #include <fsl_ddr_dimm_params.h>
 #ifdef CONFIG_FSL_DEEP_SLEEP
index cd1f83e3d0686b4f278ccb4f20bfb4bc5501d8cd..5a8ca27b3278fef2f35d31c8422a8c4b3b8d11f5 100644 (file)
@@ -4,7 +4,7 @@
  * Copyright 2019 NXP
  */
 
-#include <common.h>
+#include <config.h>
 #include <log.h>
 #include <net.h>
 #include <asm/io.h>
index b87da41e40831fc07a19deb2fb84774da4daa6fa..fdf011efc5bdac8e94c5b6d92c4a76add1c3e669 100644 (file)
@@ -4,7 +4,7 @@
  * Copyright 2019-2020 NXP
  */
 
-#include <common.h>
+#include <config.h>
 #include <clock_legacy.h>
 #include <i2c.h>
 #include <fdt_support.h>
index 9db3aa58605972e2d930d26fd9acd65e5fb82453..bda2f3ac3a69c8c06e9a159639f748c1b19f40d4 100644 (file)
@@ -5,7 +5,7 @@
  * Freescale LS1043ARDB board-specific CPLD controlling supports.
  */
 
-#include <common.h>
+#include <config.h>
 #include <command.h>
 #include <asm/io.h>
 #include "cpld.h"
index 4d2fce384121772ad2389534f19c5a71542bc68e..187925e981a5f51892037ea4186223459ed2d6d1 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright 2015 Freescale Semiconductor, Inc.
  */
 
-#include <common.h>
 #include <fsl_ddr_sdram.h>
 #include <fsl_ddr_dimm_params.h>
 #include <asm/global_data.h>
index cc95214c4e3f9f3dd086a98e5a6556325d109b98..cacc49c0584d46925e82aa113aa640b7d357c5f9 100644 (file)
@@ -2,7 +2,7 @@
 /*
  * Copyright 2015 Freescale Semiconductor, Inc.
  */
-#include <common.h>
+#include <config.h>
 #include <net.h>
 #include <asm/io.h>
 #include <netdev.h>
index 256397b52b6502c70c0356803d48c697e4583502..b08caee1d97dda19404aa7994f35b467c78cd3db 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright 2019 NXP
  */
 
-#include <common.h>
 #include <fsl_ddr_sdram.h>
 #include <asm/global_data.h>
 
index d1a2bfe188554ea873b71215c0c5043dd6519301..8efc7f68424ce923835da3573a031fa93899b967 100644 (file)
@@ -2,7 +2,7 @@
 /*
  * Copyright 2019 NXP
  */
-#include <common.h>
+#include <config.h>
 #include <fdt_support.h>
 #include <net.h>
 #include <asm/io.h>
index 899c22a367e6b2b018622fad35611bb13ba47cf5..8889c24f1f0cce6192d2d46c981051906fe5fe25 100644 (file)
@@ -3,7 +3,7 @@
  * Copyright 2019, 2021 NXP
  */
 
-#include <common.h>
+#include <config.h>
 #include <i2c.h>
 #include <fdt_support.h>
 #include <init.h>
index 9a96de2717862e5b81101e22359279cd2f167f09..ac1b60497216e9bfd598250e15155f4c4f75b9dd 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright 2016 Freescale Semiconductor, Inc.
  */
 
-#include <common.h>
 #include <fsl_ddr_sdram.h>
 #include <fsl_ddr_dimm_params.h>
 #ifdef CONFIG_FSL_DEEP_SLEEP
index bbf8b8c2bee5516cfb09bf71b3361d0da8d3fa3e..cd3500c2e9600644d7571c9400f229b557cff328 100644 (file)
@@ -4,7 +4,7 @@
  * Copyright 2018-2020 NXP
  */
 
-#include <common.h>
+#include <config.h>
 #include <log.h>
 #include <net.h>
 #include <asm/io.h>
index 2faac54a0e235f422d2c086859247506645c34d7..a83b2170651987dd7e15e9c02baa8c6fea169ba3 100644 (file)
@@ -4,7 +4,7 @@
  * Copyright 2019-2021 NXP
  */
 
-#include <common.h>
+#include <config.h>
 #include <clock_legacy.h>
 #include <i2c.h>
 #include <fdt_support.h>
index ee19d4ff8aab14b224212991a14389f4690648df..7f8ca2e857fdf0fa336404459f64070cfba09389 100644 (file)
@@ -5,7 +5,7 @@
  * Freescale LS1046ARDB board-specific CPLD controlling supports.
  */
 
-#include <common.h>
+#include <config.h>
 #include <command.h>
 #include <asm/io.h>
 #include "cpld.h"
index befb556bd30bfacd5d5357a9434529dffcb87812..68353022e7dd93a29a430ecfa1a7e22c4da0d8f1 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright 2016 Freescale Semiconductor, Inc.
  */
 
-#include <common.h>
 #include <fsl_ddr_sdram.h>
 #include <fsl_ddr_dimm_params.h>
 #include <asm/global_data.h>
index bbc22a3cdf4a247b21642d98df9293065b585d0d..fee8e0e21d44991522e824bd3769c5c12a20f6c6 100644 (file)
@@ -2,7 +2,7 @@
 /*
  * Copyright 2016 Freescale Semiconductor, Inc.
  */
-#include <common.h>
+#include <config.h>
 #include <fdt_support.h>
 #include <net.h>
 #include <asm/io.h>
index 26e69db55f74bfea916d965c69efe7e4342d5827..0492f0a8c0ae7ce919ed94e90790f8d3595ca7fa 100644 (file)
@@ -4,7 +4,7 @@
  * Copyright 2021 NXP
  */
 
-#include <common.h>
+#include <config.h>
 #include <i2c.h>
 #include <fdt_support.h>
 #include <init.h>
index 9e0941cc9d6e48abf8e0627c82f002a3078ce451..d2e239c4d61504b6432361d26f41cc581865118f 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright 2017 NXP
  */
 
-#include <common.h>
 #include <fsl_ddr_sdram.h>
 #include <fsl_ddr_dimm_params.h>
 #include <log.h>
index 98a91c48adb0370c5e1fd4d6faaf8c7a4da5c52d..58951f2bb2aad91276e2dfd62d94309135dc81fb 100644 (file)
@@ -2,7 +2,7 @@
 /*
  * Copyright 2017-2022 NXP
  */
-#include <common.h>
+#include <config.h>
 #include <clock_legacy.h>
 #include <display_options.h>
 #include <env.h>
index 2767d058cc963b9231b5a2e3596f070220b03d69..2986ffb7a820925c6cb553af913675c78389efc6 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright 2015 Freescale Semiconductor, Inc.
  */
 
-#include <common.h>
 #include <fsl_ddr_sdram.h>
 #include <fsl_ddr_dimm_params.h>
 #include <log.h>
index 5c94c83121b5af3819c83b6ab6054436b0faf5f8..4c8d0706688f7dc43a2d3356ca0a598d5ef926e7 100644 (file)
@@ -3,7 +3,7 @@
  * Copyright 2015 Freescale Semiconductor
  * Copyright 2021 NXP
  */
-#include <common.h>
+#include <config.h>
 #include <clock_legacy.h>
 #include <display_options.h>
 #include <env.h>
index 07fa847333243c66334588b85487940fc4787a80..ec34b42e619ad2e712e5cec366a0b4e3fd6baa48 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright 2015 Freescale Semiconductor, Inc.
  */
 
-#include <common.h>
 #include <fsl_ddr_sdram.h>
 #include <fsl_ddr_dimm_params.h>
 #include <log.h>
index 5c30de83d8417050319d7ff823f828d503656ac4..6f824f57c478496e93e753e2336328edcd1934e9 100644 (file)
@@ -3,7 +3,7 @@
  * Copyright 2015 Freescale Semiconductor
  * Copyright 2017, 2021 NXP
  */
-#include <common.h>
+#include <config.h>
 #include <clock_legacy.h>
 #include <display_options.h>
 #include <env.h>
index 7ab7a9e6ca830d09217111266fc483bd7afd2643..637e43a22beeb8be7a3a15615e9b5b72b3c6cc58 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright 2018 NXP
  */
 
-#include <common.h>
 #include <fsl_ddr_sdram.h>
 #include <fsl_ddr_dimm_params.h>
 #include <asm/global_data.h>
index c5dfefe1f3425a6b1a22faf1b071d16271aa63be..90e7c9100e1211240168877a8c1d08afe51eeac6 100644 (file)
@@ -4,7 +4,6 @@
  *
  */
 
-#include <common.h>
 #include <netdev.h>
 #include <exports.h>
 #include <fsl-mc/fsl_mc.h>
index b3187a14214a4a163337b07964dbabc4b77a9f3c..3aa984dab8e73e294f30a4f308a42d46263ecc17 100644 (file)
@@ -3,7 +3,7 @@
  * Copyright 2018-2021 NXP
  */
 
-#include <common.h>
+#include <config.h>
 #include <clock_legacy.h>
 #include <display_options.h>
 #include <dm.h>
index 6125c9e13aa35dd4e157600130321ae40cf2edb3..b202b8094d923d1af5694a6c18144b2a106d8f79 100644 (file)
@@ -8,7 +8,6 @@
  */
 
 #include <config.h>
-#include <common.h>
 #include <init.h>
 #include <asm/global_data.h>
 #include <asm/immap.h>
index 44161a0b0a1c441753e3f95850f762d50cd2111b..65cde56fb2d7ae8b6d2ef851d5a369c2e2a156c8 100644 (file)
@@ -8,7 +8,6 @@
  */
 
 #include <config.h>
-#include <common.h>
 #include <init.h>
 #include <asm/global_data.h>
 #include <asm/immap.h>
index d67db24d588320f88a8183261359eb38e4fd21ce..717dc087e02b5ca56e618afe94a0cddbf6229257 100644 (file)
@@ -4,7 +4,7 @@
  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  */
 
-#include <common.h>
+#include <config.h>
 #include <command.h>
 #include <init.h>
 #include <malloc.h>
index eeb9cfd31259e632b08c31924194f398c17cc712..334518a4bc9d49245f9928ecdf7e256f04b6de0e 100644 (file)
@@ -7,10 +7,11 @@
  * TsiChung Liew (Tsi-Chung.Liew@freescale.com)
  */
 
-#include <common.h>
+#include <config.h>
 #include <flash.h>
 #include <init.h>
 #include <irq_func.h>
+#include <time.h>
 
 #include <asm/immap.h>
 
index c1cff52fb3db1bc8c35f9cc357e73237859edebf..d0b01f81745f3482c9e0806e701f78e45828a40f 100644 (file)
@@ -7,7 +7,7 @@
  * Hayden Fraser (Hayden.Fraser@freescale.com)
  */
 
-#include <common.h>
+#include <config.h>
 #include <init.h>
 #include <net.h>
 #include <asm/global_data.h>
index 3c20a23385c5dcf6395e9179544419479bc35406..d1286badc61cba5b5a4cb906477df509f3ccd361 100644 (file)
@@ -6,7 +6,7 @@
  * Copyright (C) 2012 Freescale Semiconductor, Inc. All Rights Reserved.
  */
 
-#include <common.h>
+#include <config.h>
 #include <init.h>
 #include <asm/global_data.h>
 #include <asm/immap.h>
index 00fa35ca5f71b8efcd941a94cc45066a2e171638..e1d94fc9a3e263488fa4c68e8dcd6d1d5d877997 100644 (file)
@@ -8,7 +8,7 @@
  * Copyright (C) 2012 Freescale Semiconductor, Inc. All Rights Reserved.
  */
 
-#include <common.h>
+#include <config.h>
 #include <init.h>
 #include <asm/global_data.h>
 #include <asm/immap.h>
index 53e0f202101ce0eeaeb290a7ca0af4113a4d2a27..81da6e2abd46a9d8ef48e59c7ddb58d2d5fbab27 100644 (file)
@@ -4,7 +4,7 @@
  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  */
 
-#include <common.h>
+#include <config.h>
 #include <init.h>
 #include <asm/global_data.h>
 #include <asm/immap.h>
index 76ebc0ab8dcd8b34332d29f7758e7c18155f6153..196d56dc17d35b5a312d2a0d71bd5d35dc15faa5 100644 (file)
@@ -8,7 +8,6 @@
  */
 
 #include <config.h>
-#include <common.h>
 #include <init.h>
 #include <asm/global_data.h>
 #include <asm/immap.h>
index b278dbfb4852443308b9bae08bb84039de9a9899..26d5f3bf58ce15312ecafef4614826038f258d2d 100644 (file)
@@ -8,7 +8,6 @@
  */
 
 #include <config.h>
-#include <common.h>
 #include <init.h>
 #include <asm/global_data.h>
 #include <asm/immap.h>
index d921eef8b6759f9591b76d34f48f707903755f70..a250d61ef3685cdf0943a37e9336a0db3cd1d039 100644 (file)
@@ -8,7 +8,6 @@
  */
 
 #include <config.h>
-#include <common.h>
 #include <asm/io.h>
 #include <asm/immap.h>
 
index 0e9eec316c2fc928db886c64114ee571656c8d2a..d6fdf41bab47ac09ef47cf5227e71c53980b230b 100644 (file)
@@ -8,7 +8,6 @@
  */
 
 #include <config.h>
-#include <common.h>
 #include <init.h>
 #include <asm/global_data.h>
 #include <asm/immap.h>
index 6d825a66e33f3a4650eaf8e6351e04dce0927a46..e7c08d22e6bbd4fb214659e231e64e2b2797becb 100644 (file)
@@ -8,7 +8,6 @@
  */
 
 #include <config.h>
-#include <common.h>
 #include <asm/io.h>
 #include <asm/immap.h>
 
index 97884a3979649f33239383a38c674e18ccf76800..55299745a3cbb85ce22f7b1802e5490c1f9cf71c 100644 (file)
@@ -5,7 +5,7 @@
  * Joe D'Abbraccio <joe.d'abbraccio@freescale.com>
  */
 
-#include <common.h>
+#include <config.h>
 #include <env.h>
 #include <hwconfig.h>
 #include <i2c.h>
index b6c1847b141b5a20fb726087cc63d2ce169f99d9..14202cd5a7886c49218e383b0f44f2a5526a62ca 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright 2008 Freescale Semiconductor, Inc.
  */
 
-#include <common.h>
 
 #include <fsl_ddr_sdram.h>
 #include <fsl_ddr_dimm_params.h>
index 7b6ef5b11c920ce94d2ff3c8556abe381e9bc214..2334870fda0813b1862451c36b103e0f774fb0a3 100644 (file)
@@ -6,7 +6,7 @@
  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  */
 
-#include <common.h>
+#include <config.h>
 #include <asm/fsl_law.h>
 #include <asm/mmu.h>
 
index ec6e3a2d0ab58fc36c6628b1860541520c44118c..7810010fd04297bf1f60607efd98e6a290197515 100644 (file)
@@ -5,7 +5,7 @@
  * (C) Copyright 2002 Scott McNutt <smcnutt@artesyncp.com>
  */
 
-#include <common.h>
+#include <config.h>
 #include <display_options.h>
 #include <init.h>
 #include <net.h>
index 994a32dd92ad04267c9dca1c3c8b813b2f13a989..0b2afa8054d81105e79387f68fca1a51764d1758 100644 (file)
@@ -6,8 +6,9 @@
  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  */
 
-#include <common.h>
+#include <config.h>
 #include <asm/mmu.h>
+#include <asm/ppc.h>
 
 struct fsl_e_tlb_entry tlb_table[] = {
        /* TLB 0 - for temp stack in cache */
index df4fb3912558da9de8efeaa15982199af8d7302a..fbc8fbdbf593576d0f398261ce4e8e48193dbf17 100644 (file)
@@ -11,7 +11,6 @@
  * on behalf of DENX Software Engineering GmbH
  */
 
-#include <common.h>
 #include <init.h>
 #include <asm/global_data.h>
 #include <asm/gpio.h>
index 14e9b4a8634f3bfdef25c9ee7f542ee6fdec6d69..a4c39a35221913419e9e01dce01b8c9823a0a88f 100644 (file)
@@ -6,7 +6,6 @@
  * on behalf of DENX Software Engineering GmbH
  */
 
-#include <common.h>
 #include <config.h>
 #include <asm/io.h>
 #include <asm/arch/iomux-mx23.h>
index cc0c85885446a5984b84f1eff2da6203a5c3214d..b84b045bd1f54a9dd74b006c855feacdd5fb5332 100644 (file)
@@ -6,7 +6,6 @@
  * on behalf of DENX Software Engineering GmbH
  */
 
-#include <common.h>
 #include <config.h>
 #include <asm/io.h>
 #include <asm/arch/iomux-mx28.h>
index 88c3bf36089c7ee2830fdf0d2dad94c0dd7cfbe9..ada572912dad84d9c2aab6f0444fbf1268793b8b 100644 (file)
@@ -11,7 +11,6 @@
  * on behalf of DENX Software Engineering GmbH
  */
 
-#include <common.h>
 #include <init.h>
 #include <net.h>
 #include <asm/global_data.h>
index 95edb35994435892d4ff99c91f19ddd0a20d9b82..694568423026509f83bbbf90e02476f8c56ac400 100644 (file)
@@ -3,7 +3,7 @@
  * (C) Copyright 2009 Freescale Semiconductor, Inc.
  */
 
-#include <common.h>
+#include <config.h>
 #include <init.h>
 #include <asm/global_data.h>
 #include <asm/io.h>
index d418cd8f4c0dbb19a4d4130adc37baad7f66ce49..2d8f5da9906f4a56f90065267f25b0d76dd41d9d 100644 (file)
@@ -4,7 +4,7 @@
  * Jason Liu <r64343@freescale.com>
  */
 
-#include <common.h>
+#include <config.h>
 #include <init.h>
 #include <log.h>
 #include <asm/global_data.h>
index 0dfd7dec9efb9b00301d11a1f03799c418152b80..17095c34e92616e5c790afe6bc038085e6ab8df0 100644 (file)
@@ -7,7 +7,6 @@
  * Author: Eric Nelson <eric@nelint.com>
  */
 
-#include <common.h>
 #include <init.h>
 #include <asm/arch/sys_proto.h>
 #include <asm/global_data.h>
index 61d0ca3408f0bddcbe85f22a0f2558fc171f92ae..bc9c4259f07b1c0b80790104d3d9b0e254504583 100644 (file)
@@ -4,7 +4,6 @@
  * Author: Eric Nelson <eric@nelint.com>
  */
 
-#include <common.h>
 #include <cpu_func.h>
 #include <init.h>
 #include <asm/global_data.h>
index 77e92006131a7e10d2db107767a3dec1020b62af..e782543c0fae70667e67c89b207bab6248bb77b2 100644 (file)
@@ -5,7 +5,6 @@
  * Author: Fabio Estevam <fabio.estevam@freescale.com>
  */
 
-#include <common.h>
 #include <image.h>
 #include <init.h>
 #include <net.h>
index e9ac57118b0191cf3537bb71499c1e143c3d60e6..d37d8a4136f6942dd368b0553f506b05816b07c1 100644 (file)
@@ -21,7 +21,6 @@
 #include <asm/io.h>
 #include <asm/sections.h>
 #include <linux/sizes.h>
-#include <common.h>
 #include <fsl_esdhc_imx.h>
 #include <i2c.h>
 #include <mmc.h>
index 10a00095affb39f2d4b53809a23aef8e135b34a7..7114444fc3e6d54e1aaba16da94a9b425c9224e8 100644 (file)
@@ -15,7 +15,6 @@
 #include <asm/mach-imx/iomux-v3.h>
 #include <asm/mach-imx/boot_mode.h>
 #include <asm/io.h>
-#include <common.h>
 #include <linux/sizes.h>
 #include <mmc.h>
 #include <power/pmic.h>
index 84cc51e9cac780e2519e6474fa63dea5bebd3ebd..6176f738238941c0a9959bb1e1768a3c0b47366f 100644 (file)
@@ -20,7 +20,7 @@
 #include <asm/io.h>
 #include <linux/delay.h>
 #include <linux/sizes.h>
-#include <common.h>
+#include <config.h>
 #include <fsl_esdhc_imx.h>
 #include <miiphy.h>
 #include <netdev.h>
index e7958df40243977237225cfe9b4debf21de03227..e3353feec688a12165f26e1a965126ac5bf7cfbb 100644 (file)
@@ -21,7 +21,6 @@
 #include <env.h>
 #include <linux/delay.h>
 #include <linux/sizes.h>
-#include <common.h>
 #include <fsl_esdhc_imx.h>
 #include <mmc.h>
 #include <i2c.h>
index 534b16cec7ae87abb916992b551eacc7b2e5ac93..6b0665a1067fb4672fcb275bb613ab5384522ac0 100644 (file)
@@ -19,7 +19,7 @@
 #include <asm/mach-imx/mxc_i2c.h>
 #include <asm/io.h>
 #include <asm/sections.h>
-#include <common.h>
+#include <config.h>
 #include <env.h>
 #include <fsl_esdhc_imx.h>
 #include <i2c.h>
index de45f8b1d24bee69c1992fbf5d59f4caa48bef05..189eddefea3f4a3c3f415ba46d7584f130fc12f8 100644 (file)
@@ -15,7 +15,7 @@
 #include <asm/mach-imx/iomux-v3.h>
 #include <asm/mach-imx/boot_mode.h>
 #include <asm/io.h>
-#include <common.h>
+#include <config.h>
 #include <env.h>
 #include <fsl_esdhc_imx.h>
 #include <linux/sizes.h>
index 4fe23b51cd1bc165dfa51dd491745fbc50f1bab7..3db167c0dad3f8aeff8f9428b0ca816b9bac5d5e 100644 (file)
@@ -15,7 +15,6 @@
 #include <asm/io.h>
 #include <linux/delay.h>
 #include <linux/sizes.h>
-#include <common.h>
 #include <fsl_esdhc_imx.h>
 #include <mmc.h>
 #include <miiphy.h>
index 01e32136532d1cebbf4a54aa167a7f58fbed5269..af68e57854e2cf25455d4380c511113491e13c02 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2016 Freescale Semiconductor, Inc.
  */
 
-#include <common.h>
 #include <fdt_support.h>
 #include <init.h>
 #include <asm/global_data.h>
index b423ec8e218a5f9eba40c02533c16c6807c4d66e..43a0936bc9afb1338b8306bce7e8f75ec92c871c 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright 2010-2011 Freescale Semiconductor, Inc.
  */
 
-#include <common.h>
 #include <vsprintf.h>
 #include <asm/global_data.h>
 #include <asm/mmu.h>
index 13fc2fa2e38cde5b03c21a32f3c948278ffe63db..a7d80f2852119b16e063085c29fa83973795f668 100644 (file)
@@ -3,7 +3,7 @@
  * Copyright 2010-2011 Freescale Semiconductor, Inc.
  */
 
-#include <common.h>
+#include <config.h>
 #include <asm/fsl_law.h>
 #include <asm/mmu.h>
 
index d32274b24812e272e6984503cb4d0cc283b7dd4c..ab0031440ae830b8cde67e2a5fa8d49577f4533a 100644 (file)
@@ -4,7 +4,7 @@
  * Copyright 2020 NXP
  */
 
-#include <common.h>
+#include <config.h>
 #include <command.h>
 #include <image.h>
 #include <init.h>
index e450f626e0adc4d5106d2b2649dcbdfc9c95e144..fc26cef2cc8ee32f29db84adb4a641c1d3065901 100644 (file)
@@ -2,7 +2,7 @@
 /* Copyright 2013 Freescale Semiconductor, Inc.
  */
 
-#include <common.h>
+#include <config.h>
 #include <clock_legacy.h>
 #include <console.h>
 #include <env.h>
index 8f0dec4c0ab7fd245aa9bee62d6181d9027d0983..8cd79c6fb5f67b1d7c2234319705b734700af535 100644 (file)
@@ -2,7 +2,7 @@
 /*
  * Copyright 2011 Freescale Semiconductor, Inc.
  */
-#include <common.h>
+#include <config.h>
 #include <clock_legacy.h>
 #include <init.h>
 #include <mpc85xx.h>
index 265cde81a3c2b49ac6ed33949a521e992d4ac0f3..44acebaa2bbd99a9d837ed0ad209420e9cb7de07 100644 (file)
@@ -3,8 +3,9 @@
  * Copyright 2010-2011 Freescale Semiconductor, Inc.
  */
 
-#include <common.h>
+#include <config.h>
 #include <asm/mmu.h>
+#include <asm/ppc.h>
 
 struct fsl_e_tlb_entry tlb_table[] = {
        /* TLB 0 - for temp stack in cache */
index 5f16779abaadc1c000d4211660e1d8a587868d04..8622a5a610a52d51cc96133752430b924a424cc5 100644 (file)
@@ -3,11 +3,12 @@
  * Copyright 2010-2011 Freescale Semiconductor, Inc.
  */
 
-#include <common.h>
+#include <config.h>
 #include <vsprintf.h>
+#include <linux/string.h>
 #include <asm/mmu.h>
 #include <asm/immap_85xx.h>
-#include <asm/processor.h>
+#include <asm/ppc.h>
 #include <fsl_ddr_sdram.h>
 #include <fsl_ddr_dimm_params.h>
 #include <asm/io.h>
index 6085984eab43481325855fe41ff84318e3c3e771..49594070b836469ac7345ae4a456c4a55dd8dc2a 100644 (file)
@@ -3,7 +3,7 @@
  * Copyright 2010-2011 Freescale Semiconductor, Inc.
  */
 
-#include <common.h>
+#include <config.h>
 #include <asm/fsl_law.h>
 #include <asm/mmu.h>
 
index 602b7f0156ba8fb19587b0732dd7281721e408d3..399ff7207229368ffcea774e05b81fd358e27e23 100644 (file)
@@ -4,7 +4,7 @@
  * Copyright 2020 NXP
  */
 
-#include <common.h>
+#include <config.h>
 #include <command.h>
 #include <env.h>
 #include <hang.h>
index 6c3f82849e3a54aa29308cf268ff8ecfda10969c..b07f481fbf9d25be2ecdda1437f098152dc30551 100644 (file)
@@ -3,7 +3,7 @@
  * Copyright 2013 Freescale Semiconductor, Inc.
  */
 
-#include <common.h>
+#include <config.h>
 #include <clock_legacy.h>
 #include <console.h>
 #include <env.h>
index f9e0b5b25ab78b4e03c7a47a9c3da99939d4ff50..511bcf5506b4457f1635b7e6d96502c6e6fb795e 100644 (file)
@@ -3,7 +3,7 @@
  * Copyright 2011 Freescale Semiconductor, Inc.
  */
 
-#include <common.h>
+#include <config.h>
 #include <clock_legacy.h>
 #include <init.h>
 #include <ns16550.h>
index 94773969e9d8989c5e6bc1e425cedeb37b0ba6c6..ae0b7adbe544474f8ae752af10b1105b3621e5a6 100644 (file)
@@ -3,8 +3,9 @@
  * Copyright 2010-2011 Freescale Semiconductor, Inc.
  */
 
-#include <common.h>
+#include <config.h>
 #include <asm/mmu.h>
+#include <asm/ppc.h>
 
 struct fsl_e_tlb_entry tlb_table[] = {
        /* TLB 0 - for temp stack in cache */
index a1908b8a57125c12806a38e5e9fcfd7f686ef472..915a8b994d5c2ba296f775bf5af6f3149aecaa01 100644 (file)
@@ -11,7 +11,6 @@
  * CPLD_BASE - The virtual address of the base of the CPLD register map
  */
 
-#include <common.h>
 #include <command.h>
 #include <asm/io.h>
 
index 910058cefe16004a84708233f89cc9db0a0f8a06..b8b765a85ef533a128a27a6aa856548bde7b1df7 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright 2011 Freescale Semiconductor, Inc.
  */
 
-#include <common.h>
 #include <i2c.h>
 #include <hwconfig.h>
 #include <init.h>
index c0d05539c5c00a49df7cc22812894dadfdf9a4bd..65850866777605bd66e46cc3b6534e07dd3b294f 100644 (file)
@@ -12,7 +12,7 @@
  * and serdes protocol selection.
  */
 
-#include <common.h>
+#include <config.h>
 #include <net.h>
 #include <netdev.h>
 #include <asm/fsl_serdes.h>
index 575259b19c03c22f86e86b296f44e169616d85b6..d5b71f7843036885a5cc1b7258f4708f941068b5 100644 (file)
@@ -3,7 +3,7 @@
  * Copyright 2011,2012 Freescale Semiconductor, Inc.
  */
 
-#include <common.h>
+#include <config.h>
 #include <clock_legacy.h>
 #include <command.h>
 #include <env.h>
index 17a6226cafc7e56d4cd83310c8e64b5f3e30fceb..cc933ccd5440ec0b91037a9fd1fc91fbf8b79898 100644 (file)
@@ -7,7 +7,7 @@
  * The following macros need to be defined:
  */
 
-#include <common.h>
+#include <config.h>
 #include <command.h>
 #include <asm/io.h>
 #include "cpld.h"
index 1b4173989925eeca1308aee0674879b87eccd141..f8d504fb3c734dd1fff00514f2d3bacc4cebabee 100644 (file)
@@ -3,7 +3,7 @@
  * Copyright 2014 Freescale Semiconductor, Inc.
  */
 
-#include <common.h>
+#include <config.h>
 #include <i2c.h>
 #include <hwconfig.h>
 #include <init.h>
index ad78f72f98c82c740f134f4a151a9f1c728d4641..7185a0abd520a3b66defff486fb51c9a7889f3d3 100644 (file)
@@ -5,7 +5,7 @@
  * Shengzhou Liu <Shengzhou.Liu@freescale.com>
  */
 
-#include <common.h>
+#include <config.h>
 #include <command.h>
 #include <fdt_support.h>
 #include <net.h>
index d636bef325f05cb34483eeee6274ca019225b394..81caa961897a09f52e9bbe9d88fa7ea325e62822 100644 (file)
@@ -3,7 +3,7 @@
  * Copyright 2014 Freescale Semiconductor, Inc.
  */
 
-#include <common.h>
+#include <config.h>
 #include <asm/fsl_law.h>
 #include <asm/mmu.h>
 
index 9faf259af74dbdc4c8d3d23befa46ac9617fa4d2..de6cdda194e71133da22f0666ff4d8aea32b4a70 100644 (file)
@@ -2,7 +2,7 @@
 /* Copyright 2014 Freescale Semiconductor, Inc.
  */
 
-#include <common.h>
+#include <config.h>
 #include <clock_legacy.h>
 #include <console.h>
 #include <env_internal.h>
index 73f9d3ac72e7553eefa942d6f3bdb75cc20cd254..0a29e27b42cdacab0999b5cd90887dca636f530c 100644 (file)
@@ -4,7 +4,7 @@
  * Copyright 2020-2023 NXP
  */
 
-#include <common.h>
+#include <config.h>
 #include <command.h>
 #include <env.h>
 #include <fdt_support.h>
index 2519a9e4dbee7206139cd279ce16ee22d199cde5..008bd6e72b7b73d129db8a3684104ea105a2d798 100644 (file)
@@ -3,8 +3,9 @@
  * Copyright 2014 Freescale Semiconductor, Inc.
  */
 
-#include <common.h>
+#include <config.h>
 #include <asm/mmu.h>
+#include <asm/ppc.h>
 
 struct fsl_e_tlb_entry tlb_table[] = {
        /* TLB 0 - for temp stack in cache */
index 9ac57bbd8300aa51d10568a8c79a8800ebe16f45..c2d526ae15ac4e667822d2b3867201eab2b375c0 100644 (file)
@@ -10,7 +10,7 @@
  * CFG_SYS_CPLD_BASE-The virtual address of the base of the CPLD register map
  */
 
-#include <common.h>
+#include <config.h>
 #include <command.h>
 #include <asm/io.h>
 
index 02ddb6614158c5d962c36b8d035389fdaea94b43..bab684860dad007a1ea7b6814b6311f63efd5b34 100644 (file)
@@ -4,7 +4,7 @@
  * Copyright 2021 NXP
  */
 
-#include <common.h>
+#include <config.h>
 #include <i2c.h>
 #include <hwconfig.h>
 #include <init.h>
index 5eca9386f6eb38c41e06713d84dd00341e2c300b..d5c084e319d4e6658db5f79b89b15252ee4e092d 100644 (file)
@@ -3,7 +3,7 @@
  * Copyright 2014 Freescale Semiconductor, Inc.
  */
 
-#include <common.h>
+#include <config.h>
 #include <net.h>
 #include <netdev.h>
 #include <asm/fsl_serdes.h>
index a0d6eb5b2707e026a1e1ca209ab72c7b1d4adf77..d34641c2397048a6b9122db2f41d99cceafca242 100644 (file)
@@ -3,7 +3,7 @@
  * Copyright 2013 Freescale Semiconductor, Inc.
  */
 
-#include <common.h>
+#include <config.h>
 #include <asm/fsl_law.h>
 #include <asm/mmu.h>
 
index dd8283f3c60aac1f5273446a3c85f3cccccefd4c..e02a1f95d4cbf4c07d60b700e7acefe2809f0fff 100644 (file)
@@ -2,7 +2,7 @@
 /* Copyright 2013 Freescale Semiconductor, Inc.
  */
 
-#include <common.h>
+#include <config.h>
 #include <clock_legacy.h>
 #include <console.h>
 #include <env_internal.h>
index b3080492716780a59f47d2cd89de587985df2edb..ef4dfef4965c32656b413e9cdf8087d0d7411043 100644 (file)
@@ -4,7 +4,7 @@
  * Copyright 2023 NXP
  */
 
-#include <common.h>
+#include <config.h>
 #include <command.h>
 #include <env.h>
 #include <fdt_support.h>
index 10be580b81363ae1e74352a7e6048357bd6ff1ba..24bc83f756bd745a9b385ad35d99f1fb3216fe10 100644 (file)
@@ -3,8 +3,9 @@
  * Copyright 2013 Freescale Semiconductor, Inc.
  */
 
-#include <common.h>
+#include <config.h>
 #include <asm/mmu.h>
+#include <asm/ppc.h>
 
 struct fsl_e_tlb_entry tlb_table[] = {
        /* TLB 0 - for temp stack in cache */
index 56471b3988b9a31b82a1b7e8d31aba9008918310..9076fbba10af39adbc82e19bcfd638672a3110e1 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright 2013 Freescale Semiconductor, Inc.
  */
 
-#include <common.h>
 #include <i2c.h>
 #include <hwconfig.h>
 #include <init.h>
index 569b193eab783634700acdf44280e9b3bd77a2e2..9f299227e2956d5d307619ee4786b68984517314 100644 (file)
@@ -6,7 +6,7 @@
  * Shengzhou Liu <Shengzhou.Liu@freescale.com>
  */
 
-#include <common.h>
+#include <config.h>
 #include <command.h>
 #include <fdt_support.h>
 #include <log.h>
index 3cdd4937684e54b8e830f4d192f5122b12988164..287f4650e05897c1d18c1fa72c9fdfb5b1fb73d1 100644 (file)
@@ -6,7 +6,7 @@
  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  */
 
-#include <common.h>
+#include <config.h>
 #include <asm/fsl_law.h>
 #include <asm/mmu.h>
 
index 8866be54a66150217e7263a7881f809690e2eb21..44ad4e68d9f6cd22f81557bfd81e4e18dea65fda 100644 (file)
@@ -2,7 +2,7 @@
 /* Copyright 2013 Freescale Semiconductor, Inc.
  */
 
-#include <common.h>
+#include <config.h>
 #include <clock_legacy.h>
 #include <console.h>
 #include <env_internal.h>
index 8be55e52e5f6555b657ea83a6d0adfe46efedcf5..5e71da0e163f77ee59f817fd4e99719e21dd0e2f 100644 (file)
@@ -4,7 +4,7 @@
  * Copyright 2020 NXP
  */
 
-#include <common.h>
+#include <config.h>
 #include <clock_legacy.h>
 #include <command.h>
 #include <env.h>
index 3d220afc16e6cd03ac7eed1c2d0df99a14ced84d..f99d51c8cd762430810b436a7589965578d93ab0 100644 (file)
@@ -6,8 +6,9 @@
  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  */
 
-#include <common.h>
+#include <config.h>
 #include <asm/mmu.h>
+#include <asm/ppc.h>
 
 struct fsl_e_tlb_entry tlb_table[] = {
        /* TLB 0 - for temp stack in cache */
index 933fa0decc31540e9c7870e0dc8ed0a4fb89415c..d2226af627863ecae316e3a69f14d39602d3a81b 100644 (file)
@@ -5,8 +5,9 @@
  * Freescale T2080RDB board-specific CPLD controlling supports.
  */
 
-#include <common.h>
+#include <config.h>
 #include <command.h>
+#include <asm/io.h>
 #include "cpld.h"
 
 u8 cpld_read(unsigned int reg)
index 1fbab36e1a2058e8a2524a8acce7b7a85a0090e9..fe98f62668a7f38551ec9f57d11cca7cf5ab2ec4 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright 2014 Freescale Semiconductor, Inc.
  */
 
-#include <common.h>
 #include <i2c.h>
 #include <hwconfig.h>
 #include <init.h>
index e4592eac1530692773b3268bbd4b3f8d5c8551ef..5223eccb2804767e180d5f0f717b4eacd2f92e6c 100644 (file)
@@ -6,7 +6,6 @@
  * Shengzhou Liu <Shengzhou.Liu@freescale.com>
  */
 
-#include <common.h>
 #include <command.h>
 #include <fdt_support.h>
 #include <net.h>
index 53a13694506fd70cea96ac7a1f47aecda280243a..e1f570a89358bc8e1065d7a201cf13764523484f 100644 (file)
@@ -6,7 +6,7 @@
  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  */
 
-#include <common.h>
+#include <config.h>
 #include <asm/fsl_law.h>
 #include <asm/mmu.h>
 
index 130cb8847c0f7632ff96736bc0d73329ae2ad631..df3b9c6fe4050c2427432c6dae3b3b0da7a662c3 100644 (file)
@@ -2,7 +2,7 @@
 /* Copyright 2013 Freescale Semiconductor, Inc.
  */
 
-#include <common.h>
+#include <config.h>
 #include <clock_legacy.h>
 #include <console.h>
 #include <env_internal.h>
index e33e5d082d8004681120e63b3900b17987cae19e..d93edf007ad9138bab8deded20ca1433442c6916 100644 (file)
@@ -4,7 +4,7 @@
  * Copyright 2021-2023 NXP
  */
 
-#include <common.h>
+#include <config.h>
 #include <command.h>
 #include <env.h>
 #include <fdt_support.h>
index 688a208c621f939c56d6ee99c67dc6c9bafef0a2..df5831541f380b6678124908b2dfeb8d6f8a126c 100644 (file)
@@ -6,8 +6,9 @@
  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  */
 
-#include <common.h>
+#include <config.h>
 #include <asm/mmu.h>
+#include <asm/ppc.h>
 
 struct fsl_e_tlb_entry tlb_table[] = {
        /* TLB 0 - for temp stack in cache */
index 8b1012086ec7a245045517277fc18c430bf859ec..cd14d5895f5039b00fa8a1b8e83a9d3394abedb4 100644 (file)
@@ -14,7 +14,7 @@
  *
  */
 
-#include <common.h>
+#include <config.h>
 #include <command.h>
 #include <asm/io.h>
 
index 57cbde154f0e4ecab14a5b021b409f7a15ea6a8e..5b60b50c672bc541950d870bd05a9e1623bbb627 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright 2014 Freescale Semiconductor, Inc.
  */
 
-#include <common.h>
 #include <i2c.h>
 #include <hwconfig.h>
 #include <init.h>
index 2e52543847bffd445a326febf59e45ba50a419ae..e7646365d7d4000c6059677992f165a72ecafc79 100644 (file)
@@ -5,7 +5,7 @@
  * Chunhe Lan <Chunhe.Lan@freescale.com>
  */
 
-#include <common.h>
+#include <config.h>
 #include <command.h>
 #include <fdt_support.h>
 #include <net.h>
index 43eeb884e2ff71554d1b9a2f0cb111ca6f813851..c43ac0f30d74a7c3884e890126de1325ddb00e01 100644 (file)
@@ -3,7 +3,7 @@
  * Copyright 2014 Freescale Semiconductor, Inc.
  */
 
-#include <common.h>
+#include <config.h>
 #include <asm/fsl_law.h>
 #include <asm/mmu.h>
 
index 779457d29640da8656d9b3afa4084a64a6b81e6b..9d2472dec250fa935c2d4907ac59b8ad622459ab 100644 (file)
@@ -5,7 +5,7 @@
  * Author: Chunhe Lan <Chunhe.Lan@freescale.com>
  */
 
-#include <common.h>
+#include <config.h>
 #include <clock_legacy.h>
 #include <console.h>
 #include <env_internal.h>
index ab717769ed5caa5c8cdcf7d17f6b531f7ae6bca8..5cacfd273803e3140994b3af06155076b7398a29 100644 (file)
@@ -4,7 +4,7 @@
  * Copyright 2023 NXP
  */
 
-#include <common.h>
+#include <config.h>
 #include <command.h>
 #include <env.h>
 #include <fdt_support.h>
index f5af893c2d9d4315063211fac93d1bd2d58ec798..1fb9d41d52b15beb39acca2146b40ab8dd6bd34d 100644 (file)
@@ -3,8 +3,9 @@
  * Copyright 2014 Freescale Semiconductor, Inc.
  */
 
-#include <common.h>
+#include <config.h>
 #include <asm/mmu.h>
+#include <asm/ppc.h>
 
 struct fsl_e_tlb_entry tlb_table[] = {
        /* TLB 0 - for temp stack in cache */
index 98cb0140ad02637ca284a8dcfc67c2ab9a06f146..80a798af9cb6971352253a84479e49cacaaaa852 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright 2013 Freescale Semiconductor, Inc.
  */
 
-#include <common.h>
 #include <init.h>
 #include <asm/global_data.h>
 #include <asm/io.h>
index 393c5a447d6fd085fe6af6981c56ff1fefc3391c..c8cbc5a15fa8c5c8094bfc714855a1bc57343a34 100644 (file)
@@ -5,7 +5,6 @@
  */
 
 #include <config.h>
-#include <common.h>
 #include <command.h>
 #include <fdt_support.h>
 #include <log.h>
index 585e08c944f9c9dcd012701b4582f1366abc3f7d..cd9c2414a3209ad6e8ff4304833af83c35b2c103 100644 (file)
@@ -5,7 +5,6 @@
  */
 
 #include <config.h>
-#include <common.h>
 #include <i2c.h>
 #include <asm/io.h>
 
index 7303e53af9257efafe562309e9179d0f461ef7df..b37367300cf0c92e7c56840f7fdbdd947086737f 100644 (file)
@@ -4,7 +4,6 @@
  */
 
 #include <config.h>
-#include <common.h>
 #include <errno.h>
 #include <fdtdec.h>
 #include <fdt_support.h>
index 4f0b1e33c2df98f9c618a6a3d0936f1fd719aba8..31cc871330cacfdaae04cc9f778533c2acab5ff9 100644 (file)
@@ -5,7 +5,6 @@
  */
 
 #include <config.h>
-#include <common.h>
 #include <errno.h>
 #include <asm/io.h>
 #include <asm/arch/clk.h>
index d9dfb256b32a36df78f616c6df4e7d207361d39a..2b5b2844fbd289270834875287bf3cddbe1a525a 100644 (file)
@@ -4,7 +4,7 @@
  * Copyright (C) 2019 Stefan Roese <sr@denx.de>
  */
 
-#include <common.h>
+#include <config.h>
 #include <debug_uart.h>
 #include <env.h>
 #include <init.h>
index 2807c4e3114147388ca5eaa3408592891c849ff1..fb3ec48f9c52ee35c3ab2f83118c519a21b03df4 100644 (file)
@@ -4,7 +4,7 @@
  * Copyright (C) 2019 Stefan Roese <sr@denx.de>
  */
 
-#include <common.h>
+#include <config.h>
 #include <nand.h>
 #include <spl.h>
 #include <asm/arch/at91sam9x5_matrix.h>
index 0cfde91c94c62f153322c4696c436d891ac7454c..c6b14bed41fb676d0fac4333fd021064dca7640e 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2018 Stefan Roese <sr@denx.de>
  */
 
-#include <common.h>
 #include <command.h>
 #include <env.h>
 #include <env_internal.h>
index 74328b2e1b31d7252ed0f58cebde83532d7a025f..891d1b5ddcaa8b8d377802b854ebca1f8cdc32e2 100644 (file)
@@ -5,7 +5,6 @@
  * Author: Tim Harvey <tharvey@gateworks.com>
  */
 
-#include <common.h>
 #include <env.h>
 #include <fsl_esdhc_imx.h>
 #include <hwconfig.h>
index e622a9ba9e4daa97d2403ea7bfce9fcf0dfade16..b37f19722491d3732a1e17f458e9b4b7edd0d0cd 100644 (file)
@@ -5,7 +5,6 @@
  */
 
 #include <command.h>
-#include <common.h>
 #include <gsc.h>
 #include <hexdump.h>
 #include <i2c.h>
index 683def7e9f71123080de996415465e0e6d211de5..21a908c20dd52517b05feef58b1589d652f8eba9 100644 (file)
@@ -6,7 +6,6 @@
  */
 
 #include <command.h>
-#include <common.h>
 #include <fdt_support.h>
 #include <gsc.h>
 #include <hwconfig.h>
index 2f046c9c0b3ed12a39033f918221d50753bc5ff9..3de4727b2edf1b196efcd3612f4150a8835433fc 100644 (file)
@@ -4,7 +4,7 @@
  * Author: Tim Harvey <tharvey@gateworks.com>
  */
 
-#include <common.h>
+#include <config.h>
 #include <env.h>
 #include <gsc.h>
 #include <hang.h>
index 241be4ee630b0fb46a4dfb58ff4db154101ce5a8..afaabf3487933f1b7975ea9bb1112717e6a39892 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright 2021 Gateworks Corporation
  */
 
-#include <common.h>
 #include <gsc.h>
 #include <hexdump.h>
 #include <i2c.h>
index 78b431dc28441ce2c5c080c847e54ca9a938ad57..3f2c090a94fc30d71557844586c8a8ded356813d 100644 (file)
@@ -6,7 +6,6 @@
  */
 
 #include <linux/kernel.h>
-#include <common.h>
 #include <asm/arch/ddr.h>
 #include <asm/arch/lpddr4_define.h>
 
index b0a315ba9531f1779d774008da0e017066918797..f10d310a46d4078d688f13ec28f67099c91f7f70 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright 2021 Gateworks Corporation
  */
 
-#include <common.h>
 #include <cpu_func.h>
 #include <hang.h>
 #include <i2c.h>
index 0f620c2d91728f9fc76d4c77bc255f335b45ba25..4abb3e451285ec144428948c79421c05b9b33da9 100644 (file)
@@ -4,7 +4,7 @@
  * Copyright (C) 2016 Mario Six <mario.six@gdsys.cc>
  */
 
-#include <common.h>
+#include <config.h>
 #include <command.h>
 #include <dm.h>
 #include <event.h>
index 61d30c2e637319a1569da4e540dd56e3347e9bf5..a12e115c72cbb89bdbba8c867bde1e46a382315b 100644 (file)
@@ -4,7 +4,6 @@
  * Mario Six, Guntermann & Drunck GmbH, mario.six@gdsys.cc
  */
 
-#include <common.h>
 #include <i2c.h>
 #include <fdt_support.h>
 #include <asm-generic/gpio.h>
index d16233ed78ee6e1edc5c4bf683719a66492b4bcc..f303793b63b70eaec5fa437b1f1a2cb675b73800 100644 (file)
@@ -4,7 +4,6 @@
  * Reinhard Pfau, Guntermann & Drunck GmbH, reinhard.pfau@gdsys.cc
  */
 
-#include <common.h>
 #include <log.h>
 #include <malloc.h>
 #include <fs.h>
index 495a97691881976ddeb0923f986cea94352eed53..970d508ff328ccdb529d7d7d3d2f6f75aadc7f7d 100644 (file)
@@ -1,8 +1,8 @@
-#include <common.h>
 #include <command.h>
 #include <console.h> /* ctrlc */
 #include <pci.h>
 #include <asm/io.h>
+#include <mach/soc.h>
 
 #include "hydra.h"
 
index 60a5c37aeffb02ceda13a7c52a90744b5cc8f6bb..690a29690b9ce45171218f0dcc361da1157216c0 100644 (file)
@@ -1,4 +1,3 @@
-#include <common.h>
 #include <dm.h>
 #include <miiphy.h>
 #include <asm-generic/gpio.h>
index 7020fae18941fa22ab340b21847fd61630967ab8..15c36e22684fdd86b449f36b40fca72a265effd0 100644 (file)
@@ -4,7 +4,6 @@
  * Mario Six, Guntermann & Drunck GmbH, mario.six@gdsys.cc
  */
 
-#include <common.h>
 #include <command.h>
 #include <env.h>
 #include <tpm-v1.h>
index 1412421a02181b407479bdd117612218b22c18dd..fb6313f01975efc386134c93e08a00b1bdd0bbea 100644 (file)
@@ -4,7 +4,6 @@
  * Dirk Eibach, Guntermann & Drunck GmbH, dirk.eibach@gdsys.cc
  */
 
-#include <common.h>
 #include <command.h>
 #include <console.h>
 #include <linux/bitops.h>
index 9ca69ebcbbe749db02f45f860b294e22ea65dfbf..7698e76b5248f71b60d538f42a119efab1d9b4e0 100644 (file)
@@ -8,7 +8,6 @@
 
 #ifdef CONFIG_GDSYS_LEGACY_DRIVERS
 
-#include <common.h>
 #include <asm/io.h>
 #include <errno.h>
 #include <i2c.h>
index 5f1215e9e8a65a34e7d9ca6363380a408ce9460e..a814566beaf0e5055b7b65135cab7b2ef9880b81 100644 (file)
@@ -4,7 +4,6 @@
  * Dirk Eibach,  Guntermann & Drunck GmbH, dirk.eibach@gdsys.cc
  */
 
-#include <common.h>
 #include <linux/delay.h>
 
 #include <miiphy.h>
index 7292d7ab5a41095214a3ebe8c745427f5ae6a58f..f01b48b5c8e94e74cbfe322e5e9d523123f457aa 100644 (file)
@@ -6,7 +6,6 @@
 
 #ifdef CONFIG_GDSYS_LEGACY_DRIVERS
 
-#include <common.h>
 
 #include <gdsys_fpga.h>
 #include <linux/bitops.h>
index dc548efbc7a43afda789cbcdecd6c3b890bc87bf..bd9c5ca996980f88d055c3987f7235fe98da9168 100644 (file)
@@ -6,7 +6,6 @@
 
 #ifdef CONFIG_GDSYS_LEGACY_DRIVERS
 
-#include <common.h>
 #include <command.h>
 #include <i2c.h>
 #include <malloc.h>
index 6a9c0b4c24f0dad5ab8438a451b11d9ced346af0..39e64f5f2eb343edf6aba3fab2fa88a137b419c3 100644 (file)
@@ -9,7 +9,6 @@
  * Dirk Eibach,  Guntermann & Drunck GmbH, eibach@gdsys.de
  */
 
-#include <common.h>
 #include <command.h>
 #include <dm.h>
 #include <hexdump.h>
index cc608c4ac434a95ffed6cbc85fff8a65e3598b00..05e4d84460ae1e163721b80c7b33020129fcab89 100644 (file)
@@ -5,7 +5,6 @@
  * SPDX-License-Identifier:    GPL-2.0+
  */
 
-#include <common.h>
 #include <command.h>
 #include <dm.h>
 #include <env.h>
index 0f90f8ad327bebbb51526adff0d8b7c4c4a32c50..42c45ecedceade1fa76c58f2e126b783a56aa50f 100644 (file)
@@ -4,7 +4,6 @@
  * Dirk Eibach,  Guntermann & Drunck GmbH, dirk.eibach@gdsys.cc
  */
 
-#include <common.h>
 #include <command.h>
 #include <init.h>
 #include <asm/processor.h>
index 4fac146353da0cef5144b0febbf72a15b8599c7c..2933de0f3048c7c10fadcea74606c97882d65dec 100644 (file)
@@ -13,7 +13,7 @@
 
 #ifndef CONFIG_MPC83XX_SDRAM
 
-#include <common.h>
+#include <config.h>
 #include <init.h>
 #include <mpc83xx.h>
 #include <spd_sdram.h>
index a2cbd1512e9214c6380c68d36047597d628a05e4..031773bc5ef33598a91692a0cc9119f58d7b091e 100644 (file)
@@ -17,7 +17,6 @@
 #include <asm/io.h>
 #include <asm/mach-imx/video.h>
 #include <command.h>
-#include <common.h>
 #include <i2c.h>
 #include <input.h>
 #include <ipu_pixfmt.h>
index 6437afc7bd0aaee59a60cc692b81eb557aa06330..5c62ecca8c89febc5ea506d9cdd6d9a3492a0e36 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright 2017 General Electric Company
  */
 
-#include <common.h>
 #include <env.h>
 #include <dm/uclass.h>
 #include <rtc.h>
index 0c51dc57e90251d802989ca9495386492623deb0..d32c18da351c8251a96ba82a713d445c9221a9ac 100644 (file)
@@ -3,7 +3,7 @@
  * Copyright 2016 General Electric Company
  */
 
-#include "common.h"
+#include <linux/types.h>
 
 struct vpd_cache;
 
index cc462d53da6a1b2da991efe7c25d7cec43a4c9bf..9396d43f8adda711541e86b443e7c91f92386c06 100644 (file)
@@ -8,7 +8,6 @@
  * Jason Liu <r64343@freescale.com>
  */
 
-#include <common.h>
 #include <init.h>
 #include <asm/global_data.h>
 #include <asm/io.h>
index 4e2c6ebde73c330a483a0ef3fc452d57c6aff828..eb4dd758b3b58b0efa8078becf2c1365cca89044 100644 (file)
@@ -8,7 +8,6 @@
  * Fabio Estevam <fabio.estevam@freescale.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <linux/list.h>
 #include <asm/arch/iomux-mx53.h>
index 9d9168d608a1eec7b8dcd5bf10422d1228d23474..7b2724c01d045e72db0de03a614c24fa5d708856 100644 (file)
@@ -5,7 +5,6 @@
 
 #define LOG_CATEGORY   UCLASS_SYSINFO
 
-#include <common.h>
 #include <bloblist.h>
 #include <command.h>
 #include <cros_ec.h>
index d0a740dd3f40492a776211c5c550178d1f377331..9544d6dd19a800cfb265a9fc3351962b99fceb2b 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright 2020 NXP
  */
 
-#include <common.h>
 #include <env.h>
 #include <init.h>
 #include <malloc.h>
index 83de5bfd75fa2500041c34a45dd777976dcc2289..cfba9300dcbf37439274c4cf12a5e014437ad53d 100644 (file)
@@ -4,7 +4,7 @@
  *
  */
 
-#include <common.h>
+#include <config.h>
 #include <hang.h>
 #include <asm/global_data.h>
 #include <asm/io.h>
index 32dbcdc4d10a56d8aada6cb3fae53120a7db84a1..53c3435c92fcbd0ccaa7cf2d6520254423a2e287 100644 (file)
@@ -4,7 +4,6 @@
  */
 
 #include <clk.h>
-#include <common.h>
 #include <dm.h>
 #include <init.h>
 #include <log.h>
index 64b32ca96df34a89d983e018a5b0b42b2926a7b2..8313b37655fbfbbb79d99434896bb19e662080be 100644 (file)
@@ -4,7 +4,7 @@
  * Copyright (C) 2017, Grinn - http://grinn-global.com/
  */
 
-#include <common.h>
+#include <config.h>
 #include <init.h>
 #include <net.h>
 #include <asm/arch/chilisom.h>
index cf1d7cee92525b30b9b1d57d9f002609fd0828d2..07bb5b7d79744334a1d47564d95963f84f4b3eba 100644 (file)
@@ -4,7 +4,6 @@
  * Copyright (C) 2016 Grinn
  */
 
-#include <common.h>
 #include <command.h>
 #include <init.h>
 #include <asm/arch/clock.h>
index 9c057278ace15f50176c950174f8701070b7916d..899c502dfbc89718005e5d2b0ad49e7f31183138 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright 2012 Calxeda, Inc.
  */
 
-#include <common.h>
 #include <ahci.h>
 #include <asm/io.h>
 #include <linux/delay.h>
index d9dd2c2bf67f13472442735023ec3a1934143ff4..94052f7a3f9a91e8ce2b01b8ea97ddabad705b58 100644 (file)
@@ -10,7 +10,6 @@
  * Copyright (C) 2019 Arm Ltd.
  */
 
-#include <common.h>
 #include <dm.h>
 #include <dm/lists.h>
 
index 7f67d1e45308531d94d099d959e442d6177e7a7f..f3df83ed6c9bb14b205f738a48d55d66029e269a 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright 2010-2011 Calxeda, Inc.
  */
 
-#include <common.h>
 #include <ahci.h>
 #include <cpu_func.h>
 #include <env.h>
index c9a2d60ee56c0212676326126b8a65d3e6df86e2..95a831efcafda1b9fa470fc0279021cd1b3875bf 100644 (file)
@@ -3,7 +3,6 @@
  * (C) Copyright 2015 Linaro
  * Peter Griffin <peter.griffin@linaro.org>
  */
-#include <common.h>
 #include <cpu_func.h>
 #include <dm.h>
 #include <fdt_support.h>
index f41fabbad099739d382c07747b03537c8461119e..5029f4edb2af3fd7d15935cbb43f3cb36b0a5f0e 100644 (file)
@@ -4,7 +4,6 @@
  * Author: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
  */
 
-#include <common.h>
 #include <cpu_func.h>
 #include <dm.h>
 #include <errno.h>
index b89e7e869766d20a00a7b1e20e112d460032e87f..c3ea080ff75a71c97e92fb5627740ecff8d8f8d2 100644 (file)
@@ -4,7 +4,6 @@
  * Jorge Ramirez-Ortiz <jorge.ramirez-ortiz@linaro.org>
  */
 
-#include <common.h>
 #include <cpu_func.h>
 #include <dm.h>
 #include <init.h>
index 68d3d300dc40627156b5a0dae6499c0a6d094efe..0966e257464a26cd273fe75893eb83f99b2ca393 100644 (file)
@@ -6,7 +6,6 @@
  * Copyright (C) 2021 Renesas Electronics Corporation
  */
 
-#include <common.h>
 #include <asm/global_data.h>
 #include <asm/io.h>
 #include <asm/processor.h>
index c246a7b9d455f77ec252eb55e679a496091db069..b0f7d3243c5eb218af10f4b73afa15d1b09f0438 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2016 Imagination Technologies
  */
 
-#include <common.h>
 #include <init.h>
 
 #include <asm/io.h>
index cecf454011ccc9c0dc4ec3236dda73cdbd92cf7e..55356d1175de590de329b3688423a796fd74de19 100644 (file)
@@ -3,7 +3,7 @@
  * Copyright (C) 2016 Imagination Technologies
  */
 
-#include <common.h>
+#include <config.h>
 #include <init.h>
 #include <asm/global_data.h>
 
index bf772ff5dec4f7b10de1c50bf0a17cbd0dbb037c..874a21cec61ed5ee7d63208efb72a8543b1b024b 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2016 Imagination Technologies
  */
 
-#include <common.h>
 #include <fdt_support.h>
 #include <asm/global_data.h>
 
index 89f5e7ad792c905d61c7156e02e0b5070327190c..4e268381d3c5222c534299ac7f6eade0b0bf4465 100644 (file)
@@ -6,7 +6,6 @@
  * Author: Paul Burton <paul.burton@imgtec.com>
  */
 
-#include <common.h>
 #include <env.h>
 #include <init.h>
 #include <net.h>
index aba11e25be31736f3ada5f34224ab73f71e0fca4..edd5c203b16da51ac5aca1eef5b33a1099824ff1 100644 (file)
@@ -6,7 +6,6 @@
  * Setup code for the FDC37M817 super I/O controller
  */
 
-#include <common.h>
 #include <asm/io.h>
 
 #define SIO_CONF_PORT          0x3f0
index 7122692721143faf10bf1608138d36b4298a2b3f..e50ee8efe55860a4ff40952f1ad21fe76c8be7ad 100644 (file)
@@ -8,7 +8,7 @@
  *
  */
 
-#include <common.h>
+#include <config.h>
 #include <init.h>
 #include <asm/global_data.h>
 
index c037d5b14cd71c10ca58079b1463acb08f9794f7..b4378afee1526127627f93e10472c71222545488 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2017, Bin Meng <bmeng.cn@gmail.com>
  */
 
-#include <common.h>
 #include <asm/arch/gpio.h>
 #include <asm/fsp1/fsp_support.h>
 
index 7f61ef8b366b20970b289d0ef11cdad292d4a68d..e5cda068e17d051062f5ffcdbecc5d90190d9ed9 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2016, Bin Meng <bmeng.cn@gmail.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <init.h>
index 55095deeadd7100856977e012f7f9b47a47c52a2..036beb1146dcac2f68461ae64fe4a8797ebebe6b 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2014, Bin Meng <bmeng.cn@gmail.com>
  */
 
-#include <common.h>
 #include <init.h>
 #include <asm/ibmpc.h>
 #include <asm/pnp_def.h>
index 11e7f74e47cca0c9733d698ad71eddcd77d03b76..911ffda2fc7811c9ce798183d648fbadbff3ce37 100644 (file)
@@ -2,7 +2,6 @@
 /*
  * Copyright (c) 2017 Intel Corporation
  */
-#include <common.h>
 #include <env.h>
 #include <init.h>
 #include <mmc.h>
index 341b627a65f5919a6cd07f2f364a1e0371bada41..19e5d0952fb845cba7a5f40f38e4a93e0758a901 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2015, Bin Meng <bmeng.cn@gmail.com>
  */
 
-#include <common.h>
 #include <asm/io.h>
 #include <asm/arch/device.h>
 #include <asm/arch/quark.h>
index b02e3f0d4e5c43144255bb412915d879e92b49b1..cdc2e0b75d811e0d01db56cfe00f07dca2b0bc05 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2015, Google, Inc
  */
 
-#include <common.h>
 #include <dm.h>
 #include <init.h>
 #include <log.h>
index b20ddf0c682e608a73fe829e783cb1eab8d89022..f92c0b5112f001028cd314fa60468460848f5782 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2019 Intel Corporation <www.intel.com>
  */
 
-#include <common.h>
 #include <init.h>
 
 int board_early_init_r(void)
index f3a0de3967bba17b15dadb729220f8b65157a55b..fbed8abcecfb4629e928e59438a26d423a81e64c 100644 (file)
@@ -7,7 +7,7 @@
  * Andrej Rosano <andrej@inversepath.com>
  */
 
-#include <common.h>
+#include <config.h>
 #include <command.h>
 #include <fs.h>
 #include <init.h>
index 0387160200190c35a6acad7f0097c0c6dde30204..00b08987e9e8f6ac7072775c1454964ec18e40ca 100644 (file)
@@ -6,7 +6,6 @@
  * Luka Perkov <luka@openwrt.org>
  */
 
-#include <common.h>
 #include <init.h>
 #include <netdev.h>
 #include <asm/arch/cpu.h>
index 7dbb080089271c28dd498a747de6a4ec5686d569..7cd26ce3c34b7f14c3957b8288e5f02929e7755c 100644 (file)
@@ -5,7 +5,7 @@
  * Copyright (C) 2013-2017, ISEE 2007 SL - http://www.isee.biz/
  */
 
-#include <common.h>
+#include <config.h>
 #include <env.h>
 #include <errno.h>
 #include <init.h>
index 550e3b3197dd993cc4e79ae63d81fb3383adbf77..1a40c0077627560daa5a4fb97df2c0be4be0712c 100644 (file)
@@ -11,7 +11,6 @@
  * GNU General Public License for more details.
  */
 
-#include <common.h>
 #include <asm/arch/sys_proto.h>
 #include <asm/arch/hardware.h>
 #include <asm/arch/mux.h>
index 3fdf83e845c9cf4c5b414dd1be9faa5b90a1abb0..2584d2e5ddfde02f4a3139642f4aeff47a45a330 100644 (file)
@@ -1,6 +1,5 @@
 // SPDX-License-Identifier: GPL-2.0+
 
-#include <common.h>
 #include <twl4030.h>
 #include <asm/global_data.h>
 #include <asm/io.h>
index 0f0a9c592fcc3f76fc0630c33b89edefd862ccbd..8a3f290f678fe6fbc0529edc269e40723d01e801 100644 (file)
@@ -3,7 +3,7 @@
  * (C) Copyright 2010
  * ISEE 2007 SL, <www.iseebcn.com>
  */
-#include <common.h>
+#include <config.h>
 #include <env.h>
 #include <init.h>
 #include <malloc.h>
index 9f93cf008ce8542b84d7d933f1970694a28ed6b4..cbfe94e25a28059fbd3f8326cae9361c8dbddfd7 100644 (file)
@@ -9,11 +9,11 @@
  * Daniel Gericke <daniel.gericke@tqs.de>
  */
 
-#include <common.h>
 #include <env.h>
 #include <i2c.h>
 #include "kp_id_rev.h"
 #include <net.h>
+#include <vsprintf.h>
 
 static int eeprom_has_been_read;
 static struct id_eeprom eeprom;
index 7c3a695cb258a9a30b66167e24a2751c59eb311c..efb7b49cbe081d43987fab6b7db30bedf1510b3b 100644 (file)
@@ -4,7 +4,6 @@
  * Lukasz Majewski, DENX Software Engineering, lukma@denx.de
  */
 
-#include <common.h>
 #include <init.h>
 #include <asm/global_data.h>
 #include <asm/io.h>
index e6877e4c07039dc3bf04b780a5b8a5e3673a7f36..e0895194300a064fc6d04723a5730076f2449fa4 100644 (file)
@@ -5,7 +5,6 @@
  * Copyright (C) 2018 Lukasz Majewski <lukma@denx.de>
  */
 
-#include <common.h>
 #include <init.h>
 #include <asm/arch/clock.h>
 #include <asm/arch/crm_regs.h>
index 54902437940bb9e46a9c4fdbd2a5574e0a30a1d0..6a5e252751d4788132c7897b9079c67f824de15f 100644 (file)
@@ -5,7 +5,6 @@
  * Copyright (C) 2018 Lukasz Majewski <lukma@denx.de>
  */
 
-#include <common.h>
 #include <init.h>
 #include <log.h>
 #include <asm/arch/clock.h>
index 991022ac833a2195ca4438237471fa370faf8eda..9358c25dcb05151547268bf4655aacfea78de3ee 100644 (file)
@@ -7,7 +7,7 @@
  * Holger Brunck, Keymile GmbH Hannover, holger.brunck@keymile.com
  */
 
-#include <common.h>
+#include <config.h>
 #include <env.h>
 #include <ioports.h>
 #include <command.h>
index 67db0c50f47c1e80b49ae6d0fadf6e946747f67f..f01fe44303c902df294701cb7130809ee9fdc64a 100644 (file)
@@ -4,10 +4,11 @@
  * Holger Brunck, Keymile GmbH Hannover, holger.brunck@keymile.com
  */
 
-#include <common.h>
 #include <cli_hush.h>
 #include <env.h>
 #include <i2c.h>
+#include <stdio.h>
+#include <vsprintf.h>
 #include "common.h"
 
 #define MAC_STR_SZ     20
index b433f69675abad4fd1ab9f0e4347f0897f17576a..c8299483299d732c43e7e344aaae1e4e1fd36f78 100644 (file)
@@ -4,7 +4,7 @@
  * Valentin Longchamp <valentin.longchamp@keymile.com>
  */
 
-#include <common.h>
+#include <config.h>
 #include <asm/io.h>
 #include <linux/bitops.h>
 
index acd13105dd55e729d9977b85ac9c2bf13462d9b0..40718aa58a7b568a1839f432d29af9eec41c53c5 100644 (file)
@@ -13,7 +13,7 @@
  * Heiko Schocher, DENX Software Engineering, hs@denx.de.
  */
 
-#include <common.h>
+#include <config.h>
 #include <env.h>
 #include <event.h>
 #include <fdt_support.h>
index 41b24e39433d55bd14a32e6afce32b989cc6796b..77e11e9bc1ed9824538e063a9901d2c3c0789100 100644 (file)
@@ -7,7 +7,7 @@
  */
 
 #include <asm/mmu.h>
-#include <asm/u-boot.h>
+#include <asm/ppc.h>
 
 struct fsl_e_tlb_entry tlb_table[] = {
        /* TLB 0 - for temp stack in cache */
index 556d39d4d4e3c0a3eda43948933c523779da5e4d..51938a1b4d8875fc2dd23686e17d89ef02801b51 100644 (file)
@@ -4,7 +4,7 @@
  * Copyright 2020 Hitachi Power Grids. All rights reserved.
  */
 
-#include <common.h>
+#include <config.h>
 #include <fsl_ddr_sdram.h>
 #include <fsl_ddr_dimm_params.h>
 #include <asm/io.h>
index 6a4cb21786ac07bdf7e3dff3b3aaf651b3711903..1a626c520680057e4a826e319fed0e27c1059d4f 100644 (file)
@@ -2,7 +2,6 @@
 /*
  * Copyright (C) 2017-2020 Hitachi Power Grids
  */
-#include <common.h>
 #include <i2c.h>
 #include <asm/gpio.h>
 
index 9c5b687b3e8bb7e22bd99e48256e8805aae5eb05..4c8407bb676846dda2a1270d53a07b0df5a1d13a 100644 (file)
@@ -4,7 +4,7 @@
  *  based on board/solidrun/clearfog/clearfog.c
  */
 
-#include <common.h>
+#include <config.h>
 #include <i2c.h>
 #include <init.h>
 #include <miiphy.h>
index 4548e7c1dff90d63ba120b0dedbe7e9ee21cfdf7..a908aee9eccf7e8f15f454152549f95a07056de9 100644 (file)
@@ -1,7 +1,6 @@
 // SPDX-License-Identifier: GPL-2.0+
 
 #include "pitx_misc.h"
-#include <common.h>
 #include <efi.h>
 #include <efi_loader.h>
 #include <init.h>
index a247803a4b469bffcddb6dac3a50eac1247f83d0..475e52f62314c8dc4fe59ee0c6154503aaa8eae7 100644 (file)
@@ -1,6 +1,6 @@
 // SPDX-License-Identifier: GPL-2.0+
 
-#include <common.h>
+#include <config.h>
 #include <errno.h>
 #include <fsl_esdhc_imx.h>
 #include <hang.h>
index 74b79c7a009f1c3a114169345eb9044910570100..851aeef8f8c28dbd2da8d67c8cb89b4b4c60bd91 100644 (file)
@@ -4,7 +4,6 @@
  */
 
 #include <linux/kernel.h>
-#include <common.h>
 #include <asm/arch/ddr.h>
 #include <asm/arch/lpddr4_define.h>
 
index 08a22b5d01e0b7d9702b205b41cfc1b3020592bd..7851361c48cc7ee68b4e93b62ea89cf9ae3744cc 100644 (file)
@@ -5,10 +5,11 @@
  * Copyright (c) 2020 Kontron Europe GmbH
  */
 
-#include <common.h>
 #include <command.h>
 #include <i2c.h>
+#include <vsprintf.h>
 #include <linux/delay.h>
+#include <linux/errno.h>
 
 #define CPLD_I2C_ADDR 0x4a
 #define REG_UFM_CTRL 0x02
index 331de29baee637a805e8f9db83f3a55249966efa..d8d0172a21b7479d5088f53c4cd6f43a92631392 100644 (file)
@@ -1,6 +1,6 @@
 // SPDX-License-Identifier: GPL-2.0+
 
-#include <common.h>
+#include <config.h>
 #include <asm/global_data.h>
 #include <asm/io.h>
 
index 315d9f99c71d3a93062edfc89bbdc76e8faebe14..9b881fdc265e64457523ec1cad94d84404d9fc38 100644 (file)
@@ -1,6 +1,6 @@
 // SPDX-License-Identifier: GPL-2.0+
 
-#include <common.h>
+#include <config.h>
 #include <asm/global_data.h>
 #include <asm/io.h>
 #include <fsl_ddr_sdram.h>
index 4ab221c12bf6ef777ee13417d2978c9778284195..adfec8ba2379cb65563569230079b8b58104efb4 100644 (file)
@@ -1,6 +1,5 @@
 // SPDX-License-Identifier: GPL-2.0+
 
-#include <common.h>
 #include <dm.h>
 #include <malloc.h>
 #include <efi.h>
index 80acde74956db0816da33b6f8d85b5af24ce5c6d..45a4fc65120e45cf06752dfe2035179ec6acc8b4 100644 (file)
@@ -1,6 +1,6 @@
 // SPDX-License-Identifier: GPL-2.0+
 
-#include <common.h>
+#include <config.h>
 #include <asm/io.h>
 #include <asm/spl.h>
 #include <asm/arch-fsl-layerscape/fsl_serdes.h>
index a9cd6850e983e84c899e372f8b2e1f950d388aa5..0710316a48bc2c2a9b954bb6fba081783f59287e 100644 (file)
@@ -5,7 +5,7 @@
  * Copyright (c) 2020 Michael Walle <michael@walle.cc>
  */
 
-#include <common.h>
+#include <config.h>
 #include <asm/global_data.h>
 #include <asm/io.h>
 #include <atf_common.h>
index f009a8afd48c32507b3172402a4ae78a6b5affa7..3220727f236601a4e5c76af1f0a0ec444f56c0fd 100644 (file)
@@ -5,7 +5,6 @@
  * Copyright (C) 2014 Marek Vasut <marex@denx.de>
  */
 
-#include <common.h>
 #include <display_options.h>
 #include <dm.h>
 #include <eeprom.h>
index 24c0fb22268f5077d91f2fcdda112be37ff2b281..008418b01846858af23e44183ebf6a810eb0ed8b 100644 (file)
@@ -5,7 +5,7 @@
  * Copyright (C) 2014 Marek Vasut <marex@denx.de>
  */
 
-#include <common.h>
+#include <config.h>
 #include <clock_legacy.h>
 #include <init.h>
 #include <asm/io.h>
index a96a877f5f21834d9784104d711d28c61ad84c0e..be5a737a31dd32ea295d2cfbecbd7aed964925d0 100644 (file)
@@ -9,7 +9,6 @@
  * Copyright (C) 2014 Marek Vasut <marex@denx.de>
  */
 
-#include <common.h>
 #include <log.h>
 #include <linux/delay.h>
 #include <linux/errno.h>
index b3c176dd59a09075cd01c99935e287b257a60cac..066d315baa221aeecdb536eccdd05aca20659671 100644 (file)
@@ -9,7 +9,7 @@
  *                   Gregory CLEMENT <gregory.clement@free-electrons.com>
  */
 
-#include <common.h>
+#include <config.h>
 #include <init.h>
 #include <asm/global_data.h>
 #include <asm/io.h>
index 43afe593c78b87eb36e76604176b2163886b3016..1a153668a43ce1620c23c779d5bd92ba812b3bb7 100644 (file)
@@ -12,7 +12,7 @@
  * Copyright (C) 2007 Sergey Kubushyn <ksi@koi8.net>
  */
 
-#include <common.h>
+#include <config.h>
 #include <env.h>
 #include <i2c.h>
 #include <init.h>
index 86032d7fcdf7b0e876bc6c8b9ed71b0a22e22c52..88d5d08814335a1b86809f99d187bf032daaeee8 100644 (file)
@@ -6,7 +6,6 @@
  */
 
 #include <config.h>
-#include <common.h>
 #include <dm.h>
 #include <env.h>
 #include <fastboot.h>
index e3a59dbec009b1175e18520e661f56cc97b19548..a0bbd03e8d19cc47cb4d07227ee376b6fc1d692a 100644 (file)
@@ -4,7 +4,6 @@
  * Lukasz Majewski, DENX Software Engineering, lukma@denx.de
  */
 
-#include <common.h>
 #include <dm.h>
 #include <fdt_support.h>
 #include <init.h>
index 97928e92215c34dfeb1b2e7954fe065fbba87b0f..819d3acbe56091fb79dd629ff9b2db2571baaab5 100644 (file)
@@ -4,7 +4,6 @@
  * Lukasz Majewski, DENX Software Engineering, lukma@denx.de
  */
 
-#include <common.h>
 #include <cpu_func.h>
 #include <env.h>
 #include <image.h>
index 1b49526fba4f2dbc230c5ad45982054ea98d454f..fef915b2acaaeb2f6e36d620cf0e749e3148679a 100644 (file)
@@ -4,7 +4,6 @@
  * Lukasz Majewski, DENX Software Engineering, lukma@denx.de
  */
 
-#include <common.h>
 #include <env.h>
 #include <init.h>
 #include <serial.h>
index 6cf8f8390e8b74e39fc4e11fcc90e8337cc01177..88c157eca45ae0bf4f243e88cc71dc07378fbd32 100644 (file)
@@ -12,7 +12,6 @@
  * on behalf of DENX Software Engineering GmbH
  */
 
-#include <common.h>
 #include <config.h>
 #include <asm/io.h>
 #include <asm/arch/iomux-mx28.h>
index 0a6fd7f1437e2e665e9b9521132f9b7d957f9204..9ade3563b2554b50d0c5ee07a6dbced6920246b5 100644 (file)
@@ -13,7 +13,6 @@
  *
  */
 
-#include <common.h>
 #include <fdt_support.h>
 #include <init.h>
 #include <log.h>
index e69a73f2af6f1a536ee7ce15b012d3b86a63c371..e6ca31016b7c3adfacd76659d55a43330b2d80a9 100644 (file)
@@ -10,7 +10,6 @@
  * Texas Instruments Incorporated - https://www.ti.com/
  */
 
-#include <common.h>
 #include <dm.h>
 #include <init.h>
 #include <net.h>
index 0d53548dcb4badab5d9a000fb6b86a6dba08f16a..589136fd64aac1ce84efc149208878826980113c 100644 (file)
@@ -8,7 +8,6 @@
  * and updates by Jagan Teki <jagan@amarulasolutions.com>
  */
 
-#include <common.h>
 #include <env.h>
 #include <init.h>
 #include <miiphy.h>
index 86992829caf45c63a1fb1c662879679e65b034f4..a9fe61918b6a23b7817d774b89a490ec445e9965 100644 (file)
@@ -10,7 +10,7 @@
  *     Richard Woodruff <r-woodruff2@ti.com>
  *     Syed Mohammed Khasim <khasim@ti.com>
  */
-#include <common.h>
+#include <config.h>
 #include <dm.h>
 #include <init.h>
 #include <net.h>
index aad3dc864295a92269e424ddd8ad0ba6811088d6..e011520f2ec26327417864cae7d77756be096906 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2014 Stefan Roese <sr@denx.de>
  */
 
-#include <common.h>
 #include <init.h>
 #include <miiphy.h>
 #include <asm/global_data.h>
index 2cc73bc35dcae794ce15bda2f681afb90ec980ff..e7f492a13bc3176a30e92847778416a6a25ada6a 100644 (file)
@@ -4,7 +4,6 @@
  * Author: Sam Shih <sam.shih@mediatek.com>
  */
 
-#include <common.h>
 #include <config.h>
 #include <env.h>
 #include <init.h>
index ec10f77c51e4847cfdb74a8c8778c79f899f37a5..c78eaa072439715498cde0b55baab3549fae412a 100644 (file)
@@ -3,7 +3,7 @@
  * Copyright (C) 2018 MediaTek Inc.
  */
 
-#include <common.h>
+#include <config.h>
 #include <mmc.h>
 #include <asm/global_data.h>
 
index 55f7696c51075cc8886a4ca9cc955d887fb31b4c..02719181624c5c396d1dbfc4a2bd8e8b2882c2c6 100644 (file)
@@ -3,7 +3,7 @@
  * Copyright (C) 2018 MediaTek Inc.
  */
 
-#include <common.h>
+#include <config.h>
 #include <asm/global_data.h>
 
 DECLARE_GLOBAL_DATA_PTR;
index db613ebdc4f41398ca43f18d43b9fc4a35923255..1b8736966f616690e7d1da459d7e6b6798004cda 100644 (file)
@@ -4,7 +4,6 @@
  * Author: Fabien Parent <fparent@baylibre.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <net.h>
 
index ac3adb8012221f5eb379c7cf05220d1feeca0971..d2f557ffee5f9df5822a9880fe222af8864de97d 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2019 MediaTek Inc.
  */
 
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <wdt.h>
index 42f3863b92c32438f6e2c729af8c5c5c355d3b03..930bfec34836e9defc02611fce2ac2f31df1b34c 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2019 BayLibre SAS
  */
 
-#include <common.h>
 #include <dm.h>
 #include <net.h>
 
index e03da63b1d922e3d720eb65bc9b99021ad7f3ab8..745cfda2ddf07c5fa0e32fe2fa482005a0ba2cd3 100644 (file)
@@ -3,7 +3,7 @@
  * Copyright (C) 2019 MediaTek Inc.
  */
 
-#include <common.h>
+#include <config.h>
 #include <dm.h>
 #include <init.h>
 #include <log.h>
index b8dffb0e48588565b188012be64466ce6d8fb141..79351f472731e46a4b07dc8af63f23241f385b2e 100644 (file)
@@ -6,7 +6,6 @@
  * Copyright (C) 2014-2017 Olaf Mandel <o.mandel@menlosystems.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <init.h>
 #include <malloc.h>
index 18f5fd5c5ee9e7a6fa7aadbf772854410c308a3d..f47b45c1d5607e5af61cd1a7a8e06bd8c51dfd9a 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright 2021-2022 Marek Vasut <marex@denx.de>
  */
 
-#include <common.h>
 #include <asm/arch/clock.h>
 #include <asm/arch/imx8mm_pins.h>
 #include <asm/arch/sys_proto.h>
index 0f5f82924e7732493aee3ef793332cc175716764..7beac33cfbd379b9cee4008408c40a7c80943b73 100644 (file)
@@ -4,7 +4,6 @@
  * Padmarao Begari <padmarao.begari@microchip.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <env.h>
 #include <init.h>
index 3c2203d22025216efa369f967f28e26273bcedf0..848a1aee4000465199895e39c07af56286a59fee 100644 (file)
@@ -7,7 +7,6 @@
  *
  */
 
-#include <common.h>
 #include <dm.h>
 #include <clk.h>
 #include <init.h>
index 315169ba661d9d613678194b39694aba98306ee1..ae1c586277f985bc92114d43d8e2f1304f1245f5 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2015 Stefan Roese <sr@denx.de>
  */
 
-#include <common.h>
 #include <i2c.h>
 #include <init.h>
 #include <asm/global_data.h>
index be5c5060a2a09c561a52826e24cc185e043045e0..ebc490e24b1c91d8432f9cf517e0f62cc078a98a 100644 (file)
@@ -4,7 +4,6 @@
  * Copyright (C) 2018, Boundary Devices <info@boundarydevices.com>
  */
 
-#include <common.h>
 #include <env.h>
 #include <init.h>
 #include <malloc.h>
index 5120c628b91a1a701761852a42416dd10dd37c81..48a783593b6eaeea4296cfaa6093c3c53e64a82e 100644 (file)
@@ -5,7 +5,7 @@
  * SPDX-License-Identifier:    GPL-2.0+
  */
 
-#include <common.h>
+#include <config.h>
 #include <hang.h>
 #include <image.h>
 #include <init.h>
index 6ccbf02db06e67aded8f2bf06fb906d81ebf68e8..b1ce014bd55d1bee6f26c0dd53445d57f4511309 100644 (file)
@@ -7,7 +7,6 @@
  * Copyright 2021 Collabora Ltd.
  */
 
-#include <common.h>
 #include <errno.h>
 #include <miiphy.h>
 #include <netdev.h>
index ed7a1b7d3d00269e31c31290c1ed6900f9313d82..b1b5561838dc55a8569177679d678865a10987db 100644 (file)
@@ -7,7 +7,7 @@
  * Copyright 2021 Collabora Ltd.
  */
 
-#include <common.h>
+#include <config.h>
 #include <cpu_func.h>
 #include <fsl_esdhc_imx.h>
 #include <hang.h>
index 45b9649336dbccc571fe9e5d2b25ddd9d9dea504..cb43ad6811e7b32967387a8524aaa8371c74a076 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (c) 2018 Microsemi Coprporation
  */
 
-#include <common.h>
 #include <asm/io.h>
 #include <spi.h>
 #include <linux/bitops.h>
index 84b95be648d7ed9c93f51b67db98b464e157a819..acaeb46802238f4623e8f51086e0b29e99a4e7d1 100644 (file)
@@ -3,7 +3,7 @@
  * Copyright (c) 2018 Microsemi Corporation
  */
 
-#include <common.h>
+#include <config.h>
 #include <image.h>
 #include <init.h>
 #include <asm/io.h>
index 48170b3aa12d71cec00d93cb59d513c30fb4ee82..f9ea26ebc5c63ee59f10440837cdb7b72200191b 100644 (file)
@@ -3,7 +3,7 @@
  * Copyright (c) 2018 Microsemi Corporation
  */
 
-#include <common.h>
+#include <config.h>
 #include <image.h>
 #include <init.h>
 #include <asm/global_data.h>
index d69db04de664fd31b8594eed609053e34c9dde60..4cec25b3976c6f665bd19391a55809eb0ea86835 100644 (file)
@@ -3,7 +3,7 @@
  * Copyright (c) 2018 Microsemi Corporation
  */
 
-#include <common.h>
+#include <config.h>
 #include <image.h>
 #include <init.h>
 #include <log.h>
index 99d5f5be657e519c69d7f0c7b8b5787bc2b04b8f..951c24dd286b4fabb480d7970d10d37c9006a48e 100644 (file)
@@ -3,7 +3,7 @@
  * Copyright (c) 2018 Microsemi Corporation
  */
 
-#include <common.h>
+#include <config.h>
 #include <image.h>
 #include <init.h>
 #include <asm/global_data.h>
index 49993168c237ddd26371ecc9e5292de50bd40df8..9055b73ada273ba71d6f6c8b6b4a3073ac960f7e 100644 (file)
@@ -3,7 +3,7 @@
  * Copyright (c) 2018 Microsemi Corporation
  */
 
-#include <common.h>
+#include <config.h>
 #include <image.h>
 #include <init.h>
 #include <asm/global_data.h>
index 3cf14e2bc660595f2c2cee5a9c6a8409559ef625..4414487eff241d019f7c50f2ded5795dace4e13f 100644 (file)
@@ -4,7 +4,7 @@
  * Author: Parthiban Nallathambi <parthiban@linumiz.com>
  */
 
-#include <common.h>
+#include <config.h>
 #include <init.h>
 #include <spl.h>
 #include <asm/arch/clock.h>
index cfc3529c3488e4254b8cd4500ccd069708e950f2..9cf3a2fe60a2fc26425a238eef2e693b366566cd 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2018 Álvaro Fernández Rojas <noltari@gmail.com>
  */
 
-#include <common.h>
 #include <init.h>
 #include <asm/io.h>
 #include <linux/bitops.h>
index 1edebe5db9be745517a2c6ea66a8662477856e20..ca3b0698f5a8e251b1ab904ef4f48edf685e9a8d 100644 (file)
@@ -12,7 +12,6 @@
 #include <asm/global_data.h>
 #include <asm/mach-imx/iomux-v3.h>
 #include <asm/io.h>
-#include <common.h>
 #include <linux/sizes.h>
 
 DECLARE_GLOBAL_DATA_PTR;
index 53c931c3c2443647e8c3424e4e0c93086aff1a6a..1f519219e7e641ff5465b10425acec63281e1001 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (c) 2022 Nuvoton Technology Corp.
  */
 
-#include <common.h>
 #include <dm.h>
 #include <asm/io.h>
 #include <asm/arch/gcr.h>
index e69bca95031f41664f1800a2d91a23df5f849741..3c4e5aaf2940103e6bfb9b06b0c528d5d6f999a8 100644 (file)
@@ -4,7 +4,6 @@
  * Copyright (c) 2021 Nuvoton Technology Corp.
  */
 
-#include <common.h>
 #include <dm.h>
 #include <env.h>
 #include <asm/io.h>
index b5d0c14854dd46020545c54854eae89cd9d85eff..c6956ff9f5827694813a8be77bbb77deb9107433 100644 (file)
@@ -7,7 +7,6 @@
  *  Svyatoslav Ryhel <clamor95@gmail.com>
  */
 
-#include <common.h>
 #include <asm/arch-tegra/tegra_i2c.h>
 #include <linux/delay.h>
 
index de2fa300f1c89b99fff230ff49928a6d8ccdd722..80912a65a19486a966702e1133da4e4eb1105e23 100644 (file)
@@ -7,7 +7,6 @@
  *  Svyatoslav Ryhel <clamor95@gmail.com>
  */
 
-#include <common.h>
 #include <asm/arch-tegra/tegra_i2c.h>
 #include <linux/delay.h>
 
index 6848e3400466fb8ca80258ab649ee763a8ccd535..ab0dc61ebe54e912d73cae16903c0a785885713a 100644 (file)
@@ -4,7 +4,6 @@
  *  NVIDIA Corporation <www.nvidia.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <asm/arch/pinmux.h>
index 72511e401e3cea6e0c48cf6f079907cc2ba9ce80..c00c6343eaa0fc91fab9ce8d5c18face57d62c05 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (c) 2010-2013, NVIDIA CORPORATION.  All rights reserved.
  */
 
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <asm/arch/pinmux.h>
index 52236792e24da3f14d7b7c33d332f97620c22c65..da14e09c40cc4e0a7932d3fb9f00d9eddc29d5e8 100644 (file)
@@ -4,7 +4,6 @@
  *  NVIDIA Corporation <www.nvidia.com>
  */
 
-#include <common.h>
 #include <asm/io.h>
 #include <asm/arch/clock.h>
 #include <asm/arch/funcmux.h>
index 7f3cdd70fe7793ffac777cd88620bc002dbfa88e..da6edb42c1eb2fb32e3e2dbf5998ad5f4fd6ef60 100644 (file)
@@ -4,7 +4,6 @@
  * NVIDIA Corporation <www.nvidia.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <linux/printk.h>
index 06a36f8ed3871920702999ebc2958feff7ba2284..e15f31dcfd7f911152170fd6f672ff1eb26e9dd3 100644 (file)
@@ -4,7 +4,6 @@
  * NVIDIA Corporation <www.nvidia.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <log.h>
index b819b049f4b4fca3ffdfd67c6eff43fe409e5d2b..edf2b1adb7c60891641c828cf81617448e8ffb57 100644 (file)
@@ -4,7 +4,6 @@
  * NVIDIA Corporation <www.nvidia.com>
  */
 
-#include <common.h>
 #include <i2c.h>
 #include <log.h>
 #include <asm/arch/gpio.h>
index 816c7bec6ae4eafe09e63df68fdc99412a8b4989..5f203d8ffaa8fbac73f4160360fe5acdd4c70464 100644 (file)
@@ -4,7 +4,6 @@
  * NVIDIA Corporation <www.nvidia.com>
  */
 
-#include <common.h>
 #include <env.h>
 #include <fdtdec.h>
 #include <i2c.h>
index a4c4259eeaee9339cca130415166b0d9d844eb3a..4056f986483b3e6b6fa406b0f4876988c360b48f 100644 (file)
@@ -4,7 +4,6 @@
  * NVIDIA Corporation <www.nvidia.com>
  */
 
-#include <common.h>
 #include <i2c.h>
 #include <log.h>
 #include <asm/arch/gpio.h>
index 5ff89c45423e82a1aa1962719b49a57311ae96f7..12eaa7a1e53da27b2efaf866668bf2a24d4a2263 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (c) 2016, NVIDIA CORPORATION
  */
 
-#include <common.h>
 #include <env.h>
 #include <fdtdec.h>
 #include <i2c.h>
index fb1a224daa72e7b4d79caa48c747bbd4bd8a8f46..530c438a2e3081b8b2b5fd1a806523ef077ff610 100644 (file)
@@ -5,7 +5,6 @@
  *
  */
 
-#include <common.h>
 #include <fdtdec.h>
 #include <i2c.h>
 #include <linux/bitops.h>
index 829751112f1c05a586e6c20951d537d86b88eb7b..a646dcc96b52e371a4c25460ff08c1b46a6cf5ec 100644 (file)
@@ -4,7 +4,6 @@
  *  NVIDIA Corporation <www.nvidia.com>
  */
 
-#include <common.h>
 #include <asm/io.h>
 #include <asm/mach-types.h>
 #include <asm/arch/tegra.h>
index 395bdd99c78915411aa07feb6701cb8a145168c4..b89e03703b210fa24b6a29e1a088a2817506e82e 100644 (file)
@@ -4,7 +4,6 @@
  * NVIDIA Corporation <www.nvidia.com>
  */
 
-#include <common.h>
 #include <log.h>
 #include <asm/io.h>
 #include <asm/arch-tegra/tegra_i2c.h>
index d89bbe5ecce2f828e266242d7327c79fff9ca970..fa10cda4870e7647c79e6c41d6e06ed4052bb3e0 100644 (file)
@@ -4,7 +4,7 @@
  * NVIDIA Corporation <www.nvidia.com>
  */
 
-#include <common.h>
+#include <linux/kernel.h>
 #include <asm/arch/gpio.h>
 #include <asm/arch/pinmux.h>
 #include "pinmux-config-venice2.h"
index bdd5fcd76ae8d77aedf469430d7f733e874a89f1..b2bb6678c23f48a7f224a4d5f1c8b88a5e61071a 100644 (file)
@@ -5,7 +5,6 @@
  * Copyright (C) 2013 Marek Vasut <marex@denx.de>
  */
 
-#include <common.h>
 #include <init.h>
 #include <asm/global_data.h>
 #include <asm/gpio.h>
index 248176c23cdc60a926a754356f91f5af741996d9..eb85ce9643d8f753170930e07aa8af170f02903f 100644 (file)
@@ -5,7 +5,6 @@
  * Copyright (C) 2013 Marek Vasut <marex@denx.de>
  */
 
-#include <common.h>
 #include <config.h>
 #include <asm/io.h>
 #include <asm/arch/iomux-mx23.h>
index f2282d15488866d172de5989daffc3e88ebaa6a4..4c957e8899212a4feeca467c3423618336766419 100644 (file)
@@ -8,7 +8,6 @@
  *   Pragnesh Patel <pragnesh.patel@sifive.com>
  *   Tianrui Wei <tianrui-wei@outlook.com>
  */
-#include <common.h>
 #include <init.h>
 #include <configs/openpiton-riscv64.h>
 #include <dm.h>
index edb200e9e55bd021fabf28ccfb435f5d1fe6c620..10469aecd0bbc196c4891b82ae62a82aaff07fab 100644 (file)
@@ -5,7 +5,6 @@
 #include <asm/arch/sys_proto.h>
 #include <asm/global_data.h>
 #include <asm/mach-imx/boot_mode.h>
-#include <common.h>
 #include <env.h>
 
 DECLARE_GLOBAL_DATA_PTR;
index 3feb00fd1ecbbcd50c035fc0a75086c914c342af..c34fc503059bb2f78492b4f2416265eaadf39e48 100644 (file)
@@ -5,6 +5,8 @@
 ifdef CONFIG_SPL_BUILD
 # necessary to create built-in.o
 obj- := __dummy__.o
+else
+obj-$(CONFIG_ARCH_K3) += k3/
 endif
 
 obj-y += phytec_som_detection.o
index ee34a5b95791d39f645010de6e30ee92120c7248..bfd60ffb777307ecad2aad626386733c6099bebd 100644 (file)
@@ -4,7 +4,6 @@
  * Author: Teresa Remmet <t.remmet@phytec.de>
  */
 
-#include <common.h>
 #include <asm/arch/sys_proto.h>
 #include <dm/device.h>
 #include <dm/uclass.h>
diff --git a/board/phytec/common/k3/Makefile b/board/phytec/common/k3/Makefile
new file mode 100644 (file)
index 0000000..bcca1a9
--- /dev/null
@@ -0,0 +1,2 @@
+# SPDX-License-Identifier: GPL-2.0+
+obj-y += board.o
diff --git a/board/phytec/common/k3/board.c b/board/phytec/common/k3/board.c
new file mode 100644 (file)
index 0000000..9cb168c
--- /dev/null
@@ -0,0 +1,73 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
+/*
+ * Copyright (C) 2024 PHYTEC Messtechnik GmbH
+ * Author: Wadim Egorov <w.egorov@phytec.de>
+ */
+
+#include <env_internal.h>
+#include <spl.h>
+#include <asm/arch/hardware.h>
+
+#if IS_ENABLED(CONFIG_ENV_IS_IN_FAT) || IS_ENABLED(CONFIG_ENV_IS_IN_MMC)
+int mmc_get_env_dev(void)
+{
+       u32 boot_device = get_boot_device();
+
+       switch (boot_device) {
+       case BOOT_DEVICE_MMC1:
+               return 0;
+       case BOOT_DEVICE_MMC2:
+               return 1;
+       };
+
+       return CONFIG_SYS_MMC_ENV_DEV;
+}
+#endif
+
+enum env_location env_get_location(enum env_operation op, int prio)
+{
+       u32 boot_device = get_boot_device();
+
+       if (prio)
+               return ENVL_UNKNOWN;
+
+       switch (boot_device) {
+       case BOOT_DEVICE_MMC1:
+       case BOOT_DEVICE_MMC2:
+               if (CONFIG_IS_ENABLED(ENV_IS_IN_FAT))
+                       return ENVL_FAT;
+               if (CONFIG_IS_ENABLED(ENV_IS_IN_MMC))
+                       return ENVL_MMC;
+       case BOOT_DEVICE_SPI:
+               if (CONFIG_IS_ENABLED(ENV_IS_IN_SPI_FLASH))
+                       return ENVL_SPI_FLASH;
+       default:
+               return ENVL_NOWHERE;
+       };
+}
+
+#if IS_ENABLED(CONFIG_BOARD_LATE_INIT)
+int board_late_init(void)
+{
+       u32 boot_device = get_boot_device();
+
+       switch (boot_device) {
+       case BOOT_DEVICE_MMC1:
+               env_set_ulong("mmcdev", 0);
+               env_set("boot", "mmc");
+               break;
+       case BOOT_DEVICE_MMC2:
+               env_set_ulong("mmcdev", 1);
+               env_set("boot", "mmc");
+               break;
+       case BOOT_DEVICE_SPI:
+               env_set("boot", "spi");
+               break;
+       case BOOT_DEVICE_ETHERNET:
+               env_set("boot", "net");
+               break;
+       };
+
+       return 0;
+}
+#endif
index 78c173df20d44c415d9ba8a3460e63e489452e3a..b14bb3dbb7fa78dce7a74d67f294ff0a9d8b88bb 100644 (file)
@@ -4,7 +4,6 @@
  * Author: Teresa Remmet <t.remmet@phytec.de>
  */
 
-#include <common.h>
 #include <dm/device.h>
 #include <dm/uclass.h>
 #include <i2c.h>
index b6d459fdfce65e8968582b8c593e12300a607e49..b98c46dbcbd4190806a207c28e70e1d97552d392 100644 (file)
@@ -6,7 +6,7 @@
  * Copyright (C) 2015-2016 Stefan Roese <sr@denx.de>
  */
 
-#include <common.h>
+#include <config.h>
 #include <init.h>
 #include <spl.h>
 #include <asm/arch/clock.h>
index 0f7235979b0428e5485898a62be11cf2bec0e5d2..20f2aac332da8d421e97d15cbcf044b4fb12059c 100644 (file)
@@ -6,7 +6,6 @@
  * Copyright 2013 Freescale Semiconductor, Inc.
  */
 
-#include <common.h>
 #include <init.h>
 #include <asm/global_data.h>
 #include <asm/io.h>
index b37c6fe218da48a6ca5b4da478a66f72ca5a9081..ecc5b75d8d4200d5280ddf3c590f41f0aeae73f3 100644 (file)
@@ -9,7 +9,6 @@
  * Both NAND and eMMC cannot be set because they share the
  * same pins (SD4)
  */
-#include <common.h>
 #include <init.h>
 #include <net.h>
 #include <asm/arch/crm_regs.h>
index 5700effbd3f6640a1c70e2f9ddab47439de6d3bb..2022525651dc8e66de6f09ffcc831df9e50d1dae 100644 (file)
@@ -10,7 +10,7 @@
  * Copyright (C) 2019 DENX Software Engineering GmbH
  */
 
-#include <common.h>
+#include <config.h>
 #include <init.h>
 #include <spl.h>
 #include <asm/arch/cpu.h>
index 7091c985ba12d909c998d823f2f824ec76468e15..bb1c48da0fe53546bbb371c2407fffa6096ab1f2 100644 (file)
@@ -6,7 +6,6 @@
  * Copyright (C) 2019 DENX Software Engineering GmbH
  */
 
-#include <common.h>
 #include <asm/arch/sys_proto.h>
 #include <asm/arch/hardware.h>
 #include <asm/arch/mux.h>
index 618b4c370d1e636c403cf32e6ef252661dc4e144..a082b886bda7b2268d05e7aafe9a77d648089b41 100644 (file)
@@ -5,11 +5,8 @@
  */
 
 #include <asm/io.h>
-#include <env.h>
-#include <env_internal.h>
 #include <spl.h>
 #include <fdt_support.h>
-#include <asm/arch/hardware.h>
 
 DECLARE_GLOBAL_DATA_PTR;
 
@@ -57,67 +54,3 @@ void spl_board_init(void)
               MCU_CTRL_DEVICE_CLKOUT_32K_CTRL);
 }
 #endif
-
-#if IS_ENABLED(CONFIG_ENV_IS_IN_FAT) || IS_ENABLED(CONFIG_ENV_IS_IN_MMC)
-int mmc_get_env_dev(void)
-{
-       u32 boot_device = get_boot_device();
-
-       switch (boot_device) {
-       case BOOT_DEVICE_MMC1:
-               return 0;
-       case BOOT_DEVICE_MMC2:
-               return 1;
-       };
-
-       return CONFIG_SYS_MMC_ENV_DEV;
-}
-#endif
-
-enum env_location env_get_location(enum env_operation op, int prio)
-{
-       u32 boot_device = get_boot_device();
-
-       if (prio)
-               return ENVL_UNKNOWN;
-
-       switch (boot_device) {
-       case BOOT_DEVICE_MMC1:
-       case BOOT_DEVICE_MMC2:
-               if (CONFIG_IS_ENABLED(ENV_IS_IN_FAT))
-                       return ENVL_FAT;
-               if (CONFIG_IS_ENABLED(ENV_IS_IN_MMC))
-                       return ENVL_MMC;
-       case BOOT_DEVICE_SPI:
-               if (CONFIG_IS_ENABLED(ENV_IS_IN_SPI_FLASH))
-                       return ENVL_SPI_FLASH;
-       default:
-               return ENVL_NOWHERE;
-       };
-}
-
-#if IS_ENABLED(CONFIG_BOARD_LATE_INIT)
-int board_late_init(void)
-{
-       u32 boot_device = get_boot_device();
-
-       switch (boot_device) {
-       case BOOT_DEVICE_MMC1:
-               env_set_ulong("mmcdev", 0);
-               env_set("boot", "mmc");
-               break;
-       case BOOT_DEVICE_MMC2:
-               env_set_ulong("mmcdev", 1);
-               env_set("boot", "mmc");
-               break;
-       case BOOT_DEVICE_SPI:
-               env_set("boot", "spi");
-               break;
-       case BOOT_DEVICE_ETHERNET:
-               env_set("boot", "net");
-               break;
-       };
-
-       return 0;
-}
-#endif
index ef6472916903877bbe182dfaa48912aab1c79b1f..06cffbca3a690154318e1aae020c8987c66d8055 100644 (file)
@@ -4,7 +4,6 @@
  * Author: Teresa Remmet <t.remmet@phytec.de>
  */
 
-#include <common.h>
 #include <asm/arch/sys_proto.h>
 #include <asm/global_data.h>
 #include <asm/io.h>
index 690a51f7a72e917095cbb7b9ee0e7075a41408e3..8d858590a39b3fbab00c855692214de2831f91bf 100644 (file)
@@ -4,7 +4,6 @@
  * Author: Teresa Remmet <t.remmet@phytec.de>
  */
 
-#include <common.h>
 #include <asm/arch/clock.h>
 #include <asm/arch/ddr.h>
 #include <asm/arch/imx8mm_pins.h>
index dbdd6bb793739a0195272391869f782b53c44afa..35683591433cfccf73484f353c072da479469615 100644 (file)
@@ -4,7 +4,6 @@
  * Author: Teresa Remmet <t.remmet@phytec.de>
  */
 
-#include <common.h>
 #include <asm/arch/sys_proto.h>
 #include <asm/global_data.h>
 #include <asm/io.h>
index df158024654e64ee8ffd20a53a1cc7c45798c062..352f803e4541704fe1cfdb07caed62452ea70dbd 100644 (file)
@@ -4,7 +4,6 @@
  * Author: Teresa Remmet <t.remmet@phytec.de>
  */
 
-#include <common.h>
 #include <asm/arch/clock.h>
 #include <asm/arch/ddr.h>
 #include <asm/arch/imx8mp_pins.h>
index 3f49f39e3d5ddc80fa629e7d84c9cd4d023ea59c..a970634b4c331d973f3ae7fa70f3d048801245e9 100644 (file)
@@ -4,13 +4,11 @@
  * Author: Wadim Egorov <w.egorov@phytec.de>
  */
 
-#include <eeprom.h>
 #include <init.h>
 #include <log.h>
 #include <net.h>
 #include <asm/global_data.h>
 #include <asm/io.h>
-#include <common.h>
 #include <dm.h>
 #include <env.h>
 #include <env_internal.h>
index 0a4048d4982fea354e6e6d4f1883cddf5ad21800..01e210fcdd156c6e071546fd5a67268598c560cb 100644 (file)
@@ -5,7 +5,6 @@
  * liuhao  <liuhao@phytium.com.cn>
  */
 
-#include <common.h>
 #include <command.h>
 #include <cpu_func.h>
 #include <event.h>
index 0e837b0f50f4abd6701f8fd460fb6d250723fb35..fbbf6789b50541893ea00f03b613a9e53dd2930d 100644 (file)
@@ -12,7 +12,6 @@
 #include <asm/io.h>
 #include <linux/arm-smccc.h>
 #include <scsi.h>
-#include <asm/u-boot.h>
 #include "cpu.h"
 
 DECLARE_GLOBAL_DATA_PTR;
index 960e491c7687adacfa0a5aa4699639e92afd0551..0ea335e7486b22ba356678f2853b21128f45f558 100644 (file)
@@ -14,7 +14,6 @@
 #include <linux/arm-smccc.h>
 #include <scsi.h>
 #include <init.h>
-#include <asm/u-boot.h>
 #include "cpu.h"
 
 DECLARE_GLOBAL_DATA_PTR;
index 14b94c9e33ce3ad5ccaad9985601a176db57dbcc..112770ba493100f60effa0e5e3dac2867984e7e1 100644 (file)
@@ -11,7 +11,6 @@
 #include <asm/global_data.h>
 #include <asm/mach-imx/gpio.h>
 #include <asm/mach-imx/iomux-v3.h>
-#include <common.h>
 #include <env.h>
 #include <errno.h>
 #include <init.h>
index eb904e116b1199415d22b980bad6a3325f1c960f..6cbd1815cad5815c556cbec2456bc2997ee64945 100644 (file)
@@ -11,7 +11,6 @@
 #include <asm/global_data.h>
 #include <asm/mach-imx/boot_mode.h>
 #include <asm/sections.h>
-#include <common.h>
 #include <dm/device.h>
 #include <dm/uclass.h>
 #include <hang.h>
index d0249e71f09aa1a84a6109f24aa558e2d39fbfde..a3c421572afb7fa398182d2e5b5b994f04f4f6f4 100644 (file)
@@ -4,7 +4,6 @@
  * Copyright 2021 Purism
  */
 
-#include <common.h>
 #include <malloc.h>
 #include <errno.h>
 #include <asm/io.h>
index 46bc7f8591cbf850d6ad85d5c4e5cf42b15c278d..e9559e3d843aaac7cbf08ce4b65f366fb3209cca 100644 (file)
@@ -4,7 +4,6 @@
  */
 
 #include <linux/kernel.h>
-#include <common.h>
 #include <asm/arch/ddr.h>
 #include <asm/arch/lpddr4_define.h>
 
index ec68edaf6905b51c064b83f84782dffb2cf67ddc..5d8f2803be67f56db518fb5e8183355af3c3ddd5 100644 (file)
@@ -4,7 +4,6 @@
  */
 
 #include <linux/kernel.h>
-#include <common.h>
 #include <asm/arch/ddr.h>
 #include <asm/arch/lpddr4_define.h>
 
index 9aadc553302e0bb06dfedb536af1d4716cc50241..ed57554a2bc314a42c4be7c0e18e78d6c1d45199 100644 (file)
@@ -4,7 +4,7 @@
  * Copyright 2021 Purism
  */
 
-#include <common.h>
+#include <config.h>
 #include <asm/io.h>
 #include <errno.h>
 #include <asm/io.h>
index 60a2e19143dbbe0e02c4251d085ea38d50d23b2b..6bb12602193ae746560267bf57b51958d7b911d2 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2015-2016 Wills Wang <wills.wang@live.com>
  */
 
-#include <common.h>
 #include <init.h>
 #include <asm/io.h>
 #include <asm/addrspace.h>
index ac65054136caca92d39436abc11bea23c9a841e0..b88de9c4ec85e0d8346cf8886c68d37b4a0e8611 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2015-2016 Wills Wang <wills.wang@live.com>
  */
 
-#include <common.h>
 #include <init.h>
 #include <asm/io.h>
 #include <asm/addrspace.h>
index 82458c3af421ce46b9cc2c6afdf98813aec5a39c..53587288c93933315a2e612a6e33f1238d431e0d 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2018 Rosy Song <rosysong@rosinson.com>
  */
 
-#include <common.h>
 #include <init.h>
 #include <asm/io.h>
 #include <asm/addrspace.h>
index fbbfc0e65e24ba4c0feedc04ec9129b563dbb0e5..bd2e213b3bca4e0ffa402e9ddfdebfc1b01bb34c 100644 (file)
@@ -6,7 +6,6 @@
  */
 
 #include <button.h>
-#include <common.h>
 #include <cpu_func.h>
 #include <dm.h>
 #include <dm/pinctrl.h>
index ac7de711c588f7cfb31fbc0f18fb1d85d3ce803c..d3333a59db01caa940224a99df6b43a3375cacf8 100644 (file)
@@ -13,7 +13,6 @@
 #include <asm/global_data.h>
 #include <linux/arm-smccc.h>
 #include <linux/psci.h>
-#include <common.h>
 #include <dm.h>
 #include <asm/io.h>
 #include <linux/bitops.h>
index f9bc07649e0a7ddd7cc2eed263881f57b61f558f..8d1d549a217cd47f7b91180a28eaeb629b017f70 100644 (file)
@@ -6,7 +6,6 @@
  * Simon Baatz <gmbnomis@gmail.com>
  */
 
-#include <common.h>
 #include <init.h>
 #include <miiphy.h>
 #include <asm/global_data.h>
index 2851ebc985355945335685a6c40711c1ab3eeb84..d996eb0cf695ef13305a6f8ed7a576c14ac854d9 100644 (file)
@@ -3,7 +3,6 @@
  * (C) Copyright 2012-2016 Stephen Warren
  */
 
-#include <common.h>
 #include <config.h>
 #include <dm.h>
 #include <env.h>
index 27fccacf6f809b5e8a062993f19de89cd35d9745..c88257d96772d7cf2eb8d6d3e75086fdcb15d92c 100644 (file)
@@ -14,7 +14,6 @@
 #include <asm/processor.h>
 #include <linux/errno.h>
 #include <asm/system.h>
-#include <asm/u-boot.h>
 
 DECLARE_GLOBAL_DATA_PTR;
 
index c475c3f50ab3bbbe18be66ef7e8d44d8ad4e7271..88f65c3b6a07ba615e33d66edd5a8081694b4a12 100644 (file)
@@ -10,7 +10,6 @@
 #include <asm/global_data.h>
 #include <asm/io.h>
 #include <asm/arch/sys_proto.h>
-#include <asm/u-boot.h>
 
 #define RZA1_WDT_BASE  0xfcfe0000
 #define WTCSR          0x00
index 8c606463e45528f50781569d24a5f4b53d57fc80..a0805030ea4636efc7379fb5ee93c1b56394aff1 100644 (file)
@@ -3,7 +3,6 @@
  * (C) Copyright 2015 Rockchip Electronics Co., Ltd
  */
 
-#include <common.h>
 #include <dm.h>
 #include <asm/io.h>
 #include <asm/arch-rockchip/uart.h>
index e0c96fd70a287fbdd2eebb28a3ca5657c2823ef5..c895da934a998b4f8a4a8b32fbc7336bd4c41604 100644 (file)
@@ -3,7 +3,6 @@
  * (C) Copyright 2018 Rockchip Electronics Co., Ltd
  */
 
-#include <common.h>
 #include <adc.h>
 #include <asm/global_data.h>
 
index 0d7a486bed74cbe09212978a1764d8d2bb2330a8..48b9d8f80c4b5097f242d28349317d1fcc0c6def 100644 (file)
@@ -4,7 +4,6 @@
  * Authors: Andy Yan <andy.yan@rock-chips.com>
  */
 
-#include <common.h>
 #include <init.h>
 #include <syscon.h>
 #include <asm/global_data.h>
index 0ca91cdeb014c77cd17f598da55fb78727dfe42a..c452b131208d0c0a5530011b13771818f75fbc2c 100644 (file)
@@ -3,7 +3,6 @@
  * (C) Copyright 2015 Rockchip Electronics Co., Ltd
  */
 
-#include <common.h>
 #include <dm.h>
 #include <env.h>
 #include <init.h>
index eff3a00c30a81662274a1df9ea1029e21441006a..e966e9f201abbb3ae8cd5e2c15a11d00ddba442d 100644 (file)
@@ -3,9 +3,7 @@
  * (C) Copyright 2016 Rockchip Electronics Co., Ltd
  */
 
-#include <common.h>
 #include <dm.h>
-#include <eeprom.h>
 #include <env.h>
 #include <i2c_eeprom.h>
 #include <init.h>
index c23097f04769ffb00721218dd9d6543725911144..a1f3f3cd7972d6b9c1a0607a862058c5a1bbcb13 100644 (file)
@@ -15,7 +15,6 @@
 #include <asm/mach-imx/iomux-v3.h>
 #include <asm/mach-imx/mxc_i2c.h>
 #include <asm/io.h>
-#include <common.h>
 #include <i2c.h>
 #include <miiphy.h>
 #include <power/pmic.h>
index b94cfd6ffc6761adafab04aa12f836974aa84f91..136de3cf3ef22ad034606291054550089a5d907e 100644 (file)
@@ -5,7 +5,6 @@
  * Author: Ilko Iliev <iliev@ronetix.at>
  */
 
-#include <common.h>
 #include <cpu_func.h>
 #include <init.h>
 #include <asm/arch/clock.h>
index 9805a3a7da8cef09206e4f7012914f67d527f05b..fbee2c39771e628b3841350eee8faf21c1707a6d 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright 2018 NXP
  */
 
-#include <common.h>
 #include <miiphy.h>
 #include <asm-generic/gpio.h>
 #include <asm/arch/imx8mq_pins.h>
index 685600ee62f545a2fb17285c0e7e0f517437d135..a7ad9375ce378a69181a0be51cc3a4ef17e3dbe7 100644 (file)
@@ -4,7 +4,6 @@
  */
 
 #include <linux/kernel.h>
-#include <common.h>
 #include <asm/arch/ddr.h>
 #include <asm/arch/lpddr4_define.h>
 
index 1c675bcab25a5b4860b916fa947b7a917afb6785..ee0ad20ced4ffc9b203de7348f0afe10225adc77 100644 (file)
@@ -4,7 +4,7 @@
  *
  */
 
-#include <common.h>
+#include <config.h>
 #include <hang.h>
 #include <init.h>
 #include <asm/arch/ddr.h>
index 07febe69dc7c757c48a1630d6e90bf2e4e4da3fd..ee578749bce77f996c83156289474ee24f89ebd9 100644 (file)
@@ -7,7 +7,7 @@
  * Copyright (C) 2009 Jean-Christopher PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
  */
 
-#include <common.h>
+#include <config.h>
 #include <init.h>
 #include <vsprintf.h>
 #include <asm/global_data.h>
index 76f62ddde9125e7f5ff7ff4e783529d3aa390c43..1de1bd6870163b020c6e93c709a40693a5525874 100644 (file)
@@ -7,7 +7,7 @@
  * Copyright (C) 2009 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
  */
 
-#include <common.h>
+#include <config.h>
 #include <init.h>
 #include <asm/global_data.h>
 #include <linux/sizes.h>
index aa5c80ac64176734fb06532726795c7254cbcdda..5d5edd9f25307687f328ed8c3eb65cbb12437311 100644 (file)
@@ -10,7 +10,7 @@
  * Lead Tech Design <www.leadtechdesign.com>
  */
 
-#include <common.h>
+#include <config.h>
 #include <init.h>
 #include <asm/global_data.h>
 #include <linux/sizes.h>
index 3ebf600e1d7c979810cdb372d6f5063724e1a31c..e70b4a82687c9711b22d1999a8fe5c91b0d44f21 100644 (file)
@@ -3,7 +3,7 @@
  * Copyright (C) 2013 Samsung Electronics
  */
 
-#include <common.h>
+#include <config.h>
 #include <cpu_func.h>
 #include <init.h>
 #include <log.h>
index 6ad0273e0495f01e4bf13e76d6e1bffbdedc4863..c40ca7fa749cd97d7f756a38afe74bd81d49f4d0 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (c) 2012 The Chromium OS Authors.
  */
 
-#include <common.h>
 #include <asm/arch/spl.h>
 
 #define SIGNATURE      0xdeadbeef
index 5a71982775d05aed89962d7fd92ea19fb00e0986..eed1c2450fa68902db3032fc9b5a70f6965c5640 100644 (file)
@@ -4,7 +4,7 @@
  * Rajeshwari Shinde <rajeshwari.s@samsung.com>
  */
 
-#include <common.h>
+#include <config.h>
 #include <cros_ec.h>
 #include <env.h>
 #include <errno.h>
index 9294d36ba358afa67e41213dd606d8912a93b558..8328bf427cce2c02a78c21b0e1a76cd7b9cda074 100644 (file)
@@ -4,7 +4,7 @@
  * Przemyslaw Marczak <p.marczak@samsung.com>
  */
 
-#include <common.h>
+#include <config.h>
 #include <adc.h>
 #include <dm.h>
 #include <errno.h>
index b3e87c9375139641046abaf904360f4d88e74f44..56862bcb34daed5ac7507abbae6e37d36e5cb429 100644 (file)
@@ -3,7 +3,7 @@
  * Copyright (C) 2012 Samsung Electronics
  */
 
-#include <common.h>
+#include <config.h>
 #include <dm.h>
 #include <dwc3-uboot.h>
 #include <env.h>
index 9487f9ec4e0cfb0bf17f1fe1b1c5c3e9811706c5..c1b4342f4e229cd5bb3bc1923efb2c4a63f87f61 100644 (file)
@@ -4,7 +4,7 @@
  *  Lukasz Majewski <l.majewski@samsung.com>
  */
 
-#include <common.h>
+#include <linux/string.h>
 #include <linux/usb/ch9.h>
 
 #define EXYNOS_G_DNL_THOR_VENDOR_NUM   0x04E8
index cc114aaaa6d388933278d15de66f4409d9b2b29d..c134a9d70e249328cc774c1dbd0fdfa3d4fdb744 100644 (file)
@@ -4,7 +4,7 @@
  * Przemyslaw Marczak <p.marczak@samsung.com>
  */
 
-#include <common.h>
+#include <config.h>
 #include <command.h>
 #include <env.h>
 #include <libtizen.h>
index 76e37dfe262af6b05cc72451c2bdcb58360ab854..689ac8f8c6f7f5bdc7e6c3fb970360863a587ee3 100644 (file)
@@ -5,7 +5,6 @@
 
 #define LOG_CATEGORY   UCLASS_ETH
 
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <asm/arch/pinmux.h>
index c8f5a153bb47f8f8ba91b7ce19f0b356afadf58b..a1047f3fd2a27aeec75db14134f2dadfb7ee7830 100644 (file)
@@ -5,7 +5,6 @@
  *  Kyungmin Park <kyungmin.park@samsung.com>
  */
 
-#include <common.h>
 #include <init.h>
 #include <log.h>
 #include <asm/global_data.h>
index c67c107b16c28a253854088e64bde32d23d9961f..6c7a03624b0a93a9c0adb35a42a547442f75082c 100644 (file)
@@ -4,7 +4,7 @@
  * Kyungmin Park <kyungmin.park@samsung.com>
  */
 
-#include <common.h>
+#include <config.h>
 #include <linux/mtd/mtd.h>
 #include <linux/mtd/onenand.h>
 #include <linux/mtd/samsung_onenand.h>
index 99e5613ced928e8e75b13b31d6e332840685e95f..84d6d919f07f33fa4122910db31973a97358f29d 100644 (file)
@@ -4,7 +4,7 @@
  * Przemyslaw Marczak <p.marczak@samsung.com>
  */
 
-#include <common.h>
+#include <config.h>
 #include <log.h>
 #include <asm/arch/pinmux.h>
 #include <asm/arch/power.h>
index ddf6a2b72fa5465ce270adff96673ab8bfea3da0..c474a7e54fa38477c7758575913e7e802e8a295f 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2011 Samsung Electronics
  */
 
-#include <common.h>
 #include <asm/io.h>
 #include <asm/gpio.h>
 #include <asm/arch/cpu.h>
index b0ef34dd6aa9fb33936fb929f7d49715fb2dafcd..1c78cb6dda4f06d0ce8ccb1d6286c343a928f5ec 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (c) 2012 The Chromium OS Authors.
  */
 
-#include <common.h>
 #include <asm/arch/cpu.h>
 #include <asm/arch/spl.h>
 #include <asm/arch/clk.h>
index 84126f5608c70877670d44e977f73f69bc067598..ccf8b257ec26f6c9087ed6e13ffbb3e1ea42a891 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2013 The Chromium OS Authors.
  */
 
-#include <common.h>
 #include <asm/arch/cpu.h>
 #include <asm/arch/spl.h>
 #include <asm/arch/clk.h>
index 04dc04a1a4a1cf7859d1bad0356a1e85cbca88f2..86ec550aaca92ac52d4aad4db3a4d1ee9d09dcfa 100644 (file)
@@ -4,7 +4,6 @@
  * Kyungmin Park <kyungmin.park@samsung.com>
  */
 
-#include <common.h>
 #include <linux/compat.h>
 #include <linux/mtd/mtd.h>
 #include <linux/mtd/onenand.h>
index 4f46911b0b4d928f830b6afce9db94c9d282859d..7d0b0fcb0ae1e6e4cd0dfd9bb4bc3e32bc2f72e0 100644 (file)
@@ -5,7 +5,7 @@
  *  Kyungmin Park <kyungmin.park@samsung.com>
  */
 
-#include <common.h>
+#include <config.h>
 #include <init.h>
 #include <net.h>
 #include <asm/global_data.h>
index 47483a26a622dc215e62d939019f67f03fc789ce..5a4874b29cdf0a8d4c59f4421cd8b0074211ae15 100644 (file)
@@ -3,7 +3,7 @@
  * Copyright (C) 2011 Samsung Electronics
  */
 
-#include <common.h>
+#include <config.h>
 #include <init.h>
 #include <log.h>
 #include <net.h>
index 6a3e5b29b9894c0f292ad3a44e6f845751106857..6efc6f3831dfc84ac8b58c34dc31e0a2d789df0e 100644 (file)
@@ -6,7 +6,6 @@
  * Donghwa Lee <dh09.lee@samsung.com>
  */
 
-#include <common.h>
 #include <env.h>
 #include <log.h>
 #include <asm/io.h>
index 81ccc124c809578a384276cb78b1f65f941a2978..612575a5094119b5fba3e5a17c18ad72ca08f1bd 100644 (file)
@@ -5,7 +5,6 @@
  * Piotr Wilczek <p.wilczek@samsung.com>
  */
 
-#include <common.h>
 #include <log.h>
 #include <asm/gpio.h>
 #include <asm/arch/pinmux.h>
index 265a2cde4b484813809ce26978f9bb13bbe73b1b..ba56e86df4653d7cf3ba1feaf483aae6d0081489 100644 (file)
@@ -4,7 +4,7 @@
  * Kyungmin Park <kyungmin.park@samsung.com>
  */
 
-#include <common.h>
+#include <config.h>
 #include <linux/mtd/mtd.h>
 #include <linux/mtd/onenand.h>
 #include <linux/mtd/samsung_onenand.h>
index 2d61dff89c2c03083927472164217b7a448a2915..6bed724153ed0fecf9c1cbe09da360cb6dda2ac5 100644 (file)
@@ -5,7 +5,6 @@
  *  Kyungmin Park <kyungmin.park@samsung.com>
  */
 
-#include <common.h>
 #include <env.h>
 #include <log.h>
 #include <spi.h>
index 09241c3a95459ead101775dd6777399a0bc31b82..e1d5b5b0497bd8b37ee6bb34f286104ed35b70af 100644 (file)
@@ -1,6 +1,5 @@
 // SPDX-License-Identifier: GPL-2.0+
 
-#include <common.h>
 #include <dm.h>
 #include <ram.h>
 #include <asm/global_data.h>
index bf7c69ea8389311541c8fc5d8c0d2de07b5bd368..91fa08fd9ec2d75247eb22ed9db85511b8a432b5 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2018 Stefan Roese <sr@denx.de>
  */
 
-#include <common.h>
 #include <init.h>
 #include <asm/io.h>
 #include <linux/bitops.h>
index b29da2c1fc1eb29ccef04544219f085dc307081f..2312d8fac693af753cf14acc356ff54edeec2300 100644 (file)
@@ -4,7 +4,7 @@
  * Author: Navin Sankar Velliangiri <navin@linumiz.com>
  */
 
-#include <common.h>
+#include <config.h>
 #include <init.h>
 #include <spl.h>
 #include <asm/arch/clock.h>
index b1d7e3b1c05a2faff527a8c16460a7f3f7b3ab76..53dac8bfe1bee54bbabef6601da2504b9cbad350 100644 (file)
@@ -5,7 +5,6 @@
  * Copyright 2019 Siemens AG
  *
  */
-#include <common.h>
 #include <command.h>
 #include <dm.h>
 #include <env.h>
index e160c611a962142d0c624feea70fd60bb4fc6203..696b5ebd340b94fc18250a08ddb5b843850accfc 100644 (file)
@@ -5,7 +5,6 @@
  * Copyright 2019 Siemens AG
  *
  */
-#include <common.h>
 #include <init.h>
 #include <spl.h>
 #include <dm.h>
index 569b86db00ace7585fa90e93c707f3f3f11d0dcd..7d73d1f2b361f3944b46e92362f598bdfab5e1a0 100644 (file)
@@ -10,7 +10,7 @@
  * Lead Tech Design <www.leadtechdesign.com>
  */
 
-#include <common.h>
+#include <config.h>
 #include <dm.h>
 #include <init.h>
 #include <log.h>
index 0b0686e2628b7dc7a01751d5a136d159740821a3..ed292c364a5fed46f63dcf6c7779805e3bf4772d 100644 (file)
@@ -8,7 +8,7 @@
  *   Jan Kiszka <jan.kiszka@siemens.com>
  */
 
-#include <common.h>
+#include <config.h>
 #include <bootstage.h>
 #include <dm.h>
 #include <fdt_support.h>
index 15044c7d0edf5e89796c93969cc86a21b0ffed45..946fbc3f2299a9e70795aade85adf001451c16ee 100644 (file)
@@ -15,7 +15,7 @@
  * DENX Software Engineering GmbH
  */
 
-#include <common.h>
+#include <config.h>
 #include <dm.h>
 #include <init.h>
 #include <net.h>
index ad44a7c0d28b01a14c771a7a79ebc07dc4ab8def..bda12a97708863ea8404f9ce89738f27a35863b8 100644 (file)
@@ -12,7 +12,7 @@
  */
 
 #include <command.h>
-#include <common.h>
+#include <config.h>
 #include <dm.h>
 #include <env.h>
 #include <init.h>
index 6dc804a0c06e160b5637ddd4137657ec99cd6a7e..a3fe6f96d091857b55f6e1c5994dc89fd576f29a 100644 (file)
@@ -6,8 +6,8 @@
  * Copyright (C) 2021 Renesas Electronics Corporation
  */
 
-#include <common.h>
 #include <asm/global_data.h>
+#include <asm/u-boot.h>
 #include <asm/io.h>
 
 #define RST_BASE       0xE6160000
index 06653b5a8765922d4efde12cd40d7e52868526f7..08077a1f9e131a21f44c5315e6000a441d68d894 100644 (file)
@@ -3,7 +3,7 @@
  * Copyright (C) 2019-20 Sean Anderson <seanga2@gmail.com>
  */
 
-#include <common.h>
+#include <config.h>
 #include <clk.h>
 #include <dm.h>
 #include <fdt_support.h>
index abad5efdafb4100873e8a3a3e3d0451da109151e..22be10d70a739d110a191ffaa0d0a8fe1b2d703b 100644 (file)
@@ -3,7 +3,6 @@
  * Board init file for Skyworth HC2910 2AGHD05
  */
 
-#include <common.h>
 #include <fdtdec.h>
 #include <init.h>
 #include <asm/system.h>
index 062e4a7b79faba9de300ae53daf96f73c36de0bd..556a9ed527e7745abc15d5509cc05cb06c223007 100644 (file)
@@ -9,7 +9,7 @@
 #include <asm/armv8/mmu.h>
 #include <asm/global_data.h>
 #include <asm/io.h>
-#include <common.h>
+#include <config.h>
 #include <efi.h>
 #include <efi_loader.h>
 #include <env_internal.h>
index 3a94f7beccd339b7af28d8e972757890b873e4da..bf4894eff671b84bbaf710a5a3969b48b6402b9a 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright 2008 Freescale Semiconductor, Inc.
  */
 
-#include <common.h>
 
 #include <fsl_ddr_sdram.h>
 #include <fsl_ddr_dimm_params.h>
index e4427ecff1bc682a5761ad2d9b51e0a1f0804e42..446fdbcaba319184ca250f650d3b152287ac3bbb 100644 (file)
@@ -9,7 +9,7 @@
  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  */
 
-#include <common.h>
+#include <config.h>
 #include <asm/fsl_law.h>
 #include <asm/mmu.h>
 
index b1e38c511e5f5f66d05330d1ede1e6fd38a7ef5c..517a4a0af6ab5bf505a1f7886c15fed2d764dd2e 100644 (file)
@@ -4,7 +4,7 @@
  * Sergei Poselenov, Emcraft Systems, sposelenov@emcraft.com.
  */
 
-#include <common.h>
+#include <config.h>
 
 #if defined(CFG_SYS_NAND_BASE)
 #include <nand.h>
index 61402a554b784420c6bb1010c2444c2e2e8df6ca..d0415d26ce72701e51bcc6bc1b1356c59a6d44dd 100644 (file)
@@ -4,7 +4,7 @@
  * Sergei Poselenov, Emcraft Systems, sposelenov@emcraft.com.
  */
 
-#include <common.h>
+#include <config.h>
 #include <init.h>
 #include <asm/processor.h>
 #include <asm/immap_85xx.h>
index 1d63c81a9c81fde37e73cf813ac8c4cfb96e0f72..6e6e276cc74118f2601c7d2d7996d3bc11282a93 100644 (file)
@@ -10,7 +10,7 @@
  * (C) Copyright 2002 Scott McNutt <smcnutt@artesyncp.com>
  */
 
-#include <common.h>
+#include <config.h>
 #include <clock_legacy.h>
 #include <env.h>
 #include <init.h>
index 631f6c3407553b3534a8ffd0cc4108f32979db87..0cc675781d160db476a11fad7b99aa8cc032ac82 100644 (file)
@@ -9,8 +9,9 @@
  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  */
 
-#include <common.h>
+#include <config.h>
 #include <asm/mmu.h>
+#include <asm/ppc.h>
 
 struct fsl_e_tlb_entry tlb_table[] = {
        /* TLB 0 - for temp stack in cache */
index 4483bd7f7a3829fb05b545c5c8cefd776c6f5069..a0dbf97524bd20c7bf1a77fe199d41956e23c310 100644 (file)
@@ -24,7 +24,7 @@
 #include <linux/bitops.h>
 #include <linux/delay.h>
 #include <linux/sizes.h>
-#include <common.h>
+#include <config.h>
 #include <fsl_esdhc_imx.h>
 #include <mmc.h>
 #include <i2c.h>
index b3f9550742ec44a58ad60409fb1e58060f52e598..2483fbcf263167ab0be7c4f2289777ebacd690d8 100644 (file)
@@ -3,7 +3,7 @@
  *  Copyright (C) 2012 Altera Corporation <www.altera.com>
  */
 
-#include <common.h>
+#include <config.h>
 #include <eeprom.h>
 #include <env.h>
 #include <init.h>
index 6977db0a9e28b4a879ca1580a14f6eeb58ca20a3..2dbd071abd9f29cee97fb813a67d0190a620bd32 100644 (file)
@@ -3,7 +3,7 @@
  * Copyright (C) 2015 Stefan Roese <sr@denx.de>
  */
 
-#include <common.h>
+#include <config.h>
 #include <env.h>
 #include <i2c.h>
 #include <init.h>
index cf5824886c37d873c2ff39c35a3053120b076130..b8086605c3aeeccdcdfb206be019189da1722d72 100644 (file)
@@ -3,9 +3,9 @@
  * Copyright 2020 SolidRun
  */
 
-#include <common.h>
 #include <compiler.h>
 #include <tlv_eeprom.h>
+#include <linux/kernel.h>
 #include "tlv_data.h"
 
 #define SR_TLV_CODE_RAM_SIZE   0x81
index 7f4811d88794c8ac312ec8f18b4e81bd9520cb18..3406ba8616e05f4d2005932089239af3c16cde50 100644 (file)
@@ -15,7 +15,7 @@
  * Ported to SolidRun microSOM by Rabeeh Khoury <rabeeh@solid-run.com>
  */
 
-#include <common.h>
+#include <config.h>
 #include <image.h>
 #include <init.h>
 #include <log.h>
index 38d14f6bc268d18226a86d0d0fb788e8f0246bc2..0ecb5c3b4930f8d43d8dcd72ab2c421cd5cda5d2 100644 (file)
@@ -17,7 +17,6 @@
 #include <asm/mach-imx/iomux-v3.h>
 #include <asm/mach-imx/mxc_i2c.h>
 #include <asm/io.h>
-#include <common.h>
 #include <env.h>
 #include <fsl_esdhc_imx.h>
 #include <i2c.h>
index d9125a76bf7fe473b4323b0dca6a66d55ffe2e29..5603ef24da800fb2f4f89246112b982256e7ba3a 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2015 Stefan Roese <sr@denx.de>
  */
 
-#include <common.h>
 #include <init.h>
 #include <asm/arch/reset_manager.h>
 #include <asm/gpio.h>
index c8c0bad5da16bd3cb9f5d4d126a1504d20183f13..50da063051b802180d12b1cbbfef9c3bbd701519 100644 (file)
@@ -30,7 +30,6 @@
  */
 
 #ifndef CONFIG_SPL_BUILD
-#include <common.h>
 #include <command.h>
 #include <console.h>
 #include <misc.h>
index 77edb86e78c1361e4f161f3ead263a5d7a490f58..1db8e45480e16874be49d32e3bfc1b856439a6fc 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2020, STMicroelectronics - All Rights Reserved
  */
 
-#include <common.h>
 #include <blk.h>
 #include <dm.h>
 #include <dfu.h>
index f0f99605796a592bc531a3d5caa200ca036c877e..4049d72bf9d5604e6dd93cb712c08669f6d47c09 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2023, STMicroelectronics - All Rights Reserved
  */
 
-#include <common.h>
 #include <dfu.h>
 #include <dm.h>
 #include <misc.h>
index 969ad484864d80bd860468b31123ff25145f5413..45c2bb5bceacbc77989a9ddbf65ea792934d96b6 100644 (file)
@@ -5,7 +5,6 @@
 
 #define LOG_CATEGORY LOGC_BOARD
 
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <asm/io.h>
index f0385e5e3830bca4234cdd9d6b8b198b12381542..e1ad8b00717a5ecfb9fe4cea771668e67f929ff8 100644 (file)
@@ -8,7 +8,6 @@
 
 #define LOG_CATEGORY UCLASS_I2C_GENERIC
 
-#include <common.h>
 #include <dm.h>
 #include <i2c.h>
 
index 82817571ae3d95e4d669620df94ec2adfd303534..a912712c9dd902723ac5879c1c5a4318877152ee 100644 (file)
@@ -4,7 +4,6 @@
  * Author(s): Patrice Chotard, <patrice.chotard@foss.st.com> for STMicroelectronics.
  */
 
-#include <common.h>
 #include <cpu_func.h>
 #include <init.h>
 #include <asm/cache.h>
index 8dda6a97bd1c08dae98f595f08313bd43fb19f0e..4b8038341b9ed04e42e9a3a2ae5d3d813fe644c4 100644 (file)
@@ -4,7 +4,6 @@
  * Kamil Lulko, <kamil.lulko@gmail.com>
  */
 
-#include <common.h>
 #include <status_led.h>
 #include <asm-generic/gpio.h>
 
index 55e464cc7cf1352ca81435c38cd3ed9834e81158..22d751b44d3da5b0768149d99b8441ef14eb2aaf 100644 (file)
@@ -10,7 +10,6 @@
  * Kamil Lulko, <kamil.lulko@gmail.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <env.h>
 #include <init.h>
index 25472f041fef099adec80a2c9a045e3bbc8efeb7..db59ebb838e76e836b842df334a1c98721eef839 100644 (file)
@@ -4,7 +4,6 @@
  * Author(s): Patrice Chotard, <patrice.chotard@foss.st.com> for STMicroelectronics.
  */
 
-#include <common.h>
 #include <dm.h>
 #include <env.h>
 #include <init.h>
index 9ed6c1e67680ac4acc61a106712c3689bf797183..134d207d95d83ff2d65516d341f0420a4d2b41b1 100644 (file)
@@ -4,7 +4,6 @@
  * Author(s): Patrice CHOTARD, <patrice.chotard@foss.st.com> for STMicroelectronics.
  */
 
-#include <common.h>
 #include <dm.h>
 #include <env.h>
 #include <init.h>
index 0f9666008430588e60efd95ccca848985acf7d5f..6d86e4fe7aab411dfb91c6dff689603382cd230a 100644 (file)
@@ -4,7 +4,7 @@
  * Author(s): Vikas Manocha, <vikas.manocha@st.com> for STMicroelectronics.
  */
 
-#include <common.h>
+#include <config.h>
 #include <dm.h>
 #include <init.h>
 #include <log.h>
index 4ca5e847212ea7d1ed57f937375e06e11d4f990c..35ef9ff9e288e9b79b02a3677da8efa599a09f6b 100644 (file)
@@ -4,7 +4,6 @@
  * Author(s): Patrice Chotard, <patrice.chotard@foss.st.com> for STMicroelectronics.
  */
 
-#include <common.h>
 #include <dm.h>
 #include <init.h>
 #include <log.h>
index 4ca5e847212ea7d1ed57f937375e06e11d4f990c..35ef9ff9e288e9b79b02a3677da8efa599a09f6b 100644 (file)
@@ -4,7 +4,6 @@
  * Author(s): Patrice Chotard, <patrice.chotard@foss.st.com> for STMicroelectronics.
  */
 
-#include <common.h>
 #include <dm.h>
 #include <init.h>
 #include <log.h>
index 0d39ce849a62d8e58f7b973df78cfadb0aa5776d..75aa4d139fb4061bcc749334a8f27ac405db3d39 100644 (file)
@@ -4,7 +4,6 @@
  * Author(s): Dillon Min <dillon.minfei@gmail.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <init.h>
 #include <log.h>
index 8b4a529f759a28bd3a00302686c4e95d5d488349..d63dffd97e87f4a74b5e449e1f3fe9124fb11a50 100644 (file)
@@ -4,7 +4,6 @@
  */
 
 #include <config.h>
-#include <common.h>
 #include <power/pmic.h>
 #include <power/stpmic1.h>
 #include <asm/arch/sys_proto.h>
index db15d78237ea20556e04246989214b4e896b7d5e..97532a8156ffcc73f7536023dfb8576b6fb5222c 100644 (file)
@@ -5,7 +5,6 @@
 
 #define LOG_CATEGORY LOGC_BOARD
 
-#include <common.h>
 #include <adc.h>
 #include <bootm.h>
 #include <button.h>
index 060d562cbc9024eed242006555dad92abbffc403..826c002907d69f624c19bff24257b5382a4d61f4 100644 (file)
@@ -2,12 +2,12 @@
 /*
  * Copyright (C) 2019 Stephan Gerhold <stephan@gerhold.net>
  */
-#include <common.h>
 #include <env.h>
 #include <fdt_support.h>
 #include <init.h>
 #include <log.h>
 #include <stdlib.h>
+#include <linux/errno.h>
 #include <asm/global_data.h>
 #include <asm/setup.h>
 #include <asm/system.h>
index 345191b31c29b521d3786e54f3822211c2ca6029..910feeda31f5410b8b79d2f229d5077ebd2ae0ac 100644 (file)
@@ -12,7 +12,6 @@
 #include <asm/mach-imx/hab.h>
 #include <asm/mach-imx/iomux-v3.h>
 #include <asm/io.h>
-#include <common.h>
 #include <env.h>
 #include <env_internal.h>
 #include <asm/arch/crm_regs.h>
index 1313b01dcea555a9818eeceaf2c8b95497f8cc85..ed86f1df5dc4197ca914b03de9ebecfddc32db1f 100644 (file)
@@ -10,7 +10,6 @@
  * Some board init for the Allwinner A10-evb board.
  */
 
-#include <common.h>
 #include <clock_legacy.h>
 #include <dm.h>
 #include <env.h>
index eeee6319e7991748e283c44cc5bd15a691124d69..270af2506d21a777065ec48742883871445eb50e 100644 (file)
@@ -5,7 +5,6 @@
  * Based on initial code from Maxime Ripard
  */
 
-#include <common.h>
 #include <malloc.h>
 #include <dm.h>
 #include <w1.h>
index 547d1c0cb4dea3fe2a261b47f0e9c8769f302824..4b78919a5baac2772f3d8b6e092295e60a685b1f 100644 (file)
@@ -1,4 +1,3 @@
-#include <common.h>
 #include <init.h>
 #include <asm/arch/dram.h>
 
index 517506ccc4f0f5f457a51d5fb452fbe2b36768aa..8976e3b16d68b25bd30cba50eeb1cba8e4b22c92 100644 (file)
@@ -1,6 +1,5 @@
 /* DRAM parameters for auto dram configuration on sun5i and sun7i */
 
-#include <common.h>
 #include <init.h>
 #include <asm/arch/dram.h>
 
index 2a885305ebe028f071b1c2f970cd523fb3cac325..710e821e3fc8977fdb46c87c740c8b7d07d8a8fd 100644 (file)
@@ -1,4 +1,3 @@
-#include <common.h>
 #include <netdev.h>
 #include <miiphy.h>
 #include <asm/io.h>
index 086421d9265daac82389183887a2a16d1630ec62..d5aa1f0776fd51ab7273aa0322e69e5cbffa4518 100644 (file)
@@ -7,7 +7,7 @@
  * This file copies memory testdram() from sandburst/common/sb_common.c
  */
 
-#include <common.h>
+#include <config.h>
 #include <init.h>
 #include <asm/global_data.h>
 #include <asm/immap.h>
index 475e3edfa62e574c3cffe10b54ea8e83bde2e781..7818f2671d5ad77b876945ad4bdf5384756f88cd 100644 (file)
@@ -5,7 +5,7 @@
  * (C) Copyright 2017 Angelo Dureghello <angelo@sysam.it>
  */
 
-#include <common.h>
+#include <config.h>
 #include <init.h>
 #include <spi.h>
 #include <asm/global_data.h>
index 3f7d42f3eb8d498d613f15779a18871105222a47..2e54ede62d6f9c84d4eaa2f1bfe86f2d83cff0a6 100644 (file)
@@ -7,7 +7,7 @@
  * Copyright (C) 2011, Texas Instruments, Incorporated - https://www.ti.com/
  */
 
-#include <common.h>
+#include <config.h>
 #include <env.h>
 #include <errno.h>
 #include <init.h>
index ab9088145abaf11db1ded69b82328310557bc08f..6d89c4a3998dea322ec0600df699fccd7916ba76 100644 (file)
@@ -5,7 +5,6 @@
  * Copyright (C) 2011, Texas Instruments, Incorporated - https://www.ti.com/
  */
 
-#include <common.h>
 #include <asm/arch/sys_proto.h>
 #include <asm/arch/hardware.h>
 #include <asm/arch/mux.h>
index 6b9c4f4373cc5f612b1eb6cdddb4ef7c069680c7..03170b148c52ee530c1dbf772026ca8f54d8325e 100644 (file)
@@ -6,7 +6,6 @@
  * Author: Fabio Estevam <festevam@gmail.com>
  */
 
-#include <common.h>
 #include <env.h>
 #include <init.h>
 #include <net.h>
index 3b36bb8df131ff35dcb766b1591c5e3a1b742176..50f5177426479e18f9b10070f1e910f29440421d 100644 (file)
@@ -6,7 +6,6 @@
  *        Fabio Estevam <festevam@gmail.com>
  */
 
-#include <common.h>
 #include <image.h>
 #include <init.h>
 #include <asm/arch/clock.h>
index 682c88dee78d1c4a630735177e1604de214c38fb..10dcf8077e20e1cae2de06102d111d3ede75993d 100644 (file)
@@ -17,7 +17,6 @@
 #include <asm/gpio.h>
 #include <asm/mach-imx/iomux-v3.h>
 #include <asm/io.h>
-#include <common.h>
 #include <miiphy.h>
 #include <linux/delay.h>
 #include <linux/sizes.h>
index ff56fd88d68ed21fea9382488cd5698b7e47da6a..67484e62dad693d1765bff9057b826f608438466 100644 (file)
@@ -1,6 +1,5 @@
 // SPDX-License-Identifier: GPL-2.0+
 
-#include <common.h>
 #include <cpu_func.h>
 #include <hang.h>
 #include <init.h>
index b12941ccf82d34b8959148909abcd396c677f3c1..d0f739c624a1e17ed561d4281decac88a1a94adc 100644 (file)
@@ -15,7 +15,6 @@
 #include <asm/mach-imx/iomux-v3.h>
 #include <asm/mach-imx/boot_mode.h>
 #include <asm/io.h>
-#include <common.h>
 #include <miiphy.h>
 #include <power/pmic.h>
 #include <power/pfuze3000_pmic.h>
index 0192eafbaa146e4fe897d849b5278ce1e64c6362..8f219f76c6038ec75c3f5b85c539e5d4691abee3 100644 (file)
@@ -5,7 +5,7 @@
  * Author: Richard Hu <richard.hu@technexion.com>
  */
 
-#include <common.h>
+#include <config.h>
 #include <cpu_func.h>
 #include <init.h>
 #include <asm/arch/clock.h>
index 97b9ee27527a5e7fa0a99f094b44340aefdd38ee..cd8ba59f6454fdbf685ddeefd49f95658d917261 100644 (file)
@@ -7,7 +7,6 @@
  */
 
 #include <linux/kernel.h>
-#include <common.h>
 #include <asm/arch/ddr.h>
 #include <asm/arch/lpddr4_define.h>
 
index 1572a50a05f8281ee9003948781f291f63d3d6e8..3f66238a5044f91fcb0e51e30b6b02248913c81c 100644 (file)
@@ -7,7 +7,6 @@
  */
 
 #include <linux/kernel.h>
-#include <common.h>
 #include <asm/arch/ddr.h>
 #include <asm/arch/lpddr4_define.h>
 
index 3fc60a3eeb9809e93b91ba70c4b5ba356b46102b..2f037abc97dd250735da3bedbeaa8cf1ff0fa330 100644 (file)
@@ -7,7 +7,6 @@
  */
 
 #include <linux/kernel.h>
-#include <common.h>
 #include <asm/arch/ddr.h>
 #include <asm/arch/lpddr4_define.h>
 
index 93b342351628c86a5cc5481e4ae6a5d04ede5d9b..336ac4c2f5489ff488de522eef97941695ad3a3d 100644 (file)
@@ -7,7 +7,6 @@
  */
 
 #include <linux/kernel.h>
-#include <common.h>
 #include <asm/arch/ddr.h>
 #include <asm/arch/lpddr4_define.h>
 
index 2be3206f78a3e27779621d9cd8ae8efdc58e081f..1659db112fa150a24dc35e1bbba7ef852bfd0328 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright 2018 NXP
  */
 
-#include <common.h>
 #include <env.h>
 #include <init.h>
 #include <malloc.h>
index 1a9c7996cb2a8a9c7210d2d089a7f11d95353758..c9d68b402aeba2a7497d1310ae2e545f9947740e 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright 2018 NXP
  */
 
-#include <common.h>
 #include <hang.h>
 #include <init.h>
 #include <log.h>
index 22fbee40aba9381cb41845417dc64948d208cbda..8d17f44fd373445f3722f110917cad2643e82b85 100644 (file)
@@ -2,7 +2,6 @@
 /*
  *  Copyright (C) 2012 Altera Corporation <www.altera.com>
  */
-#include <common.h>
 #include <spl.h>
 
 void board_boot_order(u32 *spl_boot_list)
index 16c3e456b3e590be95a153c988558b5c5e881d69..bb83e7561f4e75a91e0c59d065a2513d9b6a2d08 100644 (file)
@@ -4,7 +4,6 @@
  *
  */
 
-#include <common.h>
 #include <cpu_func.h>
 
 int board_init(void)
index bc8379cccf6d85d7891719611932bd2d1e236fff..56d3647227bb50bbc11315ddbe256a22356c116d 100644 (file)
@@ -3,10 +3,10 @@
  * Copyright (C) 2016 Stefan Roese <sr@denx.de>
  */
 
-#include <common.h>
 #include <altera.h>
 #include <errno.h>
 #include <log.h>
+#include <time.h>
 #include <asm/gpio.h>
 #include <asm/io.h>
 #include <asm/arch/cpu.h>
index 144f122bb20643d46096593e8d4f42e030915755..cca5c3d33b5ee073c66329622de64b9fc14bce34 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2015-2019 Stefan Roese <sr@denx.de>
  */
 
-#include <common.h>
 #include <command.h>
 #include <console.h>
 #include <dm.h>
index 34f987c2b72820384666730c72135b4a8eb9eeae..34f4a919656e66b78ffeaa8f5ffb5496531796a0 100644 (file)
@@ -7,7 +7,7 @@
  * Copyright (C) 2011, Texas Instruments, Incorporated - https://www.ti.com/
  */
 
-#include <common.h>
+#include <config.h>
 #include <dm.h>
 #include <env.h>
 #include <errno.h>
index 1284c160d8116367ddf00a7441a5aff8a3699bc7..b0a3842423fb3e47945d78c513336b1e74a7693c 100644 (file)
@@ -10,6 +10,8 @@
 #ifndef _BOARD_H_
 #define _BOARD_H_
 
+#include <linux/string.h>
+
 /**
  * AM335X (EMIF_4D) EMIF REG_COS_COUNT_1, REG_COS_COUNT_2, and
  * REG_PR_OLD_COUNT values to avoid LCDC DMA FIFO underflows and Frame
index 0bad154f86ed23051d658a71c3263b41a832704d..960de15398f8173bf8a5d55beb3536f97465c38d 100644 (file)
@@ -13,7 +13,7 @@
  * GNU General Public License for more details.
  */
 
-#include <common.h>
+#include <config.h>
 #include <asm/arch/sys_proto.h>
 #include <asm/arch/hardware.h>
 #include <asm/arch/mux.h>
index a4679a2e29489ee850a71295d99de03d87240b85..40b7fcfc3876f9061242fc93043d381c5a8d69a0 100644 (file)
@@ -7,8 +7,7 @@
  * Copyright (C) 2013, Texas Instruments, Incorporated - https://www.ti.com/
  */
 
-#include <common.h>
-#include <eeprom.h>
+#include <config.h>
 #include <asm/global_data.h>
 #include <dm/uclass.h>
 #include <env.h>
index 37a169aaf758b376925215dcd5750ffdcc204e67..b1025bdda1e1d7db487d3a935516bfeb57815568 100644 (file)
@@ -11,6 +11,7 @@
 #ifndef _BOARD_H_
 #define _BOARD_H_
 
+#include <linux/string.h>
 #include <asm/arch/omap.h>
 
 #define DEV_ATTR_MAX_OFFSET    5
index 463f1cc71784e713b427ce0ca585940c6dd49d07..2fcccbd1f043b77bb77b7b0272b03a4dc4e66822 100644 (file)
@@ -5,7 +5,6 @@
  * Copyright (C) 2013 Texas Instruments Incorporated - https://www.ti.com/
  */
 
-#include <common.h>
 #include <asm/arch/sys_proto.h>
 #include <asm/arch/mux.h>
 #include "../common/board_detect.h"
index b004a89bb324c57c4dca613ef2554a5c63129eca..48668884bdd5bb0eac5bcb97a280ad0c9f7235eb 100644 (file)
@@ -7,7 +7,7 @@
  * Based on board/ti/dra7xx/evm.c
  */
 
-#include <common.h>
+#include <config.h>
 #include <env.h>
 #include <fastboot.h>
 #include <fdt_support.h>
index 38e23ccbb67ce6b9ea636bafaf6e16261e80089a..ea21d48bbc01593c7cc88ecc512b83187910dfaa 100644 (file)
@@ -7,10 +7,9 @@
  *     Steve Kipisz
  */
 
-#include <common.h>
-#include <eeprom.h>
 #include <log.h>
 #include <net.h>
+#include <linux/types.h>
 #include <asm/arch/hardware.h>
 #include <asm/omap_common.h>
 #include <dm/uclass.h>
index 2e6105cfbf1567c072e97a19e5f48f542efefab5..da805befabcbb6dd3c57ac17d7cd58238e43226e 100644 (file)
@@ -4,10 +4,11 @@
  * Köry Maincent, Bootlin, <kory.maincent@bootlin.com>
  */
 
-#include <common.h>
+#include <stdio.h>
 #include <malloc.h>
 #include <i2c.h>
 #include <extension_board.h>
+#include <vsprintf.h>
 
 #include "cape_detect.h"
 
index a8a216d034a45de85ce5b96d731ad34b290ab2e5..2b1db2541b0b7ddd28f7e5ede7a608c5de71cc2e 100644 (file)
@@ -9,7 +9,7 @@
  * Aneesh V       <aneesh@ti.com>
  * Steve Sakoman  <steve@sakoman.com>
  */
-#include <common.h>
+#include <config.h>
 #include <env.h>
 #include <fdt_support.h>
 #include <fastboot.h>
index 5dcda12105b9ebd77d3d7984886cee1ae67b744c..c6735d37dda7a0080be133eaaaa2ee9a08dc9275 100644 (file)
@@ -6,7 +6,7 @@
  *     Texas Instruments Incorporated, <www.ti.com>
  */
 
-#include <common.h>
+#include <config.h>
 #include <asm/global_data.h>
 #include "board.h"
 #include <env.h>
index 39abb24e15604e5aa3b8403c96a3df864c8c4f23..4385be4221b722ee6d64769e69492882f2394e91 100644 (file)
@@ -6,7 +6,6 @@
  *     Texas Instruments Incorporated, <www.ti.com>
  */
 
-#include <common.h>
 #include <image.h>
 #include <init.h>
 #include <asm/arch/ddr3.h>
index 5229afad63b0e8149ee96445fb6c6df30736becd..d07b77d23e27f734fa381dd08486ad0ca5695d56 100644 (file)
@@ -5,8 +5,7 @@
  * (C) Copyright 2015
  *     Texas Instruments Incorporated, <www.ti.com>
  */
-#include <common.h>
-#include <eeprom.h>
+#include <config.h>
 #include <env.h>
 #include <hang.h>
 #include <image.h>
index 12c4649c3c4c14641153c33f2fbe206c70ae9c78..2b5d2d75664976a1587cf2129b1c60ada56b8e8e 100644 (file)
@@ -6,7 +6,6 @@
  *     Texas Instruments Incorporated, <www.ti.com>
  */
 
-#include <common.h>
 #include <image.h>
 #include <init.h>
 #include <asm/arch/clock.h>
index f759ee364666ebaf9eeda7d4ea108eae555b5d16..1971bc94f7d3c2e2bfe5afffd13401278687c512 100644 (file)
@@ -6,7 +6,6 @@
  *     Texas Instruments Incorporated, <www.ti.com>
  */
 
-#include <common.h>
 #include <image.h>
 #include <init.h>
 #include <asm/arch/ddr3.h>
index 0ade75263f8d67e9b81eac9af55dd9408964b87a..fe350fee795ec79cb13d7771932bde6d59658958 100644 (file)
@@ -6,7 +6,6 @@
  *     Texas Instruments Incorporated, <www.ti.com>
  */
 
-#include <common.h>
 
 #include <asm/arch/ddr3.h>
 #include "ddr3_cfg.h"
index 95fe3a9021e237c2e4eca5819ce97ee82dc3ab8d..28305326e6a18bdce96679cfe79afc50e1ba8cfd 100644 (file)
@@ -6,7 +6,6 @@
  *     Texas Instruments Incorporated, <www.ti.com>
  */
 
-#include <common.h>
 #include "ddr3_cfg.h"
 #include <asm/arch/ddr3.h>
 
index 3000d7245eb21202a9168f563168acaf197e6f19..ef39e07815214ff64e8e9ea7a31e70de73279c0b 100644 (file)
@@ -6,7 +6,6 @@
  *     Texas Instruments Incorporated, <www.ti.com>
  */
 
-#include <common.h>
 #include "ddr3_cfg.h"
 #include <asm/arch/ddr3.h>
 #include <asm/arch/hardware.h>
index 198c5da0e62204a471080da230e4a69d0eaf1199..05c050cee44061b72bd10b56790690897b44428c 100644 (file)
@@ -6,7 +6,6 @@
  *     Texas Instruments Incorporated, <www.ti.com>
  */
 
-#include <common.h>
 #include "ddr3_cfg.h"
 #include <asm/arch/ddr3.h>
 #include <asm/arch/hardware.h>
index 805bf81f6bdf400cfb50fc899b9d224c69dc3d48..aa6d45f0f8af310e8442755cc2a1642863e4a8a1 100644 (file)
@@ -6,7 +6,6 @@
  *     Texas Instruments Incorporated, <www.ti.com>
  */
 
-#include <common.h>
 #include "ddr3_cfg.h"
 #include <asm/arch/ddr3.h>
 
index a4d6a0138d9b6f73c904a1d149ddd70694ae4d36..4eb08add25649dc5c6e8575b31030034aff81305 100644 (file)
@@ -10,7 +10,7 @@
  *     Richard Woodruff <r-woodruff2@ti.com>
  *     Syed Mohammed Khasim <khasim@ti.com>
  */
-#include <common.h>
+#include <config.h>
 #include <dm.h>
 #include <env.h>
 #include <init.h>
index 2209318601903a5f253b6b52e4f32ea680c5fe1f..e47d3a952d5ce5233154aed2b720d719e06a55f5 100644 (file)
@@ -4,7 +4,6 @@
  * Texas Instruments Incorporated, <www.ti.com>
  * Steve Sakoman  <steve@sakoman.com>
  */
-#include <common.h>
 #include <init.h>
 #include <log.h>
 #include <net.h>
index 6c1e6ca393c66b3183b76ddc1272897a2f58c342..6bf44d926550ab6dc78bc96b8cb4bc72ebf7da70 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2010 Texas Instruments
  */
 
-#include <common.h>
 #include <command.h>
 
 #ifdef CONFIG_CMD_BAT
index 2c9ae794fd4b1880f65c2722492918b1b2d0cf2b..1a71390f543bd313f37188dc07893a5fbcaaa127 100644 (file)
@@ -5,7 +5,6 @@
  * Aneesh V       <aneesh@ti.com>
  * Steve Sakoman  <steve@sakoman.com>
  */
-#include <common.h>
 #include <init.h>
 #include <net.h>
 #include <twl6030.h>
index efef855b3d06817a323b7a42daffaacd003d93c7..f0c0f03deeb8da6b5b0b3ffe1357595a374d9f73 100644 (file)
@@ -5,7 +5,7 @@
  * Copyright (C) 2011-2015 Vladimir Zapolskiy <vz@mleia.com>
  */
 
-#include <common.h>
+#include <config.h>
 #include <init.h>
 #include <asm/arch/sys_proto.h>
 #include <asm/arch/clk.h>
index 12e8ae9c39cb9e20104c4f71f09dede8c4b9208c..07a367c3ad158b0285576c6646519e058fcc0c13 100644 (file)
@@ -5,7 +5,6 @@
  * (C) Copyright 2015 Vladimir Zapolskiy <vz@mleia.com>
  */
 
-#include <common.h>
 #include <asm/io.h>
 #include <asm/arch/sys_proto.h>
 #include <asm/arch/cpu.h>
index 06009d8ad54c37069bcbe21c7a3bace5ea04e0d7..ad404f7e9c4c7701c35c57dffa52f6a2c95429aa 100644 (file)
@@ -15,7 +15,7 @@
  *     Syed Mohammed Khasim <khasim@ti.com>
  *
  */
-#include <common.h>
+#include <config.h>
 #include <dm.h>
 #include <env.h>
 #include <init.h>
index 0f993e644d71b7cece48add5d26af96e06530af2..72d67d90d418306d605c05735a97dbcf25f01d4f 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright 2019 Toradex
  */
 
-#include <common.h>
 #include <cpu_func.h>
 #include <init.h>
 #include <asm/global_data.h>
index ee87d9f4145f30162a56e5b4f2bb5cb9e8e4b8d7..4557ed1f1f2ff17f57e94bbbd3211d8469257f62 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (c) 2016-2018 Toradex, Inc.
  */
 
-#include <common.h>
 #include <dm.h>
 #include <env.h>
 #include <init.h>
index e9bd1028bed5013658aba7a871c81bf410876770..8971f7aa16a1458fcfb520ddfb7994e906f597b5 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (c) 2012-2016 Toradex, Inc.
  */
 
-#include <common.h>
 #include <log.h>
 #include <asm/io.h>
 #include <asm/arch-tegra/tegra_i2c.h>
index 0da245374a0d9387b2995e046e76c9bd66b0baca..2dcc042ab266f6aedb90729fef684eae7071b56a 100644 (file)
@@ -6,7 +6,7 @@
  * copied from nitrogen6x
  */
 
-#include <common.h>
+#include <config.h>
 #include <cpu_func.h>
 #include <dm.h>
 #include <image.h>
index 6991b1bc136ef49153a4fabaf5a650d81856f0c8..b404b01e032e5aae1d7dc262cd6a737d79ba482b 100644 (file)
@@ -7,7 +7,6 @@
  * Helpers for i.MX OTP fusing during module production
 */
 
-#include <common.h>
 #ifndef CONFIG_SPL_BUILD
 #include <command.h>
 #include <console.h>
index c89052ff5daa669770f4c872f151214285fcd723..157aaec6fe08b016710d5943805bb91d2af3cbaf 100644 (file)
@@ -7,7 +7,6 @@
  * Helpers for Freescale PMIC PF0100
 */
 
-#include <common.h>
 #include <command.h>
 #include <i2c.h>
 #include <asm/arch/imx-regs.h>
index 6e544641833e7184f980492ac0df97f87f5be862..250494524952b398372d0faace4ceea25737b671 100644 (file)
@@ -7,7 +7,6 @@
  *  Svyatoslav Ryhel <clamor95@gmail.com>
  */
 
-#include <common.h>
 #include <asm/arch-tegra/tegra_i2c.h>
 #include <linux/delay.h>
 
index b10beb447965173e5e9a8f25db3c8df0adce6a84..02e8f8eb1fed9c64e49d99017cb6debae2023c32 100644 (file)
@@ -4,7 +4,6 @@
  *  Marcel Ziswiler <marcel@ziswiler.com>
  */
 
-#include <common.h>
 #include <env.h>
 #include <init.h>
 #include <log.h>
index 9b9fb342c9d9dbd1f96e4bcb5f092b59dde771c7..7bfe200d6e4cab95cbde6eebb3773925341cf444 100644 (file)
@@ -2,7 +2,7 @@
 /*
  * Copyright (C) 2018-2019 Toradex AG
  */
-#include <common.h>
+#include <config.h>
 #include <init.h>
 #include <asm/global_data.h>
 #include <linux/delay.h>
index 35657852595128f5f860615149fdf3393ee3f870..2a71e7b92de425b4759f07b29d833049d38e008b 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright 2019 Toradex
  */
 
-#include <common.h>
 #include <cpu_func.h>
 #include <init.h>
 #include <asm/global_data.h>
index ce19a9c797523ae37fb0944b3f1fdd5ed3010068..34e82c2b0780639e189d65990f60746817557b08 100644 (file)
@@ -6,7 +6,7 @@
  * copied from nitrogen6x
  */
 
-#include <common.h>
+#include <config.h>
 #include <cpu_func.h>
 #include <dm.h>
 #include <env.h>
index 6991b1bc136ef49153a4fabaf5a650d81856f0c8..b404b01e032e5aae1d7dc262cd6a737d79ba482b 100644 (file)
@@ -7,7 +7,6 @@
  * Helpers for i.MX OTP fusing during module production
 */
 
-#include <common.h>
 #ifndef CONFIG_SPL_BUILD
 #include <command.h>
 #include <console.h>
index 8f08d8c7337c1b9e7ac7ae2afb66bec48db383dd..58b7bc3bb9ae25815b3a4f624707b73f17c0a885 100644 (file)
@@ -7,7 +7,6 @@
  * Helpers for Freescale PMIC PF0100
 */
 
-#include <common.h>
 #include <command.h>
 #include <i2c.h>
 #include <asm/arch/imx-regs.h>
index c37c5e0af6d9db06ad4ec052dba312310f028b9e..e966ffbf7818af0b382a8f0e50de716e780aa713 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2016-2018 Toradex AG
  */
 
-#include <common.h>
 #include <cpu_func.h>
 #include <init.h>
 #include <net.h>
index 97e33d00f0d6fc836178424357323b20fccb07f9..6425fa881ea6a90ee035276bc5c6a809b9236483 100644 (file)
@@ -3,7 +3,6 @@
  *  Copyright (C) 2012 Lucas Stach
  */
 
-#include <common.h>
 #include <env.h>
 #include <fdt_support.h>
 #include <init.h>
index 6e544641833e7184f980492ac0df97f87f5be862..250494524952b398372d0faace4ceea25737b671 100644 (file)
@@ -7,7 +7,6 @@
  *  Svyatoslav Ryhel <clamor95@gmail.com>
  */
 
-#include <common.h>
 #include <asm/arch-tegra/tegra_i2c.h>
 #include <linux/delay.h>
 
index 0da247de98f91e0b338120e872a714c33ce0beb1..342673ac506ca781f51ecc44c468afccdf486a74 100644 (file)
@@ -4,7 +4,6 @@
  *  Stefan Agner <stefan@agner.ch>
  */
 
-#include <common.h>
 #include <env.h>
 #include <init.h>
 #include <asm/arch/gp_padctrl.h>
index 35920008805fd2a3f199b2a6cfac05317f7923bb..87f82396d63aa38d5cd321f9282528047ee42367 100644 (file)
@@ -6,7 +6,6 @@
  * Copyright 2013 Freescale Semiconductor, Inc.
  */
 
-#include <common.h>
 #include <init.h>
 #include <asm/global_data.h>
 
index dcf00d2b632571aa5138381e390e71e6fe71e1c8..2225cefec16784d3cc54518352327b7c4d809099 100644 (file)
@@ -3,7 +3,7 @@
  * Copyright (c) 2016-2020 Toradex
  */
 
-#include <common.h>
+#include <config.h>
 #include <asm/global_data.h>
 #include "tdx-cfg-block.h"
 #include "tdx-eeprom.h"
index 9f09788137d595368b0301e3d8ed627d12176764..a6b45cdab810ae494852139fd79442281b16b257 100644 (file)
@@ -4,7 +4,7 @@
  */
 
 #include <dm.h>
-#include <common.h>
+#include <config.h>
 #include <env.h>
 #include <g_dnl.h>
 #include <init.h>
index afa3686083a44173fde5b8c0bafef1304fa99d63..1020078afea27678b86f5ad5f3e37488cf5d2eb4 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright 2020 Toradex
  */
 
-#include <common.h>
 #include <command.h>
 #include <image.h>
 #include <init.h>
index 55c02653da6864398c2d3f25777ad0d014d298b1..020ee67748076ff870a7450b9343ded6fdcc91fb 100644 (file)
@@ -3,7 +3,7 @@
  * Copyright 2020-2021 Toradex
  */
 
-#include <common.h>
+#include <config.h>
 #include <init.h>
 #include <asm/arch/clock.h>
 #include <asm/arch/sys_proto.h>
index 73729a42b458bab93522d8d98211aa71b88237df..8628112a78258cdbb935761467522033fe6b7593 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright 2022 Toradex
  */
 
-#include <common.h>
 #include <hang.h>
 #include <init.h>
 #include <log.h>
index e16a771e3ec16c22928de5b3141c878e297a60b8..e57ec3b689678162e0a5dfbf09e4e7197216c4e4 100644 (file)
@@ -3,7 +3,7 @@
  * Copyright 2022 Toradex
  */
 
-#include <common.h>
+#include <config.h>
 #include <asm/arch/clock.h>
 #include <asm/arch/imx8mp_pins.h>
 #include <asm/arch/sys_proto.h>
index f2de039b6b4752266b8af89f392ac35d14137b64..3ae0dc4ecd73cceb8cd93c4f005547a0b8a6b33a 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2016 Marek Vasut <marex@denx.de>
  */
 
-#include <common.h>
 #include <init.h>
 #include <asm/io.h>
 #include <asm/addrspace.h>
index 1c2228c77ad07422650e8fe17c9cedbf7d14d72c..92142c10ae5aa59fc98ac64931c2587bd17281e9 100644 (file)
@@ -21,7 +21,6 @@
 #include <asm/io.h>
 #include <asm/mach-imx/mxc_i2c.h>
 #include <asm/mach-imx/spi.h>
-#include <common.h>
 #include <fsl_esdhc_imx.h>
 #include <linux/libfdt.h>
 #include <i2c.h>
index 52851dd5b55e9fcd216bc43bbae97544108be2a2..877539e359e2321201cdb34c78c390f8fb7a04b0 100644 (file)
@@ -20,7 +20,6 @@
 #include <asm/gpio.h>
 #include <asm/mach-imx/mxc_i2c.h>
 
-#include <common.h>
 #include <fsl_esdhc_imx.h>
 #include <linux/libfdt.h>
 #include <malloc.h>
index 5d239913fc5b6fccf1189fd4268e927cc9252f0b..21c710188e091928cf3e169a8ae46482677d7d80 100644 (file)
@@ -23,7 +23,6 @@
 #include <asm/mach-imx/boot_mode.h>
 #include <asm/mach-imx/mxc_i2c.h>
 
-#include <common.h>
 #include <fsl_esdhc_imx.h>
 #include <linux/libfdt.h>
 #include <malloc.h>
index d6ef8a8d0df99a18e7e3f0443ccfefd3b89a1a64..63b72c4df7b94c9801a97ba073319c8574c7c186 100644 (file)
@@ -5,7 +5,6 @@
  *
  */
 
-#include <common.h>
 #include <dm.h>
 #include <misc.h>
 #include <i2c.h>
index 3f96e572b75a58087e43ba5df5ac321b2dfe9ab9..c5f7acecc146326a1696dbce890361bcc9993bc5 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright 2017 NXP
  * Copyright 2019-2021 Traverse Technologies Australia
  */
-#include <common.h>
 #include <command.h>
 #include <netdev.h>
 #include <malloc.h>
index 6ff5312d6d798b92f37ed511325fd8c319bde08f..d41bd2e9deeb4e330638e8c90546606ef9a96306 100644 (file)
@@ -4,7 +4,7 @@
  * Copyright 2017-2018 NXP
  * Copyright 2019-2021 Traverse Technologies
  */
-#include <common.h>
+#include <config.h>
 #include <display_options.h>
 #include <dm/uclass.h>
 #include <env.h>
index d99d93b44ae57f9e2920490317f05a13b1327405..b435b721e53c8e9ae2c72cbbcee616cc026d4eaa 100644 (file)
@@ -29,7 +29,6 @@
 #include <spl.h>
 #include <linux/delay.h>
 #include <linux/sizes.h>
-#include <common.h>
 #include <i2c.h>
 #include <power/pmic.h>
 #include <power/pfuze3000_pmic.h>
index 647380e1db63f5fdbbcb2978e4bd9b60fa6c86e6..6c477530055c4cbc06ac1936f2ec314f70a13f4d 100644 (file)
@@ -6,7 +6,6 @@
  * Based on board/wandboard/spl.c
  */
 
-#include <common.h>
 #include <init.h>
 #include <asm/arch/clock.h>
 #include <asm/arch/imx-regs.h>
index 1dff69c82771f5d0e69cd257a8c6ca2f596c4207..6d17563d32c072c0f78e386f1594da133557d4c1 100644 (file)
@@ -4,7 +4,7 @@
  * Copyright (C) 2019 Parthiban Nallathambi <parthitce@gmail.com>
  */
 
-#include <common.h>
+#include <config.h>
 #include <init.h>
 #include <spl.h>
 #include <asm/arch/clock.h>
index 994fd4f705820c3301dab67526ca472185282a6f..532d8d60a76266138cef80cc44b38b2ccbaf219c 100644 (file)
@@ -5,7 +5,6 @@
  * Copyright 2023 DimOnOff Inc.
  */
 
-#include <common.h>
 #include <dm.h>
 #include <env.h>
 #include <fdtdec.h>
index bc7dc5888f2dac783dfc0e3e78aeee01a324b408..2c91e9fac43d120c0010087f10c5f06a02838811 100644 (file)
@@ -7,7 +7,7 @@
  * Copyright (C) 2011, Texas Instruments, Incorporated - https://www.ti.com/
  */
 
-#include <common.h>
+#include <config.h>
 #include <env.h>
 #include <errno.h>
 #include <init.h>
index 7b99cf0e182faec94b571e43ac89c42965907dfb..77b142f08f0ad92547fc4872efda75ba4e2b2ebe 100644 (file)
@@ -13,7 +13,6 @@
  * GNU General Public License for more details.
  */
 
-#include <common.h>
 #include <asm/arch/sys_proto.h>
 #include <asm/arch/hardware.h>
 #include <asm/arch/mux.h>
index 717e02a039b7ce05aac482a479fb244dc077d40b..9ce2785a4f0495f70577e5e3a3259bc475a37c00 100644 (file)
@@ -5,7 +5,7 @@
  *         Richard Hu <hakahu@gmail.com>
  */
 
-#include <common.h>
+#include <config.h>
 #include <init.h>
 #include <asm/arch/clock.h>
 #include <asm/arch/imx-regs.h>
index 8be62c86695d4ef119de2f8c0e4999e39927aad9..a48ef33ffdec22cb8d464e316901920dc5237aa5 100644 (file)
@@ -6,7 +6,6 @@
  * Author: Fabio Estevam <fabio.estevam@freescale.com>
  */
 
-#include <common.h>
 #include <image.h>
 #include <init.h>
 #include <log.h>
index ead52d5a490c20b87efa81b9b7971371a170e64e..4cd3ff0051b765e5cb8407739cafe1684c396c3f 100644 (file)
@@ -15,7 +15,6 @@
 #include <asm/mach-imx/hab.h>
 #include <asm/mach-imx/iomux-v3.h>
 #include <asm/io.h>
-#include <common.h>
 #include <env.h>
 #include <asm/arch/crm_regs.h>
 #include <netdev.h>
index c8e791a4da8ab4285a6a534a6a78e8a17fa62820..9a236880e3cc26e61c2156210abfcb0d739c0955 100644 (file)
@@ -6,7 +6,7 @@
  * Written-by: Albert ARIBAUD <albert.aribaud@3adev.fr>
  */
 
-#include <common.h>
+#include <config.h>
 #include <init.h>
 #include <asm/global_data.h>
 #include <asm/io.h>
index 64dd5d4072a6e56ba6ad1303e994be405c6a02f7..d4ab2299895d593dd0c1050ad833b9d90147f4c7 100644 (file)
@@ -10,7 +10,6 @@
  * MAX518 I2C DACs and native LPC32xx GPO 15.
  */
 
-#include <common.h>
 #include <command.h>
 #include <log.h>
 #include <asm/arch/sys_proto.h>
index d9401145f27d2cb444971aa89c3ea9feefb2bf78..3f91221ce8b13403b03671e99a6785959a4a1279 100644 (file)
@@ -6,7 +6,6 @@
  * Written-by: Albert ARIBAUD <albert.aribaud@3adev.fr>
  */
 
-#include <common.h>
 #include <asm/io.h>
 #include <asm/arch/sys_proto.h>
 #include <asm/arch/cpu.h>
index 1d2946f4fde808eb24a11aaf1caa26261dd6dc53..4c3b9c9e278006cafd14b98b536e35bc24ea810a 100644 (file)
@@ -7,7 +7,6 @@
  * (C) 2020 EPAM Systems Inc
  */
 
-#include <common.h>
 #include <log.h>
 #include <cpu_func.h>
 #include <dm.h>
index b47d2d23f913dbff20250e762947573c9ca20873..30a81376ac4183dce46d7655d92760079737c840 100644 (file)
@@ -6,7 +6,6 @@
  * Michal Simek <michal.simek@amd.com>
  */
 
-#include <common.h>
 #include <efi.h>
 #include <efi_loader.h>
 #include <env.h>
index bfe7f5b7e385c62ac709c83178ca918e4e7c7a96..765bb24d9376647f0b7519378c11ec75b1ec7e6d 100644 (file)
@@ -4,7 +4,6 @@
  * Michal Simek <michal.simek@amd.com>
  */
 
-#include <common.h>
 #include <init.h>
 #include <soc.h>
 
index 12b21317496a834b3ed0d7758c1c0ba4c4743357..8cf307e33f200837c868c95f9743b76628adcdd6 100644 (file)
@@ -3,7 +3,6 @@
  * (C) Copyright 2019 - 2020 Xilinx, Inc.
  */
 
-#include <common.h>
 #include <command.h>
 #include <fdtdec.h>
 #include <malloc.h>
index 167252c240cd95f38c0d1723ea87f0af49895b98..610293bccf78d96c2f2e5826dae54f115ba41868 100644 (file)
@@ -4,13 +4,13 @@
  * (C) Copyright 2022 - 2023, Advanced Micro Devices, Inc.
  */
 
-#include <common.h>
 #include <cpu_func.h>
 #include <env.h>
 #include <fdtdec.h>
 #include <log.h>
 #include <malloc.h>
 #include <net.h>
+#include <linux/errno.h>
 #include <asm/io.h>
 #include <asm/arch/hardware.h>
 
index da03024e162f3c3f9a3b89207c6b79464d85866a..88e10fa7a7fae1a132fb944358a3273a597e74e0 100644 (file)
@@ -6,7 +6,6 @@
  * Michal Simek <michal.simek@amd.com>
  */
 
-#include <common.h>
 #include <cpu_func.h>
 #include <fdtdec.h>
 #include <init.h>
index b18a71fe52c0bede1171fae0aec727fb373b160d..4d52084846b7a592b053e3e364997a0fbfc8929f 100644 (file)
@@ -7,10 +7,10 @@
 
 #include <cpu_func.h>
 #include <command.h>
-#include <common.h>
 #include <log.h>
 #include <memalign.h>
 #include <versalpl.h>
+#include <vsprintf.h>
 #include <zynqmp_firmware.h>
 
 /**
index 4f6d56119db10f909a16480bdba7837907f0e131..77ba783501ebb77cc2443131ba3e00ab65bc0319 100644 (file)
@@ -5,7 +5,6 @@
  */
 
 #include <command.h>
-#include <common.h>
 #include <cpu_func.h>
 #include <env.h>
 #include <fdtdec.h>
index 2a74e49aedec27389f465b778ede60a79275fdd3..c78793573e86c26dbc74d30301e494989881077f 100644 (file)
@@ -6,10 +6,10 @@
 
 #include <cpu_func.h>
 #include <command.h>
-#include <common.h>
 #include <log.h>
 #include <memalign.h>
 #include <versalpl.h>
+#include <vsprintf.h>
 #include <zynqmp_firmware.h>
 
 static int do_versal_load_pdi(struct cmd_tbl *cmdtp, int flag, int argc,
index 6c365910011d916200c39ce26c885fb7b733a269..b9a91110ff792ad3d0621f3597f402cca34c61cc 100644 (file)
@@ -4,7 +4,7 @@
  * (C) Copyright 2013 - 2018 Xilinx, Inc.
  */
 
-#include <common.h>
+#include <config.h>
 #include <debug_uart.h>
 #include <dfu.h>
 #include <init.h>
index 2f55078dd768cdad4365750cda7f4eea86693cf6..79bec3a4cfbc8ddc73159bcdbaedcb20d1df353e 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2018 Xilinx, Inc.
  */
 
-#include <common.h>
 #include <log.h>
 #include <part.h>
 #include <asm/global_data.h>
index d7c7b2f229555788812cc6db50a94dd6297e86d9..05ecb75406b46f3ee5beead7eec7d849172c2c96 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2018 Xilinx, Inc.
  */
 
-#include <common.h>
 #include <command.h>
 #include <log.h>
 #include <asm/global_data.h>
index 9524688f27d9c1d7e42c8f5fb7c0679fe20717ab..bf39c5472ea9649ed286c86a3ff777da1f677370 100644 (file)
@@ -4,13 +4,14 @@
  * Siva Durga Prasad Paladugu <siva.durga.prasad.paladugu@amd.com>>
  */
 
-#include <common.h>
 #include <command.h>
 #include <cpu_func.h>
 #include <env.h>
 #include <malloc.h>
 #include <memalign.h>
+#include <vsprintf.h>
 #include <zynqmp_firmware.h>
+#include <linux/errno.h>
 #include <asm/arch/hardware.h>
 #include <asm/arch/sys_proto.h>
 #include <asm/io.h>
index f370fb7347a5470492dea377d63db2719599a2bd..c4050af2a5a5271a85b3ab7de6d1a9aef1989fbd 100644 (file)
@@ -4,7 +4,7 @@
  * Michal Simek <michal.simek@amd.com>
  */
 
-#include <common.h>
+#include <config.h>
 #include <command.h>
 #include <cpu_func.h>
 #include <debug_uart.h>
index 5c5a2e93863f2c687ab895de764fd08c4e19f78a..0c62b0013c46360e5247589f212ea01a5e25d4ad 100644 (file)
@@ -3,9 +3,9 @@
  * (C) Copyright 2018 Xilinx, Inc. (Michal Simek)
  */
 
-#include <common.h>
 #include <fdtdec.h>
 #include <init.h>
+#include <linux/errno.h>
 
 int board_init(void)
 {
index b3ea6608914a1a4264086a241e63ac430c53f392..d018b5738242c6f131a446f5c4cde5c5cd2e25c9 100644 (file)
@@ -4,7 +4,6 @@
  * Copyright (C) 2015 Gerald Kerma <dreagle@doukki.net>
  */
 
-#include <common.h>
 #include <init.h>
 #include <netdev.h>
 #include <asm/arch/cpu.h>
index f5f63ee5d3b00469c9c11f8057e90e19329e8d6f..38340b33c8bf5bccb5ed60b5d42b97e17cdd8056 100644 (file)
@@ -14,7 +14,6 @@
  * Marvell Semiconductor <www.marvell.com>
  */
 
-#include <common.h>
 #include <asm/arch/soc.h>
 #include <asm/arch/mpp.h>
 #include <netdev.h>
index 1e5aa81b75033564b68d51f18a02e80b56c9067c..143f373aae96f9ea5bac04c660148a0fb413ce10 100644 (file)
@@ -2,7 +2,6 @@
 /*
  * Copyright (C) 2017 The Android Open Source Project
  */
-#include <common.h>
 #include <android_ab.h>
 #include <android_bootloader_message.h>
 #include <blk.h>
index 9d3941265636196e5321f38521291b373ba475fa..4dcaf95c6ae3059ec625a4369e5c629aa42ce746 100644 (file)
@@ -7,7 +7,6 @@
  */
 
 #include <boot_fit.h>
-#include <common.h>
 #include <errno.h>
 #include <image.h>
 #include <log.h>
index 46815ea2fdbfc4964a39932a7b9032916af8d333..7c7bba088c999f96862b6bb76616e9d0c3e6b13a 100644 (file)
@@ -6,7 +6,6 @@
 
 #define LOG_CATEGORY UCLASS_BOOTSTD
 
-#include <common.h>
 #include <dm.h>
 #include <bootdev.h>
 #include <bootflow.h>
index 68bf99329ab0df7b579dad37cce9d34aeb80b642..9aa3179c388153cbe2ca567238a69122caa6d90e 100644 (file)
@@ -6,7 +6,6 @@
 
 #define LOG_CATEGORY UCLASS_BOOTSTD
 
-#include <common.h>
 #include <bootdev.h>
 #include <bootflow.h>
 #include <bootmeth.h>
index 16f9cd8f8ca572c590e555ce7abb657af6530831..143ef8413326e079bebe0649433ed0178bc08dad 100644 (file)
@@ -8,7 +8,6 @@
 
 #define LOG_CATEGORY UCLASS_BOOTSTD
 
-#include <common.h>
 #include <bootflow.h>
 #include <bootstd.h>
 #include <cli.h>
index 032f5a4a160540a1e265886c121660fd08b4d0cb..6fa8edab021e9bf8f7b121b4d1b4ee2278e4f443 100644 (file)
@@ -5,7 +5,6 @@
  */
 
 #ifndef USE_HOSTCC
-#include <common.h>
 #include <bootm.h>
 #include <bootstage.h>
 #include <cli.h>
index ccde72d22c17f29131a1d3a5a171657564a0252e..15297ddb530b48e1e923b81e46ed69f7df03cb58 100644 (file)
@@ -4,7 +4,6 @@
  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  */
 
-#include <common.h>
 #include <bootm.h>
 #include <bootstage.h>
 #include <cpu_func.h>
index 1d157d54dbdd301cc4b08cf5650cf7379114133c..c0abadef97cae87d2df27dd30daa8c0d10ca2ba1 100644 (file)
@@ -6,7 +6,6 @@
 
 #define LOG_CATEGORY UCLASS_BOOTSTD
 
-#include <common.h>
 #include <blk.h>
 #include <bootflow.h>
 #include <bootmeth.h>
index f015f2e1c75faad5862ef875b54b0d869aa21feb..645b8bed10202a9171dd5bbeb8d8037524c76924 100644 (file)
@@ -8,7 +8,6 @@
 
 #define LOG_CATEGORY UCLASS_BOOTSTD
 
-#include <common.h>
 #include <blk.h>
 #include <bootdev.h>
 #include <bootflow.h>
index aebc5207fc01b043b2379da8c574b79cc4e690b2..c7035c0d0c4e2fed5a0eeae63fdf8ffd40e54905 100644 (file)
@@ -8,7 +8,6 @@
 
 #define LOG_CATEGORY UCLASS_BOOTSTD
 
-#include <common.h>
 #include <bootdev.h>
 #include <bootflow.h>
 #include <bootmeth.h>
index b7d429f2c3dae608c4f9fabba11394e7de579bfe..23ae1e610ac77b6fb354e5d63af156868cc07de7 100644 (file)
@@ -8,7 +8,6 @@
 
 #define LOG_CATEGORY UCLASS_BOOTSTD
 
-#include <common.h>
 #include <bootdev.h>
 #include <bootflow.h>
 #include <bootmeth.h>
index ae0ad1d53e3fbc03a115bca8b7a12f97c96e60b5..9b55686948f7cbabe029affdcc0ed72d276a8efe 100644 (file)
@@ -8,7 +8,6 @@
 
 #define LOG_CATEGORY UCLASS_BOOTSTD
 
-#include <common.h>
 #include <bootdev.h>
 #include <bootflow.h>
 #include <bootmeth.h>
index 70f693aa239b13889199267a1d7ba10d8199d783..03d2589c264f20f0f2274436af52691b028e0b6f 100644 (file)
@@ -8,7 +8,6 @@
 
 #define LOG_CATEGORY UCLASS_BOOTSTD
 
-#include <common.h>
 #include <bootdev.h>
 #include <bootflow.h>
 #include <bootmeth.h>
index 8ebbc3ebcd580355ad53d09f76bf07c17189461d..dfaa944594e3856a9a0996fe5e4abddf1d219b0f 100644 (file)
@@ -8,7 +8,6 @@
 
 #define LOG_CATEGORY UCLASS_BOOTSTD
 
-#include <common.h>
 #include <command.h>
 #include <bootdev.h>
 #include <bootflow.h>
index aabc57e635a88bc9e41a572330392af80acf4326..0bc8f688e30be6990f6e24b3f44909911215291c 100644 (file)
@@ -8,7 +8,6 @@
 
 #define LOG_CATEGORY UCLASS_BOOTSTD
 
-#include <common.h>
 #include <bootdev.h>
 #include <bootflow.h>
 #include <bootmeth.h>
index 06340e43d2d7abc072a5fcc1194fdbe1e71809fc..0e05d28d4d9b81feb2c152a0230be8d557c43e13 100644 (file)
@@ -8,7 +8,6 @@
 
 #define LOG_CATEGORY UCLASS_BOOTSTD
 
-#include <common.h>
 #include <blk.h>
 #include <bootflow.h>
 #include <bootmeth.h>
index 8d850df9d4875c41cadabdeb4df9c6fde3fed99a..587b2de7d6b08db07e1dea512a834cb5590c2d12 100644 (file)
@@ -4,12 +4,13 @@
  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  */
 
-#include <common.h>
+#include <stdio.h>
 #include <bootretry.h>
 #include <cli.h>
 #include <env.h>
 #include <errno.h>
 #include <time.h>
+#include <vsprintf.h>
 #include <watchdog.h>
 
 static uint64_t endtime;  /* must be set, default is instant timeout */
index 81555d341e32b11d09b7c8bc50af6f8c31abb48c..5de8efce19a5482bc25b27db525baf7c270f266e 100644 (file)
@@ -6,7 +6,6 @@
  * Written by Simon Glass <sjg@chromium.org>
  */
 
-#include <common.h>
 #include <bootflow.h>
 #include <bootstd.h>
 #include <dm.h>
index 8c654dba6dc35c900bbad0479ae96ea253f9f1e0..c29a2be14ce2e531cb6e9dc7d8cd8a1dcf953284 100644 (file)
@@ -8,7 +8,6 @@
 
 #define LOG_CATEGORY LOGC_EXPO
 
-#include <common.h>
 #include <abuf.h>
 #include <cedit.h>
 #include <cli.h>
index cde2dc45e9076e740d18dcbc42caf4f29ee5968c..a2f9b8d83c3b66a39ae0e172445d162f5146578a 100644 (file)
@@ -4,7 +4,6 @@
  * Written by Simon Glass <sjg@chromium.org>
  */
 
-#include <common.h>
 #include <errno.h>
 #include <image.h>
 #include <log.h>
index cadb6a0ad6e3b2424930ecadbbc7001f49729608..ed01483f1d3ac640791ee5aac7fff2d5f35c92aa 100644 (file)
@@ -8,7 +8,6 @@
 
 #define LOG_CATEGORY   LOGC_EXPO
 
-#include <common.h>
 #include <dm.h>
 #include <expo.h>
 #include <malloc.h>
index 04d88a2c30815695b1acfafe8d569d860fdfd0dd..a4df798adebd474a48281fa10bf74716aec59a9c 100644 (file)
@@ -8,7 +8,6 @@
 
 #define LOG_CATEGORY   LOGC_EXPO
 
-#include <common.h>
 #include <expo.h>
 #include <fdtdec.h>
 #include <log.h>
index 837920bd3a33fe939426d614fa7cbecd4fb2c009..53415548459ad2d7eee87954b8e3f7c44f2fe6ee 100644 (file)
@@ -6,7 +6,6 @@
  * Stephen Warren <swarren@wwwdotorg.org>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <fdt_support.h>
 #include <asm/global_data.h>
index 2bd80a9dfb18e5d0fcb5605d9e1bce0ff53fdbb6..874ca4d6f5afe7fb2bc0da6102d7ac0f535eb763 100644 (file)
@@ -6,7 +6,6 @@
  * Copyright 2010-2011 Freescale Semiconductor, Inc.
  */
 
-#include <common.h>
 #include <abuf.h>
 #include <env.h>
 #include <log.h>
index fb014190d44519977bd0b3d5d873e27b5b76e1ff..3b25018c2e774e4db72fc2a88fff0af29044bfd8 100644 (file)
@@ -6,7 +6,6 @@
 
 #include <image-android-dt.h>
 #include <dt_table.h>
-#include <common.h>
 #include <linux/libfdt.h>
 #include <mapmem.h>
 
index 88e40bc7ec6c8a69c0b10885ea0bc5ebd31cf9a0..ddd8ffd5e5408a7a517918753656a887cc233dd6 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (c) 2011 Sebastian Andrzej Siewior <bigeasy@linutronix.de>
  */
 
-#include <common.h>
 #include <env.h>
 #include <image.h>
 #include <image-android-dt.h>
index 09b6e4e0bdca7244c586398df01ebd322c6bf79e..b7884b8c5dc73e0d5d5be50fcc6ebd24d62041fe 100644 (file)
@@ -8,7 +8,7 @@
  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  */
 
-#include <common.h>
+#include <config.h>
 #include <bootstage.h>
 #include <cpu_func.h>
 #include <display_options.h>
index b9061489396c3d6d34890a64d600c6738bef1f14..9d389f26cea55b5ff212c815a8b35417c447311d 100644 (file)
@@ -7,7 +7,6 @@
 #include "mkimage.h"
 #include <time.h>
 #else
-#include <common.h>
 #include <malloc.h>
 #include <asm/global_data.h>
 DECLARE_GLOBAL_DATA_PTR;
index f09716cba303ed3da3b3db3edfb861ad70bdbf95..56dd7687f51ca3638e109d1e25d8cd924c5cf74b 100644 (file)
@@ -8,7 +8,6 @@
  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  */
 
-#include <common.h>
 #include <command.h>
 #include <fdt_support.h>
 #include <fdtdec.h>
index 12369896fe3f614b5dedbec793a54831562a5d1c..fe328df4a8500e6b0088a81b9b7358085bf488df 100644 (file)
@@ -7,7 +7,6 @@
 #include "mkimage.h"
 #include <time.h>
 #else
-#include <common.h>
 #include <log.h>
 #include <malloc.h>
 #include <asm/global_data.h>
index 89e377563ce6f3efd69dcbbab1b2e4efd8249bdb..fb03cab831bd068f62bb0a89fbfd69532a7d11a8 100644 (file)
@@ -19,7 +19,6 @@
 #else
 #include <linux/compiler.h>
 #include <linux/sizes.h>
-#include <common.h>
 #include <errno.h>
 #include <log.h>
 #include <mapmem.h>
index b504ab42a5448a05943da69d524d2d6aa242b964..cc19017404c83c64ac8d4e2857883b0e1dfcbcbf 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2021 Philippe Reynes <philippe.reynes@softathome.com>
  */
 
-#include <common.h>
 #include <asm/global_data.h>
 DECLARE_GLOBAL_DATA_PTR;
 #include <image.h>
index 0421a61b0406640b158f49ba06acec213a1ae60b..6bc74866eaedca3f17e78136ebad2c7c74178928 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (c) 2013, Google Inc.
  */
 
-#include <common.h>
 #include <log.h>
 #include <malloc.h>
 #include <asm/global_data.h>
index 073931cd7a3febb29a5f550070f24b256c6e8aa2..eb12e4be04ac40d4c9d6d0aa162b9f49a5da30cf 100644 (file)
@@ -7,7 +7,6 @@
  */
 
 #ifndef USE_HOSTCC
-#include <common.h>
 #include <env.h>
 #include <display_options.h>
 #include <init.h>
index 5c1c962ff4c13a52beb1822da62bf0a6513e12ea..4b22bb6f525a38d257d65d6e1a4dc1aa126b3652 100644 (file)
@@ -4,7 +4,6 @@
  * Copyright (c) 2014, NVIDIA CORPORATION.  All rights reserved.
  */
 
-#include <common.h>
 #include <command.h>
 #include <dm.h>
 #include <env.h>
index d4dfb49ada157e8b0f499a0b15a72a4bbd4830e1..ac976aa26bbe28d1c1292585009a0a6b8bc72da0 100644 (file)
@@ -8,7 +8,6 @@
 
 #define LOG_CATEGORY   LOGC_EXPO
 
-#include <common.h>
 #include <dm.h>
 #include <expo.h>
 #include <malloc.h>
index 63994165efba41192d1138dd17b9fcb11cedb272..80bd7457cb1a1c3888b078e1e47cd9126e9e97ad 100644 (file)
@@ -8,7 +8,6 @@
 
 #define LOG_CATEGORY   LOGC_EXPO
 
-#include <common.h>
 #include <dm.h>
 #include <expo.h>
 #include <malloc.h>
index 6ea072a1c2688bb62a3d4664fd11ad8b9c8df347..bba8663b98da695255696da85b22fb25e6d10110 100644 (file)
@@ -8,10 +8,12 @@
 
 #define LOG_CATEGORY   LOGC_EXPO
 
-#include <common.h>
 #include <expo.h>
 #include <menu.h>
+#include <log.h>
 #include <video_console.h>
+#include <linux/errno.h>
+#include <linux/string.h>
 #include "scene_internal.h"
 
 int scene_textline(struct scene *scn, const char *name, uint id, uint max_chars,
index 52b328300374fab943c584810f4bf13140edf1d8..00673de7ee2ec30ace7233e0583750ab30e6742e 100644 (file)
@@ -6,7 +6,6 @@
  * Written by Simon Glass <sjg@chromium.org>
  */
 
-#include <common.h>
 #include <bootmeth.h>
 #include <bootstd.h>
 #include <dm.h>
index 0293ac6c869ff4322d7cf2e52bec53b5c0a1ab3e..a1350c1a706ea8f234e0015c4757b1a370d5b0b4 100644 (file)
@@ -8,7 +8,6 @@
 
 #define LOG_CATEGORY LOGC_BOOT
 
-#include <common.h>
 #include <dm.h>
 #include <event.h>
 #include <image.h>
index 12682abd3996c54eb7d01b2dc4e33c4b62833e10..189e86d2a223ba742f8b470123881cbe00cc8b58 100644 (file)
@@ -8,7 +8,6 @@
 
 #define LOG_CATEGORY LOGC_BOOT
 
-#include <common.h>
 #include <bootdev.h>
 #include <bootflow.h>
 #include <bootmeth.h>
index d59a704ddbade4708aceb025b66c57996357f459..4d6da9490a76f364d1ab9b0250d8ab7456951fba 100644 (file)
@@ -8,7 +8,6 @@
 
 #define LOG_CATEGORY LOGC_BOOT
 
-#include <common.h>
 #include <bloblist.h>
 #include <bootdev.h>
 #include <bootflow.h>
index 84626cdeaf24a9c9051a5a68dded112246b83d49..b4126d8d2d0b32247ac1a6b9490581b277b26ab3 100644 (file)
@@ -8,7 +8,6 @@
 
 #define LOG_CATEGORY LOGC_BOOT
 
-#include <common.h>
 #include <dm.h>
 #include <bootflow.h>
 #include <vbe.h>
index fa60aa94aad81a0e35e154fb4958df76176db829..42cd171b0e41708606c9d7bffd0585f7770ffbdc 100644 (file)
@@ -3,10 +3,10 @@
 
 /* Console version of the game "2048" for GNU/Linux */
 
-#include <common.h>
 #include <cli.h>
 #include <command.h>
 #include <rand.h>
+#include <vsprintf.h>
 #include <linux/delay.h>
 
 #define SIZE 4
index b026439c773118372e8164d024f73d98957105ec..c06fec3527589d95f1abcf7c13749221afde1e08 100644 (file)
@@ -539,6 +539,7 @@ config CMD_IMI
 
 config CMD_IMLS
        bool "imls"
+       depends on MTD_NOR_FLASH || FLASH_CFI_DRIVER
        help
          List all images found in flash
 
@@ -831,7 +832,7 @@ config SYS_EEPROM_SIZE
 
 config SYS_EEPROM_PAGE_WRITE_BITS
        int "Number of bits used to address bytes in a single page"
-       depends on CMD_EEPROM
+       depends on CMD_EEPROM || ENV_IS_IN_EEPROM
        default 8
        help
          The EEPROM page size is 2^SYS_EEPROM_PAGE_WRITE_BITS.
@@ -1023,8 +1024,8 @@ config CMD_ARMFFA
                - Displaying the arm_ffa device info
 
 config CMD_ARMFLASH
-       #depends on FLASH_CFI_DRIVER
        bool "armflash"
+       depends on FLASH_CFI_DRIVER
        help
          ARM Ltd reference designs flash partition access
 
@@ -1167,6 +1168,7 @@ config CMD_FPGA_LOAD_SECURE
 
 config CMD_FPGAD
        bool "fpgad - dump FPGA registers"
+       depends on GDSYS_LEGACY_DRIVERS
        help
          (legacy, needs conversion to driver model)
          Provides a way to dump FPGA registers by calling the board-specific
@@ -1602,6 +1604,7 @@ config CMD_TEMPERATURE
 
 config CMD_TSI148
        bool "tsi148 - Command to access tsi148 device"
+       depends on DM_PCI_COMPAT
        help
          This provides various sub-commands to initialise and configure the
          Turndra tsi148 device. See the command help for full details.
@@ -1615,6 +1618,7 @@ config CMD_UFS
 
 config CMD_UNIVERSE
        bool "universe - Command to set up the Turndra Universe controller"
+       depends on DM_PCI_COMPAT
        help
          This allows setting up the VMEbus provided by this controller.
          See the command help for full details.
index bfb67b8236b62b56a81869fcebe46dd13fdcb60c..faeb83816e58293967c69c1ad0f4b543d3fd73d4 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2017 The Android Open Source Project
  */
 
-#include <common.h>
 #include <android_ab.h>
 #include <command.h>
 #include <env.h>
index 2653b555b10a07d89192536f300524072213b8f4..88c77d999290d12fa46b36383a35519130a19001 100644 (file)
@@ -5,7 +5,6 @@
  */
 
 #include <android_image.h>
-#include <common.h>
 #include <command.h>
 #include <image.h>
 #include <mapmem.h>
index 928e5dc525e6400788e70c409e123bd8386dd572..094d9d4e85865ec30e4db6ba95e0b39abce4669d 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright 2019 Google LLC
  * Written by Simon Glass <sjg@chromium.org>
  */
-#include <common.h>
 #include <command.h>
 #include <display_options.h>
 #include <log.h>
@@ -11,6 +10,7 @@
 #include <acpi/acpi_table.h>
 #include <asm/acpi_table.h>
 #include <asm/global_data.h>
+#include <linux/errno.h>
 #include <dm/acpi.h>
 
 DECLARE_GLOBAL_DATA_PTR;
index 4cb18b66d4aad3234b3a7b64a0e2546874e0b714..f87f9785a114a46dde98d6b860af5ef51fec52f8 100644 (file)
--- a/cmd/adc.c
+++ b/cmd/adc.c
@@ -3,7 +3,6 @@
  * Copyright (C) 2018 BayLibre, SAS
  * Author: Neil Armstrong <narmstrong@baylibre.com>
  */
-#include <common.h>
 #include <command.h>
 #include <dm.h>
 #include <adc.h>
index bd23549f3a5f56512b0ef5ce588d66eb152a2503..f7e4d9206de5cc70b70b2f3f55c9d3130e1220a6 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2021, Bin Meng <bmeng.cn@gmail.com>
  */
 
-#include <common.h>
 #include <command.h>
 #include <addr_map.h>
 
index f4b5cbf35b97e64b252f31b8e74588179292d371..53f33764fbe8e0088c436fd8fd3e0652bc034c5c 100644 (file)
@@ -7,8 +7,8 @@
 
 #include <command.h>
 #include <env.h>
+#include <vsprintf.h>
 #include <image-android-dt.h>
-#include <common.h>
 
 #define OPT_INDEX      "--index"
 
index 1264675aa01f48b9c120e93175d59e887dd2ce4d..87ad1ab82b9987f8d7e7af19b184f16639829a03 100644 (file)
--- a/cmd/aes.c
+++ b/cmd/aes.c
@@ -5,13 +5,13 @@
  * Command for en/de-crypting block of memory with AES-[128/192/256]-CBC cipher.
  */
 
-#include <common.h>
 #include <command.h>
 #include <uboot_aes.h>
 #include <malloc.h>
 #include <asm/byteorder.h>
 #include <linux/compiler.h>
 #include <mapmem.h>
+#include <vsprintf.h>
 
 u32 aes_get_key_len(char *command)
 {
index 589a23115b0481f8167fc93c71cc4b5fcb2c6f52..73d6c20ccaceef4f153322b5f43ed87ea237f8c8 100644 (file)
@@ -5,7 +5,6 @@
  * Copyright (c) 2018, Heinrich Schuchardt <xypron.glpk@gmx.de>
  */
 
-#include <common.h>
 #include <command.h>
 #include <linux/bitops.h>
 
index 9585150b9627c975b224a39641a60e4e48b8d0f3..181e31bc49adee5abb95983e716c2fa417fb48eb 100644 (file)
@@ -5,7 +5,6 @@
  * Authors:
  *   Abdellatif El Khlifi <abdellatif.elkhlifi@arm.com>
  */
-#include <common.h>
 #include <arm_ffa.h>
 #include <command.h>
 #include <dm.h>
index fdaea5ad811d2cb8283cd75559e352d5debec9fa..e292cf85c45dc17eebcc353541f19e47213e7d71 100644 (file)
@@ -5,10 +5,10 @@
  *
  * Support for ARM Flash Partitions
  */
-#include <common.h>
 #include <command.h>
 #include <console.h>
 #include <flash.h>
+#include <vsprintf.h>
 #include <asm/io.h>
 
 #define MAX_REGIONS 4
index 5620891db28b1488e2480a590343e0756f73ee25..3dbea0499deea8639f85f96eee44172aa8b19ebd 100644 (file)
--- a/cmd/axi.c
+++ b/cmd/axi.c
@@ -9,7 +9,6 @@
  * SPDX-License-Identifier:    GPL-2.0+
  */
 
-#include <common.h>
 #include <axi.h>
 #include <command.h>
 #include <console.h>
index f3b92564d10bb0040b208ccbc1dcd9991d46c35d..fe6d6cb2c3815b9c6980d10f3c1b10ef4a194033 100644 (file)
--- a/cmd/bcb.c
+++ b/cmd/bcb.c
@@ -8,12 +8,12 @@
 #include <android_bootloader_message.h>
 #include <bcb.h>
 #include <command.h>
-#include <common.h>
 #include <display_options.h>
 #include <log.h>
 #include <part.h>
 #include <malloc.h>
 #include <memalign.h>
+#include <vsprintf.h>
 #include <linux/err.h>
 
 enum bcb_cmd {
index 79106caeec2e2c0a117e7407f495f1a55617e672..437ac4e86309c0d9d0877f6d2f26d68549167f75 100644 (file)
@@ -6,7 +6,6 @@
  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  */
 
-#include <common.h>
 #include <command.h>
 #include <dm.h>
 #include <env.h>
index be0d4d2a7115806efb02e920a15a5ba58d9d57cf..3a59eefd5c58bc059ba26d62e532d45097de0216 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (c) 2018 JJ Hiblot <jjhiblot@ti.com>
  */
 
-#include <common.h>
 #include <command.h>
 #include <dm.h>
 #include <dm/device-internal.h>
index 592e9146901bceeffc623560622011e19b733ebc..10d91b5dbf2ee9dc8f946becbb054c2a4b71f03a 100644 (file)
@@ -1,11 +1,11 @@
 // SPDX-License-Identifier: GPL-2.0+
 
-#include <common.h>
 #include <command.h>
 #include <env.h>
 #include <hexdump.h>
 #include <malloc.h>
 #include <mapmem.h>
+#include <vsprintf.h>
 #include <linux/ctype.h>
 
 enum {
index 02ac92837b6cf33e992d31c04acd0a9fdcd44a04..4c05a4e0610e0bf5c32c1105317bae274b3a7d96 100644 (file)
@@ -8,10 +8,10 @@
  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  */
 
-#include <common.h>
 #include <blk.h>
 #include <command.h>
 #include <mapmem.h>
+#include <vsprintf.h>
 
 int blk_common_cmd(int argc, char *const argv[], enum uclass_id uclass_id,
                   int *cur_devnump)
index 1456654df6f5a0e313f13c0e340b74aaead9b5c1..dbd03df14dcf9e61fd574a988f029cfc4cc98468 100644 (file)
@@ -6,9 +6,9 @@
  */
 #include <command.h>
 #include <config.h>
-#include <common.h>
 #include <malloc.h>
 #include <part.h>
+#include <vsprintf.h>
 
 static int blkc_show(struct cmd_tbl *cmdtp, int flag,
                     int argc, char *const argv[])
index ef74ebc0036ce8b3d2314eedf491ce03b1aca42f..164f80f1387d5f86f061fed1f92fe6ffcbfdc9a7 100644 (file)
@@ -6,7 +6,6 @@
 
 #include <blk.h>
 #include <blkmap.h>
-#include <common.h>
 #include <command.h>
 #include <malloc.h>
 #include <dm/device.h>
index 7c77c410d5284e87d86e4227f4ac42a34241889d..a3c1dc49224d00f5616c7bc0f639ba19bb0b2743 100644 (file)
@@ -4,9 +4,9 @@
  * Command for encapsulating/decapsulating blob of memory.
  */
 
-#include <common.h>
 #include <command.h>
 #include <malloc.h>
+#include <vsprintf.h>
 #include <asm/byteorder.h>
 #include <linux/compiler.h>
 #if defined(CONFIG_ARCH_MX6) || defined(CONFIG_ARCH_MX7) || \
index 26548ecf847e72e0fc9418073b9323e512f3d17f..333ae558142c9efe9003e7ee89a91384fc4b727e 100644 (file)
@@ -6,7 +6,6 @@
  * Written by Simon Glass <sjg@chromium.org>
  */
 
-#include <common.h>
 #include <bloblist.h>
 #include <command.h>
 #include <asm/global_data.h>
index 8f43a40dafdd430e36e1e19764982848037e8094..3b61844862450743167fbe5d1e3769361bcfa873 100644 (file)
--- a/cmd/bmp.c
+++ b/cmd/bmp.c
@@ -8,7 +8,6 @@
  * BMP handling routines
  */
 
-#include <common.h>
 #include <command.h>
 #include <image.h>
 #include <mapmem.h>
index 14839c1cedcc691e00a7359a456075caecee1458..23496cafdf5cbd4cd0e218d823491edbdb215375 100644 (file)
@@ -7,9 +7,9 @@
 /*
  * Misc boot support
  */
-#include <common.h>
 #include <command.h>
 #include <net.h>
+#include <vsprintf.h>
 
 #ifdef CONFIG_CMD_GO
 
index 30ce5dba30d9bd69efdf3ce182e19e0d7e5228c0..5e3b66e676b83ef2a6b371f3a38a0e0ad8c802c3 100644 (file)
@@ -1,6 +1,5 @@
 // SPDX-License-Identifier: GPL-2.0+
 
-#include <common.h>
 #include <command.h>
 #include <bootcount.h>
 
index 471189cda4808c23f7b7a427addac83d9e613204..fa7285ba25e1c04663b76fd2e8cd85ee9c95e27b 100644 (file)
@@ -6,7 +6,6 @@
  * Written by Simon Glass <sjg@chromium.org>
  */
 
-#include <common.h>
 #include <bootdev.h>
 #include <bootflow.h>
 #include <bootstd.h>
index be5d7d8e743aaf485682ce0b35e06c021782cebc..1588f277a4a0af78ddfe85ac972422c05754f9e4 100644 (file)
@@ -6,7 +6,6 @@
  * Written by Simon Glass <sjg@chromium.org>
  */
 
-#include <common.h>
 #include <bootdev.h>
 #include <bootflow.h>
 #include <bootm.h>
index b9637b3ec3d8de93f51bdd09ce295383fbaa4617..62b19e83436659da68e34cc05ece5cf8d2e3dbbb 100644 (file)
@@ -4,7 +4,6 @@
  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  */
 
-#include <common.h>
 #include <bootm.h>
 #include <command.h>
 #include <image.h>
index 9737a2d28c034881dca61192bd1eeb0d30efc41f..545b0c3d8235790302c72d33d9f3d0949a9191cc 100644 (file)
@@ -7,7 +7,6 @@
 /*
  * Boot support
  */
-#include <common.h>
 #include <bootm.h>
 #include <command.h>
 #include <env.h>
index 78184fccab25d34bc2de50302485afe197e5b4b4..977a04b7d7697f56cf49a4b03f91f2449d956346 100644 (file)
@@ -5,7 +5,6 @@
 
 #include <charset.h>
 #include <cli.h>
-#include <common.h>
 #include <command.h>
 #include <ansi.h>
 #include <efi_config.h>
index f5b01343c48ca4d0a38924f1d786919a29adcb4c..ebf8b7e2530fb6a8eca5b70e46404da435d9d614 100644 (file)
@@ -6,7 +6,6 @@
  * Written by Simon Glass <sjg@chromium.org>
  */
 
-#include <common.h>
 #include <bootdev.h>
 #include <bootmeth.h>
 #include <bootstd.h>
index 77a4bc66ff43fd6e43c95545210d634b9f109034..5246924f39a4c6152e8b979c215c6ca8667734e1 100644 (file)
@@ -3,9 +3,9 @@
  * Copyright (c) 2012, Google Inc. All rights reserved.
  */
 
-#include <common.h>
 #include <bootstage.h>
 #include <command.h>
+#include <vsprintf.h>
 
 static int do_bootstage_report(struct cmd_tbl *cmdtp, int flag, int argc,
                               char *const argv[])
index b6bb4aae72d4468e886ce1f544605dc82a50058d..55837a7599b921cdc7577236c152af82ca38efe3 100644 (file)
@@ -4,7 +4,6 @@
  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  */
 
-#include <common.h>
 #include <bootm.h>
 #include <command.h>
 #include <image.h>
index 16f2b612c4db67a049ffbe76dd0053406746e26b..ae0a81179d0a2d4b77925c1c01556f11028fb8c2 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright 2020 Broadcom
  */
 
-#include <common.h>
 #include <command.h>
 #include <broadcom/chimp.h>
 
index a90a73a6d749077628a11ee6c3bea5e625146d28..e274267196362759cc7638934bfa4fdd30a524bb 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright 2020 Broadcom
  */
 
-#include <common.h>
 #include <command.h>
 #include <broadcom/chimp.h>
 
index 93b5cb4cebe6547d606f80e2fcd051e0def6a155..289b184e9afdcbbb79f683ce9e4f6b50c761f003 100644 (file)
@@ -3,8 +3,8 @@
  * Copyright 2020 Broadcom
  */
 
-#include <common.h>
 #include <command.h>
+#include <vsprintf.h>
 
 #define FW_IMAGE_SIG   0xff123456
 #define CFG_IMAGE_SIG  0xcf54321a
index 2843835d08b80710f1de6820c3402c3e15be90f9..69d1b1f830d5dda72ea174d7ae590d135b8fe320 100644 (file)
@@ -3,7 +3,6 @@
  * 2017 by Marek Behún <kabel@kernel.org>
  */
 
-#include <common.h>
 #include <command.h>
 #include <btrfs.h>
 #include <fs.h>
index 1b45d0a2a035c61bcecb6951ab166a2b191ed727..3e6db3f5b8eb5cef87031b399eae51d7a55466a6 100644 (file)
@@ -5,7 +5,6 @@
  * Based on led.c
  */
 
-#include <common.h>
 #include <command.h>
 #include <dm.h>
 #include <button.h>
index b68d45b98bf2dab35f2c2904a8c4d1df6074417a..0254ff17f9b242f7e8e63058f90f3529b186e455 100644 (file)
@@ -7,7 +7,6 @@
 /*
  * Cache support: switch on or off, get status
  */
-#include <common.h>
 #include <command.h>
 #include <cpu_func.h>
 #include <linux/compiler.h>
index 18aa6ca7aa67f3d2c4fa4af2696dfd723e790cda..6828b7b364e5a2ad4269d347d034aed915d015da 100644 (file)
--- a/cmd/cat.c
+++ b/cmd/cat.c
@@ -4,7 +4,6 @@
  * Roger Knecht <rknecht@pm.de>
  */
 
-#include <common.h>
 #include <command.h>
 #include <fs.h>
 #include <malloc.h>
index 3cfc9eb272706af72d5a9816da58dcba4d74f8fe..c1035461df1582cbee548424c06ba9478ca24807 100644 (file)
@@ -6,10 +6,10 @@
 /*
  * CBFS commands
  */
-#include <common.h>
 #include <command.h>
 #include <env.h>
 #include <cbfs.h>
+#include <vsprintf.h>
 
 static int do_cbfs_init(struct cmd_tbl *cmdtp, int flag, int argc,
                        char *const argv[])
index 6352e6369d1e32543239dac8713cc39ddc3723af..fec67a8e334980b3aa7b8e6253cbab5f8a994faa 100644 (file)
@@ -6,7 +6,6 @@
  * Written by Simon Glass <sjg@chromium.org>
  */
 
-#include <common.h>
 #include <abuf.h>
 #include <cedit.h>
 #include <command.h>
index 7bbcbfeda332d65446cdab5fe79c59a4b27f24c3..6fda6efb1cea1533a62649e63746b992df249cbd 100644 (file)
--- a/cmd/clk.c
+++ b/cmd/clk.c
@@ -2,7 +2,6 @@
 /*
  * Copyright (C) 2013 Xilinx, Inc.
  */
-#include <common.h>
 #include <command.h>
 #include <clk.h>
 #if defined(CONFIG_DM) && defined(CONFIG_CLK)
index a906207757127329d49e0e553d51a990282ef7b0..1f3cff1836d1aee31d14f228ed50b8ea64dea5f6 100644 (file)
@@ -4,11 +4,11 @@
  *
  */
 
-#include <common.h>
 #include <command.h>
 #include <malloc.h>
 #include <part.h>
 #include <blk.h>
+#include <time.h>
 #include <vsprintf.h>
 
 #define BUFSIZE (1 * 1024 * 1024)
index 80d0558d46791008fc49ac351d09492bf459cc5a..4bee8a18305c0c3f41012a7262c1ac1bc0567d53 100644 (file)
--- a/cmd/cls.c
+++ b/cmd/cls.c
@@ -5,7 +5,6 @@
  *
  * cls - clear screen command
  */
-#include <common.h>
 #include <command.h>
 #include <console.h>
 #include <dm.h>
index cf30841a35947e141aa2741a0f6f778cdc82979e..f0d2033c61f4a7c31c40b7924589f88872f6162d 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2017 Masahiro Yamada <yamada.masahiro@socionext.com>
  */
 
-#include <common.h>
 #include <command.h>
 #include <gzip.h>
 #include <malloc.h>
index 9a1bc35184852e1a7c89e587d62ba722531432fa..6cc113328ebc85fac20790580e129503065b5694 100644 (file)
@@ -5,7 +5,6 @@
  *
  * Copyright (c) 2018, Heinrich Schuchardt <xypron.glpk@gmx.de>
  */
-#include <common.h>
 #include <command.h>
 #include <linux/delay.h>
 
index 58c2cf1c8943e177bc47201c39073b03d17b00d9..12fc92061a1905c2bf10b8935a19f58adbd58cd4 100644 (file)
@@ -7,7 +7,6 @@
 /*
  * Boot support
  */
-#include <common.h>
 #include <command.h>
 #include <iomux.h>
 #include <stdio_dev.h>
index 245a82fa3eb4e920b4abb7a1125fdea528c07e1c..9e323069b9e8652f0291201052ffb24625f69747 100644 (file)
--- a/cmd/cpu.c
+++ b/cmd/cpu.c
@@ -5,7 +5,6 @@
  * Copyright (c) 2017 Álvaro Fernández Rojas <noltari@gmail.com>
  */
 
-#include <common.h>
 #include <command.h>
 #include <cpu.h>
 #include <display_options.h>
index 57e2afa2472bed29a1b786418b829dcaae0cbdce..b57e281592614e25af6adbda1453b602959ae96b 100644 (file)
@@ -10,7 +10,6 @@
 /*
  * CRAMFS support
  */
-#include <common.h>
 #include <command.h>
 #include <env.h>
 #include <image.h>
index 90921cecf602f93637e02ba2eb75c0c0b3f9d573..7b60e415b6c9ee9a46c9a73d39985ffc78e3c1fb 100644 (file)
@@ -6,7 +6,6 @@
  * Copyright (c) 2016 National Instruments Corp
  */
 
-#include <common.h>
 #include <command.h>
 #include <cros_ec.h>
 #include <dm.h>
index ad7fc3b975e1daf7d19e88523ef860681bb0a41f..40e966de9aa537c5565f4df44c29fdfc69e4a772 100644 (file)
@@ -8,11 +8,12 @@
  * Copyright (C) 2022 Stefan Roese <sr@denx.de>
  */
 
-#include <common.h>
 #include <command.h>
 #include <cyclic.h>
 #include <div64.h>
 #include <malloc.h>
+#include <time.h>
+#include <vsprintf.h>
 #include <linux/delay.h>
 
 struct cyclic_demo_info {
index 4f98b470ca2e6a3de267a0313f454ee5e317557d..755adec1e71e9dfe6d31ce243392989b31a295b2 100644 (file)
@@ -7,7 +7,6 @@
 /*
  * RTC, Date & Time support: get and set date & time
  */
-#include <common.h>
 #include <command.h>
 #include <dm.h>
 #include <rtc.h>
index ebd5a241c362c63ce813337df33aa353ec04ef8e..5c422ac165bd7cb3bd3beb5971cc046f931878aa 100644 (file)
@@ -6,7 +6,6 @@
  * Pavel Herrmann <morpheus.ibis@gmail.com>
  */
 
-#include <common.h>
 #include <command.h>
 #include <dm.h>
 #include <dm-demo.h>
index d7bfb535dc68f9628f5ea7a85f56d7fcd580d60e..46f0190588e05b160c2eb3071ab8e229e512c77d 100644 (file)
--- a/cmd/dfu.c
+++ b/cmd/dfu.c
@@ -10,7 +10,6 @@
  *         Lukasz Majewski <l.majewski@samsung.com>
  */
 
-#include <common.h>
 #include <command.h>
 #include <watchdog.h>
 #include <dfu.h>
index f51536dbfaaf84bdfe4639dde9bc6ed77fe44469..c6da5aae3fcd9aeba2e62144ace249bf26d63f6a 100644 (file)
@@ -7,7 +7,6 @@
 /*
  * Diagnostics support
  */
-#include <common.h>
 #include <command.h>
 #include <post.h>
 
index 92eaa02f4a1312d2ea83cb39211939b00d27c435..2efc3ca4b1a2fb1ea6e2b1947192c586aaf384e4 100644 (file)
@@ -3,7 +3,6 @@
  * (C) Copyright 2000-2011
  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  */
-#include <common.h>
 #include <bootstage.h>
 #include <command.h>
 #include <cpu_func.h>
index fb605c2da1a89e6b43850bc8cc620adf0b5ffbeb..ec9cfd85376e3f62a836b677b3ac1818559da2de 100644 (file)
--- a/cmd/dm.c
+++ b/cmd/dm.c
@@ -6,7 +6,6 @@
  * Marek Vasut <marex@denx.de>
  */
 
-#include <common.h>
 #include <command.h>
 #include <dm/root.h>
 #include <dm/util.h>
index fda844ee9d3524ebeac6d60769cbefa3c7649e52..973213a03a66b57af5172e470a095b0e94f58e51 100644 (file)
@@ -4,7 +4,6 @@
  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  */
 
-#include <common.h>
 #include <command.h>
 
 static int do_echo(struct cmd_tbl *cmdtp, int flag, int argc,
index 322765ad02a013b1c5dff318f1f4285207f9714a..26f3750a80adb02ec26fb3af6e82ee3bb357e99b 100644 (file)
  *
  */
 
-#include <common.h>
 #include <config.h>
 #include <command.h>
 #include <eeprom.h>
 #include <i2c.h>
 #include <eeprom_layout.h>
+#include <vsprintf.h>
 #include <linux/delay.h>
 
 #ifndef        I2C_RXTX_LEN
index 6cd5361aca59e2ec120c3ef006545f50c195e55b..6bed2d743ba6ebe2cefa00abfa2a08b0e3d287ba 100644 (file)
--- a/cmd/efi.c
+++ b/cmd/efi.c
@@ -4,7 +4,6 @@
  * Written by Simon Glass <sjg@chromium.org>
  */
 
-#include <common.h>
 #include <command.h>
 #include <efi.h>
 #include <efi_api.h>
index 1aa2351fcdfde8435f6614066e24798a5b7904dc..c46764e6eea74258aafebd031255a0f91a801795 100644 (file)
@@ -6,7 +6,6 @@
  * Written by Simon Glass <sjg@chromium.org>
  */
 
-#include <common.h>
 #include <efi.h>
 #include <efi_api.h>
 #include <uuid.h>
index 0ba92c60e0392215f37a0981a4aeea24c78e1e98..4164cb4f9b80bedadb8460c50dfd2559a14fe56a 100644 (file)
@@ -7,7 +7,6 @@
 
 #include <ansi.h>
 #include <cli.h>
-#include <common.h>
 #include <charset.h>
 #include <efi_loader.h>
 #include <efi_load_initrd.h>
index caca27495e02833cd1cdeea5eaba244f6d52339a..b3325a540f9a16ec626573a60d150b6ba54312e1 100644 (file)
@@ -6,7 +6,6 @@
  */
 
 #include <ansi.h>
-#include <common.h>
 #include <charset.h>
 #include <hexdump.h>
 #include <log.h>
index c2c525f2351744ce44f46ac47768505dc84b08c3..e978e74aad9c0475dd90dee38092d39c8b0054b8 100644 (file)
@@ -6,7 +6,6 @@
  */
 
 #include <charset.h>
-#include <common.h>
 #include <command.h>
 #include <dm/device.h>
 #include <efi_dt_fixup.h>
index df4354d37428b89bb7dec8431e502ed6eda83a6c..a02361f9f512eca9d1113a0181fe6fab330cc86e 100644 (file)
--- a/cmd/elf.c
+++ b/cmd/elf.c
@@ -4,7 +4,6 @@
  * All rights reserved.
  */
 
-#include <common.h>
 #include <command.h>
 #include <cpu_func.h>
 #include <elf.h>
index f8b8a798bf6a6f555395fbfed31b41a80ccb5817..4bf49ac598fcf6e063c4f5eb4f647d815a40875a 100644 (file)
@@ -5,13 +5,13 @@
  * Ethernet Switch commands
  */
 
-#include <common.h>
 #include <command.h>
 #include <env.h>
 #include <errno.h>
 #include <env_flags.h>
 #include <ethsw.h>
 #include <net.h>
+#include <vsprintf.h>
 
 static const char *ethsw_name;
 
index f6cdb55fc913df3d19e1c08ec86397ff2512fc3c..00c828757ca923ac7fa0c6957bed824be0832ba5 100644 (file)
@@ -6,7 +6,6 @@
  * Written by Simon Glass <sjg@chromium.org>
  */
 
-#include <common.h>
 #include <command.h>
 #include <event.h>
 
index 7bf241ec732d96b19e678ee1d13a8b9073d37522..d125ec1e31f2d80d8a5b3e288db94e988bec16ff 100644 (file)
@@ -4,8 +4,8 @@
  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  */
 
-#include <common.h>
 #include <command.h>
+#include <vsprintf.h>
 
 static int do_exit(struct cmd_tbl *cmdtp, int flag, int argc,
                   char *const argv[])
index a0ce0cf5796b9dd091c004ddbbcb4ee36bbfd590..45c8b353b58643333499a136a544ce1a56b09dc1 100644 (file)
@@ -19,7 +19,6 @@
 /*
  * Ext2fs support
  */
-#include <common.h>
 #include <command.h>
 #include <fs.h>
 
index 4791b69fd96d0bf526fa5bab83b54ae88668930c..40d1fe30d5ea68b461828c08f91de3012c46b32b 100644 (file)
@@ -25,7 +25,6 @@
  *             file in uboot. Added ext4fs ls load and write support.
  */
 
-#include <common.h>
 #include <part.h>
 #include <config.h>
 #include <command.h>
index 2b672d888c68b28ee408e3a8544e9536e4f399d8..f43bf680858f61df24c95fc23ecaa5e9fb198475 100644 (file)
@@ -4,7 +4,6 @@
  * Köry Maincent, Bootlin, <kory.maincent@bootlin.com>
  */
 
-#include <common.h>
 #include <bootdev.h>
 #include <command.h>
 #include <dm.h>
index c3c19231c9889aa1e8ab9b56db4e81f31b10af43..d4cfc0c7a282b8697f50c207fa8cb46171797ee1 100644 (file)
@@ -6,7 +6,6 @@
  * (C) Copyright 2014 Linaro, Ltd.
  * Rob Herring <robh@kernel.org>
  */
-#include <common.h>
 #include <command.h>
 #include <console.h>
 #include <g_dnl.h>
index 69ce1fa5300bb6a8a46600057e57eafb45220ee6..ad0e5ed7d6006588c57c7ab93abf6b64a870a681 100644 (file)
--- a/cmd/fat.c
+++ b/cmd/fat.c
@@ -7,7 +7,6 @@
 /*
  * Boot support
  */
-#include <common.h>
 #include <command.h>
 #include <mapmem.h>
 #include <fat.h>
index 331564c13be9a46844ec6c91213fb0da850c74e5..d16b141ce32d2173b08e64a8084b7b2b0f5a5192 100644 (file)
--- a/cmd/fdt.c
+++ b/cmd/fdt.c
@@ -7,7 +7,6 @@
  *   Matthew McClintock <msm@freescale.com>
  */
 
-#include <common.h>
 #include <command.h>
 #include <env.h>
 #include <image.h>
index f4f85ecc7a8e0613c63e55406098a60726b879ef..de0e04f09cfbb734969142d8e0c33feaa1cf9e86 100644 (file)
@@ -7,9 +7,9 @@
 /*
  * FLASH support
  */
-#include <common.h>
 #include <command.h>
 #include <log.h>
+#include <vsprintf.h>
 #include <uuid.h>
 
 #if defined(CONFIG_CMD_MTDPARTS)
index cb39c88063fbfd133a3476b5d1d72f538e4e93bd..ebde094b0a5bb641ed8e6f58a08c46f7e510efc8 100644 (file)
@@ -6,7 +6,6 @@
  * Written by Simon Glass <sjg@chromium.org>
  */
 
-#include <common.h>
 #include <command.h>
 #include <dm.h>
 #include <video.h>
index 8c64e957db0fd5e5e3b5fa2be7e756c4714a5d6e..93f14098ccb627db190f4b80c80d33057cd38507 100644 (file)
@@ -7,7 +7,6 @@
 /*
  *  FPGA support
  */
-#include <common.h>
 #include <command.h>
 #include <env.h>
 #include <fpga.h>
index dfc6220b5e01173af3b2aa2a9183f342a4da5298..b4bfaa1216572e0e9534f6c0d74f56522027dadf 100644 (file)
@@ -8,10 +8,10 @@
  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  */
 
-#include <common.h>
 #include <command.h>
 #include <console.h>
 #include <display_options.h>
+#include <vsprintf.h>
 
 #include <gdsys_fpga.h>
 
index 46cb43dcdb5bfafe4ad273a37b437ae1450398b2..3d7e06d6f1e5a288bb9b6418d0c4722ba37f9a8f 100644 (file)
--- a/cmd/fs.c
+++ b/cmd/fs.c
@@ -5,7 +5,6 @@
  * Inspired by cmd_ext_common.c, cmd_fat.c.
  */
 
-#include <common.h>
 #include <command.h>
 #include <fs.h>
 
index 5dc94aa6408177f07d10d0baf8af2554f0586ec8..5f7770d09ac650df99581b18a6838bc93af8a7c2 100644 (file)
@@ -5,7 +5,6 @@
  * Copyright (C) 2014, Bachmann electronic GmbH
  */
 
-#include <common.h>
 #include <command.h>
 #include <fs.h>
 
index f884c894fb002fad53f90d894a25559093c3223f..598ef496a430071dd3d141249eee7146f18bca78 100644 (file)
@@ -8,11 +8,11 @@
  * Martha Marx <mmarx@silicontkx.com>
  */
 
-#include <common.h>
 #include <command.h>
 #include <console.h>
 #include <fuse.h>
 #include <mapmem.h>
+#include <vsprintf.h>
 #include <linux/errno.h>
 
 static int strtou32(const char *str, unsigned int base, u32 *result)
index 2e74e02b49980a4e26c6c39f0886c52e1f09c97e..fc307efce8c288e5d550bd61e40d2658a4b8da3b 100644 (file)
@@ -11,8 +11,8 @@
 /*
  * Get Timer overflows after 2^32 / CONFIG_SYS_HZ (32Khz) = 131072 sec
  */
-#include <common.h>
 #include <command.h>
+#include <time.h>
 
 static int do_gettime(struct cmd_tbl *cmdtp, int flag, int argc,
                      char *const argv[])
index dab6f7097aec1a0c9ea40a64d128dfa665010377..7a43dc6ab18430ea934761ace9bc0a3614881213 100644 (file)
@@ -6,7 +6,6 @@
  * Licensed under the GPL-2 or later.
  */
 
-#include <common.h>
 #include <command.h>
 #include <errno.h>
 #include <dm.h>
index 7aaf1889a5ace1f0edac2af2a5c808b9b9ed9429..36b112d59784060766b0ffe8d24f0ac93df11e23 100644 (file)
--- a/cmd/gpt.c
+++ b/cmd/gpt.c
@@ -10,7 +10,6 @@
  * author: Piotr Wilczek <p.wilczek@samsung.com>
  */
 
-#include <common.h>
 #include <blk.h>
 #include <env.h>
 #include <log.h>
index 5534a735fa7eef8c1e2b1f105c2a6e5f9bf47de7..60d482b7f87267418b998e68a02592de1aaa121d 100644 (file)
@@ -9,7 +9,6 @@
  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  */
 
-#include <common.h>
 #include <command.h>
 #include <hash.h>
 #include <linux/ctype.h>
index 9f8393eefd81f6ccea9a99f6cbd2d0779db3d611..56579e28d31d7dfd0aa25130f8eb7093ea631783 100644 (file)
@@ -4,7 +4,6 @@
  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  */
 
-#include <common.h>
 #include <command.h>
 
 static int do_help(struct cmd_tbl *cmdtp, int flag, int argc,
index b6bf4670b1cea37031a70df351b33756f916fd14..8972986ca9d1152eadf5b790e8fe695303d644e6 100644 (file)
@@ -4,7 +4,6 @@
  * Written by Simon Glass <sjg@chromium.org>
  */
 
-#include <common.h>
 #include <command.h>
 #include <cli.h>
 
index c33c2a9787eb36562c66d9267d1d9eea22ba5d93..e03576b4d2def808687a02f7db48d359a66426ef 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (c) 2012, Google Inc.
  */
 
-#include <common.h>
 #include <command.h>
 #include <dm.h>
 #include <fs.h>
index 80831561c6711f70be75c7740380073b008d4ecf..7dac0a9fb6cbe459096eb4d8de99bc45001f7847 100644 (file)
--- a/cmd/i2c.c
+++ b/cmd/i2c.c
@@ -64,7 +64,6 @@
  * Adapted from cmd_mem.c which is copyright Wolfgang Denk (wd@denx.de).
  */
 
-#include <common.h>
 #include <bootretry.h>
 #include <cli.h>
 #include <command.h>
index ddc87d3a0bb95d0f36789267d5ac0c709c963ce6..036489fda979b8656cc9cd9f2a21867513c21e3c 100644 (file)
--- a/cmd/ide.c
+++ b/cmd/ide.c
@@ -8,7 +8,6 @@
  * IDE support
  */
 
-#include <common.h>
 #include <blk.h>
 #include <dm.h>
 #include <config.h>
index 35de2373e60213b442f98e170b57e2d26d14f03f..963990176916d6af88b95331830ef68391afe22a 100644 (file)
--- a/cmd/ini.c
+++ b/cmd/ini.c
@@ -11,9 +11,9 @@
  * http://code.google.com/p/inih/
  */
 
-#include <common.h>
 #include <command.h>
 #include <env.h>
+#include <vsprintf.h>
 #include <linux/ctype.h>
 #include <linux/string.h>
 
index 2de1111998fe6f5987480cceef503ca84c2188e2..617373d3cb71052283915baa8de7ae1913e2cc74 100644 (file)
--- a/cmd/io.c
+++ b/cmd/io.c
@@ -7,9 +7,9 @@
  * IO space access commands.
  */
 
-#include <common.h>
 #include <command.h>
 #include <display_options.h>
+#include <vsprintf.h>
 #include <asm/io.h>
 
 /* Display values from last command */
index f28359e2875d68b761c443c38cf136511f2c99e7..0a041ed8652a661aefccefa2dbef83f767d21ad8 100644 (file)
@@ -3,9 +3,9 @@
  * Copyright (c) 2014 Google, Inc
  */
 
-#include <common.h>
 #include <command.h>
 #include <iotrace.h>
+#include <vsprintf.h>
 
 static void do_print_stats(void)
 {
index 1d3e28cb3ce02427dc144ba3a0ca940564813d86..655aba576a8b29f43808adc7af7e2d33490b7df4 100644 (file)
--- a/cmd/irq.c
+++ b/cmd/irq.c
@@ -3,7 +3,6 @@
  * Copyright 2008 Freescale Semiconductor, Inc.
  */
 
-#include <common.h>
 #include <config.h>
 #include <command.h>
 #include <irq_func.h>
index 74414cbdc4c67e8dba32b533b1c563d5e182e542..b79512a505d6726048bb50514fde14fd69e6998a 100644 (file)
  * A few parts were lifted from bash 'test' command
  */
 
-#include <common.h>
 #include <config.h>
 #include <command.h>
 #include <env.h>
 #include <mapmem.h>
+#include <vsprintf.h>
 
 #include <asm/io.h>
 
index e00fcc2022665024c7399d97224da15861566bc8..89d336f5958564960a0988fb6441d6ee964879c4 100644 (file)
@@ -70,7 +70,6 @@
 /*
  * JFFS2/CRAMFS support
  */
-#include <common.h>
 #include <command.h>
 #include <env.h>
 #if defined(CONFIG_CMD_FLASH)
index 9acb8e16386392550c1cfd42d0bbaf76f591c72f..e0d3c7fe7489143ab1971e15a4c492f5c1d025de 100644 (file)
@@ -6,7 +6,6 @@
  * Copyright (c) 2021, Chris Morgan <macromorgan@hotmail.com>
  */
 
-#include <common.h>
 #include <command.h>
 #include <dm.h>
 #include <hexdump.h>
index 48a02baf509deaa0c0cb8e554cb8cb4f7076e2ac..4256b3429c2f9520f8cc54f51627b6e0bfa7a5d7 100644 (file)
--- a/cmd/led.c
+++ b/cmd/led.c
@@ -4,7 +4,6 @@
  * Written by Simon Glass <sjg@chromium.org>
  */
 
-#include <common.h>
 #include <command.h>
 #include <dm.h>
 #include <led.h>
index 5903a90fe53b14b518376c6cd084e92e1b88e8e2..1a5271000bf354c3a5aab7e2f02e0cd85a287b75 100644 (file)
@@ -1,6 +1,5 @@
 // SPDX-License-Identifier: GPL-2.0+
 
-#include <common.h>
 #include <jffs2/jffs2.h>
 #include <linux/mtd/mtd.h>
 #include <linux/mtd/partitions.h>
index 5256255f052dabdd477af3cc67c53b9b54049896..50de7e89d8f4c0533497fd907ef674c788cd2d5a 100644 (file)
@@ -9,10 +9,9 @@
  * Ulf Samuelsson <ulf.samuelsson@atmel.com>
  */
 
-#include <common.h>
-#include <config.h>
 #include <command.h>
 #include <status_led.h>
+#include <vsprintf.h>
 
 struct led_tbl_s {
        char            *string;        /* String for use in the command */
index 15411b5a92d56ed09fd3e878c1d8032b8305c114..161663ff29c64173d3bb62f52c7aecdabdef80ab 100644 (file)
@@ -4,7 +4,6 @@
  * Author: Harald Welte <laforge@openmoko.org>
  */
 
-#include <common.h>
 #include <command.h>
 #include <gzip.h>
 #include <malloc.h>
index 540361b43f02e09fdb9ec4d5a89ca37029279800..ace1c52f90added1f7906cad4acf2369d7893457 100644 (file)
@@ -7,7 +7,6 @@
 /*
  * Serial up- and download support
  */
-#include <common.h>
 #include <command.h>
 #include <console.h>
 #include <cpu_func.h>
index c9a23e4ae0d311b3800b65a3a1639f80c2802c49..519ec76f3b5100338991bee570616ec8f32dc00a 100644 (file)
--- a/cmd/log.c
+++ b/cmd/log.c
@@ -4,7 +4,6 @@
  * Written by Simon Glass <sjg@chromium.org>
  */
 
-#include <common.h>
 #include <command.h>
 #include <dm.h>
 #include <getopt.h>
index d214dafc3bee0353e39b251131153b34cbafa2f0..7c00bfdc7a09a0b28adca7a00bfe82587a174fba 100644 (file)
@@ -4,7 +4,6 @@
  * Niel Fourie, DENX Software Engineering, lusus@denx.de.
  */
 
-#include <common.h>
 #include <blk.h>
 #include <command.h>
 #include <dm.h>
index 81924da461802425ebefff0f7173c48008cfbe96..c40b96941b477b035b4551e34345c80c8e0f28cb 100644 (file)
@@ -9,10 +9,10 @@
  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  */
 
-#include <common.h>
 #include <command.h>
 #include <env.h>
 #include <mapmem.h>
+#include <vsprintf.h>
 #include <asm/io.h>
 
 #include <lzma/LzmaTools.h>
index ec99b662834ebd121d18e0c951fb8961db21639c..7e1f92a13bb5eaa481991d05c14bab360bf0bd32 100644 (file)
--- a/cmd/mbr.c
+++ b/cmd/mbr.c
@@ -8,11 +8,11 @@
  * based on the gpt command.
  */
 
-#include <common.h>
 #include <blk.h>
 #include <command.h>
 #include <malloc.h>
 #include <part.h>
+#include <vsprintf.h>
 
 /**
  * extract_val() - Extract a value from the key=value pair list
index 3c74326161efc2b36da82bf765a93a7cc47e4dd6..c0a87087d315014a1bfea595cb152f52ea46798c 100644 (file)
@@ -8,7 +8,6 @@
  * MDIO Commands
  */
 
-#include <common.h>
 #include <command.h>
 #include <dm.h>
 #include <miiphy.h>
index 768057e4d3f682c3561ac28b57fd261c24c31793..4989d27f2ab466150a82e381703ee596d59af477 100644 (file)
--- a/cmd/mem.c
+++ b/cmd/mem.c
@@ -10,7 +10,6 @@
  * Copied from FADS ROM, Dan Malek (dmalek@jlc.net)
  */
 
-#include <common.h>
 #include <console.h>
 #include <bootretry.h>
 #include <cli.h>
@@ -24,6 +23,7 @@
 #include <log.h>
 #include <mapmem.h>
 #include <rand.h>
+#include <time.h>
 #include <watchdog.h>
 #include <asm/global_data.h>
 #include <asm/io.h>
index de9a242e17f543a5ac8a275d2321f964bb556cf2..b69f8123ee2da405f8b606de46a4931d78021377 100644 (file)
@@ -9,11 +9,11 @@
  */
 
 #include <command.h>
-#include <common.h>
 #include <env.h>
 #include <asm/arch/sm.h>
 #include <stdlib.h>
 #include <display_options.h>
+#include <vsprintf.h>
 
 static int do_sm_serial(struct cmd_tbl *cmdtp, int flag, int argc,
                        char *const argv[])
index fab420ee29e20c539fc04d00bb102d384fc7bf55..ce3724896926d28391ba594dcdcce22ad0f33df7 100644 (file)
--- a/cmd/mii.c
+++ b/cmd/mii.c
@@ -8,7 +8,6 @@
  * MII Utilities
  */
 
-#include <common.h>
 #include <command.h>
 #include <dm.h>
 #include <miiphy.h>
index ec32b41ed1e96f01bcc27b1d3d2a6226d8966bed..792d9723c759272fd27b246dae756963244a537f 100644 (file)
@@ -8,7 +8,6 @@
  * A command interface to access misc devices with MISC uclass driver APIs.
  */
 
-#include <common.h>
 #include <command.h>
 #include <dm.h>
 #include <errno.h>
index 2d5430a53079628b8bb10ba49a1ff46bcb4bd837..7244a90f4dcebb3f1d415505a936963d7625b15b 100644 (file)
--- a/cmd/mmc.c
+++ b/cmd/mmc.c
@@ -4,7 +4,6 @@
  * Kyle Harris, kharris@nexus-tech.net
  */
 
-#include <common.h>
 #include <blk.h>
 #include <command.h>
 #include <console.h>
@@ -14,6 +13,7 @@
 #include <part.h>
 #include <sparse_format.h>
 #include <image-sparse.h>
+#include <vsprintf.h>
 
 static int curr_device = -1;
 
index 1b4373f25873a275931b87058513241a0a7b7b2b..b9b5e01624666add6de930e6c2afbc1701edca40 100644 (file)
--- a/cmd/mp.c
+++ b/cmd/mp.c
@@ -3,9 +3,9 @@
  * Copyright 2008-2009 Freescale Semiconductor, Inc.
  */
 
-#include <common.h>
 #include <command.h>
 #include <cpu_func.h>
+#include <vsprintf.h>
 
 static int cpu_status_all(void)
 {
index 9189f45cabd5505f47800633f3decc508cef978d..795aaa2b37da7b539fee07efacb20be867aa73f3 100644 (file)
--- a/cmd/mtd.c
+++ b/cmd/mtd.c
@@ -9,7 +9,6 @@
  */
 
 #include <command.h>
-#include <common.h>
 #include <console.h>
 #if CONFIG_IS_ENABLED(CMD_MTD_OTP)
 #include <hexdump.h>
index b31db73ebfc9759636f961e0edbf622acd95f6a0..f57d84dbb3add64dcde02de0151eb48f8641d433 100644 (file)
@@ -70,7 +70,6 @@
  *
  */
 
-#include <common.h>
 #include <command.h>
 #include <env.h>
 #include <log.h>
index 388fb0878a84aeb0cbe753ce22b000b1f89c1d6b..2f6c08b8b079432d86ac603387e71f8c3a7d3102 100644 (file)
--- a/cmd/mux.c
+++ b/cmd/mux.c
@@ -6,7 +6,6 @@
  * Author: Pratyush Yadav <p.yadav@ti.com>
  */
 
-#include <common.h>
 #include <command.h>
 #include <errno.h>
 #include <dm.h>
index 744b1c20aa83f2f4743975dfdd132c40c5ab9c51..e3f21dd0d81521970c4ebbbfc1d80568b7722a15 100644 (file)
@@ -5,7 +5,6 @@
  */
 
 #include <config.h>
-#include <common.h>
 #include <command.h>
 #include <env.h>
 #include <image.h>
index 4ee8f54ea9c7ab839bdbae52a578d067010b6b8a..5653877cd4a2cbca0b70c605c392acb72c80ff61 100644 (file)
@@ -5,7 +5,6 @@
  * SPDX-License-Identifier:    GPL-2.0
  */
 
-#include <common.h>
 #include <command.h>
 #include <console.h>
 #include <dm.h>
index fe834c4ac5c030e64c37736566904b3ec6f0e3a8..5a328e0acddfa244e4d5c1ae207235e1fc782ac9 100644 (file)
@@ -23,7 +23,6 @@
  * only
  */
 
-#include <common.h>
 #include <bootstage.h>
 #include <image.h>
 #include <asm/cache.h>
index d407d8320a3d84dcf445938eeaef41bced20cb9d..b206ff58e68176ce6db4f232e220af78a97e5c9e 100644 (file)
--- a/cmd/net.c
+++ b/cmd/net.c
@@ -9,7 +9,6 @@
 /*
  * Boot support
  */
-#include <common.h>
 #include <bootstage.h>
 #include <command.h>
 #include <dm.h>
index e77338f81394b3f92fb23779bd7dfc30266e7f7f..98a687bcabbdd3fc4d29cc55169489aba4661902 100644 (file)
@@ -23,7 +23,7 @@
  * environment. After that, we use a hash table.
  */
 
-#include <common.h>
+#include <config.h>
 #include <cli.h>
 #include <command.h>
 #include <console.h>
index 7a30b5cc8f87ca4fe614d8cd5227bb11ae9b74ec..64ae2ad2ce24b926c21f728bf4b31b2dbbe4370a 100644 (file)
@@ -6,7 +6,6 @@
  */
 
 #include <charset.h>
-#include <common.h>
 #include <command.h>
 #include <efi_loader.h>
 #include <efi_variable.h>
index 09d5f438fb1a112fd75da207fc139c5ee8d91197..f2c9acba5c3272a17a93a27acef6cb77632ddf29 100644 (file)
@@ -4,7 +4,6 @@
  * Copyright (C) 2017 Bin Meng <bmeng.cn@gmail.com>
  */
 
-#include <common.h>
 #include <blk.h>
 #include <command.h>
 #include <dm.h>
index fad781583a313503db6962deb4153f01be11db11..6e808ce3fce4d1214cfdef8e2f999101e73ad817 100644 (file)
@@ -9,7 +9,6 @@
  * published by the Free Software Foundation.
  */
 
-#include <common.h>
 #include <command.h>
 #include <malloc.h>
 #include <linux/printk.h>
index b3cafd924108fa417bc483b843bf42514c2be14a..b155278ee2ad2972e141a079f533ac2f4a64aeb8 100644 (file)
@@ -4,7 +4,6 @@
  */
 
 #include <command.h>
-#include <common.h>
 #include <env.h>
 #include <errno.h>
 #include <image.h>
index 210bc5d4c231ab6b2b54fc8258bf7e2c576b2b78..5671338d9e7bc27173c9852a7b387de1d4dbd881 100644 (file)
--- a/cmd/osd.c
+++ b/cmd/osd.c
@@ -9,7 +9,6 @@
  * Dirk Eibach,  Guntermann & Drunck GmbH, eibach@gdsys.de
  */
 
-#include <common.h>
 #include <command.h>
 #include <dm.h>
 #include <hexdump.h>
index f13b3f094fab53ccf1e42bd0f0c2065e597c7489..7c0affa5eb50e6ad73ff20b9dfa57d52ff86e861 100644 (file)
@@ -3,7 +3,7 @@
  * Copyright (c) 2020 Theobroma Systems Design und Consulting GmbH
  */
 
-#include <common.h>
+#include <vsprintf.h>
 #include <command.h>
 
 static int do_panic(struct cmd_tbl *cmdtp, int flag, int argc,
index c75f85acd52d4dca58bebfab742cca99cc4f2641..d140a1eddb92e1a4d9ff3ffa0442cb66d99cecd3 100644 (file)
@@ -15,7 +15,6 @@
  * Pavel Bartusek <pba@sysgo.com>
  */
 
-#include <common.h>
 #include <config.h>
 #include <command.h>
 #include <env.h>
index a0149203fad542db7b57d3ba2880e2d4fffd1b2a..8d610966c13dedd0dd612631b9da894c55e590a8 100644 (file)
@@ -4,8 +4,8 @@
  * Ramon Fried <rfried.dev@gmail.com>
  */
 
-#include <common.h>
 #include <command.h>
+#include <vsprintf.h>
 #include <net.h>
 #include <net/pcap.h>
 
index d89e71c16a04900a9adbc7ae092e080dd3d280f1..3c0aed50cae309630fbe941d4780f165632f0014 100644 (file)
--- a/cmd/pci.c
+++ b/cmd/pci.c
@@ -12,7 +12,6 @@
  * PCI routines
  */
 
-#include <common.h>
 #include <bootretry.h>
 #include <cli.h>
 #include <command.h>
index 98161da93a059ee9a8b8dddfc6ceb51853ed663d..19e71db8cbd2fe074b8ea1efa8ee61638587791d 100644 (file)
@@ -6,7 +6,6 @@
  * PCI Express Maximum Packet Size (MPS) configuration
  */
 
-#include <common.h>
 #include <bootretry.h>
 #include <cli.h>
 #include <command.h>
index 105f01eaafffce364e673af7817d122d27f9547d..01f3e4af6cec3a4cdad6ed96357729949a788645 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2018, STMicroelectronics - All Rights Reserved
  */
 
-#include <common.h>
 #include <command.h>
 #include <dm.h>
 #include <errno.h>
index 9a3ba2bffc50041f61c0a21f11af0b5c4ac8cefe..1a3416fb2a96afb5d631d2af277bdce184690a63 100644 (file)
--- a/cmd/pmc.c
+++ b/cmd/pmc.c
@@ -5,7 +5,6 @@
  * Copyright 2019 Google LLC
  */
 
-#include <common.h>
 #include <command.h>
 #include <dm.h>
 #include <power/acpi_pmc.h>
index c9e9730adf909e30fd8420145b7d66a80cd6cbaf..3ad1b8aa3756473dfb8779bb3060c38827760ea3 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2014-2015 Samsung Electronics
  * Przemyslaw Marczak <p.marczak@samsung.com>
  */
-#include <common.h>
 #include <command.h>
 #include <errno.h>
 #include <dm.h>
index 0c6887e0d6e983327eaaf073d20a368ba17ffd72..a1727ac15a2d8b24a753861487a8c87fbd589c49 100644 (file)
  * We try to be compatible.
  */
 
-#include <common.h>
 #include <ctype.h>
 #include <errno.h>
 #include <stddef.h>
 #include <stdio.h>
 #include <stdlib.h>
+#include <vsprintf.h>
 
 #define WANT_HEX_ESCAPES 0
 #define PRINT_CONVERSION_ERROR 1
index 1b604c37373c5de86b20b8f796aa289d429547f8..3a83ac9cd92c8a0f6a5efb5ebfc88b01e2fc8b53 100644 (file)
@@ -6,7 +6,6 @@
  */
 
 #include <blk.h>
-#include <common.h>
 #include <command.h>
 
 /* Current I/O Device */
index 21134eb7a304646ad305eaac48bd289b8be5a8d8..ae02c28c07503763290b073702d6589e2f2fbeb1 100644 (file)
--- a/cmd/pxe.c
+++ b/cmd/pxe.c
@@ -4,12 +4,12 @@
  * Copyright (c) 2014, NVIDIA CORPORATION.  All rights reserved.
  */
 
-#include <common.h>
 #include <command.h>
 #include <fs.h>
 #include <net.h>
 #include <net6.h>
 #include <malloc.h>
+#include <vsprintf.h>
 
 #include "pxe_utils.h"
 
index 1b8c775ebf5ab10cffac06998f1a043dd3ff2b84..1b108118658e39c3cd039a53afb718a74df7ed81 100644 (file)
--- a/cmd/qfw.c
+++ b/cmd/qfw.c
@@ -3,7 +3,6 @@
  * (C) Copyright 2015 Miao Yan <yanmiaobest@gmail.com>
  */
 
-#include <common.h>
 #include <command.h>
 #include <env.h>
 #include <errno.h>
index 1218e7acfd0a3bd2b876b010a997a51506be1a3e..af54bd176547fa05724e18bfca8cfccd0a2f85e9 100644 (file)
@@ -8,10 +8,10 @@
  * Software Foundation.
  */
 
-#include <common.h>
 #include <command.h>
 #include <mapmem.h>
 #include <part.h>
+#include <vsprintf.h>
 
 static int
 do_rw(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[])
index c8a04b1754eb5ace63a18bad5d5d40f3ccbd4743..53b8bc41bfe518d9b6c0a60618c7f5a713d9c714 100644 (file)
@@ -4,7 +4,6 @@
  * Subodh Nijsure, SkyStream Networks, snijsure@skystream.com
  */
 
-#include <common.h>
 #include <command.h>
 #include <asm/ppc.h>
 
index 635a9add58567e3f082aa330a5d0de722527e6d5..da298090bb7605d0e6dbf9630edc6971044ff114 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2014-2015 Samsung Electronics
  * Przemyslaw Marczak <p.marczak@samsung.com>
  */
-#include <common.h>
 #include <command.h>
 #include <errno.h>
 #include <dm.h>
index ea8724a187da9b3fc90f90eca4a94ba7414b1d9f..3c5b6a05b1afef2bac4aeade13550ecad5e23f16 100644 (file)
@@ -3,7 +3,6 @@
  * (C) Copyright 2015
  * Texas Instruments Incorporated - https://www.ti.com/
  */
-#include <common.h>
 #include <command.h>
 #include <dm.h>
 #include <errno.h>
index 2d8ee7e5bbb07b5af312b14fa57bac9b1a4469e8..a231604e492084bf1c0f688e51279f5d6a65e27d 100644 (file)
@@ -5,7 +5,6 @@
  * Copyright (c) 2020, Heinrich Schuchardt <xypron.glpk@gmx.de>
  */
 
-#include <common.h>
 #include <command.h>
 #include <asm/sbi.h>
 
index 5b80427cb949aace1fa550b20b8a0cf0aeadeed0..a870c11911085e9c557016a06b4392f30fbc24a5 100644 (file)
@@ -8,7 +8,6 @@
  * Copyright (C) 2023 Johan Jonker <jbx6244@gmail.com>
  */
 
-#include <common.h>
 #include <blk.h>
 #include <command.h>
 #include <dm.h>
index e5ab8681122606f5f403fd64de250627c64769f9..2fb7202303acd04af16b8c8f288f0d695351094d 100644 (file)
--- a/cmd/rng.c
+++ b/cmd/rng.c
@@ -4,7 +4,6 @@
  *
  * Copyright (c) 2019, Heinrich Schuchardt <xypron.glpk@gmx.de>
  */
-#include <common.h>
 #include <command.h>
 #include <dm.h>
 #include <hexdump.h>
index 07088564a109b60acce67d6857a5223b6c9648a6..48497aa876418e56768d4e61c05702eaabefc0c2 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2017 Eddie Cai <eddie.cai.linux@gmail.com>
  */
 
-#include <common.h>
 #include <command.h>
 #include <console.h>
 #include <g_dnl.h>
index a344cfa76b1d52c1f77fa00b4c7f9c8cb2dd4f07..a931fd9d54f0199bbfdb94689840d67a84d7ccf6 100644 (file)
--- a/cmd/rtc.c
+++ b/cmd/rtc.c
@@ -1,6 +1,5 @@
 // SPDX-License-Identifier: GPL-2.0+
 
-#include <common.h>
 #include <command.h>
 #include <display_options.h>
 #include <dm.h>
index 9c9fe111d12f2b7fe071b02c7c666a5e8389247b..8b923f9378b221cbc1002021ecdfd66bbfaa3824 100644 (file)
@@ -9,7 +9,6 @@
  *             Dave Liu <daveliu@freescale.com>
  */
 
-#include <common.h>
 #include <ahci.h>
 #include <blk.h>
 #include <dm.h>
index 0d55818e3c6741b3cef63a58ab8222d4a5068c49..1aa5921f03e6695e04d89165567fd4077ac59fc3 100644 (file)
--- a/cmd/sb.c
+++ b/cmd/sb.c
@@ -4,7 +4,6 @@
  * Written by Simon Glass <sjg@chromium.org>
  */
 
-#include <common.h>
 #include <command.h>
 #include <dm.h>
 #include <spl.h>
index 2b8d5aecf3497be82f65e3ad3a09d3ac9ed6fd89..9c749d19af81745f7c129147ab25adc57eaa9d8b 100644 (file)
@@ -4,7 +4,6 @@
  *
  */
 
-#include <common.h>
 #include <command.h>
 #include <env.h>
 #include <scp03.h>
index c501d7f456d7eba9af7701e6e679db326419a179..c286bdc072605796614c817fea43f4cf5fb6d968 100644 (file)
@@ -7,7 +7,6 @@
 /*
  * SCSI support.
  */
-#include <common.h>
 #include <blk.h>
 #include <command.h>
 #include <scsi.h>
index 3aafb43c48a056842ce314f028e135edd32a61d0..3c8e819923400c93d3957e99d23ab9e1862fcb84 100644 (file)
@@ -4,7 +4,6 @@
  * Support for the "SEAttle iMAge" SEAMA NAND image format
  */
 
-#include <common.h>
 #include <command.h>
 #include <nand.h>
 
index ab76824a32bbee54690ea4302785f6aa77e43eda..e111b8ba98ad7c276621aca949ccd31ba5dc12ed 100644 (file)
@@ -8,7 +8,6 @@
  * This file provides a shell like 'expr' function to return.
  */
 
-#include <common.h>
 #include <config.h>
 #include <command.h>
 #include <ctype.h>
@@ -16,6 +15,8 @@
 #include <log.h>
 #include <malloc.h>
 #include <mapmem.h>
+#include <vsprintf.h>
+#include <linux/errno.h>
 #include <linux/sizes.h>
 #include "printf.h"
 
index e3866899f6c463df518736b3c5d10316c4df89d7..f43a2e08b318ca3a6ddc4f8af791d46a455d7611 100644 (file)
--- a/cmd/sf.c
+++ b/cmd/sf.c
@@ -5,7 +5,6 @@
  * Copyright (C) 2008 Atmel Corporation
  */
 
-#include <common.h>
 #include <command.h>
 #include <display_options.h>
 #include <div64.h>
@@ -14,6 +13,7 @@
 #include <malloc.h>
 #include <mapmem.h>
 #include <spi.h>
+#include <time.h>
 #include <spi_flash.h>
 #include <asm/cache.h>
 #include <jffs2/jffs2.h>
index bcc665a5a6c692a9176fcc5694eee6ba154f5ae8..52aa26c78d2f9b8b81d5390adc771700b1569e6d 100644 (file)
@@ -7,7 +7,6 @@
  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  */
 
-#include <common.h>
 #include <command.h>
 #include <hash.h>
 #include <u-boot/sha1.h>
index c741b4aa029bdbf38da667467213c41c0bc87a72..7616fed7556667448c532d130101483e4fea0066 100644 (file)
@@ -4,9 +4,10 @@
  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  */
 
-#include <common.h>
 #include <command.h>
 #include <console.h>
+#include <time.h>
+#include <vsprintf.h>
 #include <linux/delay.h>
 
 static int do_sleep(struct cmd_tbl *cmdtp, int flag, int argc,
index fb80431ad1d954bab5498c3cdcdc19bd8927a4a2..3a4d885e37e1fd74c4a265f17f9e25053d72f880 100644 (file)
@@ -4,8 +4,8 @@
  * Michalis Pappas <mpappas@fastmail.fm>
  */
 #include <asm/psci.h>
-#include <common.h>
 #include <command.h>
+#include <vsprintf.h>
 #include <linux/arm-smccc.h>
 #include <linux/compiler.h>
 #include <linux/psci.h>
index 0b7f9599716b29a6d1f9d68fedaafe2caae648d4..08bf74112f1659401f4311a98c9d4e3e9e6daf61 100644 (file)
@@ -4,7 +4,6 @@
  * Rajeshwari Shinde <rajeshwari.s@samsung.com>
  */
 
-#include <common.h>
 #include <command.h>
 #include <dm.h>
 #include <fdtdec.h>
index 0ba9736b1ab34fe746504893ca47c93c2a0fd8ec..c9b5f8e400a615c055979270774cd9bde3183a79 100644 (file)
@@ -14,7 +14,6 @@
 
 /* #define DEBUG */
 
-#include <common.h>
 #include <command.h>
 #include <env.h>
 #include <image.h>
index f30018f33be81e0f7949f711aff02e9ce6beb3ec..ea30c854c2188974b2086502d94dd44950bd90a9 100644 (file)
--- a/cmd/spi.c
+++ b/cmd/spi.c
@@ -8,7 +8,6 @@
  * SPI Read/Write Utilities
  */
 
-#include <common.h>
 #include <command.h>
 #include <dm.h>
 #include <errno.h>
index 8a2ded72be9ff7703426cc6df1bf66cf8933b465..d1f47c7316b49f95c0bb2f4e20d8085500d94b68 100644 (file)
--- a/cmd/spl.c
+++ b/cmd/spl.c
@@ -4,7 +4,6 @@
  * Corscience GmbH & Co. KG - Simon Schwarz <schwarz@corscience.de>
  */
 
-#include <common.h>
 #include <command.h>
 #include <cmd_spl.h>
 #include <env.h>
index f3470288faccb1a7146ab5be3e8fe3a031c2c506..e7ff4a0615894dedcd8ae29ef2d1381e1f974d3b 100644 (file)
@@ -3,7 +3,6 @@
  *  Copyright 2021 Broadcom
  */
 
-#include <common.h>
 #include <command.h>
 
 static int do_test_stackprot_fail(struct cmd_tbl *cmdtp, int flag, int argc,
index bf348afce8141256c61e50a0f143e323c1f98a43..5bcb0f2b567cd4526116d6c3fdd31482eb18155b 100644 (file)
@@ -7,8 +7,8 @@
  */
 
 #include <config.h>
-#include <common.h>
 #include <command.h>
+#include <vsprintf.h>
 
 static char *start_addr, *last_addr;
 
index d14c570d96ab090de1158216040d79c77832fc03..0ea08fd7b5356137f6df589525bd7c5c17cbe9b3 100644 (file)
@@ -1,10 +1,10 @@
 // SPDX-License-Identifier: GPL-2.0+
 
-#include <common.h>
 #include <command.h>
 #include <env.h>
 #include <fs.h>
 #include <pxe_utils.h>
+#include <vsprintf.h>
 
 /**
  * struct sysboot_info - useful information for sysboot helpers
index 420965de14362ae154817e9c726bce2438144f9c..41e422fc937d9073a3bf0dad7c3893e116619093 100644 (file)
@@ -5,7 +5,6 @@
  * Written by Robert Marko <robert.marko@sartura.hr>
  */
 
-#include <common.h>
 #include <command.h>
 #include <dm.h>
 #include <thermal.h>
index 9e32a4191e1e8cb0762039bbbdf3f09b44f308b5..369a755e0f5f3a8bd0321ddb6648163259987bbe 100644 (file)
@@ -7,7 +7,6 @@
 /*
  * Boot support
  */
-#include <common.h>
 #include <command.h>
 #include <stdio_dev.h>
 #include <serial.h>
index fa7c48fb9f103bd197e582cc88fa43935fb44e29..b4c3eabf9f604279285e941f82399c5c89a38215 100644 (file)
@@ -4,10 +4,10 @@
  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  */
 
-#include <common.h>
 #include <command.h>
 #include <fs.h>
 #include <log.h>
+#include <vsprintf.h>
 
 #define OP_INVALID     0
 #define OP_NOT         1
index 48e22b31d025cfb436044157e6ae973f319903d9..70061bf8d4cccb4013b1b83310806f2ae197f576 100644 (file)
@@ -6,7 +6,6 @@
  * All rights reserved.
  */
 
-#include <common.h>
 #include <command.h>
 #include <thor.h>
 #include <dfu.h>
index bbd406fc66eca5055c11285439002d126db47336..70ce53d01e874ac3f825b923232b9e94d3381202 100644 (file)
@@ -12,7 +12,6 @@
 #include <asm/arch/hardware.h>
 #include <asm/cache.h>
 #include <asm/emif.h>
-#include <common.h>
 #include <command.h>
 #include <asm/global_data.h>
 
index a0492a5fdee34b51072abf4a63949dc8a13e2ac2..305023af1e7d02babd16ab538ce6fb6a7e6c6e3e 100644 (file)
@@ -5,7 +5,6 @@
  * Copyright (C) 2020 Texas Instruments Incorporated, <www.ti.com>
  */
 
-#include <common.h>
 #include <command.h>
 #include <dm.h>
 #include <k3-dev.h>
index db8c1892df4a437050e39bff6c0f3cc6b29ba444..eee6084e9685ab77fa5d616d73d4e67a7abe25eb 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (c) 2011 The Chromium OS Authors.
  */
 
-#include <common.h>
 #include <command.h>
 
 static void report_time(ulong cycles)
index 551be5dd54eef463f09c9475dda88e373279a383..04fcd84ac6a65a116d113452e491c7a2f1989f74 100644 (file)
@@ -4,8 +4,8 @@
  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  */
 
-#include <common.h>
 #include <command.h>
+#include <time.h>
 
 static int do_timer(struct cmd_tbl *cmdtp, int flag, int argc,
                    char *const argv[])
index 57cfd355df1bbece8f5a7eeae1a1fbb4cacc8054..0aec752177099b30947eb5594f69fa0bfde451f2 100644 (file)
@@ -9,7 +9,6 @@
  * Copyright (C) 2014,2016 david_yang <david_yang@accton.com>
  */
 
-#include <common.h>
 #include <command.h>
 #include <dm.h>
 #include <i2c.h>
index a7dc23d85d5d5e1d4ee350d445afb4aee86ab97d..1cd57f901b6d2b023252ad3b02f823145f421ce8 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (c) 2013 The Chromium OS Authors.
  */
 
-#include <common.h>
 #include <command.h>
 #include <dm.h>
 #include <env.h>
index 1b1efcd204d2724073cfedc43e6617daee4d2dc9..6e019d1c7291b8ef894f749df5937aab742e77ca 100644 (file)
@@ -3,10 +3,10 @@
  * Copyright (c) 2013 The Chromium OS Authors.
  */
 
-#include <common.h>
 #include <command.h>
 #include <env.h>
 #include <malloc.h>
+#include <vsprintf.h>
 #include <asm/unaligned.h>
 #include <tpm-common.h>
 #include <tpm-v1.h>
index 7e479b9dfe36e511196b5a5ed855b9daf82942cc..99c540b26de946e714e071de6efc06135daa3e2f 100644 (file)
@@ -4,7 +4,6 @@
  * Author: Miquel Raynal <miquel.raynal@bootlin.com>
  */
 
-#include <common.h>
 #include <command.h>
 #include <dm.h>
 #include <log.h>
index c7fa6e775f55cf1bacaff5925007c8d5601bb361..9c8b1c74384abeee612d09f1535f72a8abb6aa32 100644 (file)
@@ -3,10 +3,10 @@
  * Copyright (c) 2015 Google, Inc
  */
 
-#include <common.h>
 #include <command.h>
 #include <cpu_func.h>
 #include <log.h>
+#include <time.h>
 #include <tpm-v1.h>
 #include <linux/printk.h>
 #include "tpm-user-utils.h"
index 2e3ee1d3ba23cc2ac8d73a924bb925c5dbb06666..937e6a682add0f1182b7f5edc1d8c91b9bf0f62f 100644 (file)
@@ -3,11 +3,11 @@
  * Copyright (c) 2011 The Chromium OS Authors.
  */
 
-#include <common.h>
 #include <command.h>
 #include <env.h>
 #include <mapmem.h>
 #include <trace.h>
+#include <vsprintf.h>
 #include <asm/io.h>
 
 static int get_args(int argc, char *const argv[], char **buff,
index 0d849d9979e46ed10535cc58295cef375d946532..113b4e673304b6089a1e7f60eed899e9a4663045 100644 (file)
@@ -7,10 +7,10 @@
  * (C) Copyright 2003 Stefan Roese, stefan.roese@esd-electronics.com
  */
 
-#include <common.h>
 #include <command.h>
 #include <log.h>
 #include <malloc.h>
+#include <vsprintf.h>
 #include <asm/io.h>
 #include <pci.h>
 
index 0a6a80bdd1093ea536d957e81e05b8811584691c..8c1b5df057247783e5033625abf8dafe4b9deee4 100644 (file)
--- a/cmd/ubi.c
+++ b/cmd/ubi.c
@@ -11,7 +11,6 @@
  * published by the Free Software Foundation.
  */
 
-#include <common.h>
 #include <command.h>
 #include <env.h>
 #include <exports.h>
index 2a035bc7ae6f334a1957d8351f31cf2e8447e0d8..8fd39032eccf88ebe4da48be19ef44037fe81cd2 100644 (file)
 
 #undef DEBUG
 
-#include <common.h>
 #include <config.h>
 #include <command.h>
 #include <log.h>
 #include <ubifs_uboot.h>
+#include <vsprintf.h>
 
 static int ubifs_initialized;
 static int ubifs_mounted;
index 536bd85b75d8670a1afdc8fa59a35d5d1c9be3c8..6e21fbb1685ceea926427691baa43599753e60f9 100644 (file)
--- a/cmd/ufs.c
+++ b/cmd/ufs.c
@@ -5,9 +5,9 @@
  * Copyright (C) 2019 Texas Instruments Incorporated - https://www.ti.com
  *
  */
-#include <common.h>
 #include <command.h>
 #include <ufs.h>
+#include <vsprintf.h>
 
 static int do_ufs(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[])
 {
index fb3a32d4d5a722ff646d7081e5c8ef680fc9b4fc..d1a712829d014e7d1a338dc2fff112c1941a9b6f 100644 (file)
@@ -3,9 +3,9 @@
  * (C) Copyright 2003 Stefan Roese, stefan.roese@esd-electronics.com
  */
 
-#include <common.h>
 #include <command.h>
 #include <malloc.h>
+#include <vsprintf.h>
 #include <asm/io.h>
 #include <pci.h>
 
index 5f20838e899c65109b22bfdd8b72d86083e1aa3a..fc5200117adc0261b4723c59598c33e9bacf6a09 100644 (file)
@@ -4,9 +4,9 @@
  * FUJITSU COMPUTERTECHNOLOGIES LIMITED. All rights reserved.
  */
 
-#include <common.h>
 #include <command.h>
 #include <env.h>
+#include <vsprintf.h>
 #include <u-boot/lz4.h>
 
 static int do_unlz4(struct cmd_tbl *cmdtp, int flag, int argc,
index bc6cee060432fc6040ba51d51f55ca3879360de7..e7a3f9808b2c51fa1acf18ac1344298977665635 100644 (file)
@@ -4,12 +4,12 @@
  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  */
 
-#include <common.h>
 #include <command.h>
 #include <env.h>
 #include <gzip.h>
 #include <mapmem.h>
 #include <part.h>
+#include <vsprintf.h>
 
 static int do_unzip(struct cmd_tbl *cmdtp, int flag, int argc,
                    char *const argv[])
index 23253f22231c7e65e8bc4369a0d013f9ad0d900f..3a3764a5b8623dbfe42d1620ac11cb7fc8e91079 100644 (file)
--- a/cmd/usb.c
+++ b/cmd/usb.c
@@ -10,7 +10,6 @@
  * project.
  */
 
-#include <common.h>
 #include <blk.h>
 #include <bootstage.h>
 #include <command.h>
index cbdda733533ca53ccccffd457bbb8a6305d261fb..39259a3b09253cb643f26f4f2f98c79745fbff62 100644 (file)
@@ -6,7 +6,6 @@
  * Author: Stefan Agner <stefan.agner@toradex.com>
  */
 
-#include <common.h>
 #include <command.h>
 #include <g_dnl.h>
 #include <sdp.h>
index 751701fe73aff2c579e022bbbc2adbaad9859f11..47e8b70cd103128d0a1f82dcc06e04ee89edeb55 100644 (file)
@@ -6,7 +6,6 @@
  * Copyright (c) 2015, NVIDIA CORPORATION. All rights reserved.
  */
 
-#include <common.h>
 #include <blk.h>
 #include <command.h>
 #include <console.h>
index 0e84b0e97aa45568cd6ca05256348649a68ba38a..423d9e5f8f09bdb17c90f5969a111d5a96bc0f56 100644 (file)
--- a/cmd/vbe.c
+++ b/cmd/vbe.c
@@ -6,7 +6,6 @@
  * Written by Simon Glass <sjg@chromium.org>
  */
 
-#include <common.h>
 #include <bloblist.h>
 #include <bootmeth.h>
 #include <bootstd.h>
index d99a44f19fb378f99e96a656f8410a3e85b64265..53db1a0b6bd187fb1a52bc586f26914ea8fceed5 100644 (file)
@@ -4,7 +4,6 @@
  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  */
 
-#include <common.h>
 #include <command.h>
 #include <display_options.h>
 #include <version_string.h>
index 942f81c1633627bd1fddf40392c3d743d1824f82..91bd6de14dc16afb8c864533e2b088a4edda258f 100644 (file)
@@ -6,7 +6,6 @@
  * Written by Simon Glass <sjg@chromium.org>
  */
 
-#include <common.h>
 #include <command.h>
 #include <dm.h>
 #include <video.h>
index 019e317e75588ff4322e5af32cd9f1a7a2421623..a42a563ab7270729412916dc15231b153a00fcb0 100644 (file)
@@ -4,7 +4,6 @@
  * Copyright (C) 2018, Bin Meng <bmeng.cn@gmail.com>
  */
 
-#include <common.h>
 #include <blk.h>
 #include <command.h>
 #include <dm.h>
index 3209e65f377fb403394b72641e170004ebe36348..e462e786a96e574e8cbaf9e4a661b6e02b9b7bd5 100644 (file)
--- a/cmd/w1.c
+++ b/cmd/w1.c
@@ -4,7 +4,6 @@
  * Microchip Technology, Inc.
  * Eugen Hristev <eugen.hristev@microchip.com>
  */
-#include <common.h>
 #include <command.h>
 #include <dm.h>
 #include <w1.h>
index b9fdf7ad155fae50dbb52817f1d096f5221035b3..c7a06cca181f9daafe28dfba46f935e0dd2c43f7 100644 (file)
--- a/cmd/wdt.c
+++ b/cmd/wdt.c
@@ -5,7 +5,6 @@
  * Copyright (c) 2019 Michael Walle <michael@walle.cc>
  */
 
-#include <common.h>
 #include <command.h>
 #include <dm.h>
 #include <wdt.h>
index f0d634322721065962f630d089e14a31e6887ab1..45d4ae3f719e9bf4c1bc1b0354ca4e9f2528108e 100644 (file)
--- a/cmd/wol.c
+++ b/cmd/wol.c
@@ -7,9 +7,9 @@
 /*
  * Wake-on-LAN support
  */
-#include <common.h>
 #include <command.h>
 #include <net.h>
+#include <vsprintf.h>
 
 #if defined(CONFIG_CMD_WOL)
 void wol_set_timeout(ulong);
index 84822a3e3211bde1d4482ebb31f5eb77ed0b60ae..7ca2e13ae2f8b89b6987608a75c59775a4661993 100644 (file)
@@ -4,7 +4,6 @@
  * Written by Simon Glass <sjg@chromium.org>
  */
 
-#include <common.h>
 #include <asm/cb_sysinfo.h>
 #include <command.h>
 #include <console.h>
index 82e4415b16ebffe2a810eaac2f424b5a52cca700..2620ab8ee0255ce6b97e92a42f4e0cb343aa424d 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2014-2015, Bin Meng <bmeng.cn@gmail.com>
  */
 
-#include <common.h>
 #include <command.h>
 #include <asm/fsp/fsp_support.h>
 #include <asm/global_data.h>
index 04d092dbe7ef4c5a8758d54101db5cbb47573b25..2dd30808bd109096f12146d58dc8b09659de2e57 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2014-2015, Bin Meng <bmeng.cn@gmail.com>
  */
 
-#include <common.h>
 #include <command.h>
 #include <efi.h>
 #include <uuid.h>
index 6ad7a123a4471ce653e90cafc84e4d3b12c9a529..b2afb598c73e6f970121ae332737a957057c9d82 100644 (file)
@@ -3,9 +3,9 @@
  * (C) Copyright 2014 Google, Inc
  */
 
-#include <common.h>
 #include <command.h>
 #include <log.h>
+#include <vsprintf.h>
 #include <asm/msr.h>
 #include <asm/mp.h>
 #include <asm/mtrr.h>
index 0e7eead8d192e992f13b66767a096fe1ba5479ce..1467484df8d0daa90775c640d9e46290379aa45a 100644 (file)
@@ -11,7 +11,6 @@
 /*
  * Multi Image extract
  */
-#include <common.h>
 #include <command.h>
 #include <cpu_func.h>
 #include <env.h>
index 446ac1915ef543a37fb4c99dfa8899dd66aa59f7..8ae05f910cb07143b2ae4a801b1c927342272abc 100644 (file)
--- a/cmd/xxd.c
+++ b/cmd/xxd.c
@@ -4,7 +4,6 @@
  * Roger Knecht <rknecht@pm.de>
  */
 
-#include <common.h>
 #include <command.h>
 #include <display_options.h>
 #include <fs.h>
index 27fbd1be8f750a6285a5dc0ef485f71bf848e6a9..d0724d9bea8fe8e8257d5f79f50e818dd110e720 100644 (file)
@@ -13,7 +13,6 @@
  *  ...
  */
 
-#include <common.h>
 
 #include <config.h>
 #include <command.h>
index 6ef1b56ab10b582a1c158f665719c4aa1b493e1b..2f831532c2e8de6c73b653da1d7804174c6f32e7 100644 (file)
--- a/cmd/zfs.c
+++ b/cmd/zfs.c
@@ -8,7 +8,6 @@
  * made from existing GRUB Sources by Sun, GNU and others.
  */
 
-#include <common.h>
 #include <part.h>
 #include <config.h>
 #include <command.h>
index 08afd62b973d88b505035e8fd8bcd02e9b1e593e..2d25542882291d3315b65204a1aa174ddd0a14e9 100644 (file)
--- a/cmd/zip.c
+++ b/cmd/zip.c
@@ -4,10 +4,10 @@
  * Lei Wen <leiwen@marvell.com>, Marvell Inc.
  */
 
-#include <common.h>
 #include <command.h>
 #include <env.h>
 #include <gzip.h>
+#include <vsprintf.h>
 
 static int do_zip(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[])
 {
index 6f0aeae6bf331afeb7ca0c365e3da078a653092b..898a57bc92bda200840ba480d28cd85eb13a48d8 100644 (file)
@@ -4,13 +4,14 @@
  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  */
 
-#include <common.h>
+#include <config.h>
 #include <autoboot.h>
 #include <bootretry.h>
 #include <cli.h>
 #include <command.h>
 #include <console.h>
 #include <env.h>
+#include <errno.h>
 #include <fdtdec.h>
 #include <hash.h>
 #include <log.h>
index ad06d7a1795deb9b1799abfd9348fcfa4706f776..11d6422b695a7544dc48749c38cfbcf852cffa3e 100644 (file)
@@ -6,7 +6,6 @@
 
 #define LOG_CATEGORY   LOGC_BLOBLIST
 
-#include <common.h>
 #include <bloblist.h>
 #include <display_options.h>
 #include <log.h>
index 039d6d712d05251d8a1d9133b6d3cda92e04ac8d..212ffb3090b202dff40273abe76a892a40cb49da 100644 (file)
@@ -9,7 +9,7 @@
  * Marius Groeger <mgroeger@sysgo.de>
  */
 
-#include <common.h>
+#include <config.h>
 #include <bloblist.h>
 #include <bootstage.h>
 #include <clock_legacy.h>
index f4c385add90c7b92299b6ffe2b1cf321f0f98cae..33c260b404e896c5e1ba86f4259f092dc808dafb 100644 (file)
@@ -1,6 +1,5 @@
 // SPDX-License-Identifier: GPL-2.0+
 
-#include <common.h>
 #include <dm.h>
 #include <init.h>
 #include <sysinfo.h>
index da0b80f24ff07b6ae767704df2a64505edc457a8..c823cd262f16e0d7b038bea3b1f120beb2a1d56e 100644 (file)
@@ -9,7 +9,7 @@
  * Marius Groeger <mgroeger@sysgo.de>
  */
 
-#include <common.h>
+#include <config.h>
 #include <api.h>
 #include <bootstage.h>
 #include <cpu_func.h>
index 0e6d80718fd59b92051fd8b47d9a4a6d74ed1be0..fb6befcbc4a87306eb65aecb4701997d760b3686 100644 (file)
@@ -11,7 +11,6 @@
 
 #define LOG_CATEGORY   LOGC_BOOT
 
-#include <common.h>
 #include <bootstage.h>
 #include <hang.h>
 #include <log.h>
index 934b83f7ec3fd2147f2a49386b09e0e642a74aa8..b2f87e4d939b307b3a0909983f2a7f2a355f81ee 100644 (file)
@@ -5,7 +5,6 @@
  * Copyright (C) 2012 Marek Vasut <marex@denx.de>
  */
 
-#include <common.h>
 #include <cpu_func.h>
 #include <log.h>
 #include <malloc.h>
index 1c33daf1149a85792f0cd6ceaf35de65140c0112..4694a35cd0e0c926b38c7d5ec17eb46048aaf726 100644 (file)
@@ -10,7 +10,6 @@
 
 #define pr_fmt(fmt) "cli: %s: " fmt, __func__
 
-#include <common.h>
 #include <ansi.h>
 #include <bootstage.h>
 #include <cli.h>
index 0ee790877748125007bc77ea14e363bb15d2cb98..a5ed6eb6fcfa7841b4f54d5125c4e60b804e325e 100644 (file)
@@ -6,8 +6,10 @@
  * Copyright 2022 Google LLC
  */
 
-#include <common.h>
 #include <cli.h>
+#include <stdio.h>
+#include <string.h>
+#include <linux/errno.h>
 
 /**
  * enum cli_esc_state_t - indicates what to do with an escape character
index 9cda97f30e3c7fb241bf74b12b49f54f4565e0fc..96a98209b9d292b57d6339b89b523af7d8c064e9 100644 (file)
@@ -75,7 +75,6 @@
 
 #define __U_BOOT__
 #ifdef __U_BOOT__
-#include <common.h>         /* readline */
 #include <env.h>
 #include <malloc.h>         /* malloc, free, realloc*/
 #include <linux/ctype.h>    /* isalpha, isdigit */
index cf4339d0e509e95d3b78c9d88ebf013c0ba0defc..4cb82b40149a9888fb881d0fb8b5bae39cc3dec7 100644 (file)
@@ -8,7 +8,6 @@
  * JinHua Luo, GuangDong Linux Center, <luo.jinhua@gd-linux.com>
  */
 
-#include <common.h>
 #include <bootretry.h>
 #include <cli.h>
 #include <command.h>
@@ -16,6 +15,7 @@
 #include <malloc.h>
 #include <time.h>
 #include <watchdog.h>
+#include <linux/errno.h>
 #include <asm/global_data.h>
 
 DECLARE_GLOBAL_DATA_PTR;
index f89ba92d1b05c50bfa01a52498de5b7a5558e1c9..266c444334ebfb23e8ce180986a7af8a7594fa94 100644 (file)
@@ -8,7 +8,6 @@
  * JinHua Luo, GuangDong Linux Center, <luo.jinhua@gd-linux.com>
  */
 
-#include <common.h>
 #include <bootretry.h>
 #include <cli.h>
 #include <command.h>
index af8ffdba8f8ce1a5cfa9c50bac58a6840e73b8d3..3f691399cbee5aea2afc407d609ebc1a3175f31a 100644 (file)
@@ -8,7 +8,7 @@
  *  Command Processor Table
  */
 
-#include <common.h>
+#include <config.h>
 #include <compiler.h>
 #include <command.h>
 #include <console.h>
@@ -16,6 +16,7 @@
 #include <image.h>
 #include <log.h>
 #include <mapmem.h>
+#include <time.h>
 #include <asm/global_data.h>
 #include <linux/ctype.h>
 
index aa3053bc441405d177adaaf456a8265054ed038e..63f78004fdbc95f9453f42ca1cf063747e0c1ab8 100644 (file)
@@ -4,7 +4,6 @@
  * Paolo Scaffardi, AIRVENT SAM s.p.a - RIMINI(ITALY), arsenio@tin.it
  */
 
-#include <common.h>
 #include <console.h>
 #include <debug_uart.h>
 #include <display_options.h>
index 249d1f19411ef56305da9cd65777a51d24f1a623..9ccc8fa16cdb616c49e673fab812b6fdc7711964 100644 (file)
@@ -8,7 +8,6 @@
  * Software Foundation.
  */
 
-#include <common.h>
 #include <cros_ec.h>
 #include <dm.h>
 #include <errno.h>
index 58dc9b3781b7ca93eb2e5d51908a440dfc01c817..2f6eb99bf0cfbf4259b1c34b0e662ee024a48fb0 100644 (file)
@@ -3,8 +3,8 @@
  * Copyright 2008-2014 Freescale Semiconductor, Inc.
  */
 
-#include <common.h>
 #include <ddr_spd.h>
+#include <stdio.h>
 
 /* used for ddr1 and ddr2 spd */
 static int
index 0d154e8d4c482a0f48dcf311cbef17eacfade4b8..1af8194139c336389d9a331e8873022d13ef1ab4 100644 (file)
@@ -10,7 +10,6 @@
  *         Lukasz Majewski <l.majewski@samsung.com>
  */
 
-#include <common.h>
 #include <command.h>
 #include <log.h>
 #include <watchdog.h>
index a0616217d4953599b953a6571935f257e66b6d17..9549c59f3585f44bbdb0f57dceae522b03881f7b 100644 (file)
@@ -12,7 +12,6 @@
 #define DEBUG
 #endif
 
-#include <common.h>
 #include <log.h>
 #include <asm/global_data.h>
 
index 556c4e3434b609711ae7f5e6e83f2fcd54b57633..865ba9daa78a8681ea685d1eb73f0d1fc13ce82b 100644 (file)
@@ -9,7 +9,6 @@
  * Copyright (C) Nalin Dahyabhai <bigfun@pobox.com>
  */
 
-#include <common.h>
 #include <edid.h>
 #include <errno.h>
 #include <fdtdec.h>
index f56eebe679f78c94b1e0e36809ed858242c3d017..3bacb1ae7eb79a20d94714ffdc20348c46de0356 100644 (file)
@@ -6,7 +6,8 @@
  *         Igor Grinberg <grinberg@compulab.co.il>
  */
 
-#include <common.h>
+#include <stdio.h>
+#include <vsprintf.h>
 #include <linux/string.h>
 #include <eeprom_field.h>
 
index 5a9be1da061fe72c378a5692081fc1950fc4dd52..1a425c1754d4ab881ecca97b722d247f10ca77c8 100644 (file)
@@ -6,8 +6,8 @@
  *         Igor Grinberg <grinberg@compulab.co.il>
  */
 
-#include <common.h>
 #include <linux/kernel.h>
+#include <linux/string.h>
 #include <eeprom_layout.h>
 #include <eeprom_field.h>
 
index 16c2ba6cc92112907cb97b97331bac2a8c8a9ac2..dda569d447851f559a83f98fb7b1f3543156eab5 100644 (file)
@@ -9,13 +9,13 @@
 
 #define LOG_CATEGORY   LOGC_EVENT
 
-#include <common.h>
 #include <event.h>
 #include <event_internal.h>
 #include <log.h>
 #include <linker_lists.h>
 #include <malloc.h>
 #include <asm/global_data.h>
+#include <linux/errno.h>
 #include <linux/list.h>
 #include <relocate.h>
 
index 20d8b759bc25da2c583f360ce1fa8af973bda3c6..48b084c3861377b5cdd9ed5232863e45f078f6eb 100644 (file)
@@ -1,4 +1,3 @@
-#include <common.h>
 #include <command.h>
 #include <exports.h>
 #include <malloc.h>
index 848f44e59dfdb349dec436e1f1176b5303633814..24ddc8bee72423bd1a6e3c5d3062757fec22aa54 100644 (file)
@@ -6,10 +6,10 @@
 
 /* #define DEBUG */
 
-#include <common.h>
 #include <flash.h>
 #include <log.h>
 #include <uuid.h>
+#include <linux/string.h>
 
 #include <mtd/cfi_flash.h>
 
index 3d6b84de4738223ebb83048dd394b422f7157b94..ac63803fed95b553a015f2fd65dd0c7c644e2cb4 100644 (file)
@@ -10,7 +10,6 @@
  */
 
 #ifndef USE_HOSTCC
-#include <common.h>
 #include <command.h>
 #include <env.h>
 #include <log.h>
index cac0b6348f469aa1bb0fdd13ca1a38dfe5c596bd..afaa6cb37ab4252a3ebf9bddf9f50d08b46802d6 100644 (file)
@@ -10,7 +10,6 @@
 
 #ifndef HWCONFIG_TEST
 #include <config.h>
-#include <common.h>
 #include <env.h>
 #include <exports.h>
 #include <hwconfig.h>
index ed2365daa35e3acb49c21b9f85dc6be48a90b588..a06ec1caa2ca55d5f83742a981cb49c7a24ee122 100644 (file)
@@ -6,7 +6,7 @@
  * Written by Simon Glass <sjg@chromium.org>
  */
 
-#include <common.h>
+#include <config.h>
 #include <bootstage.h>
 #include <init.h>
 #include <asm/global_data.h>
index d0be1bb17a2cfe5800fc9ae920287b3593fbcd2b..a7cd065fb385cb05089d059038dd987e5e83fd23 100644 (file)
@@ -5,7 +5,6 @@
  * Copyright 2018 Google, Inc
  */
 
-#include <common.h>
 #include <handoff.h>
 #include <asm/global_data.h>
 
index c428f7110a7a790d5d8c95a05a604c721fdba7a0..1224c15eb718b5e78f625f57274000114d85c7de 100644 (file)
@@ -4,7 +4,6 @@
  * Gary Jennejohn, DENX Software Engineering GmbH, garyj@denx.de.
  */
 
-#include <common.h>
 #include <console.h>
 #include <serial.h>
 #include <malloc.h>
index 63d0cca3a00434b22616da06d80c6946211acb27..a0a5613bd9b345e1fd5f192865fd01b3f4b7c733 100644 (file)
@@ -5,7 +5,6 @@
 
 #define IOTRACE_IMPL
 
-#include <common.h>
 #include <mapmem.h>
 #include <time.h>
 #include <asm/global_data.h>
index 13344e634b9910d5a6267492496db16e2dae0bb2..49b3897078ae9490295784b1cf625fc847e9722c 100644 (file)
@@ -5,7 +5,6 @@
  * Licensed under the GPL-2 or later.
  */
 
-#include <common.h>
 
 /* We need the weak marking as this symbol is provided specially */
 extern const char system_map[] __attribute__((weak));
index 29b09fcfe56b3cf4d6a69b54dbdc9dd0af648be2..01a09f1762869b95abfdc992ae5c38d3e91e823e 100644 (file)
@@ -87,7 +87,6 @@
  *
  ****************************************************************************/
 
-#include <common.h>
 #include <asm/ptrace.h>
 
 #include <kgdb.h>
index 66aed7cea1c7e268afcbb7274e1c71fa5208c0e8..256d88697d7e5b2d879b94841624f5071e4b0b72 100644 (file)
@@ -7,7 +7,6 @@
  * Licensed under the GPL-2 or later.
  */
 
-#include <common.h>
 #include <cpu_func.h>
 #include <kgdb.h>
 #include <serial.h>
index 42d35f04b689b26d21723d5c7c9bb518366dd9a4..dfee250b158a77f6284de849953702ba8b5cf537 100644 (file)
@@ -6,7 +6,6 @@
  * Written by Simon Glass <sjg@chromium.org>
  */
 
-#include <common.h>
 #include <display_options.h>
 #include <log.h>
 #include <malloc.h>
index bb091ce21a4a616e763406b4f4c8e1a61acd0932..c27101b8fe2237e0e2ef09b58a238fd8792a8c67 100644 (file)
@@ -6,7 +6,6 @@
  * Written by Simon Glass <sjg@chromium.org>
  */
 
-#include <common.h>
 #include <log.h>
 #include <asm/global_data.h>
 
index 53c4def5d1c0f140780061d4f386342801602f16..d01bb749c22d88c676902b0d0c4437975e114524 100644 (file)
@@ -5,7 +5,6 @@
  * Copyright (c) 2020, Heinrich Schuchardt <xypron.glpk@gmx.de>
  */
 
-#include <common.h>
 #include <log.h>
 #include <net.h>
 #include <asm/global_data.h>
index 82d3aafa53c916229a206e84d053b44d53963257..b0b6e74f5d3d385df0be498240d9001dfa2c5136 100644 (file)
@@ -6,7 +6,6 @@
 
 /* #define     DEBUG   */
 
-#include <common.h>
 #include <autoboot.h>
 #include <button.h>
 #include <bootstage.h>
index 0a004d40e1ec80ae9e7b5d61c4f8d831462083d8..4e6d7952b3ca9711113a5c9f5d14c1bf97aa1e8c 100644 (file)
@@ -7,7 +7,6 @@
 
 #define LOG_CATEGORY LOGC_ALLOC
 
-#include <common.h>
 #include <log.h>
 #include <malloc.h>
 #include <mapmem.h>
index d646df8b04cb6f5d2e26c84e6d6b34d84ad14f66..86109579c95402f2e2230971973700c87c2d1d94 100644 (file)
@@ -4,7 +4,7 @@
  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  */
 
-#include <common.h>
+#include <config.h>
 #include <init.h>
 #include <asm/global_data.h>
 #include <cpu_func.h>
index b55cf7b9996795d95283ef493ee708cd2c52965f..e48424995b649561b9d346299dea3c9e97f3342f 100644 (file)
@@ -5,7 +5,6 @@
  */
 
 #include <ansi.h>
-#include <common.h>
 #include <cli.h>
 #include <malloc.h>
 #include <errno.h>
index 194c84e7e89d1c2515e6dec34ca55283ec9801fe..9b8744e5d8bfd96eb139d48cac6f91822a5d3b15 100644 (file)
@@ -9,7 +9,6 @@
  * channel.
  */
 
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <miiphy.h>
index 2b7651fcffca011c4f272baf8319dae75c22f99e..486dd93abd41f9b33cb5de625b7bcf5d2dbe5f71 100644 (file)
@@ -4,7 +4,6 @@
  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  */
 
-#include <common.h>
 #include <s_record.h>
 
 static int hex1_bin (char  c);
index 09ef7b5ba3dcbe9620fb049ad43cdff66e5a6dfd..54b1bd54b6044f8384c7be92f16d99e065fbef4a 100644 (file)
@@ -4,10 +4,11 @@
  *
  */
 
-#include <common.h>
 #include <scp03.h>
 #include <tee.h>
 #include <tee/optee_ta_scp03.h>
+#include <linux/errno.h>
+#include <linux/string.h>
 
 static int scp03_enable(bool provision)
 {
index e06bc75d36b29921d55f5e6bc6e22dc4ee9e1b70..9a879e9fb102085071bfe0b166e704becc355e1f 100644 (file)
@@ -6,7 +6,7 @@
  * Aneesh V <aneesh@ti.com>
  */
 
-#include <common.h>
+#include <config.h>
 #include <bloblist.h>
 #include <binman_sym.h>
 #include <bootstage.h>
@@ -23,7 +23,6 @@
 #include <system-constants.h>
 #include <asm/global_data.h>
 #include <asm-generic/gpio.h>
-#include <asm/u-boot.h>
 #include <nand.h>
 #include <fat.h>
 #include <u-boot/crc.h>
index 3bdd013a35fe138e43cf4d2bf8bfd27f6ceb0c87..0b1c981a105d207196a85d3ce3c1c1c3ce3e3a2f 100644 (file)
@@ -9,7 +9,6 @@
  * Copyright (C) 2017 Theobroma Systems Design und Consulting GmbH
  */
 
-#include <common.h>
 #include <atf_common.h>
 #include <cpu_func.h>
 #include <errno.h>
index 04eac6f306bdda08113d04cd220473c61149094e..bc551c5c074cffc9f7bafddbea9da3b1cc07ad13 100644 (file)
@@ -5,7 +5,6 @@
  *
  */
 
-#include <common.h>
 #include <spl.h>
 #include <spl_load.h>
 #include <image.h>
index 0eefd39a51985247727bbcd579fb24c557a6c03a..e172a2d7b83c0811a2abe558380fc25a32208e2f 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2017 Theobroma Systems Design und Consulting GmH
  */
 
-#include <common.h>
 #include <spl.h>
 
 __weak int board_return_to_bootrom(struct spl_image_info *spl_image,
index 8a779da8fa1e08220c98ee5a417237ba5dfbb69a..e9f381c392cd785c5675e7563d4b250c44c5e088 100644 (file)
@@ -5,7 +5,6 @@
  *
  * Ravi B <ravibabu@ti.com>
  */
-#include <common.h>
 #include <env.h>
 #include <spl.h>
 #include <linux/compiler.h>
index 2be6f04b02c5e6b2573a5556483dfc8dc094d657..76f49a5a8a6acbddbfcd96f139fd521a03921a05 100644 (file)
@@ -1,11 +1,9 @@
 // SPDX-License-Identifier: GPL-2.0+
 
-#include <common.h>
 #include <env.h>
 #include <part.h>
 #include <spl.h>
 #include <spl_load.h>
-#include <asm/u-boot.h>
 #include <ext4fs.h>
 #include <errno.h>
 #include <image.h>
index a52f9e178e664813f0109305ab6e2bfa1ccf7631..bd8aab253a9895aab6898734ca11068a79e4059b 100644 (file)
@@ -8,12 +8,10 @@
  * FAT Image Functions copied from spl_mmc.c
  */
 
-#include <common.h>
 #include <env.h>
 #include <log.h>
 #include <spl.h>
 #include <spl_load.h>
-#include <asm/u-boot.h>
 #include <fat.h>
 #include <errno.h>
 #include <image.h>
index e5195d460c490960ab35428dda64e112b0048a0e..988125be008d56d68fd1ac7da5c1d36ca07db406 100644 (file)
@@ -4,7 +4,6 @@
  * Written by Simon Glass <sjg@chromium.org>
  */
 
-#include <common.h>
 #include <errno.h>
 #include <fpga.h>
 #include <gzip.h>
index b4ea9241d68595c7e852c7eb0fbb49c9e251ee44..2c31777fcd3af2bc5c738f492a465df280197933 100644 (file)
@@ -4,7 +4,6 @@
  */
 
 #define LOG_CATEGORY LOGC_ARCH
-#include <common.h>
 #include <stdlib.h>
 #include <errno.h>
 #include <imx_container.h>
index 08687ca8f6c49b9e9a03d9da4d9eaa01c74c4d9c..a77893455f256d5b485f692b9150f4cef1e18aaf 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2020 Stefan Roese <sr@denx.de>
  */
 
-#include <common.h>
 #include <image.h>
 #include <log.h>
 #include <malloc.h>
index 3d032bb27ce3ff89dff674498eaa48098cf6d9cf..ccab0be4be23d4d5ab83bc72fc7e2828e0c3b4d7 100644 (file)
@@ -5,7 +5,6 @@
  *
  * Aneesh V <aneesh@ti.com>
  */
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <part.h>
@@ -13,7 +12,6 @@
 #include <spl_load.h>
 #include <linux/compiler.h>
 #include <errno.h>
-#include <asm/u-boot.h>
 #include <errno.h>
 #include <mmc.h>
 #include <image.h>
index 3b0a15242389e43d303d1338f9491e4c30dac3a4..5631fa6d5635044b33e2a4748d4bbeb5ed4c42fd 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2011
  * Corscience GmbH & Co. KG - Simon Schwarz <schwarz@corscience.de>
  */
-#include <common.h>
 #include <config.h>
 #include <fdt_support.h>
 #include <image.h>
index 898f9df705a29996da45c7575695dc49be137284..be7278bb93344d756135fdf6f38919bb557fa9ae 100644 (file)
@@ -6,7 +6,6 @@
  * (C) Copyright 2012
  * Ilya Yanok <ilya.yanok@gmail.com>
  */
-#include <common.h>
 #include <env.h>
 #include <errno.h>
 #include <image.h>
index 70745114efedf438f422db688297d34388641fce..ed76b5e1293b574b9598c401317c9a56a317843e 100644 (file)
@@ -3,7 +3,7 @@
  * Copyright (C) 2012 Stefan Roese <sr@denx.de>
  */
 
-#include <common.h>
+#include <config.h>
 #include <image.h>
 #include <imx_container.h>
 #include <log.h>
index c8774d67ecf132ae7bf81c9d5cacea47995a5be4..0e15a3c7545a3d7104de8ddb6a03abb72068fcf1 100644 (file)
@@ -5,7 +5,6 @@
  *
  */
 
-#include <common.h>
 #include <spl.h>
 #include <nvme.h>
 
index 53a8c6de89eb0f90bf26e7d0152b667e10e78c03..f6f65286c21670c887b4aa27e69b1da7efe6d8dc 100644 (file)
@@ -7,7 +7,6 @@
  * Copyright (C) 2011
  * Corscience GmbH & Co. KG - Simon Schwarz <schwarz@corscience.de>
  */
-#include <common.h>
 #include <config.h>
 #include <image.h>
 #include <log.h>
index ec62aab929b9ccd7c9041785f98226e0dbf9fbf1..5a26d7c31a43b24baf27cb7701973851bb61d77b 100644 (file)
@@ -5,7 +5,6 @@
  *
  * Based on common/spl/spl_atf.c
  */
-#include <common.h>
 #include <cpu_func.h>
 #include <errno.h>
 #include <hang.h>
index 8aeda237be13cc46fb970d0ddc0993327956d543..5a23841f6981589344499bfdbd98611904379f31 100644 (file)
@@ -9,7 +9,6 @@
  * Michal Simek <michal.simek@amd.com>
  * Stefan Agner <stefan.agner@toradex.com>
  */
-#include <common.h>
 #include <binman_sym.h>
 #include <image.h>
 #include <log.h>
index 32746ce9f3cf70de6ad201a146ff93d3c97ce704..67fc620d9bea91d330b1dbbb1f9fc5269c387ced 100644 (file)
@@ -8,9 +8,7 @@
  * Derived work from spl_usb.c
  */
 
-#include <common.h>
 #include <spl.h>
-#include <asm/u-boot.h>
 #include <sata.h>
 #include <scsi.h>
 #include <errno.h>
index 9143c27bbf1d9028fcee587de8272fe9cb4a06cb..9ca80bd534f8ba5bad46d6df5e5c1664af6b6a33 100644 (file)
@@ -4,7 +4,6 @@
  * Author: Stefan Agner <stefan.agner@toradex.com>
  */
 
-#include <common.h>
 #include <log.h>
 #include <spl.h>
 #include <usb.h>
index 941fa911040ea31b6439a8564149e3e7c04131b2..2047248f39b0a3f608f7b33329f186508ea62c1e 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2022 Sean Anderson <sean.anderson@seco.com>
  */
 
-#include <common.h>
 #include <image.h>
 #include <log.h>
 #include <semihosting.h>
index 89de73c726cd294db3922bf1173b0ab677306e2b..8ab4803f7c4bf5f1a34535d3e5409fc52d6c8668 100644 (file)
@@ -8,7 +8,7 @@
  * Heiko Schocher, DENX Software Engineering, hs@denx.de.
  */
 
-#include <common.h>
+#include <config.h>
 #include <image.h>
 #include <imx_container.h>
 #include <log.h>
index d7ab9efd1108c08c42e65f85635c186c6041d489..a8d3f43b452849d2e75fad6ae69317b17624a0c8 100644 (file)
@@ -4,7 +4,6 @@
  * Ladislav Michl <ladis@linux-mips.org>
  */
 
-#include <common.h>
 #include <config.h>
 #include <image.h>
 #include <nand.h>
index 479e2dc1826ecab55946c92293be5ed41dfc246b..932da56ab6db7bd9daa4617041001377c583a44a 100644 (file)
@@ -8,10 +8,8 @@
  * Derived work from spl_mmc.c
  */
 
-#include <common.h>
 #include <log.h>
 #include <spl.h>
-#include <asm/u-boot.h>
 #include <errno.h>
 #include <usb.h>
 #include <fat.h>
index 959915ffa6100e2f52336e104e8dedd8c16537ad..1465c3e46b921652626f5aee8d37b063035e380d 100644 (file)
@@ -4,7 +4,7 @@
  * Author(s): Vikas Manocha, <vikas.manocha@st.com> for STMicroelectronics.
  */
 
-#include <common.h>
+#include <config.h>
 #include <image.h>
 #include <log.h>
 #include <spl.h>
index 1faaa2c938d4ba637a25af552e320a2e3e857f25..4c7222af612dc92d59d85899c46d524923f3182f 100644 (file)
@@ -8,13 +8,11 @@
  *
  * Matt Porter <mporter@ti.com>
  */
-#include <common.h>
 #include <gzip.h>
 #include <image.h>
 #include <log.h>
 #include <spl.h>
 #include <xyzModem.h>
-#include <asm/u-boot.h>
 #include <linux/libfdt.h>
 
 #define BUF_SIZE 1024
index 6820db683bd6cabbd68d45a499390717801c60b0..c5591293634a171be87c2a4ce57741df22e471bb 100644 (file)
  *
  */
 
-#include <common.h>
 #include <display_options.h>
 #include <env.h>
 #include <splash.h>
 #include <video.h>
+#include <vsprintf.h>
+#include <linux/kernel.h>
 
 static struct splash_location default_splash_locations[] = {
        {
index 2ce0768833d9d1f4058fa005728aa21b5b283c58..5b27116044954fb3b7de7184ceb3bca966aae4c1 100644 (file)
@@ -5,7 +5,6 @@
  * Authors: Igor Grinberg <grinberg@compulab.co.il>
  */
 
-#include <common.h>
 #include <bmp_layout.h>
 #include <command.h>
 #include <env.h>
index 6495951a773c5bf71c7d06576034024049692911..4e3297b7d0069860fcad53b1357c886d47934697 100644 (file)
@@ -3,7 +3,6 @@
  *  Copyright 2021 Broadcom
  */
 
-#include <common.h>
 #include <asm/global_data.h>
 
 DECLARE_GLOBAL_DATA_PTR;
index e3354f092dc9f0dc07247e8a87bfa54f426b4e26..a61220ce4b9c606419534cf2178109fbbc138f20 100644 (file)
@@ -9,7 +9,6 @@
  */
 
 #include <config.h>
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <log.h>
index ec302ca68fb0925a590eb1e94f3db67507cb500d..eb0b60a2ce4897053ee2dadfe0e9102587fb2c6d 100644 (file)
@@ -6,7 +6,6 @@
  *             Bartlomiej Sieka <tur@semihalf.com>
  */
 
-#include <common.h>
 #include <cpu_func.h>
 #include <image.h>
 #include <linux/printk.h>
index 99e6b857c74ce281431995f2fd41a4328ed9e6b4..84b10f5c7d8c2b5993827e2aa8c84482684b4a0d 100644 (file)
@@ -25,7 +25,6 @@
  *
  * For each transfer (except "Interrupt") we wait for completion.
  */
-#include <common.h>
 #include <command.h>
 #include <dm.h>
 #include <dm/device_compat.h>
index 2e054eb93537a2e62e9bcc1ec53ac193895d5ba2..807f490bb6094788321f2f9e9f472ecd8eb06501 100644 (file)
@@ -21,7 +21,6 @@
  * Probes device for being a hub and configurate it
  */
 
-#include <common.h>
 #include <command.h>
 #include <dm.h>
 #include <env.h>
@@ -29,6 +28,7 @@
 #include <log.h>
 #include <malloc.h>
 #include <memalign.h>
+#include <time.h>
 #include <asm/processor.h>
 #include <asm/unaligned.h>
 #include <linux/ctype.h>
index 820f591fc5bb5d408be2fdba8868e51cb8d85c8b..f3b4a3c94e6de4f84cc9ee7cf7d95d131e82d94b 100644 (file)
@@ -6,7 +6,6 @@
  * Part of this source has been derived from the Linux USB
  * project.
  */
-#include <common.h>
 #include <console.h>
 #include <dm.h>
 #include <env.h>
@@ -15,6 +14,7 @@
 #include <malloc.h>
 #include <memalign.h>
 #include <stdio_dev.h>
+#include <time.h>
 #include <watchdog.h>
 #include <asm/byteorder.h>
 #ifdef CONFIG_SANDBOX
index 89e18a2ddad66c48b6d5e24fda05d9bcf8c2a284..68a04ac0412b3d1ebe42d795f71fcdad637c5eab 100644 (file)
@@ -7,7 +7,6 @@
  * Mostly inspired by Linux kernel v6.1 onboard_usb_hub driver
  */
 
-#include <common.h>
 #include <dm.h>
 #include <dm/device_compat.h>
 #include <power/regulator.h>
index 774d5bdf54b4be7d56bfe12b5aaf86cc2d5bf248..a79ed2e23a441d6df3759349b040ee20a9212a90 100644 (file)
@@ -32,7 +32,6 @@
  */
 
 
-#include <common.h>
 #include <blk.h>
 #include <bootdev.h>
 #include <command.h>
index fb319f71190735a9fd07dad187deaeb1dca70a71..9feb240de28143d3caa516febbd7a1c3289ebd84 100644 (file)
  *
  *==========================================================================
  */
-#include <common.h>
 #include <xyzModem.h>
 #include <stdarg.h>
+#include <time.h>
 #include <u-boot/crc.h>
 #include <watchdog.h>
 #include <env.h>
+#include <vsprintf.h>
 
 /* Assumption - run xyzModem protocol over the console port */
 
index 9b52f8ad0644c6a149a32be4d8d2de8729917b96..76bb0e53e51731c7cb70d85186bb70433f406a0d 100644 (file)
@@ -38,6 +38,7 @@ CONFIG_SPL_LOAD_FIT_ADDRESS=0x81000000
 CONFIG_BOOTSTD_FULL=y
 CONFIG_BOOTCOMMAND="run mmcboot; bootflow scan -lb"
 CONFIG_DEFAULT_FDT_FILE="oftree"
+CONFIG_BOARD_LATE_INIT=y
 CONFIG_SPL_MAX_SIZE=0x180000
 CONFIG_SPL_BOARD_INIT=y
 CONFIG_SPL_SYS_MALLOC_SIMPLE=y
index efe4bf1f9490ba8e972569a7ac8aa61b25c21de5..ee3cc4407d76bee65bb5b5ef48209ed8ce5c3f89 100644 (file)
@@ -8,7 +8,6 @@
 
 #define LOG_CATEGORY UCLASS_PARTITION
 
-#include <common.h>
 #include <blk.h>
 #include <dm.h>
 #include <log.h>
index 2bee6695828a4a1f5dcf0f6a83d332a16ad2323b..bc932526f906af54e348c1ef31a80b33ca5db105 100644 (file)
@@ -4,7 +4,6 @@
  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  */
 
-#include <common.h>
 #include <blk.h>
 #include <command.h>
 #include <env.h>
index 65e30fea558d5ccbcddc3b167cb62b92f0ade3e1..9b0f2fe749854355470b4034831b66367c5b08de 100644 (file)
@@ -4,12 +4,12 @@
  * Hans-Joerg Frieden, Hyperion Entertainment
  * Hans-JoergF@hyperion-entertainment.com
  */
-#include <common.h>
 #include <command.h>
 #include <env.h>
 #include <ide.h>
 #include "part_amiga.h"
 #include <part.h>
+#include <vsprintf.h>
 
 #undef AMIGA_DEBUG
 
index 567ead7511de747674f89850b3fc18c0c526d0d4..e6b5295e0ec4d70ae494d0cca0b159f1642d6f1f 100644 (file)
  * http://developer.apple.com/techpubs/mac/Devices/Devices-126.html#MARKER-14-92
  */
 
-#include <common.h>
 #include <blk.h>
 #include <command.h>
 #include <ide.h>
 #include <memalign.h>
+#include <vsprintf.h>
 #include <asm/unaligned.h>
 #include <linux/compiler.h>
 #include "part_dos.h"
index 4ce9243ef25cdb3fa66275e49597af092867c0bb..b1a03bd165e07f497df93d66da6acf4415efbd9a 100644 (file)
@@ -12,7 +12,6 @@
 
 #define LOG_CATEGORY LOGC_FS
 
-#include <common.h>
 #include <blk.h>
 #include <log.h>
 #include <part.h>
index 6ac6d95be92171929069098e6e5997772d7b7577..6e05b2feffbab4073c309d56cc24dc14199b0846 100644 (file)
@@ -4,7 +4,6 @@
  * Denis Peter, MPL AG Switzerland, d.peter@mpl.ch.
  */
 
-#include <common.h>
 #include <blk.h>
 #include <command.h>
 #include <part.h>
index db5e203be59257a4bb9d011cbd2fe93efaf45a09..81a65823be9939d72b4441d3e3c462b95e236c21 100644 (file)
@@ -12,7 +12,6 @@
  * http://developer.apple.com/techpubs/mac/Devices/Devices-126.html#MARKER-14-92
  */
 
-#include <common.h>
 #include <command.h>
 #include <log.h>
 #include <memalign.h>
index f6248cdcb1e1d7419da478296aea79155ac4a87d..fa3cd6aec82ee2ee375db99f10ae19081c7c897c 100644 (file)
@@ -110,9 +110,8 @@ Include files
 
 You should follow this ordering in U-Boot. In all cases, they should be listed
 in alphabetical order. First comes headers which are located directly in our
-top-level include diretory. This excludes the common.h header file which is to
-be removed. Second are headers within subdirectories, Finally directory-local
-includes should be listed. See this example:
+top-level include diretory. Second are headers within subdirectories, Finally
+directory-local includes should be listed. See this example:
 
 .. code-block:: C
 
@@ -129,9 +128,6 @@ For files that need to be compiled for the host (e.g. tools), you need to use
 ``#ifndef USE_HOSTCC`` to avoid including U-Boot specific include files. See
 common/image.c for an example.
 
-If you encounter code which still uses <common.h> a patch to remove that and
-replace it with any required include files directly is much appreciated.
-
 If your file uses driver model, include <dm.h> in the C file. Do not include
 dm.h in a header file. Try to use forward declarations (e.g. ``struct
 udevice``) instead.
index bb1145da268bbf5a0d1084b9f62ea7d88f6dcbc5..44b544fa78b46e8a7e7e40dd8c2740c6f34c7d07 100644 (file)
@@ -281,7 +281,6 @@ new one of those, you should add a new suite.
 Create a new file in test/ or a subdirectory and define a macro to register the
 suite. For example::
 
-   #include <common.h>
    #include <console.h>
    #include <mapmem.h>
    #include <dm/test.h>
index 1b35bf22014f9f038c04bd46924e0101c347385f..16600be821c9fc4fdd1488504ae29a7cd004c1ca 100644 (file)
@@ -6,7 +6,6 @@
 
 #define LOG_CATEGORY UCLASS_ADC
 
-#include <common.h>
 #include <errno.h>
 #include <div64.h>
 #include <dm.h>
index 2bda733af90d7334732450e9925e39bec47a63aa..ecc564cd219a6c0fadf7fd1daa8382d7d7bfdf7b 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2015 Samsung Electronics
  * Przemyslaw Marczak <p.marczak@samsung.com>
  */
-#include <common.h>
 #include <errno.h>
 #include <dm.h>
 #include <adc.h>
index 41d04e0426cd943fd51753c11b4210e4d3768f56..f593fb6447b3f28b9a2af9d81bff172000002505 100644 (file)
@@ -6,7 +6,6 @@
  * Originally based on NXP linux-imx kernel v5.15 drivers/iio/adc/imx93_adc.c
  */
 
-#include <common.h>
 #include <errno.h>
 #include <dm.h>
 #include <linux/bitfield.h>
index c15c7fea47fedc114a4f5919921d6e57446affd5..60e348968fb54e5e3172738ae1292182621a948a 100644 (file)
@@ -7,7 +7,6 @@
  * Amlogic Meson Successive Approximation Register (SAR) A/D Converter
  */
 
-#include <common.h>
 #include <adc.h>
 #include <clk.h>
 #include <dm.h>
index 10ded1b088f380265c5b8100f7ed6ff90b60f738..f6832ab30731463546917204863b791c54136a92 100644 (file)
@@ -5,7 +5,6 @@
  * Rockchip SARADC driver for U-Boot
  */
 
-#include <common.h>
 #include <adc.h>
 #include <clk.h>
 #include <dm.h>
index 43cad34ffebf8d67d6e56f71a9bb8040e274ab0e..24d4af63bd9be535d50d38a4afc7427b9f451c16 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2015 Samsung Electronics
  * Przemyslaw Marczak <p.marczak@samsung.com>
  */
-#include <common.h>
 #include <errno.h>
 #include <dm.h>
 #include <adc.h>
index 6c176961f17ae6007f67f26e6762d8dec92afee4..af340b8b273b0c13fea29b8817dc896576111a7a 100644 (file)
@@ -6,7 +6,6 @@
  * Originally based on the Linux kernel v4.18 drivers/iio/adc/stm32-adc-core.c.
  */
 
-#include <common.h>
 #include <dm.h>
 #include <asm/io.h>
 #include <dm/device_compat.h>
index 1fba707c6f7dac054a0ae843d1990e97d8acbc0d..d50f00f1233e07cfdf8f9e2b26137b3bb7b4b408 100644 (file)
@@ -6,7 +6,6 @@
  * Originally based on the Linux kernel v4.18 drivers/iio/adc/stm32-adc.c.
  */
 
-#include <common.h>
 #include <adc.h>
 #include <dm.h>
 #include <asm/io.h>
index 5356b9d83d34be1d7b0d35664b7a369e8e120cca..f2102aaa6353da03719bc8c4fb7c9d921d2095d1 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2017, Bin Meng <bmeng.cn@gmail.com>
  */
 
-#include <common.h>
 #include <ahci.h>
 #include <scsi.h>
 #include <dm.h>
index d398b50b9a1e781629e7e75affedcbee5cd2d523..7affb3f1ec7954cf36a86b45c26b378d6d8d5c79 100644 (file)
@@ -6,7 +6,6 @@
 
 #define LOG_CATEGORY UCLASS_AHCI
 
-#include <common.h>
 #include <ahci.h>
 #include <dm.h>
 
index 04ddc3394648e38229d97a3dd05f2aafe01019a6..ac869296d525125343e1bd245ee701f4af3f836a 100644 (file)
@@ -8,10 +8,10 @@
  *
  * This driver provides a SCSI interface to SATA.
  */
-#include <common.h>
 #include <blk.h>
 #include <cpu_func.h>
 #include <log.h>
+#include <time.h>
 #include <linux/bitops.h>
 #include <linux/delay.h>
 
index f05150d61ddf4ff5d4c70c53995aeb0caa072cb1..f6e2d6bee45be35845a87256ab58356e0948bc7c 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2016 Stefan Roese <sr@denx.de>
  */
 
-#include <common.h>
 #include <ahci.h>
 #include <dm.h>
 #include <log.h>
index 9064774e6614d7915b6ab4906ac29b823bad664f..6cf5cee055e7c20668a8310ebaeac9ac0183b2a4 100644 (file)
@@ -1,4 +1,3 @@
-#include <common.h>
 #include <ahci.h>
 #include <dm.h>
 #include <log.h>
index 15fd3e365b2bf969070114ec3854d7b4415a834c..b480cde4465b7b7d661e2c4a8b9f33d4c48c218b 100644 (file)
@@ -8,7 +8,6 @@
  * Author: Mugunthan V N <mugunthanvnm@ti.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <ahci.h>
 #include <scsi.h>
index b4d4e39c9b3bf00d1cc03fe7f8b0e0ce91d7d7e8..a29d641343edf280165923a500174a6b38424df1 100644 (file)
@@ -4,7 +4,6 @@
  * Terry Lv <r65388@freescale.com>
  */
 
-#include <common.h>
 #include <ahci.h>
 #include <blk.h>
 #include <cpu_func.h>
index 969bc191f8e8dd992a9c126e38bdf8ba073ed2ff..4990148388b62a2a97a30df0f910ac18186ca2ac 100644 (file)
@@ -5,7 +5,6 @@
  * Author: Dave Liu <daveliu@freescale.com>
  */
 
-#include <common.h>
 #include <ahci.h>
 #include <blk.h>
 #include <command.h>
index 47e2c5c1cc402750e0854fd80dd2077a4804a62b..ef659cb1728a0a985227335a53ccbe23836dedd9 100644 (file)
@@ -5,9 +5,9 @@
  *             port from the libata of linux kernel
  */
 
-#include <common.h>
 #include <compiler.h>
 #include <libata.h>
+#include <stdio.h>
 
 u64 ata_id_n_sectors(u16 *id)
 {
index 2c5227df306bcad86286a20d3062221d397325ae..53aabee0a5e6a992691645c86e8d827317806c46 100644 (file)
@@ -8,7 +8,6 @@
  * Author: Frank Wunderlich <frank-w@public-files.de>
  */
 
-#include <common.h>
 #include <ahci.h>
 #include <asm/global_data.h>
 #include <asm/io.h>
index 784d9bbeacb47985d9727f47e4d84726715f9487..84437d3d346b4f261f000f3f578a382c6e477699 100644 (file)
@@ -9,7 +9,6 @@
  *             Dave Liu <daveliu@freescale.com>
  */
 
-#include <common.h>
 #include <ahci.h>
 #include <blk.h>
 #include <dm.h>
index f638493ce04ff8e56e80f506cbc6e9b08c55715f..a5ca6f6fd5bb7a55d3d2956973daab9322fbfbae 100644 (file)
@@ -5,7 +5,6 @@
  * Copyright 2023 Tony Dinh <mibodhi@gmail.com>
  */
 
-#include <common.h>
 #include <ahci.h>
 #include <bootdev.h>
 #include <dm.h>
index 7769d4f99efdffc364567a48996a7ee3257e68ff..a81b3165992a922ffbe749982c7e2a459f863486 100644 (file)
@@ -3,7 +3,6 @@
  * (C) Copyright 2015 - 2016 Xilinx, Inc.
  * Michal Simek <michal.simek@amd.com>
  */
-#include <common.h>
 #include <dm.h>
 #include <ahci.h>
 #include <generic-phy.h>
index 94d7369351a32ae398c2d62ac06bc03f9f28498d..ac78760a33ebabc65e1d97c2e1653c70d3cbd1f6 100644 (file)
@@ -31,7 +31,6 @@
  * No port multiplier support
  */
 
-#include <common.h>
 #include <ahci.h>
 #include <blk.h>
 #include <bootdev.h>
@@ -46,6 +45,7 @@
 #include <libata.h>
 #include <malloc.h>
 #include <sata.h>
+#include <time.h>
 #include <linux/bitops.h>
 #include <linux/delay.h>
 #include <linux/errno.h>
index 43a91a79120a399f06ee87e698b497c1cb664c14..5b80f6249d767e3e22bb1aec94f399ca57a0c253 100644 (file)
@@ -5,7 +5,6 @@
  * Author: Tang Yuantian <b29983@freescale.com>
  */
 
-#include <common.h>
 #include <blk.h>
 #include <cpu_func.h>
 #include <dm.h>
index e6f3ef0720055236bac144b8e7227581c21a50b2..bea0b040738c3d87181af02409e5c9d808035f5c 100644 (file)
@@ -6,7 +6,6 @@
 
 #define LOG_CATEGORY UCLASS_AXI_EMUL
 
-#include <common.h>
 #include <axi.h>
 #include <dm.h>
 #include <log.h>
index 41551ae85c9cdad48442cf2bdae7d167d854a899..fa2475cbaf4e34bec018eebc59631fb97b51a87d 100644 (file)
@@ -6,7 +6,6 @@
 
 #define LOG_CATEGORY UCLASS_AXI
 
-#include <common.h>
 #include <dm.h>
 #include <axi.h>
 
index b91c91f6b3b6368d2645d59cc400c35748470c37..6f698a405f92734eab575f8d0894d824bcc42910 100644 (file)
@@ -4,7 +4,6 @@
  * Mario Six, Guntermann & Drunck GmbH, mario.six@gdsys.cc
  */
 
-#include <common.h>
 #include <axi.h>
 #include <dm.h>
 #include <asm/axi.h>
index a7e9761fbfc2bcee2b31c2c3fe725696ec221033..a37dd1e1786769c5962641b864fd9d6cc27a43b1 100644 (file)
@@ -7,7 +7,6 @@
  * Mario Six,  Guntermann & Drunck GmbH, mario.six@gdsys.cc
  */
 
-#include <common.h>
 #include <axi.h>
 #include <dm.h>
 #include <log.h>
index ef349a50b7981736912b38b9966e0138bd6b584b..b9413c758f7b62714a8ea0e0dbb249e13770302d 100644 (file)
@@ -4,7 +4,6 @@
  * Mario Six, Guntermann & Drunck GmbH, mario.six@gdsys.cc
  */
 
-#include <common.h>
 #include <axi.h>
 #include <dm.h>
 #include <log.h>
index 7ebead6bfad6155a82eb9afb067f2555b5e7db30..d544ffb5ffb6483c16fb33681350477f81b85cf1 100644 (file)
@@ -45,7 +45,6 @@
 *              Jason ported this file to u-boot to run the ATI video card
 *              BIOS in u-boot.
 ****************************************************************************/
-#include <common.h>
 #include <compiler.h>
 #include <bios_emul.h>
 #include <errno.h>
index 02c4286a854c11adf16040c7c90e06dda0efe857..690fb5a4d7b304f85e7410ad0428e70352dd3ddb 100644 (file)
@@ -48,7 +48,6 @@
 ****************************************************************************/
 
 #define __io
-#include <common.h>
 #include <asm/io.h>
 #include "biosemui.h"
 
index 9596a1fdd3e0081790fe7cabce1024f364f39c91..7f883daf8f0665e90f05297e1c415a1e6f5eec7e 100644 (file)
@@ -42,7 +42,6 @@
 ****************************************************************************/
 
 #define __io
-#include <common.h>
 #include <asm/io.h>
 #include "biosemui.h"
 
index 82befbae66f7b54b4fa23e86bf8f57635d61501e..ba4328474ce2d8f30e8a53fd051561323a441969 100644 (file)
@@ -46,7 +46,6 @@
 ****************************************************************************/
 
 #include <malloc.h>
-#include <common.h>
 #include "biosemui.h"
 
 BE_sysEnv _BE_env = {{0}};
index 95f3cc09aad58918403d42bdc0a9d670ae38c13b..b426dc3bc45e128aff39ab8a3606c8b114858424 100644 (file)
@@ -38,7 +38,6 @@
 ****************************************************************************/
 
 #include <stdarg.h>
-#include <common.h>
 #include <linux/ctype.h>
 #include <linux/printk.h>
 #include "x86emu/x86emui.h"
index e2028eaf08339c712940dfad8cc36de6cad1e069..7e188d58a52c5f819604bf23f44f340cda3fa01a 100644 (file)
@@ -36,7 +36,6 @@
 *              instruction decoding and accessess of immediate data via IP.  etc.
 *
 ****************************************************************************/
-#include <common.h>
 #include <linux/printk.h>
 #include "x86emu/x86emui.h"
 
index 8c1a146165c98b103c011ef2d877858e140b1511..57422ec3d473aae195de9d44700db1456179a017 100644 (file)
@@ -72,7 +72,6 @@
 *
 ****************************************************************************/
 
-#include <common.h>
 #include <linux/printk.h>
 #include "x86emu/x86emui.h"
 
index 6cd1ac3982527a4cb8355a8214cd503a4d92129f..32fecb3479131e7e67027c51b432dedb58683974 100644 (file)
@@ -41,7 +41,6 @@
 *
 ****************************************************************************/
 
-#include <common.h>
 #include <linux/compiler.h>
 #include <linux/printk.h>
 #include "x86emu/x86emui.h"
index 5f6c795fb7ffc8f45334eac7dca5cca2a916ae10..b3cccb17f202203eb802b831fadb97b211acad5e 100644 (file)
@@ -97,7 +97,6 @@
 *
 ****************************************************************************/
 
-#include <common.h>
 
 #define PRIM_OPS_NO_REDEFINE_ASM
 #include "x86emu/x86emui.h"
index f96652415cd371b05fbd589bab1447083a5fc74c..483ecd52efe3dc34f4d7e23d87b98881bc39c0f9 100644 (file)
@@ -39,7 +39,6 @@
 *
 ****************************************************************************/
 
-#include <common.h>
 #include <linux/printk.h>
 #include "x86emu/x86emui.h"
 
index 77066da352a37b1dd831eedb4c0fe32a5ef6dc54..512c952f4d7af7becdda51a7dd4b86e1cc46abc5 100644 (file)
@@ -6,7 +6,6 @@
 
 #define LOG_CATEGORY UCLASS_BLK
 
-#include <common.h>
 #include <blk.h>
 #include <dm.h>
 #include <log.h>
index 5bf1d04715243d1e87674d5b8479933fdee1c5b3..f36932183d1f89ee253829f93c91ce0844b5ddea 100644 (file)
@@ -4,7 +4,6 @@
  * Written by Simon Glass <sjg@chromium.org>
  */
 
-#include <common.h>
 #include <blk.h>
 #include <part.h>
 #include <linux/err.h>
index 26bcbea4353307bf81c61b8a25bd45b8192846b8..0e69160249c7f12e7c8484f3c4dec620836c2df4 100644 (file)
@@ -4,7 +4,6 @@
  * Author: Eric Nelson<eric@nelint.com>
  *
  */
-#include <common.h>
 #include <blk.h>
 #include <log.h>
 #include <malloc.h>
index 21201409ed4b22c85c9f788875399a6d10830552..34eed1380dca8aa9640174fd53bd314e8a5ac4b8 100644 (file)
@@ -4,7 +4,6 @@
  * Author: Tobias Waldekranz <tobias@waldekranz.com>
  */
 
-#include <common.h>
 #include <blk.h>
 #include <blkmap.h>
 #include <dm.h>
index e012f6f2f4c4464c22a91633e26cd8da64efe1db..dc5e4f59b7f3c98acca4b88018e367105b4eb8cd 100644 (file)
@@ -5,7 +5,6 @@
  * Copyright 2021 Google LLC
  */
 
-#include <common.h>
 #include <dm.h>
 
 UCLASS_DRIVER(efi_media) = {
index 917a19f6025460be78a5a8c017039f9157674057..9766cd6f832776ac2c1525d786cef7d1ee9e9619 100644 (file)
@@ -8,7 +8,6 @@
  * Copyright 2021 Google LLC
  */
 
-#include <common.h>
 #include <blk.h>
 #include <dm.h>
 #include <efi.h>
index b3647e3ce3359537514d9338709e9bb0e61cc1fd..cf42bd1e07acd3b9d723993b2c018b48c46fd849 100644 (file)
@@ -9,7 +9,6 @@
 
 #define LOG_CATEGORY UCLASS_HOST
 
-#include <common.h>
 #include <blk.h>
 #include <dm.h>
 #include <malloc.h>
index 52313435a0cb84b3b2b3b699506d519db35995be..b3ff3cd1fab921b2ed54cfb0ebcd5095ed41dda9 100644 (file)
@@ -9,7 +9,6 @@
 
 #define LOG_CATEGORY UCLASS_HOST
 
-#include <common.h>
 #include <blk.h>
 #include <bootdev.h>
 #include <dm.h>
index c698f9cbd558ddb82f8f51d8e9cb84b492a3d90e..b16623d7a3ab4f0b6b879e23a2f2a36b56bb4f46 100644 (file)
@@ -6,7 +6,6 @@
 
 #define LOG_CATEGORY UCLASS_IDE
 
-#include <common.h>
 #include <ata.h>
 #include <blk.h>
 #include <bootdev.h>
index be4e02cb601a67d871070dbf2e42daacd5c16761..ec34f1ad8c2e9471723dd6485563b514c3bf546b 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2013 Henrik Nordstrom <henrik@henriknordstrom.net>
  */
 
-#include <common.h>
 #include <blk.h>
 #include <dm.h>
 #include <fdtdec.h>
index 52af155a600109c572ef4936dccc59e65337d7d1..3255db0649611c45f516975e43e76fee202e9d78 100644 (file)
@@ -5,7 +5,6 @@
  * Copyright 2021 Google LLC
  */
 
-#include <common.h>
 #include <dm.h>
 
 static const struct udevice_id sandbox_efi_media_ids[] = {
index 5a369c82f1c5e22d48aa7e498e0d5af38bf12a47..0178c1818e59edbe63412beb2dc3287cec8a65c2 100644 (file)
@@ -5,7 +5,6 @@
 
 #define LOG_CATEGORY UCLASS_BOOTCOUNT
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <bootcount.h>
index c4ab5ceafabdf03828ecd53310a13cfd7a5376a7..1a06db1fb7406792d6519695a2b404326070246f 100644 (file)
@@ -1,6 +1,5 @@
 // SPDX-License-Identifier: GPL-2.0+
 
-#include <common.h>
 #include <asm/io.h>
 #include <asm/arch/hardware.h>
 #include <asm/arch/at91_gpbr.h>
index b75c9002b2c0a7ffb532570a9af13aa637ffcf22..960cd71b9d562cccc35a8c82ada5455a1246862c 100644 (file)
@@ -4,7 +4,6 @@
  * Heiko Schocher, DENX Software Engineering, hs@denx.de.
  */
 
-#include <common.h>
 #include <env.h>
 
 void bootcount_store(ulong a)
index 8cc30cf40eff4a6c2310007c6175b662d40ac39c..33e157b865a113f4f4aadf48f19636093a6c7338 100644 (file)
@@ -4,7 +4,6 @@
  * Heiko Schocher, DENX Software Engineering, hs@denx.de.
  */
 
-#include <common.h>
 #include <cpu_func.h>
 #include <asm/cache.h>
 #include <asm/global_data.h>
index f80d87071d98b0dbf6d612691395954ad13335b3..5dbc13cd5452e9a9a113a737f857b00223c33e2f 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (c) Vaisala Oyj. All rights reserved.
  */
 
-#include <common.h>
 #include <bootcount.h>
 #include <dm.h>
 #include <dm/device_compat.h>
index 709be094b118084e7a340b215516bf23be3e3225..12c430465c981ae1e8764a16cfdb36c28275faa8 100644 (file)
@@ -4,7 +4,6 @@
  * (C) Copyright 2019 GE
  */
 
-#include <common.h>
 #include <bootcount.h>
 #include <dm.h>
 #include <i2c_eeprom.h>
index df046f1b0ab08a719102921b6bb4c66a956facc3..8c529f5592b43e19a41ed48234cf92f2b797cb68 100644 (file)
@@ -8,7 +8,6 @@
  * This works only, if the PMIC is not connected to a battery.
  */
 
-#include <common.h>
 #include <bootcount.h>
 #include <dm.h>
 #include <power/pmic.h>
index 483caaa80df400d11c4796d7ac45d55c96801bb1..b131946aa9d1e00777924d9045e973827b7e82d6 100644 (file)
@@ -3,7 +3,6 @@
  * (C) Copyright 2018 Theobroma Systems Design und Consulting GmbH
  */
 
-#include <common.h>
 #include <bootcount.h>
 #include <dm.h>
 #include <log.h>
index 03050e66613470cedd1d2623c3c75d5e662037c0..155d0323ee78477d2f52ff9785b1ff90d05c523d 100644 (file)
@@ -4,7 +4,6 @@
  * (C) Copyright 2019 GE
  */
 
-#include <common.h>
 #include <bootcount.h>
 #include <dm.h>
 #include <spi_flash.h>
index 265b4cf83b5996c95de41745d2d82721ae6a7b27..d1f6f3bab00f9beef5f79746e8d2ac33aedab6de 100644 (file)
@@ -5,7 +5,6 @@
  * Copyright (C) 2020 Dario Binacchi <dariobin@libero.it>
  */
 
-#include <common.h>
 #include <dm.h>
 
 static const struct udevice_id ti_pwmss_ids[] = {
index 778c0654f6a3bae3f324a1f8c20115ae32ce9748..5f9f0a0d0b7b675b5679ca1bbd74e2bb984b774b 100644 (file)
@@ -5,7 +5,6 @@
  * Copyright (C) 2020 Dario Binacchi <dariobin@libero.it>
  */
 
-#include <common.h>
 #include <clk.h>
 #include <dm.h>
 #include <dm/device_compat.h>
index 9c24c960e6ffc8da6fdf9897150dcb9b69ac87f9..da7ddf2a857778df902a90b9d94ba3addd372c1c 100644 (file)
@@ -5,7 +5,6 @@
  * Author: Marek Szyprowski <m.szyprowski@samsung.com>
  */
 
-#include <common.h>
 #include <adc.h>
 #include <button.h>
 #include <log.h>
index 7b5b3affe2ddab2aea0601053ec4e7aab19d8c1b..43b82d98aeb7f9c26aa113b38b2351dab1a55766 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2020 Philippe Reynes <philippe.reynes@softathome.com>
  */
 
-#include <common.h>
 #include <button.h>
 #include <dm.h>
 #include <dm/lists.h>
index 032191d61abc58a21ca0dfaac0a16262071d124f..cda243389df3b4f728a14c3295a75fd67d6a9624 100644 (file)
@@ -7,7 +7,6 @@
 
 #define LOG_CATEGORY UCLASS_BUTTON
 
-#include <common.h>
 #include <button.h>
 #include <dm.h>
 #include <dm/uclass-internal.h>
index 45d29f2fbd96f33065e96908d18017a5e4dddbf2..7de8f16852dc61676d2d756a6af76db7d9535269 100644 (file)
@@ -4,7 +4,6 @@
  * Rick Chen, Andes Technology Corporation <rick@andestech.com>
  */
 
-#include <common.h>
 #include <command.h>
 #include <cache.h>
 #include <dm.h>
index 560f4c94f1ef89186cba3e093f540ccd36562d4e..c7bdd9d064a59c7a9857b657864fe6ca963ea918 100644 (file)
@@ -2,7 +2,6 @@
 /*
  * Copyright (C) 2019 Intel Corporation <www.intel.com>
  */
-#include <common.h>
 #include <command.h>
 #include <dm.h>
 
index 521df40466f99004bb25c88e88ae43fbfa48d344..cc00b80f60b86562dc4ccd6320c69d387f4c6130 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2021 SiFive
  */
 
-#include <common.h>
 #include <cache.h>
 #include <dm.h>
 #include <asm/io.h>
index 0c13dbdb75c41d15c5504ed83a5e6512e00ecde0..300e7bc86e1a1421f0d2a259f12582067afa96a3 100644 (file)
@@ -5,7 +5,6 @@
 
 #define LOG_CATEGORY UCLASS_CACHE
 
-#include <common.h>
 #include <cache.h>
 #include <dm.h>
 
index 955dfc8a0f844be525c8171455d4780734c445de..2e20b83ab8039540550f1ab45f101cad8140a4e5 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2019 Intel Corporation <www.intel.com>
  */
 
-#include <common.h>
 #include <cache.h>
 #include <dm.h>
 #include <errno.h>
index bda6873be331d3c1f975fa7a8801d65dd4123812..9acbc47fe8edf780e04246197beeeb6179c9b0f9 100644 (file)
@@ -246,6 +246,7 @@ config CLK_ZYNQMP
          This clock driver adds support for clock realted settings for
          ZynqMP platform.
 
+source "drivers/clk/adi/Kconfig"
 source "drivers/clk/analogbits/Kconfig"
 source "drivers/clk/at91/Kconfig"
 source "drivers/clk/exynos/Kconfig"
index 638ad04baeb05f40cb8688acc83f59640fa144cb..847b9b29110005658a66c3961ad2522a9fc66d23 100644 (file)
@@ -12,6 +12,7 @@ obj-$(CONFIG_$(SPL_TPL_)CLK_CCF) += clk-fixed-factor.o
 obj-$(CONFIG_$(SPL_TPL_)CLK_COMPOSITE_CCF) += clk-composite.o
 obj-$(CONFIG_$(SPL_TPL_)CLK_GPIO) += clk-gpio.o
 
+obj-y += adi/
 obj-y += analogbits/
 obj-y += imx/
 obj-$(CONFIG_CLK_JH7110) += starfive/
diff --git a/drivers/clk/adi/Kconfig b/drivers/clk/adi/Kconfig
new file mode 100644 (file)
index 0000000..5745bed
--- /dev/null
@@ -0,0 +1,83 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+#
+# (C) Copyright 2022 - Analog Devices, Inc.
+#
+# Written and/or maintained by Timesys Corporation
+#
+# Contact: Nathan Barrett-Morrison <nathan.morrison@timesys.com>
+# Contact: Greg Malysa <greg.malysa@timesys.com>
+#
+
+config COMMON_CLK_ADI_SHARED
+       bool "Enable shared ADI clock framework code"
+       help
+         Required for shared code between SoC clock drivers. Automatically
+         selected by an appropriate SoC-specific clock driver version.
+
+config COMMON_CLK_ADI_SC598
+       bool "Clock driver for ADI SC598 SoCs"
+       select DM
+       select CLK
+       select CLK_CCF
+       select OF_CONTROL
+       select CMD_CLK
+       select SPL_DM if SPL
+       select SPL_CLK if SPL
+       select SPL_CLK_CCF if SPL
+       select SPL_OF_CONTROL if SPL
+       select COMMON_CLK_ADI_SHARED
+       depends on SC59X_64
+       help
+         This driver supports the system clocks on Analog Devices SC598-series
+         SoCs. It includes CGU and CDU clocks and supports gating unused clocks.
+         Modifying PLL configuration is not supported; that must be done prior
+         to booting the kernel. Clock dividers after the PLLs may be configured.
+
+config COMMON_CLK_ADI_SC594
+       bool "Clock driver for ADI SC594 SoCs"
+       select DM
+       select CLK
+       select CLK_CCF
+       select OF_CONTROL
+       select CMD_CLK
+       select SPL_DM if SPL
+       select SPL_CLK if SPL
+       select SPL_CLK_CCF if SPL
+       select SPL_OF_CONTROL if SPL
+       select COMMON_CLK_ADI_SHARED
+       depends on SC59X
+       help
+         This driver supports the system clocks on Analog Devices SC594-series
+         SoCs. It includes CGU and CDU clocks and supports gating unused clocks.
+         Modifying PLL configuration is not supported; that must be done prior
+         to booting the kernel. Clock dividers after the PLLs may be configured.
+
+config COMMON_CLK_ADI_SC58X
+       bool "Clock driver for ADI SC58X SoCs"
+       select DM
+       select CLK
+       select CLK_CCF
+       select OF_CONTROL
+       select CMD_CLK
+       select COMMON_CLK_ADI_SHARED
+       depends on SC58X
+       help
+         This driver supports the system clocks on Analog Devices SC58x-series
+         SoCs. It includes CGU and CDU clocks and supports gating unused clocks.
+         Modifying PLL configuration is not supported; that must be done prior
+         to booting the kernel. Clock dividers after the PLLs may be configured.
+
+config COMMON_CLK_ADI_SC57X
+       bool "Clock driver for ADI SC57X SoCs"
+       select DM
+       select CLK
+       select CLK_CCF
+       select OF_CONTROL
+       select CMD_CLK
+       select COMMON_CLK_ADI_SHARED
+       depends on SC57X
+       help
+         This driver supports the system clocks on Analog Devices SC57x-series
+         SoCs. It includes CGU and CDU clocks and supports gating unused clocks.
+         Modifying PLL configuration is not supported; that must be done prior
+         to booting the kernel. Clock dividers after the PLLs may be configured.
diff --git a/drivers/clk/adi/Makefile b/drivers/clk/adi/Makefile
new file mode 100644 (file)
index 0000000..f3f1fd9
--- /dev/null
@@ -0,0 +1,16 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+#
+# (C) Copyright 2022 - Analog Devices, Inc.
+#
+# Written and/or maintained by Timesys Corporation
+#
+# Contact: Nathan Barrett-Morrison <nathan.morrison@timesys.com>
+# Contact: Greg Malysa <greg.malysa@timesys.com>
+#
+
+obj-$(CONFIG_COMMON_CLK_ADI_SHARED) += clk-shared.o clk-adi-pll.o
+
+obj-$(CONFIG_COMMON_CLK_ADI_SC594)  += clk-adi-sc594.o
+obj-$(CONFIG_COMMON_CLK_ADI_SC598)  += clk-adi-sc598.o
+obj-$(CONFIG_COMMON_CLK_ADI_SC58X)  += clk-adi-sc58x.o
+obj-$(CONFIG_COMMON_CLK_ADI_SC57X)  += clk-adi-sc57x.o
diff --git a/drivers/clk/adi/clk-adi-pll.c b/drivers/clk/adi/clk-adi-pll.c
new file mode 100644 (file)
index 0000000..372baa9
--- /dev/null
@@ -0,0 +1,93 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
+/*
+ * (C) Copyright 2022 - Analog Devices, Inc.
+ *
+ * Written and/or maintained by Timesys Corporation
+ *
+ * Author: Greg Malysa <greg.malysa@timesys.com>
+ *
+ * Ported from Linux: Nathan Barrett-Morrison <nathan.morrison@timesys.com>
+ */
+
+#include <clk.h>
+#include <clk-uclass.h>
+#include <asm/io.h>
+#include <dm/device.h>
+#include <linux/compiler_types.h>
+#include <linux/err.h>
+#include <linux/kernel.h>
+
+#include "clk.h"
+
+#define ADI_CLK_PLL_GENERIC "adi_clk_pll_generic"
+
+struct clk_sc5xx_cgu_pll {
+       struct clk clk;
+       void __iomem *base;
+       u32 mask;
+       u32 max;
+       u32 m_offset;
+       u8 shift;
+       bool half_m;
+};
+
+#define to_clk_sc5xx_cgu_pll(_clk) container_of(_clk, struct clk_sc5xx_cgu_pll, clk)
+
+static unsigned long sc5xx_cgu_pll_get_rate(struct clk *clk)
+{
+       struct clk_sc5xx_cgu_pll *pll = to_clk_sc5xx_cgu_pll(dev_get_clk_ptr(clk->dev));
+       unsigned long parent_rate = clk_get_parent_rate(clk);
+
+       u32 reg = readl(pll->base);
+       u32 m = ((reg & pll->mask) >> pll->shift) + pll->m_offset;
+
+       if (m == 0)
+               m = pll->max;
+
+       if (pll->half_m)
+               return parent_rate * m * 2;
+       return parent_rate * m;
+}
+
+static const struct clk_ops clk_sc5xx_cgu_pll_ops = {
+       .get_rate = sc5xx_cgu_pll_get_rate,
+};
+
+struct clk *sc5xx_cgu_pll(const char *name, const char *parent_name,
+                         void __iomem *base, u8 shift, u8 width, u32 m_offset,
+                         bool half_m)
+{
+       struct clk_sc5xx_cgu_pll *pll;
+       struct clk *clk;
+       int ret;
+       char *drv_name = ADI_CLK_PLL_GENERIC;
+
+       pll = kzalloc(sizeof(*pll), GFP_KERNEL);
+       if (!pll)
+               return ERR_PTR(-ENOMEM);
+
+       pll->base = base;
+       pll->shift = shift;
+       pll->mask = GENMASK(width - 1, 0) << shift;
+       pll->max = pll->mask + 1;
+       pll->m_offset = m_offset;
+       pll->half_m = half_m;
+
+       clk = &pll->clk;
+
+       ret = clk_register(clk, drv_name, name, parent_name);
+       if (ret) {
+               pr_err("Failed to register %s in %s: %d\n", name, __func__, ret);
+               kfree(pll);
+               return ERR_PTR(ret);
+       }
+
+       return clk;
+}
+
+U_BOOT_DRIVER(clk_adi_pll_generic) = {
+       .name   = ADI_CLK_PLL_GENERIC,
+       .id     = UCLASS_CLK,
+       .ops    = &clk_sc5xx_cgu_pll_ops,
+       .flags = DM_FLAG_PRE_RELOC,
+};
diff --git a/drivers/clk/adi/clk-adi-sc57x.c b/drivers/clk/adi/clk-adi-sc57x.c
new file mode 100644 (file)
index 0000000..b17563f
--- /dev/null
@@ -0,0 +1,206 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
+/*
+ * (C) Copyright 2022 - Analog Devices, Inc.
+ *
+ * Written and/or maintained by Timesys Corporation
+ *
+ * Author: Greg Malysa <greg.malysa@timesys.com>
+ *
+ * Ported from Linux: Nathan Barrett-Morrison <nathan.morrison@timesys.com>
+ */
+
+#include <clk.h>
+#include <clk-uclass.h>
+#include <dm.h>
+#include <dt-bindings/clock/adi-sc5xx-clock.h>
+#include <linux/compiler_types.h>
+#include <linux/clk-provider.h>
+#include <linux/io.h>
+#include <linux/ioport.h>
+#include <linux/printk.h>
+#include <linux/types.h>
+
+#include "clk.h"
+
+static const char * const cgu1_in_sels[] = {"sys_clkin0", "sys_clkin1"};
+static const char * const sharc0_sels[] = {"cclk0_0", "sysclk_0", "dummy", "dummy"};
+static const char * const sharc1_sels[] = {"cclk0_0", "sysclk_0", "dummy", "dummy"};
+static const char * const arm_sels[] = {"cclk1_0", "sysclk_0", "dummy", "dummy"};
+static const char * const cdu_ddr_sels[] = {"dclk_0", "dclk_1", "dummy", "dummy"};
+static const char * const can_sels[] = {"oclk_0", "oclk_1", "dclk_1", "oclk_0_half"};
+static const char * const spdif_sels[] = {"oclk_0", "oclk_1", "dclk_1", "dclk_0"};
+static const char * const gige_sels[] = {"sclk1_0", "sclk1_1", "cclk0_1", "oclk_0"};
+static const char * const sdio_sels[] = {"oclk_0_half", "cclk1_1_half", "cclk1_1",
+       "dclk_1"};
+
+static int sc57x_clock_probe(struct udevice *dev)
+{
+       void __iomem *cgu0;
+       void __iomem *cgu1;
+       void __iomem *cdu;
+       int ret;
+       struct resource res;
+
+       struct clk *clks[ADSP_SC57X_CLK_END];
+       struct clk dummy, clkin0, clkin1;
+
+       ret = dev_read_resource_byname(dev, "cgu0", &res);
+       if (ret)
+               return ret;
+       cgu0 = devm_ioremap(dev, res.start, resource_size(&res));
+
+       ret = dev_read_resource_byname(dev, "cgu1", &res);
+       if (ret)
+               return ret;
+       cgu1 = devm_ioremap(dev, res.start, resource_size(&res));
+
+       ret = dev_read_resource_byname(dev, "cdu", &res);
+       if (ret)
+               return ret;
+       cdu = devm_ioremap(dev, res.start, resource_size(&res));
+
+       // Input clock configuration
+       clk_get_by_name(dev, "dummy", &dummy);
+       clk_get_by_name(dev, "sys_clkin0", &clkin0);
+       clk_get_by_name(dev, "sys_clkin1", &clkin1);
+
+       clks[ADSP_SC57X_CLK_DUMMY] = &dummy;
+       clks[ADSP_SC57X_CLK_SYS_CLKIN0] = &clkin0;
+       clks[ADSP_SC57X_CLK_SYS_CLKIN1] = &clkin1;
+
+       clks[ADSP_SC57X_CLK_CGU1_IN] = clk_register_mux(NULL, "cgu1_in_sel", cgu1_in_sels,
+                                                       2, CLK_SET_RATE_PARENT,
+                                                       cdu + CDU_CLKINSEL, 0, 1, 0);
+
+       // CGU configuration and internal clocks
+       clks[ADSP_SC57X_CLK_CGU0_PLL_IN] = clk_register_divider(NULL, "cgu0_df",
+                                                               "sys_clkin0",
+                                                               CLK_SET_RATE_PARENT,
+                                                               cgu0 + CGU_CTL, 0, 1, 0);
+       clks[ADSP_SC57X_CLK_CGU1_PLL_IN] = clk_register_divider(NULL, "cgu1_df",
+                                                               "cgu1_in_sel",
+                                                               CLK_SET_RATE_PARENT,
+                                                               cgu1 + CGU_CTL, 0, 1, 0);
+
+       // VCO output == PLL output
+       clks[ADSP_SC57X_CLK_CGU0_PLLCLK] = sc5xx_cgu_pll("cgu0_pllclk", "cgu0_df",
+                                                        cgu0 + CGU_CTL, CGU_MSEL_SHIFT,
+                                                        CGU_MSEL_WIDTH, 0, false);
+       clks[ADSP_SC57X_CLK_CGU1_PLLCLK] = sc5xx_cgu_pll("cgu1_pllclk", "cgu1_df",
+                                                        cgu1 + CGU_CTL, CGU_MSEL_SHIFT,
+                                                        CGU_MSEL_WIDTH, 0, false);
+
+       // Dividers from pll output
+       clks[ADSP_SC57X_CLK_CGU0_CDIV] = cgu_divider("cgu0_cdiv", "cgu0_pllclk",
+                                                    cgu0 + CGU_DIV, 0, 5, 0);
+       clks[ADSP_SC57X_CLK_CGU0_SYSCLK] = cgu_divider("sysclk_0", "cgu0_pllclk",
+                                                      cgu0 + CGU_DIV, 8, 5, 0);
+       clks[ADSP_SC57X_CLK_CGU0_DDIV] = cgu_divider("cgu0_ddiv", "cgu0_pllclk",
+                                                    cgu0 + CGU_DIV, 16, 5, 0);
+       clks[ADSP_SC57X_CLK_CGU0_ODIV] = cgu_divider("cgu0_odiv", "cgu0_pllclk",
+                                                    cgu0 + CGU_DIV, 22, 7, 0);
+       clks[ADSP_SC57X_CLK_CGU0_S0SELDIV] = cgu_divider("cgu0_s0seldiv", "sysclk_0",
+                                                        cgu0 + CGU_DIV, 5, 3, 0);
+       clks[ADSP_SC57X_CLK_CGU0_S1SELDIV] = cgu_divider("cgu0_s1seldiv", "sysclk_0",
+                                                        cgu0 + CGU_DIV, 13, 3, 0);
+
+       clks[ADSP_SC57X_CLK_CGU1_CDIV] = cgu_divider("cgu1_cdiv", "cgu1_pllclk",
+                                                    cgu1 + CGU_DIV, 0, 5, 0);
+       clks[ADSP_SC57X_CLK_CGU1_SYSCLK] = cgu_divider("sysclk_1", "cgu1_pllclk",
+                                                      cgu1 + CGU_DIV, 8, 5, 0);
+       clks[ADSP_SC57X_CLK_CGU1_DDIV] = cgu_divider("cgu1_ddiv", "cgu1_pllclk",
+                                                    cgu1 + CGU_DIV, 16, 5, 0);
+       clks[ADSP_SC57X_CLK_CGU1_ODIV] = cgu_divider("cgu1_odiv", "cgu1_pllclk",
+                                                    cgu1 + CGU_DIV, 22, 7, 0);
+       clks[ADSP_SC57X_CLK_CGU1_S0SELDIV] = cgu_divider("cgu1_s0seldiv",
+                                                        "sysclk_1", cgu1 + CGU_DIV, 5,
+                                                        3, 0);
+       clks[ADSP_SC57X_CLK_CGU1_S1SELDIV] = cgu_divider("cgu1_s1seldiv",
+                                                        "sysclk_1", cgu1 + CGU_DIV, 13,
+                                                        3, 0);
+
+       // Gates to enable CGU outputs
+       clks[ADSP_SC57X_CLK_CGU0_CCLK0] = cgu_gate("cclk0_0", "cgu0_cdiv",
+                                                  cgu0 + CGU_CCBF_DIS, 0);
+       clks[ADSP_SC57X_CLK_CGU0_CCLK1] = cgu_gate("cclk1_0", "cgu0_cdiv",
+                                                  cgu1 + CGU_CCBF_DIS, 1);
+       clks[ADSP_SC57X_CLK_CGU0_OCLK] = cgu_gate("oclk_0", "cgu0_odiv",
+                                                 cgu0 + CGU_SCBF_DIS, 3);
+       clks[ADSP_SC57X_CLK_CGU0_DCLK] = cgu_gate("dclk_0", "cgu0_ddiv",
+                                                 cgu0 + CGU_SCBF_DIS, 2);
+       clks[ADSP_SC57X_CLK_CGU0_SCLK1] = cgu_gate("sclk1_0", "cgu0_s1seldiv",
+                                                  cgu0 + CGU_SCBF_DIS, 1);
+       clks[ADSP_SC57X_CLK_CGU0_SCLK0] = cgu_gate("sclk0_0", "cgu0_s0seldiv",
+                                                  cgu0 + CGU_SCBF_DIS, 0);
+
+       clks[ADSP_SC57X_CLK_CGU1_CCLK0] = cgu_gate("cclk0_1", "cgu1_cdiv",
+                                                  cgu1 + CGU_CCBF_DIS, 0);
+       clks[ADSP_SC57X_CLK_CGU1_CCLK1] = cgu_gate("cclk1_1", "cgu1_cdiv",
+                                                  cgu1 + CGU_CCBF_DIS, 1);
+       clks[ADSP_SC57X_CLK_CGU1_OCLK] = cgu_gate("oclk_1", "cgu1_odiv",
+                                                 cgu1 + CGU_SCBF_DIS, 3);
+       clks[ADSP_SC57X_CLK_CGU1_DCLK] = cgu_gate("dclk_1", "cgu1_ddiv",
+                                                 cgu1 + CGU_SCBF_DIS, 2);
+       clks[ADSP_SC57X_CLK_CGU1_SCLK1] = cgu_gate("sclk1_1", "cgu1_s1seldiv",
+                                                  cgu1 + CGU_SCBF_DIS, 1);
+       clks[ADSP_SC57X_CLK_CGU1_SCLK0] = cgu_gate("sclk0_1", "cgu1_s0seldiv",
+                                                  cgu1 + CGU_SCBF_DIS, 0);
+
+       // Extra half rate clocks generated in the CDU
+       clks[ADSP_SC57X_CLK_OCLK0_HALF] = clk_register_fixed_factor(NULL, "oclk_0_half",
+                                                                   "oclk_0",
+                                                                   CLK_SET_RATE_PARENT,
+                                                                   1, 2);
+       clks[ADSP_SC57X_CLK_CCLK1_1_HALF] = clk_register_fixed_factor(NULL,
+                                                                     "cclk1_1_half",
+                                                                     "cclk1_1",
+                                                                     CLK_SET_RATE_PARENT,
+                                                                     1, 2);
+
+       // CDU output muxes
+       clks[ADSP_SC57X_CLK_SHARC0_SEL] = cdu_mux("sharc0_sel", cdu + CDU_CFG0,
+                                                 sharc0_sels);
+       clks[ADSP_SC57X_CLK_SHARC1_SEL] = cdu_mux("sharc1_sel", cdu + CDU_CFG1,
+                                                 sharc1_sels);
+       clks[ADSP_SC57X_CLK_ARM_SEL] = cdu_mux("arm_sel", cdu + CDU_CFG2, arm_sels);
+       clks[ADSP_SC57X_CLK_CDU_DDR_SEL] = cdu_mux("cdu_ddr_sel", cdu + CDU_CFG3,
+                                                  cdu_ddr_sels);
+       clks[ADSP_SC57X_CLK_CAN_SEL] = cdu_mux("can_sel", cdu + CDU_CFG4, can_sels);
+       clks[ADSP_SC57X_CLK_SPDIF_SEL] = cdu_mux("spdif_sel", cdu + CDU_CFG5, spdif_sels);
+       clks[ADSP_SC57X_CLK_GIGE_SEL] = cdu_mux("gige_sel", cdu + CDU_CFG7, gige_sels);
+       clks[ADSP_SC57X_CLK_SDIO_SEL] = cdu_mux("sdio_sel", cdu + CDU_CFG9, sdio_sels);
+
+       // CDU output enable gates
+       clks[ADSP_SC57X_CLK_SHARC0] = cdu_gate("sharc0", "sharc0_sel", cdu + CDU_CFG0,
+                                              CLK_IS_CRITICAL);
+       clks[ADSP_SC57X_CLK_SHARC1] = cdu_gate("sharc1", "sharc1_sel", cdu + CDU_CFG1,
+                                              CLK_IS_CRITICAL);
+       clks[ADSP_SC57X_CLK_ARM] = cdu_gate("arm", "arm_sel", cdu + CDU_CFG2,
+                                           CLK_IS_CRITICAL);
+       clks[ADSP_SC57X_CLK_CDU_DDR] = cdu_gate("cdu_ddr", "cdu_ddr_sel", cdu + CDU_CFG3,
+                                               CLK_IS_CRITICAL);
+       clks[ADSP_SC57X_CLK_CAN] = cdu_gate("can", "can_sel", cdu + CDU_CFG4, 0);
+       clks[ADSP_SC57X_CLK_SPDIF] = cdu_gate("spdif", "spdif_sel", cdu + CDU_CFG5, 0);
+       clks[ADSP_SC57X_CLK_GIGE] = cdu_gate("gige", "gige_sel", cdu + CDU_CFG7, 0);
+       clks[ADSP_SC57X_CLK_SDIO] = cdu_gate("sdio", "sdio_sel", cdu + CDU_CFG9, 0);
+
+       ret = cdu_check_clocks(clks, ARRAY_SIZE(clks));
+       if (ret)
+               pr_err("CDU error detected\n");
+
+       return ret;
+}
+
+static const struct udevice_id adi_sc57x_clk_ids[] = {
+       { .compatible = "adi,sc57x-clocks" },
+       { },
+};
+
+U_BOOT_DRIVER(adi_sc57x_clk) = {
+       .name = "clk_adi_sc57x",
+       .id = UCLASS_CLK,
+       .of_match = adi_sc57x_clk_ids,
+       .ops            = &adi_clk_ops,
+       .probe = sc57x_clock_probe,
+       .flags = DM_FLAG_PRE_RELOC,
+};
diff --git a/drivers/clk/adi/clk-adi-sc58x.c b/drivers/clk/adi/clk-adi-sc58x.c
new file mode 100644 (file)
index 0000000..05a0fed
--- /dev/null
@@ -0,0 +1,222 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
+/*
+ * (C) Copyright 2022 - Analog Devices, Inc.
+ *
+ * Written and/or maintained by Timesys Corporation
+ *
+ * Author: Greg Malysa <greg.malysa@timesys.com>
+ *
+ * Ported from Linux: Nathan Barrett-Morrison <nathan.morrison@timesys.com>
+ */
+
+#include <clk.h>
+#include <clk-uclass.h>
+#include <dm.h>
+#include <dt-bindings/clock/adi-sc5xx-clock.h>
+#include <linux/compiler_types.h>
+#include <linux/clk-provider.h>
+#include <linux/io.h>
+#include <linux/ioport.h>
+#include <linux/printk.h>
+#include <linux/types.h>
+
+#include "clk.h"
+
+static const char * const cgu1_in_sels[] = {"sys_clkin0", "sys_clkin1"};
+static const char * const sharc0_sels[] = {"cclk0_0", "sysclk_0", "dummy", "dummy"};
+static const char * const sharc1_sels[] = {"cclk0_0", "sysclk_0", "dummy", "dummy"};
+static const char * const arm_sels[] = {"cclk1_0", "sysclk_0", "dummy", "dummy"};
+static const char * const cdu_ddr_sels[] = {"dclk_0", "dclk_1", "dummy", "dummy"};
+static const char * const can_sels[] = {"oclk_0", "oclk_1", "dclk_1", "dummy"};
+static const char * const spdif_sels[] = {"oclk_0", "oclk_1", "dclk_1", "dclk_0"};
+static const char * const reserved_sels[] = {"sclk0_0", "oclk_0", "dummy", "dummy"};
+static const char * const gige_sels[] = {"sclk0_0", "sclk1_1", "cclk0_1", "oclk_0"};
+static const char * const lp_sels[] = {"sclk0_0", "sclk0_1", "cclk1_1", "dclk_1"};
+static const char * const sdio_sels[] = {"oclk_0_half", "cclk1_1_half", "cclk1_1",
+       "dclk_1"};
+
+static int sc58x_clock_probe(struct udevice *dev)
+{
+       void __iomem *cgu0;
+       void __iomem *cgu1;
+       void __iomem *cdu;
+       int ret;
+       struct resource res;
+
+       struct clk *clks[ADSP_SC58X_CLK_END];
+       struct clk dummy, clkin0, clkin1;
+
+       ret = dev_read_resource_byname(dev, "cgu0", &res);
+       if (ret)
+               return ret;
+       cgu0 = devm_ioremap(dev, res.start, resource_size(&res));
+
+       ret = dev_read_resource_byname(dev, "cgu1", &res);
+       if (ret)
+               return ret;
+       cgu1 = devm_ioremap(dev, res.start, resource_size(&res));
+
+       ret = dev_read_resource_byname(dev, "cdu", &res);
+       if (ret)
+               return ret;
+       cdu = devm_ioremap(dev, res.start, resource_size(&res));
+
+       // Input clock configuration
+       clk_get_by_name(dev, "dummy", &dummy);
+       clk_get_by_name(dev, "sys_clkin0", &clkin0);
+       clk_get_by_name(dev, "sys_clkin1", &clkin1);
+
+       clks[ADSP_SC58X_CLK_DUMMY] = &dummy;
+       clks[ADSP_SC58X_CLK_SYS_CLKIN0] = &clkin0;
+       clks[ADSP_SC58X_CLK_SYS_CLKIN1] = &clkin1;
+
+       clks[ADSP_SC58X_CLK_CGU1_IN] = clk_register_mux(NULL, "cgu1_in_sel", cgu1_in_sels,
+                                                       2, CLK_SET_RATE_PARENT,
+                                                       cdu + CDU_CLKINSEL, 0, 1, 0);
+
+       // CGU configuration and internal clocks
+       clks[ADSP_SC58X_CLK_CGU0_PLL_IN] = clk_register_divider(NULL, "cgu0_df",
+                                                               "sys_clkin0",
+                                                               CLK_SET_RATE_PARENT,
+                                                               cgu0 + CGU_CTL, 0, 1, 0);
+       clks[ADSP_SC58X_CLK_CGU1_PLL_IN] = clk_register_divider(NULL, "cgu1_df",
+                                                               "cgu1_in_sel",
+                                                               CLK_SET_RATE_PARENT,
+                                                               cgu1 + CGU_CTL, 0, 1, 0);
+
+       // VCO output inside PLL
+       clks[ADSP_SC58X_CLK_CGU0_VCO_OUT] = sc5xx_cgu_pll("cgu0_vco", "cgu0_df",
+                                                         cgu0 + CGU_CTL, CGU_MSEL_SHIFT,
+                                                         CGU_MSEL_WIDTH, 0, false);
+       clks[ADSP_SC58X_CLK_CGU1_VCO_OUT] = sc5xx_cgu_pll("cgu1_vco", "cgu1_df",
+                                                         cgu1 + CGU_CTL, CGU_MSEL_SHIFT,
+                                                         CGU_MSEL_WIDTH, 0, false);
+
+       // Final PLL output
+       clks[ADSP_SC58X_CLK_CGU0_PLLCLK] = clk_register_fixed_factor(NULL, "cgu0_pllclk",
+                                                                    "cgu0_vco",
+                                                                    CLK_SET_RATE_PARENT,
+                                                                    1, 1);
+       clks[ADSP_SC58X_CLK_CGU1_PLLCLK] = clk_register_fixed_factor(NULL, "cgu1_pllclk",
+                                                                    "cgu1_vco",
+                                                                    CLK_SET_RATE_PARENT,
+                                                                    1, 1);
+
+       // Dividers from pll output
+       clks[ADSP_SC58X_CLK_CGU0_CDIV] = cgu_divider("cgu0_cdiv", "cgu0_pllclk",
+                                                    cgu0 + CGU_DIV, 0, 5, 0);
+       clks[ADSP_SC58X_CLK_CGU0_SYSCLK] = cgu_divider("sysclk_0", "cgu0_pllclk",
+                                                      cgu0 + CGU_DIV, 8, 5, 0);
+       clks[ADSP_SC58X_CLK_CGU0_DDIV] = cgu_divider("cgu0_ddiv", "cgu0_pllclk",
+                                                    cgu0 + CGU_DIV, 16, 5, 0);
+       clks[ADSP_SC58X_CLK_CGU0_ODIV] = cgu_divider("cgu0_odiv", "cgu0_pllclk",
+                                                    cgu0 + CGU_DIV, 22, 7, 0);
+       clks[ADSP_SC58X_CLK_CGU0_S0SELDIV] = cgu_divider("cgu0_s0seldiv", "sysclk_0",
+                                                        cgu0 + CGU_DIV, 5, 3, 0);
+       clks[ADSP_SC58X_CLK_CGU0_S1SELDIV] = cgu_divider("cgu0_s1seldiv", "sysclk_0",
+                                                        cgu0 + CGU_DIV, 13, 3, 0);
+
+       clks[ADSP_SC58X_CLK_CGU1_CDIV] = cgu_divider("cgu1_cdiv", "cgu1_pllclk",
+                                                    cgu1 + CGU_DIV, 0, 5, 0);
+       clks[ADSP_SC58X_CLK_CGU1_SYSCLK] = cgu_divider("sysclk_1", "cgu1_pllclk",
+                                                      cgu1 + CGU_DIV, 8, 5, 0);
+       clks[ADSP_SC58X_CLK_CGU1_DDIV] = cgu_divider("cgu1_ddiv", "cgu1_pllclk",
+                                                    cgu1 + CGU_DIV, 16, 5, 0);
+       clks[ADSP_SC58X_CLK_CGU1_ODIV] = cgu_divider("cgu1_odiv", "cgu1_pllclk",
+                                                    cgu1 + CGU_DIV, 22, 7, 0);
+       clks[ADSP_SC58X_CLK_CGU1_S0SELDIV] = cgu_divider("cgu1_s0seldiv", "sysclk_1",
+                                                        cgu1 + CGU_DIV, 5, 3, 0);
+       clks[ADSP_SC58X_CLK_CGU1_S1SELDIV] = cgu_divider("cgu1_s1seldiv", "sysclk_1",
+                                                        cgu1 + CGU_DIV, 13, 3, 0);
+
+       // Gates to enable CGU outputs
+       clks[ADSP_SC58X_CLK_CGU0_CCLK0] = cgu_gate("cclk0_0", "cgu0_cdiv",
+                                                  cgu0 + CGU_CCBF_DIS, 0);
+       clks[ADSP_SC58X_CLK_CGU0_CCLK1] = cgu_gate("cclk1_0", "cgu0_cdiv",
+                                                  cgu1 + CGU_CCBF_DIS, 1);
+       clks[ADSP_SC58X_CLK_CGU0_OCLK] = cgu_gate("oclk_0", "cgu0_odiv",
+                                                 cgu0 + CGU_SCBF_DIS, 3);
+       clks[ADSP_SC58X_CLK_CGU0_DCLK] = cgu_gate("dclk_0", "cgu0_ddiv",
+                                                 cgu0 + CGU_SCBF_DIS, 2);
+       clks[ADSP_SC58X_CLK_CGU0_SCLK1] = cgu_gate("sclk1_0", "cgu0_s1seldiv",
+                                                  cgu0 + CGU_SCBF_DIS, 1);
+       clks[ADSP_SC58X_CLK_CGU0_SCLK0] = cgu_gate("sclk0_0", "cgu0_s0seldiv",
+                                                  cgu0 + CGU_SCBF_DIS, 0);
+
+       clks[ADSP_SC58X_CLK_CGU1_CCLK0] = cgu_gate("cclk0_1", "cgu1_cdiv",
+                                                  cgu1 + CGU_CCBF_DIS, 0);
+       clks[ADSP_SC58X_CLK_CGU1_CCLK1] = cgu_gate("cclk1_1", "cgu1_cdiv",
+                                                  cgu1 + CGU_CCBF_DIS, 1);
+       clks[ADSP_SC58X_CLK_CGU1_OCLK] = cgu_gate("oclk_1", "cgu1_odiv",
+                                                 cgu1 + CGU_SCBF_DIS, 3);
+       clks[ADSP_SC58X_CLK_CGU1_DCLK] = cgu_gate("dclk_1", "cgu1_ddiv",
+                                                 cgu1 + CGU_SCBF_DIS, 2);
+       clks[ADSP_SC58X_CLK_CGU1_SCLK1] = cgu_gate("sclk1_1", "cgu1_s1seldiv",
+                                                  cgu1 + CGU_SCBF_DIS, 1);
+       clks[ADSP_SC58X_CLK_CGU1_SCLK0] = cgu_gate("sclk0_1", "cgu1_s0seldiv",
+                                                  cgu1 + CGU_SCBF_DIS, 0);
+
+       // Extra half rate clocks generated in the CDU
+       clks[ADSP_SC58X_CLK_OCLK0_HALF] = clk_register_fixed_factor(NULL, "oclk_0_half",
+                                                                   "oclk_0",
+                                                                   CLK_SET_RATE_PARENT,
+                                                                   1, 2);
+       clks[ADSP_SC58X_CLK_CCLK1_1_HALF] = clk_register_fixed_factor(NULL,
+                                                                     "cclk1_1_half",
+                                                                     "cclk1_1",
+                                                                     CLK_SET_RATE_PARENT,
+                                                                     1, 2);
+
+       // CDU output muxes
+       clks[ADSP_SC58X_CLK_SHARC0_SEL] = cdu_mux("sharc0_sel", cdu + CDU_CFG0,
+                                                 sharc0_sels);
+       clks[ADSP_SC58X_CLK_SHARC1_SEL] = cdu_mux("sharc1_sel", cdu + CDU_CFG1,
+                                                 sharc1_sels);
+       clks[ADSP_SC58X_CLK_ARM_SEL] = cdu_mux("arm_sel", cdu + CDU_CFG2, arm_sels);
+       clks[ADSP_SC58X_CLK_CDU_DDR_SEL] = cdu_mux("cdu_ddr_sel", cdu + CDU_CFG3,
+                                                  cdu_ddr_sels);
+       clks[ADSP_SC58X_CLK_CAN_SEL] = cdu_mux("can_sel", cdu + CDU_CFG4, can_sels);
+       clks[ADSP_SC58X_CLK_SPDIF_SEL] = cdu_mux("spdif_sel", cdu + CDU_CFG5, spdif_sels);
+       clks[ADSP_SC58X_CLK_RESERVED_SEL] = cdu_mux("reserved_sel", cdu + CDU_CFG6,
+                                                   reserved_sels);
+       clks[ADSP_SC58X_CLK_GIGE_SEL] = cdu_mux("gige_sel", cdu + CDU_CFG7, gige_sels);
+       clks[ADSP_SC58X_CLK_LP_SEL] = cdu_mux("lp_sel", cdu + CDU_CFG8, lp_sels);
+       clks[ADSP_SC58X_CLK_SDIO_SEL] = cdu_mux("sdio_sel", cdu + CDU_CFG9, sdio_sels);
+
+       // CDU output enable gates
+       clks[ADSP_SC58X_CLK_SHARC0] = cdu_gate("sharc0", "sharc0_sel", cdu + CDU_CFG0,
+                                              CLK_IS_CRITICAL);
+       clks[ADSP_SC58X_CLK_SHARC1] = cdu_gate("sharc1", "sharc1_sel", cdu + CDU_CFG1,
+                                              CLK_IS_CRITICAL);
+       clks[ADSP_SC58X_CLK_ARM] = cdu_gate("arm", "arm_sel", cdu + CDU_CFG2,
+                                           CLK_IS_CRITICAL);
+       clks[ADSP_SC58X_CLK_CDU_DDR] = cdu_gate("cdu_ddr", "cdu_ddr_sel", cdu + CDU_CFG3,
+                                               CLK_IS_CRITICAL);
+       clks[ADSP_SC58X_CLK_CAN] = cdu_gate("can", "can_sel", cdu + CDU_CFG4, 0);
+       clks[ADSP_SC58X_CLK_SPDIF] = cdu_gate("spdif", "spdif_sel", cdu + CDU_CFG5, 0);
+       clks[ADSP_SC58X_CLK_RESERVED] = cdu_gate("reserved", "reserved_sel",
+                                                cdu + CDU_CFG6, 0);
+       clks[ADSP_SC58X_CLK_GIGE] = cdu_gate("gige", "gige_sel", cdu + CDU_CFG7, 0);
+       clks[ADSP_SC58X_CLK_LP] = cdu_gate("lp", "lp_sel", cdu + CDU_CFG8, 0);
+       clks[ADSP_SC58X_CLK_SDIO] = cdu_gate("sdio", "sdio_sel", cdu + CDU_CFG9, 0);
+
+       ret = cdu_check_clocks(clks, ARRAY_SIZE(clks));
+       if (ret)
+               pr_err("CDU error detected\n");
+
+       return ret;
+}
+
+static const struct udevice_id adi_sc58x_clk_ids[] = {
+       { .compatible = "adi,sc58x-clocks" },
+       { },
+};
+
+U_BOOT_DRIVER(adi_sc58x_clk) = {
+       .name = "clk_adi_sc58x",
+       .id = UCLASS_CLK,
+       .of_match = adi_sc58x_clk_ids,
+       .ops            = &adi_clk_ops,
+       .probe = sc58x_clock_probe,
+       .flags = DM_FLAG_PRE_RELOC,
+};
diff --git a/drivers/clk/adi/clk-adi-sc594.c b/drivers/clk/adi/clk-adi-sc594.c
new file mode 100644 (file)
index 0000000..c80bbf9
--- /dev/null
@@ -0,0 +1,231 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
+/*
+ * (C) Copyright 2022 - Analog Devices, Inc.
+ *
+ * Written and/or maintained by Timesys Corporation
+ *
+ * Author: Greg Malysa <greg.malysa@timesys.com>
+ *
+ * Ported from Linux: Nathan Barrett-Morrison <nathan.morrison@timesys.com>
+ */
+
+#include <clk.h>
+#include <clk-uclass.h>
+#include <dm.h>
+#include <dt-bindings/clock/adi-sc5xx-clock.h>
+#include <linux/compiler_types.h>
+#include <linux/clk-provider.h>
+#include <linux/io.h>
+#include <linux/ioport.h>
+#include <linux/printk.h>
+#include <linux/types.h>
+
+#include "clk.h"
+
+static const char * const cgu1_in_sels[] = {"sys_clkin0", "sys_clkin1"};
+static const char * const cgu0_s1sels[] = {"cgu0_s1seldiv", "cgu0_s1selexdiv"};
+static const char * const cgu1_s1sels[] = {"cgu1_s1seldiv", "cgu1_s1selexdiv"};
+static const char * const sharc0_sels[] = {"cclk0_0", "dummy", "dummy", "dummy"};
+static const char * const sharc1_sels[] = {"cclk0_0", "dummy", "dummy", "dummy"};
+static const char * const arm_sels[] = {"cclk1_0", "dummy", "dummy", "dummy"};
+static const char * const cdu_ddr_sels[] = {"dclk_0", "dclk_1", "dummy", "dummy"};
+static const char * const can_sels[] = {"oclk_0", "oclk_1", "dummy", "dummy"};
+static const char * const spdif_sels[] = {"sclk1_0", "dummy", "dummy", "dummy"};
+static const char * const spi_sels[] = {"sclk0_0", "oclk_0", "dummy", "dummy"};
+static const char * const gige_sels[] = {"sclk0_0", "sclk0_1", "cclk0_1", "dummy"};
+static const char * const lp_sels[] = {"oclk_0", "sclk0_0", "cclk0_1", "dummy"};
+static const char * const lpddr_sels[] = {"oclk_0", "dclk_0", "sysclkin_1", "dummy"};
+static const char * const ospi_sels[] = {"sysclk_0", "sclk0_0", "sclk1_1", "dummy"};
+static const char * const trace_sels[] = {"sclk0_0", "dummy", "dummy", "dummy"};
+
+static int sc594_clock_probe(struct udevice *dev)
+{
+       void __iomem *cgu0;
+       void __iomem *cgu1;
+       void __iomem *cdu;
+       int ret;
+       struct resource res;
+
+       struct clk *clks[ADSP_SC594_CLK_END];
+       struct clk dummy, clkin0, clkin1;
+
+       ret = dev_read_resource_byname(dev, "cgu0", &res);
+       if (ret)
+               return ret;
+       cgu0 = devm_ioremap(dev, res.start, resource_size(&res));
+
+       ret = dev_read_resource_byname(dev, "cgu1", &res);
+       if (ret)
+               return ret;
+       cgu1 = devm_ioremap(dev, res.start, resource_size(&res));
+
+       ret = dev_read_resource_byname(dev, "cdu", &res);
+       if (ret)
+               return ret;
+       cdu = devm_ioremap(dev, res.start, resource_size(&res));
+
+       // Input clock configuration
+       clk_get_by_name(dev, "dummy", &dummy);
+       clk_get_by_name(dev, "sys_clkin0", &clkin0);
+       clk_get_by_name(dev, "sys_clkin1", &clkin1);
+
+       clks[ADSP_SC594_CLK_DUMMY] = &dummy;
+       clks[ADSP_SC594_CLK_SYS_CLKIN0] = &clkin0;
+       clks[ADSP_SC594_CLK_SYS_CLKIN1] = &clkin1;
+       clks[ADSP_SC594_CLK_CGU1_IN] = clk_register_mux(NULL, "cgu1_in_sel", cgu1_in_sels,
+                                                       2, CLK_SET_RATE_PARENT,
+                                                       cdu + CDU_CLKINSEL, 0, 1, 0);
+
+       // CGU configuration and internal clocks
+       clks[ADSP_SC594_CLK_CGU0_PLL_IN] = clk_register_divider(NULL, "cgu0_df",
+                                                               "sys_clkin0",
+                                                               CLK_SET_RATE_PARENT,
+                                                               cgu0 + CGU_CTL, 0, 1, 0);
+       clks[ADSP_SC594_CLK_CGU1_PLL_IN] = clk_register_divider(NULL, "cgu1_df",
+                                                               "cgu1_in_sel",
+                                                               CLK_SET_RATE_PARENT,
+                                                               cgu1 + CGU_CTL, 0, 1, 0);
+
+       // VCO output inside PLL
+       clks[ADSP_SC594_CLK_CGU0_VCO_OUT] = sc5xx_cgu_pll("cgu0_vco", "cgu0_df",
+                                                         cgu0 + CGU_CTL, CGU_MSEL_SHIFT,
+                                                         CGU_MSEL_WIDTH, 0, false);
+       clks[ADSP_SC594_CLK_CGU1_VCO_OUT] = sc5xx_cgu_pll("cgu1_vco", "cgu1_df",
+                                                         cgu1 + CGU_CTL, CGU_MSEL_SHIFT,
+                                                         CGU_MSEL_WIDTH, 0, false);
+
+       // Final PLL output
+       clks[ADSP_SC594_CLK_CGU0_PLLCLK] = clk_register_fixed_factor(NULL, "cgu0_pllclk",
+                                                                    "cgu0_vco",
+                                                                    CLK_SET_RATE_PARENT,
+                                                                    1, 1);
+       clks[ADSP_SC594_CLK_CGU1_PLLCLK] = clk_register_fixed_factor(NULL, "cgu1_pllclk",
+                                                                    "cgu1_vco",
+                                                                    CLK_SET_RATE_PARENT,
+                                                                    1, 1);
+
+       // Dividers from pll output
+       clks[ADSP_SC594_CLK_CGU0_CDIV] = cgu_divider("cgu0_cdiv", "cgu0_pllclk",
+                                                    cgu0 + CGU_DIV, 0, 5, 0);
+       clks[ADSP_SC594_CLK_CGU0_SYSCLK] = cgu_divider("sysclk_0", "cgu0_pllclk",
+                                                      cgu0 + CGU_DIV, 8, 5, 0);
+       clks[ADSP_SC594_CLK_CGU0_DDIV] = cgu_divider("cgu0_ddiv", "cgu0_pllclk",
+                                                    cgu0 + CGU_DIV, 16, 5, 0);
+       clks[ADSP_SC594_CLK_CGU0_ODIV] = cgu_divider("cgu0_odiv", "cgu0_pllclk",
+                                                    cgu0 + CGU_DIV, 22, 7, 0);
+       clks[ADSP_SC594_CLK_CGU0_S0SELDIV] = cgu_divider("cgu0_s0seldiv", "sysclk_0",
+                                                        cgu0 + CGU_DIV, 5, 3, 0);
+       clks[ADSP_SC594_CLK_CGU0_S1SELDIV] = cgu_divider("cgu0_s1seldiv", "sysclk_0",
+                                                        cgu0 + CGU_DIV, 13, 3, 0);
+       clks[ADSP_SC594_CLK_CGU0_S1SELEXDIV] = cgu_divider("cgu0_s1selexdiv",
+                                                          "cgu0_pllclk",
+                                                          cgu0 + CGU_DIVEX, 16, 8, 0);
+       clks[ADSP_SC594_CLK_CGU0_S1SEL] = clk_register_mux(NULL, "cgu0_sclk1sel",
+                                                          cgu0_s1sels, 2,
+                                                          CLK_SET_RATE_PARENT,
+                                                          cgu0 + CGU_CTL, 17, 1, 0);
+
+       clks[ADSP_SC594_CLK_CGU1_CDIV] = cgu_divider("cgu1_cdiv", "cgu1_pllclk",
+                                                    cgu1 + CGU_DIV, 0, 5, 0);
+       clks[ADSP_SC594_CLK_CGU1_SYSCLK] = cgu_divider("sysclk_1", "cgu1_pllclk",
+                                                      cgu1 + CGU_DIV, 8, 5, 0);
+       clks[ADSP_SC594_CLK_CGU1_DDIV] = cgu_divider("cgu1_ddiv", "cgu1_pllclk",
+                                                    cgu1 + CGU_DIV, 16, 5, 0);
+       clks[ADSP_SC594_CLK_CGU1_ODIV] = cgu_divider("cgu1_odiv", "cgu1_pllclk",
+                                                    cgu1 + CGU_DIV, 22, 7, 0);
+       clks[ADSP_SC594_CLK_CGU1_S0SELDIV] = cgu_divider("cgu1_s0seldiv", "sysclk_1",
+                                                        cgu1 + CGU_DIV, 5, 3, 0);
+       clks[ADSP_SC594_CLK_CGU1_S1SELDIV] = cgu_divider("cgu1_s1seldiv", "sysclk_1",
+                                                        cgu1 + CGU_DIV, 13, 3, 0);
+       clks[ADSP_SC594_CLK_CGU1_S1SELEXDIV] = cgu_divider("cgu1_s1selexdiv",
+                                                          "cgu1_pllclk",
+                                                          cgu1 + CGU_DIVEX, 16, 8, 0);
+       clks[ADSP_SC594_CLK_CGU1_S1SEL] = clk_register_mux(NULL, "cgu1_sclk1sel",
+                                                          cgu1_s1sels, 2,
+                                                          CLK_SET_RATE_PARENT,
+                                                          cgu1 + CGU_CTL, 17, 1, 0);
+
+       // Gates to enable CGU outputs
+       clks[ADSP_SC594_CLK_CGU0_CCLK0] = cgu_gate("cclk0_0", "cgu0_cdiv",
+                                                  cgu0 + CGU_CCBF_DIS, 0);
+       clks[ADSP_SC594_CLK_CGU0_CCLK1] = cgu_gate("cclk1_0", "cgu0_cdiv",
+                                                  cgu1 + CGU_CCBF_DIS, 1);
+       clks[ADSP_SC594_CLK_CGU0_OCLK] = cgu_gate("oclk_0", "cgu0_odiv",
+                                                 cgu0 + CGU_SCBF_DIS, 3);
+       clks[ADSP_SC594_CLK_CGU0_DCLK] = cgu_gate("dclk_0", "cgu0_ddiv",
+                                                 cgu0 + CGU_SCBF_DIS, 2);
+       clks[ADSP_SC594_CLK_CGU0_SCLK1] = cgu_gate("sclk1_0", "cgu0_sclk1sel",
+                                                  cgu0 + CGU_SCBF_DIS, 1);
+       clks[ADSP_SC594_CLK_CGU0_SCLK0] = cgu_gate("sclk0_0", "cgu0_s0seldiv",
+                                                  cgu0 + CGU_SCBF_DIS, 0);
+
+       clks[ADSP_SC594_CLK_CGU1_CCLK0] = cgu_gate("cclk0_1", "cgu1_cdiv",
+                                                  cgu1 + CGU_CCBF_DIS, 0);
+       clks[ADSP_SC594_CLK_CGU1_CCLK1] = cgu_gate("cclk1_1", "cgu1_cdiv",
+                                                  cgu1 + CGU_CCBF_DIS, 1);
+       clks[ADSP_SC594_CLK_CGU1_OCLK] = cgu_gate("oclk_1", "cgu1_odiv",
+                                                 cgu1 + CGU_SCBF_DIS, 3);
+       clks[ADSP_SC594_CLK_CGU1_DCLK] = cgu_gate("dclk_1", "cgu1_ddiv",
+                                                 cgu1 + CGU_SCBF_DIS, 2);
+       clks[ADSP_SC594_CLK_CGU1_SCLK1] = cgu_gate("sclk1_1", "cgu1_sclk1sel",
+                                                  cgu1 + CGU_SCBF_DIS, 1);
+       clks[ADSP_SC594_CLK_CGU1_SCLK0] = cgu_gate("sclk0_1", "cgu1_s0seldiv",
+                                                  cgu1 + CGU_SCBF_DIS, 0);
+
+       // CDU output muxes
+       clks[ADSP_SC594_CLK_SHARC0_SEL] = cdu_mux("sharc0_sel", cdu + CDU_CFG0,
+                                                 sharc0_sels);
+       clks[ADSP_SC594_CLK_SHARC1_SEL] = cdu_mux("sharc1_sel", cdu + CDU_CFG1,
+                                                 sharc1_sels);
+       clks[ADSP_SC594_CLK_ARM_SEL] = cdu_mux("arm_sel", cdu + CDU_CFG2, arm_sels);
+       clks[ADSP_SC594_CLK_CDU_DDR_SEL] = cdu_mux("cdu_ddr_sel", cdu + CDU_CFG3,
+                                                  cdu_ddr_sels);
+       clks[ADSP_SC594_CLK_CAN_SEL] = cdu_mux("can_sel", cdu + CDU_CFG4, can_sels);
+       clks[ADSP_SC594_CLK_SPDIF_SEL] = cdu_mux("spdif_sel", cdu + CDU_CFG5, spdif_sels);
+       clks[ADSP_SC594_CLK_RESERVED_SEL] = cdu_mux("spi_sel", cdu + CDU_CFG6, spi_sels);
+       clks[ADSP_SC594_CLK_GIGE_SEL] = cdu_mux("gige_sel", cdu + CDU_CFG7, gige_sels);
+       clks[ADSP_SC594_CLK_LP_SEL] = cdu_mux("lp_sel", cdu + CDU_CFG8, lp_sels);
+       clks[ADSP_SC594_CLK_LPDDR_SEL] = cdu_mux("lpddr_sel", cdu + CDU_CFG9, lpddr_sels);
+       clks[ADSP_SC594_CLK_OSPI_SEL] = cdu_mux("ospi_sel", cdu + CDU_CFG10,
+                                               ospi_sels);
+       clks[ADSP_SC594_CLK_TRACE_SEL] = cdu_mux("trace_sel", cdu + CDU_CFG12,
+                                                trace_sels);
+
+       // CDU output enable gates
+       clks[ADSP_SC594_CLK_SHARC0] = cdu_gate("sharc0", "sharc0_sel",
+                                              cdu + CDU_CFG0, CLK_IS_CRITICAL);
+       clks[ADSP_SC594_CLK_SHARC1] = cdu_gate("sharc1", "sharc1_sel",
+                                              cdu + CDU_CFG1, CLK_IS_CRITICAL);
+       clks[ADSP_SC594_CLK_ARM] = cdu_gate("arm", "arm_sel", cdu + CDU_CFG2,
+                                           CLK_IS_CRITICAL);
+       clks[ADSP_SC594_CLK_CDU_DDR] = cdu_gate("cdu_ddr", "cdu_ddr_sel",
+                                               cdu + CDU_CFG3, CLK_IS_CRITICAL);
+       clks[ADSP_SC594_CLK_CAN] = cdu_gate("can", "can_sel", cdu + CDU_CFG4, 0);
+       clks[ADSP_SC594_CLK_SPDIF] = cdu_gate("spdif", "spdif_sel", cdu + CDU_CFG5, 0);
+       clks[ADSP_SC594_CLK_SPI] = cdu_gate("spi", "spi_sel", cdu + CDU_CFG6, 0);
+       clks[ADSP_SC594_CLK_GIGE] = cdu_gate("gige", "gige_sel", cdu + CDU_CFG7, 0);
+       clks[ADSP_SC594_CLK_LP] = cdu_gate("lp", "lp_sel", cdu + CDU_CFG8, 0);
+       clks[ADSP_SC594_CLK_LPDDR] = cdu_gate("lpddr", "lpddr_sel", cdu + CDU_CFG9, 0);
+       clks[ADSP_SC594_CLK_OSPI] = cdu_gate("ospi", "ospi_sel", cdu + CDU_CFG10, 0);
+       clks[ADSP_SC594_CLK_TRACE] = cdu_gate("trace", "trace_sel", cdu + CDU_CFG12, 0);
+
+       ret = cdu_check_clocks(clks, ARRAY_SIZE(clks));
+       if (ret)
+               pr_err("CDU error detected\n");
+
+       return ret;
+}
+
+static const struct udevice_id adi_sc594_clk_ids[] = {
+       { .compatible = "adi,sc594-clocks" },
+       { },
+};
+
+U_BOOT_DRIVER(adi_sc594_clk) = {
+       .name = "clk_adi_sc594",
+       .id = UCLASS_CLK,
+       .of_match = adi_sc594_clk_ids,
+       .ops            = &adi_clk_ops,
+       .probe = sc594_clock_probe,
+       .flags = DM_FLAG_PRE_RELOC,
+};
diff --git a/drivers/clk/adi/clk-adi-sc598.c b/drivers/clk/adi/clk-adi-sc598.c
new file mode 100644 (file)
index 0000000..d4a16ac
--- /dev/null
@@ -0,0 +1,308 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
+/*
+ * (C) Copyright 2022 - Analog Devices, Inc.
+ *
+ * Written and/or maintained by Timesys Corporation
+ *
+ * Author: Greg Malysa <greg.malysa@timesys.com>
+ *
+ * Ported from Linux: Nathan Barrett-Morrison <nathan.morrison@timesys.com>
+ */
+
+#include <clk.h>
+#include <clk-uclass.h>
+#include <dm.h>
+#include <dt-bindings/clock/adi-sc5xx-clock.h>
+#include <linux/compiler_types.h>
+#include <linux/clk-provider.h>
+#include <linux/io.h>
+#include <linux/ioport.h>
+#include <linux/printk.h>
+#include <linux/types.h>
+
+#include "clk.h"
+
+static const char * const cgu1_in_sels[] = {"sys_clkin0", "sys_clkin1"};
+static const char * const cgu0_s1sels[] = {"cgu0_s1seldiv", "cgu0_s1selexdiv"};
+static const char * const cgu1_s0sels[] = {"cgu1_s0seldiv", "cgu1_s0selexdiv"};
+static const char * const cgu1_s1sels[] = {"cgu1_s1seldiv", "cgu1_s1selexdiv"};
+static const char * const sharc0_sels[] = {"cclk0_0", "dummy", "dummy", "dummy"};
+static const char * const sharc1_sels[] = {"cclk0_0", "dummy", "dummy", "dummy"};
+static const char * const arm_sels[] = {"dummy", "dummy", "cclk2_0", "cclk2_1"};
+static const char * const cdu_ddr_sels[] = {"dclk_0", "dclk_1", "dummy", "dummy"};
+static const char * const can_sels[] = {"dummy", "oclk_1", "dummy", "dummy"};
+static const char * const spdif_sels[] = {"sclk1_0", "dummy", "dummy", "dummy"};
+static const char * const spi_sels[] = {"sclk0_0", "oclk_0", "dummy", "dummy"};
+static const char * const gige_sels[] = {"sclk0_0", "sclk0_1", "dummy", "dummy"};
+static const char * const lp_sels[] = {"oclk_0", "sclk0_0", "cclk0_1", "dummy"};
+static const char * const lp_ddr_sels[] = {"oclk_0", "dclk_0", "sysclk_1", "dummy"};
+static const char * const ospi_refclk_sels[] = {"sysclk_0", "sclk0_0", "sclk1_1",
+       "dummy"};
+static const char * const trace_sels[] = {"sclk0_0", "dummy", "dummy", "dummy"};
+static const char * const emmc_sels[] = {"oclk_0", "sclk0_1", "dclk_0_half",
+       "dclk_1_half"};
+static const char * const emmc_timer_sels[] = {"dummy", "sclk1_1_half", "dummy",
+       "dummy"};
+static const char * const ddr_sels[] = {"cdu_ddr", "3pll_ddiv"};
+
+static int sc598_clock_probe(struct udevice *dev)
+{
+       void __iomem *cgu0;
+       void __iomem *cgu1;
+       void __iomem *cdu;
+       void __iomem *pll3;
+       int ret;
+       struct resource res;
+
+       struct clk *clks[ADSP_SC598_CLK_END];
+       struct clk dummy, clkin0, clkin1;
+
+       ret = dev_read_resource_byname(dev, "cgu0", &res);
+       if (ret)
+               return ret;
+       cgu0 = devm_ioremap(dev, res.start, resource_size(&res));
+
+       ret = dev_read_resource_byname(dev, "cgu1", &res);
+       if (ret)
+               return ret;
+       cgu1 = devm_ioremap(dev, res.start, resource_size(&res));
+
+       ret = dev_read_resource_byname(dev, "cdu", &res);
+       if (ret)
+               return ret;
+       cdu = devm_ioremap(dev, res.start, resource_size(&res));
+
+       ret = dev_read_resource_byname(dev, "pll3", &res);
+       if (ret)
+               return ret;
+       pll3 = devm_ioremap(dev, res.start, resource_size(&res));
+
+       // We only access this one register for pll3
+       pll3 = pll3 + PLL3_OFFSET;
+
+       // Input clock configuration
+       clk_get_by_name(dev, "dummy", &dummy);
+       clk_get_by_name(dev, "sys_clkin0", &clkin0);
+       clk_get_by_name(dev, "sys_clkin1", &clkin1);
+
+       clks[ADSP_SC598_CLK_DUMMY] = &dummy;
+       clks[ADSP_SC598_CLK_SYS_CLKIN0] = &clkin0;
+       clks[ADSP_SC598_CLK_SYS_CLKIN1] = &clkin1;
+
+       clks[ADSP_SC598_CLK_CGU1_IN] = clk_register_mux(NULL, "cgu1_in_sel", cgu1_in_sels,
+                                                       2, CLK_SET_RATE_PARENT,
+                                                       cdu + CDU_CLKINSEL, 0, 1, 0);
+
+       // 3rd pll reuses cgu1 clk in selection, feeds directly into 3pll df
+       // changing the cgu1 in sel mux will affect 3pll so reuse the same clocks
+
+       // CGU configuration and internal clocks
+       clks[ADSP_SC598_CLK_CGU0_PLL_IN] = clk_register_divider(NULL, "cgu0_df",
+                                                               "sys_clkin0",
+                                                               CLK_SET_RATE_PARENT,
+                                                               cgu0 + CGU_CTL, 0, 1, 0);
+       clks[ADSP_SC598_CLK_CGU1_PLL_IN] = clk_register_divider(NULL, "cgu1_df",
+                                                               "cgu1_in_sel",
+                                                               CLK_SET_RATE_PARENT,
+                                                               cgu1 + CGU_CTL, 0, 1, 0);
+       clks[ADSP_SC598_CLK_3PLL_PLL_IN] = clk_register_divider(NULL, "3pll_df",
+                                                               "cgu1_in_sel",
+                                                               CLK_SET_RATE_PARENT,
+                                                               pll3, 3, 1, 0);
+
+       // VCO output inside PLL
+       clks[ADSP_SC598_CLK_CGU0_VCO_OUT] = sc5xx_cgu_pll("cgu0_vco", "cgu0_df",
+                                                         cgu0 + CGU_CTL, CGU_MSEL_SHIFT,
+                                                         CGU_MSEL_WIDTH, 0, true);
+       clks[ADSP_SC598_CLK_CGU1_VCO_OUT] = sc5xx_cgu_pll("cgu1_vco", "cgu1_df",
+                                                         cgu1 + CGU_CTL, CGU_MSEL_SHIFT,
+                                                         CGU_MSEL_WIDTH, 0, true);
+       clks[ADSP_SC598_CLK_3PLL_VCO_OUT] = sc5xx_cgu_pll("3pll_vco", "3pll_df",
+                                                         pll3, PLL3_MSEL_SHIFT,
+                                                         PLL3_MSEL_WIDTH, 1, true);
+
+       // Final PLL output
+       clks[ADSP_SC598_CLK_CGU0_PLLCLK] = clk_register_fixed_factor(NULL, "cgu0_pllclk",
+                                                                    "cgu0_vco",
+                                                                    CLK_SET_RATE_PARENT,
+                                                                    1, 2);
+       clks[ADSP_SC598_CLK_CGU1_PLLCLK] = clk_register_fixed_factor(NULL, "cgu1_pllclk",
+                                                                    "cgu1_vco",
+                                                                    CLK_SET_RATE_PARENT,
+                                                                    1, 2);
+       clks[ADSP_SC598_CLK_3PLL_PLLCLK] = clk_register_fixed_factor(NULL, "3pll_pllclk",
+                                                                    "3pll_vco",
+                                                                    CLK_SET_RATE_PARENT,
+                                                                    1, 2);
+
+       // Dividers from pll output
+       clks[ADSP_SC598_CLK_CGU0_CDIV] = cgu_divider("cgu0_cdiv", "cgu0_pllclk",
+                                                    cgu0 + CGU_DIV, 0, 5, 0);
+       clks[ADSP_SC598_CLK_CGU0_SYSCLK] = cgu_divider("sysclk_0", "cgu0_pllclk",
+                                                      cgu0 + CGU_DIV, 8, 5, 0);
+       clks[ADSP_SC598_CLK_CGU0_DDIV] = cgu_divider("cgu0_ddiv", "cgu0_pllclk",
+                                                    cgu0 + CGU_DIV, 16, 5, 0);
+       clks[ADSP_SC598_CLK_CGU0_ODIV] = cgu_divider("cgu0_odiv", "cgu0_pllclk",
+                                                    cgu0 + CGU_DIV, 22, 7, 0);
+       clks[ADSP_SC598_CLK_CGU0_S0SELDIV] = cgu_divider("cgu0_s0seldiv", "sysclk_0",
+                                                        cgu0 + CGU_DIV, 5, 3, 0);
+       clks[ADSP_SC598_CLK_CGU0_S1SELDIV] = cgu_divider("cgu0_s1seldiv", "sysclk_0",
+                                                        cgu0 + CGU_DIV, 13, 3, 0);
+       clks[ADSP_SC598_CLK_CGU0_S1SELEXDIV] = cgu_divider("cgu0_s1selexdiv",
+                                                          "cgu0_pllclk",
+                                                          cgu0 + CGU_DIVEX, 16, 8, 0);
+       clks[ADSP_SC598_CLK_CGU0_S1SEL] = clk_register_mux(NULL, "cgu0_sclk1sel",
+                                                          cgu0_s1sels, 2,
+                                                          CLK_SET_RATE_PARENT,
+                                                          cgu0 + CGU_CTL, 17, 1, 0);
+       clks[ADSP_SC598_CLK_CGU0_CCLK2] = clk_register_fixed_factor(NULL, "cclk2_0",
+                                                                   "cgu0_vco",
+                                                                   CLK_SET_RATE_PARENT,
+                                                                   1, 3);
+
+       clks[ADSP_SC598_CLK_CGU1_CDIV] = cgu_divider("cgu1_cdiv", "cgu1_pllclk",
+                                                    cgu1 + CGU_DIV, 0, 5, 0);
+       clks[ADSP_SC598_CLK_CGU1_SYSCLK] = cgu_divider("sysclk_1", "cgu1_pllclk",
+                                                      cgu1 + CGU_DIV, 8, 5, 0);
+       clks[ADSP_SC598_CLK_CGU1_DDIV] = cgu_divider("cgu1_ddiv", "cgu1_pllclk",
+                                                    cgu1 + CGU_DIV, 16, 5, 0);
+       clks[ADSP_SC598_CLK_CGU1_ODIV] = cgu_divider("cgu1_odiv", "cgu1_pllclk",
+                                                    cgu1 + CGU_DIV, 22, 7, 0);
+       clks[ADSP_SC598_CLK_CGU1_S0SELDIV] = cgu_divider("cgu1_s0seldiv", "sysclk_1",
+                                                        cgu1 + CGU_DIV, 5, 3, 0);
+       clks[ADSP_SC598_CLK_CGU1_S1SELDIV] = cgu_divider("cgu1_s1seldiv", "sysclk_1",
+                                                        cgu1 + CGU_DIV, 13, 3, 0);
+       clks[ADSP_SC598_CLK_CGU1_S0SELEXDIV] = cgu_divider("cgu1_s0selexdiv",
+                                                          "cgu1_pllclk",
+                                                          cgu1 + CGU_DIVEX, 0, 8, 0);
+       clks[ADSP_SC598_CLK_CGU1_S1SELEXDIV] = cgu_divider("cgu1_s1selexdiv",
+                                                          "cgu1_pllclk",
+                                                          cgu1 + CGU_DIVEX, 16, 8, 0);
+       clks[ADSP_SC598_CLK_CGU1_S0SEL] = clk_register_mux(NULL, "cgu1_sclk0sel",
+                                                          cgu1_s0sels, 2,
+                                                          CLK_SET_RATE_PARENT,
+                                                          cgu1 + CGU_CTL, 16, 1, 0);
+       clks[ADSP_SC598_CLK_CGU1_S1SEL] = clk_register_mux(NULL, "cgu1_sclk1sel",
+                                                          cgu1_s1sels, 2,
+                                                          CLK_SET_RATE_PARENT,
+                                                          cgu1 + CGU_CTL, 17, 1, 0);
+       clks[ADSP_SC598_CLK_CGU1_CCLK2] = clk_register_fixed_factor(NULL, "cclk2_1",
+                                                                   "cgu1_vco",
+                                                                   CLK_SET_RATE_PARENT,
+                                                                   1, 3);
+
+       clks[ADSP_SC598_CLK_3PLL_DDIV] = clk_register_divider(NULL, "3pll_ddiv",
+                                                             "3pll_pllclk",
+                                                             CLK_SET_RATE_PARENT, pll3,
+                                                             12, 5, 0);
+
+       // Gates to enable CGU outputs
+       clks[ADSP_SC598_CLK_CGU0_CCLK0] = cgu_gate("cclk0_0", "cgu0_cdiv",
+                                                  cgu0 + CGU_CCBF_DIS, 0);
+       clks[ADSP_SC598_CLK_CGU0_OCLK] = cgu_gate("oclk_0", "cgu0_odiv",
+                                                 cgu0 + CGU_SCBF_DIS, 3);
+       clks[ADSP_SC598_CLK_CGU0_DCLK] = cgu_gate("dclk_0", "cgu0_ddiv",
+                                                 cgu0 + CGU_SCBF_DIS, 2);
+       clks[ADSP_SC598_CLK_CGU0_SCLK1] = cgu_gate("sclk1_0", "cgu0_sclk1sel",
+                                                  cgu0 + CGU_SCBF_DIS, 1);
+       clks[ADSP_SC598_CLK_CGU0_SCLK0] = cgu_gate("sclk0_0", "cgu0_s0seldiv",
+                                                  cgu0 + CGU_SCBF_DIS, 0);
+
+       clks[ADSP_SC598_CLK_CGU1_CCLK0] = cgu_gate("cclk0_1", "cgu1_cdiv",
+                                                  cgu1 + CGU_CCBF_DIS, 0);
+       clks[ADSP_SC598_CLK_CGU1_OCLK] = cgu_gate("oclk_1", "cgu1_odiv",
+                                                 cgu1 + CGU_SCBF_DIS, 3);
+       clks[ADSP_SC598_CLK_CGU1_DCLK] = cgu_gate("dclk_1", "cgu1_ddiv",
+                                                 cgu1 + CGU_SCBF_DIS, 2);
+       clks[ADSP_SC598_CLK_CGU1_SCLK1] = cgu_gate("sclk1_1", "cgu1_sclk1sel",
+                                                  cgu1 + CGU_SCBF_DIS, 1);
+       clks[ADSP_SC598_CLK_CGU1_SCLK0] = cgu_gate("sclk0_1", "cgu1_sclk0sel",
+                                                  cgu1 + CGU_SCBF_DIS, 0);
+
+       // Extra half rate clocks generated in the CDU
+       clks[ADSP_SC598_CLK_DCLK0_HALF] = clk_register_fixed_factor(NULL, "dclk_0_half",
+                                                                   "dclk_0",
+                                                                   CLK_SET_RATE_PARENT,
+                                                                   1, 2);
+       clks[ADSP_SC598_CLK_DCLK1_HALF] = clk_register_fixed_factor(NULL, "dclk_1_half",
+                                                                   "dclk_1",
+                                                                   CLK_SET_RATE_PARENT,
+                                                                   1, 2);
+       clks[ADSP_SC598_CLK_CGU1_SCLK1_HALF] = clk_register_fixed_factor(NULL,
+                                                                        "sclk1_1_half",
+                                                                        "sclk1_1",
+                                                                        CLK_SET_RATE_PARENT,
+                                                                        1, 2);
+
+       // CDU output muxes
+       clks[ADSP_SC598_CLK_SHARC0_SEL] = cdu_mux("sharc0_sel", cdu + CDU_CFG0,
+                                                 sharc0_sels);
+       clks[ADSP_SC598_CLK_SHARC1_SEL] = cdu_mux("sharc1_sel", cdu + CDU_CFG1,
+                                                 sharc1_sels);
+       clks[ADSP_SC598_CLK_ARM_SEL] = cdu_mux("arm_sel", cdu + CDU_CFG2, arm_sels);
+       clks[ADSP_SC598_CLK_CDU_DDR_SEL] = cdu_mux("cdu_ddr_sel", cdu + CDU_CFG3,
+                                                  cdu_ddr_sels);
+       clks[ADSP_SC598_CLK_CAN_SEL] = cdu_mux("can_sel", cdu + CDU_CFG4, can_sels);
+       clks[ADSP_SC598_CLK_SPDIF_SEL] = cdu_mux("spdif_sel", cdu + CDU_CFG5, spdif_sels);
+       clks[ADSP_SC598_CLK_SPI_SEL] = cdu_mux("spi_sel", cdu + CDU_CFG6, spi_sels);
+       clks[ADSP_SC598_CLK_GIGE_SEL] = cdu_mux("gige_sel", cdu + CDU_CFG7, gige_sels);
+       clks[ADSP_SC598_CLK_LP_SEL] = cdu_mux("lp_sel", cdu + CDU_CFG8, lp_sels);
+       clks[ADSP_SC598_CLK_LP_DDR_SEL] = cdu_mux("lp_ddr_sel", cdu + CDU_CFG9,
+                                                 lp_ddr_sels);
+       clks[ADSP_SC598_CLK_OSPI_REFCLK_SEL] = cdu_mux("ospi_refclk_sel", cdu + CDU_CFG10,
+                                                      ospi_refclk_sels);
+       clks[ADSP_SC598_CLK_TRACE_SEL] = cdu_mux("trace_sel", cdu + CDU_CFG12,
+                                                trace_sels);
+       clks[ADSP_SC598_CLK_EMMC_SEL] = cdu_mux("emmc_sel", cdu + CDU_CFG13, emmc_sels);
+       clks[ADSP_SC598_CLK_EMMC_TIMER_QMC_SEL] = cdu_mux("emmc_timer_qmc_sel",
+                                                         cdu + CDU_CFG14,
+                                                         emmc_timer_sels);
+
+       // CDU output enable gates
+       clks[ADSP_SC598_CLK_SHARC0] = cdu_gate("sharc0", "sharc0_sel", cdu + CDU_CFG0,
+                                              CLK_IS_CRITICAL);
+       clks[ADSP_SC598_CLK_SHARC1] = cdu_gate("sharc1", "sharc1_sel", cdu + CDU_CFG1,
+                                              CLK_IS_CRITICAL);
+       clks[ADSP_SC598_CLK_ARM] = cdu_gate("arm", "arm_sel", cdu + CDU_CFG2,
+                                           CLK_IS_CRITICAL);
+       clks[ADSP_SC598_CLK_CDU_DDR] = cdu_gate("cdu_ddr", "cdu_ddr_sel", cdu + CDU_CFG3,
+                                               0);
+       clks[ADSP_SC598_CLK_CAN] = cdu_gate("can", "can_sel", cdu + CDU_CFG4, 0);
+       clks[ADSP_SC598_CLK_SPDIF] = cdu_gate("spdif", "spdif_sel", cdu + CDU_CFG5, 0);
+       clks[ADSP_SC598_CLK_SPI] = cdu_gate("spi", "spi_sel", cdu + CDU_CFG6, 0);
+       clks[ADSP_SC598_CLK_GIGE] = cdu_gate("gige", "gige_sel", cdu + CDU_CFG7, 0);
+       clks[ADSP_SC598_CLK_LP] = cdu_gate("lp", "lp_sel", cdu + CDU_CFG8, 0);
+       clks[ADSP_SC598_CLK_LP_DDR] = cdu_gate("lp_ddr", "lp_ddr_sel", cdu + CDU_CFG9, 0);
+       clks[ADSP_SC598_CLK_OSPI_REFCLK] = cdu_gate("ospi_refclk", "ospi_refclk_sel",
+                                                   cdu + CDU_CFG10, 0);
+       clks[ADSP_SC598_CLK_TRACE] = cdu_gate("trace", "trace_sel", cdu + CDU_CFG12, 0);
+       clks[ADSP_SC598_CLK_EMMC] = cdu_gate("emmc", "emmc_sel", cdu + CDU_CFG13, 0);
+       clks[ADSP_SC598_CLK_EMMC_TIMER_QMC] = cdu_gate("emmc_timer_qmc",
+                                                      "emmc_timer_qmc_sel",
+                                                      cdu + CDU_CFG14, 0);
+
+       // Dedicated DDR output mux
+       clks[ADSP_SC598_CLK_DDR] = clk_register_mux(NULL, "ddr", ddr_sels, 2,
+                                                   CLK_SET_RATE_PARENT | CLK_IS_CRITICAL,
+                                                   pll3, 11, 1, 0);
+
+       ret = cdu_check_clocks(clks, ARRAY_SIZE(clks));
+       if (ret)
+               pr_err("CDU error detected\n");
+
+       return ret;
+}
+
+static const struct udevice_id adi_sc598_clk_ids[] = {
+       { .compatible = "adi,sc598-clocks" },
+       { },
+};
+
+U_BOOT_DRIVER(adi_sc598_clk) = {
+       .name = "clk_adi_sc598",
+       .id = UCLASS_CLK,
+       .of_match = adi_sc598_clk_ids,
+       .ops            = &adi_clk_ops,
+       .probe = sc598_clock_probe,
+       .flags = DM_FLAG_PRE_RELOC,
+};
diff --git a/drivers/clk/adi/clk-shared.c b/drivers/clk/adi/clk-shared.c
new file mode 100644 (file)
index 0000000..dcadcaf
--- /dev/null
@@ -0,0 +1,48 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
+/*
+ * (C) Copyright 2022 - Analog Devices, Inc.
+ *
+ * Written and/or maintained by Timesys Corporation
+ *
+ * Author: Greg Malysa <greg.malysa@timesys.com>
+ */
+
+#include "clk.h"
+
+static ulong adi_get_rate(struct clk *clk)
+{
+       struct clk *c;
+       int ret;
+
+       ret = clk_get_by_id(clk->id, &c);
+       if (ret)
+               return ret;
+
+       return clk_get_rate(c);
+}
+
+static ulong adi_set_rate(struct clk *clk, ulong rate)
+{
+       //Not yet implemented
+       return 0;
+}
+
+static int adi_enable(struct clk *clk)
+{
+       //Not yet implemented
+       return 0;
+}
+
+static int adi_disable(struct clk *clk)
+{
+       //Not yet implemented
+       return 0;
+}
+
+const struct clk_ops adi_clk_ops = {
+       .set_rate = adi_set_rate,
+       .get_rate = adi_get_rate,
+       .enable = adi_enable,
+       .disable = adi_disable,
+};
+
diff --git a/drivers/clk/adi/clk.h b/drivers/clk/adi/clk.h
new file mode 100644 (file)
index 0000000..f230205
--- /dev/null
@@ -0,0 +1,123 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
+/*
+ * (C) Copyright 2022 - Analog Devices, Inc.
+ *
+ * Written and/or maintained by Timesys Corporation
+ *
+ * Author: Greg Malysa <greg.malysa@timesys.com>
+ *
+ * Ported from Linux: Nathan Barrett-Morrison <nathan.morrison@timesys.com>
+ */
+
+#ifndef CLK_ADI_CLK_H
+#define CLK_ADI_CLK_H
+
+#include <linux/compiler_types.h>
+#include <linux/types.h>
+#include <linux/clk-provider.h>
+
+#define CGU_CTL         0x00
+#define CGU_PLLCTL      0x04
+#define CGU_STAT        0x08
+#define CGU_DIV         0x0C
+#define CGU_CLKOUTSEL   0x10
+#define CGU_OSCWDCTL    0x14
+#define CGU_TSCTL       0x18
+#define CGU_TSVALUE0    0x1C
+#define CGU_TSVALUE1    0x20
+#define CGU_TSCOUNT0    0x24
+#define CGU_TSCOUNT1    0x28
+#define CGU_CCBF_DIS    0x2C
+#define CGU_CCBF_STAT   0x30
+#define CGU_SCBF_DIS    0x38
+#define CGU_SCBF_STAT   0x3C
+#define CGU_DIVEX       0x40
+#define CGU_REVID       0x48
+
+#define CDU_CFG0     0x00
+#define CDU_CFG1     0x04
+#define CDU_CFG2     0x08
+#define CDU_CFG3     0x0C
+#define CDU_CFG4     0x10
+#define CDU_CFG5     0x14
+#define CDU_CFG6     0x18
+#define CDU_CFG7     0x1C
+#define CDU_CFG8     0x20
+#define CDU_CFG9     0x24
+#define CDU_CFG10    0x28
+#define CDU_CFG11    0x2C
+#define CDU_CFG12    0x30
+#define CDU_CFG13    0x34
+#define CDU_CFG14    0x38
+
+#define PLL3_OFFSET 0x2c
+
+#define CDU_CLKINSEL 0x44
+
+#define CGU_MSEL_SHIFT 8
+#define CGU_MSEL_WIDTH 7
+
+#define PLL3_MSEL_SHIFT 4
+#define PLL3_MSEL_WIDTH 7
+
+#define CDU_MUX_SIZE 4
+#define CDU_MUX_SHIFT 1
+#define CDU_MUX_WIDTH 2
+#define CDU_EN_BIT 0
+
+extern const struct clk_ops adi_clk_ops;
+
+struct clk *sc5xx_cgu_pll(const char *name, const char *parent_name,
+                         void __iomem *base, u8 shift, u8 width, u32 m_offset, bool half_m);
+
+/**
+ * All CDU clock muxes are the same size
+ */
+static inline struct clk *cdu_mux(const char *name, void __iomem *reg,
+                                 const char * const *parents)
+{
+       return clk_register_mux(NULL, name, parents, CDU_MUX_SIZE,
+               CLK_SET_RATE_PARENT, reg, CDU_MUX_SHIFT, CDU_MUX_WIDTH, 0);
+}
+
+static inline struct clk *cgu_divider(const char *name, const char *parent,
+                                     void __iomem *reg, u8 shift, u8 width, u8 extra_flags)
+{
+       return clk_register_divider(NULL, name, parent, CLK_SET_RATE_PARENT,
+               reg, shift, width, CLK_DIVIDER_MAX_AT_ZERO | extra_flags);
+}
+
+static inline struct clk *cdu_gate(const char *name, const char *parent,
+                                  void __iomem *reg, u32 flags)
+{
+       return clk_register_gate(NULL, name, parent, CLK_SET_RATE_PARENT | flags,
+               reg, CDU_EN_BIT, 0, NULL);
+}
+
+static inline struct clk *cgu_gate(const char *name, const char *parent,
+                                  void __iomem *reg, u8 bit)
+{
+       return clk_register_gate(NULL, name, parent, CLK_SET_RATE_PARENT, reg, bit,
+               CLK_GATE_SET_TO_DISABLE, NULL);
+}
+
+static inline int cdu_check_clocks(struct clk *clks[], size_t count)
+{
+       size_t i;
+
+       for (i = 0; i < count; ++i) {
+               if (clks[i]) {
+                       if (IS_ERR(clks[i])) {
+                               pr_err("Clock %zu failed to register: %ld\n", i, PTR_ERR(clks[i]));
+                               return PTR_ERR(clks[i]);
+                       }
+                       clks[i]->id = i;
+               } else {
+                       pr_err("ADI Clock framework: Null pointer detected on clock %zu\n", i);
+               }
+       }
+
+       return 0;
+}
+
+#endif
index cca6d6741221f706d8825eb14be7d69a2bc4de7c..bdc7be0fb5d3f4c5a70cec763143f7546135b6f6 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2019 Intel Corporation <www.intel.com>
  */
 
-#include <common.h>
 #include <log.h>
 #include <asm/global_data.h>
 #include <asm/io.h>
index 92f2abdaf93587142dcdf0d24dad0b16045cb866..72b923465df58c56b66cdac57aeafecbdc09d1eb 100644 (file)
@@ -15,7 +15,6 @@
 #include <asm/global_data.h>
 #include <asm/io.h>
 #include <asm/system.h>
-#include <asm/u-boot.h>
 #include <dm/lists.h>
 #include <dm/util.h>
 #include <linux/bitops.h>
index 578597a16e81acdbb64913ea84587ac2add0bb75..1840f73beeec6a8efe79ae78cfcdda66841a8d47 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2018 Marek Vasut <marex@denx.de>
  */
 
-#include <common.h>
 #include <malloc.h>
 #include <asm/io.h>
 #include <clk-uclass.h>
index 9bbe2cd0ca70751cd2682e7d844b17406536fd84..b75f52d203b23b600b53ddbdf0fe5d2ef38c01a6 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2020-2022 Intel Corporation <www.intel.com>
  */
 
-#include <common.h>
 #include <asm/arch/clock_manager.h>
 #include <asm/global_data.h>
 #include <asm/io.h>
index 3fa19e05c47ef91c183e2034f620100138283030..3e256101a947a772fc273a4567d6e7e89f5d3092 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2020-2022 Intel Corporation <www.intel.com>
  */
 
-#include <common.h>
 #include <asm/arch/clock_manager.h>
 #include <asm/global_data.h>
 #include <asm/io.h>
index dc446ce9fb7dc6dfba0cc48b3bfd14c76411fabd..a330dcda4dcbeeb602f7210e262f88e64ab99623 100644 (file)
@@ -3,7 +3,6 @@
  * (C) Copyright 2016 Google, Inc
  */
 
-#include <common.h>
 #include <clk-uclass.h>
 #include <dm.h>
 #include <log.h>
index a15909329bbdbb96b87b1389cd342fcdf04dd65a..535010b7941484804573279f90226c2641dba034 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) ASPEED Technology Inc.
  */
 
-#include <common.h>
 #include <clk-uclass.h>
 #include <dm.h>
 #include <asm/io.h>
index 87738b7b5bffba9b3a9201d2a6476d1d3a046514..c410cd2b5052377ec4e10aca85b1cdd39bf4cf41 100644 (file)
@@ -8,7 +8,6 @@
  *
  * Based on drivers/clk/at91/clk-generated.c from Linux.
  */
-#include <common.h>
 #include <clk-uclass.h>
 #include <dm.h>
 #include <linux/io.h>
index 025c7a7aa26da8c3a4984843a04bfe3d1626a84d..09daae97676de7a682c88eb32f5292d586353ed8 100644 (file)
@@ -10,7 +10,6 @@
  */
 
 #include <asm/processor.h>
-#include <common.h>
 #include <clk-uclass.h>
 #include <dm.h>
 #include <linux/clk-provider.h>
index aec0bca7b3cb0fd7768f5f4e0fc4ea992535ca92..d28775d64d33ff8c939391bfab2701bbcec2e148 100644 (file)
@@ -11,7 +11,6 @@
 
 #include <asm/processor.h>
 #include <clk-uclass.h>
-#include <common.h>
 #include <div64.h>
 #include <dm.h>
 #include <linux/clk-provider.h>
index 52cbc520cef4bb3e21a1a6721be946e322b65fc1..08d7e7dddc9e5f769bc1200fd41214bc6daec130 100644 (file)
@@ -8,7 +8,6 @@
  *
  * Based on drivers/clk/at91/clk-peripheral.c from Linux.
  */
-#include <common.h>
 #include <clk-uclass.h>
 #include <dm.h>
 #include <linux/io.h>
index 868de4b1774b3b97b24cb486cacc9c1e9dbe0bb1..d0b14656c4d67355ae28b2425c32de8a75321616 100644 (file)
@@ -8,7 +8,6 @@
  *
  * Based on drivers/clk/at91/clk-programmable.c from Linux.
  */
-#include <common.h>
 #include <clk-uclass.h>
 #include <dm.h>
 #include <linux/clk-provider.h>
index 383f79cfbaf52abfe31f5a57ad08ea1cfae603a7..a30035eb8ce9626740e8e8708a0152081135771a 100644 (file)
@@ -11,7 +11,6 @@
  */
 
 #include <asm/processor.h>
-#include <common.h>
 #include <clk-uclass.h>
 #include <div64.h>
 #include <dm.h>
index 82f79e74a1902ccc0f6f7e3e563c259a042da39d..3545b0b24bd721d9e5e7b0cc3bf08b4757beeab9 100644 (file)
@@ -9,7 +9,6 @@
  * Based on drivers/clk/at91/clk-system.c from Linux.
  */
 #include <asm/processor.h>
-#include <common.h>
 #include <clk-uclass.h>
 #include <dm.h>
 #include <linux/io.h>
index 7c8bcfb51dba4e595adb06c08aba028ce451f94d..84784ae41ce8a0094aee2e8dd321463d1e2df865 100644 (file)
@@ -9,7 +9,6 @@
  * Based on drivers/clk/at91/clk-utmi.c from Linux.
  */
 #include <asm/processor.h>
-#include <common.h>
 #include <clk-uclass.h>
 #include <dm.h>
 #include <linux/clk-provider.h>
index ee67093c60737bb88cf1046b65513f954acf0ca8..1d738f160b6e0881ac6ca6730e54f016e9899b27 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Author: Claudiu Beznea <claudiu.beznea@microchip.com>
  */
-#include <common.h>
+#include <config.h>
 #include <clk-uclass.h>
 #include <dm.h>
 #include <asm/global_data.h>
index 87d2069d89ce98de506588836ec09688ddf50dff..aa4bc8fa47ad5d160a7702e11f423602134fa9dc 100644 (file)
@@ -4,7 +4,6 @@
  *               Wenyou.Yang <wenyou.yang@atmel.com>
  */
 
-#include <common.h>
 #include <asm/io.h>
 #include <clk-uclass.h>
 #include <linux/clk-provider.h>
index d858c860f696f9a49b1f052e6154b0c21ba07fb0..b7d64bdbb3d4b3e9a07bc0c43928252050251f99 100644 (file)
@@ -7,7 +7,6 @@
  * Based on sam9x60.c on Linux.
  */
 
-#include <common.h>
 #include <clk-uclass.h>
 #include <dm.h>
 #include <dt-bindings/clk/at91.h>
index 3e62fb1f58d34ba07f6c0a0b2d963efbf40f023c..63b2c6474679282bd136017cbc8ca4075323eabc 100644 (file)
@@ -9,7 +9,6 @@
  * Based on drivers/clk/at91/sama7g5.c from Linux.
  */
 
-#include <common.h>
 #include <clk-uclass.h>
 #include <dm.h>
 #include <dt-bindings/clk/at91.h>
index 43136ab2e349dd06224ca9a28e206687142c0344..6d6f12578db7027ab6890335c181804fa0852096 100644 (file)
@@ -7,7 +7,6 @@
  * Author: Claudiu Beznea <claudiu.beznea@microchip.com>
  */
 
-#include <common.h>
 #include <clk-uclass.h>
 #include <dm.h>
 #include <dt-bindings/clk/at91.h>
index b8700f517fc99c617f431b616afada8aaa199ea4..e5f74e714d54712e8b413c85bef5099993f0f57f 100644 (file)
@@ -8,7 +8,6 @@
  * Based on Linux kernel clk-cdce925.c.
  */
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <clk-uclass.h>
index d2e5a1ae401dcd038d484397294395eb0f0d2209..199ca6eaa370a87bfce567ee72a40024c562b48f 100644 (file)
@@ -6,7 +6,6 @@
 
 #define LOG_CATEGORY UCLASS_CLK
 
-#include <common.h>
 #include <clk.h>
 #include <clk-uclass.h>
 #include <log.h>
index 2ad682b8fe2c419f9af2e41d11a257f49ed100e0..aa210e3d15fdf11dcd0e59378a9cfa6c1ad5fc58 100644 (file)
@@ -11,7 +11,6 @@
 
 #define LOG_CATEGORY UCLASS_CLK
 
-#include <common.h>
 #include <asm/io.h>
 #include <malloc.h>
 #include <clk-uclass.h>
index 2a446788e191dc4b62db4d4b64ef8fb567b4217c..068798cf9b059dc0e03dfe3412a84eb69925319e 100644 (file)
@@ -8,7 +8,6 @@
 
 #define LOG_CATEGORY UCLASS_CLK
 
-#include <common.h>
 #include <clk.h>
 #include <clk-uclass.h>
 #include <div64.h>
index cfd90b717e73f3dd0a630617e16ee65d5ae40e45..bf1c6a93b468c023bfc6e514d77effd879055dab 100644 (file)
@@ -9,7 +9,6 @@
 
 #define LOG_CATEGORY UCLASS_CLK
 
-#include <common.h>
 #include <clk.h>
 #include <log.h>
 #include <clk-uclass.h>
index 85074f1b86e8720b6d6778fda4a67ca441d46266..53655059279e51d91b4fb81e43ca444c078cb956 100644 (file)
@@ -9,7 +9,6 @@
  * warranty of any kind, whether express or implied.
  */
 
-#include <common.h>
 #include <clk-uclass.h>
 #include <div64.h>
 #include <dm.h>
index f410518461e914348af8a2d28656032d38d04e41..39e01c3fbc61c85e49a8a8ba1ccd253544d84a79 100644 (file)
@@ -23,7 +23,6 @@
 
 #define LOG_CATEGORY UCLASS_CLK
 
-#include <common.h>
 #include <clk.h>
 #include <clk-uclass.h>
 #include <log.h>
index ed6e60bc4841892c8b42f81edf3cda4994a903ac..4c832f1a53073ff18434b1f669154d87136e4575 100644 (file)
@@ -8,7 +8,6 @@
 
 #define LOG_CATEGORY UCLASS_CLK
 
-#include <common.h>
 #include <clk.h>
 #include <clk-uclass.h>
 #include <dm.h>
index a10a843f11f9bb169109295af30fd878ee32f50e..4a3f50c638b18e9e208f3cf28a5a63b0027db9c6 100644 (file)
@@ -7,7 +7,6 @@
  * Author: Zhengxun Li <zhengxunli@mxic.com.tw>
  */
 
-#include <common.h>
 #include <clk-uclass.h>
 #include <dm.h>
 #include <div64.h>
index 6ede1b4d4dcc4ac16e3d547d825d5bf8088239ff..b8c2e8d531b91f986995d15669620feff936e617 100644 (file)
@@ -6,7 +6,6 @@
 
 #define LOG_CATEGORY UCLASS_CLK
 
-#include <common.h>
 #include <clk.h>
 #include <clk-uclass.h>
 #include <log.h>
index 8c22ed2f43d4a6f46cd04ff12040a4aa5eaa3744..0b41872b71923f28ac98569bfb8ea2291cafd926 100644 (file)
@@ -6,7 +6,6 @@
  *     Copyright (C) 2008 Maxime Bizon <mbizon@freebox.fr>
  */
 
-#include <common.h>
 #include <clk-uclass.h>
 #include <dm.h>
 #include <errno.h>
index 4bcf9117551232a20df1ff99900e5c891002d71f..030ff7cc58ec64d5b7ba5e83fdf0e03ab57aab33 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2016 Imagination Technologies
  */
 
-#include <common.h>
 #include <clk-uclass.h>
 #include <dm.h>
 #include <dt-bindings/clock/boston-clock.h>
index 6c1139e5c519fbba93dde1aa4194fcd40efd7a59..1d740cf49f6277233f8403f85ab78daeae904c28 100644 (file)
@@ -7,7 +7,6 @@
 
 #define LOG_CATEGORY UCLASS_CLK
 
-#include <common.h>
 #include <clk-uclass.h>
 #include <div64.h>
 #include <dm.h>
index b5e78c70559ed6e067c26157a4e866cb87f829d1..d1da05cc18a5b1eaeaf962cbc0c9c1e16388bdac 100644 (file)
@@ -5,7 +5,6 @@
 
 #define LOG_CATEGORY UCLASS_CLK
 
-#include <common.h>
 #include <clk-uclass.h>
 #include <dm.h>
 #include <log.h>
index 7432ae8f0642b1722e9efd42ae3d9351c643904d..d1a6cde8f0f8e8ad52873caa9b52d30435d472f5 100644 (file)
@@ -4,7 +4,6 @@
  */
 #define LOG_CATEGORY UCLASS_CLK
 
-#include <common.h>
 #include <clk.h>
 #include <clk-uclass.h>
 #include <div64.h>
index a77d0e7419c91d59a229cab477a43e43e7ad36e6..885aa834516589e0d2ed47df84b4124e42a72071 100644 (file)
@@ -4,7 +4,6 @@
  *
  */
 
-#include <common.h>
 #include <clk-uclass.h>
 #include <dm.h>
 #include <div64.h>
index 73d943f9e092313576e3a45018358c5564a8519e..8dd77f18d90170f30d1c6a6ff49ce2fdf561c51a 100644 (file)
@@ -3,7 +3,6 @@
  * (C) Copyright 2015 Google, Inc
  */
 
-#include <common.h>
 #include <clk-uclass.h>
 #include <dm.h>
 #include <errno.h>
index 38184e27aa4fe9158f35adf24f2d349f925dcb4c..f96a15c30b3aaca856c78323bf068e90d1bd17d3 100644 (file)
@@ -6,7 +6,6 @@
  * Common Clock Framework [CCF] driver for Sandbox
  */
 
-#include <common.h>
 #include <dm.h>
 #include <clk.h>
 #include <malloc.h>
index c224dc1d2cb9573f7fff1da9338a50663e31f55b..87350212775cb44eb1c78c852515b1a1d0264c38 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (c) 2016, NVIDIA CORPORATION.
  */
 
-#include <common.h>
 #include <dm.h>
 #include <clk.h>
 #include <malloc.h>
index 34a49363a51a89cc8d618058691bc6fd35850ca1..e42d2032d45e011b751c19b395b6f99d5c54e78e 100644 (file)
@@ -5,7 +5,6 @@
 
 #define LOG_CATEGORY UCLASS_CLK
 
-#include <common.h>
 #include <clk-uclass.h>
 #include <dm.h>
 #include <scmi_agent.h>
index bbe722560329c05950dbd15287075d40e8ff6879..9ccaf13d24202434b136108c9df1e8a80d8cb748 100644 (file)
@@ -5,7 +5,6 @@
  * Derived from code Copyright (C) 2017 Marek Vasut <marek.vasut@gmail.com>
  */
 
-#include <common.h>
 #include <clk.h>
 #include <clk-uclass.h>
 #include <dm.h>
index 42ab032bf7e79548584031719fdd48c8c5c23641..35ee56d0693d6b1dc8c67d277887e1403b372c57 100644 (file)
@@ -4,7 +4,6 @@
  * Siva Durga Prasad Paladugu <siva.durga.prasad.paladugu@amd.com>>
  */
 
-#include <common.h>
 #include <log.h>
 #include <asm/cache.h>
 #include <asm/ptrace.h>
index 3b1e0208d47e483d643a8cbb669d73503b877136..2e0e7bbe68ffaa5fa4b67d7ea52bb0912d168d8c 100644 (file)
@@ -5,7 +5,6 @@
  *
  */
 #define DEBUG
-#include <common.h>
 #include <clk-uclass.h>
 #include <dm.h>
 #include <log.h>
index e3cefe2e0c72f48b0bc991e9d4c91ab490ae8fed..b62b4646f4e557c74b022994735658458f03d42d 100644 (file)
@@ -7,7 +7,6 @@
  * Copyright (C) 2013 Xilinx, Inc. All rights reserved.
  */
 
-#include <common.h>
 #include <clk-uclass.h>
 #include <dm.h>
 #include <log.h>
index e23f7da3f9299910ab1a930db6a43963ad842efd..5999926614840bbad766773f1b3cc8576a5439ef 100644 (file)
@@ -5,7 +5,6 @@
  * Copyright (C) 2016 Xilinx, Inc.
  */
 
-#include <common.h>
 #include <log.h>
 #include <malloc.h>
 #include <dm/device_compat.h>
index 9caa932e12fb4657acfd9997bd3d84adc37f0afc..3aa751bf4e42b8634dad43d359769602c79bad43 100644 (file)
@@ -5,7 +5,6 @@
  * Thomas Abraham <thomas.ab@samsung.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <clk-uclass.h>
index 33fb6ed0c7a412afc9b971b8ffcc95daf6f6d574..9c61a84ea61f4183d6843ddb03d28a7a35de7d37 100644 (file)
@@ -9,7 +9,6 @@
  * Dirk Eibach,  Guntermann & Drunck GmbH, eibach@gdsys.de
  */
 
-#include <common.h>
 #include <dm.h>
 #include <clk-uclass.h>
 #include <i2c.h>
index 494156751dae6b21fdedc5e5b3cca76e615fa2fe..45f1bcaea2886126c4dd2117ac4e30b7aa8b15c6 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright 2019 NXP
  */
 
-#include <common.h>
 #include <log.h>
 #include <asm/io.h>
 #include <malloc.h>
index 6d71c0c03ffe8fef35a356ae976cfcf607f3b2cd..2cf20be2ccae356e116677076fd9276b47d2d79e 100644 (file)
@@ -4,7 +4,6 @@
  *
  * Peng Fan <peng.fan@nxp.com>
  */
-#include <common.h>
 #include <log.h>
 #include <asm/io.h>
 #include <malloc.h>
index 9228f279e27d75bc4fff40b34bd0e03f9854af04..8f42a5cb1b72d62c951d8c7f5e4bb7052e6e553b 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright 2021 NXP
  */
 
-#include <common.h>
 #include <asm/io.h>
 #include <malloc.h>
 #include <clk-uclass.h>
index bc8574137137f1cae311649b36563164695fc37a..d7f2640fbb7c25b0b1ecd50bbf6a5ed23191b0e6 100644 (file)
@@ -5,7 +5,6 @@
  * Peng Fan <peng.fan@nxp.com>
  */
 
-#include <common.h>
 #include <asm/io.h>
 #include <malloc.h>
 #include <clk-uclass.h>
index da2723023778eff9ce1eac9ed8ec7f7fcdb436b5..65fa6b5b139f31c8c2f098cc306c25892f4c81d0 100644 (file)
@@ -14,7 +14,6 @@
  *
  */
 
-#include <common.h>
 #include <asm/io.h>
 #include <malloc.h>
 #include <clk-uclass.h>
index 67825af89b8120b2e59b1b6e277efd677215b715..ba9923d8f6fab4322bb89a9d2fd678a1a22a8bfd 100644 (file)
@@ -4,7 +4,6 @@
  * Lukasz Majewski, DENX Software Engineering, lukma@denx.de
  */
 
-#include <common.h>
 #include <clk-uclass.h>
 #include <dm.h>
 #include <log.h>
index d39b87b2e245fce46ac417f800f0f730878dd0bb..96cf5fece75f849cfa03bb04f0f06e850e708f76 100644 (file)
@@ -4,7 +4,6 @@
  * Peng Fan <peng.fan@nxp.com>
  */
 
-#include <common.h>
 #include <clk-uclass.h>
 #include <dm.h>
 #include <log.h>
index 1a00dd1d287b2aa183927a25531ce02481b07d5a..70e2e53bdea5a10ec974c90dca552d565b7dcd5a 100644 (file)
@@ -4,7 +4,6 @@
  * Peng Fan <peng.fan@nxp.com>
  */
 
-#include <common.h>
 #include <clk.h>
 #include <clk-uclass.h>
 #include <dm.h>
index 457acb8a401ee5b6fa60cde9593f9d82ae03e3ee..ed9e16d7c180467c591f8dc8a4f82edb3a3c723a 100644 (file)
@@ -4,7 +4,6 @@
  * Peng Fan <peng.fan@nxp.com>
  */
 
-#include <common.h>
 #include <clk.h>
 #include <clk-uclass.h>
 #include <dm.h>
index 7dfc829df2c44158d8c0d1ab8337ef7ef7a71a43..1f498b6ba4ea4930a5ce960672e354a50a9c3ef9 100644 (file)
@@ -4,7 +4,6 @@
  * Peng Fan <peng.fan@nxp.com>
  */
 
-#include <common.h>
 #include <clk.h>
 #include <clk-uclass.h>
 #include <dm.h>
index cf197df96dbba262170cdbffde5dfc46d1c75038..ed4acd79ef741d63035907ef7820747a696d27f8 100644 (file)
@@ -5,7 +5,6 @@
  * Peng Fan <peng.fan@nxp.com>
  */
 
-#include <common.h>
 #include <clk.h>
 #include <clk-uclass.h>
 #include <dm.h>
index 01e33de9d63f26eb9b0c3bae0b48e443b3b473e1..62fed7e3e32cef0933f2a8e05edfc08af390bab7 100644 (file)
@@ -4,7 +4,6 @@
  * Peng Fan <peng.fan@nxp.com>
  */
 
-#include <common.h>
 #include <clk-uclass.h>
 #include <dm.h>
 #include <log.h>
index d900d4cd528642f1508050bb7d0deb27a3a82987..18bdc08971bfea55635d9d43e7219ce240ae7b7f 100644 (file)
@@ -4,7 +4,6 @@
  * Peng Fan <peng.fan@nxp.com>
  */
 
-#include <common.h>
 #include <clk-uclass.h>
 #include <dm.h>
 #include <log.h>
index f0cb797d97500d9032a01340aa00c1c813a7db03..ede36c412bffd3861a0c50a639e9261eda3b0fc9 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright 2021 NXP.
  */
 
-#include <common.h>
 #include <clk.h>
 #include <clk-uclass.h>
 #include <dm.h>
index dc91ac5adbf15b0494e2bc9e904f906a71c739aa..c80b02975aad0f8a83f794c4b17a149b6552c7be 100644 (file)
@@ -4,7 +4,6 @@
  * Author(s): Giulio Benetti <giulio.benetti@benettiengineering.com>
  */
 
-#include <common.h>
 #include <clk.h>
 #include <clk-uclass.h>
 #include <dm.h>
index d40635d17a4aadf4ef2cc5ba0e95467a42f8e1b4..754f3948427582fd095f32ed5f1c08259980cdc8 100644 (file)
@@ -4,7 +4,6 @@
  * Author(s): Giulio Benetti <giulio.benetti@benettiengineering.com>
  */
 
-#include <common.h>
 #include <clk.h>
 #include <clk-uclass.h>
 #include <dm.h>
index 077dd1bf02d3cbae359f142442fe38fa29694ee4..20b9dc315001dc0a614ea1497bd9bcff8157b0da 100644 (file)
@@ -4,7 +4,6 @@
  * Author(s): Jesse Taube <Mr.Bossman075@gmail.com>
  */
 
-#include <common.h>
 #include <clk.h>
 #include <clk-uclass.h>
 #include <dm.h>
index b8be3167c4cd9f6374df121fcf76541428bb60ed..378cdff072feb8f4c991eab717e2ed6f5c01f61b 100644 (file)
@@ -14,7 +14,6 @@
  * http://www.gnu.org/copyleft/gpl.html
  */
 
-#include <common.h>
 #include <asm/io.h>
 #include <malloc.h>
 #include <clk-uclass.h>
index 1cb685ee9abd4744f18c0a0712c0b49446bef267..3911e033905698d71196eb93dd662113c906e50c 100644 (file)
@@ -5,7 +5,6 @@
  * Peng Fan <peng.fan@nxp.com>
  */
 
-#include <common.h>
 #include <asm/io.h>
 #include <malloc.h>
 #include <clk-uclass.h>
index fad306aeed232156016a1a1536956b96991dd49d..c6692f2f9f5adc1a126339ee2ce822b9449ea285 100644 (file)
@@ -4,7 +4,6 @@
  * Lukasz Majewski, DENX Software Engineering, lukma@denx.de
  */
 
-#include <common.h>
 #include <asm/io.h>
 #include <div64.h>
 #include <malloc.h>
index 46ccbb1d834d28458bfd37cab709ed240bb24635..a677a7caac7c84e5576a8b228e8ce4493a2e92b3 100644 (file)
@@ -4,7 +4,6 @@
  * Written by Simon Glass <sjg@chromium.org>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <clk-uclass.h>
 #include <dt-bindings/clock/intel-clock.h>
index 259ea335959cf5de9ea5af3af74f52b1caed745b..2beb63030f22a4e620ddc2816c5cb57f2f275132 100644 (file)
@@ -6,7 +6,6 @@
  * Author: Ryder Lee <ryder.lee@mediatek.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <asm/arch-mediatek/reset.h>
index 0c7411ee814db8b2bcc22cc62f18509325dde845..5072c9983c111fab2146421065d4ac4dc9bd3b0d 100644 (file)
@@ -6,7 +6,6 @@
  * Author: Ryder Lee <ryder.lee@mediatek.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <asm/arch-mediatek/reset.h>
index 31b6fa02251ac945541d07435cf69a11f5f16efa..0c796a1788aaed56db1bb8d22d4fcfeae5879860 100644 (file)
@@ -6,7 +6,6 @@
  * Author: Ryder Lee <ryder.lee@mediatek.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <asm/arch-mediatek/reset.h>
index 17e653a1f00ad2d3a7cc193373aa7988bab7249d..9612a62e56a70c9049644bcd7e58e33eb0372967 100644 (file)
@@ -8,7 +8,6 @@
  * Author: Weiyi Lu <weiyi.lu@mediatek.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <asm/io.h>
 #include <dt-bindings/clock/mt8183-clk.h>
index 193e069cb05357becc63508c61875b73b88db5db..ab27067344288fd5127a17b392db9e096cd0a9b0 100644 (file)
@@ -6,7 +6,6 @@
  * Author: Chen Zhong <chen.zhong@mediatek.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <asm/io.h>
 #include <dt-bindings/clock/mt8512-clk.h>
index 29f70620e09dded79aecd8711d6fe3df7d381c7b..623f88499f1b0be2bd2b832d70cd10565eadfe18 100644 (file)
@@ -6,7 +6,6 @@
  * Author: Fabien Parent <fparent@baylibre.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <asm/io.h>
 #include <dt-bindings/clock/mt8516-clk.h>
index 23865148372693e3878ddf6c89168b27d4e03afe..ba8cc584d46f73dc06899c5c22a7bcff230c11f1 100644 (file)
@@ -6,7 +6,6 @@
  * Author: Chen Zhong <chen.zhong@mediatek.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <asm/io.h>
 #include <dt-bindings/clock/mt8518-clk.h>
index 4303300d3a8d3729148757dfc3a96c37a95ad974..d2c45be30decb552ce3bb435c6468919c3832b8b 100644 (file)
@@ -6,7 +6,6 @@
  * Author: Ryder Lee <ryder.lee@mediatek.com>
  */
 
-#include <common.h>
 #include <clk-uclass.h>
 #include <div64.h>
 #include <dm.h>
index 5220a337a8bbf7600a70fcae711990c58ae353cd..a1b8d79149102183402f470a60511d5300d0232c 100644 (file)
@@ -4,7 +4,6 @@
  * Author: Igor Prusov <ivprusov@salutedevices.com>
  */
 
-#include <common.h>
 #include <clk-uclass.h>
 #include <dm.h>
 #include <regmap.h>
index 311ffc1cca9a3b6927095128fe69b5bd9ae9d8bb..6ccf52127b027a4087d5a4f1076928888c62f468 100644 (file)
@@ -1,6 +1,5 @@
 // SPDX-License-Identifier: GPL-2.0+
 
-#include <common.h>
 #include <log.h>
 #include <asm/io.h>
 #include <clk-uclass.h>
index d6da59d269b0e09862ddf5dae45192d8ea4330f6..c421a622a587d2eddef70d28b65e560722cf7f62 100644 (file)
@@ -5,7 +5,6 @@
  * Author: Neil Armstrong <narmstrong@baylibre.com>
  */
 
-#include <common.h>
 #include <log.h>
 #include <asm/arch/clock-axg.h>
 #include <asm/io.h>
index 1a855a68966e5d07db4d52428a0bcf004d9d3f84..61d489c6e1c8df55245efd1e795259bd50594667 100644 (file)
@@ -1,6 +1,5 @@
 // SPDX-License-Identifier: GPL-2.0+
 
-#include <common.h>
 #include <log.h>
 #include <asm/io.h>
 #include <clk-uclass.h>
index e4fed8ddfb273bc8d10252ad21e07f5a4e14bfe6..5d7faaa3eabf98ca550ee371104c32b85c4396a5 100644 (file)
@@ -5,7 +5,6 @@
  * Author: Neil Armstrong <narmstrong@baylibre.com>
  */
 
-#include <common.h>
 #include <log.h>
 #include <asm/arch/clock-g12a.h>
 #include <asm/io.h>
index e379540deee77bff47e29310cff6a56394c64e02..72ad4fd0e85fd9e422082a7e241eb28d82e61312 100644 (file)
@@ -5,7 +5,6 @@
  * Author: Neil Armstrong <narmstrong@baylibre.com>
  */
 
-#include <common.h>
 #include <log.h>
 #include <asm/arch/clock-gx.h>
 #include <asm/io.h>
index 08f8bfcecbed28e1e15102e3c1bd5911d4fda0c3..0a82777ff74dbc7640e4263d2e8898e61ac9fda0 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2020 Microchip Technology Inc.
  * Padmarao Begari <padmarao.begari@microchip.com>
  */
-#include <common.h>
 #include <clk.h>
 #include <clk-uclass.h>
 #include <dm.h>
index 5739fd66e8dfb7caf9dca36e2950d92829a4764a..5e8fb9952895421bcb6156e88889dc0346d86e78 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2020 Microchip Technology Inc.
  * Padmarao Begari <padmarao.begari@microchip.com>
  */
-#include <common.h>
 #include <clk.h>
 #include <clk-uclass.h>
 #include <asm/io.h>
index f37c0d86047c6a7f882e3c675c06d14d448ccfae..d0e7b1ff844f00c4fd97f9188a376d1837ef1d99 100644 (file)
@@ -2,7 +2,6 @@
 /*
  * Copyright (C) 2022 Microchip Technology Inc.
  */
-#include <common.h>
 #include <clk.h>
 #include <clk-uclass.h>
 #include <asm/io.h>
index ddeccb9145759fc31bb8cca3ae11e379197d581d..41c6df4fb9795faee0ae2461c0599763b7e259b1 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2020 Microchip Technology Inc.
  * Padmarao Begari <padmarao.begari@microchip.com>
  */
-#include <common.h>
 #include <clk.h>
 #include <clk-uclass.h>
 #include <asm/io.h>
index cc734450ef002033c53356aae70762470015604c..a29ad0d7a68d7e8afaf2e46f92cf038a8ad6eadb 100644 (file)
@@ -4,7 +4,6 @@
  * Mario Six, Guntermann & Drunck GmbH, mario.six@gdsys.cc
  */
 
-#include <common.h>
 #include <clk-uclass.h>
 #include <clock_legacy.h>
 #include <command.h>
index 4d3ac847d1d56c2480ead9e225161440caeffc2c..2e263fb2cd2862a68ba29edfbfd7acc3e69e2b22 100644 (file)
@@ -5,7 +5,6 @@
  * Author: Weijie Gao <weijie.gao@mediatek.com>
  */
 
-#include <common.h>
 #include <clk-uclass.h>
 #include <dm.h>
 #include <dt-bindings/clock/mt7628-clk.h>
index f5c9bd735c1381c3855b3abc77834e0cb9c4f4f8..30330393f760fe34b3c78f23b617309b18903477 100644 (file)
@@ -8,7 +8,6 @@
  *   Gregory CLEMENT <gregory.clement@free-electrons.com>
  */
 
-#include <common.h>
 #include <malloc.h>
 #include <clk-uclass.h>
 #include <clk.h>
index 846a73cd6b3610978c7dfe447c236ee12b9c1d61..c1bab84c070e35f3ce739cfce2e1468157ebe71b 100644 (file)
@@ -8,7 +8,6 @@
  *   Gregory CLEMENT <gregory.clement@free-electrons.com>
  */
 
-#include <common.h>
 #include <clk-uclass.h>
 #include <clk.h>
 #include <dm.h>
index 678fdd5a45406377e97e1406001ab242f03be6cc..513112c1146ca055d99c85eddd7de527b674c60f 100644 (file)
@@ -6,7 +6,6 @@
  * Copyright (C) 2018 Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
  */
 
-#include <common.h>
 #include <dm.h>
 #include "clk_owl.h"
 #include <asm/io.h>
index d3b63b9c1ac5b440b32bab0bc9f7b1c9720c1c30..41fe4d896a7c8f79ec00659f597270c6689a8c43 100644 (file)
@@ -7,7 +7,6 @@
  * Based on Little Kernel driver, simplified
  */
 
-#include <common.h>
 #include <clk-uclass.h>
 #include <dm.h>
 #include <errno.h>
index 479f9771a46445e92aee194325193d403eb4f1a3..c77d69128b00ad5e2d926e61f50878c7164f2e3f 100644 (file)
@@ -7,7 +7,6 @@
  * Based on Little Kernel driver, simplified
  */
 
-#include <common.h>
 #include <clk-uclass.h>
 #include <dm.h>
 #include <errno.h>
index 72f235eab212be6acb827306f6458fb2159f8759..0e6d93b3d7c28c86f8e291758156a741a4a036ae 100644 (file)
@@ -9,7 +9,6 @@
  */
 
 #include <clk-uclass.h>
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <dt-bindings/clock/qcom,gcc-ipq4019.h>
index 05e5ab7d094b8534c9c7c73171101301f8c242cb..3a9cf2a231f2ca19d767a305edb832fa544a01f8 100644 (file)
@@ -12,7 +12,6 @@
  * Based on Little Kernel driver, simplified
  */
 
-#include <common.h>
 #include <clk-uclass.h>
 #include <dm.h>
 #include <dm/device-internal.h>
index 8a897a52bc00bf283b20c4d6dddcd2836e6a8da1..70a1f648e585920ff781362e65bd28e17aca62f3 100644 (file)
@@ -5,7 +5,6 @@
  * (C) Copyright 2022 Sumit Garg <sumit.garg@linaro.org>
  */
 
-#include <common.h>
 #include <clk-uclass.h>
 #include <dm.h>
 #include <errno.h>
index 782df7da8444fac96b1be98d2876cfc3c769d0bf..f41f8c9e8dee5b5d4fe0d6cd0ba6a83274400835 100644 (file)
@@ -8,7 +8,6 @@
  * Based on Little Kernel driver, simplified
  */
 
-#include <common.h>
 #include <clk-uclass.h>
 #include <dm.h>
 #include <linux/delay.h>
index 66f8bb1669557bfd03ae993dc28a5a73d58eceec..44c6f14618d2fb74d2093b5d8bf9bbfc8c66842d 100644 (file)
@@ -2,7 +2,6 @@
 /*
  * (C) Copyright 2018-2019 Rockchip Electronics Co., Ltd
  */
- #include <common.h>
 #include <bitfield.h>
 #include <clk-uclass.h>
 #include <dm.h>
index 2875c152b20d72638e9a1b7005e1366d4681b643..d7825c66493e267bdf5977f4628e7b4fdb1eb9e0 100644 (file)
@@ -3,7 +3,6 @@
  * (C) Copyright 2017 Rockchip Electronics Co., Ltd
  */
 
-#include <common.h>
 #include <bitfield.h>
 #include <clk-uclass.h>
 #include <dm.h>
index 6238b14c29e1a6436f5d5be4aa768c93f622eca5..274428f2b4bd5e0b52818b4dca898acb45b68055 100644 (file)
@@ -3,7 +3,6 @@
  * (C) Copyright 2015 Google, Inc
  */
 
-#include <common.h>
 #include <clk-uclass.h>
 #include <dm.h>
 #include <errno.h>
index f83335df6db6b42ad86b3fb112233f741dd02765..f7dea7859f7444de8f4531044b4ea521d56c1826 100644 (file)
@@ -5,7 +5,6 @@
  */
 
 #include <bitfield.h>
-#include <common.h>
 #include <clk-uclass.h>
 #include <dm.h>
 #include <dt-structs.h>
index 182754e7052decf8e45cf1770c78cbed894abac5..a07285593b554b8855048e25e4b9a52ad55a9dde 100644 (file)
@@ -3,7 +3,6 @@
  * (C) Copyright 2017 Rockchip Electronics Co., Ltd
  */
 
-#include <common.h>
 #include <clk-uclass.h>
 #include <dm.h>
 #include <errno.h>
index f98b46a0f73bf67df1b61fd559efa6eed560bedd..f569a100f22b3ebe450db0088ea768881253af7a 100644 (file)
@@ -4,7 +4,6 @@
  * (C) Copyright 2016 Heiko Stuebner <heiko@sntech.de>
  */
 
-#include <common.h>
 #include <clk-uclass.h>
 #include <dm.h>
 #include <dt-structs.h>
index 9371c4f63a4806a97d91ab53400be724829b351c..9b71fd863bad48832d0f0915e30d627102710fc0 100644 (file)
@@ -3,7 +3,6 @@
  * (C) Copyright 2017 Rockchip Electronics Co., Ltd
  */
 
-#include <common.h>
 #include <clk-uclass.h>
 #include <dm.h>
 #include <errno.h>
index 0b7eefad15f100a00c23a85e28c465a0b6481981..432a79291c8a4250b20735e71c7b5f9b7338d72c 100644 (file)
@@ -3,7 +3,6 @@
  * (C) Copyright 2015 Google, Inc
  */
 
-#include <common.h>
 #include <bitfield.h>
 #include <clk-uclass.h>
 #include <div64.h>
index 861648321d408431cd05c4f8d76108735f6b0fe5..e73bb6790af262c81a2ae11d94d700ec307d8861 100644 (file)
@@ -2,7 +2,6 @@
 /*
  * (C) Copyright 2017-2019 Rockchip Electronics Co., Ltd
  */
-#include <common.h>
 #include <bitfield.h>
 #include <clk-uclass.h>
 #include <dm.h>
index 314b903eaa03ea8b05044bbd4408da99946106f7..a4f6dd5a0f5ed5877f9f348eb8a0b8821ded2f23 100644 (file)
@@ -3,7 +3,6 @@
  * (C) Copyright 2017 Rockchip Electronics Co., Ltd
  */
 
-#include <common.h>
 #include <bitfield.h>
 #include <clk-uclass.h>
 #include <dm.h>
index 1c5dfaa3800b256a45c91d8e332937e6c4b43dcd..d8943980521576acf00ff205c0327cdd812e90e5 100644 (file)
@@ -5,7 +5,6 @@
  * (C) Copyright 2017 Theobroma Systems Design und Consulting GmbH
  */
 
-#include <common.h>
 #include <clk-uclass.h>
 #include <dm.h>
 #include <dt-structs.h>
index 67b2c05ec9ed30fe0a80af13e9dbf286b2c89fd5..24cefebd1b2a6eabb462ff51726e9ce7c0dda32c 100644 (file)
@@ -4,7 +4,6 @@
  * (C) 2017 Theobroma Systems Design und Consulting GmbH
  */
 
-#include <common.h>
 #include <clk-uclass.h>
 #include <dm.h>
 #include <dt-structs.h>
index 24eeca8bf265ab0cfe7eede20db3d1adefaaa643..35563509d61767b6d36bf8eaf4717141cf128973 100644 (file)
@@ -4,7 +4,6 @@
  * Author: Elaine Zhang <zhangqing@rock-chips.com>
  */
 
-#include <common.h>
 #include <bitfield.h>
 #include <clk-uclass.h>
 #include <dm.h>
index 4c611a390499201dd1fc93e5d589ae5094c957a5..ceae08a19aa586ad4d0d977d705e4327d22d0268 100644 (file)
@@ -4,7 +4,6 @@
  * Author: Elaine Zhang <zhangqing@rock-chips.com>
  */
 
-#include <common.h>
 #include <bitfield.h>
 #include <clk-uclass.h>
 #include <dm.h>
index fc442f7eebe24a5924b4e8b9530fdec054cddb12..75202a66aa68c1a4f820bab29b317ea484f95632 100644 (file)
@@ -4,7 +4,6 @@
  * Author: Andy Yan <andy.yan@rock-chips.com>
  */
 
-#include <common.h>
 #include <bitfield.h>
 #include <clk-uclass.h>
 #include <dm.h>
index cfdfcbdb0f4c21ee76ccebeab7e87355ed028b3d..aeeea95691479e8a6a450fb25b27f1b86d9494cb 100644 (file)
@@ -5,7 +5,6 @@
  * Author: Finley Xiao <finley.xiao@rock-chips.com>
  */
 
-#include <common.h>
 #include <bitfield.h>
 #include <clk-uclass.h>
 #include <dm.h>
index c8fb60029070576588d60a58f621ce1cb59a893f..5ea86062800693594c2dc00e9547588ee8766aaf 100644 (file)
@@ -22,7 +22,6 @@
  * https://github.com/riscv/riscv-linux/commit/999529edf517ed75b56659d456d221b2ee56bb60
  */
 
-#include <common.h>
 #include <clk-uclass.h>
 #include <clk.h>
 #include <dm.h>
index 1568a1f4cd912e681c0c0af7ad4d599ab49fb2aa..581035842fc31a27c3d10410873b979df1f7cf86 100644 (file)
@@ -6,7 +6,6 @@
  *             Xingyu Wu <xingyu.wu@starfivetech.com>
  */
 
-#include <common.h>
 #include <asm/io.h>
 #include <malloc.h>
 #include <clk-uclass.h>
index a38694809a0068fbf55191ed872f5bb7bd81e995..191da75d7ba2c3fe02f14e2db6bda08db9e46982 100644 (file)
@@ -6,7 +6,6 @@
  *             Xingyu Wu <xingyu.wu@starfivetech.com>
  */
 
-#include <common.h>
 #include <clk.h>
 #include <clk-uclass.h>
 #include <dm.h>
index 37e996e78f96ca08c290ed7b40c651ac6536ae4b..cad07cc952e77cec74f7749b11e25e77e0ef77fd 100644 (file)
@@ -6,7 +6,6 @@
 
 #define LOG_CATEGORY UCLASS_CLK
 
-#include <common.h>
 #include <clk-uclass.h>
 #include <dm.h>
 #include <log.h>
index d68c75ed2013c6246a372dcfa99be0db5b3e87d2..fceb3c44b94e4e4f5249ff1bc99c7ae4adba4316 100644 (file)
@@ -6,7 +6,6 @@
 
 #define LOG_CATEGORY UCLASS_CLK
 
-#include <common.h>
 #include <clk-uclass.h>
 #include <dm.h>
 #include <log.h>
index d440c28eb485f48ed2dba8bb38408067ccc74820..a554eda504deefea5f84535e1b5a642eb66cb617 100644 (file)
@@ -6,7 +6,6 @@
 
 #define LOG_CATEGORY UCLASS_CLK
 
-#include <common.h>
 #include <clk-uclass.h>
 #include <dm.h>
 #include <log.h>
index 6f000c8e44487f917a584b36f98bd0b2faa3e940..204ac170531dca93b16f3dd5db97268b9fbf6660 100644 (file)
@@ -5,7 +5,6 @@
 
 #define LOG_CATEGORY UCLASS_CLK
 
-#include <common.h>
 #include <clk-uclass.h>
 #include <div64.h>
 #include <dm.h>
index 5174ae53a1a226f21d0d83dc0bb8558087edc532..362dba10252182581fc05dc873f010e658dc9829 100644 (file)
@@ -7,7 +7,6 @@
 #define LOG_CATEGORY UCLASS_CLK
 
 #include <clk-uclass.h>
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <asm/io.h>
index f27306fe33b358c10b0e16b400709fc20b7f1c14..19fe248044b42c058bf520a3c3c9839fe22ae152 100644 (file)
@@ -4,7 +4,6 @@
  * Author: Jagan Teki <jagan@amarulasolutions.com>
  */
 
-#include <common.h>
 #include <clk-uclass.h>
 #include <dm.h>
 #include <errno.h>
index 16ac589bb2bf4f0c690b4b8aad370f2f8b9cfce2..f771369c9423c12846225d2d96a10712b4a21f6c 100644 (file)
@@ -4,7 +4,6 @@
  * Author: Jagan Teki <jagan@amarulasolutions.com>
  */
 
-#include <common.h>
 #include <clk-uclass.h>
 #include <dm.h>
 #include <errno.h>
index 45d5ba75bf51bff14fd4badcbbb333205956ba60..fdee4347e99174320aa2a71d661aabccba0f3e14 100644 (file)
@@ -4,7 +4,6 @@
  * Author: Jagan Teki <jagan@amarulasolutions.com>
  */
 
-#include <common.h>
 #include <clk-uclass.h>
 #include <dm.h>
 #include <errno.h>
index 6ca800050ed0c6cc2ac123a5d99a46869c873971..04f76a7c2a38f8818421ce91300e3619738f1762 100644 (file)
@@ -4,7 +4,6 @@
  * Author: Jagan Teki <jagan@amarulasolutions.com>
  */
 
-#include <common.h>
 #include <clk-uclass.h>
 #include <dm.h>
 #include <errno.h>
index fd26cd4f5d66f3dfe1134b51a54267e7ed3784ab..f1b01d25ddd41895487b4716b9c1b470a846d2dc 100644 (file)
@@ -4,7 +4,6 @@
  * Author: Jagan Teki <jagan@amarulasolutions.com>
  */
 
-#include <common.h>
 #include <clk-uclass.h>
 #include <dm.h>
 #include <errno.h>
index c5834f44103f1471d8d91cf45b10925a7a7f7580..6751af8a8031170c6ebf24462f558089bba2ea3c 100644 (file)
@@ -4,7 +4,6 @@
  * Author: Jagan Teki <jagan@amarulasolutions.com>
  */
 
-#include <common.h>
 #include <clk-uclass.h>
 #include <dm.h>
 #include <errno.h>
index 760d98cd620c5565df11c635befc351262b64272..d8621a3e64cc2595debea8b7d28b9f9fa86ce0b2 100644 (file)
@@ -4,7 +4,6 @@
  * Author: Jagan Teki <jagan@amarulasolutions.com>
  */
 
-#include <common.h>
 #include <clk-uclass.h>
 #include <dm.h>
 #include <errno.h>
index 9dae761de83c417c1fb0ab48ca83b4eb2313b383..b990a1185948e320a1dd05d8e7a02cff80b33fee 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2021 Samuel Holland <samuel@sholland.org>
  */
 
-#include <common.h>
 #include <clk-uclass.h>
 #include <dm.h>
 #include <errno.h>
index 7b4c3ce517650e21f88a194daefcf93d79c40dc1..e22956992014d29a32c05a9d67cf46d459a711ba 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2019 George Hilliard <thirtythreeforty@gmail.com>.
  */
 
-#include <common.h>
 #include <clk-uclass.h>
 #include <dm.h>
 #include <errno.h>
index 32bc95fccca48baf3b6cecff6ae65e02b4f78c47..ce55caeb1573c367dc044392a4c3303b1dd006f5 100644 (file)
@@ -4,7 +4,6 @@
  * Author: Jagan Teki <jagan@amarulasolutions.com>
  */
 
-#include <common.h>
 #include <clk-uclass.h>
 #include <dm.h>
 #include <errno.h>
index 071fd581003d4a1fea0ea3fc1a1ce58d6b5bf460..1b7bd9dea2f81e7c364d2537a7de592f5ff507f5 100644 (file)
@@ -4,7 +4,6 @@
  * Author: Jagan Teki <jagan@amarulasolutions.com>
  */
 
-#include <common.h>
 #include <clk-uclass.h>
 #include <dm.h>
 #include <errno.h>
index 113dcff2851555dc849429f2ed85e810a92fb42c..b1e999e18c1422957e71f4f1495bb86457021600 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2021 Jernej Skrabec <jernej.skrabec@siol.net>
  */
 
-#include <common.h>
 #include <clk-uclass.h>
 #include <dm.h>
 #include <errno.h>
index 0fef6f3566d524e172da5fb19e02c1527739af01..721debdae2386675d189d35590635bb5019d890c 100644 (file)
@@ -4,7 +4,6 @@
  * Author: Jagan Teki <jagan@amarulasolutions.com>
  */
 
-#include <common.h>
 #include <clk-uclass.h>
 #include <dm.h>
 #include <errno.h>
index 1782cffc404aab20f574fcc894eaf23a88e04aaa..2ef4f45dacf554628706032b6f89662c022bf796 100644 (file)
@@ -4,7 +4,6 @@
  * Author: Jagan Teki <jagan@amarulasolutions.com>
  */
 
-#include <common.h>
 #include <clk-uclass.h>
 #include <dm.h>
 #include <errno.h>
index 6524c13540e0c4f76666974ae146140918d0ac20..85410e282e8538c6609776780cd0821bf00a3102 100644 (file)
@@ -4,7 +4,6 @@
  * Author: Jagan Teki <jagan@amarulasolutions.com>
  */
 
-#include <common.h>
 #include <clk-uclass.h>
 #include <dm.h>
 #include <errno.h>
index c5214b9b3e2ebaf5902e5203522e91a019781a91..1d61f8dc378da51aa26e891fb674ab1f63de9f48 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (c) 2016, NVIDIA CORPORATION.
  */
 
-#include <common.h>
 #include <clk-uclass.h>
 #include <dm.h>
 #include <log.h>
index 5a98a3f3f0e6c5e769b4375a88e7219cf62b3c92..ec52326c3b365eac9845e2fb98531ae0da2f486a 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (c) 2016, NVIDIA CORPORATION.
  */
 
-#include <common.h>
 #include <clk-uclass.h>
 #include <dm.h>
 #include <log.h>
index 3cf279d6a3a9763c8fd15573bda7026e84df3ba3..1b0b9818cdd4d410bb0abf4ad8c3c5401b875147 100644 (file)
@@ -7,7 +7,6 @@
  * Loosely based on Linux kernel drivers/clk/ti/dpll.c
  */
 
-#include <common.h>
 #include <clk-uclass.h>
 #include <dm.h>
 #include <dm/device_compat.h>
index 398a011a5cea9c82c2d38c823a2bc498c870e6c9..21ec01f8dd9aa06d9938f06439fbff54b7265c19 100644 (file)
@@ -7,7 +7,6 @@
  * Loosely based on Linux kernel drivers/clk/ti/dpll.c
  */
 
-#include <common.h>
 #include <clk.h>
 #include <clk-uclass.h>
 #include <div64.h>
index 8926e57ebc848a8a080eb2be1a6337a8bbdf59bc..c5c97dc35c4de48d58fabd1e8d302bf9be529c44 100644 (file)
@@ -5,7 +5,6 @@
  * Copyright (C) 2020 Dario Binacchi <dariobin@libero.it>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <dm/device_compat.h>
 #include <clk-uclass.h>
index 15941f17811a51bf7edeaa412ca68fc2bb908fab..40a742d7fdc48ecf1c6b51913cc83cfa3d46e950 100644 (file)
@@ -7,7 +7,6 @@
  * Loosely based on Linux kernel drivers/clk/ti/divider.c
  */
 
-#include <common.h>
 #include <clk.h>
 #include <clk-uclass.h>
 #include <div64.h>
index eb15f6243f2046ece233ea49a5c854e7c6848f71..873ceb8a2ab7df9358eeecd721c1bd70a2b6db1c 100644 (file)
@@ -7,7 +7,6 @@
  * Loosely based on Linux kernel drivers/clk/ti/gate.c
  */
 
-#include <common.h>
 #include <dm.h>
 #include <dm/device_compat.h>
 #include <clk-uclass.h>
index 8323e6e6919c00d238475b475c35dee4f7bff629..b3a1b4cedb78f34af4ab9bf2b45639042a5d65ea 100644 (file)
@@ -6,7 +6,6 @@
  *     Tero Kristo <t-kristo@ti.com>
  */
 
-#include <common.h>
 #include <asm/io.h>
 #include <dm.h>
 #include <div64.h>
index 7aa162c2f70290a6dce1f2d76f99745215f57590..41e5022ea0cd1cdc6f6bfdd1e59894e76dcf8114 100644 (file)
@@ -6,7 +6,6 @@
  *     Tero Kristo <t-kristo@ti.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <soc.h>
index 215241b16135ba0610d405c3a0d944808c2197d7..db5393414318f11c193a5f498c60a2415ec6fabc 100644 (file)
@@ -7,7 +7,6 @@
  * Based on Linux kernel drivers/clk/ti/mux.c
  */
 
-#include <common.h>
 #include <dm.h>
 #include <dm/device_compat.h>
 #include <clk-uclass.h>
index 9e5760d33544ebcf958634ee45a58ddda011b7c1..e374bd3bcc20d140ca0e25d0ec63f3faeda06901 100644 (file)
@@ -8,7 +8,6 @@
  * Loosely based on Linux kernel sci-clk.c...
  */
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <clk-uclass.h>
index 6e5cc90f0f8ca5780e38faba7bd95c96e015dcbf..28cd151288190c9d2abcebfe977c12c6df72d416 100644 (file)
@@ -5,7 +5,6 @@
  * Copyright (C) 2020 Dario Binacchi <dariobin@libero.it>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <fdtdec.h>
 #include <regmap.h>
index 3cdc9b28887d96b298f17aab8788270460106e95..a30ce9d09d273fece962b1f767e6dc615278fed9 100644 (file)
@@ -5,7 +5,6 @@
  * Copyright (C) 2020 Dario Binacchi <dariobin@libero.it>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <dm/lists.h>
 
index c31e59641d9344bd5f6e870bfd0c2c3ed081e657..33369c93916b06a68f81db056988bd4954adae4c 100644 (file)
@@ -4,7 +4,6 @@
  *   Author: Masahiro Yamada <yamada.masahiro@socionext.com>
  */
 
-#include <common.h>
 #include <clk-uclass.h>
 #include <dm.h>
 #include <dm/device_compat.h>
index 0ebd288ab4209788dd0f93271e3dbcc18915dfef..9f7842289218cce3a0638c523e566012bae60379 100644 (file)
@@ -8,7 +8,6 @@
 
 #define LOG_CATEOGRY   LOGC_ACPI
 
-#include <common.h>
 #include <display_options.h>
 #include <dm.h>
 #include <log.h>
index a86b9325dd8d68047c52c54446ef2be2ef8290d7..437080ed778099bfd4eb71a2ff58ad8206b2192d 100644 (file)
@@ -10,7 +10,6 @@
 
 #define LOG_CATEGORY   LOGC_DM
 
-#include <common.h>
 #include <errno.h>
 #include <log.h>
 #include <malloc.h>
index bf7f261cbce02f36be0a7b39027beb478c5cc633..18e2bd02dd56acb98f65901bfb2a8b3183b87a05 100644 (file)
@@ -8,8 +8,8 @@
  * Pavel Herrmann <morpheus.ibis@gmail.com>
  */
 
-#include <common.h>
 #include <cpu_func.h>
+#include <errno.h>
 #include <event.h>
 #include <log.h>
 #include <asm/global_data.h>
index 78914bdf7f210c15e7eb75453e0be95e92812505..8df08b91021c3758a9d37216f426a21e9592c9a9 100644 (file)
@@ -9,7 +9,6 @@
 
 #define LOG_CATEGORY LOGC_DEVRES
 
-#include <common.h>
 #include <log.h>
 #include <malloc.h>
 #include <linux/compat.h>
index 841124830ee78928bd9793cacf0f1a9d4530e6ef..5ec30d5b3c1a49ef92754a907f60800d0040c4e6 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (c) 2015 Google, Inc
  */
 
-#include <common.h>
 #include <dm.h>
 #include <malloc.h>
 #include <mapmem.h>
index 5f27d25114851192a7fcc90ce3be9da0a500f6b3..6be8ea0c0a9c9af0373b9b10d667ec7c8b346bda 100644 (file)
@@ -8,7 +8,6 @@
  * Pavel Herrmann <morpheus.ibis@gmail.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <fdt_support.h>
 #include <log.h>
index 8034a8f48d99bca46e4df87a15215aa371b6297d..2839a9b737180295c7436711a4441203d9fbcffe 100644 (file)
@@ -8,7 +8,6 @@
 
 #define LOG_CATEGORY LOGC_DM
 
-#include <common.h>
 #include <errno.h>
 #include <log.h>
 #include <dm/device.h>
index c8db743f529841667dd38b1e1da558675f7411c7..41f2e09b9c276f617274d66dca4ae3d7b74a2bc1 100644 (file)
@@ -19,7 +19,6 @@
  * Linux version.
  */
 
-#include <common.h>
 #include <log.h>
 #include <malloc.h>
 #include <asm/global_data.h>
index b3b3d7ccdd56adb0b9bc6a2ce0ef36d15e500f5e..d7913ab3d2fd582102c54663b8f4be541acadaff 100644 (file)
@@ -6,7 +6,6 @@
  * Copyright (c) 2017 Google, Inc
  */
 
-#include <common.h>
 #include <log.h>
 #include <linux/bug.h>
 #include <linux/libfdt.h>
index 59ce9174ad076bff7795c108c06620b026e6688f..a3ebe9e9c2455895b67bc5f8db995d2f15dd4738 100644 (file)
@@ -4,7 +4,6 @@
  * Written by Simon Glass <sjg@chromium.org>
  */
 
-#include <common.h>
 #include <log.h>
 #include <linux/libfdt.h>
 #include <dm/of_access.h>
index 21a233f90f0b45c00e7cc996e52534d68a4aae03..9a5eaaa4d1342a416990395a9289cd5c4a4f29e3 100644 (file)
@@ -6,7 +6,6 @@
 
 #define LOG_CATEGORY   LOGC_DT
 
-#include <common.h>
 #include <dm.h>
 #include <fdtdec.h>
 #include <fdt_support.h>
index 1a4a95cddea34a9f65b08e5e916a6b11516e944f..55c19f335ae12b8d9f83d1cb2a10e2ffc13cf935 100644 (file)
@@ -4,7 +4,6 @@
  * Written by Simon Glass <sjg@chromium.org>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <dm/of_access.h>
 #include <mapmem.h>
index 5138348827831f370cd23c45aaa388ec6fc9c760..5a0153a46610e5789435fff0ab4f04461968abe8 100644 (file)
@@ -4,7 +4,6 @@
  * Written by Simon Glass <sjg@chromium.org>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <dm/of_addr.h>
 #include <dm/read.h>
index dd32328098c42d61d5be496bba40cf1c6282e5a4..7ff7834bdf08cef904b0cc7449b540ba2da888bb 100644 (file)
@@ -6,7 +6,6 @@
 
 #define LOG_CATEGORY   LOGC_DM
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <log.h>
index d4ae652bcfb1d5b625d845974b0234bb015063da..4bfd08f4813075b422770b7f8531b069f3418978 100644 (file)
@@ -8,7 +8,6 @@
 
 #define LOG_CATEGORY UCLASS_ROOT
 
-#include <common.h>
 #include <errno.h>
 #include <fdtdec.h>
 #include <log.h>
index 6022e7514e0e99ebda831a5724a2eb877a7ff9f5..f402bb5d6748f3c9b492da78a0538d4e22c334fb 100644 (file)
@@ -5,7 +5,6 @@
 
 #define LOG_CATEGORY UCLASS_SIMPLE_BUS
 
-#include <common.h>
 #include <asm/global_data.h>
 #include <dm.h>
 #include <dm/simple_bus.h>
index 1bb0d86e289dc1bea90ffcb93c051afc7fa1ddc8..f38372ec60bcad4d8c630001d164630f2f99dc32 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2020 Sean Anderson <seanga2@gmail.com>
  */
 
-#include <common.h>
 #include <clk.h>
 #include <dm.h>
 
index a47b8bd3c0175b3688f315f59426825083ceaf55..f0e69d7216b3f0f0eeaf1726d1b37b1577335473 100644 (file)
@@ -6,7 +6,6 @@
 
 #define LOG_CATEGORY UCLASS_SYSCON
 
-#include <common.h>
 #include <log.h>
 #include <syscon.h>
 #include <dm.h>
index e46d5717aa62206d18734573ffe31cc8ede399bf..762536eebc6ee2f89f1e3ff36b1032d107481d53 100644 (file)
@@ -8,7 +8,6 @@
 
 #define LOG_CATEGORY LOGC_DM
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <log.h>
index 81497df85ffd191c54026ead92cb907f24a4bfc9..108a3bc4dac14c41ae22466fe195595ab2b8babb 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (c) 2013 Google, Inc
  */
 
-#include <common.h>
 #include <dm/device.h>
 #include <dm/ofnode.h>
 #include <dm/read.h>
index 34a3f61c7e95709afb42a4dd2a35e05ed075714f..b45cc6ca1a9af8c59ca5a0adeebf8470e841eb02 100644 (file)
@@ -5,7 +5,6 @@
  * Author: Claudiu Beznea <claudiu.beznea@microchip.com>
  */
 
-#include <common.h>
 #include <cpu.h>
 #include <dm.h>
 #include <div64.h>
index 3dd04fa88581191068b4bc56b82fa23a2c760997..db624ee47fb0e642990c771e816d5c9c6db7de6a 100644 (file)
@@ -7,7 +7,6 @@
  *     Copyright (C) 2009 Florian Fainelli <florian@openwrt.org>
  */
 
-#include <common.h>
 #include <cpu.h>
 #include <display_options.h>
 #include <dm.h>
index 9772578968bacc1f4f9d80974e29e09813298554..16f8f2e52194a33869ad733a33cb0b9297f8d3ee 100644 (file)
@@ -6,7 +6,6 @@
 
 #define LOG_CATEGORY UCLASS_CPU
 
-#include <common.h>
 #include <cpu.h>
 #include <dm.h>
 #include <errno.h>
index 2e871fe313c107d83a0c85e103e406cfe2ed57fe..e65e1bdc51bfafe93b303c12ae8aabb8503eb267 100644 (file)
@@ -4,7 +4,6 @@
  * Mario Six, Guntermann & Drunck GmbH, mario.six@gdsys.cc
  */
 
-#include <common.h>
 #include <dm.h>
 #include <cpu.h>
 
index 98ff95f5ff5c84f2fe82fa7411a8bd6be124bd3e..4781a565547a15e032038fb49060666867ffbe44 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright 2019 NXP
  */
 
-#include <common.h>
 #include <cpu.h>
 #include <dm.h>
 #include <thermal.h>
index a229f6913b07ee18318b9e6d5cb8bddcf1db5048..4e24ada40022e919a2d792cb49dec8556f588894 100644 (file)
@@ -2,7 +2,6 @@
 /*
  * Copyright (C) 2022, Ovidiu Panait <ovpanait@gmail.com>
  */
-#include <common.h>
 #include <cpu.h>
 #include <dm.h>
 #include <asm/cpuinfo.h>
index e451c11116ab8037f4fe0df497396f678da6d317..9a7b5fd7c423480ca6b812adb6a6830682d42f9f 100644 (file)
@@ -4,7 +4,6 @@
  * Mario Six, Guntermann & Drunck GmbH, mario.six@gdsys.cc
  */
 
-#include <common.h>
 #include <bitfield.h>
 #include <clk.h>
 #include <cpu.h>
index d39a943cb8478baa3ebd91d6ef07c40545eb6de7..4fff4658b5fda9e500cffe4637c47d65cd2c7d9d 100644 (file)
@@ -5,7 +5,6 @@
  */
 
 #include <clk.h>
-#include <common.h>
 #include <cpu.h>
 #include <dm.h>
 #include <errno.h>
index 261d3efe84e5827a81d0cdbd20108706b32d892f..0e43e82fc5fa3fb465d169766cdc3de1b42372d1 100644 (file)
@@ -3,10 +3,12 @@
  * Advanced Crypto Engine - SHA Firmware
  * Copyright (c) 2012  Samsung Electronics
  */
-#include <common.h>
+
+#include <config.h>
 #include "ace_sha.h"
 #include <log.h>
 #include <rand.h>
+#include <linux/string.h>
 
 #ifdef CONFIG_SHA_HW_ACCEL
 #include <u-boot/sha256.h>
index ad9e81a586c74fdd4ec0c0c39307207c94f0be1e..efc791a4def4eb56e7a8dbfe9f6ea88849477c40 100644 (file)
@@ -8,6 +8,8 @@
 #ifndef __ACE_SHA_H
 #define __ACE_SHA_H
 
+#include  <linux/types.h>
+
 struct exynos_ace_sfr {
        unsigned int    fc_intstat;     /* base + 0 */
        unsigned int    fc_intenset;
index 47a007f633a68b8fd1fbadc4f336b4b017fb5d1d..e3f81ebd5c742dca063cb3929ce54c84b8c97cb3 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright 2021 ASPEED Technology Inc.
  */
 #include <config.h>
-#include <common.h>
 #include <clk.h>
 #include <dm.h>
 #include <asm/types.h>
index 6b6c8fa658892e212ef1aa240ebe996e18b0bdb4..17cc30a7b54dfe1a70b71b376d33ce4796c0e64f 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright 2021 ASPEED Technology Inc.
  */
 #include <config.h>
-#include <common.h>
 #include <dm.h>
 #include <clk.h>
 #include <log.h>
index 31706960157c904360650c7642dfc9ee36283e55..6b19c171fcdae4bf607ef81b4c2d8728c79cfaec 100644 (file)
@@ -7,7 +7,6 @@
  * Based on RNGC driver in drivers/char/hw_random/imx-rngc.c in Linux
  */
 
-#include <common.h>
 #include <cpu_func.h>
 #include <dm.h>
 #include <rng.h>
index c76574919c74f60784edd2036b5c217f11fbc8b3..7b232d94c2a3167b1272f8b7ec8c4de614fdb788 100644 (file)
@@ -7,9 +7,9 @@
  * Derived from error.c file in linux drivers/crypto/caam
  */
 
-#include <common.h>
 #include <log.h>
 #include <malloc.h>
+#include <vsprintf.h>
 #include "desc.h"
 #include "jr.h"
 
index 9b6e4bca062c4a67de25fccbc558c5c9b113bd1d..0ecd6befd2591dc48afc901ef1c100896cc27884 100644 (file)
@@ -4,7 +4,6 @@
  *
  */
 
-#include <common.h>
 #include <cpu_func.h>
 #include <log.h>
 #include <malloc.h>
index f22f24b60775e6aca58adb4f15ddcdfecb2073b3..79b32e2627c4579816a036efaea2adaff2c939f8 100644 (file)
@@ -4,7 +4,6 @@
  * Copyright 2021 NXP
  */
 
-#include <common.h>
 #include <cpu_func.h>
 #include <log.h>
 #include <malloc.h>
index 29af79f577dc8d770fcf950b45f7b73d745a6720..7c22f8e012b839b0778a619506294974f03baba4 100644 (file)
@@ -4,7 +4,6 @@
  * Copyright 2017 NXP
  */
 
-#include <common.h>
 #include <errno.h>
 #include <fsl_sec.h>
 #include <memalign.h>
index 335b7fe25acbcf65fe6994c54ca6bdd82c51d190..125a72ae6d32cfb92b672e99bf2b7f38f50ff99a 100644 (file)
@@ -5,7 +5,6 @@
  */
 
 #include <config.h>
-#include <common.h>
 #include <cpu_func.h>
 #include <dm.h>
 #include <log.h>
index d32c1fe5c31aa6137ce40c4676c9cd4798abaa14..55191736931812cecd968995ef74f73b84edb16d 100644 (file)
@@ -8,7 +8,7 @@
  *
  */
 
-#include <common.h>
+#include <config.h>
 #include <cpu_func.h>
 #include <fsl_sec.h>
 #include "desc_constr.h"
index 8ae5c434bdbe70c35de20ace828a03125a59a28e..27e2480894657aacb05ddcefb5c354d49d67c7a0 100644 (file)
@@ -6,7 +6,7 @@
  * Based on CAAM driver in drivers/crypto/caam in Linux
  */
 
-#include <common.h>
+#include <config.h>
 #include <cpu_func.h>
 #include <linux/kernel.h>
 #include <log.h>
index 0636494805218a28d3769a1050285108adc77bdc..786a710f5fb6f1f76cf86d20e8dd2c9e40a518de 100644 (file)
@@ -7,7 +7,6 @@
  */
 
 #include <asm/cache.h>
-#include <common.h>
 #include <cpu_func.h>
 #include <dm.h>
 #include <rng.h>
index 9de30a6112fa2af8d24eaad30b7e7781d9f7bb92..e9c39ddcfd9e4415e3b7e08ece2888b772d2342b 100644 (file)
@@ -3,7 +3,7 @@
  * Copyright 2014 Freescale Semiconductor, Inc.
  */
 
-#include <common.h>
+#include <config.h>
 #include <linux/libfdt.h>
 #include <fdt_support.h>
 #if CONFIG_SYS_FSL_SEC_COMPAT == 2 || CONFIG_SYS_FSL_SEC_COMPAT >= 4
index 446eb9e56a4f9246db856d96bb4f6082723c540b..5d9f1e0d59bd6c21b41069ac7aa655943ae5b06b 100644 (file)
@@ -6,7 +6,6 @@
 
 #define LOG_CATEGORY UCLASS_HASH
 
-#include <common.h>
 #include <dm.h>
 #include <asm/global_data.h>
 #include <u-boot/hash.h>
index d8065d68ea486fbe70b414fae56af11ae0793e0a..ffd4ab149ffb5acedeaf5db090868078433468b1 100644 (file)
@@ -4,7 +4,6 @@
  * Author: ChiaWei Wang <chiawei_wang@aspeedtech.com>
  */
 #include <config.h>
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <malloc.h>
index 6493ea108ec7fafd92b14adf613cf29907411c64..8d3a30ea918d6a9ec3d40e3ea869c17a9f8f3e9d 100644 (file)
@@ -3,13 +3,13 @@
  * Copyright (c) 2021 Nuvoton Technology Corp.
  */
 
-#include <common.h>
 #include <dm.h>
 #include <uboot_aes.h>
 #include <asm/io.h>
 #include <asm/arch/aes.h>
 #include <asm/arch/otp.h>
 #include <malloc.h>
+#include <time.h>
 
 #define ONE_SECOND 0xC00000
 
index 2a5e6726880b77150a31fc3abcc6e205e642d693..6da162069aa73bbf432a15369e92eeb371939de2 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (c) 2024 Nuvoton Technology Corp.
  */
 
-#include <common.h>
 #include <dm.h>
 #include <hash.h>
 #include <malloc.h>
index 7bed444c3fbf2440c47b97e477ae2f86af4af40a..4f59adc09c9c94c46e3fc300fd5dddc72429b7e7 100644 (file)
@@ -5,7 +5,6 @@
  */
 
 #include <config.h>
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <u-boot/rsa-mod-exp.h>
index 057cc74b10bb4dcdecb70152b59bee247be319d4..107500dd6e079b1bc2dd66ff021eb9604f5278dc 100644 (file)
@@ -6,7 +6,6 @@
 
 #define LOG_CATEGORY UCLASS_MOD_EXP
 
-#include <common.h>
 #include <dm.h>
 #include <asm/global_data.h>
 #include <u-boot/rsa-mod-exp.h>
index 65ecdd022c4371adfbe13a8bceb8fe83a80b5840..7f2cccb6af2020fd80434ef65361aca25aa82049 100644 (file)
@@ -4,7 +4,6 @@
  *
  */
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <div64.h>
index 8ef5fa4c481c3d4ffb79365808dc52bde890398a..bd2af94bb0dd014a4830ceb6b688374777bb2d46 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2017 Intel Corporation <www.intel.com>
  */
 
-#include <common.h>
 #include <cpu_func.h>
 #include <errno.h>
 #include <fdtdec.h>
index 34d2a2789ccff76c6f9ebb2a980b2fc2f689f2e9..46c53e7c7a348c3855bf2da1a8b1a4624724cce4 100644 (file)
@@ -2,7 +2,6 @@
 /*
  * Copyright Altera Corporation (C) 2014-2015
  */
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <div64.h>
index d9039443b91cfd71bca7c67c6ffb8457eb87f97d..db09986f64b46bee631900ffcfbd1bbe65b6689c 100644 (file)
@@ -4,7 +4,6 @@
  *
  */
 
-#include <common.h>
 #include <clk.h>
 #include <div64.h>
 #include <dm.h>
index 4d36fb453323650f6bed2ea32f9432e10aec9506..4ac4c79e0ac3e973a99d0b60a0cfd47eea50da06 100644 (file)
@@ -4,7 +4,6 @@
  *
  */
 
-#include <common.h>
 #include <cpu_func.h>
 #include <dm.h>
 #include <errno.h>
index 4716abfc9a8b051aa562e8bc9a1f54f089d32e6d..9e57c2ecfa4f63c26584320c83842e5c213deede 100644 (file)
@@ -4,7 +4,6 @@
  *
  */
 
-#include <common.h>
 #include <cpu_func.h>
 #include <dm.h>
 #include <errno.h>
index e402f2929ab7d50f97a3bf004154f42f824daccf..7636e71a0a6b69e302d5819ce5e78ec5f682f4aa 100644 (file)
@@ -3,8 +3,8 @@
  * Copyright Altera Corporation (C) 2012-2015
  */
 
-#include <common.h>
 #include <log.h>
+#include <linux/string.h>
 #include <asm/io.h>
 #include <asm/arch/sdram.h>
 #include <errno.h>
index c72a683ffef2b0f1fb7a94c9b20aaebf95ab5eae..618ba00da645d6d008d5f72f5d6e7682b7d94032 100644 (file)
@@ -6,6 +6,8 @@
 #ifndef _SEQUENCER_H_
 #define _SEQUENCER_H_
 
+#include <config.h>
+
 #define RW_MGR_NUM_DM_PER_WRITE_GROUP (seq->rwcfg->mem_data_mask_width \
        / seq->rwcfg->mem_if_write_dqs_width)
 #define RW_MGR_NUM_TRUE_DM_PER_WRITE_GROUP ( \
index 9dada5e11756fb45b5c383bb7efaf1a1cd382a72..9f9aea804d97a2753c04a7e319f18c0793974225 100644 (file)
@@ -5,7 +5,7 @@
  * Derived from mpc85xx_ddr_gen3.c, removed all workarounds
  */
 
-#include <common.h>
+#include <config.h>
 #include <log.h>
 #include <asm/io.h>
 #include <fsl_ddr_sdram.h>
index 8f8c2c864c3f84a2a9e27159052b8d896e2f55aa..9a25192c079803dcbf9fc684ce339f57537baf74 100644 (file)
  * Author: James Yang [at freescale.com]
  */
 
-#include <common.h>
+#include <config.h>
 #include <fsl_ddr_sdram.h>
 #include <fsl_errata.h>
 #include <fsl_ddr.h>
 #include <fsl_immap.h>
 #include <log.h>
+#include <linux/string.h>
 #include <asm/bitops.h>
 #include <asm/io.h>
 #if defined(CONFIG_FSL_LSCH2) || defined(CONFIG_FSL_LSCH3) || \
index e5481eaa0ddd78d376d1f8d5e39b6a929d71b862..cc87a95214d8a52388b35a5deee58d8e9b5649fb 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright 2008 Freescale Semiconductor, Inc.
  */
 
-#include <common.h>
 #include <fsl_ddr_sdram.h>
 #include <log.h>
 #include <asm/bitops.h>
index 3b78118a9d823517c35388403ac3099b6071a5d6..5674685a191e0f567a975a836f9670b1274af312 100644 (file)
@@ -3,9 +3,9 @@
  * Copyright 2008 Freescale Semiconductor, Inc.
  */
 
-#include <common.h>
 #include <fsl_ddr_sdram.h>
 #include <log.h>
+#include <linux/string.h>
 #include <asm/bitops.h>
 
 #include <fsl_ddr.h>
index 1f8db90c45bde2b6956a150d9ba2182cdf679728..c30ecdaafafd66d740f010ac86771a391ea10a65 100644 (file)
@@ -8,7 +8,7 @@
  * JEDEC standard No.21-C 4_01_02_11R18.pdf
  */
 
-#include <common.h>
+#include <linux/string.h>
 #include <fsl_ddr_sdram.h>
 #include <log.h>
 
index ea79162262873e661463397f93715b4e1188c3df..75e3bfe08be7bd122a589b707f54208431eccf1b 100644 (file)
  *
  */
 
-#include <common.h>
 #include <fsl_ddr_sdram.h>
 #include <log.h>
 #include <linux/bug.h>
+#include <linux/string.h>
 
 #include <fsl_ddr.h>
 
index f8d1468a26f16e9b1940e751144c2efa93eebd16..31c58d9a8e31dcb7980f74c90c6e7dcb4331dc3b 100644 (file)
@@ -4,7 +4,7 @@
  * Copyright 2021 NXP
  */
 
-#include <common.h>
+#include <config.h>
 #include <env.h>
 #include <log.h>
 #include <asm/io.h>
index 28f2219b2a432d203ee9e3d1c1742c1e24876063..7812b1b01cafa649c7d87e5c99bb20bbe2f200df 100644 (file)
@@ -7,7 +7,7 @@
  * Generic driver for Freescale MMDC(Multi Mode DDR Controller).
  */
 
-#include <common.h>
+#include <config.h>
 #include <fsl_mmdc.h>
 #include <asm/io.h>
 #include <linux/delay.h>
index eb2f06e8300abf9f476830749a6bfdb8f58e1513..94a5e447d56ac4b5c013d48ab8b8695cebb7801f 100644 (file)
  *         York Sun [at freescale.com]
  */
 
-#include <common.h>
 #include <cli.h>
 #include <command.h>
 #include <env.h>
 #include <log.h>
+#include <vsprintf.h>
 #include <asm/bitops.h>
 #include <linux/ctype.h>
 #include <asm/types.h>
index 5e4ad56f0714eb4d87e7e943a3dfb31b5b3b2611..aaf9800b3723276afff5fc36ab5cde97d7742688 100644 (file)
@@ -4,7 +4,6 @@
  * Copyright 2017-2021 NXP Semiconductor
  */
 
-#include <common.h>
 #include <fsl_ddr_sdram.h>
 #include <log.h>
 #include <asm/bitops.h>
index cd332718b640469af9e2494edb02daa97902136a..31091bb44952618cdadfd89df04dc2d1c98725ee 100644 (file)
@@ -10,7 +10,7 @@
  * Author: James Yang [at freescale.com]
  */
 
-#include <common.h>
+#include <config.h>
 #include <display_options.h>
 #include <dm.h>
 #include <i2c.h>
index 16186bdbae72fa0b493efb344072a4264548062e..a8520754006a73ebe94515264f71a2a8f33ccaa2 100644 (file)
@@ -3,7 +3,7 @@
  * Copyright 2008 Freescale Semiconductor, Inc.
  */
 
-#include <common.h>
+#include <config.h>
 #include <log.h>
 #include <asm/io.h>
 #include <fsl_ddr_sdram.h>
index b830e7cbd1418a3c64f50475d77eccc4629a6367..00b4b376dd45da8a2799aae9155b1252d9fb7cf9 100644 (file)
@@ -3,9 +3,9 @@
  * Copyright 2008-2011 Freescale Semiconductor, Inc.
  */
 
-#include <common.h>
+#include <config.h>
 #include <asm/io.h>
-#include <asm/processor.h>
+#include <asm/ppc.h>
 #include <fsl_ddr_sdram.h>
 #include <linux/delay.h>
 
index 1c4a1cae4df4b6482ce4a4517bdf74047418d44f..b0a61fa2b4162d7644a88aa84ca7ba38e8db9c29 100644 (file)
@@ -3,9 +3,10 @@
  * Copyright 2008-2020 Freescale Semiconductor, Inc.
  */
 
-#include <common.h>
+#include <config.h>
 #include <log.h>
 #include <asm/io.h>
+#include <asm/ppc.h>
 #include <fsl_ddr_sdram.h>
 #include <asm/processor.h>
 #include <linux/delay.h>
index 7cff823458475da9b7faccee9c46a60ee0d7fd31..852a5d0eca41e4ec21610ea2606cf7d3c39dba98 100644 (file)
@@ -4,16 +4,19 @@
  * Copyright 2017-2018 NXP Semiconductor
  */
 
-#include <common.h>
+#include <config.h>
 #include <env.h>
 #include <hwconfig.h>
 #include <fsl_ddr_sdram.h>
 #include <log.h>
+#include <vsprintf.h>
 
 #include <fsl_ddr.h>
 #if defined(CONFIG_FSL_LSCH2) || defined(CONFIG_FSL_LSCH3) || \
        defined(CONFIG_ARM)
 #include <asm/arch/clock.h>
+#else
+#include <asm/ppc.h>
 #endif
 
 /*
index 60051392e713bcad80a550cd5127f1154eedf2ee..0a73170e41835adeaa34bbf94db5eeb493eb124b 100644 (file)
@@ -4,9 +4,10 @@
  * Copyright 2021 NXP
  */
 
-#include <common.h>
+#include <config.h>
 #ifdef CONFIG_PPC
 #include <asm/fsl_law.h>
+#include <asm/ppc.h>
 #endif
 #include <div64.h>
 #include <linux/delay.h>
index 52a4aa632304559fce99682842e48b91020e980e..e9209ce8b61d7ed3507bc102cc8f57ebba077067 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright 2018-2019 NXP
  */
 
-#include <common.h>
 #include <errno.h>
 #include <log.h>
 #include <asm/io.h>
index c362a2da338baebc32b895c87cc89e838bfdfdb5..172e260a55d926483587e772800f11dea8ac83a9 100644 (file)
@@ -2,7 +2,6 @@
 /*
  * Copyright 2021 NXP
  */
-#include <common.h>
 #include <asm/io.h>
 #include <asm/arch/clock.h>
 #include <asm/arch/ddr.h>
index 7a333880e6b66af01fea18d24c35b859dcc081a3..5b0ad773875da9f6a57faa8c618b232056d1e702 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright 2022 NXP
  */
 
-#include <common.h>
 #include <errno.h>
 #include <log.h>
 #include <asm/io.h>
@@ -11,6 +10,7 @@
 #include <asm/arch/clock.h>
 #include <asm/arch/sys_proto.h>
 #include <linux/delay.h>
+#include <linux/string.h>
 
 static unsigned int g_cdd_rr_max[4];
 static unsigned int g_cdd_rw_max[4];
index cd905f952c64b5a9147234c69c4eb655b524df58..ccc10df1845282e5b1e1ac25eaa106dd09f7bbc2 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright 2018 NXP
  */
 
-#include <common.h>
 #include <log.h>
 #include <linux/kernel.h>
 #include <asm/arch/ddr.h>
index 45e1a70dbd44d23151fd5e13c3ea91c1851921de..cf5bdad7abe7be4187be57816b2da9b6b349f0a8 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright 2018 NXP
  */
 
-#include <common.h>
 #include <errno.h>
 #include <log.h>
 #include <asm/io.h>
index b9b2403012d91d6bbf1ea58e1b5dc8c2b261505d..c1fc800f191b45292943fa8b93fbb4d8c6ff89d5 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright 2018 NXP
  */
 
-#include <common.h>
 #include <binman_sym.h>
 #include <log.h>
 #include <spl.h>
index 2a4596680b19b6d26da7d6964e51ed43ff7c55d0..985835ec92352671789f5586550b1c6ffae0ea16 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) Marvell International Ltd. and its affiliates
  */
 
-#include <common.h>
 #include <i2c.h>
 #include <spl.h>
 #include <asm/io.h>
index 0db94212b90f5b343c62bb20bc8c06b8df9ffcf0..bda0d7ec4735ba1ee5754e4b51954a6b9a3aed0e 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) Marvell International Ltd. and its affiliates
  */
 
-#include <common.h>
 #include <i2c.h>
 #include <log.h>
 #include <spl.h>
index 35d98faf58f3d2a62511ecf83add479d3c10f243..bb3e1be1f4c6fd7f1b296c1fef9d58bd1ea62e80 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) Marvell International Ltd. and its affiliates
  */
 
-#include <common.h>
 #include <i2c.h>
 #include <log.h>
 #include <spl.h>
index a9dcb74cecb74adcad1b100db15dc06751e077da..23c6d119f61e85ef1ee73d809d15ba6914e2a138 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) Marvell International Ltd. and its affiliates
  */
 
-#include <common.h>
 #include <i2c.h>
 #include <log.h>
 #include <spl.h>
index 069a42fbf5ed35a615ffac1beb3a8a5f38770b5a..2322900185d3e48ae229e5dd167b4ee65122b557 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) Marvell International Ltd. and its affiliates
  */
 
-#include <common.h>
 #include <i2c.h>
 #include <spl.h>
 #include <asm/io.h>
index 30a5c354885744747556b9368b5e781beaeaffaa..db7003f72caf2b6013f1bf7d1a3f9ba579829a2e 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) Marvell International Ltd. and its affiliates
  */
 
-#include <common.h>
 #include <i2c.h>
 #include <log.h>
 #include <spl.h>
index 0b150b20f3a1e312aab79055e6bea27738e05245..f8fee2623d046814f8168a5abbb10c50fac4ea88 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) Marvell International Ltd. and its affiliates
  */
 
-#include <common.h>
 #include <i2c.h>
 #include <spl.h>
 #include <asm/io.h>
index 4763403c127886bcbae83a66811b638360418d2c..c169a8ea16b4b2024d8aa259f85ba2fcd0303765 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) Marvell International Ltd. and its affiliates
  */
 
-#include <common.h>
 #include <i2c.h>
 #include <spl.h>
 #include <asm/io.h>
index d4add4477745b8a0b27be252b32aa35bc4fb71ca..ea7bac56d0ed154eafa7967db686d1c58025ebf1 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) Marvell International Ltd. and its affiliates
  */
 
-#include <common.h>
 #include <i2c.h>
 #include <log.h>
 #include <spl.h>
index 76aea96682c73067539eadafc574c5d9b2f2532a..6ecacfeb93369092d8b076e2167472a6dab5201e 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) Marvell International Ltd. and its affiliates
  */
 
-#include <common.h>
 #include <i2c.h>
 #include <log.h>
 #include <spl.h>
index 149b6071cfde42ec5a840bc853929d5543d4b055..bfba5d245c68588a3ecc5ea10dfbb8a67de3adf9 100644 (file)
@@ -3,7 +3,6 @@
  * (c) 2015 Paul Thacker <paul.thacker@microchip.com>
  *
  */
-#include <common.h>
 #include <wait_bit.h>
 #include <linux/kernel.h>
 #include <linux/bitops.h>
index 818f77503a31032e1853a056ab27044f6dee4549..73711991626bf9335cdf2a71adc742d635a7d799 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (c) 2013 Google, Inc
  */
 
-#include <common.h>
 #include <dm.h>
 #include <dm-demo.h>
 
index b6b29bcb31b3397ec56b042c4385504b9278a345..3ccd5bced95e9b821ff779b29a689dd47b4bc954 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (c) 2013 Google, Inc
  */
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <fdtdec.h>
index 28b271f7791cb24279e0a7aa33abf3f0975f4519..944d58972224fd95f242c57d9a42b7b509f3ac06 100644 (file)
@@ -6,7 +6,6 @@
  * Pavel Herrmann <morpheus.ibis@gmail.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <dm-demo.h>
 #include <mapmem.h>
index 09f9a47d4de6c9435c58ad79d6b74b2149d5c946..d7b1305dc65df180f8db8b434cde578374ad6f2a 100644 (file)
@@ -6,7 +6,6 @@
  * Pavel Herrmann <morpheus.ibis@gmail.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <dm-demo.h>
 #include <errno.h>
index 2adf26e2fe24051734a8b50e6cdb77c043d52c26..540d48fab77dadd9ac8b2380492b140ca75b1088 100644 (file)
@@ -6,7 +6,6 @@
  * author: Lukasz Majewski <l.majewski@samsung.com>
  */
 
-#include <common.h>
 #include <env.h>
 #include <errno.h>
 #include <log.h>
index ece3d2236f3dcdd8b122581cb573d5ef36907baf..e9132936a90b9daced72b246c0f805f675e6fdf2 100644 (file)
@@ -4,7 +4,6 @@
  * Lukasz Majewski <l.majewski@majess.pl>
  */
 
-#include <common.h>
 #include <log.h>
 #include <malloc.h>
 #include <errno.h>
index 12c54e90ef71ff4348a60a92e815925baafc0201..cfa6334e43973dc8726e12be20ed75c8b707bf94 100644 (file)
@@ -6,7 +6,6 @@
  * author: Lukasz Majewski <l.majewski@samsung.com>
  */
 
-#include <common.h>
 #include <log.h>
 #include <malloc.h>
 #include <errno.h>
index 485586989c8a60007c1dff7963b685f7edc21457..c36ac09189f3e7d0e3eedcdfdcc5b7c1161d4814 100644 (file)
@@ -7,7 +7,6 @@
  * Based on dfu_nand.c
  */
 
-#include <common.h>
 #include <dfu.h>
 #include <mtd.h>
 #include <linux/err.h>
index 08e8cf5cdb37e1335cef4e41b5e72f9fab714467..940cfefc986c8874d7168f68bee701d4c5f44df8 100644 (file)
@@ -9,7 +9,6 @@
  * author: Lukasz Majewski <l.majewski@samsung.com>
  */
 
-#include <common.h>
 #include <log.h>
 #include <malloc.h>
 #include <errno.h>
index c4f4bd2e482f0cf2734c9ec3d3df1699b3df24d8..043acbf022fccb60909375d22cf8d36c211be316 100644 (file)
@@ -8,7 +8,6 @@
  * author: Lukasz Majewski <l.majewski@samsung.com>
  */
 
-#include <common.h>
 #include <malloc.h>
 #include <mapmem.h>
 #include <errno.h>
index 2dae159370644c7b8f04468e0f6e460844029c9e..7c1c0f9e2dc7db296fb5a614503ff9d05651c061 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (c) 2014, NVIDIA CORPORATION. All rights reserved.
  */
 
-#include <common.h>
 #include <malloc.h>
 #include <errno.h>
 #include <div64.h>
index 29f7a08f6728f09f56246136ca02cc496a89af0a..2c31445af12ad7649bfde1b7ced0b8c232d8b860 100644 (file)
@@ -2,7 +2,6 @@
 /*
  * Copyright (C) 2019, STMicroelectronics - All Rights Reserved
  */
-#include <common.h>
 #include <dfu.h>
 #include <errno.h>
 #include <log.h>
index da988f6bb6676e8a3fa04db08f2eea92a93c2cf3..331815c469f9249e77b3d22495997a2264527705 100644 (file)
@@ -15,7 +15,6 @@
 #include <asm/cache.h>
 #include <linux/list.h>
 
-#include <common.h>
 #include <malloc.h>
 #include <linux/errno.h>
 #include <asm/io.h>
index 33c7b9814156aed3da4fcbd9627b44d65861d8d6..fd3a353d5484e038f0abcac6d7b72d7eae0907da 100644 (file)
@@ -15,7 +15,6 @@
  *     Copyright (C) 2010 Broadcom Corporation
  */
 
-#include <common.h>
 #include <clk.h>
 #include <cpu_func.h>
 #include <dm.h>
index 0c1d88e10c65616318d57e59aaa2b4ad5184b4d1..2c76ba3fe328d577b1fabee2ac41383a0e98a213 100644 (file)
@@ -11,7 +11,6 @@
 
 #define LOG_CATEGORY UCLASS_DMA
 
-#include <common.h>
 #include <cpu_func.h>
 #include <dm.h>
 #include <log.h>
index 700df2236bd1a4463f1615a4afc0d78f2f4c728d..0cd9bcb511099c82e7c6e54ee4ea9b3ba9367bc2 100644 (file)
@@ -9,7 +9,6 @@
  */
 
 #include <config.h>
-#include <common.h>
 #include <asm/io.h>
 #include <asm/fsl_dma.h>
 
index 9a5ba79f3fe523d404dbe3d7b72021c58548785a..c84db454bfd4d70e79f7f35cc2a98d35c62b0eed 100644 (file)
@@ -5,10 +5,10 @@
  * (C) Copyright 2012-2014
  *     Texas Instruments Incorporated, <www.ti.com>
  */
-#include <common.h>
 #include <asm/io.h>
 #include <asm/ti-common/keystone_nav.h>
 #include <linux/delay.h>
+#include <linux/string.h>
 
 struct qm_config qm_memmap = {
        .stat_cfg       = KS2_QM_QUEUE_STATUS_BASE,
index 0efdfd028cfda0a4dbc6c0e232e0905d7aa9b2b7..f15b67546a9f9e3daa48399af3de72529893fba7 100644 (file)
@@ -7,9 +7,9 @@
  * Copyright (c) 2015 Tyco Fire Protection Products.
  */
 
-#include <common.h>
 #include <errno.h>
 #include <init.h>
+#include <time.h>
 #include <asm/arch/dma.h>
 #include <asm/arch/cpu.h>
 #include <asm/arch/clk.h>
index a19e5e37fb9d68886782faae027819b771f0267f..0290b93340f4d6e10a2f2c5fb0b754972c3f067b 100644 (file)
@@ -7,7 +7,6 @@
  * Author: Grygorii Strashko <grygorii.strashko@ti.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <malloc.h>
index 31ffff07f5b3a140ca92efb266e0526df34fc42d..d64059f39ab8b32c5f88d6770b2ba214f7632688 100644 (file)
@@ -10,7 +10,6 @@
 
 #include <asm/cache.h>
 #include <asm/io.h>
-#include <common.h>
 #include <dm.h>
 #include <dma-uclass.h>
 #include <linux/dma-mapping.h>
index 8f6d396653e027cd01fd431f4d26f0e24e3c1596..da341a2477839ccd53ee8e6d5b0378fccf88738f 100644 (file)
@@ -5,7 +5,6 @@
  */
 #define pr_fmt(fmt) "udma: " fmt
 
-#include <common.h>
 #include <cpu_func.h>
 #include <log.h>
 #include <asm/cache.h>
index d4ee21dfc07f83580926dbe80b04b4bdd2fd6460..1d615ec28387db4432bfff5b786b51fd4d6cc616 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2021 Xilinx Inc.
  */
 
-#include <common.h>
 #include <cpu_func.h>
 #include <dm.h>
 #include <dma.h>
index a33b5ef919cc2dd1291ce6ed06709c5073bc92f3..2d2166bde6822258d6db42a042c155a0e34c3237 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (c) 2022 Svyatoslav Ryhel <clamor95@gmail.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <i2c.h>
 #include <linux/delay.h>
index 9dd22b5762694d48d9961b206c234e7960a46835..1a59287388206234dd54ca30b7ac67bb7f40ac27 100644 (file)
@@ -5,7 +5,6 @@
 
 #define LOG_CATEGORY UCLASS_EXTCON
 
-#include <common.h>
 #include <extcon.h>
 #include <dm.h>
 
index 01443c5d39e237b5114c2ea02a8afb29465bbab7..e4484d65aca5994cbaeb1a9276e09fbe732fb46f 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2016 The Android Open Source Project
  */
 
-#include <common.h>
 #include <command.h>
 #include <console.h>
 #include <env.h>
@@ -13,6 +12,7 @@
 #include <fb_nand.h>
 #include <part.h>
 #include <stdlib.h>
+#include <vsprintf.h>
 #include <linux/printk.h>
 
 /**
index 3576b06772998e9e66a6986eb9dc49b2681a0579..12ffb463deb98229b3486cfd54b4785fcc041224 100644 (file)
  */
 
 #include <bcb.h>
-#include <common.h>
 #include <command.h>
 #include <env.h>
 #include <fastboot.h>
 #include <net.h>
+#include <vsprintf.h>
 
 /**
  * fastboot_buf_addr - base address of the fastboot download buffer
index f65519c57b4735d39770073bc17261d7048966c9..93cbd598e024fe9a7c4fcbef302534d35da1ad57 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2016 The Android Open Source Project
  */
 
-#include <common.h>
 #include <env.h>
 #include <fastboot.h>
 #include <fastboot-internal.h>
@@ -12,6 +11,7 @@
 #include <fs.h>
 #include <part.h>
 #include <version.h>
+#include <vsprintf.h>
 #include <linux/printk.h>
 
 static void getvar_version(char *var_parameter, char *response);
index 060918e49109424e45dc7d38b8cb4bb99cb1fc0b..f11eb66761b1ed46d2e8401e71b0e4342b656ec6 100644 (file)
@@ -4,7 +4,6 @@
  */
 
 #include <config.h>
-#include <common.h>
 #include <blk.h>
 #include <env.h>
 #include <fastboot.h>
index bbe26ddcc9bedf9f48399914f2951808da41c14d..afc64fd5280717ae4041ed70268ccc01cfbb0496 100644 (file)
@@ -5,7 +5,6 @@
  */
 
 #include <config.h>
-#include <common.h>
 #include <blk.h>
 
 #include <fastboot.h>
index f1e91d151ea3ae91e03d676f3ada94f32f9df3c4..e0767fc7551786aa380da1c849459eef938ffe9e 100644 (file)
@@ -5,7 +5,6 @@
  * Authors:
  *   Abdellatif El Khlifi <abdellatif.elkhlifi@arm.com>
  */
-#include <common.h>
 #include <arm_ffa.h>
 #include <arm_ffa_priv.h>
 #include <dm.h>
index ee0bf9a55b4850c34f110e86daad976c9a0f520c..94e6105cb38ebcadff3d248870a5a0bce5cb9384 100644 (file)
@@ -6,7 +6,6 @@
  *   Abdellatif El Khlifi <abdellatif.elkhlifi@arm.com>
  */
 
-#include <common.h>
 #include <arm_ffa.h>
 #include <arm_ffa_priv.h>
 #include <dm.h>
index 4bf9f6041fecbe46bbdddfefc6ff7828d6afbaef..1521d9b66ac3e97cc25975c10b305105760e8d3e 100644 (file)
@@ -5,7 +5,6 @@
  * Authors:
  *   Abdellatif El Khlifi <abdellatif.elkhlifi@arm.com>
  */
-#include <common.h>
 #include <dm.h>
 #include <mapmem.h>
 #include <string.h>
index 11142429c09b06a4235dcd1b92ea9dd5fccca996..44b32a829ddfe9a94084c05b0135a1ffe8a343e8 100644 (file)
@@ -5,7 +5,6 @@
  * Authors:
  *   Abdellatif El Khlifi <abdellatif.elkhlifi@arm.com>
  */
-#include <common.h>
 #include <arm_ffa.h>
 #include <dm.h>
 #include <log.h>
index d970d75f781d6beabfd77d048e4c29e20e9e1361..226b5cfc191e306b3d1fe5071423581dd6f1759e 100644 (file)
@@ -5,7 +5,6 @@
  * Copyright (C) 2018 Xilinx, Inc.
  */
 
-#include <common.h>
 #include <dm.h>
 
 static const struct udevice_id generic_sandbox_firmware_ids[] = {
index e83a147a000b6d919cd10d530e4b4b1ac209efe7..84caf25548bee119916c4b347a0b9167141fe6b4 100644 (file)
@@ -2,7 +2,6 @@
 
 #define LOG_CATEGORY UCLASS_FIRMWARE
 
-#include <common.h>
 #include <dm.h>
 
 /* Firmware access is platform-dependent.  No generic code in uclass */
index dfad798a2e7d93b3d93038f7b2cde1bdcce08a67..f99507d86c6146e7165ad17a727cdb029640bc69 100644 (file)
@@ -5,7 +5,6 @@
  * Copyright (C) 2018-2019 Xilinx, Inc.
  */
 
-#include <common.h>
 #include <cpu_func.h>
 #include <dm.h>
 #include <dm/device_compat.h>
index 03544d76ed4ad3980b3ce1b6a47ac1d72120d316..c32c3f5c6a54fc8cea0a55ba5bc08675d4347ce4 100644 (file)
@@ -6,7 +6,6 @@
  * Copyright (C) 2015 ARM Limited
  */
 
-#include <common.h>
 #include <command.h>
 #include <dm.h>
 #include <efi_loader.h>
index 1d41a8a98fc61b113f255e233589fea28d4f2b85..f4e3974ff5b4305d0654d413d6fee71a741490f9 100644 (file)
@@ -6,7 +6,6 @@
  *             author: AKASHI Takahiro <takahiro.akashi@linaro.org>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <scmi_agent.h>
 #include <scmi_protocols.h>
index 7ad3e8da9f08866f4e722fee6f7e292bff9d91c5..6d4497f4b92ad21f7b303896fc75e2cdc27885c8 100644 (file)
@@ -5,7 +5,6 @@
 
 #define LOG_CATEGORY UCLASS_SCMI_AGENT
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <mailbox.h>
index 48dbb88a3fb504ff9ca18eab58e36230b3ed6516..631625d715bfaaf71578da69a0dd4f853d056b48 100644 (file)
@@ -5,7 +5,6 @@
 
 #define LOG_CATEGORY UCLASS_SCMI_AGENT
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <scmi_agent.h>
index cc9011c7312f0e53878aebb9d127d9d449464243..19be280ec44845369d1f46509978ec9b5b59c60b 100644 (file)
@@ -5,7 +5,6 @@
 
 #define LOG_CATEGORY UCLASS_SCMI_AGENT
 
-#include <common.h>
 #include <dm.h>
 #include <malloc.h>
 #include <scmi_agent.h>
index 603e2bb40aff1a8aa63005e8df37dcd903244b49..96c2922b067e2886b3fa963bcd7e396f4569a569 100644 (file)
@@ -5,7 +5,6 @@
 
 #define LOG_CATEGORY UCLASS_MISC
 
-#include <common.h>
 #include <clk.h>
 #include <dm.h>
 #include <log.h>
index 0f1003e167e6ba207c0eb93540b0508e6f3083d6..8c907c3b0328095c4b35ba089ed608fcda48b567 100644 (file)
@@ -5,7 +5,6 @@
 
 #define LOG_CATEGORY UCLASS_SCMI_AGENT
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <scmi_agent.h>
index 972c6addde21b7338cb4183b9fcaf257fe85d77d..ac35d07ebaffd2e6a9c839cced7f9b52dffb1796 100644 (file)
@@ -5,7 +5,6 @@
 
 #define LOG_CATEGORY UCLASS_SCMI_AGENT
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <scmi_agent.h>
index 509ed618a997ff7ecdc0d2ef953f68c3b944607f..67d2f45002490ab64a6bc997eda93a8f4681d99b 100644 (file)
@@ -6,7 +6,6 @@
 
 #define LOG_CATEGORY UCLASS_SCMI_AGENT
 
-#include <common.h>
 #include <cpu_func.h>
 #include <dm.h>
 #include <dm/device_compat.h>
index 6c581b9df9c0e3d8b234fc978ad87896b1cb0b45..8ce0f46e70c8dd4ea4e3756c04f291a75854ef5f 100644 (file)
@@ -7,7 +7,6 @@
  *     Lokesh Vutla <lokeshvutla@ti.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <log.h>
index 4c00cdf0b57db544275cf652af937b3b2c04ec30..cb7877a8afe761dc5c2179d5961a8ba3df357063 100644 (file)
@@ -9,7 +9,7 @@
 
 #define LOG_CATEGORY UCLASS_FPGA
 
-#include <common.h>            /* core U-Boot definitions */
+#include <config.h>            /* core U-Boot definitions */
 #include <console.h>
 #include <log.h>
 #include <ACEX1K.h>            /* ACEX device family */
index 6a4f0cb9bc06ec4ed41e6ca6be404c8b05fa8e8a..ae06f0123a0353b662c5733513f41f67c9b9581c 100644 (file)
@@ -12,7 +12,6 @@
 /*
  *  Altera FPGA support
  */
-#include <common.h>
 #include <errno.h>
 #include <ACEX1K.h>
 #include <log.h>
index 6e8a313db35bcbde943140dc4c3850031c52000f..7e78d6e2d6ce6659b598b69cf101429e206ee8e8 100644 (file)
@@ -7,8 +7,9 @@
 
 #define LOG_CATEGORY UCLASS_FPGA
 
-#include <common.h>            /* core U-Boot definitions */
+#include <config.h>            /* core U-Boot definitions */
 #include <log.h>
+#include <time.h>
 #include <altera.h>
 #include <ACEX1K.h>            /* ACEX device family */
 #include <linux/delay.h>
index 81e6d8ffc0bdcbdb704abec9a0ad0892aca40e86..38ba6c21ea2beeb733704196dfb56e6df9107b35 100644 (file)
@@ -5,7 +5,6 @@
  */
 
 /* Generic FPGA support */
-#include <common.h>             /* core U-Boot definitions */
 #include <init.h>
 #include <log.h>
 #include <xilinx.h>             /* xilinx specific definitions */
index 903d143a361c4b35848a5db5af2f6f41707ff9df..45caef4f5c108e86ae35bcca3692692aae622403 100644 (file)
@@ -3,14 +3,16 @@
  * Copyright (C) 2018 Intel Corporation <www.intel.com>
  */
 
-#include <common.h>
 #include <altera.h>
 #include <log.h>
+#include <time.h>
 #include <watchdog.h>
 #include <asm/arch/mailbox_s10.h>
 #include <asm/arch/smc_api.h>
 #include <linux/delay.h>
+#include <linux/errno.h>
 #include <linux/intel-smc.h>
+#include <linux/string.h>
 
 #define RECONFIG_STATUS_POLL_RESP_TIMEOUT_MS           60000
 #define RECONFIG_STATUS_INTERVAL_DELAY_US              1000000
index adc60919f3b01b5d88b4fcba1231a8a1ca28f0c4..b9cecdd8720a6f201338096be7561a2eed125d5c 100644 (file)
@@ -29,7 +29,6 @@
  *        the ispVMLCOUNT function
  */
 
-#include <common.h>
 #include <log.h>
 #include <linux/string.h>
 #include <malloc.h>
index e292d991cd18644ec4f97db77ba48d2b36ac3bde..036580cad70f8cc549b02c53af39f430c0325d0b 100644 (file)
@@ -10,7 +10,6 @@
  * Copyright 2009 Lattice Semiconductor Corp.
  */
 
-#include <common.h>
 #include <log.h>
 #include <malloc.h>
 #include <fpga.h>
index d73414d5ac54140c677b01172e61536e29d5a6ce..bb98c0e2bcf7e6854bd946c277b0579569357b18 100644 (file)
@@ -4,7 +4,7 @@
  * All rights reserved.
  */
 
-#include <common.h>
+#include <config.h>
 #include <asm/io.h>
 #include <linux/errno.h>
 #include <asm/arch/fpga_manager.h>
index 96b195063e0802ec82eaaf7d6036e1828b0a1507..e9822b2bb0ecab9cae52c2b2c480794d677afdee 100644 (file)
@@ -13,7 +13,6 @@
 #include <asm/arch/misc.h>
 #include <altera.h>
 #include <asm/arch/pinmux.h>
-#include <common.h>
 #include <dm.h>
 #include <dm/ofnode.h>
 #include <errno.h>
index d73474f29ee13f209066c6c0efaf701702bc2bc2..9473f0573289969162f37e483c47bec908a8fdfa 100644 (file)
@@ -4,7 +4,7 @@
  * All rights reserved.
  */
 
-#include <common.h>
+#include <config.h>
 #include <asm/io.h>
 #include <linux/errno.h>
 #include <asm/arch/fpga_manager.h>
index 6eef87b78e16d41cf8635a8930f6642e33c5ae48..9cd6cb7f0fbd83f9c66c4ab78e9421df1b8326b0 100644 (file)
@@ -6,7 +6,7 @@
 
 #define LOG_CATEGORY UCLASS_FPGA
 
-#include <common.h>            /* core U-Boot definitions */
+#include <config.h>            /* core U-Boot definitions */
 #include <log.h>
 #include <spartan2.h>          /* Spartan-II device family */
 
index e892fa571f196f42e3467017617090d60b0f3ff9..b4d87d47d9332388bb2c1709b3c5553b9aefdfa7 100644 (file)
@@ -11,8 +11,9 @@
 
 #define LOG_CATEGORY UCLASS_FPGA
 
-#include <common.h>            /* core U-Boot definitions */
+#include <config.h>            /* core U-Boot definitions */
 #include <log.h>
+#include <time.h>
 #include <spartan3.h>          /* Spartan-II device family */
 
 /* Note: The assumption is that we cannot possibly run fast enough to
index b450a81072ed3c0a71f80b65dfd5d4cf3e522b6c..73fecd9dca5516fc52b1ba6385c877e0f7b36889 100644 (file)
@@ -4,7 +4,6 @@
  * Eran Liberty, Extricom , eran.liberty@gmail.com
  */
 
-#include <common.h>            /* core U-Boot definitions */
 #include <altera.h>
 #include <linux/delay.h>
 
index abae3b5b7511a5b4a94c81cf89b76f69bad163de..372f16d92d1a650fa6c26b60267f85e6a2a7be60 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2016 Stefan Roese <sr@denx.de>
  */
 
-#include <common.h>
 #include <altera.h>
 #include <log.h>
 #include <spi.h>
index be58db54275cc7b382faf0fee696b2f668a5d433..1957e8dcacaced8c0e185288c946d494393813d2 100644 (file)
@@ -4,7 +4,6 @@
  * Siva Durga Prasad Paladugu <siva.durga.prasad.paladugu@amd.com>>
  */
 
-#include <common.h>
 #include <cpu_func.h>
 #include <log.h>
 #include <asm/arch/sys_proto.h>
index 3ded27f9b3ffa4b88bed1710f3c1b0c385df6f21..8e2c12bb58b1271efea0e3d3a31084eafc49cfdb 100644 (file)
@@ -14,7 +14,7 @@
 
 #define LOG_CATEGORY UCLASS_FPGA
 
-#include <common.h>
+#include <config.h>
 #include <console.h>
 #include <log.h>
 #include <virtex2.h>
index 8170c3368ef6f89646e8617d869f1ca1f38b8cea..c46513226d9b36dee94b2265753fc773b0cd69ea 100644 (file)
  *  Xilinx FPGA support
  */
 
-#include <common.h>
 #include <fpga.h>
 #include <log.h>
 #include <virtex2.h>
 #include <spartan2.h>
 #include <spartan3.h>
 #include <zynqpl.h>
+#include <linux/string.h>
 
 /* Local Static Functions */
 static int xilinx_validate(xilinx_desc *desc, char *fn);
index 2656f5fc5ecf3ad2d408028f00b203930f700fa6..2b62bbbe3cf5d24608cddb58adea24cca123f059 100644 (file)
@@ -6,7 +6,6 @@
  */
 
 #include <console.h>
-#include <common.h>
 #include <compiler.h>
 #include <cpu_func.h>
 #include <fpga.h>
index a2e3b305fa4173ec331f8d2101046fa7ed9960ea..57467b4d975aac8ecccdc828b6307243c6ca3af3 100644 (file)
@@ -6,10 +6,11 @@
  * Joe Hershberger <joe.hershberger@ni.com>
  */
 
-#include <common.h>
+#include <config.h>
 #include <console.h>
 #include <cpu_func.h>
 #include <log.h>
+#include <time.h>
 #include <asm/cache.h>
 #include <asm/io.h>
 #include <fs.h>
index b16f1c4cfb71024890bf7f689273a47104107b2e..08ce3ed2ec1566a6b5d44c57ce464bd4f29addc1 100644 (file)
@@ -6,7 +6,6 @@
 
 #define LOG_CATEGORY UCLASS_FUZZING_ENGINE
 
-#include <common.h>
 #include <dm.h>
 #include <fuzzing_engine.h>
 
index ebb938e5ba8610bf9ad72ae1ce7506dad51cec9a..677402470edc438648cc9492e444576136359554 100644 (file)
@@ -4,7 +4,6 @@
  * Written by Andrew Scull <ascull@google.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <fuzzing_engine.h>
 #include <asm/fuzzing_engine.h>
index 0a8edaaa418fdf24c0aa984ada7a560980751637..bab7a7e80d1d3e121a9531f610a8465d8a6a4624 100644 (file)
@@ -5,7 +5,6 @@
 
 #define LOG_CATEGORY UCLASS_FWU_MDATA
 
-#include <common.h>
 #include <dm.h>
 #include <efi_loader.h>
 #include <fwu.h>
index 7a7cfe86114bf29ea85d2e16678d7f52ca16ba49..331428ccdb9a25e83f559b14623ecc223428af10 100644 (file)
@@ -8,7 +8,6 @@
  *
  */
 
-#include <common.h>
 #include <errno.h>
 #include <dm.h>
 #include <fdtdec.h>
index edc5a8093b0c46e0ad8fab58c905dc410baf6c2f..7ba1595e4ae3290e5ca4fb310dec582dd1ff1dc6 100644 (file)
@@ -4,7 +4,6 @@
  * Copyright (C) 2011  Missing Link Electronics
  *                     Joachim Foerster <joachim@missinglinkelectronics.com>
  */
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <malloc.h>
index f80f4afd24ff420def5fa528e94c5faa4612f441..50a6981590753fa7b25172de892bc2c1f7aa6f3f 100644 (file)
@@ -8,7 +8,6 @@
  */
 
 #include <config.h>
-#include <common.h>
 #include <clk.h>
 #include <dm.h>
 #include <malloc.h>
index be1dd752bf769b06d6c688fc7d236b2ed9e01cdd..65d064b46dfb617fbfc25e1340a5d78fde049957 100644 (file)
@@ -5,7 +5,6 @@
  * Copyright (C) 2015 Atmel Corporation
  *              Wenyou.Yang <wenyou.yang@atmel.com>
  */
-#include <common.h>
 #include <clk.h>
 #include <dm.h>
 #include <fdtdec.h>
index af6631697f58bf13ca6068ac3255d2d5e7351634..6e632c8fc7308da348adeedccd347e880410253d 100644 (file)
@@ -5,7 +5,6 @@
  * X-Powers AXP Power Management ICs gpio driver
  */
 
-#include <common.h>
 #include <asm/arch/pmic_bus.h>
 #include <asm/gpio.h>
 #include <axp_pmic.h>
index 704a6fa7121028fb088d0553da9beccb141162f9..ccf84fdae11f292e494dc4562b74b51d5dcc1dbd 100644 (file)
@@ -4,7 +4,6 @@
  * <vikram186@gmail.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <dm/pinctrl.h>
 #include <errno.h>
index e031f71a784d987697af9d8559f3d955b9cb3f46..e76c84e806ad5f7f91df6fbb0aabe6c146213a6e 100644 (file)
@@ -7,7 +7,6 @@
  *     Copyright (C) 2008-2011 Florian Fainelli <florian@openwrt.org>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <asm/gpio.h>
index 72ef523be96054a6638d37f84fd4f65c1d8b84b3..e0ea14cce6960fafce0670d17a4dbd41d7953584 100644 (file)
@@ -5,7 +5,6 @@
  * GPIO Driver for Cortina Access CAxxxx Line of SoCs
  */
 
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <asm/io.h>
index b310f2dbf65183dc0c7463c32d349c759e4c9596..1ccb9e69f1580ec0485e5824dc29f43c65717190 100644 (file)
@@ -6,7 +6,6 @@
  * Laurence Withers <lwithers@guralp.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <fdtdec.h>
 #include <malloc.h>
index 6c091d4fd874bf5e93bda63e9f59894df95518e7..4cb550a540c624dbe9ea22c24127098d6cd03ea3 100644 (file)
@@ -3,7 +3,6 @@
  * Faraday Technology's FTGPIO010 controller.
  */
 
-#include <common.h>
 #include <dm.h>
 #include <asm/io.h>
 #include <asm/gpio.h>
index 1c3d18796b3a07baf5a4d6206fbbcaf22e307ac3..c5608f4a9dfcc04183f829b0703d0f30ac839772 100644 (file)
@@ -6,7 +6,6 @@
  *
  * Implementation extracted from the Linux kernel and adapted for u-boot.
  */
-#include <common.h>
 #include <asm/io.h>
 #include <asm/gpio.h>
 
index ca7aa14eeb2310f9e601933419ba929acef8771c..c8d2dff5f7bfd85e1c7b91b597f521e955d8ec16 100644 (file)
@@ -37,7 +37,6 @@
 
 #include <asm-generic/gpio.h>
 #include <asm/global_data.h>
-#include <common.h>
 #include <dm.h>
 #include <dm/device_compat.h>
 #include <dt-bindings/gpio/gpio.h>
index 707785012322eb8b3aa21fe7bc2a6b59a6bd8e6a..d1a399388095cbade4b6a128c51cc41890cb7547 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2017 Marek Vasut <marek.vasut@gmail.com>
  */
 
-#include <common.h>
 #include <clk.h>
 #include <dm.h>
 #include <malloc.h>
index f14be871e8d0462b3dab20ed9c7eed78b394132e..8c3fe61b25f61ea0f37995c1fd1baeae9f78ff16 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2019 Marek Vasut <marek.vasut@gmail.com>
  */
 
-#include <common.h>
 #include <clk.h>
 #include <dm.h>
 #include <errno.h>
index 4234cd912c9f0277d5af80fec249a3028c8ecc03..92ce68dd4a135e8a63dec23f9ececada23fbbfb6 100644 (file)
@@ -5,7 +5,6 @@
 
 #define LOG_CATEGORY   UCLASS_GPIO
 
-#include <common.h>
 #include <dm.h>
 #include <dt-structs.h>
 #include <log.h>
index 61c705b5ac56d896f070c6caff51e55431e72d32..033fb4b60ee6e9dc4b0bf85c330c50056abc4f1c 100644 (file)
@@ -4,7 +4,6 @@
  *   Author: Masahiro Yamada <yamada.masahiro@socionext.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <linux/bitops.h>
 #include <linux/io.h>
index 4ad06c18b4bdcf4391d999bf72dbf4a11e71e2dd..a7c9ff53af7dc78583f5adc7f0feca68cdcc04c5 100644 (file)
@@ -5,7 +5,6 @@
  * Copyright (C) 2021 Xilinx, Inc.
  */
 
-#include <common.h>
 #include <errno.h>
 #include <asm/io.h>
 #include <asm/gpio.h>
index e287c31b93fc11ae6e487abe377bcacd0f79f185..7ceb5f424c9d8e760f85cc3753d3f24f27278962 100644 (file)
@@ -4,7 +4,6 @@
  * Peter Griffin <peter.griffin@linaro.org>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <asm/gpio.h>
 #include <asm/io.h>
index 66f8441840b54bb2d5f4b76cdf717bf80d17c60e..734b31d3dc17621fc7a5a6c6f815413c09183be1 100644 (file)
@@ -12,7 +12,6 @@
 #include <log.h>
 #include <asm-generic/gpio.h>
 #include <asm/io.h>
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <linux/bitops.h>
index 3227a8d5b574eb074987870c6487b231fba0d980..fc1d418315c560f2e794fb383d3764d98d482b39 100644 (file)
@@ -5,7 +5,6 @@
  * RGPIO2P driver for the Freescale i.MX7ULP.
  */
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <fdtdec.h>
index 20af35de2cf5b19735dba748a55d05d9d476cec9..53ed0a3eed06e32608c1b9b8283c46f38fce93bb 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (c) 2012 The Chromium OS Authors.
  */
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <fdtdec.h>
index 4a3ec6d6350230ae36a8a870cedb0a088d81a889..0ab6e8a90bcba8c23758ad68fca169bbb0cc17fb 100644 (file)
@@ -5,7 +5,6 @@
 
 #define LOG_CATEGORY   UCLASS_GPIO
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <fdtdec.h>
index 2ed0d0bea9a59738698f33ac47f5cdb0ffa3f6e5..096bc3b05bb7aa9064a9a6346b43a96a9bd90839 100644 (file)
@@ -28,7 +28,6 @@
 
 #define LOG_CATEGORY   UCLASS_GPIO
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <fdtdec.h>
index 7187d3257b9057b108b2316b75d4ab7261446a79..8688f12e43c72bdffc477b5681ca0f4c38de62d9 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2020 Broadcom
  */
 
-#include <common.h>
 #include <errno.h>
 #include <asm/gpio.h>
 #include <asm/io.h>
index a15769793f175a77bc12e254c13008f1bf08ad22..e183f5594b51fde1ac256181583394ca05fbb283 100644 (file)
@@ -12,7 +12,6 @@
  * Dieter Kiermaier dk-arm-linux@gmx.de
  */
 
-#include <common.h>
 #include <linux/bitops.h>
 #include <asm/io.h>
 #include <asm/arch/soc.h>
index de66c765d11e4afcf7d2355c810205e6f16d5df6..2b537e007ba9a7ab4adb5a45cf097e960970855b 100644 (file)
@@ -6,7 +6,6 @@
  * Written-by: Albert ARIBAUD <albert.aribaud@3adev.fr>
  */
 
-#include <common.h>
 #include <asm/io.h>
 #include <asm/arch-lpc32xx/cpu.h>
 #include <asm/arch-lpc32xx/gpio.h>
index 647aed907b4cc7275ccb9ff1fb57121ccc1f8a85..f733cc924e566f5ab4c62ccd120e3114bceebefc 100644 (file)
@@ -7,7 +7,6 @@
  *
  */
 
-#include <common.h>
 #include <dm.h>
 #include <i2c.h>
 #include <asm-generic/gpio.h>
index df99fde5660205da7d562c4150df02faaeb3528c..42e7fe9d474c729880a6c05a57ad322a936abfdd 100644 (file)
@@ -7,7 +7,6 @@
 
 #define LOG_CATEGORY UCLASS_GPIO
 
-#include <common.h>
 #include <errno.h>
 #include <dm.h>
 #include <i2c.h>
index fd26a36a0f9402b1d9e4e723dc0b423cb6bfbb13..2be8c73ae3d7d7507e951b36369344836e8b5f33 100644 (file)
@@ -5,7 +5,6 @@
  * GPIO driver to set/clear SPISEL_BOOT pin on mpc83xx.
  */
 
-#include <common.h>
 #include <log.h>
 #include <dm.h>
 #include <mapmem.h>
index 2f6534653313558f07231c0e41eceed0aaf0f01a..e2b12f8b56c744707b19f0377e43e35511845523 100644 (file)
@@ -10,7 +10,6 @@
  * Copyright 2010 eXMeritus, A Boeing Company
  */
 
-#include <common.h>
 #include <asm/io.h>
 #include <dm.h>
 #include <mapmem.h>
index f7ffd8926aded4d054536e91988b6046f04d9671..e9bd38f162c10c76460bc63f93c03a711cb4d38e 100644 (file)
@@ -9,7 +9,6 @@
  * Copyright 2020-2021 NXP
  */
 
-#include <common.h>
 #include <dm.h>
 #include <mapmem.h>
 #include <asm/gpio.h>
index c97e44005ee1b6f61ef355da527dd38a5203d9f0..5a40304f1f932da68ce3dfb511a5d92d57913263 100644 (file)
@@ -7,7 +7,6 @@
  * Copyright (c) 2018 Microsemi Corporation
  */
 
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <asm/gpio.h>
index f5d9ab54e8170704f867cf3e6ae26a0c8bee2838..2fb266f12854d17ae570da1f048e8ae8d2e57fc7 100644 (file)
@@ -5,7 +5,6 @@
  * (C) Copyright 2015 Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <asm/global_data.h>
index 43bb4df4da72384319d6afe3dee9e058ed22d0bc..63a202310a5efad3f53b2cbdd8a90d83c4dd593b 100644 (file)
@@ -7,7 +7,6 @@
  *   Copyright (C) 2013 John Crispin <blogic@openwrt.org>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <fdtdec.h>
index f706a6dfa4fed81cf7924074b420367f868f1cdb..0d82380dde4a4775df4a67460d94f82380b011af 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2016 Stefan Roese <sr@denx.de>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <dm/pinctrl.h>
 #include <asm/gpio.h>
index 1dec4e35e0a706d2410dbdc4c36439c13c8f0c9b..cac6b32b279649472111548cd5517676127f004b 100644 (file)
@@ -6,7 +6,6 @@
  * Copyright (C) 2011
  * Stefano Babic, DENX Software Engineering, <sbabic@denx.de>
  */
-#include <common.h>
 #include <errno.h>
 #include <dm.h>
 #include <malloc.h>
index 1356f89ac2f080e3c5a8adc94bcac4d5e3ad1d52..80910c9ec4c237ba0ded0728822ca91bb21cf5ec 100644 (file)
@@ -6,7 +6,6 @@
  * on behalf of DENX Software Engineering GmbH
  */
 
-#include <common.h>
 #include <log.h>
 #include <malloc.h>
 #include <asm/global_data.h>
index e1bb41b196cc34ca9636dbd755149eca905cecf0..c2716e71763293529c65062cf34092c99ad7a502 100644 (file)
@@ -1,7 +1,6 @@
 // SPDX-License-Identifier: GPL-2.0+
 /* Copyright (C) 2019 Stephan Gerhold */
 
-#include <common.h>
 #include <dm.h>
 #include <asm/gpio.h>
 #include <asm/io.h>
index 98e5dc79c1ccd9fdc67859e4278471f7bdf6fd4e..da3b3ffbc92fdeccf62573fdd3517e411278616e 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (c) 2022 Nuvoton Technology Corp.
  */
 
-#include <common.h>
 #include <dm.h>
 #include <asm/gpio.h>
 #include <linux/io.h>
index e2565d709535a8e425b314dc5995f08486193db4..741b2ff7f177919efd1ce34ea13c2993aa2890d2 100644 (file)
@@ -4,7 +4,6 @@
  * DeokJin, Lee <truevirtue@nexell.co.kr>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <malloc.h>
index 50c4f75ddf5db592bebe735c0bb73e75b444e28e..1aceafcdf58171479f2f28503898122abdfcf75f 100644 (file)
@@ -17,7 +17,6 @@
  * Copyright (C) 2003-2005 Nokia Corporation
  * Written by Juha Yrjölä <juha.yrjola@nokia.com>
  */
-#include <common.h>
 #include <dm.h>
 #include <fdtdec.h>
 #include <asm/global_data.h>
index b5ed35256ee761cb70615ffd45995fa76ee33caf..fc4dcf9f98615ce32e344814912b99fcb71e91ba 100644 (file)
@@ -8,10 +8,11 @@
  * pca9539, etc)
  */
 
-#include <common.h>
+#include <config.h>
 #include <command.h>
 #include <i2c.h>
 #include <pca953x.h>
+#include <vsprintf.h>
 
 /* Default to an address that hopefully won't corrupt other i2c devices */
 #ifndef CFG_SYS_I2C_PCA953X_ADDR
index b0c66d18317eefd16911197896671d92158743ac..80ebaadb3e43f2509ded552696d7afdc7973c9fa 100644 (file)
@@ -18,7 +18,6 @@
  * 2. Support Polarity Inversion
  */
 
-#include <common.h>
 #include <errno.h>
 #include <dm.h>
 #include <fdtdec.h>
index f38e215c4d6e86e109a8cfb5449c645a84cac7cd..10ae86ec5d457431770ae78442119cc4ef5ea539 100644 (file)
@@ -17,7 +17,6 @@
  *
  */
 
-#include <common.h>
 #include <dm.h>
 #include <i2c.h>
 #include <log.h>
index 975a2af3ccb883972441e8ea247ada2d328663c3..d8edfefb2d752634bd470525e224796a4c31bf2a 100644 (file)
@@ -4,7 +4,6 @@
  * Purna Chandra Mandal <purna.mandal@microchip.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <malloc.h>
index 0dd3434e9e046f3ded034334a375a55c8779e5d7..80fee841ee3ffe11ff66638383756cdd633474f3 100644 (file)
@@ -5,7 +5,6 @@
  * (C) Copyright 2015 Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <dm/device-internal.h>
 #include <dm/lists.h>
index 16e8d1eae6edea5966764ba188a65e6ef69e7a4c..ac6e68299e079beaf221a0136a24788d616a9c6b 100644 (file)
@@ -4,7 +4,6 @@
  * Christophe Leroy <christophe.leroy@csgroup.eu>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <mapmem.h>
 #include <asm/gpio.h>
index 2e901ac5c7343571b30ebdb2ef7d31640794afb3..24ba12dd820e68199499e53b05b13889e130d6c3 100644 (file)
@@ -6,7 +6,6 @@
  * Peter, Software Engineering, <superpeter.cai@gmail.com>.
  */
 
-#include <common.h>
 #include <dm.h>
 #include <syscon.h>
 #include <linux/errno.h>
index 06ed585f3d64c750dc3106b5aa33da1090e904ce..83e65aa4aec4490af99956ef3ede5beb2c6bf220 100644 (file)
@@ -4,7 +4,6 @@
  * Minkyu Kang <mk7.kang@samsung.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <fdtdec.h>
index 305f9a6ff62f0e53ad9f4412d10255bebb648dce..f5be278144387e54ad7badce83ece64588a9ae18 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (c) 2011 The Chromium OS Authors.
  */
 
-#include <common.h>
 #include <dm.h>
 #include <fdtdec.h>
 #include <log.h>
index c76e19974196ffb5e2cc9ec23ebf46eed40c0b48..4699a976252c2464b3c796e9edf96325dc4355ce 100644 (file)
@@ -5,7 +5,6 @@
  * Copyright 2021 Google LLC
  */
 
-#include <common.h>
 #include <dm.h>
 #include <asm-generic/gpio.h>
 
index 2495d6c1c154fd8bb908ac4d695196a0df0e2143..9f6051c1c4d36253500143b4348a487394b1d132 100644 (file)
@@ -9,7 +9,6 @@
  * for more details.
  */
 
-#include <common.h>
 #include <log.h>
 #include <malloc.h>
 #include <asm/bitops.h>
index 151f484e8fd1c15cec00868daa26f183b4291d96..90f59120ecd08c9e7c0762fa0431be79f3d8b93f 100644 (file)
@@ -5,7 +5,6 @@
  * Copyright (C) 2019 SiFive, Inc.
  */
 
-#include <common.h>
 #include <dm.h>
 #include <asm/arch/gpio.h>
 #include <asm/io.h>
index 700fc3df298cfbb821f9e70dec76a99674b94b14..e85f9260ec39725dfe219fbf9e25c7310eb6bf58 100644 (file)
@@ -5,7 +5,6 @@
  * Copyright (c) 2021 Michael Walle <michael@walle.cc>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <asm/gpio.h>
 #include <sl28cpld.h>
index 7a2ca91c76926b070c424aacb1455fa5bf41afee..b8eb55465d3c2d83a988c699658035b4a4ce92b2 100644 (file)
@@ -6,7 +6,6 @@
 
 #define LOG_CATEGORY UCLASS_GPIO
 
-#include <common.h>
 #include <clk.h>
 #include <dm.h>
 #include <fdtdec.h>
index e4463a223f7b235e323d67eda270586f0c7c62f5..5e86474d3dbb37c4eab7684d38e2355ccfdce00e 100644 (file)
@@ -9,7 +9,6 @@
  * Tom Cubie <tangliang@allwinnertech.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <fdtdec.h>
index b07496e6e49c3ce9fc83d7fda2089c460e4bf032..1d45b50074613b31039db96cf6895678b400e06a 100644 (file)
@@ -20,7 +20,7 @@
  * MA 02111-1307 USA
  */
 
-#include <common.h>
+#include <config.h>
 #include <command.h>
 #include <i2c.h>
 #include <tca642x.h>
index 94a20d143e10b868e760b50af4cc483568423b55..01b8245c8d5b4fb73cef907347cda664b4a13422 100644 (file)
@@ -4,7 +4,6 @@
  * (based on tegra_gpio.c)
  */
 
-#include <common.h>
 #include <dm.h>
 #include <malloc.h>
 #include <errno.h>
index 55105f2802c30f334fec9debcf0099d3e252b240..0c40d36c41e205073c02b95bf7abd0d511092517 100644 (file)
@@ -10,7 +10,6 @@
  * Tom Warren (twarren@nvidia.com)
  */
 
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <malloc.h>
index 339392dcd35a6e179e8f3d45916e0880a3b268a2..5b4bba96da70ba5a72320f4067ab30668f7967ef 100644 (file)
@@ -4,7 +4,6 @@
  * Bhuvanchandra DV, Toradex, Inc.
  */
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <fdtdec.h>
index fa8d630b4658628691621a997e83e434af4addf8..c0a92378b035aa0b5da35f3fbc699acda4b78df2 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (c) 2013 - 2018 Xilinx, Michal Simek
  */
 
-#include <common.h>
 #include <errno.h>
 #include <log.h>
 #include <malloc.h>
index 71a56127c0aa9ead92782e0a2ac566b98b8632f8..7db58c70663e9db8981c7ae7db7527bc8cb97084 100644 (file)
@@ -8,7 +8,6 @@
  * Copyright (C) 2009 - 2014 Xilinx, Inc.
  */
 
-#include <common.h>
 #include <asm/gpio.h>
 #include <asm/io.h>
 #include <linux/bitops.h>
index e9565ff5430e04720748bc2d5ef63d4ef98636a4..8aaffaf37b3dd1078153aab3defc607c74c60244 100644 (file)
@@ -5,7 +5,6 @@
  * Copyright (C) 2021 Xilinx, Inc.
  */
 
-#include <common.h>
 #include <errno.h>
 #include <asm/io.h>
 #include <asm/gpio.h>
index e9a4d7f9fbbd66297f7b146f06d793ce5a97590c..ea93efc97df7535cdc363d57eba8ac3c87cfe1d1 100644 (file)
@@ -5,7 +5,6 @@
 
 #define LOG_CATEGORY UCLASS_HWSPINLOCK
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <hwspinlock.h>
index be920f5f99dfba4850bf3480cb9dc4433f8b04af..fcda55517e1e74678145c9c234f7a09d5c04c531 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2018, STMicroelectronics - All Rights Reserved
  */
 
-#include <common.h>
 #include <dm.h>
 #include <hwspinlock.h>
 #include <asm/state.h>
index 346b138e98f002629c702e1a001dc29b59c1be71..5273b9bfed89ffb01bbb53c91bf747eef059048b 100644 (file)
@@ -5,7 +5,6 @@
 
 #define LOG_CATEGORY UCLASS_HWSPINLOCK
 
-#include <common.h>
 #include <clk.h>
 #include <dm.h>
 #include <hwspinlock.h>
index 142f41178c10988f41ddf5069a20e093bc1560a5..82cb5db5cc8bc0f34f82aa16947b724784dda8bb 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright 2019 Google LLC
  */
 
-#include <common.h>
 #include <dm.h>
 #include <i2c.h>
 #include <log.h>
index e566b01feacfb3b12f977f1b20a700382ea4a4ea..9d1d70670b9546c76f401343fc3b8a3e92f02ea6 100644 (file)
@@ -2,7 +2,6 @@
 /*
  * Copyright ASPEED Technology Inc.
  */
-#include <common.h>
 #include <clk.h>
 #include <dm.h>
 #include <errno.h>
index 1c1d5566dad41365044e51f30736665afd8dad72..02ee406bbd7d4e5c80f66e52869b9ebb0a59ce86 100644 (file)
@@ -5,7 +5,6 @@
  * Copyright 2017 Google, Inc.
  */
 
-#include <common.h>
 #include <clk.h>
 #include <dm.h>
 #include <errno.h>
index b7a25885e66634cc7a8a062e5cbe761dc058fdda..cfae36c74d19e051433167f65be3ed6d8c706195 100644 (file)
@@ -8,7 +8,6 @@
 #include <malloc.h>
 #include <asm/global_data.h>
 #include <asm/io.h>
-#include <common.h>
 #include <clk.h>
 #include <dm.h>
 #include <errno.h>
index c593540ac1380d8d82e40470057a6ef01791f471..dfe823c142c5df305d4dbf31a704b64bfb68a017 100644 (file)
@@ -4,7 +4,6 @@
  * Written by Simon Glass <sjg@chromium.org>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <cros_ec.h>
 #include <errno.h>
index 75828b6e7c273c53fadf564494fb0346004df859..2d610e0a2aa92bbdc5ed69ecaf10de02c38c22ba 100644 (file)
@@ -4,7 +4,6 @@
  * Written by Simon Glass <sjg@chromium.org>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <cros_ec.h>
 #include <errno.h>
index 25ef937dc0b3ba918916b59fb9d5a05cccc278b4..391327472087afd7ea2530e4bb24c1cdaec076fb 100644 (file)
@@ -11,7 +11,7 @@
  * Please see doc/driver-model/i2c-howto.rst for instructions.
  */
 
-#include <common.h>
+#include <config.h>
 #include <i2c.h>
 #include <dm.h>
 #include <log.h>
index 29cf63375c7f173e71c8265f69ddd041c8fbc4f2..e8c1623d41fdd9ecd73c6e433808d432bf02f807 100644 (file)
@@ -4,7 +4,6 @@
  * Vipin Kumar, STMicroelectronics, vipin.kumar@st.com.
  */
 
-#include <common.h>
 #include <clk.h>
 #include <dm.h>
 #include <i2c.h>
index 28495a3f4285b7b4098f6e8112ed053885d98faa..11c986722650c2297b9381fe0a7a274381edf5c8 100644 (file)
@@ -5,7 +5,6 @@
  * Copyright 2019 Google Inc
  */
 
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <spl.h>
index a7349e06cfd363597c52c53130253bb1129e313a..9a364fdae375236f5136ea73aa333e2472dbe561 100644 (file)
@@ -6,7 +6,6 @@
  * David Mueller, ELSOFT AG, d.mueller@elsoft.ch
  */
 
-#include <common.h>
 #include <dm.h>
 #include <i2c.h>
 #include <log.h>
index d9d8ee81d2ed298aa6e5089abe747135612cfb21..bac14fb2f422d6a60c315844275abe3949d6ab9b 100644 (file)
@@ -6,7 +6,7 @@
  * Changes for multibus/multiadapter I2C support.
  */
 
-#include <common.h>
+#include <config.h>
 #include <command.h>
 #include <i2c.h>               /* Functional interface */
 #include <log.h>
index 935b2ac637727da082f4277203ed0af3ab9347a0..3f7cf8533ec763e44e12f10786f93342c0f229ce 100644 (file)
@@ -7,7 +7,6 @@
  * with added driver-model support and code cleanup.
  */
 
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <linux/bitops.h>
index 960ae8c700f979ff3838576190991b3763bc3ec0..96f957164c191c9b5a008ddca52899738ce27044 100644 (file)
@@ -4,12 +4,12 @@
  * Arthur Li, Cortina Access, arthur.li@cortina-access.com.
  */
 
-#include <common.h>
 #include <i2c.h>
 #include <log.h>
 #include <asm/io.h>
 #include <dm.h>
 #include <mapmem.h>
+#include <time.h>
 #include "i2c-cortina.h"
 
 static void set_speed(struct i2c_regs *regs, int i2c_spd)
index d421ddfcbe2946dde139793a221f5b322d9b4253..0954d53847e62045cfb3939a64735f43b8221d17 100644 (file)
@@ -5,7 +5,6 @@
 
 #define LOG_CATEGORY UCLASS_I2C_EMUL
 
-#include <common.h>
 #include <dm.h>
 #include <i2c.h>
 #include <log.h>
index 5fc3cfe42ef7f8181d86eb8cde6f910384dcd46e..e0a575fb4a48d1fa5877b56c79c0873e1a039b0f 100644 (file)
@@ -5,7 +5,6 @@
  * This file is based on: drivers/i2c/soft-i2c.c,
  * with added driver-model support and code cleanup.
  */
-#include <common.h>
 #include <errno.h>
 #include <dm.h>
 #include <i2c.h>
index d453e243d6f2b24e94433c304ff6c7a684a1dde3..788747879a2594ee35f2e868a096f11f9e1997e4 100644 (file)
@@ -6,7 +6,6 @@
  * Padmarao Begari <padmarao.begari@microchip.com>
  * Conor Dooley <conor.dooley@microchip.com>
  */
-#include <common.h>
 #include <clk.h>
 #include <dm.h>
 #include <i2c.h>
index 98f95859f3bc11975758fc74d755e4ca3a50ebd9..380a9f8f3addc6a4d86ccab35d46b52dc7247f65 100644 (file)
@@ -5,7 +5,6 @@
 
 #define LOG_CATEGORY UCLASS_I2C
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <i2c.h>
index 0a1a85dfc288fc3dbd53567f0e42f57cddf4ea83..a8f0a170f7992005a6ae3f7a1fc04cb7def73846 100644 (file)
@@ -5,7 +5,6 @@
  *
  */
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <i2c.h>
index fe0cd75d94a16fb9febb18bdb103fdf1035dca2b..7c43a5546d3d2bc5ea2e4b021c9508a45fe7ccd2 100644 (file)
@@ -7,7 +7,7 @@
  *
  * Multibus/multiadapter I2C core functions (wrappers)
  */
-#include <common.h>
+#include <config.h>
 #include <i2c.h>
 #include <linker_lists.h>
 #include <asm/global_data.h>
index d715714638fff1c1b1567afb5fb33cfe82cd6242..dc88cd19167e658db52c11b054365918afa659df 100644 (file)
@@ -4,7 +4,6 @@
  * Dirk Eibach,  Guntermann & Drunck GmbH, dirk.eibach@gdsys.cc
  */
 
-#include <common.h>
 #include <i2c.h>
 #include <dm.h>
 #include <regmap.h>
index ad9293c92e1ad2adf920f910369e643cfdd425d4..6c0d8eb5f4f532503f7b1595c5fc3189ed1e091f 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright 2016 Freescale Semiconductors, Inc.
  */
 
-#include <common.h>
 #include <errno.h>
 #include <log.h>
 #include <asm/io.h>
index 4fc6f1a11a7585d2b949f171a76e0ca19b0b1c3c..d8ceea10cda748c81e2593beb6f320fdf4a3b7ff 100644 (file)
@@ -7,11 +7,11 @@
  * Copyright (C) 2016 Stefan Roese <sr@denx.de>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <i2c.h>
 #include <log.h>
 #include <pci.h>
+#include <time.h>
 #include <asm/io.h>
 
 /* PCI Configuration Space (D31:F3): SMBus */
index 39af49c4ec54295212ead5a8caab8eb475ea1d9b..6570f64fe7748ef887755ecdfe3a141ad7f68398 100644 (file)
@@ -6,7 +6,6 @@
 
 #include <asm/global_data.h>
 #include <asm/io.h>
-#include <common.h>
 #include <config.h>
 #include <dm.h>
 #include <linux/printk.h>
index 496f4feec5666a5acabc1207472ca2cfa98ac1d1..a4e42e64a9b8fd1f056f4585c0a16b9490b28f20 100644 (file)
@@ -6,7 +6,7 @@
  * Written-by: Albert ARIBAUD - 3ADEV <albert.aribaud@3adev.fr>
  */
 
-#include <common.h>
+#include <config.h>
 #include <log.h>
 #include <asm/io.h>
 #include <i2c.h>
index 434e3461b1dd0b74dd57762b95722a319507b16a..19f1b6b08196622fe516df521bffa88bb13f8b3b 100644 (file)
@@ -2,7 +2,6 @@
 /*
  * (C) Copyright 2017 - Beniamino Galvani <b.galvani@gmail.com>
  */
-#include <common.h>
 #include <log.h>
 #include <asm/io.h>
 #include <clk.h>
index ad730e0e79ffd9cb4b4266a17938102ef6d0d44b..a83d7cb0829d3b336074c35785f63431f00bf2a4 100644 (file)
@@ -4,12 +4,12 @@
  * Written by Simon Glass <sjg@chromium.org>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <i2c.h>
 #include <log.h>
 #include <malloc.h>
+#include <time.h>
 #include <asm/global_data.h>
 #include <asm/gpio.h>
 #include <linux/delay.h>
index 4ca206115f855e9a8751dfffecd391afdca944e6..f212bd1f983647e0df261b280ad8dd80cae752b8 100644 (file)
@@ -10,7 +10,6 @@
 #include <asm/global_data.h>
 #include <asm/io.h>
 #include <asm-generic/gpio.h>
-#include <common.h>
 #include <dm.h>
 #include <dm/device_compat.h>
 #include <dm/devres.h>
index a5d1bb0576dbc9747e494348cdae14ed1a497ad2..d1999d21feb77d14a6641d4285492f6a063b5ef8 100644 (file)
@@ -6,7 +6,6 @@
 
 #define LOG_CATEGORY UCLASS_I2C_MUX
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <i2c.h>
index 0034dfbf6daf801828cc6b3e0eabbf16eccd1a99..b4e3e16a9764fdf94aa50c68795c932ba7b4a4b1 100644 (file)
@@ -5,7 +5,6 @@
  * Written by Michal Simek
  */
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <i2c.h>
index 5bc9cd7b295a41d2b4b9b215eef418e4bfe1bf1f..949cc45d308d46411e6d6b032f85d8873aa889bd 100644 (file)
@@ -16,7 +16,6 @@
  * Murray.Jensen@cmst.csiro.au, 27-Jan-01.
  */
 
-#include <common.h>
 #include <dm.h>
 #include <i2c.h>
 #include <log.h>
index c38330f758a9fc6c52365db2d670e2a356333daa..44e8e191b0392b9a91e19f2e32c3df2039789064 100644 (file)
@@ -7,7 +7,7 @@
  * Copyright (c) 2010 Albert Aribaud.
  */
 
-#include <common.h>
+#include <config.h>
 #include <i2c.h>
 #include <log.h>
 #include <asm/global_data.h>
index d501133a0c8fc67124b58fc33325f392d38ba817..0acdaf7e7431f5a701843e7e17e2af279a0b385e 100644 (file)
@@ -14,7 +14,7 @@
  *
  */
 
-#include <common.h>
+#include <config.h>
 #include <log.h>
 #include <asm/arch/clock.h>
 #include <asm/arch/imx-regs.h>
index 07cda0fa67935c9153eaa9d44ddd8a692c7e28f9..8562dd82bd630f7872f5f3f22f34f1f65e567ded 100644 (file)
@@ -1,8 +1,8 @@
-#include <common.h>
 #include <errno.h>
 #include <dm.h>
 #include <i2c.h>
 #include <log.h>
+#include <time.h>
 #include <asm/arch/nexell.h>
 #include <asm/arch/reset.h>
 #include <asm/arch/clk.h>
index fff85118d0de1f68cd025217fee44c3190d3b649..cf714d22ee4634a4b19c905cec9443f2da6c8a38 100644 (file)
@@ -12,7 +12,6 @@
  * Andreas Larsson <andreas@gaisler.com>
  */
 
-#include <common.h>
 #include <asm/global_data.h>
 #include <asm/io.h>
 #include <clk.h>
index 6fc9d1eba9d1be50621a963f285bbf9035ca2f3f..ebe472e20cdb32a1cf291766364ba460a2215c04 100644 (file)
@@ -38,7 +38,6 @@
  *
  */
 
-#include <common.h>
 #include <dm.h>
 #include <i2c.h>
 #include <log.h>
index 5ae3cccd4acd7669632b0f05d620e75cbd5c6fe5..26707d63980e0f309a8348e5cf06325226757cff 100644 (file)
@@ -9,7 +9,6 @@
 
 #include <init.h>
 #include <env.h>
-#include <common.h>
 #include <log.h>
 #include <dm/device_compat.h>
 #include <linux/delay.h>
index ff9a2d80dda1c1b606cf9b7de325ae27e6a76031..f0f9b2afacfbb7f9a48a497c92126bfb7773601c 100644 (file)
@@ -11,7 +11,6 @@
  *   Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
  */
 
-#include <common.h>
 #include <clk.h>
 #include <dm.h>
 #include <i2c.h>
index f0e50914c68d4330f404a39fa31c8f7ee1d48d0a..2aa0f5fbfae4d49cd648d21aebcfca6571fa680f 100644 (file)
@@ -9,7 +9,6 @@
  * Copyright (C) 2011, 2013 Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
  */
 
-#include <common.h>
 #include <clk.h>
 #include <dm.h>
 #include <i2c.h>
index 9927af94a80b1dfbb66c41e276d52118ba6b996f..fa167268ae718f4370e7a726895be7df1397dd48 100644 (file)
@@ -6,7 +6,6 @@
  * Peter, Software Engineering, <superpeter.cai@gmail.com>.
  */
 
-#include <common.h>
 #include <clk.h>
 #include <dm.h>
 #include <errno.h>
index 505e20bc61c8c4cea9700b5fc5ad49f8610e60f4..72d2ab0f73d87835bd026e8d87911253f12f00a5 100644 (file)
@@ -4,10 +4,10 @@
  * David Mueller, ELSOFT AG, d.mueller@elsoft.ch
  */
 
-#include <common.h>
 #include <errno.h>
 #include <dm.h>
 #include <fdtdec.h>
+#include <time.h>
 #if defined(CONFIG_ARCH_EXYNOS4) || defined(CONFIG_ARCH_EXYNOS5)
 #include <log.h>
 #include <asm/arch/clk.h>
index c99e6de933279f1925be81042037ea957c7b66d6..74bb5e93397363328cf2cce491ac2cacb54ec449 100644 (file)
@@ -5,7 +5,6 @@
  * Copyright (c) 2014 Google, Inc
  */
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <i2c.h>
index 3335d9482a29f82fc522a68bca9896594a623975..ab816101dea0e8f7ab87f4a16a6d6b3d503c730a 100644 (file)
@@ -7,7 +7,6 @@
  * Please see doc/driver-model/i2c-howto.rst for instructions.
  */
 
-#include <common.h>
 #include <i2c.h>
 #include <log.h>
 #include <asm/global_data.h>
index ed8ba47de4500ca1fd34cde7426ed80fc8582a17..1f2afc65e8b314084547b58535a2740f97731e43 100644 (file)
@@ -15,7 +15,7 @@
  * Please see doc/driver-model/i2c-howto.rst for instructions.
  */
 
-#include <common.h>
+#include <config.h>
 #if defined(CONFIG_AT91FAMILY)
 #include <asm/io.h>
 #include <asm/arch/hardware.h>
index f42e08a6418038dec61b9591032a231709eb1399..3f51b1dd1db42b2700acc731cd8425b312969371 100644 (file)
@@ -5,7 +5,6 @@
 
 #define LOG_CATEGORY UCLASS_I2C
 
-#include <common.h>
 #include <clk.h>
 #include <dm.h>
 #include <i2c.h>
index b8e07a533ca92d953f29953f6cb5dda260076184..c927c0edf2504f42f12fc11c0830fd7ce64bd011 100644 (file)
@@ -15,7 +15,6 @@
 
 #include <axp_pmic.h>
 #include <clk.h>
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <i2c.h>
index f36f2c7afacfa4aa59c2894dbc3d6b9c018c4c24..2197f1805663d9435f66456976d46e676ab8d9c2 100644 (file)
@@ -10,7 +10,6 @@
 
 #include <axp_pmic.h>
 #include <clk.h>
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <i2c.h>
index 588f6bdcc4b40f1a6162a314b2e63abb24d378bf..d30eb5231229826328dc04d965cd9531092c2586 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (c) 2016, NVIDIA CORPORATION.
  */
 
-#include <common.h>
 #include <dm.h>
 #include <i2c.h>
 #include <log.h>
index 57d77d56ea5515cd902280294c0a586359d35cdd..3c324bd26635ba1307826e94e66065c10dfb47d1 100644 (file)
@@ -5,7 +5,6 @@
  *  NVIDIA Corporation <www.nvidia.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <i2c.h>
index 72199a62b2d77c844a25b79a8f2cc70926831b12..056024e350fbed1f742856b4d3b48045928c491b 100644 (file)
@@ -9,7 +9,6 @@
  * Copyright (c) 2009-2010 Intel Corporation
  */
 
-#include <common.h>
 #include <clk.h>
 #include <dm.h>
 #include <i2c.h>
index 7cf12f453a30d1c161bd47b3320203413a7085cf..5b30cec2dcb9874001c98e97ffe666d4d6026bc2 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2021 Mark Kettenis <kettenis@openbsd.org>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <keyboard.h>
 #include <spi.h>
index c73d3b18be9c6a1e1afb8a41178e50d0f76e07a4..0a917ac8b9957be36c09b76330b1c000728540e4 100644 (file)
@@ -4,7 +4,6 @@
  */
 
 #include <stdlib.h>
-#include <common.h>
 #include <dm.h>
 #include <fdtdec.h>
 #include <input.h>
index c4853463739b19814c24b9ac53759312c2b9cee2..0917ee20fedc76cc22990de667d3ff6b76c6bedc 100644 (file)
@@ -5,7 +5,6 @@
  * Copyright (c) 2012 The Chromium OS Authors.
  */
 
-#include <common.h>
 #include <cros_ec.h>
 #include <dm.h>
 #include <errno.h>
index e6070ca015296b29d618e31fb123669786f2d5e8..9bf21053cf064e586020a8c11e0be63f384ee371 100644 (file)
@@ -8,7 +8,6 @@
 
 #define LOG_CATEGORY UCLASS_KEYBOARD
 
-#include <common.h>
 #include <dm.h>
 #include <env.h>
 #include <errno.h>
index 8a6506e7c6f9f237386861ae5ec5ec60f379b292..3f146fb07e6d59abb45452099a15a1bc03c5f7d4 100644 (file)
@@ -6,13 +6,13 @@
  * (C) Copyright 2004 DENX Software Engineering, Wolfgang Denk, wd@denx.de
  */
 
-#include <common.h>
 #include <console.h>
 #include <dm.h>
 #include <env.h>
 #include <errno.h>
 #include <log.h>
 #include <stdio_dev.h>
+#include <time.h>
 #include <input.h>
 #ifdef CONFIG_DM_KEYBOARD
 #include <keyboard.h>
index e2fb2e1707875af4bd2fff23391426689fe7b953..2e631660c880d58d5aa771db9065b3444b62ae83 100644 (file)
@@ -6,7 +6,6 @@
  * (C) Copyright 2004 DENX Software Engineering, Wolfgang Denk, wd@denx.de
  */
 
-#include <common.h>
 #include <dm.h>
 #include <key_matrix.h>
 #include <log.h>
index aefc8e825e207749cf10eb9d8fb636c730a3b01d..df9ee8f7d659b304540a29f563af52038965d62f 100644 (file)
@@ -5,7 +5,6 @@
 
 #define LOG_CATEGORY UCLASS_KEYBOARD
 
-#include <common.h>
 #include <dm.h>
 #include <keyboard.h>
 #include <log.h>
index d4741a76663eab3ddcbea91402b59a981204a129..fc13975d4f0f496ca1f242c345851bfb4b1d602a 100644 (file)
@@ -4,7 +4,6 @@
  *  NVIDIA Corporation <www.nvidia.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <fdtdec.h>
 #include <input.h>
@@ -13,6 +12,7 @@
 #include <log.h>
 #include <stdio_dev.h>
 #include <tegra-kbc.h>
+#include <time.h>
 #include <asm/io.h>
 #include <asm/arch/clock.h>
 #include <asm/arch/funcmux.h>
index 6ecd84303bc2bf56df73a45c41ea0515c9357d7b..9327dea1e3bba51fcb81685e6c639e8558ce48bb 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2021 Mark Kettenis <kettenis@openbsd.org>
  */
 
-#include <common.h>
 #include <cpu_func.h>
 #include <dm.h>
 #include <iommu.h>
index dff3239cccb151c59041e14dcc1cc0b9b52d2f9e..bb31cd519d25d163bea32c1f4e0df58f6acb6129 100644 (file)
@@ -5,7 +5,6 @@
 
 #define LOG_CATEGORY UCLASS_IOMMU
 
-#include <common.h>
 #include <dm.h>
 #include <iommu.h>
 #include <malloc.h>
index 6ceb7fd5ec374a55b12982182ede7d0b9a39a70f..e37976f86f02b35d88de203984ccb0a720b22926 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2021 Mark Kettenis <kettenis@openbsd.org>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <iommu.h>
 #include <lmb.h>
index a4be56fc258443802fbf0ef4158890615ec20355..f37bf6a1550c5ef52877aa302fdab4c3fa30ed8a 100644 (file)
@@ -6,7 +6,6 @@
 
 #define LOG_CATEGORY UCLASS_LED
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <led.h>
index f59a92fb1fda3bbd538fd86294f50baab1f53fb6..dcc5741195cd3f7993e8f5e359a360b044227479 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2017 Álvaro Fernández Rojas <noltari@gmail.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <led.h>
index 25aa3994d0e4a252edabe6706e977fd1ca266fb0..b1373ab7426721c34f981e4e7a4ccb47d13d1aed 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2017 Álvaro Fernández Rojas <noltari@gmail.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <led.h>
index 2466d9301166379bfd0382b20665fa0a5f26eca8..170caf7bdca76818ae851ddcfc1c3082e6f2a961 100644 (file)
@@ -6,7 +6,6 @@
  * drivers/led/led_bcm6858.c
  */
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <led.h>
index 397dc0d8693ddd8fae84843b3b3a25507d8251fd..a6efdcf640535729671ed7937932acefe7acd57d 100644 (file)
@@ -7,7 +7,6 @@
  * drivers/led/led_bcm6358.c
  */
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <led.h>
index bcbe78d632ac5fb8a4b4b7bfd5fa471e5d3cf929..2d3ad323d33be7837057c85ba0eb676174d11311 100644 (file)
@@ -6,7 +6,6 @@
  *
  */
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <led.h>
index 71421de628c993860dfde9efa5e0c7519d5618f2..ce22fb49f2a96f1d0022135288f57517a676c6d7 100644 (file)
@@ -4,7 +4,6 @@
  * Written by Simon Glass <sjg@chromium.org>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <led.h>
index ae6de3087ab7754a22949decdb2488be670e1096..15dd836509b8b9b1f94b60195c9ce64b658b107d 100644 (file)
@@ -4,7 +4,6 @@
  * Author: Ivan Vozvakhov <i.vozvakhov@vk.team>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <led.h>
index 30c8e2f03fa8f688b16b8e38a0ffa49776aea23b..2ee49734f40654b528b68ba1ccee213e645431fd 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2021 Mark Kettenis <kettenis@openbsd.org>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <mailbox-uclass.h>
 #include <asm/io.h>
index 05f6b1795d64269cda206d2a1836fcc9f264f320..5eafe46fd4d073d2ce155856a65b2894b66a72de 100644 (file)
@@ -6,7 +6,6 @@
  *     Lokesh Vutla <lokeshvutla@ti.com>
  */
 
-#include <common.h>
 #include <log.h>
 #include <malloc.h>
 #include <asm/global_data.h>
index 85ba8c5fd99d53b471e450ac7189fe6c5909ad1a..4bf4987ce0a1db957f165dd5726fccdeafb42f8a 100644 (file)
@@ -5,7 +5,6 @@
 
 #define LOG_CATEGORY UCLASS_MAILBOX
 
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <mailbox.h>
index ffd4674d1ef7f12089ab0a5191b33fea8348a75c..a2cfde2f62d6ee23f32a2c20844f1abce4bdf98d 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (c) 2016, NVIDIA CORPORATION.
  */
 
-#include <common.h>
 #include <dm.h>
 #include <mailbox.h>
 #include <malloc.h>
index 87d38de0cb612afaf971e47434298f4bb2448e28..87e06e492fe7a2c6d73d2790fae3fed8f9573cf0 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (c) 2016, NVIDIA CORPORATION.
  */
 
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <mailbox-uclass.h>
index 046e1a8aca6e6af41ac4d78fb5f30451b2139ad3..dda108735fce5877d85c3b9aa644fbca563cbcf5 100644 (file)
@@ -5,7 +5,6 @@
 
 #define LOG_CATEGORY UCLASS_MAILBOX
 
-#include <common.h>
 #include <clk.h>
 #include <dm.h>
 #include <log.h>
index 08c51c40f1411a51653ee74c8872db05aad4987a..bfd4d7cdf2e4d8047484fd83aa285677ac497916 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (c) 2016, NVIDIA CORPORATION.
  */
 
-#include <common.h>
 #include <log.h>
 #include <malloc.h>
 #include <asm/io.h>
index eb86847bbe2354e0bfda3d4551e64066ec9c3f38..4df69734ed952c707992671577a375c6ddd3f75b 100644 (file)
@@ -5,7 +5,6 @@
  * Copyright (C) 2018-2019 Xilinx, Inc.
  */
 
-#include <common.h>
 #include <log.h>
 #include <asm/io.h>
 #include <asm/system.h>
index 1ce9607785862b2ecb5d6e940b83ba05d41e6bc1..713dead5c572feb35805fefe97ca943c1fde6874 100644 (file)
@@ -5,7 +5,6 @@
 
 #define LOG_CATEGORY UCLASS_NOP
 
-#include <common.h>
 #include <clk.h>
 #include <dm.h>
 #include <reset.h>
index 41325eb0f9414903eec725c051350786b5412fa7..29131f536a66df204c937b556d19b33c3f802ec4 100644 (file)
@@ -6,7 +6,6 @@
  *     Texas Instruments Incorporated, <www.ti.com>
  */
 
-#include <common.h>
 #include <asm/arch/hardware.h>
 #include <asm/ti-common/ti-aemif.h>
 
index 8877b8f4385b9bb220dfcb0e9f603253dc7d453c..8af48e199a74ad53a9ba98d1f6494e78e71e3ea3 100644 (file)
@@ -7,7 +7,6 @@
 
 #include <asm/io.h>
 #include <clk.h>
-#include <common.h>
 #include <dm.h>
 #include <dm/device-internal.h>
 #include <dm/device_compat.h>
index 878df12771c8d72907e1ee86d2de5cb068fd2039..21e64fa3e6fef88bdc2b0a6a0a16b83761bb35ec 100644 (file)
@@ -4,7 +4,6 @@
  * Scott McNutt <smcnutt@psyent.com>
  */
 
-#include <common.h>
 #include <command.h>
 #include <dm.h>
 #include <errno.h>
index 707daa90bdba76551bc28848ecfbda881b0c901c..3b9046da880c106859978d36a5a10a1e6ce2259b 100644 (file)
@@ -10,7 +10,6 @@
  * published by the Free Software Foundation.
  */
 
-#include <common.h>
 #include <dm.h>
 #include <i2c.h>
 #include <errno.h>
index ba3a599c4a51714ce58b04dd9af2347f1b1d6640..8220addd579bbc147c5ea138fe9324a8a3637e72 100644 (file)
@@ -3,8 +3,8 @@
  * Copyright (C) 2011 The ChromiumOS Authors.  All rights reserved.
  */
 
-#include <common.h>
 #include <console.h>
+#include <linux/string.h>
 #include <asm/cb_sysinfo.h>
 
 void cbmemc_putc(struct stdio_dev *dev, char data)
index 9c1e6a5e3e70686feacce2d7bafe6f6468ffd7e0..fabe4964a334ba8cbf04a155a7c9baf615a8b41e 100644 (file)
@@ -15,7 +15,6 @@
 
 #define LOG_CATEGORY UCLASS_CROS_EC
 
-#include <common.h>
 #include <command.h>
 #include <dm.h>
 #include <i2c.h>
@@ -24,6 +23,7 @@
 #include <log.h>
 #include <malloc.h>
 #include <spi.h>
+#include <time.h>
 #include <linux/delay.h>
 #include <linux/errno.h>
 #include <asm/io.h>
index a1b78a3045dd56e799fd56954fbf71915b0e06fe..5516aa8b3ffd47ab48abff395baa22f4032b2af7 100644 (file)
@@ -12,7 +12,6 @@
  * KBC.
  */
 
-#include <common.h>
 #include <dm.h>
 #include <i2c.h>
 #include <cros_ec.h>
index 1a8a81349c3a520489ff17ce3695cd2b2165ee4c..e2a3226362a9707c559c28362c9805cc11fe143c 100644 (file)
  * KBC.
  */
 
-#include <common.h>
 #include <dm.h>
 #include <command.h>
 #include <cros_ec.h>
 #include <log.h>
+#include <time.h>
 #include <asm/io.h>
 
 #ifdef DEBUG_TRACE
index 1201535f4af4b834cedcfc0e5a1c4983bf5e8015..1cad51d474de333523872717f315fad9adf801b9 100644 (file)
@@ -7,7 +7,6 @@
 
 #define LOG_CATEGORY UCLASS_CROS_EC
 
-#include <common.h>
 #include <cros_ec.h>
 #include <dm.h>
 #include <ec_commands.h>
@@ -17,6 +16,7 @@
 #include <os.h>
 #include <u-boot/sha256.h>
 #include <spi.h>
+#include <time.h>
 #include <asm/malloc.h>
 #include <asm/state.h>
 #include <asm/sdl.h>
index 591ff30df89b8e52098ca16bb2265c753fdc7b0b..e86791c03a73c8c84e891c75781bd50ad22a2b7d 100644 (file)
  * KBC.
  */
 
-#include <common.h>
 #include <cros_ec.h>
 #include <dm.h>
 #include <errno.h>
 #include <log.h>
 #include <spi.h>
+#include <time.h>
 
 int cros_ec_spi_packet(struct udevice *udev, int out_bytes, int in_bytes)
 {
index 9340596f2c6392f9d69f2c37ac445e798d0f1777..302015e27938c1241308934cd50f7a5b4f75a9d5 100644 (file)
@@ -8,7 +8,6 @@
  * and 4 programmable non-volatile GPIO pins.
  */
 
-#include <common.h>
 #include <i2c.h>
 #include <command.h>
 #include <linux/delay.h>
index a518f750611a46c47cd608660464a3c9a138ab04..1963c8664a54e8f28fd72448dba9bddd63831e8f 100644 (file)
@@ -7,7 +7,6 @@
  *
  */
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <power/pmic.h>
index 1ffc199ba1e4939b737feb83f3208d00b6339bfc..66803f4b9975f4792c70adf16625cdf0e5bf1799 100644 (file)
@@ -6,7 +6,6 @@
 
 #define LOG_CATEGORY UCLASS_FS_FIRMWARE_LOADER
 
-#include <common.h>
 #include <dm.h>
 #include <env.h>
 #include <errno.h>
index 179053a298af955ca2ae5d9c63b75af18cf36f91..2c3d2348076258d0a9ca70d7fbebe312011d4ef0 100644 (file)
@@ -3,7 +3,7 @@
  * Copyright 2015 Freescale Semiconductor, Inc.
  * Author: Zhuoyu Zhang <Zhuoyu.Zhang@freescale.com>
  */
-#include <common.h>
+#include <config.h>
 #include <asm/io.h>
 #include <asm/arch-ls102xa/immap_ls102xa.h>
 #include <asm/arch-ls102xa/config.h>
index f165b8c36ba445cf01d53b41206c3b5247e3cbf3..93f41da0f974fbd6ff8bbef34b150b180ef6f76a 100644 (file)
@@ -4,7 +4,7 @@
  * Author: Dipen Dudhat <dipen.dudhat@freescale.com>
  */
 
-#include <common.h>
+#include <config.h>
 #include <fsl_ifc.h>
 #include <part.h>
 
index 85cc3c26b2eff3ce699c56f0de834fd841e1f3f5..65468a68dbdfdeab0fe2d57b5554872dcd19e73f 100644 (file)
@@ -8,7 +8,6 @@
  * Martha Marx <mmarx@silicontkx.com>
  */
 
-#include <common.h>
 #include <fuse.h>
 #include <linux/delay.h>
 #include <linux/errno.h>
index 6b831281e96ff188d095f587045f3caf5738788f..e7c0df78b6b65af2e2d49ad2341a0243dbbc465c 100644 (file)
@@ -4,7 +4,7 @@
  * Copyright 2017 NXP
  */
 
-#include <common.h>
+#include <config.h>
 #include <log.h>
 #include <linux/libfdt.h>
 #include <fdt_support.h>
index 3597ee22242cc6b9a435f9ab9d5f4877607a4de5..7518089e1e3e7ed603559b94bd7ae7518154cfb9 100644 (file)
@@ -3,7 +3,7 @@
  * Copyright 2015 Freescale Semiconductor, Inc.
  */
 
-#include <common.h>
+#include <config.h>
 #include <fsl_sec_mon.h>
 #include <linux/delay.h>
 
index 145cfa23c6c5fea0401e1656d680dc3a51729371..d4916a277b84bcd505af8614308a9925abe18e10 100644 (file)
@@ -11,7 +11,6 @@
  * SPDX-License-Identifier:    GPL-2.0+
  */
 
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <misc.h>
index 8f5cbe420f8756b8609bd252deb5e1e2effebbe5..d4cd63ca9f89fc8a35bc43d7e91b95f2e312deb3 100644 (file)
@@ -7,7 +7,6 @@
  * Mario Six,  Guntermann & Drunck GmbH, mario.six@gdsys.cc
  */
 
-#include <common.h>
 #include <dm.h>
 #include <regmap.h>
 #include <misc.h>
index 27e7dc483276e71abfa72d4eb600905b717e14fc..0adbb8df3c2ca8c0c553996902926abe57bd0f54 100644 (file)
@@ -4,7 +4,6 @@
  * Mario Six,  Guntermann & Drunck GmbH, mario.six@gdsys.cc
  */
 
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <dm/lists.h>
index 30679f80cf15539e0cdb7c383ad44602569cd09b..e63689967a7ac0ee0f1bdc7e607bfb728ec11a67 100644 (file)
@@ -5,7 +5,6 @@
  * Licensed under the GPL-2 or later.
  */
 
-#include <common.h>
 #include <status_led.h>
 #include <asm/gpio.h>
 
index 9111bd724cbbfb097460e4bae87343254d60143a..10f0173d80500d026514f022fed150c0f2ed57a5 100644 (file)
@@ -5,8 +5,6 @@
 
 #define LOG_CATEGORY UCLASS_I2C_EEPROM
 
-#include <common.h>
-#include <eeprom.h>
 #include <linux/delay.h>
 #include <linux/err.h>
 #include <linux/kernel.h>
index 6f32087ede56d7eb98de2affdd64f52625a52342..3ad2e047ee3ee84ef5cb8a6c6eea1431923649fe 100644 (file)
@@ -5,7 +5,6 @@
  * Copyright (c) 2014 Google, Inc
  */
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <i2c.h>
index a0fece985d85bc3105d6448458fea5c095be8585..fe196b6081987401acb34937e61b00cae9b667ee 100644 (file)
@@ -9,7 +9,6 @@
  * Dirk Eibach,  Guntermann & Drunck GmbH, eibach@gdsys.de
  */
 
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <regmap.h>
index b81f73f283f4c5fb7f3325aaa4b7ed5a9a0df65d..90d251a440589ca07e545ae1303121a74f888188 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright 2019 NXP
  */
 
-#include <common.h>
 #include <console.h>
 #include <errno.h>
 #include <fuse.h>
index 798800aa75837f4100e7a737e9cc4cc582277a36..bbd7e24200bde6a7809dc38c462860719d5a842e 100644 (file)
@@ -5,7 +5,6 @@
  * Peng Fan <peng.fan@nxp.com>
  */
 
-#include <common.h>
 #include <log.h>
 #include <asm/global_data.h>
 #include <asm/io.h>
index 6e2c678e614f6ba3fa35f471c41673d9ecd4e2c4..591d71b096a8d4293c91d4b58e55d63da078d274 100644 (file)
@@ -5,7 +5,6 @@
  * Peng Fan <peng.fan@nxp.com>
  */
 
-#include <common.h>
 #include <hang.h>
 #include <malloc.h>
 #include <asm/global_data.h>
index e0ec22c7abf9fa8afa58d81c5f3a6ea439c909cb..3745504637b3b472151577a70e0a201f3d7b9098 100644 (file)
@@ -4,7 +4,6 @@
  *
  */
 
-#include <common.h>
 #include <hang.h>
 #include <malloc.h>
 #include <asm/io.h>
index 053cdcf0fe07c4d14f20447ff553ea0c1ed58e87..0cf81f33ba5e704b45840be8c9e4cb2917946327 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright 2020-2022 NXP
  */
 
-#include <common.h>
 #include <asm/io.h>
 #include <dm.h>
 #include <dm/lists.h>
index 4e4dcb42cdd95fc609b0e9cb711a256b5a97228f..d12539c8aac06142f72eff41cb97d801c397c30d 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright 2020 NXP
  */
 
-#include <common.h>
 #include <console.h>
 #include <errno.h>
 #include <fuse.h>
index 7b79ed2df466010c1c08fd3ed3638b03e1320dd3..79eb7c200dc24aa42ca3855079ebe232d8ad70e7 100644 (file)
@@ -6,7 +6,6 @@
 
 #define LOG_CATEGORY UCLASS_IRQ
 
-#include <common.h>
 #include <dm.h>
 #include <dt-structs.h>
 #include <irq.h>
index 8b5573fcaddda24ea0d7c93b8a370f7d875c5bad..5d176f63b5cfa7d465d7ced56d4b007a8a640854 100644 (file)
@@ -5,7 +5,6 @@
  * Copyright 2019 Google LLC
  */
 
-#include <common.h>
 #include <dm.h>
 #include <irq.h>
 #include <acpi/acpi_device.h>
index 95c45c24edb82adb294fe48c62ac12b0d5286187..3669b863bec180a29319bede798a8eb474af43a1 100644 (file)
@@ -5,7 +5,6 @@
  * Copyright 2021 Google LLC
  */
 
-#include <common.h>
 #include <dm.h>
 #include <irq.h>
 #include <asm/irq.h>
index 1fba3271db6120833dbc71dcb326c5ada860240b..5c92de26ec5fc6c49c2fcb58e9f472294396eeb7 100644 (file)
@@ -6,7 +6,6 @@
  * Author: Alex Smith <alex.smith@imgtec.com>
  */
 
-#include <common.h>
 #include <asm/io.h>
 #include <asm/unaligned.h>
 #include <errno.h>
index 0d29eff1ac08af8500eb479027fb9b21808f2fdb..87471cc3b16adb39f485ca29121be24a4f7edc4b 100644 (file)
@@ -7,7 +7,6 @@
  *
  */
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <asm/io.h>
index f6ac18bdc757745ee19b7d63747b755bdb4f8a3a..fa3d656562206c909096e8e87148976a6fe93210 100644 (file)
@@ -7,7 +7,6 @@
  *
  */
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <asm/io.h>
index 5351c7ed34fd0ac8686d36ad36460bb56848b168..8cb6e999bed1d0d968e76c107be380a62926beb4 100644 (file)
@@ -12,7 +12,6 @@
  */
 
 #define LOG_CATEGORY UCLASS_MISC
-#include <common.h>
 #include <clk.h>
 #include <fuse.h>
 #include <misc.h>
index e0a6f2d38801e05ef39e5d590f3647d8137dc871..c5ddecac755171e5e9b25d4a69855b5a0fade377 100644 (file)
@@ -4,7 +4,6 @@
  * Author: Eugen Hristev <eugen.hristev@microchip.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <log.h>
index cfe9d562fa0d2fc5a9ca6f85926fcbfc499506ad..1389e146b61281b976d87c99eb4e530056de7811 100644 (file)
@@ -5,7 +5,6 @@
 
 #define LOG_CATEGORY UCLASS_MISC
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <misc.h>
index 31cde2dbac07eb0c55a400ca12e303712edc3dec..2473419df2a39e23f82ade8e0b59674a8110ecc7 100644 (file)
@@ -4,7 +4,6 @@
  * Mario Six, Guntermann & Drunck GmbH, mario.six@gdsys.cc
  */
 
-#include <common.h>
 #include <dm.h>
 #include <misc.h>
 
index 93c87e998c4f3923213d60e3096bee1ef6cd7a40..cf9aa9b35b337ca390c68cee6c54cad705a84074 100644 (file)
@@ -9,7 +9,6 @@
  * Copyright (C) 2008 MontaVista Software, Inc.
  */
 
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <mapmem.h>
index 8ee18f29d9be04a50b54c10b9f5a5eff69696008..d1674caa138cf0e56bfe188ee54c351be1d251e0 100644 (file)
@@ -11,7 +11,6 @@
  * Copyright (C) 2011 Freescale Semiconductor, Inc.
  */
 
-#include <common.h>
 #include <fuse.h>
 #include <linux/delay.h>
 #include <linux/errno.h>
index facc720c8ef20395bbef0940e1f43d40fd70a8f4..6432c62dac34b9b9289164fd8ebc081ac1ffe05c 100644 (file)
@@ -11,7 +11,6 @@
  *       etc.) which would make common driver an ifdef nightmare :-(
  */
 
-#include <common.h>
 #include <fuse.h>
 #include <linux/delay.h>
 #include <linux/errno.h>
index 79f57f57d89caad34260ce07a15685baee902d72..58bab888c3c862456948c177c5cbdc2fdb316972 100644 (file)
@@ -4,7 +4,6 @@
  * Copyright (c) 2022 Nuvoton Technology Corp.
  */
 
-#include <common.h>
 #include <dm.h>
 #include <regmap.h>
 #include <syscon.h>
index 08029724c04097e3659077f9645c36641c4ce60b..adb6135291dcf0fe56011b9ac169b623be2fc795 100644 (file)
@@ -4,7 +4,6 @@
  */
 
 #include <clk.h>
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <fuse.h>
index daf5019d0170f3234ae110777596b108ae00dd5f..a3ca037d25f7d97da49dca8538bcff64195cb999 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2016 Stefan Roese <sr@denx.de>
  */
 
-#include <common.h>
 #include <nuvoton_nct6102d.h>
 #include <asm/io.h>
 #include <asm/pnp_def.h>
index 5a2bd1f9f72c8c2bf67b61eac55a33e207fc16ea..d0cb0a35b816246133410e60da2c66469b696eb0 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2022 Sean Anderson <sean.anderson@seco.com>
  */
 
-#include <common.h>
 #include <i2c_eeprom.h>
 #include <linker_lists.h>
 #include <misc.h>
index f24857a1515e27201ab9a642498864a43d84e701..016c807337821d4d62a3e4549a4f25b3fba71a8a 100644 (file)
@@ -8,7 +8,6 @@
 
 #define LOG_CATEGORY UCLASS_P2SB
 
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <malloc.h>
index 51f87161d5b796c496aae44249760832f4142b85..3dac6bd82e30d3416e287587d750eb740c76645e 100644 (file)
@@ -8,7 +8,6 @@
 
 #define LOG_CATEGORY UCLASS_MISC
 
-#include <common.h>
 #include <axi.h>
 #include <dm.h>
 #include <log.h>
index d80bca22a6b2fce145b34a5512d65e964b0ff74b..9f3cd14958b845ad640ef73bde960e87b468c126 100644 (file)
@@ -7,7 +7,6 @@
 
 #define LOG_CATEGORY UCLASS_P2SB
 
-#include <common.h>
 #include <dm.h>
 #include <asm/io.h>
 #include <p2sb.h>
index cdc4390f8155dcefcf1788006281b9e4904e1f34..040d0d5cf48cc0016de01b25cbfeeeb3ac347069 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2015 Stefan Roese <sr@denx.de>
  */
 
-#include <common.h>
 #include <errno.h>
 #include <i2c.h>
 #include <status_led.h>
index a0f24e1bf3a967bc544871e54a8d0d8b6cb3ddd4..bddc3c3368572eed3f48608765f5d0276125c9f2 100644 (file)
@@ -5,7 +5,6 @@
 
 #define LOG_CATEGORY UCLASS_PWRSEQ
 
-#include <common.h>
 #include <dm.h>
 #include <pwrseq.h>
 
index db98619fdf53c9b74dc3d0c3c739c4fdd974d30d..0e002ac25f48180d103ecbd982062a0dd3e54dd7 100644 (file)
@@ -6,7 +6,6 @@
 
 #define LOG_CATEGORY UCLASS_QFW
 
-#include <common.h>
 #include <acpi/acpi_table.h>
 #include <bootdev.h>
 #include <bootflow.h>
index 2f96b79ea407dd56ba1bc2ddcd4857f9168273ab..c7430147718a88c32a54424fe720b228e9aeeeda 100644 (file)
@@ -6,7 +6,6 @@
  * Written by Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
  */
 
-#include <common.h>
 #include <asm/io.h>
 #include <command.h>
 #include <display_options.h>
index 4f757083a1b6d9e8152a470381022c2b2f31d4f3..2123c31038fce15dd10090773883d2cd2fc59629 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (c) 2019 Fuzhou Rockchip Electronics Co., Ltd
  */
 
-#include <common.h>
 #include <asm/io.h>
 #include <command.h>
 #include <display_options.h>
index 3ea33e46e9f23d21da6319ba671e48ea52605a30..de1c635758209d70f6dd693a9fb27e24e168f32f 100644 (file)
@@ -7,7 +7,6 @@
 
 #define LOG_CATEGORY UCLASS_MISC
 
-#include <common.h>
 #include <axi.h>
 #include <dm.h>
 #include <misc.h>
index a624a358802c7bfe1ffd7d85eb05e3afcc45ef9e..7fbcd3799e524f4e32e1496e6b8e774fe977c2d4 100644 (file)
@@ -17,7 +17,6 @@
  * Right now first 1KiB is used to store only serial number.
  */
 
-#include <common.h>
 #include <dm/device.h>
 #include <dm/read.h>
 #include <linux/bitops.h>
index 01ef1c6178fcca9c4d419528ad1486a1084f8cfe..1c61b005af3a71569027e8bd113f1e636e7c5548 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (c) 2021 Michael Walle <michael@walle.cc>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <i2c.h>
 
index bda064f1365b39b01ca2bdcf3f39b08c36f2220c..1b15907b09331d1c40994409cfb512c8afad75b9 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2014, Bin Meng <bmeng.cn@gmail.com>
  */
 
-#include <common.h>
 #include <asm/io.h>
 #include <asm/pnp_def.h>
 
index 3b7b1c8bcf2ac05f186f753cb33e937f3fa30b45..6d99aa61d91d630852749bc1808737f40d1deaea 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2016, Bin Meng <bmeng.cn@gmail.com>
  */
 
-#include <common.h>
 #include <asm/io.h>
 #include <errno.h>
 #include <smsc_sio1007.h>
index 6b9701a06aee68aec7b981fdba3971831f421941..3011a22927135b6a7a2c49979d7c2f15301b8ec2 100644 (file)
@@ -4,7 +4,6 @@
  * Written by Simon Glass <sjg@chromium.org>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <dt-structs.h>
 
index a6e9c03a02ecda7e36fd3d195d3504e34f49b8ae..3b1baa4f840b1ba7fad71472f0ff7ada373fa418 100644 (file)
@@ -4,8 +4,8 @@
  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  */
 
-#include <common.h>
 #include <status_led.h>
+#include <linux/types.h>
 
 /*
  * The purpose of this code is to signal the operational status of a
index c1e5428a6b815eb2d5fb9a217ca8034aa466d7d3..0dd827e1dd0ea9aff6ebded2a223b0e86c0c778e 100644 (file)
@@ -6,7 +6,6 @@
 
 #define LOG_CATEGORY UCLASS_NOP
 
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <misc.h>
index 9fd6c367dc61bc4d58e5742f8cebb09648484131..34be6c28c1923984f946d95d9f12ac6cf30ff997 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2018, STMicroelectronics - All Rights Reserved
  */
 
-#include <common.h>
 #include <command.h>
 #include <fuse.h>
 #include <misc.h>
index ee5c12bd0a426cb2e68deb3f89c93b33c309a060..d4a5620c62c11b4f2069b18a68886803ac2f6c14 100644 (file)
@@ -6,7 +6,6 @@
  * Written by Simon Glass <sjg@chromium.org>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <log.h>
index d5cef188d74238dc8aec6475f7302a685af75653..6adb4154c25bf3af360b0bb3ac1acd39b394b2bb 100644 (file)
@@ -4,7 +4,6 @@
  * Written by Simon Glass <sjg@chromium.org>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <syscon.h>
index fecac9c4d902cf07cc120f6b87ca8acafd7629b3..a1585b818677849665e7a768b6dd04d79817d4a0 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (c) 2016, NVIDIA CORPORATION.
  */
 
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <malloc.h>
index 0ddbb3c619b22e0a3cd963f0c624cf8daa6d2145..497ec18564cca87a324954ada3d399158fdf899a 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (c) 2016, NVIDIA CORPORATION.
  */
 
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <dm/lists.h>
index 927618256f0ac88d73cf6e1955a8412a7101a2d0..9b1e357a1397d1b760b733c5eaaab90e545d1289 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (c) 2014 Google, Inc
  */
 
-#include <common.h>
 #include <dm.h>
 #include <dm/test.h>
 #include <asm/global_data.h>
index 6b2f17c0002d89893f1cb5e483d2535d1b8415c4..be77acbd16529d34fdbfa869bfaed849dcc5ca95 100644 (file)
@@ -4,7 +4,6 @@
  * Copyright (C) 2024 Marek Behún <kabel@kernel.org>
  */
 
-#include <common.h>
 #include <console.h>
 #include <dm.h>
 #include <dm/lists.h>
index 92e92ba5e6240ddd4f58e1874e97b9b4209c74aa..daba2c2d6835d26993db40fab40746d9f8cce249 100644 (file)
@@ -10,7 +10,6 @@
  * https://patchwork.kernel.org/patch/9257715/
  */
 
-#include <common.h>
 #include <asm/gpio.h>
 #include <dm.h>
 #include <dm/device_compat.h>
index 99aad1412ae733c24dbdf796fc37108c0313563b..e7655ceff74cad28ee947c89da119c7d82210347 100644 (file)
@@ -4,7 +4,6 @@
  * Author: Liviu Dudau <liviu.dudau@foss.arm.com>
  *
  */
-#include <common.h>
 #include <dm.h>
 #include <malloc.h>
 #include <dm/read.h>
index 3838b3f74f40738bec07dd601b1512964413215f..87b9043e65c449aa641fe01cf131359eaff64a15 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2016 Stefan Roese <sr@denx.de>
  */
 
-#include <common.h>
 #include <asm/io.h>
 #include <asm/pnp_def.h>
 
index 549634891a36d9a3a56bf916efb283cdf91284d1..d0944793c92d3fd7d3be063ab754d6fb3ec3b232 100644 (file)
@@ -147,9 +147,16 @@ config SPL_MMC_IO_VOLTAGE
          support. For eMMC this not mandatory, but not enabling this option may
          prevent the driver of using the faster modes.
 
+config MMC_SUPPORTS_TUNING
+       bool
+
+config SPL_MMC_SUPPORTS_TUNING
+       bool
+
 config MMC_UHS_SUPPORT
        bool "enable UHS support"
        depends on MMC_IO_VOLTAGE
+       select MMC_SUPPORTS_TUNING
        help
          The Ultra High Speed (UHS) bus is available on some SDHC and SDXC
          cards. The IO voltage must be switchable from 3.3v to 1.8v. The bus
@@ -158,6 +165,7 @@ config MMC_UHS_SUPPORT
 config SPL_MMC_UHS_SUPPORT
        bool "enable UHS support in SPL"
        depends on SPL_MMC_IO_VOLTAGE
+       select SPL_MMC_SUPPORTS_TUNING
        help
          The Ultra High Speed (UHS) bus is available on some SDHC and SDXC
          cards. The IO voltage must be switchable from 3.3v to 1.8v. The bus
@@ -193,6 +201,7 @@ config SPL_MMC_HS400_SUPPORT
 
 config MMC_HS200_SUPPORT
        bool "enable HS200 support"
+       select MMC_SUPPORTS_TUNING
        help
          The HS200 mode is support by some eMMC. The bus frequency is up to
          200MHz. This mode requires tuning the IO.
@@ -200,6 +209,7 @@ config MMC_HS200_SUPPORT
 config SPL_MMC_HS200_SUPPORT
        bool "enable HS200 support in SPL"
        depends on SPL_MMC
+       select SPL_MMC_SUPPORTS_TUNING
        help
          The HS200 mode is support by some eMMC. The bus frequency is up to
          200MHz. This mode requires tuning the IO.
@@ -347,6 +357,7 @@ config MMC_OCTEONTX
        bool "Marvell Octeon Multimedia Card Interface support"
        depends on (ARCH_OCTEON || ARCH_OCTEONTX || ARCH_OCTEONTX2)
        depends on DM_MMC
+       select MMC_SUPPORTS_TUNING if ARCH_OCTEONTX2
        help
          This selects the Octeon Multimedia card Interface.
          If you have an OcteonTX/TX2 or MIPS Octeon board with a
index fadab7d40bb795232f86586fe4352aa539bdc754..48fac7a11b483aa61736b4db4f52cba63b31b54d 100644 (file)
@@ -6,7 +6,6 @@
  */
 
 #include <clk.h>
-#include <common.h>
 #include <dm.h>
 #include <malloc.h>
 #include <mmc.h>
@@ -397,7 +396,7 @@ static void am654_sdhci_write_b(struct sdhci_host *host, u8 val, int reg)
 
        writeb(val, host->ioaddr + reg);
 }
-#ifdef MMC_SUPPORTS_TUNING
+#if CONFIG_IS_ENABLED(MMC_SUPPORTS_TUNING)
 #define ITAPDLY_LENGTH 32
 #define ITAPDLY_LAST_INDEX (ITAPDLY_LENGTH - 1)
 
@@ -500,7 +499,7 @@ static int am654_sdhci_execute_tuning(struct mmc *mmc, u8 opcode)
 }
 #endif
 const struct sdhci_ops am654_sdhci_ops = {
-#ifdef MMC_SUPPORTS_TUNING
+#if CONFIG_IS_ENABLED(MMC_SUPPORTS_TUNING)
        .platform_execute_tuning = am654_sdhci_execute_tuning,
 #endif
        .deferred_probe         = am654_sdhci_deferred_probe,
@@ -560,7 +559,7 @@ static int j721e_4bit_sdhci_set_ios_post(struct sdhci_host *host)
 }
 
 const struct sdhci_ops j721e_4bit_sdhci_ops = {
-#ifdef MMC_SUPPORTS_TUNING
+#if CONFIG_IS_ENABLED(MMC_SUPPORTS_TUNING)
        .platform_execute_tuning = am654_sdhci_execute_tuning,
 #endif
        .deferred_probe         = am654_sdhci_deferred_probe,
index cecc7ad783d093899807345bf9d64df20b109185..f00b0ff0dc95354aaaaf7bbe4ab66fe4ecdbaf34 100644 (file)
@@ -11,7 +11,6 @@
 
 /* #define DEBUG */
 
-#include "common.h"
 #include <clk.h>
 #include <errno.h>
 #include <log.h>
index c9626c6beb8f697180cd4758aa33a2afd6141954..87a6f66ebb370b5e3b9caaf9d9be8a37328f885e 100644 (file)
@@ -4,7 +4,6 @@
  * Eddie James <eajames@linux.ibm.com>
  */
 
-#include <common.h>
 #include <clk.h>
 #include <dm.h>
 #include <malloc.h>
index d92bad97b71e9c2964ca969a1b54704e3c8bfca4..0b265196f025ea147af717ab151e09b760c2a750 100644 (file)
@@ -4,7 +4,6 @@
  *                   Wenyou.Yang <wenyou.yang@atmel.com>
  */
 
-#include <common.h>
 #include <clk.h>
 #include <dm.h>
 #include <malloc.h>
index 5e48394fd0fb4aa277c61606faaa97415defae28..598a51d914a97ccaa7e48b0ac476c6c746ecf2f1 100644 (file)
@@ -36,7 +36,6 @@
  * Inspired by sdhci-pci.c, by Pierre Ossman
  */
 
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <malloc.h>
index 5c23c03d10d750beacba23f0ed8a9939c65bb269..720127468d373499d04d4f27aeee4d573a8d8533 100644 (file)
@@ -30,7 +30,6 @@
  *  sdhci.c and sdhci-pci.c by Pierre Ossman
  */
 #include <clk.h>
-#include <common.h>
 #include <dm.h>
 #include <mmc.h>
 #include <asm/arch/msg.h>
index 49846adcf5476e19408986d24b2d0ebf53fc3738..7bddbebb1622b03f1b2b30ea8a53f416088ce6b7 100644 (file)
@@ -6,7 +6,6 @@
  * Author: Thomas Fitzsimmons <fitzsim@fitzsim.org>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <mach/sdhci.h>
 #include <malloc.h>
index a17ed8c11cbef70ca80c34babee54abc465fa58d..54a2ba4795e3bb3b96187ea6df85905c75927364 100644 (file)
@@ -4,7 +4,6 @@
  * Arthur Li <arthur.li@cortina-access.com>
  */
 
-#include <common.h>
 #include <dwmmc.h>
 #include <fdtdec.h>
 #include <asm/global_data.h>
index 3a3d23aec00a9e384db7a3ecc55666592adf54e8..5107fcd836259285da36f93dbecff24d9b7ba888 100644 (file)
@@ -6,7 +6,6 @@
  */
 
 #include <config.h>
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <mmc.h>
index e1036641452ab4f3f072dc7bb8212c8968cf3a0d..e6107c770fe3069be59112f41e41cdd0b0066cd3 100644 (file)
@@ -6,7 +6,6 @@
  */
 
 #include <bouncebuf.h>
-#include <common.h>
 #include <cpu_func.h>
 #include <errno.h>
 #include <log.h>
index 2f849c43b129bc42af40fd56d3115f4e7958615f..a51f762988daa47b4bd1b0074316a973439131ed 100644 (file)
@@ -4,7 +4,6 @@
  * Jaehoon Chung <jh80.chung@samsung.com>
  */
 
-#include <common.h>
 #include <dwmmc.h>
 #include <fdtdec.h>
 #include <asm/global_data.h>
index 3d587a464d5057c9d609c437ef77fb951ee98e66..f47cf8485216e60bb5d9ff2b2becca0749116c94 100644 (file)
@@ -5,7 +5,6 @@
  * Copyright 2021 Socionext, Inc.
  */
 
-#include <common.h>
 #include <clk.h>
 #include <dm.h>
 #include <malloc.h>
index 595d88bd56253f256a8bb1022f7feac6584e8ce7..0c66980b6218bc8d02df32989fb5abbaa9b0b205 100644 (file)
@@ -10,7 +10,6 @@
  */
 
 #include <config.h>
-#include <common.h>
 #include <command.h>
 #include <cpu_func.h>
 #include <errno.h>
@@ -1102,7 +1101,7 @@ static int fsl_esdhc_reinit(struct udevice *dev)
        return esdhc_init_common(priv, &plat->mmc);
 }
 
-#ifdef MMC_SUPPORTS_TUNING
+#if CONFIG_IS_ENABLED(MMC_SUPPORTS_TUNING)
 static int fsl_esdhc_execute_tuning(struct udevice *dev, uint32_t opcode)
 {
        struct fsl_esdhc_plat *plat = dev_get_plat(dev);
@@ -1175,7 +1174,7 @@ static const struct dm_mmc_ops fsl_esdhc_ops = {
        .get_cd         = fsl_esdhc_get_cd,
        .send_cmd       = fsl_esdhc_send_cmd,
        .set_ios        = fsl_esdhc_set_ios,
-#ifdef MMC_SUPPORTS_TUNING
+#if CONFIG_IS_ENABLED(MMC_SUPPORTS_TUNING)
        .execute_tuning = fsl_esdhc_execute_tuning,
 #endif
        .reinit = fsl_esdhc_reinit,
index b74c014002058f84d10823f87ae1049c96ecc06e..a9b8d7dd67f33d43e09e008f4d55ff5293a51ac0 100644 (file)
@@ -11,7 +11,6 @@
  */
 
 #include <config.h>
-#include <common.h>
 #include <command.h>
 #include <clk.h>
 #include <cpu_func.h>
@@ -635,7 +634,7 @@ static void set_sysctl(struct fsl_esdhc_priv *priv, struct mmc *mmc, uint clock)
        priv->clock = clock;
 }
 
-#ifdef MMC_SUPPORTS_TUNING
+#if CONFIG_IS_ENABLED(MMC_SUPPORTS_TUNING)
 static int esdhc_change_pinstate(struct udevice *dev)
 {
        struct fsl_esdhc_priv *priv = dev_get_priv(dev);
@@ -913,7 +912,7 @@ static int esdhc_set_ios_common(struct fsl_esdhc_priv *priv, struct mmc *mmc)
        int ret __maybe_unused;
        u32 clock;
 
-#ifdef MMC_SUPPORTS_TUNING
+#if CONFIG_IS_ENABLED(MMC_SUPPORTS_TUNING)
        /*
         * call esdhc_set_timing() before update the clock rate,
         * This is because current we support DDR and SDR mode,
@@ -951,7 +950,7 @@ static int esdhc_set_ios_common(struct fsl_esdhc_priv *priv, struct mmc *mmc)
                        esdhc_setbits32(&regs->sysctl, SYSCTL_PEREN | SYSCTL_CKEN);
        }
 
-#ifdef MMC_SUPPORTS_TUNING
+#if CONFIG_IS_ENABLED(MMC_SUPPORTS_TUNING)
        /*
         * For HS400/HS400ES mode, make sure set the strobe dll in the
         * target clock rate. So call esdhc_set_strobe_dll() after the
@@ -1618,7 +1617,7 @@ static const struct dm_mmc_ops fsl_esdhc_ops = {
        .get_cd         = fsl_esdhc_get_cd,
        .send_cmd       = fsl_esdhc_send_cmd,
        .set_ios        = fsl_esdhc_set_ios,
-#ifdef MMC_SUPPORTS_TUNING
+#if CONFIG_IS_ENABLED(MMC_SUPPORTS_TUNING)
        .execute_tuning = fsl_esdhc_execute_tuning,
 #endif
 #if CONFIG_IS_ENABLED(MMC_HS400_ES_SUPPORT)
index 6d7c0cff22a5fd6794ceafc1ea6fd775e788cf7e..1a11258be4defa6d1ea98131166062b4fcb4bceb 100644 (file)
@@ -3,7 +3,7 @@
  * Copyright 2013 Freescale Semiconductor, Inc.
  */
 
-#include <common.h>
+#include <config.h>
 #include <cpu_func.h>
 #include <hang.h>
 #include <mmc.h>
index cabb747fbbdb5f0e37403babf158742621483322..11e44264e47daa2448a8981998cf8390794f6a17 100644 (file)
@@ -9,7 +9,6 @@
  * Author: Rick Chen (rick@andestech.com)
  */
 
-#include <common.h>
 #include <clk.h>
 #include <log.h>
 #include <malloc.h>
index 3ee99558f6f9f50c56162c8e28084fb85ded1736..6a531fa096152264740aed9524cabb47fc782809 100644 (file)
@@ -8,7 +8,7 @@
  * Copyright (C) 2004-2006 Atmel Corporation
  */
 
-#include <common.h>
+#include <config.h>
 #include <clk.h>
 #include <display_options.h>
 #include <dm.h>
index dc0210402bd21fad9c8a17ca2eb67d959b01be74..c68a9157bfccf16e642cb237dc57e58ab59173dc 100644 (file)
@@ -4,7 +4,6 @@
  * peter.griffin <peter.griffin@linaro.org>
  */
 
-#include <common.h>
 #include <clk.h>
 #include <dm.h>
 #include <dwmmc.h>
index 11d86ad658f98e84ad4eaf3242c196002dce95b1..7ab74ff117a697fe1d89b0acb7c7c66f54d6eafe 100644 (file)
@@ -4,7 +4,6 @@
  *
  */
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <malloc.h>
index 61e48ee0f62d4fc022ef6701797cf1e387f85aed..fc10bb256a4df53107d54fe89f060e8f37dd72f1 100644 (file)
@@ -6,7 +6,6 @@
  * Author: Paul Burton <paul.burton@imgtec.com>
  */
 
-#include <common.h>
 #include <malloc.h>
 #include <mmc.h>
 #include <asm/global_data.h>
index 2bbe673b91299d0d6d61b975cd43c44eb9e97f2f..83f141226325d78561e0cb726c2510fa19ffddbb 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright 2013 Broadcom Corporation.
  */
 
-#include <common.h>
 #include <malloc.h>
 #include <sdhci.h>
 #include <linux/delay.h>
index 0825c0a2a8382b16ea82396e02ce4c5646867359..5852b24c6d2a5a9d1b1e8a62f8c0ec325b339182 100644 (file)
@@ -3,7 +3,6 @@
  * (C) Copyright 2016 Carlo Caione <carlo@caione.org>
  */
 
-#include <common.h>
 #include <clk.h>
 #include <cpu_func.h>
 #include <dm.h>
index 2539f61323d13d6320f054dd34467432b3129df7..a1c9624a2225528e860bb1fb268dee2362493018 100644 (file)
@@ -4,7 +4,6 @@
  * Jaehoon Chung <jh80.chung@samsung.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <mmc.h>
 #include <pwrseq.h>
index 24170c59ecc1b3aeb3e92d022ad051f6f2dbaf18..da6a39b7d99074e697be579b8cfe76f29d8781ae 100644 (file)
@@ -7,7 +7,6 @@
 
 #define LOG_CATEGORY UCLASS_MMC
 
-#include <common.h>
 #include <bootdev.h>
 #include <log.h>
 #include <mmc.h>
@@ -112,7 +111,7 @@ int mmc_getcd(struct mmc *mmc)
        return dm_mmc_get_cd(mmc->dev);
 }
 
-#ifdef MMC_SUPPORTS_TUNING
+#if CONFIG_IS_ENABLED(MMC_SUPPORTS_TUNING)
 static int dm_mmc_execute_tuning(struct udevice *dev, uint opcode)
 {
        struct dm_mmc_ops *ops = mmc_get_ops(dev);
index 7b068c71ff37871c309729faa573629b73635898..b18dc331f785a08d9080eef3325c52aeab6e0f4e 100644 (file)
@@ -8,7 +8,6 @@
  */
 
 #include <config.h>
-#include <common.h>
 #include <blk.h>
 #include <command.h>
 #include <dm.h>
@@ -17,6 +16,7 @@
 #include <errno.h>
 #include <mmc.h>
 #include <part.h>
+#include <time.h>
 #include <linux/bitops.h>
 #include <linux/delay.h>
 #include <linux/printk.h>
@@ -24,6 +24,7 @@
 #include <malloc.h>
 #include <memalign.h>
 #include <linux/list.h>
+#include <linux/printk.h>
 #include <div64.h>
 #include "mmc_private.h"
 
@@ -329,7 +330,7 @@ int mmc_set_blocklen(struct mmc *mmc, int len)
                                   MMC_QUIRK_RETRY_SET_BLOCKLEN, 4);
 }
 
-#ifdef MMC_SUPPORTS_TUNING
+#if CONFIG_IS_ENABLED(MMC_SUPPORTS_TUNING)
 static const u8 tuning_blk_pattern_4bit[] = {
        0xff, 0x0f, 0xff, 0x00, 0xff, 0xcc, 0xc3, 0xcc,
        0xc3, 0x3c, 0xcc, 0xff, 0xfe, 0xff, 0xfe, 0xef,
@@ -1621,7 +1622,7 @@ static inline int bus_width(uint cap)
 }
 
 #if !CONFIG_IS_ENABLED(DM_MMC)
-#ifdef MMC_SUPPORTS_TUNING
+#if CONFIG_IS_ENABLED(MMC_SUPPORTS_TUNING)
 static int mmc_execute_tuning(struct mmc *mmc, uint opcode)
 {
        return -ENOTSUPP;
@@ -1702,7 +1703,7 @@ void mmc_dump_capabilities(const char *text, uint caps)
 struct mode_width_tuning {
        enum bus_mode mode;
        uint widths;
-#ifdef MMC_SUPPORTS_TUNING
+#if CONFIG_IS_ENABLED(MMC_SUPPORTS_TUNING)
        uint tuning;
 #endif
 };
@@ -1743,7 +1744,7 @@ static inline int mmc_set_signal_voltage(struct mmc *mmc, uint signal_voltage)
 #if !CONFIG_IS_ENABLED(MMC_TINY)
 static const struct mode_width_tuning sd_modes_by_pref[] = {
 #if CONFIG_IS_ENABLED(MMC_UHS_SUPPORT)
-#ifdef MMC_SUPPORTS_TUNING
+#if CONFIG_IS_ENABLED(MMC_SUPPORTS_TUNING)
        {
                .mode = UHS_SDR104,
                .widths = MMC_MODE_4BIT | MMC_MODE_1BIT,
@@ -1846,7 +1847,7 @@ static int sd_select_mode_and_width(struct mmc *mmc, uint card_caps)
                                mmc_set_clock(mmc, mmc->tran_speed,
                                                MMC_CLK_ENABLE);
 
-#ifdef MMC_SUPPORTS_TUNING
+#if CONFIG_IS_ENABLED(MMC_SUPPORTS_TUNING)
                                /* execute tuning if needed */
                                if (mwt->tuning && !mmc_host_is_spi(mmc)) {
                                        err = mmc_execute_tuning(mmc,
@@ -2224,7 +2225,7 @@ static int mmc_select_mode_and_width(struct mmc *mmc, uint card_caps)
                                mmc_select_mode(mmc, mwt->mode);
                                mmc_set_clock(mmc, mmc->tran_speed,
                                              MMC_CLK_ENABLE);
-#ifdef MMC_SUPPORTS_TUNING
+#if CONFIG_IS_ENABLED(MMC_SUPPORTS_TUNING)
 
                                /* execute tuning if needed */
                                if (mwt->tuning) {
index 0a74b1fb776ac01aff8f93bec27d266470b29d1b..367c957b5181617a2939721e8d967c981cc8a618 100644 (file)
@@ -4,7 +4,6 @@
  * Written by Amar <amarendra.xt@samsung.com>
  */
 
-#include <common.h>
 #include <log.h>
 #include <mmc.h>
 #include "mmc_private.h"
index 55ecead2ddf9a32fad67e27d7199c986eec1f043..5a1688b75d09f08e38590ca4937d71d966db652b 100644 (file)
@@ -6,7 +6,6 @@
  * Written by Simon Glass <sjg@chromium.org>
  */
 
-#include <common.h>
 #include <bootdev.h>
 #include <dm.h>
 #include <mmc.h>
index a101ee43fde506d27a34c655b5025f4614e60376..a87d2276c1b851365b878fd8a49dacf47f6cff4d 100644 (file)
@@ -5,7 +5,6 @@
  * Written by Simon Glass <sjg@chromium.org>
  */
 
-#include <common.h>
 #include <log.h>
 #include <malloc.h>
 #include <mmc.h>
index bcea800e5f616b1983bddd9cdcb383f5e65250b4..675e642efd085f6c79fa58e9d4e20a7f60f405da 100644 (file)
@@ -6,7 +6,6 @@
  *
  * Licensed under the GPL-2 or later.
  */
-#include <common.h>
 #include <errno.h>
 #include <log.h>
 #include <malloc.h>
index a6f93380dd091f652e5fcdc003aceb01bd08d082..c023d15e52a8df45a36207efd4ebca1d8e6bd6a4 100644 (file)
@@ -7,7 +7,6 @@
  */
 
 #include <config.h>
-#include <common.h>
 #include <blk.h>
 #include <dm.h>
 #include <part.h>
index 5e9d66526a838a79d6cd56122628ffb1c2cf5008..4ce0de6c47d869f7b4f409b6e27b39903111784e 100644 (file)
@@ -7,7 +7,6 @@
  * Based on Linux driver
  */
 
-#include <common.h>
 #include <clk.h>
 #include <dm.h>
 #include <malloc.h>
index 296aaee73318c4ef19cd42b88aaeb491aba64479..3a9258255a784fc00f0f20741b54b475832e4f69 100644 (file)
@@ -7,7 +7,6 @@
  */
 
 #include <clk.h>
-#include <common.h>
 #include <dm.h>
 #include <mmc.h>
 #include <errno.h>
@@ -1011,7 +1010,7 @@ static int msdc_ops_get_wp(struct udevice *dev)
 #endif
 }
 
-#ifdef MMC_SUPPORTS_TUNING
+#if CONFIG_IS_ENABLED(MMC_SUPPORTS_TUNING)
 static u32 test_delay_bit(u32 delay, u32 bit)
 {
        bit %= PAD_DELAY_MAX;
@@ -1760,7 +1759,7 @@ static const struct dm_mmc_ops msdc_ops = {
        .set_ios = msdc_ops_set_ios,
        .get_cd = msdc_ops_get_cd,
        .get_wp = msdc_ops_get_wp,
-#ifdef MMC_SUPPORTS_TUNING
+#if CONFIG_IS_ENABLED(MMC_SUPPORTS_TUNING)
        .execute_tuning = msdc_execute_tuning,
 #endif
        .wait_dat0 = msdc_ops_wait_dat0,
index dbdd671c88bcc307029c616bac3f3f22fddca16d..2da5334c21f13c1ad93b4154c6dd4c637868cbf0 100644 (file)
@@ -3,7 +3,6 @@
  * Marvell SD Host Controller Interface
  */
 
-#include <common.h>
 #include <dm.h>
 #include <malloc.h>
 #include <sdhci.h>
index fea55c61ed7daac57c2da489dec7d173907ac360..5af1953cd1485183b5989ce6200f7cc11ac066f5 100644 (file)
@@ -7,7 +7,6 @@
  * Written-by: Maen Suleiman, Gerald Kerma
  */
 
-#include <common.h>
 #include <errno.h>
 #include <log.h>
 #include <malloc.h>
index 0057273a2a767ef177dd884b4254479186fd5869..1acea6f820b45a7b1e72f0d70fab702e54043aa0 100644 (file)
@@ -17,7 +17,6 @@
  */
 
 #include <config.h>
-#include <common.h>
 #include <command.h>
 #include <mmc.h>
 #include <part.h>
index 35a8e21058edaf607e6dd54fa43bd2a1d4789c88..95390a5be7e59f17bb1641251784902f41e7e932 100644 (file)
@@ -20,7 +20,6 @@
  * Kyle Harris, Nexus Technologies, Inc. kharris@nexus-tech.net
  */
 
-#include <common.h>
 #include <log.h>
 #include <malloc.h>
 #include <mmc.h>
index 2723e4887cf701d9961e627b45957b2b6743f478..2e1ce54c7d50b4d73d5a5efcb0ae0f3ccf515f69 100644 (file)
@@ -6,7 +6,6 @@
  * (C) Copyright 2019 Stefan Bosch <stefan_b@posteo.net>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <dt-structs.h>
 #include <dwmmc.h>
index d63521d6855ffb49995f7d22e58d864f83c13ee3..dff4732ea06f14d4719922db4b1e6990bad1638d 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (c) 2022 Nuvoton Technology Corp.
  */
 
-#include <common.h>
 #include <dm.h>
 #include <sdhci.h>
 #include <clk.h>
index 7f9c4f4d36d4aa727baf7fc986e682801eb59f7f..3b5e122173254cf5f373cb3eb53d47893cb0cac1 100644 (file)
@@ -794,7 +794,7 @@ octeontx_mmc_get_cr_mods(struct mmc *mmc, const struct mmc_cmd *cmd,
        u8 desired_ctype = 0;
 
        if (IS_MMC(mmc)) {
-#ifdef MMC_SUPPORTS_TUNING
+#if CONFIG_IS_ENABLED(MMC_SUPPORTS_TUNING)
                if (cmd->cmdidx == MMC_CMD_SEND_TUNING_BLOCK_HS200) {
                        if (cmd->resp_type == MMC_RSP_R1)
                                cr.rtype_xor = 1;
@@ -1631,7 +1631,7 @@ static int octeontx_mmc_dev_send_cmd(struct udevice *dev, struct mmc_cmd *cmd,
        return octeontx_mmc_send_cmd(dev_to_mmc(dev), cmd, data);
 }
 
-#ifdef MMC_SUPPORTS_TUNING
+#if CONFIG_IS_ENABLED(MMC_SUPPORTS_TUNING)
 static int octeontx_mmc_test_cmd(struct mmc *mmc, u32 opcode, int *statp)
 {
        struct mmc_cmd cmd;
@@ -2421,12 +2421,12 @@ static int octeontx_mmc_execute_tuning(struct udevice *dev, u32 opcode)
 
        return 0;
 }
-#else /* MMC_SUPPORTS_TUNING */
+#else /* CONFIG_MMC_SUPPORTS_TUNING */
 static void octeontx_mmc_set_emm_timing(struct mmc *mmc,
                                        union mio_emm_timing emm_timing)
 {
 }
-#endif /* MMC_SUPPORTS_TUNING */
+#endif /* CONFIG_MMC_SUPPORTS_TUNING */
 
 /**
  * Calculate the clock period with rounding up
@@ -2573,7 +2573,7 @@ static int octeontx_mmc_set_ios(struct udevice *dev)
 
        err = octeontx_mmc_configure_delay(mmc);
 
-#ifdef MMC_SUPPORTS_TUNING
+#if CONFIG_IS_ENABLED(MMC_SUPPORTS_TUNING)
        if (!err && mmc->selected_mode == MMC_HS_400 && !slot->hs400_tuned) {
                debug("%s: Tuning HS400 mode\n", __func__);
                err = octeontx_tune_hs400(mmc);
@@ -3776,7 +3776,7 @@ static const struct dm_mmc_ops octeontx_hsmmc_ops = {
        .set_ios = octeontx_mmc_set_ios,
        .get_cd = octeontx_mmc_get_cd,
        .get_wp = octeontx_mmc_get_wp,
-#ifdef MMC_SUPPORTS_TUNING
+#if CONFIG_IS_ENABLED(MMC_SUPPORTS_TUNING)
        .execute_tuning = octeontx_mmc_execute_tuning,
 #endif
 };
index 99f21b2c546ae4d827c5d49247537056e5a39cb9..2b7f9fc9a205f277a07bfd5a45d0b0b761daa160 100644 (file)
@@ -23,7 +23,6 @@
  */
 
 #include <config.h>
-#include <common.h>
 #include <cpu_func.h>
 #include <log.h>
 #include <malloc.h>
@@ -577,7 +576,7 @@ static uint32_t omap_hsmmc_set_capabilities(struct mmc *mmc)
        return val;
 }
 
-#ifdef MMC_SUPPORTS_TUNING
+#if CONFIG_IS_ENABLED(MMC_SUPPORTS_TUNING)
 static void omap_hsmmc_disable_tuning(struct mmc *mmc)
 {
        struct hsmmc *mmc_base;
@@ -1518,7 +1517,7 @@ static const struct dm_mmc_ops omap_hsmmc_ops = {
        .get_cd         = omap_hsmmc_getcd,
        .get_wp         = omap_hsmmc_getwp,
 #endif
-#ifdef MMC_SUPPORTS_TUNING
+#if CONFIG_IS_ENABLED(MMC_SUPPORTS_TUNING)
        .execute_tuning = omap_hsmmc_execute_tuning,
 #endif
        .wait_dat0      = omap_hsmmc_wait_dat0,
index e84171a661a71b925c9204ee6f7b65b893138636..bd4906f58e7460dae300c4f299820a95dc8951e0 100644 (file)
@@ -11,7 +11,6 @@
  * channel, and those special bits used in this driver is picked from vendor
  * source exclusively for MMC/SD.
  */
-#include <common.h>
 #include <clk.h>
 #include <cpu_func.h>
 #include <dm.h>
index 4d163ccba04192550405475af25bc4b5c095a30e..d446c55f72b269b4096b6b7cfedef556ff4a020b 100644 (file)
@@ -4,7 +4,6 @@
  * Copyright (C) 2014, Bin Meng <bmeng.cn@gmail.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <log.h>
index a330bbf8cbe2df2da27f3131a893938f4bceaad2..fed1f8416088ba8b1519d222b23c26a8717b2e1b 100644 (file)
@@ -11,7 +11,6 @@
 
 #include <asm/gpio.h>
 #include <asm/io.h>
-#include <common.h>
 #include <div64.h>
 #include <dm.h>
 #include <errno.h>
index ad4529d6afa8a027dfb1abe8497a49aee48a4174..1a10b7057a47ce65adeab0aa7f98539c6bc9273c 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (c) 2013 Google, Inc
  */
 
-#include <common.h>
 #include <clk.h>
 #include <dm.h>
 #include <dt-structs.h>
index c889c7bc9855fab4cf35811a7ceea2b351a9863d..35667b86b50b2c8829b280783b5970a9c204ddf9 100644 (file)
@@ -5,7 +5,6 @@
  * Rockchip SD Host Controller Interface
  */
 
-#include <common.h>
 #include <clk.h>
 #include <dm.h>
 #include <dm/ofnode.h>
index b68d98573c9a5c0441b406548035494d3b15a138..0658ce22cf132c2dcca506631374797f66b30dd4 100644 (file)
@@ -8,7 +8,6 @@
  */
 
 #include <config.h>
-#include <common.h>
 #include <log.h>
 #include <memalign.h>
 #include <mmc.h>
index 3b74feae68c76bb20a18ed5657356f9759ba212c..80dbb38c9b36ee927497fafdb23354e9f755b524 100644 (file)
@@ -4,7 +4,6 @@
  * Jaehoon Chung <jh80.chung@samsung.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <malloc.h>
index 0ba7940a4dbfc41308182ad2023e1c9b82f748a7..a24520f2e78c91e3e13ef6d5c4413836a7c17aba 100644 (file)
@@ -4,7 +4,6 @@
  * Written by Simon Glass <sjg@chromium.org>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <fdtdec.h>
index 283ba956deb9514130a7f60f8ac40a6ce8b2e86d..fdb189d71a640dad7b45112f633a7926c7795df8 100644 (file)
@@ -3,7 +3,6 @@
  * SDHCI ADMA2 helper functions.
  */
 
-#include <common.h>
 #include <cpu_func.h>
 #include <sdhci.h>
 #include <malloc.h>
index c0a9f60b1496fe6a9af6502c087920cc839d444c..07ec35a04635a3cef6a97b3cef9b9ab8a7f5103e 100644 (file)
@@ -4,7 +4,6 @@
  *   Author: Masahiro Yamada <yamada.masahiro@socionext.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <asm/global_data.h>
 #include <dm/device_compat.h>
@@ -274,7 +273,7 @@ static int sdhci_cdns_probe(struct udevice *dev)
        host->ops = &sdhci_cdns_ops;
        host->quirks |= SDHCI_QUIRK_WAIT_SEND_CMD;
        sdhci_cdns_mmc_ops = sdhci_ops;
-#ifdef MMC_SUPPORTS_TUNING
+#if CONFIG_IS_ENABLED(MMC_SUPPORTS_TUNING)
        sdhci_cdns_mmc_ops.execute_tuning = sdhci_cdns_execute_tuning;
 #endif
 
index af654ea8d13c26d62abc05d860802998de4f8ba3..560b7e889c779d677d6f598f8b1f87019c0de79e 100644 (file)
@@ -7,7 +7,6 @@
  * Murray.Jensen@cmst.csiro.au, 27-Jan-01.
  */
 
-#include <common.h>
 #include <cpu_func.h>
 #include <dm.h>
 #include <errno.h>
@@ -15,6 +14,7 @@
 #include <malloc.h>
 #include <mmc.h>
 #include <sdhci.h>
+#include <time.h>
 #include <asm/cache.h>
 #include <linux/bitops.h>
 #include <linux/delay.h>
@@ -351,7 +351,7 @@ static int sdhci_send_command(struct mmc *mmc, struct mmc_cmd *cmd,
                return -ECOMM;
 }
 
-#if defined(CONFIG_DM_MMC) && defined(MMC_SUPPORTS_TUNING)
+#if defined(CONFIG_DM_MMC) && CONFIG_IS_ENABLED(MMC_SUPPORTS_TUNING)
 static int sdhci_execute_tuning(struct udevice *dev, uint opcode)
 {
        int err;
@@ -848,7 +848,7 @@ const struct dm_mmc_ops sdhci_ops = {
        .set_ios        = sdhci_set_ios,
        .get_cd         = sdhci_get_cd,
        .deferred_probe = sdhci_deferred_probe,
-#ifdef MMC_SUPPORTS_TUNING
+#if CONFIG_IS_ENABLED(MMC_SUPPORTS_TUNING)
        .execute_tuning = sdhci_execute_tuning,
 #endif
        .wait_dat0      = sdhci_wait_dat0,
index 76dc1c68b821d30c3c7764763148ace565ff94d2..06a30d5efb811c9cf326bd29e9bf1e813fc0d001 100644 (file)
@@ -6,7 +6,6 @@
  */
 
 #include <config.h>
-#include <common.h>
 #include <log.h>
 #include <watchdog.h>
 #include <command.h>
index 0134399e3934c5865b4473d038363f45d4ba4b18..9bdbe5070b1dde414de521591e51360af8bd526f 100644 (file)
@@ -7,7 +7,6 @@
  * Author: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>
  */
 
-#include <common.h>
 #include <clk.h>
 #include <dm.h>
 #include <dwmmc.h>
index 387cb8b6b50a1cbac0b0bfe29d8c601a75af032c..f738019b835750270a05ae3b5c2e85624d7d9043 100644 (file)
@@ -3,7 +3,6 @@
  * (C) Copyright 2013 Altera Corporation <www.altera.com>
  */
 
-#include <common.h>
 #include <log.h>
 #include <asm/arch/clock_manager.h>
 #include <asm/arch/secure_reg_helper.h>
index 23a1dd43c9b277df31d777b21f8302445cd036ae..91018b7e21af2beef4443a6a1d382f33016eb21e 100644 (file)
@@ -4,7 +4,6 @@
  * Author(s): Patrice Chotard, <patrice.chotard@foss.st.com> for STMicroelectronics.
  */
 
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <mmc.h>
index 39ae79ba129308a5e24620c154ec5a4569599462..9483fb57daf8a91a15c802c8f30702bfaed475b3 100644 (file)
@@ -6,7 +6,6 @@
 
 #define LOG_CATEGORY UCLASS_MMC
 
-#include <common.h>
 #include <clk.h>
 #include <cpu_func.h>
 #include <dm.h>
index 714706d2411b851d663eb665e967ed0f59e0c6a3..0b56d1405bee54044f671e10bd3e313584cbff9a 100644 (file)
@@ -13,7 +13,6 @@
  * proper DM_MMC implementation at the end.
  */
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <log.h>
index 11564273324386b65d161e3b3866a85ad09bd7fd..ae65c310b685024dcaa01e65ecf63c0b671c0194 100644 (file)
@@ -2,7 +2,6 @@
 /*
  * Copyright (c) 2017 Intel Corporation
  */
-#include <common.h>
 #include <dm.h>
 #include <dm/device.h>
 #include <linux/io.h>
index c01fb3d01657f639819d741c316481b30c0488e4..5ed7f01d3f361daa297280a6e468e49aa019ef1b 100644 (file)
@@ -7,7 +7,6 @@
  */
 
 #include <bouncebuf.h>
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <log.h>
index 719c4830bc30bad9fc4fa1f762cfeb1f44404474..0b396122b464b84a84a7b6e4377e62814d805164 100644 (file)
@@ -4,7 +4,6 @@
  *   Author: Masahiro Yamada <yamada.masahiro@socionext.com>
  */
 
-#include <common.h>
 #include <clk.h>
 #include <cpu_func.h>
 #include <fdtdec.h>
index 8cde4308aaede48ce195faaaf5c2914702e76831..5b3650d52eead9124f3a5169288a09a252e97ddd 100644 (file)
@@ -4,7 +4,6 @@
  *   Author: Masahiro Yamada <yamada.masahiro@socionext.com>
  */
 
-#include <common.h>
 #include <clk.h>
 #include <fdtdec.h>
 #include <malloc.h>
index 27dbe0404e045adfb87a45508ff44fa7f1796df1..0e4902fab77cad5501a9b74b8e48683e7b3b2f01 100644 (file)
@@ -14,7 +14,6 @@
  * Stefan Roese <sr@denx.de>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <fdtdec.h>
 #include <asm/global_data.h>
index 935540d17194c755b3bd0ef78cb0e0b78c7174c6..898be5a0913a89d700e540c6220f680a13673778 100644 (file)
@@ -7,7 +7,6 @@
  */
 
 #include <clk.h>
-#include <common.h>
 #include <dm.h>
 #include <fdtdec.h>
 #include <linux/delay.h>
index d31391f36a47161e848c0215c2e96407669903c8..c26615821c80926fbee5d01f688199c1e16cd85c 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2015 Thomas Chou <thomas@wytron.com.tw>
  */
 
-#include <common.h>
 #include <console.h>
 #include <dm.h>
 #include <errno.h>
index 8ade7949a68e0010b37af641c20d85c4f95b7b38..a7826e81c177394f74c15bb2c8e393d92603f6bc 100644 (file)
@@ -16,7 +16,7 @@
 /* The DEBUG define must be before common to enable debugging */
 /* #define DEBUG       */
 
-#include <common.h>
+#include <config.h>
 #include <console.h>
 #include <dm.h>
 #include <env.h>
@@ -26,6 +26,7 @@
 #include <init.h>
 #include <irq_func.h>
 #include <log.h>
+#include <time.h>
 #include <asm/global_data.h>
 #include <asm/processor.h>
 #include <asm/io.h>
index bf4473ba9e8308e796f3b8f7f4d4cd3281c9ac10..b14d4773931baf5d268374d1eb28c29883e00075 100644 (file)
@@ -5,7 +5,6 @@
  * Written by: Piotr Ziecik <kosmo@semihalf.com>
  */
 
-#include <common.h>
 #include <dma.h>
 #include <flash.h>
 #include <malloc.h>
index 8161087b50c0e04942d386c6d1bc5dda784c9821..599beda30d5550517018061e3e4a2f90f1e20c18 100644 (file)
@@ -3,7 +3,6 @@
 // Copyright (C) 2019 Texas Instruments Incorporated - https://www.ti.com/
 // Author: Vignesh Raghavendra <vigneshr@ti.com>
 
-#include <common.h>
 #include <asm/io.h>
 #include <dm.h>
 #include <regmap.h>
index 859c7fd4ec246a97600f0599bf7a51cce45bc05a..a832f348f22df9b9021dce49a928874b1f9f0d79 100644 (file)
@@ -11,7 +11,6 @@
 /* The DEBUG define must be before common to enable debugging */
 /*#define DEBUG*/
 
-#include <common.h>
 #include <flash.h>
 #include <log.h>
 #include <asm/processor.h>
index 0743fe7af9fd306c50fc2860f3f710e354535947..720bd824c4d7406f444cb3f0f413ca8b0923f0b2 100644 (file)
@@ -5,7 +5,6 @@
 
 #define LOG_CATEGORY UCLASS_MTD
 
-#include <common.h>
 #include <dm.h>
 #include <dm/device-internal.h>
 #include <errno.h>
index 14ce726b10d8d2b41ab958cb6274ae139978cc49..69cb3b51f9229e3721411b90b5da2dbe19d7bc96 100644 (file)
@@ -3,7 +3,6 @@
  * (C) Copyright 2014
  * Heiko Schocher, DENX Software Engineering, hs@denx.de.
  */
-#include <common.h>
 #include <env.h>
 #include <log.h>
 #include <malloc.h>
index 4886392a1cfaa59f430e2ca51f32275b9021cb27..be1d19b4ffa5982efc2da1631eddb493b7fe5efe 100644 (file)
@@ -19,7 +19,6 @@
 #include <linux/kmod.h>
 #endif
 
-#include <common.h>
 #include <malloc.h>
 #include <linux/bug.h>
 #include <linux/errno.h>
index 972aec6e26665537e5ea542c620764f2cc5eac43..4ff0999f62a125499838f4ed6781f59770fd6f10 100644 (file)
@@ -9,7 +9,6 @@
 
 #define pr_fmt(fmt)    "nand-bbt: " fmt
 
-#include <common.h>
 #include <dm/devres.h>
 #include <linux/bitops.h>
 #include <linux/mtd/nand.h>
index f6d9c584f786eb998d501fdb2e83483f89e8c017..472ad0bdefb1c9b6d14d2206db4015cb647f4016 100644 (file)
@@ -9,7 +9,6 @@
 
 #define pr_fmt(fmt)    "nand: " fmt
 
-#include <common.h>
 #include <watchdog.h>
 #ifndef __UBOOT__
 #include <linux/compat.h>
index 6831af98b73b46e8971ee26938945db8bcd8f4b8..64d8ce0965ad16147a1fa21c2bc29f7b2a0ed69f 100644 (file)
@@ -9,7 +9,7 @@
  * Stefan Roese, DENX Software Engineering, sr@denx.de.
  */
 
-#include <common.h>
+#include <config.h>
 #include <nand.h>
 #include <system-constants.h>
 #include <asm/io.h>
index ffcd963b3dacaa303cf0924fc42a3c5bbd3fd79a..4f013efafb3657629e4caee8995b28067c69a44f 100644 (file)
@@ -5,7 +5,6 @@
  * Copyright (C) 2014 - 2015 Xilinx, Inc.
  */
 
-#include <common.h>
 #include <malloc.h>
 #include <asm/io.h>
 #include <linux/delay.h>
index 6d94e7af38e9af1ca002ea142e03c812134aa64d..4dbf7b47135c69257cbeb2ce549bf8312548f296 100644 (file)
@@ -10,7 +10,7 @@
  *     (C) Copyright 2012 ATMEL, Hong Xu
  */
 
-#include <common.h>
+#include <config.h>
 #include <log.h>
 #include <system-constants.h>
 #include <asm/gpio.h>
index 4e6d99fd3ca461c1b4fc17bddff1018742e447c3..3f59fbbbb8f147bd01c636cf1a386d1a3b0b4017 100644 (file)
@@ -1,6 +1,5 @@
 // SPDX-License-Identifier: GPL-2.0+
 
-#include <common.h>
 #include <asm/io.h>
 #include <memalign.h>
 #include <nand.h>
index 6164989b93782afacaf0f68510a52ea3938ed63f..d54de0b3ecceb6e7424aaf99c8d525d6605f2fc3 100644 (file)
@@ -1,6 +1,5 @@
 // SPDX-License-Identifier: GPL-2.0+
 
-#include <common.h>
 #include <asm/io.h>
 #include <memalign.h>
 #include <nand.h>
index feae66ef25a6eab2442a2d642596fb588ff97f97..a101222a28fa494be8523cd6cd4182eaabd8a45e 100644 (file)
@@ -1,6 +1,5 @@
 // SPDX-License-Identifier: GPL-2.0+
 
-#include <common.h>
 #include <asm/io.h>
 #include <memalign.h>
 #include <nand.h>
index dbd85af7079d510eb41da832be27f4114f4b1cca..385642d0c091fb2855c95d61997ab123af59b561 100644 (file)
@@ -1,6 +1,5 @@
 // SPDX-License-Identifier: GPL-2.0+
 
-#include <common.h>
 #include <asm/io.h>
 #include <memalign.h>
 #include <nand.h>
index ef3649688c66f9977f1ac3f22bc28a64ef3f526d..407898ddae6e2b0f5700da98e2cf7afecf719e53 100644 (file)
@@ -1,6 +1,5 @@
 // SPDX-License-Identifier: GPL-2.0+
 
-#include <common.h>
 #include <asm/io.h>
 #include <memalign.h>
 #include <nand.h>
index 027fdd37da3b6b4827d73f23554e5261166fd912..564c678c9ef2427aefda6ddb0b341505200af230 100644 (file)
@@ -1,6 +1,5 @@
 // SPDX-License-Identifier: GPL-2.0+
 
-#include <common.h>
 #include <asm/io.h>
 #include <memalign.h>
 #include <nand.h>
index efbf9a3120a43f75a13c4bb8e51fc3809f7d9fa8..b7bf7cc0893d2e99bcbf1a15952044022f5c761a 100644 (file)
@@ -12,7 +12,6 @@
  * GNU General Public License for more details.
  */
 
-#include <common.h>
 #include <asm/io.h>
 #include <memalign.h>
 #include <nand.h>
index a6acf556bcc75d24c8dd92f73d3a7d8fbb038b76..b3b3df5c042e4ec95d9e5f881b335ee1d0731722 100644 (file)
@@ -1,6 +1,5 @@
 // SPDX-License-Identifier: GPL-2.0+
 
-#include <common.h>
 #include <dm.h>
 #include <malloc.h>
 #include <dm/devres.h>
index 69711d98ce1b24df075faa826fad13132a7650c8..430d6c9385381a2037545e6f9e2f2368358cb3f4 100644 (file)
@@ -4,7 +4,6 @@
  * Copyright (C) 2015 Broadcom Corporation
  */
 
-#include <common.h>
 #include <asm/io.h>
 #include <memalign.h>
 #include <nand.h>
index b7be6602f7cc386570c52935b14bcfa69e430599..06918a46e93ffed0eacc0313ff3decd3b451c1aa 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (c) 2020, Cortina Access Inc..
  */
 
-#include <common.h>
 #include <linux/delay.h>
 #include <linux/bitops.h>
 #include <linux/sizes.h>
index 71bbb8231bfbbb960a28e5b5bb31dbfb0624c988..d4daf06b8de596da614c6cc5120e8da3f1b78a79 100644 (file)
@@ -28,7 +28,7 @@
  -
  */
 
-#include <common.h>
+#include <config.h>
 #include <log.h>
 #include <linux/mtd/rawnand.h>
 #include <asm/io.h>
index c827f80281c163bc39f69186cd71b237a3ec6629..b2401116689a690e4658c9e3f06f8089f0bc0ae1 100644 (file)
@@ -5,7 +5,6 @@
  * Copyright (C) 2009-2010, Intel Corporation and its suppliers.
  */
 
-#include <common.h>
 #include <dm.h>
 #include <malloc.h>
 #include <nand.h>
index 165a23312cb59cf6955804972eb2c8db4376635a..b1e2c9d81617bc96a4b3b6dfb42b71a0e514d3ef 100644 (file)
@@ -4,7 +4,7 @@
  * Copyright (C) 2014-2015  Masahiro Yamada <yamada.masahiro@socionext.com>
  */
 
-#include <common.h>
+#include <config.h>
 #include <log.h>
 #include <asm/io.h>
 #include <asm/unaligned.h>
index 7853c3f74e2ab672664e69b1edeae92c9fbdd8e4..157330cb287ae839226bef690f3d50567eff08ae 100644 (file)
@@ -7,7 +7,7 @@
  *          Scott Wood <scottwood@freescale.com>
  */
 
-#include <common.h>
+#include <config.h>
 #include <command.h>
 #include <malloc.h>
 #include <nand.h>
index 26aaab08e893a6fa634f7e75b90f2b1aced66d41..17b8ef7ff4b995b93caffeaa614f258eb469cde9 100644 (file)
@@ -9,7 +9,7 @@
  * Author: Scott Wood <scottwood@freescale.com>
  */
 
-#include <common.h>
+#include <config.h>
 #include <cpu_func.h>
 #include <linux/mtd/rawnand.h>
 #include <asm/io.h>
index 1d7c1fddd3f64b7f3614b32e9aa0ca4b9cbf82a3..857d50ef9b09585d640808528b7c63584daaeb3c 100644 (file)
@@ -6,7 +6,7 @@
  * Authors: Dipen Dudhat <Dipen.Dudhat@freescale.com>
  */
 
-#include <common.h>
+#include <config.h>
 #include <command.h>
 #include <malloc.h>
 #include <nand.h>
index 69d26f1f79abb89700a740c4201e116664e8fa64..c2ebee948707c684d5ede5f770b16f19e4747abe 100644 (file)
@@ -6,7 +6,7 @@
  * Author: Dipen Dudhat <dipen.dudhat@freescale.com>
  */
 
-#include <common.h>
+#include <config.h>
 #include <cpu_func.h>
 #include <asm/io.h>
 #include <fsl_ifc.h>
index 621d2d232c88907a452540c8d7142c1a6897ed04..cd182be268dca1ac65f50677adece44d0698afdb 100644 (file)
@@ -5,7 +5,6 @@
  * Written-by: Prafulla Wadaskar <prafulla@marvell.com>
  */
 
-#include <common.h>
 #include <linux/mtd/rawnand.h>
 #include <asm/io.h>
 #include <asm/arch/soc.h>
index dfe73d64e46a1e324a28e5c033613fffd7e3a8f5..e9398eb4093e09565c8bd16930901e3743f63fd4 100644 (file)
@@ -4,7 +4,7 @@
  * Heiko Schocher, DENX Software Engineering, hs@denx.de
  */
 
-#include <common.h>
+#include <config.h>
 #include <nand.h>
 #include <asm/io.h>
 #include <linux/delay.h>
index f8ae216d56c659a9c36db566c57bd6033b9bff11..c89661badbf506a56e99ef6b83df7caffd350630 100644 (file)
@@ -19,7 +19,7 @@
  * should not rely on the ECC validity.
  */
 
-#include <common.h>
+#include <config.h>
 #include <nand.h>
 #include <linux/delay.h>
 #include <linux/errno.h>
index b21a0b9d293fe3cbf94df4fd4c0cdc34cc7dffab..4d643bc64bc2ac089819b870626cf98c124e1d93 100644 (file)
@@ -10,7 +10,7 @@
  * Author: Kevin Wells
  */
 
-#include <common.h>
+#include <config.h>
 #include <log.h>
 #include <nand.h>
 #include <linux/bug.h>
index dbdc5b0bca1c56788243c6eba7e843ec40f882ab..0750b38f70810d4c2a81b5675442b881e51f31de 100644 (file)
@@ -5,7 +5,7 @@
  * Copyright 2009 Ilya Yanok, <yanok@emcraft.com>
  */
 
-#include <common.h>
+#include <config.h>
 #include <log.h>
 #include <nand.h>
 #include <linux/delay.h>
index a855c9987f803e452b1c3469c2eeeb8e703c5a02..c5872848954edc78da662df177196e6895fd8c43 100644 (file)
@@ -10,7 +10,7 @@
  * Stefan Roese, DENX Software Engineering, sr at denx.de.
  */
 
-#include <common.h>
+#include <config.h>
 #include <hang.h>
 #include <nand.h>
 #include <system-constants.h>
index 6abdc24bd30c097c9588ef3300812164b699d9e0..0e54b5f69389549fbd951f81d6cbe667dd95270c 100644 (file)
@@ -6,7 +6,6 @@
  *     Zhengxun Li <zhengxunli@mxic.com.tw>
  */
 
-#include <common.h>
 #include <clk.h>
 #include <dm.h>
 #include <malloc.h>
index fd65772af806691ab35047d94a487469831ba183..11b0247b2842b7b9c91f3826de8f58dedd7f3d36 100644 (file)
@@ -13,7 +13,6 @@
  * Copyright 2017-2019 NXP
  */
 
-#include <common.h>
 #include <clk.h>
 #include <cpu_func.h>
 #include <dm.h>
index f7d3f02f85a040cd0ceed0412276c295b8f2782d..c8e064347adad0956b7b66ab396c210583bca501 100644 (file)
@@ -4,7 +4,6 @@
  * Copyright 2019 NXP
  * Author: Tim Harvey <tharvey@gateworks.com>
  */
-#include <common.h>
 #include <log.h>
 #include <nand.h>
 #include <malloc.h>
index b591170346d04722c22c77a6131f9e5be77ef47b..36054492e18614c6bad97b3e384b11aa30485a1a 100644 (file)
@@ -5,7 +5,7 @@
  * Ladislav Michl <michl@2n.cz>
  */
 
-#include <common.h>
+#include <config.h>
 #include <nand.h>
 #include <errno.h>
 #include <linux/mtd/concat.h>
index 688d17ba3c2fc837a06957e7f2dd4fe84e81b54e..18b95caffeffdccef76410bfcc78da23efc00ab6 100644 (file)
@@ -28,7 +28,6 @@
  */
 
 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
-#include <common.h>
 #include <log.h>
 #include <malloc.h>
 #include <watchdog.h>
index cd451870a6f90732590c73caf4e6e1c77d980f09..1fb8535ab054f8802d5bdc5d9f10ca3faa83ae0f 100644 (file)
@@ -57,7 +57,6 @@
  *
  */
 
-#include <common.h>
 #include <log.h>
 #include <malloc.h>
 #include <dm/devres.h>
index bb48ebbb96c76aa415ae05d324e0bded0373842a..f317cc26c9033744a449cebb0dc307dd8bcadf07 100644 (file)
@@ -7,7 +7,6 @@
  *
  */
 
-#include <common.h>
 #include <log.h>
 #include <dm/devres.h>
 #include <linux/printk.h>
index 2bc329be1a3b010334aa651a588419e7ec75f67a..0530ccb07226d1ed9d812a06ea5d1f34d3b53117 100644 (file)
@@ -22,7 +22,6 @@
  * this file might be covered by the GNU General Public License.
  */
 
-#include <common.h>
 
 #include <linux/errno.h>
 #include <linux/mtd/mtd.h>
index be60d6d9d9952f7a8b728ebb331b587a832a5da6..4f46378ffe10634738257ebe36e2ff049d052d7d 100644 (file)
@@ -6,7 +6,6 @@
  * published by the Free Software Foundation.
  *
  */
-#include <common.h>
 #include <linux/mtd/rawnand.h>
 #include <linux/sizes.h>
 
index 7ac9bf4d1206dc2fdd1e8d7d6ac134bc93aa2352..87af675c13916f2157d9f7f593214a05ebd32cf6 100644 (file)
@@ -4,7 +4,7 @@
  * Heiko Schocher, DENX Software Engineering, hs@denx.de.
  */
 
-#include <common.h>
+#include <config.h>
 #include <nand.h>
 
 /*
index 80d6e0e1e4efa27f451a003af6b8bb32771021ac..c0956ab0e491ef15b16dd7ae490f9edb8711c7be 100644 (file)
@@ -4,7 +4,7 @@
  * Stefan Roese, DENX Software Engineering, sr@denx.de.
  */
 
-#include <common.h>
+#include <config.h>
 #include <nand.h>
 #include <system-constants.h>
 #include <asm/io.h>
index e6aa79039131ce1e0c4c172dcaae0a8f9f87b929..c1bac1d01cc431666a1a4b94de3f415e895e255b 100644 (file)
@@ -8,7 +8,6 @@
  * published by the Free Software Foundation.
  *
  */
-#include <common.h>
 #include <linux/err.h>
 #include <linux/kernel.h>
 #include <linux/mtd/rawnand.h>
index 72cc24f40376eb95349c3984f0c32bb12ebb5a97..fda4239fa792dfc677367fcac632a2b239a282a4 100644 (file)
@@ -18,7 +18,6 @@
  * Copyright 2010 Freescale Semiconductor
  */
 
-#include <common.h>
 #include <command.h>
 #include <log.h>
 #include <watchdog.h>
index 015ec9bc2de0179c954e8097aec87a61cc3d76bd..61751b9ae2db043106178eccc29cca10cc5d80d5 100644 (file)
@@ -12,7 +12,6 @@
  *    sets in uboot
  */
 
-#include <common.h>
 #include <asm/io.h>
 #include <linux/errno.h>
 #include <asm/arch/hardware.h>
index 2f8fa7d73d21c97b0b81f72ce6b5352ce9ef3b11..92a92ad63a022223b7c262d03f1e78a297520ada 100644 (file)
@@ -4,7 +4,7 @@
  * Rohit Choraria <rohitkc@ti.com>
  */
 
-#include <common.h>
+#include <config.h>
 #include <log.h>
 #include <system-constants.h>
 #include <asm/io.h>
index 1d9a6d107b17925a89ef706b81210a4993153baf..17c5601bead0e0c635ac730755420051bc069d97 100644 (file)
@@ -6,7 +6,6 @@
  * Copyright © 2006 Marvell International Ltd.
  */
 
-#include <common.h>
 #include <malloc.h>
 #include <fdtdec.h>
 #include <nand.h>
index 088cc7fead24147ff30d50e25bf792e490af56a9..f730e15d04107fd1c9571c9a992f0f8a1e3ec637 100644 (file)
@@ -5,7 +5,6 @@
  * Author: Yifeng Zhao <yifeng.zhao@rock-chips.com>
  */
 
-#include <common.h>
 #include <asm/io.h>
 #include <clk.h>
 #include <dm.h>
index d284b8cbb123eb5939933e67c1908d5eec72f039..083ea4c5a74b782ba655e1b9eac87823be9cce4e 100644 (file)
@@ -6,7 +6,6 @@
 
 #define LOG_CATEGORY UCLASS_MTD
 
-#include <common.h>
 #include <clk.h>
 #include <dm.h>
 #include <log.h>
index 0b5b74dc242d1b69fd39c6f820955679b4fef60d..34197bb09a19551655160112f3215e0c9da691ac 100644 (file)
@@ -25,7 +25,6 @@
  */
 
 #include <clk.h>
-#include <common.h>
 #include <dm.h>
 #include <malloc.h>
 #include <memalign.h>
index c9b8c78ed7523a53b6d0bb253af66a4c1a8dcc9b..040138e255925cbb27fee15ced5a3f35b303be07 100644 (file)
@@ -6,7 +6,6 @@
 
 #include <asm/arch/clock.h>
 #include <asm/io.h>
-#include <common.h>
 #include <config.h>
 #include <nand.h>
 #include <linux/bitops.h>
index 6086ecdfa3dbfba65219cf2c5e42534d7d7dc0b5..8285f87359e79ea061660ce8e7dec37f4b64aef5 100644 (file)
@@ -6,7 +6,6 @@
  * (C) Copyright 2006 DENX Software Engineering
  */
 
-#include <common.h>
 #include <log.h>
 #include <asm/global_data.h>
 #include <asm/io.h>
index d2363a0662e274073679c1fcbac4a532acdb8b71..1026595036892b09e785cd1cdd1059a42ddd039d 100644 (file)
@@ -21,7 +21,7 @@
  * - HW ECC: Only 24 and 32-bit error correction implemented.
  */
 
-#include <common.h>
+#include <config.h>
 #include <malloc.h>
 #include <dm/device_compat.h>
 #include <linux/printk.h>
index bacaf13c570dcab868d93432e70194318d966920..5f90171a6fe3476e86e062507f45f55c034b4938 100644 (file)
@@ -6,7 +6,6 @@
  * This driver is based on plat_nand.c and mxc_nand.c drivers
  */
 
-#include <common.h>
 #include <log.h>
 #include <malloc.h>
 #include <asm/io.h>
index 62c28aa422d25049593774baf9694597f2e0ac1b..ef50237f10e6006da57b1fb94b4217c92fa1be5b 100644 (file)
@@ -21,7 +21,6 @@
 #include <linux/spi/spi.h>
 #include <linux/spi/spi-mem.h>
 #else
-#include <common.h>
 #include <errno.h>
 #include <watchdog.h>
 #include <spi.h>
index 9a316d1de397e6e60e9a89f4ef77e4f18eaabaa6..95dfa58def17a3fd7393b69992e9488aa1ab238e 100644 (file)
@@ -6,7 +6,6 @@
  *   Abdellatif El Khlifi <abdellatif.elkhlifi@arm.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #if CONFIG_IS_ENABLED(SANDBOX64)
index 0bd98d64275fa1a88f6e8841f0336826d12e84c3..229938db3806b0e0ad6ac0baf442b962c62936bb 100644 (file)
@@ -6,7 +6,6 @@
  *   Abdellatif El Khlifi <abdellatif.elkhlifi@arm.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <mapmem.h>
index 4d7471118a4c1394b6b510e6a05345c3ea143e9b..460887c7da343388569d6f1138e32e4e556d9333 100644 (file)
@@ -6,7 +6,6 @@
  *   Abdellatif El Khlifi <abdellatif.elkhlifi@arm.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <fdt_support.h>
 #include <linux/errno.h>
index 762b01c1b0f0953ea774974ef66a103f42673382..edecb841338f5781ca79d8aa8a2d661935140bc2 100644 (file)
@@ -19,7 +19,6 @@
  * published by the Free Software Foundation.
  */
 
-#include <common.h>
 #include <log.h>
 #include <watchdog.h>
 #include <dm/devres.h>
index cc1e449f4a72af4c6919a32dddb9e9e30b17feab..6af1cb2ec19ad8ace1a40693c2c0cb1d469a24ed 100644 (file)
@@ -14,7 +14,6 @@
  * published by the Free Software Foundation.
  */
 
-#include <common.h>
 #include <log.h>
 #include <linux/compat.h>
 #include <linux/mtd/mtd.h>
index 2699958a5de245ded105e1aa69a59c1911cbfa70..a9d54a243ade6bf00ed0a1329d056cefecbb7b12 100644 (file)
@@ -7,9 +7,10 @@
  *     Kyungmin Park <kyungmin.park@samsung.com>
  */
 
-#include <common.h>
+#include <config.h>
 #include <asm/io.h>
 #include <linux/bitops.h>
+#include <linux/string.h>
 #include <linux/mtd/onenand_regs.h>
 #include <onenand_uboot.h>
 
index ecacabefadcfa7ac0498079c7893dc230ac719a4..db0ac6c1fb8f2454641c7920400856e2425fc0b2 100644 (file)
@@ -13,7 +13,7 @@
  * OneNAND initialization at U-Boot
  */
 
-#include <common.h>
+#include <config.h>
 #include <display_options.h>
 #include <linux/compat.h>
 #include <linux/mtd/mtd.h>
index c415e5149a019e99f4d69d7c9bfff0d229642a90..ccfdad4913e8916686297bc49d30fb46c3db3503 100644 (file)
@@ -9,7 +9,6 @@
  *     Emulate the pseudo BufferRAM
  */
 
-#include <common.h>
 #include <malloc.h>
 #include <linux/compat.h>
 #include <linux/mtd/mtd.h>
index 979b64d4a2f69de81592aba28a8f33993fbeacba..8dcffde9aa396403f64aae56d81c8878f5baf56c 100644 (file)
@@ -7,7 +7,6 @@
  * Copyright (C) 2017 Marek Vasut <marek.vasut@gmail.com>
  */
 
-#include <common.h>
 #include <malloc.h>
 #include <asm/io.h>
 #include <clk.h>
index cdbdbd6ea5810845aded4fc63e6784ac829f3d75..73eea922c33a75cb45b426f3099d4ecec58ed7d3 100644 (file)
@@ -3,7 +3,7 @@
  * Copyright 2013 Freescale Semiconductor, Inc.
  */
 
-#include <common.h>
+#include <config.h>
 #include <cpu_func.h>
 #include <hang.h>
 #include <spi_flash.h>
index 4fe547171a5f06705b3cedc4476720a76a36ba4c..2d5a16bf6a29a6ddd4240d47450224cda542c3d9 100644 (file)
@@ -10,7 +10,6 @@
 
 #define LOG_CATEGORY UCLASS_SPI_FLASH
 
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <malloc.h>
index 2da0cf0dcf9f4274118d8c4ed3eac1751126b902..a4d15bd64aa2e18bc020a7b15b7a93f514ecc977 100644 (file)
@@ -5,7 +5,6 @@
 
 #define LOG_CATEGORY UCLASS_SPI_FLASH
 
-#include <common.h>
 #include <bootdev.h>
 #include <dm.h>
 #include <log.h>
index d6b47b11ce451e430463a5a18d4469562b9f70de..017a74a3016fc6bd664ccfdd24270e2797a14787 100644 (file)
@@ -5,7 +5,6 @@
  * Copyright 2022 Google LLC
  */
 
-#include <common.h>
 #include <bootdev.h>
 #include <bootflow.h>
 #include <bootmeth.h>
index 6a0d953a72904c91381ec517bdfabcad266c6ce0..6db24189c8eaa67338af162370b4af1d78834b1f 100644 (file)
@@ -6,7 +6,6 @@
  * Haikun Wang (haikun.wang@freescale.com)
  */
 
-#include <common.h>
 #include <display_options.h>
 #include <dm.h>
 #include <errno.h>
index 071b25ac67f2d4e14f8ea3cf846716cbe926df85..7342f26d88e0b50eb281cc14fff72369c41da5aa 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2012-2014 Daniel Schwierzeck, daniel.schwierzeck@gmail.com
  */
 
-#include <common.h>
 #include <malloc.h>
 #include <linux/errno.h>
 #include <linux/mtd/mtd.h>
index de6516f1065be9fb106e71894f22f5ff34b0f2f0..7100b64bf22aae56f74fb2588af8fa0440ab0d9e 100644 (file)
@@ -7,7 +7,6 @@
  * Copyright (C) 2013 Jagannadha Sutradharudu Teki, Xilinx Inc.
  */
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <linux/mtd/spi-nor.h>
index f86003ca8c06439e6871f1661be790f1fb4c0852..982dd251150dc5373dc96f0e2fd267f416fc1f08 100644 (file)
@@ -9,7 +9,6 @@
  * Synced from Linux v4.19
  */
 
-#include <common.h>
 #include <display_options.h>
 #include <log.h>
 #include <watchdog.h>
index 4e83b8c94c96ed6a9392ca88338d967448607402..684206ea07ddb6caf79f97b4cdfd287e68c4c1a0 100644 (file)
@@ -6,7 +6,6 @@
  * Copyright (C) 2018 Texas Instruments Incorporated - https://www.ti.com/
  */
 
-#include <common.h>
 #include <spi.h>
 #include <spi_flash.h>
 
index 0719fe845ca96f6812bc57f6c913b5a097da304b..5755c5eed297a9f756b939f5d0d2727b21b34693 100644 (file)
@@ -9,7 +9,6 @@
  * Synced from Linux v4.19
  */
 
-#include <common.h>
 #include <log.h>
 #include <dm/device_compat.h>
 #include <linux/err.h>
index 4523344ba6b02ac29fe215ad70a897a013d90e9a..ec83be6b51fd46603bcfebc91fe9e124eff5527a 100644 (file)
@@ -4,7 +4,7 @@
  * Kamil Lulko, <kamil.lulko@gmail.com>
  */
 
-#include <common.h>
+#include <config.h>
 #include <flash.h>
 #include <asm/io.h>
 #include <asm/arch/stm32.h>
index b58d8e8d5656c41dea1ea17fbde382a1db2f2384..90a7c4c6f9e08552d68a54afbe6d423a4a345de0 100644 (file)
@@ -7,7 +7,6 @@
  * Copyright (c) International Business Machines Corp., 2006
  */
 
-#include <common.h>
 #include <errno.h>
 #include <linux/bug.h>
 #include <u-boot/crc.h>
index 00e0282dcc0e194dc03739bd090979734e5206b6..e1125458a629f5bccea8335b5a9b2236922a8e27 100644 (file)
@@ -6,7 +6,6 @@
  * Copyright (C) 2017 Pengutronix, Philipp Zabel <kernel@pengutronix.de>
  * Copyright (C) 2019 Texas Instrument, Jean-jacques Hiblot <jjhiblot@ti.com>
  */
-#include <common.h>
 #include <dm.h>
 #include <mux-internal.h>
 #include <regmap.h>
index 8833888ded37408a694fa8eb275e66409ddb7309..8a3e7a84f41bfd77d0d49b0a4bc3c5465d25454f 100644 (file)
@@ -13,7 +13,6 @@
 
 #define LOG_CATEGORY UCLASS_MUX
 
-#include <common.h>
 #include <dm.h>
 #include <mux-internal.h>
 #include <dm/device-internal.h>
index b2d7b499766f4fb6fbf4d2836da523d012de581a..b4ff033afa9f0959c3ab921a0de8d3ab2e3e7b7f 100644 (file)
@@ -193,6 +193,24 @@ config CALXEDA_XGMAC
          This driver supports the XGMAC in Calxeda Highbank and Midway
          machines.
 
+config DWC_ETH_XGMAC
+        bool "Synopsys DWC Ethernet XGMAC device support"
+       select PHYLIB
+        help
+          This driver supports the Synopsys Designware Ethernet XGMAC (10G
+          Ethernet MAC) IP block. The IP supports many options for bus type,
+          clocking/reset structure, and feature list.
+
+config DWC_ETH_XGMAC_SOCFPGA
+       bool "Synopsys DWC Ethernet XGMAC device support for SOCFPGA"
+       select REGMAP
+       select SYSCON
+       depends on DWC_ETH_XGMAC
+       default y if TARGET_SOCFPGA_AGILEX5
+       help
+         The Synopsys Designware Ethernet XGMAC IP block with specific
+         configuration used in Intel SoC FPGA chip.
+
 config DRIVER_DM9000
        bool "Davicom DM9000 controller driver"
        help
index dc3404519d6e1edf5b3e67276b1b06b54380cc59..dce71685c3d09d2d4e08c690fa9132151f34a5e0 100644 (file)
@@ -22,6 +22,8 @@ obj-$(CONFIG_DWC_ETH_QOS) += dwc_eth_qos.o
 obj-$(CONFIG_DWC_ETH_QOS_IMX) += dwc_eth_qos_imx.o
 obj-$(CONFIG_DWC_ETH_QOS_ROCKCHIP) += dwc_eth_qos_rockchip.o
 obj-$(CONFIG_DWC_ETH_QOS_QCOM) += dwc_eth_qos_qcom.o
+obj-$(CONFIG_DWC_ETH_XGMAC) += dwc_eth_xgmac.o
+obj-$(CONFIG_DWC_ETH_XGMAC_SOCFPGA) += dwc_eth_xgmac_socfpga.o
 obj-$(CONFIG_DWC_ETH_QOS_STARFIVE) += dwc_eth_qos_starfive.o
 obj-$(CONFIG_DWC_ETH_QOS_STM32) += dwc_eth_qos_stm32.o
 obj-$(CONFIG_E1000) += e1000.o
index da1f3f4580805f70905760919e2c314668e3c3e9..059a65d46610b3f121d4b33e8f0d7250c4490247 100644 (file)
@@ -6,7 +6,6 @@
  * Copyright (C) 2019 Rosy Song <rosysong@rosinson.com>
  */
 
-#include <common.h>
 #include <clock_legacy.h>
 #include <cpu_func.h>
 #include <dm.h>
index e2340936fa62dd6f819a422aba290405e916b94d..c57aafd0026309724dccf9cb8d40a6881ce48d48 100644 (file)
@@ -8,7 +8,6 @@
  * it under the terms of the GNU General Public License version 2 as
  * published by the Free Software Foundation.
  */
-#include <common.h>
 #include <cpu_func.h>
 #include <dm.h>
 #include <errno.h>
index a99715a7282947996fabdcee936fd538759ceb0c..f2e4392aa9ace8029f0f4c7752bd28e579e771e3 100644 (file)
@@ -7,7 +7,6 @@
  * This file is inspired from the Linux kernel driver drivers/net/phy/mdio-aspeed.c
  */
 
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <miiphy.h>
index cbe1e85222fa29d1d9dcf36b38c28a7fe51bc44f..ba244b4a26e25e3590c2899ee60504522b658cc5 100644 (file)
@@ -11,7 +11,6 @@
 #endif
 
 #include <config.h>
-#include <common.h>
 #include <cpu_func.h>
 #include <log.h>
 #include <malloc.h>
index 1524f5c99890e02fd48974317e57092715ba84a5..c10719c6b510b1bf27403c7e9fec27655ce60f0f 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright 2014 Broadcom Corporation.
  */
 
-#include <common.h>
 #include <log.h>
 #include <malloc.h>
 #include <net.h>
index 15a94f6ce9a105064761c08c77b7f3ae264d38d3..f87db4ab46e4d67b2ad0f1f13b788bc629e6a0b4 100644 (file)
@@ -6,7 +6,6 @@
  *     Copyright (C) 2008 Maxime Bizon <mbizon@freebox.fr>
  */
 
-#include <common.h>
 #include <clk.h>
 #include <dm.h>
 #include <dma.h>
index 9679a45b0758fae6f4398033bb1dfe7b83d4c17e..0601fcc42f58e177a8085964b6122e14c81a84f7 100644 (file)
@@ -6,7 +6,6 @@
  *     Copyright (C) 2008 Maxime Bizon <mbizon@freebox.fr>
  */
 
-#include <common.h>
 #include <clk.h>
 #include <dm.h>
 #include <dma.h>
index 1c9a9962408a32dd9289bb7f7036a4522a475f14..25fbcd7b116131879a21b3ee28bda5af3c63c375 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright 2019-2021 Broadcom.
  */
 
-#include <common.h>
 
 #include <asm/io.h>
 #include <dm.h>
index eb1e2a756cd3c5ce273b153682090e723a7352b3..ebb399457fb58041f402742478db54cfe87b6c40 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright 2010-2011 Calxeda, Inc.
  */
 
-#include <common.h>
 #include <malloc.h>
 #include <net.h>
 #include <linux/compiler.h>
index ef6ecd88b0ce4fec7723c2fe8a21ad98714b762d..790268828002f60f022db417d2297702d0d1f52a 100644 (file)
@@ -7,7 +7,6 @@
  * Ethernet MAC Driver for all supported CAxxxx SoCs
  */
 
-#include <common.h>
 #include <command.h>
 #include <malloc.h>
 #include <net.h>
index 4e7af95b41c44fe5290e37f67e291ae5063874a1..ce028f451f137e4c2360c0246eeecba4f482638a 100644 (file)
@@ -1,6 +1,5 @@
 // SPDX-License-Identifier: GPL-2.0+
 
-#include <common.h>
 #include <asm/io.h>
 #include <dm.h>
 #include <malloc.h>
index 682045cea2cfb058beeae01ea527e3e6d49b3518..07b0f49ef58104acc4279e11345e336698bfb2ac 100644 (file)
@@ -8,7 +8,6 @@
  * Designware ethernet IP driver for U-Boot
  */
 
-#include <common.h>
 #include <clk.h>
 #include <cpu_func.h>
 #include <dm.h>
index bec8d67dad0fd238368f709d237f637fda33cea9..9e17f0b9c2809113e09b8e6e43fce99394c57a16 100644 (file)
@@ -49,7 +49,6 @@
  * TODO: external MII is not functional, only internal at the moment.
  */
 
-#include <common.h>
 #include <command.h>
 #include <dm.h>
 #include <malloc.h>
index 32a5d52165ac7d11c7d97c1e73de6202e2750ecf..67ac86f82bcd1dd1aae2d966e6ce98f25d1f03e5 100644 (file)
@@ -29,7 +29,6 @@
 
 #define LOG_CATEGORY UCLASS_ETH
 
-#include <common.h>
 #include <clk.h>
 #include <cpu_func.h>
 #include <dm.h>
index 9c4e390441333fe3c8b50f541b402dc776d6df49..d6bed278ca799443f6cf11251a247faf3d184758 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright 2022 NXP
  */
 
-#include <common.h>
 #include <clk.h>
 #include <cpu_func.h>
 #include <dm.h>
index 8178138fc659111d58aaca7b3dcddf475245961d..77d626393d5afc3139ecded374cd1e9ece2a7680 100644 (file)
@@ -5,7 +5,6 @@
  * Qcom DWMAC specific glue layer
  */
 
-#include <common.h>
 #include <asm/global_data.h>
 #include <asm/gpio.h>
 #include <asm/io.h>
index fa9e513faea3011741926509af2160015181a746..c4557e57988dc56755e549e9a91d865a19f08811 100644 (file)
@@ -8,7 +8,6 @@
  * part in order to simplify future porting of fixes and support for other SoCs.
  */
 
-#include <common.h>
 #include <clk.h>
 #include <dm.h>
 #include <dm/device_compat.h>
index 5be8ac0f1a514b7600b55c80ad1821c89e181bc7..09e714ce76a0e6f747ad9b1d0c8dcc65cdcd80af 100644 (file)
@@ -4,7 +4,6 @@
  * Author: Yanhong Wang<yanhong.wang@starfivetech.com>
  */
 
-#include <common.h>
 #include <asm/cache.h>
 #include <asm/gpio.h>
 #include <clk.h>
diff --git a/drivers/net/dwc_eth_xgmac.c b/drivers/net/dwc_eth_xgmac.c
new file mode 100644 (file)
index 0000000..d3e5f92
--- /dev/null
@@ -0,0 +1,1165 @@
+// SPDX-License-Identifier: GPL-2.0
+/*
+ * Copyright (c) 2023, Intel Corporation.
+ *
+ * Portions based on U-Boot's dwc_eth_qos.c.
+ */
+
+/*
+ * This driver supports the Synopsys Designware Ethernet XGMAC (10G Ethernet
+ * MAC) IP block. The IP supports multiple options for bus type, clocking/
+ * reset structure, and feature list.
+ *
+ * The driver is written such that generic core logic is kept separate from
+ * configuration-specific logic. Code that interacts with configuration-
+ * specific resources is split out into separate functions to avoid polluting
+ * common code. If/when this driver is enhanced to support multiple
+ * configurations, the core code should be adapted to call all configuration-
+ * specific functions through function pointers, with the definition of those
+ * function pointers being supplied by struct udevice_id xgmac_ids[]'s .data
+ * field.
+ *
+ * This configuration uses an AXI master/DMA bus, an AHB slave/register bus,
+ * contains the DMA, MTL, and MAC sub-blocks, and supports a single RGMII PHY.
+ * This configuration also has SW control over all clock and reset signals to
+ * the HW block.
+ */
+
+#define LOG_CATEGORY UCLASS_ETH
+
+#include <clk.h>
+#include <cpu_func.h>
+#include <dm.h>
+#include <errno.h>
+#include <eth_phy.h>
+#include <log.h>
+#include <malloc.h>
+#include <memalign.h>
+#include <miiphy.h>
+#include <net.h>
+#include <netdev.h>
+#include <phy.h>
+#include <reset.h>
+#include <wait_bit.h>
+#include <asm/cache.h>
+#include <asm/gpio.h>
+#include <asm/io.h>
+#include <linux/delay.h>
+#include "dwc_eth_xgmac.h"
+
+static void *xgmac_alloc_descs(struct xgmac_priv *xgmac, unsigned int num)
+{
+       return memalign(ARCH_DMA_MINALIGN, num * xgmac->desc_size);
+}
+
+static void xgmac_free_descs(void *descs)
+{
+       free(descs);
+}
+
+static struct xgmac_desc *xgmac_get_desc(struct xgmac_priv *xgmac,
+                                        unsigned int num, bool rx)
+{
+       return (rx ? xgmac->rx_descs : xgmac->tx_descs) +
+              (num * xgmac->desc_size);
+}
+
+void xgmac_inval_desc_generic(void *desc)
+{
+       unsigned long start;
+       unsigned long end;
+
+       if (!desc) {
+               pr_err("%s invalid input buffer\n", __func__);
+               return;
+       }
+
+       start = (unsigned long)desc & ~(ARCH_DMA_MINALIGN - 1);
+       end = ALIGN(start + sizeof(struct xgmac_desc),
+                   ARCH_DMA_MINALIGN);
+
+       invalidate_dcache_range(start, end);
+}
+
+void xgmac_flush_desc_generic(void *desc)
+{
+       unsigned long start;
+       unsigned long end;
+
+       if (!desc) {
+               pr_err("%s invalid input buffer\n", __func__);
+               return;
+       }
+
+       start = (unsigned long)desc & ~(ARCH_DMA_MINALIGN - 1);
+       end = ALIGN(start + sizeof(struct xgmac_desc),
+                   ARCH_DMA_MINALIGN);
+
+       flush_dcache_range(start, end);
+}
+
+void xgmac_inval_buffer_generic(void *buf, size_t size)
+{
+       unsigned long start;
+       unsigned long end;
+
+       if (!buf) {
+               pr_err("%s invalid input buffer\n", __func__);
+               return;
+       }
+
+       start = (unsigned long)buf & ~(ARCH_DMA_MINALIGN - 1);
+       end = ALIGN((unsigned long)buf + size,
+                   ARCH_DMA_MINALIGN);
+
+       invalidate_dcache_range(start, end);
+}
+
+void xgmac_flush_buffer_generic(void *buf, size_t size)
+{
+       unsigned long start;
+       unsigned long end;
+
+       if (!buf) {
+               pr_err("%s invalid input buffer\n", __func__);
+               return;
+       }
+
+       start = (unsigned long)buf & ~(ARCH_DMA_MINALIGN - 1);
+       end = ALIGN((unsigned long)buf + size,
+                   ARCH_DMA_MINALIGN);
+
+       flush_dcache_range(start, end);
+}
+
+static int xgmac_mdio_wait_idle(struct xgmac_priv *xgmac)
+{
+       return wait_for_bit_le32(&xgmac->mac_regs->mdio_data,
+                                XGMAC_MAC_MDIO_ADDRESS_SBUSY, false,
+                                XGMAC_TIMEOUT_100MS, true);
+}
+
+static int xgmac_mdio_read(struct mii_dev *bus, int mdio_addr, int mdio_devad,
+                          int mdio_reg)
+{
+       struct xgmac_priv *xgmac = bus->priv;
+       u32 val;
+       u32 hw_addr;
+       int ret;
+
+       debug("%s(dev=%p, addr=0x%x, reg=%d):\n", __func__, xgmac->dev, mdio_addr,
+             mdio_reg);
+
+       ret = xgmac_mdio_wait_idle(xgmac);
+       if (ret) {
+               pr_err("MDIO not idle at entry: %d\n", ret);
+               return ret;
+       }
+
+       /* Set clause 22 format */
+       val = BIT(mdio_addr);
+       writel(val, &xgmac->mac_regs->mdio_clause_22_port);
+
+       hw_addr = (mdio_addr << XGMAC_MAC_MDIO_ADDRESS_PA_SHIFT) |
+                  (mdio_reg & XGMAC_MAC_MDIO_REG_ADDR_C22P_MASK);
+
+       val = xgmac->config->config_mac_mdio <<
+             XGMAC_MAC_MDIO_ADDRESS_CR_SHIFT;
+
+       val |= XGMAC_MAC_MDIO_ADDRESS_SADDR |
+              XGMAC_MDIO_SINGLE_CMD_ADDR_CMD_READ |
+              XGMAC_MAC_MDIO_ADDRESS_SBUSY;
+
+       ret = xgmac_mdio_wait_idle(xgmac);
+       if (ret) {
+               pr_err("MDIO not idle at entry: %d\n", ret);
+               return ret;
+       }
+
+       writel(hw_addr, &xgmac->mac_regs->mdio_address);
+       writel(val, &xgmac->mac_regs->mdio_data);
+
+       ret = xgmac_mdio_wait_idle(xgmac);
+       if (ret) {
+               pr_err("MDIO read didn't complete: %d\n", ret);
+               return ret;
+       }
+
+       val = readl(&xgmac->mac_regs->mdio_data);
+       val &= XGMAC_MAC_MDIO_DATA_GD_MASK;
+
+       debug("%s: val=0x%x\n", __func__, val);
+
+       return val;
+}
+
+static int xgmac_mdio_write(struct mii_dev *bus, int mdio_addr, int mdio_devad,
+                           int mdio_reg, u16 mdio_val)
+{
+       struct xgmac_priv *xgmac = bus->priv;
+       u32 val;
+       u32 hw_addr;
+       int ret;
+
+       debug("%s(dev=%p, addr=0x%x, reg=%d, val=0x%x):\n", __func__, xgmac->dev,
+             mdio_addr, mdio_reg, mdio_val);
+
+       ret = xgmac_mdio_wait_idle(xgmac);
+       if (ret) {
+               pr_err("MDIO not idle at entry: %d\n", ret);
+               return ret;
+       }
+
+       /* Set clause 22 format */
+       val = BIT(mdio_addr);
+       writel(val, &xgmac->mac_regs->mdio_clause_22_port);
+
+       hw_addr = (mdio_addr << XGMAC_MAC_MDIO_ADDRESS_PA_SHIFT) |
+                  (mdio_reg & XGMAC_MAC_MDIO_REG_ADDR_C22P_MASK);
+
+       hw_addr |= (mdio_reg >> XGMAC_MAC_MDIO_ADDRESS_PA_SHIFT) <<
+                   XGMAC_MAC_MDIO_ADDRESS_DA_SHIFT;
+
+       val = (xgmac->config->config_mac_mdio <<
+              XGMAC_MAC_MDIO_ADDRESS_CR_SHIFT);
+
+       val |= XGMAC_MAC_MDIO_ADDRESS_SADDR |
+               mdio_val | XGMAC_MDIO_SINGLE_CMD_ADDR_CMD_WRITE |
+               XGMAC_MAC_MDIO_ADDRESS_SBUSY;
+
+       ret = xgmac_mdio_wait_idle(xgmac);
+       if (ret) {
+               pr_err("MDIO not idle at entry: %d\n", ret);
+               return ret;
+       }
+
+       writel(hw_addr, &xgmac->mac_regs->mdio_address);
+       writel(val, &xgmac->mac_regs->mdio_data);
+
+       ret = xgmac_mdio_wait_idle(xgmac);
+       if (ret) {
+               pr_err("MDIO write didn't complete: %d\n", ret);
+               return ret;
+       }
+
+       return 0;
+}
+
+static int xgmac_set_full_duplex(struct udevice *dev)
+{
+       struct xgmac_priv *xgmac = dev_get_priv(dev);
+
+       debug("%s(dev=%p):\n", __func__, dev);
+
+       clrbits_le32(&xgmac->mac_regs->mac_extended_conf, XGMAC_MAC_EXT_CONF_HD);
+
+       return 0;
+}
+
+static int xgmac_set_half_duplex(struct udevice *dev)
+{
+       struct xgmac_priv *xgmac = dev_get_priv(dev);
+
+       debug("%s(dev=%p):\n", __func__, dev);
+
+       setbits_le32(&xgmac->mac_regs->mac_extended_conf, XGMAC_MAC_EXT_CONF_HD);
+
+       /* WAR: Flush TX queue when switching to half-duplex */
+       setbits_le32(&xgmac->mtl_regs->txq0_operation_mode,
+                    XGMAC_MTL_TXQ0_OPERATION_MODE_FTQ);
+
+       return 0;
+}
+
+static int xgmac_set_gmii_speed(struct udevice *dev)
+{
+       struct xgmac_priv *xgmac = dev_get_priv(dev);
+       u32 val;
+
+       debug("%s(dev=%p):\n", __func__, dev);
+
+       val = XGMAC_MAC_CONF_SS_1G_GMII << XGMAC_MAC_CONF_SS_SHIFT;
+       writel(val, &xgmac->mac_regs->tx_configuration);
+
+       return 0;
+}
+
+static int xgmac_set_mii_speed_100(struct udevice *dev)
+{
+       struct xgmac_priv *xgmac = dev_get_priv(dev);
+       u32 val;
+
+       debug("%s(dev=%p):\n", __func__, dev);
+
+       val = XGMAC_MAC_CONF_SS_100M_MII << XGMAC_MAC_CONF_SS_SHIFT;
+       writel(val, &xgmac->mac_regs->tx_configuration);
+
+       return 0;
+}
+
+static int xgmac_set_mii_speed_10(struct udevice *dev)
+{
+       struct xgmac_priv *xgmac = dev_get_priv(dev);
+       u32 val;
+
+       debug("%s(dev=%p):\n", __func__, dev);
+
+       val = XGMAC_MAC_CONF_SS_2_10M_MII << XGMAC_MAC_CONF_SS_SHIFT;
+       writel(val, &xgmac->mac_regs->tx_configuration);
+
+       return 0;
+}
+
+static int xgmac_adjust_link(struct udevice *dev)
+{
+       struct xgmac_priv *xgmac = dev_get_priv(dev);
+       int ret;
+       bool en_calibration;
+
+       debug("%s(dev=%p):\n", __func__, dev);
+
+       if (xgmac->phy->duplex)
+               ret = xgmac_set_full_duplex(dev);
+       else
+               ret = xgmac_set_half_duplex(dev);
+       if (ret < 0) {
+               pr_err("xgmac_set_*_duplex() failed: %d\n", ret);
+               return ret;
+       }
+
+       switch (xgmac->phy->speed) {
+       case SPEED_1000:
+               en_calibration = true;
+               ret = xgmac_set_gmii_speed(dev);
+               break;
+       case SPEED_100:
+               en_calibration = true;
+               ret = xgmac_set_mii_speed_100(dev);
+               break;
+       case SPEED_10:
+               en_calibration = false;
+               ret = xgmac_set_mii_speed_10(dev);
+               break;
+       default:
+               pr_err("invalid speed %d\n", xgmac->phy->speed);
+               return -EINVAL;
+       }
+       if (ret < 0) {
+               pr_err("xgmac_set_*mii_speed*() failed: %d\n", ret);
+               return ret;
+       }
+
+       if (en_calibration) {
+               ret = xgmac->config->ops->xgmac_calibrate_pads(dev);
+               if (ret < 0) {
+                       pr_err("xgmac_calibrate_pads() failed: %d\n",
+                              ret);
+                       return ret;
+               }
+       } else {
+               ret = xgmac->config->ops->xgmac_disable_calibration(dev);
+               if (ret < 0) {
+                       pr_err("xgmac_disable_calibration() failed: %d\n",
+                              ret);
+                       return ret;
+               }
+       }
+
+       return 0;
+}
+
+static int xgmac_write_hwaddr(struct udevice *dev)
+{
+       struct eth_pdata *plat = dev_get_plat(dev);
+       struct xgmac_priv *xgmac = dev_get_priv(dev);
+       u32 val;
+
+       /*
+        * This function may be called before start() or after stop(). At that
+        * time, on at least some configurations of the XGMAC HW, all clocks to
+        * the XGMAC HW block will be stopped, and a reset signal applied. If
+        * any register access is attempted in this state, bus timeouts or CPU
+        * hangs may occur. This check prevents that.
+        *
+        * A simple solution to this problem would be to not implement
+        * write_hwaddr(), since start() always writes the MAC address into HW
+        * anyway. However, it is desirable to implement write_hwaddr() to
+        * support the case of SW that runs subsequent to U-Boot which expects
+        * the MAC address to already be programmed into the XGMAC registers,
+        * which must happen irrespective of whether the U-Boot user (or
+        * scripts) actually made use of the XGMAC device, and hence
+        * irrespective of whether start() was ever called.
+        *
+        */
+       if (!xgmac->config->reg_access_always_ok && !xgmac->reg_access_ok)
+               return 0;
+
+       /* Update the MAC address */
+       val = (plat->enetaddr[5] << 8) |
+               (plat->enetaddr[4]);
+       writel(val, &xgmac->mac_regs->address0_high);
+       val = (plat->enetaddr[3] << 24) |
+               (plat->enetaddr[2] << 16) |
+               (plat->enetaddr[1] << 8) |
+               (plat->enetaddr[0]);
+       writel(val, &xgmac->mac_regs->address0_low);
+       return 0;
+}
+
+static int xgmac_read_rom_hwaddr(struct udevice *dev)
+{
+       struct eth_pdata *pdata = dev_get_plat(dev);
+       struct xgmac_priv *xgmac = dev_get_priv(dev);
+       int ret;
+
+       ret = xgmac->config->ops->xgmac_get_enetaddr(dev);
+       if (ret < 0)
+               return ret;
+
+       return !is_valid_ethaddr(pdata->enetaddr);
+}
+
+static int xgmac_get_phy_addr(struct xgmac_priv *priv, struct udevice *dev)
+{
+       struct ofnode_phandle_args phandle_args;
+       int reg;
+
+       if (dev_read_phandle_with_args(dev, "phy-handle", NULL, 0, 0,
+                                      &phandle_args)) {
+               debug("Failed to find phy-handle");
+               return -ENODEV;
+       }
+
+       priv->phy_of_node = phandle_args.node;
+
+       reg = ofnode_read_u32_default(phandle_args.node, "reg", 0);
+
+       return reg;
+}
+
+static int xgmac_start(struct udevice *dev)
+{
+       struct xgmac_priv *xgmac = dev_get_priv(dev);
+       int ret, i;
+       u32 val, tx_fifo_sz, rx_fifo_sz, tqs, rqs, pbl;
+       ulong last_rx_desc;
+       ulong desc_pad;
+
+       struct xgmac_desc *tx_desc = NULL;
+       struct xgmac_desc *rx_desc = NULL;
+       int addr = -1;
+
+       debug("%s(dev=%p):\n", __func__, dev);
+
+       xgmac->tx_desc_idx = 0;
+       xgmac->rx_desc_idx = 0;
+
+       ret = xgmac->config->ops->xgmac_start_resets(dev);
+       if (ret < 0) {
+               pr_err("xgmac_start_resets() failed: %d\n", ret);
+               goto err;
+       }
+
+       xgmac->reg_access_ok = true;
+
+       ret = wait_for_bit_le32(&xgmac->dma_regs->mode,
+                               XGMAC_DMA_MODE_SWR, false,
+                               xgmac->config->swr_wait, false);
+       if (ret) {
+               pr_err("XGMAC_DMA_MODE_SWR stuck: %d\n", ret);
+               goto err_stop_resets;
+       }
+
+       ret = xgmac->config->ops->xgmac_calibrate_pads(dev);
+       if (ret < 0) {
+               pr_err("xgmac_calibrate_pads() failed: %d\n", ret);
+               goto err_stop_resets;
+       }
+
+       /*
+        * if PHY was already connected and configured,
+        * don't need to reconnect/reconfigure again
+        */
+       if (!xgmac->phy) {
+               addr = xgmac_get_phy_addr(xgmac, dev);
+               xgmac->phy = phy_connect(xgmac->mii, addr, dev,
+                                        xgmac->config->interface(dev));
+               if (!xgmac->phy) {
+                       pr_err("phy_connect() failed\n");
+                       goto err_stop_resets;
+               }
+
+               if (xgmac->max_speed) {
+                       ret = phy_set_supported(xgmac->phy, xgmac->max_speed);
+                       if (ret) {
+                               pr_err("phy_set_supported() failed: %d\n", ret);
+                               goto err_shutdown_phy;
+                       }
+               }
+
+               xgmac->phy->node = xgmac->phy_of_node;
+               ret = phy_config(xgmac->phy);
+               if (ret < 0) {
+                       pr_err("phy_config() failed: %d\n", ret);
+                       goto err_shutdown_phy;
+               }
+       }
+
+       ret = phy_startup(xgmac->phy);
+       if (ret < 0) {
+               pr_err("phy_startup() failed: %d\n", ret);
+               goto err_shutdown_phy;
+       }
+
+       if (!xgmac->phy->link) {
+               pr_err("No link\n");
+               goto err_shutdown_phy;
+       }
+
+       ret = xgmac_adjust_link(dev);
+       if (ret < 0) {
+               pr_err("xgmac_adjust_link() failed: %d\n", ret);
+               goto err_shutdown_phy;
+       }
+
+       /* Configure MTL */
+
+       /* Enable Store and Forward mode for TX */
+       /* Program Tx operating mode */
+       setbits_le32(&xgmac->mtl_regs->txq0_operation_mode,
+                    XGMAC_MTL_TXQ0_OPERATION_MODE_TSF |
+                    (XGMAC_MTL_TXQ0_OPERATION_MODE_TXQEN_ENABLED <<
+                     XGMAC_MTL_TXQ0_OPERATION_MODE_TXQEN_SHIFT));
+
+       /* Transmit Queue weight */
+       writel(0x10, &xgmac->mtl_regs->txq0_quantum_weight);
+
+       /* Enable Store and Forward mode for RX, since no jumbo frame */
+       setbits_le32(&xgmac->mtl_regs->rxq0_operation_mode,
+                    XGMAC_MTL_RXQ0_OPERATION_MODE_RSF);
+
+       /* Transmit/Receive queue fifo size; use all RAM for 1 queue */
+       val = readl(&xgmac->mac_regs->hw_feature1);
+       tx_fifo_sz = (val >> XGMAC_MAC_HW_FEATURE1_TXFIFOSIZE_SHIFT) &
+               XGMAC_MAC_HW_FEATURE1_TXFIFOSIZE_MASK;
+       rx_fifo_sz = (val >> XGMAC_MAC_HW_FEATURE1_RXFIFOSIZE_SHIFT) &
+               XGMAC_MAC_HW_FEATURE1_RXFIFOSIZE_MASK;
+
+       /*
+        * r/tx_fifo_sz is encoded as log2(n / 128). Undo that by shifting.
+        * r/tqs is encoded as (n / 256) - 1.
+        */
+       tqs = (128 << tx_fifo_sz) / 256 - 1;
+       rqs = (128 << rx_fifo_sz) / 256 - 1;
+
+       clrsetbits_le32(&xgmac->mtl_regs->txq0_operation_mode,
+                       XGMAC_MTL_TXQ0_OPERATION_MODE_TQS_MASK <<
+                       XGMAC_MTL_TXQ0_OPERATION_MODE_TQS_SHIFT,
+                       tqs << XGMAC_MTL_TXQ0_OPERATION_MODE_TQS_SHIFT);
+       clrsetbits_le32(&xgmac->mtl_regs->rxq0_operation_mode,
+                       XGMAC_MTL_RXQ0_OPERATION_MODE_RQS_MASK <<
+                       XGMAC_MTL_RXQ0_OPERATION_MODE_RQS_SHIFT,
+                       rqs << XGMAC_MTL_RXQ0_OPERATION_MODE_RQS_SHIFT);
+
+       setbits_le32(&xgmac->mtl_regs->rxq0_operation_mode,
+                    XGMAC_MTL_RXQ0_OPERATION_MODE_EHFC);
+
+       /* Configure MAC */
+       clrsetbits_le32(&xgmac->mac_regs->rxq_ctrl0,
+                       XGMAC_MAC_RXQ_CTRL0_RXQ0EN_MASK <<
+                       XGMAC_MAC_RXQ_CTRL0_RXQ0EN_SHIFT,
+                       xgmac->config->config_mac <<
+                       XGMAC_MAC_RXQ_CTRL0_RXQ0EN_SHIFT);
+
+       /* Multicast and Broadcast Queue Enable */
+       setbits_le32(&xgmac->mac_regs->rxq_ctrl1,
+                    XGMAC_MAC_RXQ_CTRL1_MCBCQEN);
+
+       /* enable promise mode and receive all mode */
+       setbits_le32(&xgmac->mac_regs->mac_packet_filter,
+                    XGMAC_MAC_PACKET_FILTER_RA |
+                        XGMAC_MAC_PACKET_FILTER_PR);
+
+       /* Set TX flow control parameters */
+       /* Set Pause Time */
+       setbits_le32(&xgmac->mac_regs->q0_tx_flow_ctrl,
+                    XGMAC_MAC_Q0_TX_FLOW_CTRL_PT_MASK <<
+                    XGMAC_MAC_Q0_TX_FLOW_CTRL_PT_SHIFT);
+
+       /* Assign priority for RX flow control */
+       clrbits_le32(&xgmac->mac_regs->rxq_ctrl2,
+                    XGMAC_MAC_RXQ_CTRL2_PSRQ0_MASK <<
+                    XGMAC_MAC_RXQ_CTRL2_PSRQ0_SHIFT);
+
+       /* Enable flow control */
+       setbits_le32(&xgmac->mac_regs->q0_tx_flow_ctrl,
+                    XGMAC_MAC_Q0_TX_FLOW_CTRL_TFE);
+       setbits_le32(&xgmac->mac_regs->rx_flow_ctrl,
+                    XGMAC_MAC_RX_FLOW_CTRL_RFE);
+
+       clrbits_le32(&xgmac->mac_regs->tx_configuration,
+                    XGMAC_MAC_CONF_JD);
+
+       clrbits_le32(&xgmac->mac_regs->rx_configuration,
+                    XGMAC_MAC_CONF_JE |
+                    XGMAC_MAC_CONF_GPSLCE |
+                    XGMAC_MAC_CONF_WD);
+
+       setbits_le32(&xgmac->mac_regs->rx_configuration,
+                    XGMAC_MAC_CONF_ACS |
+                    XGMAC_MAC_CONF_CST);
+
+       ret = xgmac_write_hwaddr(dev);
+       if (ret < 0) {
+               pr_err("xgmac_write_hwaddr() failed: %d\n", ret);
+               goto err;
+       }
+
+       /* Configure DMA */
+       clrsetbits_le32(&xgmac->dma_regs->sysbus_mode,
+                       XGMAC_DMA_SYSBUS_MODE_AAL,
+                       XGMAC_DMA_SYSBUS_MODE_EAME |
+                       XGMAC_DMA_SYSBUS_MODE_UNDEF);
+
+       /* Enable OSP mode */
+       setbits_le32(&xgmac->dma_regs->ch0_tx_control,
+                    XGMAC_DMA_CH0_TX_CONTROL_OSP);
+
+       /* RX buffer size. Must be a multiple of bus width */
+       clrsetbits_le32(&xgmac->dma_regs->ch0_rx_control,
+                       XGMAC_DMA_CH0_RX_CONTROL_RBSZ_MASK <<
+                       XGMAC_DMA_CH0_RX_CONTROL_RBSZ_SHIFT,
+                       XGMAC_MAX_PACKET_SIZE <<
+                       XGMAC_DMA_CH0_RX_CONTROL_RBSZ_SHIFT);
+
+       desc_pad = (xgmac->desc_size - sizeof(struct xgmac_desc)) /
+                   xgmac->config->axi_bus_width;
+
+       setbits_le32(&xgmac->dma_regs->ch0_control,
+                    XGMAC_DMA_CH0_CONTROL_PBLX8 |
+                    (desc_pad << XGMAC_DMA_CH0_CONTROL_DSL_SHIFT));
+
+       /*
+        * Burst length must be < 1/2 FIFO size.
+        * FIFO size in tqs is encoded as (n / 256) - 1.
+        * Each burst is n * 8 (PBLX8) * 16 (AXI width) == 128 bytes.
+        * Half of n * 256 is n * 128, so pbl == tqs, modulo the -1.
+        */
+       pbl = tqs + 1;
+       if (pbl > 32)
+               pbl = 32;
+
+       clrsetbits_le32(&xgmac->dma_regs->ch0_tx_control,
+                       XGMAC_DMA_CH0_TX_CONTROL_TXPBL_MASK <<
+                       XGMAC_DMA_CH0_TX_CONTROL_TXPBL_SHIFT,
+                       pbl << XGMAC_DMA_CH0_TX_CONTROL_TXPBL_SHIFT);
+
+       clrsetbits_le32(&xgmac->dma_regs->ch0_rx_control,
+                       XGMAC_DMA_CH0_RX_CONTROL_RXPBL_MASK <<
+                       XGMAC_DMA_CH0_RX_CONTROL_RXPBL_SHIFT,
+                       8 << XGMAC_DMA_CH0_RX_CONTROL_RXPBL_SHIFT);
+
+       /* DMA performance configuration */
+       val = (XGMAC_DMA_SYSBUS_MODE_RD_OSR_LMT_MASK <<
+              XGMAC_DMA_SYSBUS_MODE_RD_OSR_LMT_SHIFT) |
+              (XGMAC_DMA_SYSBUS_MODE_WR_OSR_LMT_MASK <<
+              XGMAC_DMA_SYSBUS_MODE_WR_OSR_LMT_SHIFT) |
+              XGMAC_DMA_SYSBUS_MODE_EAME |
+              XGMAC_DMA_SYSBUS_MODE_BLEN16 |
+              XGMAC_DMA_SYSBUS_MODE_BLEN8 |
+              XGMAC_DMA_SYSBUS_MODE_BLEN4 |
+              XGMAC_DMA_SYSBUS_MODE_BLEN32;
+
+       writel(val, &xgmac->dma_regs->sysbus_mode);
+
+       /* Set up descriptors */
+
+       memset(xgmac->tx_descs, 0, xgmac->desc_size * XGMAC_DESCRIPTORS_TX);
+       memset(xgmac->rx_descs, 0, xgmac->desc_size * XGMAC_DESCRIPTORS_RX);
+
+       for (i = 0; i < XGMAC_DESCRIPTORS_TX; i++) {
+               tx_desc = (struct xgmac_desc *)xgmac_get_desc(xgmac, i, false);
+
+               xgmac->config->ops->xgmac_flush_desc(tx_desc);
+       }
+
+       for (i = 0; i < XGMAC_DESCRIPTORS_RX; i++) {
+               rx_desc = (struct xgmac_desc *)xgmac_get_desc(xgmac, i, true);
+
+               rx_desc->des0 = (uintptr_t)(xgmac->rx_dma_buf +
+                                           (i * XGMAC_MAX_PACKET_SIZE));
+               rx_desc->des3 = XGMAC_DESC3_OWN;
+               /* Flush the cache to the memory */
+               mb();
+               xgmac->config->ops->xgmac_flush_desc(rx_desc);
+               xgmac->config->ops->xgmac_inval_buffer(xgmac->rx_dma_buf +
+                                                      (i * XGMAC_MAX_PACKET_SIZE),
+                                                      XGMAC_MAX_PACKET_SIZE);
+       }
+
+       writel(0, &xgmac->dma_regs->ch0_txdesc_list_haddress);
+       writel((ulong)xgmac_get_desc(xgmac, 0, false),
+              &xgmac->dma_regs->ch0_txdesc_list_address);
+       writel(XGMAC_DESCRIPTORS_TX - 1,
+              &xgmac->dma_regs->ch0_txdesc_ring_length);
+       writel(0, &xgmac->dma_regs->ch0_rxdesc_list_haddress);
+       writel((ulong)xgmac_get_desc(xgmac, 0, true),
+              &xgmac->dma_regs->ch0_rxdesc_list_address);
+       writel(XGMAC_DESCRIPTORS_RX - 1,
+              &xgmac->dma_regs->ch0_rxdesc_ring_length);
+
+       /* Enable everything */
+       setbits_le32(&xgmac->dma_regs->ch0_tx_control,
+                    XGMAC_DMA_CH0_TX_CONTROL_ST);
+       setbits_le32(&xgmac->dma_regs->ch0_rx_control,
+                    XGMAC_DMA_CH0_RX_CONTROL_SR);
+       setbits_le32(&xgmac->mac_regs->tx_configuration,
+                    XGMAC_MAC_CONF_TE);
+       setbits_le32(&xgmac->mac_regs->rx_configuration,
+                    XGMAC_MAC_CONF_RE);
+
+       /* TX tail pointer not written until we need to TX a packet */
+       /*
+        * Point RX tail pointer at last descriptor. Ideally, we'd point at the
+        * first descriptor, implying all descriptors were available. However,
+        * that's not distinguishable from none of the descriptors being
+        * available.
+        */
+       last_rx_desc = (ulong)xgmac_get_desc(xgmac, XGMAC_DESCRIPTORS_RX - 1, true);
+       writel(last_rx_desc, &xgmac->dma_regs->ch0_rxdesc_tail_pointer);
+
+       xgmac->started = true;
+
+       debug("%s: OK\n", __func__);
+       return 0;
+
+err_shutdown_phy:
+       phy_shutdown(xgmac->phy);
+err_stop_resets:
+       xgmac->config->ops->xgmac_stop_resets(dev);
+err:
+       pr_err("FAILED: %d\n", ret);
+       return ret;
+}
+
+static void xgmac_stop(struct udevice *dev)
+{
+       struct xgmac_priv *xgmac = dev_get_priv(dev);
+       unsigned long start_time;
+       u32 val;
+       u32 trcsts;
+       u32 txqsts;
+       u32 prxq;
+       u32 rxqsts;
+
+       debug("%s(dev=%p):\n", __func__, dev);
+
+       if (!xgmac->started)
+               return;
+       xgmac->started = false;
+       xgmac->reg_access_ok = false;
+
+       /* Disable TX DMA */
+       clrbits_le32(&xgmac->dma_regs->ch0_tx_control,
+                    XGMAC_DMA_CH0_TX_CONTROL_ST);
+
+       /* Wait for TX all packets to drain out of MTL */
+       start_time = get_timer(0);
+
+       while (get_timer(start_time) < XGMAC_TIMEOUT_100MS) {
+               val = readl(&xgmac->mtl_regs->txq0_debug);
+
+               trcsts = (val >> XGMAC_MTL_TXQ0_DEBUG_TRCSTS_SHIFT) &
+                         XGMAC_MTL_TXQ0_DEBUG_TRCSTS_MASK;
+
+               txqsts = val & XGMAC_MTL_TXQ0_DEBUG_TXQSTS;
+
+               if (trcsts != XGMAC_MTL_TXQ0_DEBUG_TRCSTS_READ_STATE && !txqsts)
+                       break;
+       }
+
+       /* Turn off MAC TX and RX */
+       clrbits_le32(&xgmac->mac_regs->tx_configuration,
+                    XGMAC_MAC_CONF_RE);
+       clrbits_le32(&xgmac->mac_regs->rx_configuration,
+                    XGMAC_MAC_CONF_RE);
+
+       /* Wait for all RX packets to drain out of MTL */
+       start_time = get_timer(0);
+
+       while (get_timer(start_time) < XGMAC_TIMEOUT_100MS) {
+               val = readl(&xgmac->mtl_regs->rxq0_debug);
+
+               prxq = (val >> XGMAC_MTL_RXQ0_DEBUG_PRXQ_SHIFT) &
+                       XGMAC_MTL_RXQ0_DEBUG_PRXQ_MASK;
+
+               rxqsts = (val >> XGMAC_MTL_RXQ0_DEBUG_RXQSTS_SHIFT) &
+                         XGMAC_MTL_RXQ0_DEBUG_RXQSTS_MASK;
+
+               if (!prxq && !rxqsts)
+                       break;
+       }
+
+       /* Turn off RX DMA */
+       clrbits_le32(&xgmac->dma_regs->ch0_rx_control,
+                    XGMAC_DMA_CH0_RX_CONTROL_SR);
+
+       if (xgmac->phy)
+               phy_shutdown(xgmac->phy);
+
+       xgmac->config->ops->xgmac_stop_resets(dev);
+
+       debug("%s: OK\n", __func__);
+}
+
+static int xgmac_send(struct udevice *dev, void *packet, int length)
+{
+       struct xgmac_priv *xgmac = dev_get_priv(dev);
+       struct xgmac_desc *tx_desc;
+       unsigned long start_time;
+
+       debug("%s(dev=%p, packet=%p, length=%d):\n", __func__, dev, packet,
+             length);
+
+       memcpy(xgmac->tx_dma_buf, packet, length);
+       xgmac->config->ops->xgmac_flush_buffer(xgmac->tx_dma_buf, length);
+
+       tx_desc = xgmac_get_desc(xgmac, xgmac->tx_desc_idx, false);
+       xgmac->tx_desc_idx++;
+       xgmac->tx_desc_idx %= XGMAC_DESCRIPTORS_TX;
+
+       tx_desc->des0 = (ulong)xgmac->tx_dma_buf;
+       tx_desc->des1 = 0;
+       tx_desc->des2 = length;
+       /*
+        * Make sure that if HW sees the _OWN write below, it will see all the
+        * writes to the rest of the descriptor too.
+        */
+       mb();
+       tx_desc->des3 = XGMAC_DESC3_OWN | XGMAC_DESC3_FD | XGMAC_DESC3_LD | length;
+       xgmac->config->ops->xgmac_flush_desc(tx_desc);
+
+       writel((ulong)xgmac_get_desc(xgmac, xgmac->tx_desc_idx, false),
+              &xgmac->dma_regs->ch0_txdesc_tail_pointer);
+
+       start_time = get_timer(0);
+
+       while (get_timer(start_time) < XGMAC_TIMEOUT_100MS) {
+               xgmac->config->ops->xgmac_inval_desc(tx_desc);
+               if (!(readl(&tx_desc->des3) & XGMAC_DESC3_OWN))
+                       return 0;
+       }
+       debug("%s: TX timeout\n", __func__);
+
+       return -ETIMEDOUT;
+}
+
+static int xgmac_recv(struct udevice *dev, int flags, uchar **packetp)
+{
+       struct xgmac_priv *xgmac = dev_get_priv(dev);
+       struct xgmac_desc *rx_desc;
+       int length;
+
+       debug("%s(dev=%p, flags=0x%x):\n", __func__, dev, flags);
+
+       rx_desc = xgmac_get_desc(xgmac, xgmac->rx_desc_idx, true);
+       xgmac->config->ops->xgmac_inval_desc(rx_desc);
+       if (rx_desc->des3 & XGMAC_DESC3_OWN) {
+               debug("%s: RX packet not available\n", __func__);
+               return -EAGAIN;
+       }
+
+       *packetp = xgmac->rx_dma_buf +
+                  (xgmac->rx_desc_idx * XGMAC_MAX_PACKET_SIZE);
+       length = rx_desc->des3 & XGMAC_RDES3_PKT_LENGTH_MASK;
+       debug("%s: *packetp=%p, length=%d\n", __func__, *packetp, length);
+
+       xgmac->config->ops->xgmac_inval_buffer(*packetp, length);
+
+       return length;
+}
+
+static int xgmac_free_pkt(struct udevice *dev, uchar *packet, int length)
+{
+       struct xgmac_priv *xgmac = dev_get_priv(dev);
+       u32 idx, idx_mask = xgmac->desc_per_cacheline - 1;
+       uchar *packet_expected;
+       struct xgmac_desc *rx_desc;
+
+       debug("%s(packet=%p, length=%d)\n", __func__, packet, length);
+
+       packet_expected = xgmac->rx_dma_buf +
+                         (xgmac->rx_desc_idx * XGMAC_MAX_PACKET_SIZE);
+       if (packet != packet_expected) {
+               debug("%s: Unexpected packet (expected %p)\n", __func__,
+                     packet_expected);
+               return -EINVAL;
+       }
+
+       xgmac->config->ops->xgmac_inval_buffer(packet, length);
+
+       if ((xgmac->rx_desc_idx & idx_mask) == idx_mask) {
+               for (idx = xgmac->rx_desc_idx - idx_mask;
+                    idx <= xgmac->rx_desc_idx;
+                    idx++) {
+                       rx_desc = xgmac_get_desc(xgmac, idx, true);
+                       rx_desc->des0 = 0;
+                       /* Flush the cache to the memory */
+                       mb();
+                       xgmac->config->ops->xgmac_flush_desc(rx_desc);
+                       xgmac->config->ops->xgmac_inval_buffer(packet, length);
+                       rx_desc->des0 = (u32)(ulong)(xgmac->rx_dma_buf +
+                                            (idx * XGMAC_MAX_PACKET_SIZE));
+                       rx_desc->des1 = 0;
+                       rx_desc->des2 = 0;
+                       /*
+                        * Make sure that if HW sees the _OWN write below,
+                        * it will see all the writes to the rest of the
+                        * descriptor too.
+                        */
+                       mb();
+                       rx_desc->des3 = XGMAC_DESC3_OWN;
+                       xgmac->config->ops->xgmac_flush_desc(rx_desc);
+               }
+               writel((ulong)rx_desc, &xgmac->dma_regs->ch0_rxdesc_tail_pointer);
+       }
+
+       xgmac->rx_desc_idx++;
+       xgmac->rx_desc_idx %= XGMAC_DESCRIPTORS_RX;
+
+       return 0;
+}
+
+static int xgmac_probe_resources_core(struct udevice *dev)
+{
+       struct xgmac_priv *xgmac = dev_get_priv(dev);
+       unsigned int desc_step;
+       int ret;
+
+       debug("%s(dev=%p):\n", __func__, dev);
+
+       /* Maximum distance between neighboring descriptors, in Bytes. */
+       desc_step = sizeof(struct xgmac_desc);
+
+       if (desc_step < ARCH_DMA_MINALIGN) {
+               /*
+                * The hardware implementation cannot place one descriptor
+                * per cacheline, it is necessary to place multiple descriptors
+                * per cacheline in memory and do cache management carefully.
+                */
+               xgmac->desc_size = BIT(fls(desc_step) - 1);
+       } else {
+               xgmac->desc_size = ALIGN(sizeof(struct xgmac_desc),
+                                        (unsigned int)ARCH_DMA_MINALIGN);
+       }
+       xgmac->desc_per_cacheline = ARCH_DMA_MINALIGN / xgmac->desc_size;
+
+       xgmac->tx_descs = xgmac_alloc_descs(xgmac, XGMAC_DESCRIPTORS_TX);
+       if (!xgmac->tx_descs) {
+               debug("%s: xgmac_alloc_descs(tx) failed\n", __func__);
+               ret = -ENOMEM;
+               goto err;
+       }
+
+       xgmac->rx_descs = xgmac_alloc_descs(xgmac, XGMAC_DESCRIPTORS_RX);
+       if (!xgmac->rx_descs) {
+               debug("%s: xgmac_alloc_descs(rx) failed\n", __func__);
+               ret = -ENOMEM;
+               goto err_free_tx_descs;
+       }
+
+       xgmac->tx_dma_buf = memalign(XGMAC_BUFFER_ALIGN, XGMAC_MAX_PACKET_SIZE);
+       if (!xgmac->tx_dma_buf) {
+               debug("%s: memalign(tx_dma_buf) failed\n", __func__);
+               ret = -ENOMEM;
+               goto err_free_descs;
+       }
+       debug("%s: tx_dma_buf=%p\n", __func__, xgmac->tx_dma_buf);
+
+       xgmac->rx_dma_buf = memalign(XGMAC_BUFFER_ALIGN, XGMAC_RX_BUFFER_SIZE);
+       if (!xgmac->rx_dma_buf) {
+               debug("%s: memalign(rx_dma_buf) failed\n", __func__);
+               ret = -ENOMEM;
+               goto err_free_tx_dma_buf;
+       }
+       debug("%s: rx_dma_buf=%p\n", __func__, xgmac->rx_dma_buf);
+
+       xgmac->rx_pkt = malloc(XGMAC_MAX_PACKET_SIZE);
+       if (!xgmac->rx_pkt) {
+               debug("%s: malloc(rx_pkt) failed\n", __func__);
+               ret = -ENOMEM;
+               goto err_free_rx_dma_buf;
+       }
+       debug("%s: rx_pkt=%p\n", __func__, xgmac->rx_pkt);
+
+       xgmac->config->ops->xgmac_inval_buffer(xgmac->rx_dma_buf,
+                       XGMAC_MAX_PACKET_SIZE * XGMAC_DESCRIPTORS_RX);
+
+       debug("%s: OK\n", __func__);
+       return 0;
+
+err_free_rx_dma_buf:
+       free(xgmac->rx_dma_buf);
+err_free_tx_dma_buf:
+       free(xgmac->tx_dma_buf);
+err_free_descs:
+       xgmac_free_descs(xgmac->rx_descs);
+err_free_tx_descs:
+       xgmac_free_descs(xgmac->tx_descs);
+err:
+
+       debug("%s: returns %d\n", __func__, ret);
+       return ret;
+}
+
+static int xgmac_remove_resources_core(struct udevice *dev)
+{
+       struct xgmac_priv *xgmac = dev_get_priv(dev);
+
+       debug("%s(dev=%p):\n", __func__, dev);
+
+       free(xgmac->rx_pkt);
+       free(xgmac->rx_dma_buf);
+       free(xgmac->tx_dma_buf);
+       xgmac_free_descs(xgmac->rx_descs);
+       xgmac_free_descs(xgmac->tx_descs);
+
+       debug("%s: OK\n", __func__);
+       return 0;
+}
+
+/* board-specific Ethernet Interface initializations. */
+__weak int board_interface_eth_init(struct udevice *dev,
+                                   phy_interface_t interface_type)
+{
+       return 0;
+}
+
+static int xgmac_probe(struct udevice *dev)
+{
+       struct xgmac_priv *xgmac = dev_get_priv(dev);
+       int ret;
+
+       debug("%s(dev=%p):\n", __func__, dev);
+
+       xgmac->dev = dev;
+       xgmac->config = (void *)dev_get_driver_data(dev);
+
+       xgmac->regs = dev_read_addr(dev);
+       if (xgmac->regs == FDT_ADDR_T_NONE) {
+               pr_err("dev_read_addr() failed\n");
+               return -ENODEV;
+       }
+       xgmac->mac_regs = (void *)(xgmac->regs + XGMAC_MAC_REGS_BASE);
+       xgmac->mtl_regs = (void *)(xgmac->regs + XGMAC_MTL_REGS_BASE);
+       xgmac->dma_regs = (void *)(xgmac->regs + XGMAC_DMA_REGS_BASE);
+
+       xgmac->max_speed = dev_read_u32_default(dev, "max-speed", 0);
+
+       ret = xgmac_probe_resources_core(dev);
+       if (ret < 0) {
+               pr_err("xgmac_probe_resources_core() failed: %d\n", ret);
+               return ret;
+       }
+
+       ret = xgmac->config->ops->xgmac_probe_resources(dev);
+       if (ret < 0) {
+               pr_err("xgmac_probe_resources() failed: %d\n", ret);
+               goto err_remove_resources_core;
+       }
+
+       ret = xgmac->config->ops->xgmac_start_clks(dev);
+       if (ret < 0) {
+               pr_err("xgmac_start_clks() failed: %d\n", ret);
+               return ret;
+       }
+
+       if (IS_ENABLED(CONFIG_DM_ETH_PHY))
+               xgmac->mii = eth_phy_get_mdio_bus(dev);
+
+       if (!xgmac->mii) {
+               xgmac->mii = mdio_alloc();
+               if (!xgmac->mii) {
+                       pr_err("mdio_alloc() failed\n");
+                       ret = -ENOMEM;
+                       goto err_stop_clks;
+               }
+               xgmac->mii->read = xgmac_mdio_read;
+               xgmac->mii->write = xgmac_mdio_write;
+               xgmac->mii->priv = xgmac;
+               strcpy(xgmac->mii->name, dev->name);
+
+               ret = mdio_register(xgmac->mii);
+               if (ret < 0) {
+                       pr_err("mdio_register() failed: %d\n", ret);
+                       goto err_free_mdio;
+               }
+       }
+
+       if (IS_ENABLED(CONFIG_DM_ETH_PHY))
+               eth_phy_set_mdio_bus(dev, xgmac->mii);
+
+       debug("%s: OK\n", __func__);
+       return 0;
+
+err_free_mdio:
+       mdio_free(xgmac->mii);
+err_stop_clks:
+       xgmac->config->ops->xgmac_stop_clks(dev);
+err_remove_resources_core:
+       xgmac_remove_resources_core(dev);
+
+       debug("%s: returns %d\n", __func__, ret);
+       return ret;
+}
+
+static int xgmac_remove(struct udevice *dev)
+{
+       struct xgmac_priv *xgmac = dev_get_priv(dev);
+
+       debug("%s(dev=%p):\n", __func__, dev);
+
+       mdio_unregister(xgmac->mii);
+       mdio_free(xgmac->mii);
+       xgmac->config->ops->xgmac_stop_clks(dev);
+       xgmac->config->ops->xgmac_remove_resources(dev);
+
+       xgmac_remove_resources_core(dev);
+
+       debug("%s: OK\n", __func__);
+       return 0;
+}
+
+int xgmac_null_ops(struct udevice *dev)
+{
+       return 0;
+}
+
+static const struct eth_ops xgmac_ops = {
+       .start = xgmac_start,
+       .stop = xgmac_stop,
+       .send = xgmac_send,
+       .recv = xgmac_recv,
+       .free_pkt = xgmac_free_pkt,
+       .write_hwaddr = xgmac_write_hwaddr,
+       .read_rom_hwaddr = xgmac_read_rom_hwaddr,
+};
+
+static const struct udevice_id xgmac_ids[] = {
+       {
+               .compatible = "intel,socfpga-dwxgmac",
+               .data = (ulong)&xgmac_socfpga_config
+       },
+       { }
+};
+
+U_BOOT_DRIVER(eth_xgmac) = {
+       .name = "eth_xgmac",
+       .id = UCLASS_ETH,
+       .of_match = of_match_ptr(xgmac_ids),
+       .probe = xgmac_probe,
+       .remove = xgmac_remove,
+       .ops = &xgmac_ops,
+       .priv_auto = sizeof(struct xgmac_priv),
+       .plat_auto = sizeof(struct eth_pdata),
+};
diff --git a/drivers/net/dwc_eth_xgmac.h b/drivers/net/dwc_eth_xgmac.h
new file mode 100644 (file)
index 0000000..259f815
--- /dev/null
@@ -0,0 +1,298 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
+/*
+ * Copyright 2023 Intel Coporation.
+ */
+
+#include <phy_interface.h>
+#include <linux/bitops.h>
+
+/* Core registers */
+
+#define XGMAC_MAC_REGS_BASE 0x000
+
+struct xgmac_mac_regs {
+       u32 tx_configuration;                   /* 0x000 */
+       u32 rx_configuration;                   /* 0x004 */
+       u32 mac_packet_filter;                  /* 0x008 */
+       u32 unused_00c[(0x070 - 0x00c) / 4];    /* 0x00c */
+       u32 q0_tx_flow_ctrl;                    /* 0x070 */
+       u32 unused_070[(0x090 - 0x074) / 4];    /* 0x074 */
+       u32 rx_flow_ctrl;                       /* 0x090 */
+       u32 unused_094[(0x0a0 - 0x094) / 4];    /* 0x094 */
+       u32 rxq_ctrl0;                          /* 0x0a0 */
+       u32 rxq_ctrl1;                          /* 0x0a4 */
+       u32 rxq_ctrl2;                          /* 0x0a8 */
+       u32 unused_0ac[(0x0dc - 0x0ac) / 4];    /* 0x0ac */
+       u32 us_tic_counter;                     /* 0x0dc */
+       u32 unused_0e0[(0x11c - 0x0e0) / 4];    /* 0x0e0 */
+       u32 hw_feature0;                        /* 0x11c */
+       u32 hw_feature1;                        /* 0x120 */
+       u32 hw_feature2;                        /* 0x124 */
+       u32 hw_feature3;                        /* 0x128 */
+       u32 hw_feature4;                        /* 0x12c */
+       u32 unused_130[(0x140 - 0x130) / 4];    /* 0x130 */
+       u32 mac_extended_conf;                  /* 0x140 */
+       u32 unused_144[(0x200 - 0x144) / 4];    /* 0x144 */
+       u32 mdio_address;                       /* 0x200 */
+       u32 mdio_data;                          /* 0x204 */
+       u32 mdio_cont_write_addr;               /* 0x208 */
+       u32 mdio_cont_write_data;               /* 0x20c */
+       u32 mdio_cont_scan_port_enable;         /* 0x210 */
+       u32 mdio_intr_status;                   /* 0x214 */
+       u32 mdio_intr_enable;                   /* 0x218 */
+       u32 mdio_port_cnct_dsnct_status;        /* 0x21c */
+       u32 mdio_clause_22_port;                /* 0x220 */
+       u32 unused_224[(0x300 - 0x224)  / 4];   /* 0x224 */
+       u32 address0_high;                      /* 0x300 */
+       u32 address0_low;                       /* 0x304 */
+};
+
+#define XGMAC_TIMEOUT_100MS                    100000
+#define XGMAC_MAC_CONF_SS_SHIFT                        29
+#define XGMAC_MAC_CONF_SS_10G_XGMII            0
+#define XGMAC_MAC_CONF_SS_2_5G_GMII            2
+#define XGMAC_MAC_CONF_SS_1G_GMII              3
+#define XGMAC_MAC_CONF_SS_100M_MII             4
+#define XGMAC_MAC_CONF_SS_5G_XGMII             5
+#define XGMAC_MAC_CONF_SS_2_5G_XGMII           6
+#define XGMAC_MAC_CONF_SS_2_10M_MII            7
+
+#define XGMAC_MAC_CONF_JD                      BIT(16)
+#define XGMAC_MAC_CONF_JE                      BIT(8)
+#define XGMAC_MAC_CONF_WD                      BIT(7)
+#define XGMAC_MAC_CONF_GPSLCE                  BIT(6)
+#define XGMAC_MAC_CONF_CST                     BIT(2)
+#define XGMAC_MAC_CONF_ACS                     BIT(1)
+#define XGMAC_MAC_CONF_TE                      BIT(0)
+#define XGMAC_MAC_CONF_RE                      BIT(0)
+
+#define XGMAC_MAC_EXT_CONF_HD                  BIT(24)
+
+#define XGMAC_MAC_PACKET_FILTER_RA             BIT(31)
+#define XGMAC_MAC_PACKET_FILTER_PR             BIT(0)
+
+#define XGMAC_MAC_Q0_TX_FLOW_CTRL_PT_SHIFT     16
+#define XGMAC_MAC_Q0_TX_FLOW_CTRL_PT_MASK      GENMASK(15, 0)
+#define XGMAC_MAC_Q0_TX_FLOW_CTRL_TFE          BIT(1)
+
+#define XGMAC_MAC_RX_FLOW_CTRL_RFE             BIT(0)
+#define XGMAC_MAC_RXQ_CTRL0_RXQ0EN_SHIFT       0
+#define XGMAC_MAC_RXQ_CTRL0_RXQ0EN_MASK                GENMASK(1, 0)
+#define XGMAC_MAC_RXQ_CTRL0_RXQ0EN_NOT_ENABLED 0
+#define XGMAC_MAC_RXQ_CTRL0_RXQ0EN_ENABLED_DCB 2
+#define XGMAC_MAC_RXQ_CTRL0_RXQ0EN_ENABLED_AV  1
+
+#define XGMAC_MAC_RXQ_CTRL1_MCBCQEN            BIT(15)
+
+#define XGMAC_MAC_RXQ_CTRL2_PSRQ0_SHIFT                0
+#define XGMAC_MAC_RXQ_CTRL2_PSRQ0_MASK         GENMASK(7, 0)
+
+#define XGMAC_MAC_HW_FEATURE1_TXFIFOSIZE_SHIFT 6
+#define XGMAC_MAC_HW_FEATURE1_TXFIFOSIZE_MASK  GENMASK(4, 0)
+#define XGMAC_MAC_HW_FEATURE1_RXFIFOSIZE_SHIFT 0
+#define XGMAC_MAC_HW_FEATURE1_RXFIFOSIZE_MASK  GENMASK(4, 0)
+
+#define XGMAC_MDIO_SINGLE_CMD_SHIFT            16
+#define XGMAC_MDIO_SINGLE_CMD_ADDR_CMD_READ    3 << XGMAC_MDIO_SINGLE_CMD_SHIFT
+#define XGMAC_MDIO_SINGLE_CMD_ADDR_CMD_WRITE   BIT(16)
+#define XGMAC_MAC_MDIO_ADDRESS_PA_SHIFT                16
+#define XGMAC_MAC_MDIO_ADDRESS_PA_MASK         GENMASK(15, 0)
+#define XGMAC_MAC_MDIO_ADDRESS_DA_SHIFT                21
+#define XGMAC_MAC_MDIO_ADDRESS_CR_SHIFT                19
+#define XGMAC_MAC_MDIO_ADDRESS_CR_100_150      0
+#define XGMAC_MAC_MDIO_ADDRESS_CR_150_250      1
+#define XGMAC_MAC_MDIO_ADDRESS_CR_250_300      2
+#define XGMAC_MAC_MDIO_ADDRESS_CR_300_350      3
+#define XGMAC_MAC_MDIO_ADDRESS_CR_350_400      4
+#define XGMAC_MAC_MDIO_ADDRESS_CR_400_500      5
+#define XGMAC_MAC_MDIO_ADDRESS_SADDR           BIT(18)
+#define XGMAC_MAC_MDIO_ADDRESS_SBUSY           BIT(22)
+#define XGMAC_MAC_MDIO_REG_ADDR_C22P_MASK      GENMASK(4, 0)
+#define XGMAC_MAC_MDIO_DATA_GD_MASK            GENMASK(15, 0)
+
+/* MTL Registers */
+
+#define XGMAC_MTL_REGS_BASE 0x1000
+
+struct xgmac_mtl_regs {
+       u32 mtl_operation_mode;                 /* 0x1000 */
+       u32 unused_1004[(0x1030 - 0x1004) / 4]; /* 0x1004 */
+       u32 mtl_rxq_dma_map0;                   /* 0x1030 */
+       u32 mtl_rxq_dma_map1;                   /* 0x1034 */
+       u32 mtl_rxq_dma_map2;                   /* 0x1038 */
+       u32 mtl_rxq_dma_map3;                   /* 0x103c */
+       u32 mtl_tc_prty_map0;                   /* 0x1040 */
+       u32 mtl_tc_prty_map1;                   /* 0x1044 */
+       u32 unused_1048[(0x1100 - 0x1048) / 4]; /* 0x1048 */
+       u32 txq0_operation_mode;                /* 0x1100 */
+       u32 unused_1104;                        /* 0x1104 */
+       u32 txq0_debug;                         /* 0x1108 */
+       u32 unused_100c[(0x1118 - 0x110c) / 4]; /* 0x110c */
+       u32 txq0_quantum_weight;                /* 0x1118 */
+       u32 unused_111c[(0x1140 - 0x111c) / 4]; /* 0x111c */
+       u32 rxq0_operation_mode;                /* 0x1140 */
+       u32 unused_1144;                        /* 0x1144 */
+       u32 rxq0_debug;                         /* 0x1148 */
+};
+
+#define XGMAC_MTL_TXQ0_OPERATION_MODE_TQS_SHIFT                16
+#define XGMAC_MTL_TXQ0_OPERATION_MODE_TQS_MASK         GENMASK(8, 0)
+#define XGMAC_MTL_TXQ0_OPERATION_MODE_TXQEN_SHIFT      2
+#define XGMAC_MTL_TXQ0_OPERATION_MODE_TXQEN_ENABLED    2
+#define XGMAC_MTL_TXQ0_OPERATION_MODE_TSF              BIT(1)
+#define XGMAC_MTL_TXQ0_OPERATION_MODE_FTQ              BIT(0)
+
+#define XGMAC_MTL_TXQ0_DEBUG_TXQSTS                    BIT(4)
+#define XGMAC_MTL_TXQ0_DEBUG_TRCSTS_SHIFT              1
+#define XGMAC_MTL_TXQ0_DEBUG_TRCSTS_MASK               GENMASK(2, 0)
+#define XGMAC_MTL_TXQ0_DEBUG_TRCSTS_READ_STATE         0x1
+
+#define XGMAC_MTL_RXQ0_OPERATION_MODE_RQS_SHIFT                16
+#define XGMAC_MTL_RXQ0_OPERATION_MODE_RQS_MASK         GENMASK(9, 0)
+#define XGMAC_MTL_RXQ0_OPERATION_MODE_EHFC             BIT(7)
+#define XGMAC_MTL_RXQ0_OPERATION_MODE_RSF              BIT(5)
+
+#define XGMAC_MTL_RXQ0_DEBUG_PRXQ_SHIFT                        16
+#define XGMAC_MTL_RXQ0_DEBUG_PRXQ_MASK                 GENMASK(14, 0)
+#define XGMAC_MTL_RXQ0_DEBUG_RXQSTS_SHIFT              4
+#define XGMAC_MTL_RXQ0_DEBUG_RXQSTS_MASK               GENMASK(1, 0)
+
+/* DMA Registers */
+
+#define XGMAC_DMA_REGS_BASE 0x3000
+
+struct xgmac_dma_regs {
+       u32 mode;                                       /* 0x3000 */
+       u32 sysbus_mode;                                /* 0x3004 */
+       u32 unused_3008[(0x3100 - 0x3008) / 4];         /* 0x3008 */
+       u32 ch0_control;                                /* 0x3100 */
+       u32 ch0_tx_control;                             /* 0x3104 */
+       u32 ch0_rx_control;                             /* 0x3108 */
+       u32 slot_func_control_status;                   /* 0x310c */
+       u32 ch0_txdesc_list_haddress;                   /* 0x3110 */
+       u32 ch0_txdesc_list_address;                    /* 0x3114 */
+       u32 ch0_rxdesc_list_haddress;                   /* 0x3118 */
+       u32 ch0_rxdesc_list_address;                    /* 0x311c */
+       u32 unused_3120;                                /* 0x3120 */
+       u32 ch0_txdesc_tail_pointer;                    /* 0x3124 */
+       u32 unused_3128;                                /* 0x3128 */
+       u32 ch0_rxdesc_tail_pointer;                    /* 0x312c */
+       u32 ch0_txdesc_ring_length;                     /* 0x3130 */
+       u32 ch0_rxdesc_ring_length;                     /* 0x3134 */
+       u32 unused_3138[(0x3160 - 0x3138) / 4];         /* 0x3138 */
+       u32 ch0_status;                                 /* 0x3160 */
+};
+
+#define XGMAC_DMA_MODE_SWR                             BIT(0)
+#define XGMAC_DMA_SYSBUS_MODE_WR_OSR_LMT_SHIFT         24
+#define XGMAC_DMA_SYSBUS_MODE_WR_OSR_LMT_MASK          GENMASK(4, 0)
+#define XGMAC_DMA_SYSBUS_MODE_RD_OSR_LMT_SHIFT         16
+#define XGMAC_DMA_SYSBUS_MODE_RD_OSR_LMT_MASK          GENMASK(4, 0)
+#define XGMAC_DMA_SYSBUS_MODE_AAL                      BIT(12)
+#define XGMAC_DMA_SYSBUS_MODE_EAME                     BIT(11)
+#define XGMAC_DMA_SYSBUS_MODE_BLEN32                   BIT(4)
+#define XGMAC_DMA_SYSBUS_MODE_BLEN16                   BIT(3)
+#define XGMAC_DMA_SYSBUS_MODE_BLEN8                    BIT(2)
+#define XGMAC_DMA_SYSBUS_MODE_BLEN4                    BIT(1)
+#define XGMAC_DMA_SYSBUS_MODE_UNDEF                    BIT(0)
+
+#define XGMAC_DMA_CH0_CONTROL_DSL_SHIFT                        18
+#define XGMAC_DMA_CH0_CONTROL_PBLX8                    BIT(16)
+
+#define XGMAC_DMA_CH0_TX_CONTROL_TXPBL_SHIFT           16
+#define XGMAC_DMA_CH0_TX_CONTROL_TXPBL_MASK            GENMASK(5, 0)
+#define XGMAC_DMA_CH0_TX_CONTROL_OSP                   BIT(4)
+#define XGMAC_DMA_CH0_TX_CONTROL_ST                    BIT(0)
+
+#define XGMAC_DMA_CH0_RX_CONTROL_RXPBL_SHIFT           16
+#define XGMAC_DMA_CH0_RX_CONTROL_RXPBL_MASK            GENMASK(5, 0)
+#define XGMAC_DMA_CH0_RX_CONTROL_RBSZ_SHIFT            4
+#define XGMAC_DMA_CH0_RX_CONTROL_RBSZ_MASK             GENMASK(10, 0)
+#define XGMAC_DMA_CH0_RX_CONTROL_SR                    BIT(0)
+
+/* Descriptors */
+#define XGMAC_DESCRIPTORS_TX           8
+#define XGMAC_DESCRIPTORS_RX           8
+#define XGMAC_BUFFER_ALIGN             ARCH_DMA_MINALIGN
+#define XGMAC_MAX_PACKET_SIZE          ALIGN(1568, ARCH_DMA_MINALIGN)
+#define XGMAC_RX_BUFFER_SIZE           (XGMAC_DESCRIPTORS_RX * XGMAC_MAX_PACKET_SIZE)
+
+#define XGMAC_RDES3_PKT_LENGTH_MASK    GENMASK(13, 0)
+
+struct xgmac_desc {
+       u32 des0;
+       u32 des1;
+       u32 des2;
+       u32 des3;
+};
+
+#define XGMAC_DESC3_OWN                BIT(31)
+#define XGMAC_DESC3_FD         BIT(29)
+#define XGMAC_DESC3_LD         BIT(28)
+
+#define XGMAC_AXI_WIDTH_32     4
+#define XGMAC_AXI_WIDTH_64     8
+#define XGMAC_AXI_WIDTH_128    16
+
+struct xgmac_config {
+       bool reg_access_always_ok;
+       int swr_wait;
+       int config_mac;
+       int config_mac_mdio;
+       unsigned int axi_bus_width;
+       phy_interface_t (*interface)(const struct udevice *dev);
+       struct xgmac_ops *ops;
+};
+
+struct xgmac_ops {
+       void (*xgmac_inval_desc)(void *desc);
+       void (*xgmac_flush_desc)(void *desc);
+       void (*xgmac_inval_buffer)(void *buf, size_t size);
+       void (*xgmac_flush_buffer)(void *buf, size_t size);
+       int (*xgmac_probe_resources)(struct udevice *dev);
+       int (*xgmac_remove_resources)(struct udevice *dev);
+       int (*xgmac_stop_resets)(struct udevice *dev);
+       int (*xgmac_start_resets)(struct udevice *dev);
+       int (*xgmac_stop_clks)(struct udevice *dev);
+       int (*xgmac_start_clks)(struct udevice *dev);
+       int (*xgmac_calibrate_pads)(struct udevice *dev);
+       int (*xgmac_disable_calibration)(struct udevice *dev);
+       int (*xgmac_get_enetaddr)(struct udevice *dev);
+};
+
+struct xgmac_priv {
+       struct udevice *dev;
+       const struct xgmac_config *config;
+       fdt_addr_t regs;
+       struct xgmac_mac_regs *mac_regs;
+       struct xgmac_mtl_regs *mtl_regs;
+       struct xgmac_dma_regs *dma_regs;
+       struct reset_ctl reset_ctl;
+       struct reset_ctl_bulk reset_bulk;
+       struct clk clk_common;
+       struct mii_dev *mii;
+       struct phy_device *phy;
+       ofnode phy_of_node;
+       void *syscon_phy;
+       u32 syscon_phy_regshift;
+       u32 max_speed;
+       void *tx_descs;
+       void *rx_descs;
+       int tx_desc_idx, rx_desc_idx;
+       unsigned int desc_size;
+       unsigned int desc_per_cacheline;
+       void *tx_dma_buf;
+       void *rx_dma_buf;
+       void *rx_pkt;
+       bool started;
+       bool reg_access_ok;
+       bool clk_ck_enabled;
+};
+
+void xgmac_inval_desc_generic(void *desc);
+void xgmac_flush_desc_generic(void *desc);
+void xgmac_inval_buffer_generic(void *buf, size_t size);
+void xgmac_flush_buffer_generic(void *buf, size_t size);
+int xgmac_null_ops(struct udevice *dev);
+
+extern struct xgmac_config xgmac_socfpga_config;
diff --git a/drivers/net/dwc_eth_xgmac_socfpga.c b/drivers/net/dwc_eth_xgmac_socfpga.c
new file mode 100644 (file)
index 0000000..270c1b0
--- /dev/null
@@ -0,0 +1,226 @@
+// SPDX-License-Identifier: GPL-2.0
+/*
+ * Copyright (c) 2023, Intel Corporation
+ */
+#include <clk.h>
+#include <cpu_func.h>
+#include <dm.h>
+#include <errno.h>
+#include <eth_phy.h>
+#include <log.h>
+#include <malloc.h>
+#include <memalign.h>
+#include <miiphy.h>
+#include <net.h>
+#include <netdev.h>
+#include <phy.h>
+#include <reset.h>
+#include <wait_bit.h>
+#include <asm/arch/secure_reg_helper.h>
+#include <asm/arch/system_manager.h>
+#include <regmap.h>
+#include <syscon.h>
+#include <asm/cache.h>
+#include <asm/gpio.h>
+#include <asm/io.h>
+#include <linux/delay.h>
+#include <dm/device_compat.h>
+#include "dwc_eth_xgmac.h"
+
+#define SOCFPGA_XGMAC_SYSCON_ARG_COUNT 2
+
+static int dwxgmac_socfpga_do_setphy(struct udevice *dev, u32 modereg)
+{
+       struct xgmac_priv *xgmac = dev_get_priv(dev);
+       int ret;
+
+       u32 modemask = SYSMGR_EMACGRP_CTRL_PHYSEL_MASK <<
+                      xgmac->syscon_phy_regshift;
+
+       if (!(IS_ENABLED(CONFIG_SPL_BUILD)) && IS_ENABLED(CONFIG_SPL_ATF)) {
+               u32 index = ((u64)xgmac->syscon_phy - socfpga_get_sysmgr_addr() -
+                            SYSMGR_SOC64_EMAC0) >> 2;
+
+               u32 id = SOCFPGA_SECURE_REG_SYSMGR_SOC64_EMAC0 + index;
+
+               ret = socfpga_secure_reg_update32(id,
+                                                 modemask,
+                                                 modereg <<
+                                                 xgmac->syscon_phy_regshift);
+               if (ret) {
+                       dev_err(dev, "Failed to set PHY register via SMC call\n");
+                       return ret;
+               }
+
+       } else {
+               clrsetbits_le32(xgmac->phy, modemask, modereg);
+       }
+
+       return 0;
+}
+
+static int xgmac_probe_resources_socfpga(struct udevice *dev)
+{
+       struct xgmac_priv *xgmac = dev_get_priv(dev);
+       struct regmap *reg_map;
+       struct ofnode_phandle_args args;
+       void *range;
+       phy_interface_t interface;
+       int ret;
+       u32 modereg;
+
+       interface = xgmac->config->interface(dev);
+
+       switch (interface) {
+       case PHY_INTERFACE_MODE_MII:
+       case PHY_INTERFACE_MODE_GMII:
+               modereg = SYSMGR_EMACGRP_CTRL_PHYSEL_ENUM_GMII_MII;
+               break;
+       case PHY_INTERFACE_MODE_RMII:
+               modereg = SYSMGR_EMACGRP_CTRL_PHYSEL_ENUM_RMII;
+               break;
+       case PHY_INTERFACE_MODE_RGMII:
+               modereg = SYSMGR_EMACGRP_CTRL_PHYSEL_ENUM_RGMII;
+               break;
+       default:
+               dev_err(dev, "Unsupported PHY mode\n");
+               return -EINVAL;
+       }
+
+       /* Get PHY syscon */
+       ret = dev_read_phandle_with_args(dev, "altr,sysmgr-syscon", NULL,
+                                        SOCFPGA_XGMAC_SYSCON_ARG_COUNT,
+                                        0, &args);
+
+       if (ret) {
+               dev_err(dev, "Failed to get syscon: %d\n", ret);
+               return ret;
+       }
+
+       if (args.args_count != SOCFPGA_XGMAC_SYSCON_ARG_COUNT) {
+               dev_err(dev, "Invalid number of syscon args\n");
+               return -EINVAL;
+       }
+
+       reg_map = syscon_node_to_regmap(args.node);
+       if (IS_ERR(reg_map)) {
+               ret = PTR_ERR(reg_map);
+               dev_err(dev, "Failed to get reg_map: %d\n", ret);
+               return ret;
+       }
+
+       range = regmap_get_range(reg_map, 0);
+       if (!range) {
+               dev_err(dev, "Failed to get reg_map: %d\n", ret);
+               return -ENOMEM;
+       }
+
+       xgmac->syscon_phy = range + args.args[0];
+       xgmac->syscon_phy_regshift = args.args[1];
+
+       /* Get Reset Bulk */
+       ret = reset_get_bulk(dev, &xgmac->reset_bulk);
+       if (ret) {
+               dev_err(dev, "Failed to get reset: %d\n", ret);
+               return ret;
+       }
+
+       ret = reset_assert_bulk(&xgmac->reset_bulk);
+       if (ret) {
+               dev_err(dev, "XGMAC failed to assert reset: %d\n", ret);
+               return ret;
+       }
+
+       ret = dwxgmac_socfpga_do_setphy(dev, modereg);
+       if (ret)
+               return ret;
+
+       ret = reset_deassert_bulk(&xgmac->reset_bulk);
+       if (ret) {
+               dev_err(dev, "XGMAC failed to de-assert reset: %d\n", ret);
+               return ret;
+       }
+
+       ret = clk_get_by_name(dev, "stmmaceth", &xgmac->clk_common);
+       if (ret) {
+               pr_err("clk_get_by_name(stmmaceth) failed: %d", ret);
+               goto err_probe;
+       }
+       return 0;
+
+err_probe:
+       debug("%s: returns %d\n", __func__, ret);
+       return ret;
+}
+
+static int xgmac_get_enetaddr_socfpga(struct udevice *dev)
+{
+       struct eth_pdata *pdata = dev_get_plat(dev);
+       struct xgmac_priv *xgmac = dev_get_priv(dev);
+       u32 hi_addr, lo_addr;
+
+       debug("%s(dev=%p):\n", __func__, dev);
+
+       /* Read the MAC Address from the hardawre */
+       hi_addr = readl(&xgmac->mac_regs->address0_high);
+       lo_addr = readl(&xgmac->mac_regs->address0_low);
+
+       pdata->enetaddr[0] = lo_addr & 0xff;
+       pdata->enetaddr[1] = (lo_addr >> 8) & 0xff;
+       pdata->enetaddr[2] = (lo_addr >> 16) & 0xff;
+       pdata->enetaddr[3] = (lo_addr >> 24) & 0xff;
+       pdata->enetaddr[4] = hi_addr & 0xff;
+       pdata->enetaddr[5] = (hi_addr >> 8) & 0xff;
+
+       return !is_valid_ethaddr(pdata->enetaddr);
+}
+
+static int xgmac_start_resets_socfpga(struct udevice *dev)
+{
+       struct xgmac_priv *xgmac = dev_get_priv(dev);
+       int ret;
+
+       debug("%s(dev=%p):\n", __func__, dev);
+
+       ret = reset_assert_bulk(&xgmac->reset_bulk);
+       if (ret < 0) {
+               pr_err("xgmac reset assert failed: %d", ret);
+               return ret;
+       }
+
+       udelay(2);
+
+       ret = reset_deassert_bulk(&xgmac->reset_bulk);
+       if (ret < 0) {
+               pr_err("xgmac reset de-assert failed: %d", ret);
+               return ret;
+       }
+
+       return 0;
+}
+
+static struct xgmac_ops xgmac_socfpga_ops = {
+       .xgmac_inval_desc = xgmac_inval_desc_generic,
+       .xgmac_flush_desc = xgmac_flush_desc_generic,
+       .xgmac_inval_buffer = xgmac_inval_buffer_generic,
+       .xgmac_flush_buffer = xgmac_flush_buffer_generic,
+       .xgmac_probe_resources = xgmac_probe_resources_socfpga,
+       .xgmac_remove_resources = xgmac_null_ops,
+       .xgmac_stop_resets = xgmac_null_ops,
+       .xgmac_start_resets = xgmac_start_resets_socfpga,
+       .xgmac_stop_clks = xgmac_null_ops,
+       .xgmac_start_clks = xgmac_null_ops,
+       .xgmac_calibrate_pads = xgmac_null_ops,
+       .xgmac_disable_calibration = xgmac_null_ops,
+       .xgmac_get_enetaddr = xgmac_get_enetaddr_socfpga,
+};
+
+struct xgmac_config __maybe_unused xgmac_socfpga_config = {
+       .reg_access_always_ok = false,
+       .swr_wait = 50,
+       .config_mac = XGMAC_MAC_RXQ_CTRL0_RXQ0EN_ENABLED_DCB,
+       .config_mac_mdio = XGMAC_MAC_MDIO_ADDRESS_CR_350_400,
+       .axi_bus_width = XGMAC_AXI_WIDTH_64,
+       .interface = dev_read_phy_mode,
+       .ops = &xgmac_socfpga_ops
+};
index 871171e1be5e68c40bee29aed6860409ecc1724a..fde4aabbacec42a364ac5639ada225ab28f85987 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2021 BayLibre, SAS
  */
 
-#include <common.h>
 #include <asm/io.h>
 #include <dm.h>
 #include <phy.h>
index 744b58bdd1a60d54f84997eac7d32f129774be73..969d247b4f3ae2e8b3e683f281208db44aee259f 100644 (file)
@@ -5,7 +5,6 @@
  * Actions DWMAC specific glue layer
  */
 
-#include <common.h>
 #include <asm/global_data.h>
 #include <asm/io.h>
 #include <dm.h>
index 82fdff51dacc54358627696f49edbaf60fa4ceab..bba3fc4d34b0e0555b590abeccf56801e2eebe48 100644 (file)
@@ -5,7 +5,6 @@
  * Altera SoCFPGA EMAC extras
  */
 
-#include <common.h>
 #include <asm/arch/secure_reg_helper.h>
 #include <asm/arch/system_manager.h>
 #include <asm/io.h>
index 4e7ba6667703e49545d71ff65c7efd176e9b6e59..663d900eb099a093f70e909f51ce3c0937b78f4b 100644 (file)
@@ -29,7 +29,6 @@ tested on both gig copper and gig fiber boards
  *  Copyright 2011 Freescale Semiconductor, Inc.
  */
 
-#include <common.h>
 #include <command.h>
 #include <cpu_func.h>
 #include <dm.h>
index 69adf282c7394b2ee50b152c0f973619dca1282b..1e830b99f1d4564e99b98b87ad18962e2848b17d 100644 (file)
@@ -1,9 +1,9 @@
-#include <common.h>
 #include <command.h>
 #include <console.h>
 #include <linux/delay.h>
 #include "e1000.h"
 #include <malloc.h>
+#include <vsprintf.h>
 #include <linux/compiler.h>
 
 /*-----------------------------------------------------------------------
index 38d96ab72b6e1a76b0cad86f7abcd6ca85c36349..d18a8d577ca422c9b6edeb28da21eb953dc7fae8 100644 (file)
@@ -4,7 +4,7 @@
  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  */
 
-#include <common.h>
+#include <config.h>
 #include <asm/io.h>
 #include <cpu_func.h>
 #include <malloc.h>
index 9d1e8d38ffa693741ce9ffecc484f2dc36173fc1..1dae26878e61d9a241cbbc9283a52ebff1377e69 100644 (file)
@@ -5,7 +5,6 @@
 
 #define LOG_CATEGORY UCLASS_ETH_PHY
 
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <net.h>
index 13fad8119bb5d133867360b6143d472cafbfe228..dc7e6f1929fdde67c672f174511ab4533d402bd3 100644 (file)
@@ -9,7 +9,6 @@
  * Copyright (C) 2016 Cadence Design Systems Inc.
  */
 
-#include <common.h>
 #include <cpu_func.h>
 #include <dm.h>
 #include <log.h>
index 90af18f80a88caf4512f1c5f2817bd2460d2ef4d..0a0d92bc2cdd4a784a4381ec5c16e8b0474b8fe9 100644 (file)
@@ -7,7 +7,6 @@
  * (C) Copyright 2007 Pengutronix, Juergen Beisert <j.beisert@pengutronix.de>
  */
 
-#include <common.h>
 #include <cpu_func.h>
 #include <dm.h>
 #include <env.h>
index 1c5543e3c8786a61a4491e2bc0bd8ab83c7d08f7..46a0d38b101c79922bfdb974422523c1a0ca1ad8 100644 (file)
@@ -3,7 +3,7 @@
  * Copyright 2012 Freescale Semiconductor, Inc.
  *     Roy Zang <tie-fei.zang@freescale.com>
  */
-#include <common.h>
+#include <config.h>
 #include <env.h>
 #include <phy.h>
 #include <fm_eth.h>
index c51a65cb94fbbd80a204ab345cd811cf636ee805..371d9f07a46dab300cbcdc66c772000cddd4c1b9 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright 2009-2011 Freescale Semiconductor, Inc.
  */
 
-#include <common.h>
 #include <asm/types.h>
 #include <asm/io.h>
 #include <fsl_dtsec.h>
index 9fd26de0d72102c55f8e52da3a441aa5fefa9ba1..19f3f0fef0737353accc0fb6281a2d7b5b6722ce 100644 (file)
@@ -4,7 +4,7 @@
  * Copyright 2020 NXP
  *     Dave Liu <daveliu@freescale.com>
  */
-#include <common.h>
+#include <config.h>
 #include <log.h>
 #include <part.h>
 #include <asm/io.h>
index 3db5c907a2abeb26989288de75fcc6e25497f3bc..41b75761fddc401f9eddf802feeab904859eb417 100644 (file)
@@ -2,7 +2,7 @@
 /*
  * Copyright 2015 Freescale Semiconductor, Inc.
  */
-#include <common.h>
+#include <config.h>
 #include <phy.h>
 #include <fm_eth.h>
 #include <asm/io.h>
index 3b0ee98ddd352ad8f5fb465278a0c965f70b5df8..56c5c6846a4720582c5a4b4e636c2934415cc7a7 100644 (file)
@@ -2,7 +2,7 @@
 /*
  * Copyright 2016 Freescale Semiconductor, Inc.
  */
-#include <common.h>
+#include <config.h>
 #include <phy.h>
 #include <fm_eth.h>
 #include <asm/io.h>
index eeb67a39a77f1aa8af8920d57b632984c80d84ab..37b54626af0c4f9fe2fe5d06cbb1d463f0404527 100644 (file)
@@ -7,7 +7,6 @@
 /* MAXFRM - maximum frame length */
 #define MAXFRM_MASK    0x0000ffff
 
-#include <common.h>
 #include <log.h>
 #include <phy.h>
 #include <asm/types.h>
index e0b62b9449092350931b774ec6fac148f0374f9c..26425d94ae5573e48be8865447a775f09f1dcade 100644 (file)
@@ -5,7 +5,6 @@
  *     Roy Zang <tie-fei.zang@freescale.com>
  * Some part is taken from tsec.c
  */
-#include <common.h>
 #include <miiphy.h>
 #include <phy.h>
 #include <asm/io.h>
index 9013b276bc954fb03ce3d3260b8ca5f30fa5e37a..362bc9f30a1c9ed260ae460d3d1efbb3f0ca5687 100644 (file)
@@ -2,7 +2,7 @@
 /*
  * Copyright 2011 Freescale Semiconductor, Inc.
  */
-#include <common.h>
+#include <config.h>
 #include <phy.h>
 #include <fm_eth.h>
 #include <asm/io.h>
index 7ad993221f78310c0831ea45bb25b3aa92ff0b81..6e63e338e5d5bceaad29b6320eda514871793bf6 100644 (file)
@@ -2,7 +2,7 @@
 /*
  * Copyright 2011 Freescale Semiconductor, Inc.
  */
-#include <common.h>
+#include <config.h>
 #include <phy.h>
 #include <fm_eth.h>
 #include <asm/io.h>
index f931491b1120fa3b197e1a1aa6da43602407fb78..4fc1f723a3d9328477361ca9d9fee663fc1027e1 100644 (file)
@@ -2,7 +2,7 @@
 /*
  * Copyright 2011 Freescale Semiconductor, Inc.
  */
-#include <common.h>
+#include <config.h>
 #include <phy.h>
 #include <fm_eth.h>
 #include <asm/io.h>
index ef9f4bcce4dd728c245434c6e90d70dff0017218..f6ae947ef99bb27d45714e72db825d7d0b83aa3c 100644 (file)
@@ -2,7 +2,7 @@
 /*
  * Copyright 2011 Freescale Semiconductor, Inc.
  */
-#include <common.h>
+#include <config.h>
 #include <phy.h>
 #include <fm_eth.h>
 #include <asm/io.h>
index 70ab4610cdf63195cf4da60cc5268c502632d70a..18d71e7b60e85ba1344db363e7b4aac625f82d7a 100644 (file)
@@ -4,7 +4,7 @@
  * Shengzhou Liu <Shengzhou.Liu@freescale.com>
  */
 
-#include <common.h>
+#include <config.h>
 #include <phy.h>
 #include <fm_eth.h>
 #include <asm/immap_85xx.h>
index 5c260bed7fd5d61673c96aa5bdc12246c5032e0a..dafa6d638e3a581b74f13950b3b237ab31ef7dc1 100644 (file)
@@ -2,7 +2,7 @@
 /*
  * Copyright 2013 Freescale Semiconductor, Inc.
  */
-#include <common.h>
+#include <config.h>
 #include <phy.h>
 #include <fm_eth.h>
 #include <asm/io.h>
index 6174934d2b8195d31b6c761f84a1bd329a3dcdf1..390ca0aee707dfb031bb09b20d6ee46152828511 100644 (file)
@@ -5,7 +5,7 @@
  * Shengzhou Liu <Shengzhou.Liu@freescale.com>
  */
 
-#include <common.h>
+#include <config.h>
 #include <phy.h>
 #include <fm_eth.h>
 #include <asm/immap_85xx.h>
index f0a02bfe457fefafd096f62f8ed6997ee6b20ea5..df76073eecde0285031e416dd276974055241ba4 100644 (file)
@@ -3,7 +3,7 @@
  * Copyright 2012 Freescale Semiconductor, Inc.
  *     Roy Zang <tie-fei.zang@freescale.com>
  */
-#include <common.h>
+#include <config.h>
 #include <phy.h>
 #include <fm_eth.h>
 #include <asm/io.h>
index 9cc9f3fde3ad46f1caeda4ac0eaedbed4a0d02a5..f7b51ce0bbac8ce30b0481f38950e025cc4e5ee5 100644 (file)
@@ -7,7 +7,6 @@
 /* MAXFRM - maximum frame length */
 #define MAXFRM_MASK    0x0000ffff
 
-#include <common.h>
 #include <phy.h>
 #include <asm/types.h>
 #include <asm/io.h>
index 22225c2f82f9bdf052d77baa7e28d29eed6e3d97..f6c8f80c835e0c1e5514c334c7f0db7b71cb6691 100644 (file)
@@ -4,7 +4,6 @@
  *     Andy Fleming <afleming@gmail.com>
  * Some part is taken from tsec.c
  */
-#include <common.h>
 #include <miiphy.h>
 #include <phy.h>
 #include <asm/io.h>
index f5c5057bec100293f0ad0eecf6a204e2c3e53361..c2869ce4010c0ec32db8a04c0a2a97ae2adebb5d 100644 (file)
@@ -3,7 +3,7 @@
  * Copyright 2014 Freescale Semiconductor, Inc.
  * Copyright 2017-2018, 2020-2021 NXP
  */
-#include <common.h>
+#include <config.h>
 #include <command.h>
 #include <cpu_func.h>
 #include <env.h>
index 4d32516b005541c5dcd00d5e505660173b1fc5b0..482fb0463d5db30b25cb6c099f3d7b1a1234f0e6 100644 (file)
@@ -8,7 +8,6 @@
 
 #include <fsl-mc/fsl_mc_sys.h>
 #include <fsl-mc/fsl_mc_cmd.h>
-#include <common.h>
 #include <errno.h>
 #include <asm/io.h>
 #include <linux/delay.h>
index 1fd5089cc4be37351756bf367b006180c55c19e2..a6b0bafc8c60dea8f343ebcf08e93e27db0da083 100644 (file)
@@ -4,7 +4,6 @@
  * Copyright 2017-2021 NXP
  */
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <fdt_support.h>
index 50ad76dfeb55b6bca7d4a6f40fc811afb9bcd009..2d5fcbb6dbd3a610c6cbb49dd8b87cb14cbe52b2 100644 (file)
@@ -4,7 +4,6 @@
  * Copyright 2019 NXP
  */
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <pci.h>
index fce73937502df8c49f1507b7bfa36ff19d24629d..e3c37d9045f119548772b59183a234f28f4f521b 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright 2020 NXP
  */
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <miiphy.h>
index 5fd11db05f5e99772740effd02bd350678db08f6..a0f1c59e058ce74ab6fb14be8aaa5e63d3bbe845 100644 (file)
@@ -5,7 +5,6 @@
  *     Mingkai Hu <Mingkai.hu@freescale.com>
  */
 
-#include <common.h>
 #include <miiphy.h>
 #include <phy.h>
 #include <fsl_mdio.h>
index 9b536fd5ab890dbbbbda76fbe6fde7fc7c57bb83..8781e50a48dc81ccc14939b0ea8500bd9f261eb1 100644 (file)
@@ -11,7 +11,6 @@
  * Copyright (C) 2018, IBM Corporation.
  */
 
-#include <common.h>
 #include <clk.h>
 #include <reset.h>
 #include <cpu_func.h>
index fae3adc3de347dcb2f3425ee6bfe0c08f80c68cc..199a0723b8437d1d0b41f7719352b5af14a4e652 100644 (file)
@@ -7,7 +7,6 @@
  */
 
 #include <config.h>
-#include <common.h>
 #include <cpu_func.h>
 #include <env.h>
 #include <malloc.h>
index 51f835adabc38784f1217f18d232956977e8a1aa..d63e2dbfaebfabc9c5e052a5f76800509138902d 100644 (file)
@@ -5,7 +5,6 @@
  * Rockchip GMAC ethernet IP driver for U-Boot
  */
 
-#include <common.h>
 #include <dm.h>
 #include <clk.h>
 #include <log.h>
index 1862235d0cd24cd276af4c5ca9ce44fb3e66e5dd..6b88f6fbf59669d5db10894e22d14f21c7ce2f37 100644 (file)
@@ -8,7 +8,6 @@
 #include <malloc.h>
 #include <asm/cache.h>
 #include <asm/io.h>
-#include <common.h>
 #include <console.h>
 #include <linux/bitops.h>
 #include <linux/bug.h>
index 518548e3bbcd2a10673e59ab432a07144e6b4821..cc2e826257a919686b24c1cdf50609dd89a4fc94 100644 (file)
@@ -6,7 +6,6 @@
 
 #include <log.h>
 #include <asm/io.h>
-#include <common.h>
 #include <command.h>
 #include <malloc.h>
 #include <net.h>
index 87fbada06ba2ca7bb80e09608b5d7b1ebb36fb0e..b72198ca53077be81b6beb53e7ee321e70c91493 100644 (file)
@@ -4,7 +4,6 @@
  * Copyright 2017, 2023 NXP
  */
 
-#include <common.h>
 #include <cpu_func.h>
 #include <dm/device_compat.h>
 #include <fsl-mc/fsl_dpmac.h>
index adecb8135764f97087d7f79c419a86784c16e16f..a803b8fa7972dd55adfd0d9653d7e5f3e6d049eb 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2015 Freescale Semiconductor
  */
 
-#include <common.h>
 #include <asm/io.h>
 #include <asm/types.h>
 #include <malloc.h>
index 32bcb51725ac7b6207f323c631487baaaf284c66..2727fb01179c689a0abcc7da13d5f5ec44cd07ff 100644 (file)
@@ -2,7 +2,7 @@
 /*
  * Copyright 2017 NXP
  */
-#include <common.h>
+#include <config.h>
 #include <phy.h>
 #include <fsl-mc/ldpaa_wriop.h>
 #include <asm/io.h>
index 845a36bce875ef410707dcb8adaeab5fc889f544..05017552b3fb3bced537d20a0ba7da7b9487c2dd 100644 (file)
@@ -2,7 +2,7 @@
 /*
  * Copyright 2015 Freescale Semiconductor, Inc.
  */
-#include <common.h>
+#include <config.h>
 #include <phy.h>
 #include <fsl-mc/ldpaa_wriop.h>
 #include <asm/io.h>
index c2641a92d7ec916b4aa76710d5cfb213efeebefb..25ae684063bb38f2a3b33df9cb6c9410148fdcfb 100644 (file)
@@ -2,7 +2,7 @@
 /*
  * Copyright 2018, 2020 NXP
  */
-#include <common.h>
+#include <config.h>
 #include <phy.h>
 #include <fsl-mc/ldpaa_wriop.h>
 #include <asm/io.h>
index bca014c3cbb1671c4a2cab439bb6e853ed10afc3..cbf5f6055189088ad09be3e0e2767bcb2c96b574 100644 (file)
@@ -2,7 +2,6 @@
 /*
  * Copyright (C) 2005-2006 Atmel Corporation
  */
-#include <common.h>
 #include <clk.h>
 #include <cpu_func.h>
 #include <dm.h>
index ec1fae9688bdf04f6ddd6f2eea965a40a01314a3..04b711e4f650498624019f9293bbea6bdb35d703 100644 (file)
@@ -10,7 +10,7 @@
  * (C) 2019 Angelo Dureghello <angelo.dureghello@timesys.com>
  */
 
-#include <common.h>
+#include <config.h>
 #include <env.h>
 #include <hang.h>
 #include <malloc.h>
index eae20654513e9a24b8feeb4f08a02cc249159a5b..9bf887035d7f1b6ea378e892127796a8960d3a89 100644 (file)
@@ -4,7 +4,6 @@
  * TsiChung Liew (Tsi-Chung.Liew@freescale.com)
  */
 
-#include <common.h>
 #include <config.h>
 #include <net.h>
 #include <netdev.h>
index 50134b4d9b6a17869bd055bf1e8d1cb3f3cf6318..c824c3da3ddbf6c8369ee1f8b9e7f8a35c5e9893 100644 (file)
@@ -11,7 +11,6 @@
  */
 
 #include <asm/io.h>
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <linux/bitops.h>
index 78337731e1fd7a71e02ec772561e9806abfd96b0..c44fa6acdd70e664381ce8e00a34f5c2c9fd3ee7 100644 (file)
@@ -4,7 +4,6 @@
  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  */
 
-#include <common.h>
 #include <command.h>
 #include <hang.h>
 #include <malloc.h>
index 7157428a685ebd84a74eecba07b786d89bff2b2e..925888e0765a214fedded4673b2cde8f6b4ed72c 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (c) 2018 Microsemi Corporation
  */
 
-#include <common.h>
 #include <config.h>
 #include <dm.h>
 #include <malloc.h>
index 5e4f00c4f4d943505273b884e139158bc0c639ba..2f3d0911fdf733b8218c2cd1d085ee1b42fc125a 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (c) 2019 Microsemi Corporation
  */
 
-#include <common.h>
 #include <config.h>
 #include <dm.h>
 #include <malloc.h>
index 7ea1f551a11a4b8209ae8ac48fde0e9ba173efd6..30bb4b5bad8b593967f24779412623c22b67cd95 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (c) 2018 Microsemi Corporation
  */
 
-#include <common.h>
 #include <config.h>
 #include <dm.h>
 #include <log.h>
index be06e4833733db072e4d77b4efe3865aa22f7bf7..8eab41df99ae5c520c81e9283f0843f2b7dfbbf2 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (c) 2019 Microsemi Corporation
  */
 
-#include <common.h>
 #include <config.h>
 #include <dm.h>
 #include <log.h>
index 2d2329c204ae50ebfe74c974527090c177286bfe..61547d7933e4f76a5c8337f845f52a709a53aaec 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (c) 2019 Microsemi Corporation
  */
 
-#include <common.h>
 #include <config.h>
 #include <dm.h>
 #include <malloc.h>
index b95de474fb027993edb5b74e3c30837723537645..fc8a6bb331bb277df9d35a707e995939c3cf4d1c 100644 (file)
@@ -13,7 +13,6 @@
  * copyrights here, so I can't add them here.
  */
 
-#include <common.h>
 #include <cpu_func.h>
 #include <dm.h>
 #include <log.h>
index 75e7bcf83b768ac0d4f14927b4cfd83157296ae0..94f17a97fe0f54ebd6ede1db280fe322daf41987 100644 (file)
@@ -6,7 +6,6 @@
  * Author: Mark Lee <mark-mc.lee@mediatek.com>
  */
 
-#include <common.h>
 #include <cpu_func.h>
 #include <dm.h>
 #include <log.h>
index 8fbbc1caccad0c534f1f48dc311b6da8f46f247f..557b6b2c8f6ad47544aaaa252332f5bbd954bb94 100644 (file)
@@ -23,7 +23,6 @@
  * on the mv88e6176 via an SGMII interface.
  */
 
-#include <common.h>
 #include <dm/device.h>
 #include <dm/device_compat.h>
 #include <dm/device-internal.h>
index 3587ca2124e33279c74be88a4ae18f15998db559..17b62bbc20522d5beabfc3b16adb689fbb7db3cb 100644 (file)
@@ -11,7 +11,6 @@
  * Copyright (C) 2002 rabeeh@galileo.co.il
  */
 
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <net.h>
index 5ebcfe14b7fb6d4634a3b711ee9f623b70f03b84..3315e06f591f357ab64f9d3034d420ef82948714 100644 (file)
@@ -4,7 +4,6 @@
  * Author: Ken Ma<make@marvell.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <dm/device-internal.h>
 #include <dm/lists.h>
index 24933473fa059e9279f8189bfb212c43bf7e7e75..f014d39b1751b3b38e5056efba57ded76d50d69d 100644 (file)
@@ -12,7 +12,6 @@
  * Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
  */
 
-#include <common.h>
 #include <cpu_func.h>
 #include <dm.h>
 #include <log.h>
index 1cd543076504690e4d788a2cb43ab6f6ed91f3ec..d19a79d16007b4dc4a9801ea10970860b4e6e48d 100644 (file)
@@ -13,7 +13,6 @@
  * warranty of any kind, whether express or implied.
  */
 
-#include <common.h>
 #include <cpu_func.h>
 #include <dm.h>
 #include <asm/cache.h>
index 151bc55e076b7fd4dc5deae00429f27b2500e5dd..1943de8ba730466e70beb8cb404643bc2884d49a 100644 (file)
@@ -4,12 +4,12 @@
  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  */
 
-#include <common.h>
 #include <command.h>
 #include <env.h>
 #include <log.h>
 #include <stdio_dev.h>
 #include <net.h>
+#include <vsprintf.h>
 
 #ifndef CFG_NETCONSOLE_BUFFER_SIZE
 #define CFG_NETCONSOLE_BUFFER_SIZE 512
index 2028f4ae286e077003c188d0c10e42c909d8f448..f0ec6c556cc22cb10f725ecdca3f85ecfc7dc222 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (c) 2021 Nuvoton Technology Corp.
  */
 
-#include <common.h>
 #include <cpu_func.h>
 #include <dm.h>
 #include <errno.h>
index ecf8c28fe41b82d33df88bb04dc8ae730a589e99..adeca3d040dd124d50c6e8ea1c160c15d0e421dd 100644 (file)
@@ -5,7 +5,6 @@
  * Intel Platform Controller Hub EG20T (codename Topcliff) GMAC Driver
  */
 
-#include <common.h>
 #include <cpu_func.h>
 #include <dm.h>
 #include <errno.h>
index a1f3c2bd290cc63be4af01d74564551831e234aa..180a96af16b6b6144e9aeda19b31cba32c1c63d7 100644 (file)
@@ -6,7 +6,6 @@
  * Linux driver pcnet32.c written 1996-1999 by Thomas Bogendoerfer.
  */
 
-#include <common.h>
 #include <cpu_func.h>
 #include <dm.h>
 #include <log.h>
index 2fe0db0fe7171db962b1edda0e6d26764e2ace35..99c2a8d4e92b7cd82decf7135d739b0cf6a38da0 100644 (file)
@@ -9,7 +9,6 @@
  * @brief PFE utility commands
  */
 
-#include <common.h>
 #include <command.h>
 #include <log.h>
 #include <linux/delay.h>
index ab532c5a420eb91ef2204c8154f1a3b10c42df9e..e24a6f93d9103814aae34ed99d6621b061f921c6 100644 (file)
@@ -4,7 +4,7 @@
  * Copyright 2017 NXP
  */
 
-#include <common.h>
+#include <config.h>
 #include <dm.h>
 #include <log.h>
 #include <malloc.h>
index ff48726dbf559ef083aee5f8f9ba66e412b70753..ce2f76eabc8c378c65ba5794793f394aeb926e76 100644 (file)
@@ -3,7 +3,7 @@
  * Copyright 2015-2016 Freescale Semiconductor, Inc.
  * Copyright 2017 NXP
  */
-#include <common.h>
+#include <config.h>
 #include <dm.h>
 #include <log.h>
 #include <malloc.h>
index 0970449d0f9f982cf55cae660fe129196862b481..ce448810ff6db27b74f5de5adc89d233c349d56f 100644 (file)
@@ -6,7 +6,6 @@
  * Copyright 2022 Variscite Ltd.
  * Copyright 2022 Josua Mayer <josua@solid-run.com>
  */
-#include <common.h>
 #include <phy.h>
 #include <linux/bitops.h>
 #include <linux/bitfield.h>
index a958e88d44fde5f9c2595e5d9f4048937d14bb03..4517a6b13ba63d6e053c474546324d8591eecca7 100644 (file)
@@ -6,7 +6,6 @@
  * Copyright 2018, 2021 NXP
  */
 #include <config.h>
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <net.h>
index abb7bdf537cfa1e7405be003adba47715aab4240..61525f68c359eb43bbe31054a29033d98278c926 100644 (file)
@@ -6,7 +6,6 @@
  * author Andy Fleming
  * Copyright (c) 2019 Michael Walle <michael@walle.cc>
  */
-#include <common.h>
 #include <phy.h>
 #include <dm/device_compat.h>
 #include <linux/bitfield.h>
index 26e8e2fe64fb71bbbd315f80cb751049069f221e..e95363067fe37ad1018078247edf26873598acb1 100644 (file)
@@ -22,7 +22,6 @@
  * cover other switches would be trivial.
  */
 
-#include <common.h>
 #include <command.h>
 #include <linux/bitops.h>
 #include <linux/delay.h>
index ecccb7c3b54ad1443c4465622a5ed627341655a4..0a49015eb89a89d70f746267ac4f4cab4f842fe2 100644 (file)
@@ -5,7 +5,6 @@
  * Copyright 2010-2011 Freescale Semiconductor, Inc.
  * author Andy Fleming
  */
-#include <common.h>
 #include <phy.h>
 #include <linux/delay.h>
 
index edef21867b04deae221fd5a0fd14d434ad0836be..5b2c67d2fdadd5156faf0be06e9a0a8f667a96fa 100644 (file)
@@ -8,7 +8,6 @@
  */
 
 #include <config.h>
-#include <common.h>
 #include <log.h>
 #include <malloc.h>
 #include <linux/ctype.h>
index 1cf8b28f5827fba1c0fa8aa3a42fcbd64d0a16e1..d043e859bad74f5e2f49956aa4c38298750fbe35 100644 (file)
@@ -8,7 +8,6 @@
  */
 
 #include <config.h>
-#include <common.h>
 #include <log.h>
 #include <malloc.h>
 #include <linux/ctype.h>
index 31ffa1ac7a98df6b60dc049a147316e6e1cc564a..72d668129851edc905964ddbb6e6b681886150a7 100644 (file)
@@ -5,7 +5,6 @@
  * Copyright 2010-2011 Freescale Semiconductor, Inc.
  * author Andy Fleming
  */
-#include <common.h>
 #include <phy.h>
 
 #define MIIM_DM9161_SCR                0x10
index b6726031ebb8f13a43ee16c658cbcae1089cb5f6..772cde1c520cd20f656cccb7b2370615176798f1 100644 (file)
@@ -3,7 +3,6 @@
  * TI PHY drivers
  *
  */
-#include <common.h>
 #include <log.h>
 #include <phy.h>
 #include <dm/devres.h>
index f9d4782580e9318049f1f69840431e320a650e26..b6fb5adae1f42c2320f618ad005efdd09bc8fc24 100644 (file)
@@ -4,7 +4,6 @@
  *
  */
 
-#include <common.h>
 #include <phy.h>
 #include <linux/compat.h>
 #include <malloc.h>
index 4dfdee60dccb23f454353453122c6b34dd1e4cd8..2f8454ca27da24538e6d1de4c74e82678562635a 100644 (file)
@@ -5,7 +5,6 @@
  * Copyright (C) 2022 Xilinx, Inc.
  */
 
-#include <common.h>
 #include <dm/device_compat.h>
 #include <dm/device-internal.h>
 #include <dm/lists.h>
index 2f0823b83651a86ace38707695c45a0f9d4576c7..11d3616497697b7003bba4b2e3006d6d1b6d6d15 100644 (file)
@@ -6,7 +6,6 @@
  */
 
 #include <config.h>
-#include <common.h>
 #include <malloc.h>
 #include <phy.h>
 #include <dm.h>
index 34ac51ea070c8d3308e58782261c6905731336fd..38dc9a8856310002f47f555a571b924e457dd8c1 100644 (file)
@@ -7,7 +7,6 @@
  *
  * Based loosely off of Linux's PHY Lib
  */
-#include <common.h>
 #include <miiphy.h>
 #include <phy.h>
 
index 9d1b97d349ff4e76229e21f6269252eb31fafe40..fe50eec011ad0c78a45046c240ffbb0d055f3824 100644 (file)
@@ -1,5 +1,4 @@
 // SPDX-License-Identifier: GPL-2.0+
-#include <common.h>
 #include <phy.h>
 #include <linux/bitfield.h>
 
index 20940033a38b89d571ab7466970dff6991f3cebd..a817c58b128ff21925bd2475b70ab159702d2bf7 100644 (file)
@@ -5,7 +5,6 @@
  * Copyright 2010-2011 Freescale Semiconductor, Inc.
  * author Andy Fleming
  */
-#include <common.h>
 #include <phy.h>
 
 /* LXT971 Status 2 registers */
index 0a90f710dfe49701d7b4a12605c5b34ec3d09f4c..b0a0b7fcb38b142dfdee14c1865c94379b45d9f0 100644 (file)
@@ -5,7 +5,6 @@
  * Copyright 2010-2011 Freescale Semiconductor, Inc.
  * author Andy Fleming
  */
-#include <common.h>
 #include <errno.h>
 #include <marvell_phy.h>
 #include <phy.h>
index 9e64672f5cac30d84f66e51ae97980c2a3f58d89..8c95bcbb9ad96979e9a7a2ac03a502f1fb864efa 100644 (file)
@@ -22,7 +22,6 @@
  * If both the fiber and copper ports are connected, the first to gain
  * link takes priority and the other port is completely locked out.
  */
-#include <common.h>
 #include <console.h>
 #include <dm/device_compat.h>
 #include <dm/devres.h>
index b49c9b5f495360c1d19964d1e8a60adaa4622e82..d43b476b3c88418590d2bb1fe3c2ece71de4e629 100644 (file)
@@ -7,7 +7,6 @@
  * Author: Neil Armstrong <narmstrong@baylibre.com>
  */
 #include <config.h>
-#include <common.h>
 #include <linux/bitops.h>
 #include <dm.h>
 #include <phy.h>
index b0f3abcb037cc6200969d965b1b84f6460fc54d0..a9a64466ac2df4960108156caa94a60a64480e71 100644 (file)
@@ -6,7 +6,6 @@
  * author Andy Fleming
  * (C) 2012 NetModule AG, David Andrey, added KSZ9031
  */
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <fdtdec.h>
index ffc3c987eaae0dbccacd20c139fa3288a9d0cb74..556d75e31ede027e38d753dd8bc20744079b393b 100644 (file)
@@ -8,7 +8,6 @@
  * (C) Copyright 2017 Adaptrum, Inc.
  * Written by Alexandru Gagniuc <alex.g@adaptrum.com> for Adaptrum, Inc.
  */
-#include <common.h>
 #include <dm.h>
 #include <env.h>
 #include <errno.h>
index cf71f7d4e7e5a3526c1e97e11ded132575dd7b9f..083d9d3996dc600c635e61cfa7c877a1d50d090c 100644 (file)
@@ -12,7 +12,6 @@
  * channel.
  */
 
-#include <common.h>
 #include <ioports.h>
 #include <ppc_asm.tmpl>
 #include <miiphy.h>
index a2c763c8791e99584496f6773793a9a7c9eabbb7..a96430cec43dcdd80e51c65f7c3f9e8d572c5552 100644 (file)
@@ -6,7 +6,6 @@
  */
 
 #include <config.h>
-#include <common.h>
 #include <malloc.h>
 #include <phy.h>
 #include <linux/bitfield.h>
index 85778106eddcdc04d06c15a27ba5e04a7cbec199..ecc10f788afbd53b4b61fcb30b72e00ceee31fa3 100644 (file)
@@ -29,7 +29,6 @@
  * changes may be required.
  */
 
-#include <common.h>
 #include <log.h>
 #include <linux/bitops.h>
 #include <linux/delay.h>
index 56060762d85c16025656f89237bfbc8056cc3fea..6284298ebc1a328e9d1c6c97aaa4851c35cdef3e 100644 (file)
@@ -4,7 +4,6 @@
  * Valentin Lontgchamp, Keymile AG, valentin.longchamp@keymile.com
  */
 
-#include <common.h>
 #include <command.h>
 #include <log.h>
 #include <miiphy.h>
index 6b9e99ea11566f000d1f33f587bbc00284b02c9c..f7e514ef203a460f7de95ff154ac2445f358e890 100644 (file)
@@ -5,7 +5,6 @@
  * Copyright 2010-2011 Freescale Semiconductor, Inc.
  * author Andy Fleming
  */
-#include <common.h>
 #include <phy.h>
 
 /* NatSemi DP83630 */
index 2bca116a9d81808755ff1bf7c3071a9e0a04b3c1..a1de438ffff1c31b871b119bdddf2978b5b05a9b 100644 (file)
@@ -5,7 +5,6 @@
  * Copyright (C) 2019, IBM Corporation.
  */
 
-#include <common.h>
 #include <log.h>
 #include <malloc.h>
 #include <phy.h>
index f24fc5b2de616104220cca358f8da150351dd7f3..a1e4c3d053b669c39d78affe8f04d85af3d6e3c6 100644 (file)
@@ -5,7 +5,6 @@
  * Copyright 2021 NXP
  * Author: Radu Pirea <radu-nicolae.pirea@oss.nxp.com>
  */
-#include <common.h>
 #include <dm.h>
 #include <dm/devres.h>
 #include <linux/delay.h>
index 471b0e322b58c70759635cbed2d0f909805ed3c0..a61471f4277739737f0a5a9a8798c7bf1a43febb 100644 (file)
@@ -6,7 +6,6 @@
  * Copyright (C) 2018 Marek Vasut <marex@denx.de>
  */
 
-#include <common.h>
 #include <linux/bitops.h>
 #include <linux/delay.h>
 #include <linux/iopoll.h>
index 270176cfe6296f36e9c19e39ff1cd18ee9fdc54b..fbf85d90f546c915b850fed0a914c3ef3c35c1d6 100644 (file)
@@ -7,7 +7,6 @@
  *
  * Based loosely off of Linux's PHY Lib
  */
-#include <common.h>
 #include <console.h>
 #include <dm.h>
 #include <log.h>
index 7e1036b2271fb218f425feb1b36a818941c26fd9..30f35cced9d60d03d65cd8eede5c0cf11a112313 100644 (file)
@@ -6,7 +6,6 @@
  * author Andy Fleming
  * Copyright 2016 Karsten Merker <merker@debian.org>
  */
-#include <common.h>
 #include <linux/bitops.h>
 #include <phy.h>
 #include <linux/delay.h>
index 056b607e0b8c93433cdf0f2f960647a950a5235e..0d823f5f2b18556520745bb6d214b277bb39c9d8 100644 (file)
@@ -9,7 +9,6 @@
  * Some code copied from linux kernel
  * Copyright (c) 2006 Herbert Valerio Riedel <hvr@gnu.org>
  */
-#include <common.h>
 #include <miiphy.h>
 
 /* This code does not check the partner abilities. */
index 15f2c12ed83cde6d55ca6199e96b71b79c42db88..b39311976d608643fa19cdfb65c132af8395ed5a 100644 (file)
@@ -5,7 +5,6 @@
  * Copyright 2010-2011 Freescale Semiconductor, Inc.
  * author Andy Fleming
  */
-#include <common.h>
 #include <phy.h>
 #include <linux/delay.h>
 
index c5cf0d7dfbd14fc660721bae2f4351a3925af35f..4867d1931b44d1a8450448cb8a5a55bcff2088f7 100644 (file)
@@ -6,7 +6,6 @@
  * Original Author: Andy Fleming
  * Add vsc8662 phy support - Priyanka Jain
  */
-#include <common.h>
 #include <miiphy.h>
 
 /* Cicada Auxiliary Control/Status Register */
index e2969bc48424fbf0fa3e90ae42514429f34db6e4..e44b7b75bd585c13364dd2f6f6495dc941b855e7 100644 (file)
@@ -5,7 +5,6 @@
  * Copyright (C) 2018 Xilinx, Inc.
  */
 
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <phy.h>
index c07c780193f483aeaf96d9a80d2c95ed8b26c6e4..a59e17d11e5b11e2464f3410447c40d0689c7a9a 100644 (file)
@@ -6,7 +6,6 @@
  */
 
 #include <config.h>
-#include <common.h>
 #include <log.h>
 #include <phy.h>
 #include <dm.h>
index 1333a3aa7e44838162e15bd733bf74f7b4acb4da..eea3c48aeffc6b8cb7071403d6eeb8cdb3eff0e8 100644 (file)
@@ -3,7 +3,6 @@
  * (c) 2015 Purna Chandra Mandal <purna.mandal@microchip.com>
  *
  */
-#include <common.h>
 #include <cpu_func.h>
 #include <errno.h>
 #include <dm.h>
index d4049cfea525ec45f8838551f6e21b2790f491fc..8610f9a1aa5df6b526a444a079d57d0f4d4a8bf1 100644 (file)
@@ -5,7 +5,6 @@
  * Copyright 2015 Microchip Inc.
  *     Purna Chandra Mandal <purna.mandal@microchip.com>
  */
-#include <common.h>
 #include <phy.h>
 #include <miiphy.h>
 #include <errno.h>
index 6d1509d90cf0fc3fb6db091f1c3364de5d2f9715..ac3aedd8b49eb17a09a2bca38e2d684a291f953a 100644 (file)
@@ -7,7 +7,6 @@
  * Copyright (C) 2020 Heiko Schocher <hs@denx.de>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <memalign.h>
index a0bcc8d3e55bfcf360a822f52c5bd67961f22da6..8c0168be859e03f138b8010a64844e1f7ed71112 100644 (file)
@@ -8,7 +8,6 @@
  * Copyright (C) 2020 Heiko Schocher <hs@denx.de>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <miiphy.h>
index 00848a1a37d7b252b363bb20baa451a2bd0c5a77..badf4e5db3e5f7928caf04f0d19e7e2b87b516f4 100644 (file)
@@ -7,6 +7,7 @@
  */
 
 #include <malloc.h>
+#include <stdio.h>
 #include <linux/errno.h>
 #include <asm/io.h>
 #include <linux/immap_qe.h>
index 99f8458edf67613f8d94ec84aaf84fe37fddb9f7..e60bbe241cd97ee9fa90b5ae301bbcdf04e4b0ca 100644 (file)
@@ -9,8 +9,8 @@
 #ifndef __UCCF_H__
 #define __UCCF_H__
 
-#include "common.h"
-#include "linux/immap_qe.h"
+#include <linux/types.h>
+#include <linux/immap_qe.h>
 #include <fsl_qe.h>
 
 /* Fast or Giga ethernet */
index 4764bca7082473bea5bcc466446cb86efd051e2a..f1401d2f6ed2ea809479eca92836435f9ae88b9f 100644 (file)
@@ -8,7 +8,6 @@
  * Based on the SuperH Ethernet driver.
  */
 
-#include <common.h>
 #include <clk.h>
 #include <cpu_func.h>
 #include <dm.h>
index 5a69ca1a0f9e3c587179ce941a841631f1a879de..8e1b6e2f6f6a21d27b74e7bb8b8e8feab850cfb3 100644 (file)
@@ -9,7 +9,6 @@
 
 #include <asm/io.h>
 #include <clk.h>
-#include <common.h>
 #include <dm.h>
 #include <dm/device-internal.h>
 #include <dm/device_compat.h>
index d8f24ec81a2f743058953445765a56950c379c30..2e0afad089f8e03aa17469cd36b7285f1b691819 100644 (file)
@@ -68,7 +68,6 @@
  *
  */
 
-#include <common.h>
 #include <cpu_func.h>
 #include <dm.h>
 #include <log.h>
index 93e83661cec4ed5629f1d00948f11ccc1789049f..e80aebc0bcf204f27a69872e58d74df3b800f5ea 100644 (file)
@@ -39,7 +39,6 @@
  * 26 August 2006 Mihai Georgian <u-boot@linuxnotincluded.org.uk>
  * Modified to use le32_to_cpu and cpu_to_le32 properly
  */
-#include <common.h>
 #include <cpu_func.h>
 #include <dm.h>
 #include <errno.h>
index fb1ba5a8c83a79939673006fdb0334f9e3f76331..15670d6d24a10dc140b1c408cd8142120e06f138 100644 (file)
@@ -4,7 +4,6 @@
  * Copyright (c) 2018 Joe Hershberger <joe.hershberger@ni.com>
  */
 
-#include <common.h>
 #include <asm/eth-raw-os.h>
 #include <dm.h>
 #include <errno.h>
index 99eb7a3bbff6ec09be9689e731e7ae4d27a90c92..1d716716778cbf372e89fad71ec7b62ad5ebbbf2 100644 (file)
@@ -8,7 +8,6 @@
 
 #include <log.h>
 #include <asm/eth-raw-os.h>
-#include <common.h>
 #include <dm.h>
 #include <env.h>
 #include <malloc.h>
index 13022addb6a3e18720981fc9d9772f294a6ddd48..fe3627db6e3ead717af19800cc425a455a986c87 100644 (file)
@@ -6,7 +6,6 @@
  * Joe Hershberger <joe.hershberger@ni.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <malloc.h>
index 7b1f59dc498961f6ff018f30041288ca1e0621aa..f1ce994cfd53b2f1affc9f248f8c3344fc9a20e8 100644 (file)
@@ -9,7 +9,6 @@
  */
 
 #include <config.h>
-#include <common.h>
 #include <cpu_func.h>
 #include <env.h>
 #include <log.h>
index 48f044c647210fb644763f76d0a356f126c474d7..0ba84a4496f5628199c21c0f43153582ed3ab703 100644 (file)
@@ -8,7 +8,6 @@
  * Ported from Linux (drivers/net/dsa/sja1105/).
  */
 
-#include <common.h>
 #include <dm/device_compat.h>
 #include <linux/bitops.h>
 #include <linux/bitrev.h>
index 616b7ce174f43f48bef61af242e9a4b35487f808..f39ba40944f39d1ddfd28f0c6fce7902c8e5054a 100644 (file)
@@ -5,7 +5,6 @@
  * (c) 2007 Pengutronix, Sascha Hauer <s.hauer@pengutronix.de>
  */
 
-#include <common.h>
 #include <command.h>
 #include <malloc.h>
 #include <net.h>
index 8bff4fe9a9eafaa8aac917192494dcdb74c02169..f4b97798d2d624795da60d9d3910aef1f3fdf98d 100644 (file)
@@ -16,7 +16,6 @@
 #include <asm/global_data.h>
 #include <asm/gpio.h>
 #include <asm/io.h>
-#include <common.h>
 #include <clk.h>
 #include <dm.h>
 #include <fdt_support.h>
index f546ad1fe8dd7197e2a70a486d8157cb4457c74d..3dee849c97e94b3c305c1af93a2f4dba8a6fd4fe 100644 (file)
@@ -5,7 +5,6 @@
  * (C) Copyright 2012, Stefan Roese <sr@denx.de>
  */
 
-#include <common.h>
 #include <clk.h>
 #include <dm.h>
 #include <log.h>
index 65ade1afd05ce527e4819108cab98cceb4c9f09c..c70b42f6bcc249ff9124c2952a38311f32ad19f9 100644 (file)
@@ -6,7 +6,6 @@
  *
  */
 
-#include <common.h>
 #include <malloc.h>
 #include <asm/cache.h>
 #include <asm/gpio.h>
index d5428274d1907f5c00845a11986748e4d9bc52c3..3e66d7c7bdfbd0d58fa2f7b38c2a1c121ced1c68 100644 (file)
@@ -5,7 +5,6 @@
  * Copyright (C) 2016, Texas Instruments, Incorporated
  */
 
-#include <common.h>
 #include <dm.h>
 #include <fdt_support.h>
 #include <asm/global_data.h>
index 9a5e9642df113ce9a82b61c9dd65568e53b95ac4..d7746f454baf6519c697d18254ac8ce7a98b8deb 100644 (file)
@@ -5,7 +5,6 @@
  * Copyright (C) 2010-2018 Texas Instruments Incorporated - https://www.ti.com/
  */
 
-#include <common.h>
 #include <command.h>
 #include <cpu_func.h>
 #include <log.h>
index f1b1eba75d00537cadce9c2d849858754e6ae37b..9e0083ca7896e800eb91ba53f9853a6671817b29 100644 (file)
@@ -6,7 +6,6 @@
  */
 
 #include <clk.h>
-#include <common.h>
 #include <dm/device_compat.h>
 #include <log.h>
 #include <malloc.h>
index 034877a769071d7ef3b3719727f20eda4a91362b..03a1a7a115998fbcfa7c6579106970b0835f2f51 100644 (file)
@@ -21,7 +21,7 @@
  * ver. 1.0: Sep 2005, Anant Gole - Created EMAC version for uBoot.
  * ver  1.1: Nov 2005, Anant Gole - Extended the RX logic for multiple descriptors
  */
-#include <common.h>
+#include <config.h>
 #include <command.h>
 #include <cpu_func.h>
 #include <log.h>
index 43dbf3f10670d2760d837581c421727890bc05e8..c6e5bf21cf05a1799b3339cb3ee4ad6636d3f141 100644 (file)
@@ -5,7 +5,6 @@
  * (C) Copyright 2012-2014
  *     Texas Instruments Incorporated, <www.ti.com>
  */
-#include <common.h>
 #include <command.h>
 #include <console.h>
 #include <asm/global_data.h>
index 8833e3098d52ea53e38d6b9f02b23fbc77d4f2b0..6481ee24a6010099cbabb5a213641c63706176a2 100644 (file)
@@ -8,7 +8,6 @@
  */
 
 #include <config.h>
-#include <common.h>
 #include <dm.h>
 #include <malloc.h>
 #include <net.h>
index 09883f06be28986b523a5a00754c99cbbca7769e..bd1869dfc8300da13932e6cf11e23f7e93a49a78 100644 (file)
@@ -13,7 +13,6 @@
  */
 
 #include <config.h>
-#include <common.h>
 #include <console.h>
 #include <log.h>
 #include <asm/io.h>
index ef151ee51b40a1acd4df81b6afce78af5dbbafde..a1a39f61488ebf0c34da7b0504d8c2e31b4e8770 100644 (file)
@@ -7,7 +7,6 @@
  */
 
 #include <config.h>
-#include <common.h>
 #include <cpu_func.h>
 #include <display_options.h>
 #include <dm.h>
index 410fb25ddef420fa2970f1a8327b0775277da328..555651937f863c00c5426c6cd86ac9fedb0d1e00 100644 (file)
@@ -9,7 +9,6 @@
  */
 
 #include <config.h>
-#include <common.h>
 #include <cpu_func.h>
 #include <dm.h>
 #include <log.h>
index 16ba915fbaafa6c3ac738b85873a5af9971dd5b0..c25ac2e66009be99760b7e79c8aad3239ee5f571 100644 (file)
@@ -6,7 +6,6 @@
  * Michal SIMEK <monstr@monstr.eu>
  */
 
-#include <common.h>
 #include <log.h>
 #include <net.h>
 #include <config.h>
index 7c57d32614fa68ce1bc3f31461dee994d3a47b77..b41ee95892e87a96813721535825a522e5edc674 100644 (file)
@@ -9,7 +9,6 @@
  */
 
 #include <clk.h>
-#include <common.h>
 #include <cpu_func.h>
 #include <dm.h>
 #include <generic-phy.h>
index f3af6a27b63bdb70db7f77e2ababe942255760e0..44c88ad27f3e20d70162b52a31356e1452e7dfd3 100644 (file)
@@ -6,7 +6,6 @@
 
 #define LOG_CATEGORY UCLASS_NVME
 
-#include <common.h>
 #include <bootdev.h>
 #include <dm.h>
 #include <init.h>
index 59a139baa0ba6c7323b29cc11311000d8fb4a84f..7c58ceb78f515ccaa56abe9616f09159e422e0d0 100644 (file)
@@ -4,7 +4,6 @@
  * Copyright (C) 2017 Bin Meng <bmeng.cn@gmail.com>
  */
 
-#include <common.h>
 #include <blk.h>
 #include <bootdev.h>
 #include <cpu_func.h>
index 819b748dc02ed1c8c588cf2783ab53ec51122dea..7e7538553e3f49b12c88c0100c5bac32cdd43705 100644 (file)
@@ -3,7 +3,6 @@
  * (C) Copyright 2021 Mark Kettenis <kettenis@openbsd.org>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <mailbox.h>
 #include <mapmem.h>
index 5bb43d299fca865577ac1daf2fb6be1327e11f27..c24f8cf1eb1faf94f89bfcfc53d6eec9ba3a66c1 100644 (file)
@@ -4,7 +4,6 @@
  * Copyright (C) 2017 Bin Meng <bmeng.cn@gmail.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <init.h>
 #include <pci.h>
index 72cbac82bccaf686351313d3e5747ae4cacc9d2e..158102363e999ad0b01d7c8c7d8764e54e6aa44f 100644 (file)
@@ -4,7 +4,6 @@
  * Copyright (C) 2017 Bin Meng <bmeng.cn@gmail.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <memalign.h>
index af028f9cecad7ab6310ed585da209df03af0095d..9af2475800426438ee9717825fc64ed81fae9b84 100644 (file)
@@ -6,7 +6,6 @@
 
 #define LOG_CATEGORY UCLASS_PCH
 
-#include <common.h>
 #include <dm.h>
 #include <pch.h>
 
index 5fb35a19effee90916af91c2ceef37240b144be3..4ef82a77e270493d686cab5be1e9d0eda1f857ca 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2014 Google, Inc
  */
 
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <pch.h>
index 3137eb2c28f5bb4e846aacaf636058c3fb2e7791..24b0465efde48744343a4a81660cde26eb398c00 100644 (file)
@@ -5,7 +5,6 @@
 
 #define LOG_CATEGORY   UCLASS_PCH
 
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <pch.h>
index 37c368954b45311f51493247feec6417d602b2ac..aa82dca560f1cc1a4825196ab07911293e9e8159 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright 2018 Google LLC
  */
 
-#include <common.h>
 #include <dm.h>
 #include <pch.h>
 
index af0e55cd2f2cd99e654d1484a66fdb761f3128d9..f5db4bdb7605783f9fc10181c752e884743256cf 100644 (file)
@@ -25,7 +25,6 @@
  *
  */
 
-#include <common.h>
 #include <dm.h>
 #include <pci.h>
 #include <asm/io.h>
index a0b8afb87a012fd52bdad5ade62ff5dd7c4534c6..166ee9fcd431a61e32a3273633ed631f1a1f9ba2 100644 (file)
@@ -4,7 +4,6 @@
  * Written by Simon Glass <sjg@chromium.org>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <fdtdec.h>
 #include <log.h>
index b81eb35368967b6ebf55f69f4c802af4f31ac94a..12c31e74087f1db843934d5cef18f29c2ed9a74d 100644 (file)
@@ -5,7 +5,7 @@
  * Copyright (C) 2018 Marek Vasut <marek.vasut@gmail.com>
  */
 
-#include <common.h>
+#include <config.h>
 #include <asm/io.h>
 #include <clk.h>
 #include <dm.h>
index 1252ef74c581b7f5731aae9ac76fe559c387992c..76878246f1e02b20d28a9fcbd6fc8d274d6fb0fc 100644 (file)
@@ -15,7 +15,6 @@
  * Author: Phil Edworthy <phil.edworthy@renesas.com>
  */
 
-#include <common.h>
 #include <asm/io.h>
 #include <clk.h>
 #include <dm.h>
index 1a48256de036edc25412cfbbc67465a56a2842d0..6571e653049deab2f46bf3d5cfe7ebf67b3f18c4 100644 (file)
@@ -6,7 +6,6 @@
 
 #define LOG_CATEGORY UCLASS_PCI
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <init.h>
index 01230360bad21e8a705d509c15a987807028489b..90f81886445740f606df7a6e3f0eead9398f86cb 100644 (file)
@@ -8,7 +8,7 @@
  * Copyright (c) 2021  Maciej W. Rozycki <macro@orcam.me.uk>
  */
 
-#include <common.h>
+#include <config.h>
 #include <dm.h>
 #include <errno.h>
 #include <log.h>
index 2f4aff01049a2dcb48d00c5f9e97e7459e6cc524..cfa818ed82183d00a36b1193e5a23b6ecd9a3bf9 100644 (file)
@@ -11,7 +11,6 @@
  * Written by Simon Glass <sjg@chromium.org>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <log.h>
index a18251297fd0db3c37a837d467f010ca994b8851..a57cf11cc537775a393c8565a7caf753900d4fd3 100644 (file)
@@ -9,7 +9,6 @@
  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  */
 
-#include <common.h>
 #include <dm.h>
 #include <env.h>
 #include <errno.h>
index 9dddca8efe07a14873cad62049fa5aa620b3eba1..8233925e525e76f50c40e58e51062554892f57f7 100644 (file)
@@ -4,7 +4,6 @@
  *
  * Copyright (C) 2014 Google, Inc
  */
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <log.h>
index a1775445005a2f4cf078ab4962f3a33778b9c7e9..43275b3d6a228354101ab69f86e44dd7e8fa94e8 100644 (file)
@@ -1,6 +1,5 @@
 // SPDX-License-Identifier: GPL-2.0-or-later
 
-#include <common.h>
 #include <pci.h>
 #include <dm.h>
 #include <asm/io.h>
index 249cfe66466b75a2e7dfee5df7dbc2ce500183c3..c07feba79768e971155f3dba9a722e7f081ec975 100644 (file)
@@ -4,7 +4,6 @@
  * Heiko Schocher, DENX Software Engineering, hs@denx.de.
  *
  */
-#include <common.h>
 #include <asm/bitops.h>
 #include <pci.h>
 #include <dm.h>
index 83559550e6fbe8e8a176c49dbacb6b4a12c340a2..77815513b768415ef0472be58debcb506833b2d2 100644 (file)
@@ -10,7 +10,6 @@
  * Pali Rohár <pali@kernel.org>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <malloc.h>
index 438583aa01795187e3e3eca147729b8b8bedf977..78e5de937cdf8e1df4bcfa7607a58b9e0e6e2d7e 100644 (file)
@@ -24,7 +24,6 @@
 
 #define LOG_CATEGORY UCLASS_PCI
 
-#include <common.h>
 #include <bios_emul.h>
 #include <bloblist.h>
 #include <bootstage.h>
@@ -36,6 +35,7 @@
 #include <pci.h>
 #include <pci_rom.h>
 #include <spl.h>
+#include <time.h>
 #include <vesa.h>
 #include <video.h>
 #include <acpi/acpi_s3.h>
index ca44d002371e2b3f7c2aea2a07ad39560020b931..fed0850458d90f9e0c9c7520bc154d7a71a6289b 100644 (file)
@@ -4,7 +4,6 @@
  * Written by Simon Glass <sjg@chromium.org>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <fdtdec.h>
 #include <log.h>
index c1be56ce7a082580bb37a5f196de9f7d95c2a367..3cd01e9b94a285559ddb52beb8b88c86c8ccc359 100644 (file)
@@ -5,7 +5,7 @@
  * (C) 2007,2008 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
  */
 
-#include <common.h>
+#include <config.h>
 #include <dm.h>
 #include <pci.h>
 #include <asm/processor.h>
index d6374a58e330a4d38778acbb1f8961489a889f01..bb8832c6ab96cda4daa58c2819bc15004c66d63a 100644 (file)
@@ -11,7 +11,6 @@
 
 #define pr_fmt(fmt) "tegra-pcie: " fmt
 
-#include <common.h>
 #include <clk.h>
 #include <dm.h>
 #include <errno.h>
index 8d036930e73b9e936285cf265f0ab834eb27e705..ab76166451c77c34a0553d272c66f263fa13e28e 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (c) 2015 Google, Inc
  */
 
-#include <common.h>
 #include <dm.h>
 #include <pci.h>
 #include <asm/pci.h>
index 21bafba3b0eeffb720cc6ac0b930ea8ce3fe34fb..6a8e715d4b6e16da07c4623c1fc8a758d4e52795 100644 (file)
@@ -16,7 +16,6 @@
  * Author: Marc Zyngier <maz@kernel.org>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <dm/device_compat.h>
 #include <dm/devres.h>
index cd45f0bee9b7996b9305eb80fb282904a87821e4..f978c64365c38419cc13d3d5235b53d676c4a1c9 100644 (file)
@@ -12,7 +12,6 @@
  * Copyright (C) 2020 Nicolas Saenz Julienne <nsaenzjulienne@suse.de>
  */
 
-#include <common.h>
 #include <errno.h>
 #include <dm.h>
 #include <dm/ofnode.h>
index 74fb6df412c7c200b03b78947c393f4c3ecff4c1..0673e516c6fee6c01e5a5d23592e0ef55d49d823 100644 (file)
@@ -8,7 +8,6 @@
  * Copyright (C) 2018 Texas Instruments, Inc
  */
 
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <pci.h>
index f953797908b871c3ab50ea48df26a500dd5a348e..bb78e7874b14d1f8f186cd4e6d37623db42c6ea0 100644 (file)
@@ -9,7 +9,6 @@
  * Copyright (c) 2021 Rockchip, Inc.
  */
 
-#include <common.h>
 #include <clk.h>
 #include <dm.h>
 #include <generic-phy.h>
index c41f3f1530443db1fd46937a542fbccebe806bb8..43b919175c9255de3cb7415ce66ee0c9c6686569 100644 (file)
  *   - drivers/pci/pcie_xilinx.c
  */
 
-#include <common.h>
+#include <config.h>
 #include <dm.h>
 #include <log.h>
 #include <pci.h>
+#include <time.h>
 #include <asm/global_data.h>
 #include <asm/io.h>
 #include <asm-generic/gpio.h>
index bc4635f67136ae188334bca9f83f7e838fc4d99e..1bad51fb3eb5bb6fde33bf6a61f77234f85a73e1 100644 (file)
@@ -5,7 +5,6 @@
  * Copyright (c) 2021 Rockchip, Inc.
  */
 
-#include <common.h>
 #include <clk.h>
 #include <dm.h>
 #include <generic-phy.h>
index fac3f182372413edb42417e01c5a23aa38f0bc75..6285edf4b03707e1ed0324d0d76b561642ec197e 100644 (file)
@@ -14,7 +14,6 @@
 #include <asm/io.h>
 #include <asm-generic/gpio.h>
 #include <clk.h>
-#include <common.h>
 #include <dm.h>
 #include <dm/device_compat.h>
 #include <generic-phy.h>
index 4195a02de390e77cfd51c06779504531ff4a16b5..78a5d035865191c1d5b8967dcb11fb1a07b03ec9 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2018 Texas Instruments, Inc
  */
 
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <pci.h>
index f5bc6e3d92d646b6123921dabd902298731729dd..3cb2bbbccb4439e18d0f2b69329e9747483ee083 100644 (file)
@@ -7,7 +7,6 @@
  * Copyright (C) 2016 Imagination Technologies
  */
 
-#include <common.h>
 #include <dm.h>
 #include <pci.h>
 #include <linux/ioport.h>
index e3e22891088e2bf87d710f0a7ee77b1538ba6819..fc855dfca4eb23022b4805883eb6d9f812aa6a6f 100644 (file)
@@ -8,7 +8,6 @@
  * Copyright (C) 2021 Linaro Ltd.
  */
 
-#include <common.h>
 #include <dm.h>
 #include <pci.h>
 #include <log.h>
index ec917ee7d5b87d4c2401e08f0cf5b6e53e26e593..18af23c9504e9a4b353ebe0db4685b52a9bcc8a9 100644 (file)
@@ -6,7 +6,7 @@
  * Author: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>
  */
 
-#include <common.h>
+#include <config.h>
 #include <dm.h>
 #include <malloc.h>
 #include <mapmem.h>
index f4e227895d174534d0c7fb70375c5ef5f729d622..9187e7af74617a8efc313f3d2c7c6da6efc9fe29 100644 (file)
@@ -6,7 +6,6 @@
  * Author: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>
  */
 
-#include <common.h>
 #ifdef CONFIG_OF_BOARD_SETUP
 #include <dm.h>
 #include <fdt_support.h>
index 78f2c7d6bcdf9e0aa0d9931348088202465aeb14..11c4ccbfc5553a826f72c40d4ad1c5a7e8aae07c 100644 (file)
@@ -17,7 +17,6 @@
  * those too in order to have a single modern PCIe iMX driver.
  */
 
-#include <common.h>
 #include <init.h>
 #include <log.h>
 #include <malloc.h>
index 60195cfe1b6e4e8d684197c22496a0d63c40df97..959fd3690869131615f41d8522c542449f3e8054 100644 (file)
@@ -6,7 +6,6 @@
  *
  */
 
-#include <common.h>
 #include <dm.h>
 #include <pci.h>
 #include <asm/global_data.h>
index d6d3a9e202505d00d09152c8223e6fa93b6e6779..360ef1b011f21e8627e2502ac7c77aa3cd35cc17 100644 (file)
@@ -4,7 +4,6 @@
  *
  */
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <generic-phy.h>
index 3c7c4ca18e8b5324bb5bf3e0a1f28fb86774fc09..1be33095b9cee07e563f841ecafa8c1b5ef0bfe5 100644 (file)
@@ -5,7 +5,6 @@
  * Layerscape PCIe driver
  */
 
-#include <common.h>
 #include <log.h>
 #include <asm/global_data.h>
 #include <asm/io.h>
index 83f7eebd6277002600fe1271f20e6f139ab00143..3520488b345356a13b058c268750ebae6d35142a 100644 (file)
@@ -4,7 +4,7 @@
  * Layerscape PCIe EP driver
  */
 
-#include <common.h>
+#include <config.h>
 #include <asm/arch/fsl_serdes.h>
 #include <dm.h>
 #include <asm/global_data.h>
index c5198353957bbba9f5d29254632df94b5c952a3e..ec4a7e7b65743937fde7e15ede17ff57becf91c6 100644 (file)
@@ -5,7 +5,6 @@
  * Layerscape PCIe driver
  */
 
-#include <common.h>
 #include <dm.h>
 #include <init.h>
 #include <log.h>
index 095874a92763298cf4ef752316572b3e17ac4a17..f37e37f6b153e8a21061ab7ed3d663934d700ace 100644 (file)
@@ -7,10 +7,10 @@
  *
  */
 
-#include <common.h>
 #include <init.h>
 #include <asm/arch/clock.h>
 #include <asm/arch/soc.h>
+#include <linux/errno.h>
 #include <linux/libfdt.h>
 #include <fdt_support.h>
 #include "pcie_layerscape_fixup_common.h"
index 021c975869fd5c8be73d1b06bd5b3710c84638aa..57dc91f2faef6af50755bc0bc4c6f0ad185aee39 100644 (file)
@@ -6,7 +6,7 @@
  * Author: Hou Zhiqiang <Minder.Hou@gmail.com>
  */
 
-#include <common.h>
+#include <config.h>
 #include <log.h>
 #include <asm/arch/fsl_serdes.h>
 #include <pci.h>
index b2a45bf105c84c2e2fa801f3efdba6177a53302d..60c4338bcdb5434ef7a3fb27b56d08a48067b5a7 100644 (file)
@@ -7,7 +7,6 @@
  *
  */
 
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <pci.h>
index 6a5bf88da2340edb15c777592e7f4a2baefaafda..e7913d43a8be398f870ec949601ccc2eb493d672 100644 (file)
@@ -4,7 +4,6 @@
  * Layerscape PCIe driver
  */
 
-#include <common.h>
 #include <asm/arch/fsl_serdes.h>
 #include <pci.h>
 #include <asm/global_data.h>
index f0f34b5d119702920f5153e3905845c21478127e..04d8cc29afd5c9f559b8590f1a23e0c3c6e5c07b 100644 (file)
@@ -7,7 +7,6 @@
  *        Honghui Zhang <honghui.zhang@mediatek.com>
  */
 
-#include <common.h>
 #include <clk.h>
 #include <dm.h>
 #include <generic-phy.h>
index 3bd1f5cd6d912e2f5155fa2d5bb662af08404a48..94de89bcad7b49bd529cfce5cb8c26ac397a25e1 100644 (file)
@@ -7,7 +7,6 @@
  * Copyright (C) 2019
  */
 
-#include <common.h>
 #include <dm.h>
 #include <pci.h>
 #include <asm/global_data.h>
index cd74bb471163be6667c7b9d3bdb8578d660d6c24..622a5cee1099208bd3cf484bda2cb49b5acffc12 100644 (file)
@@ -6,7 +6,6 @@
  *
  */
 
-#include <common.h>
 #include <clk.h>
 #include <dm.h>
 #include <pci.h>
index 624841e9d8b81c0311002d20c8c7ea6764cf49e7..19f9e58a640dca9c3f0c1cf4e605fd122bdd6a41 100644 (file)
@@ -11,7 +11,6 @@
  * Bits taken from Linux Rockchip PCIe host controller.
  */
 
-#include <common.h>
 #include <dm.h>
 #include <dm/device_compat.h>
 #include <generic-phy.h>
index 903a544d37f6266b6ea498c3e6c345123d89c44e..569fbfd35c81def0560deef85b2e689585aa305b 100644 (file)
@@ -7,7 +7,6 @@
  *
  */
 
-#include <common.h>
 #include <clk.h>
 #include <dm.h>
 #include <pci.h>
index f2edea9899a4004e9c188a288fa772d64f220a39..d1170b576bcd8cf74710e3c22054050ac07d3ffd 100644 (file)
@@ -5,7 +5,6 @@
  */
 
 #include <clk.h>
-#include <common.h>
 #include <dm.h>
 #include <dm/device_compat.h>
 #include <generic-phy.h>
index 3db460b5f93627304a3eeec82b2cd14b1568ea24..a674ab04beee834d40b4329f29faa3e24905af7e 100644 (file)
@@ -5,7 +5,6 @@
  * Copyright (C) 2016 Imagination Technologies
  */
 
-#include <common.h>
 #include <dm.h>
 #include <pci.h>
 #include <linux/bitops.h>
index 6ee4cfbdb4a849632473d81cb8726d12d1eac168..902d1a51eaa3e819883e0c63f001cfb5a1399a56 100644 (file)
@@ -11,7 +11,6 @@
 
 #define LOG_CATEGORY UCLASS_PCI_EP
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <asm/global_data.h>
index d58c64982b275cc909d1beb4381620ba4dfe9066..e02ea14e4e4a80a90cc65c46cde9acb193da413d 100644 (file)
@@ -4,7 +4,6 @@
  * Written by Ramon Fried <ramon.fried@gmail.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <pci_ep.h>
index de148cddb91e8c3527c71daa5cb5cefafa58e945..aa623fa357d561048b1c6311b19800207000e79e 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (c) 2019 Ramon Fried <ramon.fried@gmail.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <pci.h>
index 6624e9134f43baebf0bd612267498bd95a174a25..b9306c9a8279e0d1b7fae7766cd00384f877aa74 100644 (file)
@@ -10,7 +10,6 @@
  * SPDX-License-Identifier:    GPL-2.0+
  */
 
-#include <common.h>
 #include <clk.h>
 #include <dm.h>
 #include <log.h>
index a2fa446cb1c9c26042ff20cd25bc9ac880609e01..d715541bd4cb0e4db81bef95d14346a5bd06bffd 100644 (file)
@@ -7,7 +7,6 @@
  *     Copyright 2013 Florian Fainelli <florian@openwrt.org>
  */
 
-#include <common.h>
 #include <clk.h>
 #include <dm.h>
 #include <generic-phy.h>
index 857fb575ef19ee0df57d9dfaf0398581983e8f3e..ffb37b634a31a494e55c4128b31a5170356b157b 100644 (file)
@@ -7,7 +7,6 @@
  *     Copyright 2013 Florian Fainelli <florian@openwrt.org>
  */
 
-#include <common.h>
 #include <clk.h>
 #include <dm.h>
 #include <generic-phy.h>
index bfdcfb0d245ebe2406ddffc4ce4cebe300805021..a8d24609bfc0d9970595ba79de3c0458432f448d 100644 (file)
@@ -7,7 +7,6 @@
  *     Copyright 2013 Florian Fainelli <florian@openwrt.org>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <generic-phy.h>
 #include <log.h>
index 1a2870d51499818729d88204bfecfbd908a78cae..5bee130425d5dfc84cf5bfeddae162e295a712b5 100644 (file)
@@ -7,7 +7,6 @@
  *     Copyright 2013 Florian Fainelli <florian@openwrt.org>
  */
 
-#include <common.h>
 #include <clk.h>
 #include <dm.h>
 #include <generic-phy.h>
index 4bb8a0ca7f348531c4c5dd7009ba76c1610f7065..f5e23f36c56e225f0f303864ecacded5aab3b39c 100644 (file)
@@ -11,7 +11,6 @@
  * Jean-Jacques Hiblot <jjhiblot@ti.com>
  *
  */
-#include <common.h>
 #include <clk.h>
 #include <linux/delay.h>
 #include <linux/clk-provider.h>
index ef924e7af508b48b9a1e098b700008829c25eb52..d4e8ece4935a28b7a730e2a719273e9becc73d96 100644 (file)
@@ -10,7 +10,6 @@
  *
  */
 
-#include <common.h>
 #include <clk.h>
 #include <generic-phy.h>
 #include <reset.h>
index 3bb9c0814c14030e5baf5163c767b99319378aad..cfc15203d632e86d13d0d491a357da547e5c1f5a 100644 (file)
@@ -4,7 +4,6 @@
  * Written by Jean-Jacques Hiblot  <jjhiblot@ti.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <dm/device.h>
index c490dc69c69573a779db2c791aa80ec013c9fd83..bca325d1996067e5916b9ce222db549e2540868f 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2015-2016 Marvell International Ltd.
  */
 
-#include <common.h>
 #include <fdt_support.h>
 #include <log.h>
 #include <asm/global_data.h>
index 7272dfb9fe80c0825111bcc5775dff18ada78996..a666a4e794eec43a39b189a4a446909df174da49 100644 (file)
@@ -5,7 +5,6 @@
  * Copyright (C) 2016 Stefan Roese <sr@denx.de>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <fdtdec.h>
 #include <asm/global_data.h>
index bb15fbaf347eaee3459be7c76dc0e72536ba4d01..b8cdedf6edf087f9e848e00844e369dee80d281e 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2015-2016 Marvell International Ltd.
  */
 
-#include <common.h>
 #include <fdtdec.h>
 #include <log.h>
 #include <asm/global_data.h>
@@ -12,6 +11,7 @@
 #include <asm/arch/cpu.h>
 #include <asm/arch/soc.h>
 #include <linux/delay.h>
+#include <linux/errno.h>
 #include <linux/printk.h>
 
 #include "comphy_core.h"
index 10981d25ec9540ca4cfec898da1971e5ff4e5156..a8aa37fc46f354278c5b52e1f85073f7cdd5d039 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2015-2016 Marvell International Ltd.
  */
 
-#include <common.h>
 #include <log.h>
 #include <asm/io.h>
 
index faa1d9d6d378097a20ad9e5c3268c06fa3000a5d..3f89de19970bfb39c6fc69b6b770640204729fb1 100644 (file)
@@ -7,7 +7,6 @@
  * Author: Neil Armstrong <narmstrong@baylibre.com>
  */
 
-#include <common.h>
 #include <log.h>
 #include <malloc.h>
 #include <asm/io.h>
index 236ea1ce5ca7f172535c1b01d95b3df3c78946e7..731917cef434ca6df6ecba0a34ae8c2292e9c241 100644 (file)
@@ -7,7 +7,6 @@
  * Author: Neil Armstrong <narmstrong@baylibre.com>
  */
 
-#include <common.h>
 #include <log.h>
 #include <malloc.h>
 #include <asm/io.h>
index 3958d2404b85d8a35cff66281714cc317b1c3983..8cded12438b9cb050658b927583544349fe91e32 100644 (file)
@@ -7,7 +7,6 @@
  * Author: Neil Armstrong <narmstron@baylibre.com>
  */
 
-#include <common.h>
 #include <log.h>
 #include <malloc.h>
 #include <asm/io.h>
index 1eaff410efa4710f3f61bff2a0d2a0f47092d193..4d183867c3a0876273f4fefe7ea2874e23988b5c 100644 (file)
@@ -7,7 +7,6 @@
  * Author: Neil Armstrong <narmstron@baylibre.com>
  */
 
-#include <common.h>
 #include <clk.h>
 #include <dm.h>
 #include <malloc.h>
index 725b056a71a78c39985093865287e3c656111e60..4c88ccf39276204232d46a6e97bed547d73a78ac 100644 (file)
@@ -8,7 +8,6 @@
  * Author: Beniamino Galvani <b.galvani@gmail.com>
  */
 
-#include <common.h>
 #include <clk.h>
 #include <dm.h>
 #include <generic-phy.h>
index d633effa4042612e29e7b827e5b0fdc6acba1c5e..92c285103c4a22157642bd3e2cddff37ceabcab3 100644 (file)
@@ -7,7 +7,6 @@
  * Author: Neil Armstrong <narmstron@baylibre.com>
  */
 
-#include <common.h>
 #include <malloc.h>
 #include <asm/io.h>
 #include <bitfield.h>
index 4069208b67905f514f15feebbbc4760db62d0bd1..99f8a221f5a1d53066d703f7a21d54b5caf8bbd7 100644 (file)
@@ -7,7 +7,6 @@
  */
 
 #include <clk.h>
-#include <common.h>
 #include <dm.h>
 #include <generic-phy.h>
 #include <log.h>
index c53e3216d0fd6182c48191a48834a6900af6f7ee..286171cba76a26bc3092f5b2c490b4a3ad6ab77c 100644 (file)
@@ -5,7 +5,6 @@
  */
 
 #include <clk.h>
-#include <common.h>
 #include <dm.h>
 #include <dm/device.h>
 #include <dm/device_compat.h>
index d3d38062ecf789c8b68ba37603962395eb7b7135..2be0178882a417e7ce1587849179952e41323fd8 100644 (file)
@@ -6,7 +6,6 @@
  * Written by Jean-Jacques Hiblot <jjhiblot@ti.com>
  */
 
-#include <common.h>
 #include <asm/global_data.h>
 #include <asm/io.h>
 #include <dm.h>
index 3d3d48c9733a4bfcc2482d135c53922ccc18be7d..5de7b6f86ccaf67800a3ab4f17ae563f613ee14a 100644 (file)
@@ -1,7 +1,6 @@
 // SPDX-License-Identifier: GPL-2.0+
 /* Copyright (C) 2019 Stephan Gerhold */
 
-#include <common.h>
 #include <dm.h>
 #include <generic-phy.h>
 #include <linux/bitops.h>
index 15c5b8a1c2d0f092cf1b082e641066af950807ff..78eedf676b09324610009e3fb992ebd5defae318 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2022 Mark Kettenis <kettenis@openbsd.org>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <dm/device-internal.h>
 #include <generic-phy.h>
index cf33bab370729b57bd2de604f6d85e99452cd2ed..97859a0cb87e9f144ad75405fc9342260ad80a34 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2019 Broadcom
  */
 
-#include <common.h>
 #include <dm.h>
 #include <generic-phy.h>
 #include <asm/io.h>
index bb61816add27da42668b399c7b03011040faabea..8fb985a1e6828d02c54f546f6084dcc9b8605c66 100644 (file)
@@ -4,8 +4,8 @@
  * Copyright (C) 2018 Cadence Design Systems Inc.
  */
 
-#include <common.h>
 #include <div64.h>
+#include <linux/kernel.h>
 #include <linux/time.h>
 
 #include <phy-mipi-dphy.h>
index d025188eae983d42d8f91cc2a44df4e653d649ee..cf26aaaa3d82717655ef6ad86fb77a8b46d594db 100644 (file)
@@ -6,9 +6,9 @@
  * DT support added by: Adam Ford <aford173@gmail.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <log.h>
+#include <time.h>
 #include <dm/device-internal.h>
 #include <dm/lists.h>
 #include <asm/arch/hardware.h>
index e5e96e77a681b4f347262ff650201094a3f95925..75763046adc1cbdc0a8f386acb69f1104ac21d07 100644 (file)
@@ -4,7 +4,6 @@
  *
  */
 
-#include <common.h>
 #include <asm/io.h>
 #include <dm.h>
 #include <errno.h>
index ea9edf212c6f0e4700ccfaeaca53232b38ed4465..6f9ac1528e888fdbaccd6209047a3ea8e7ddc8c4 100644 (file)
@@ -5,7 +5,6 @@
  *        Ryder Lee <ryder.lee@mediatek.com>
  */
 
-#include <common.h>
 #include <clk.h>
 #include <dm.h>
 #include <generic-phy.h>
index 09fb14e26f043ae6e9c4baf5885a9c9a1ecb3820..2cca0f4a0546b1c4ad3a57d6a5e14b511d6081be 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (c) 2021 Nuvoton Technology Corp.
  */
 
-#include <common.h>
 #include <dm.h>
 #include <generic-phy.h>
 #include <regmap.h>
index e528c4ec57934216f8067841ee20e6a370260d02..f9428c7ad122a6d3c1908c46870c0788c6ce0d43 100644 (file)
@@ -5,7 +5,6 @@
  * Copyright (C) 2018 Marek Vasut <marek.vasut@gmail.com>
  */
 
-#include <common.h>
 #include <clk.h>
 #include <div64.h>
 #include <dm.h>
index 03c747b373b1aab317f760d4bd07c3083006dd57..7c292cae0e2fa00516ac5c1c23e45ba9cbce9baf 100644 (file)
@@ -5,7 +5,6 @@
  * Copyright (C) 2018 Marek Vasut <marek.vasut@gmail.com>
  */
 
-#include <common.h>
 #include <clk.h>
 #include <div64.h>
 #include <dm.h>
index 000e495dbd4e1b54c893d16e97958364421d2460..8d643b762f90cd01570e31ed925f7c7cd9204861 100644 (file)
@@ -5,7 +5,6 @@
 
 #define LOG_CATEGORY UCLASS_PHY
 
-#include <common.h>
 #include <clk.h>
 #include <clk-uclass.h>
 #include <div64.h>
index 70a746d2c92dcca45bc5948978c6059b006eceda..c3d9972397aac2a29eee369a11ab8830166c82e1 100644 (file)
@@ -6,7 +6,6 @@
  * Author: Kishon Vijay Abraham I <kishon@ti.com>
  */
 
-#include <common.h>
 #include <clk-uclass.h>
 #include <dm.h>
 #include <log.h>
index 0dcfe258bc44f004ba271e3c03b06091b2b9479e..acdcda15b5b85b94bb13e52ccedcfb04f4699704 100644 (file)
@@ -6,7 +6,6 @@
 
 #define LOG_CATEGORY UCLASS_PHY
 
-#include <common.h>
 #include <dm.h>
 #include <dm/device_compat.h>
 #include <dm/devres.h>
index d1288bb17f3c15c051c3ac7e6211b1b35b6cf2cb..7049e740d56969ae7f28cdb793c857e19dad8dba 100644 (file)
@@ -9,7 +9,6 @@
  * Author: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
  */
 
-#include <common.h>
 #include <clk-uclass.h>
 #include <dm.h>
 #include <generic-phy.h>
index f52046f7cb02c616b18a3c4d67caa26da4d4979e..4b435aa2a6eb3378156ac30149703c5714428e40 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2018 Ramon Fried <ramon.fried@gmail.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <generic-phy.h>
 #include <linux/bitops.h>
index 5808489249f5fff42d5b8f1708d39a7f5add84b3..3b647324e021d6d9ebef6935fa89624dd167b00c 100644 (file)
@@ -8,7 +8,6 @@
  */
 
 #include <clk.h>
-#include <common.h>
 #include <dm.h>
 #include <generic-phy.h>
 #include <log.h>
index 05a9a2cf1d7cee3e9dbe1bfd984771525c50c1b5..c344809a6086556493450c39928d3e45901c77c3 100644 (file)
@@ -5,7 +5,6 @@
  * Based on Linux driver
  */
 
-#include <common.h>
 #include <dm.h>
 #include <generic-phy.h>
 #include <reset.h>
index 1b03a3c43dc8d78cf10fedf32103cc9aa2b9c9ef..270d09d883c45867720d2c0b9cf07799373efd56 100644 (file)
@@ -5,7 +5,6 @@
  * Based on Linux driver
  */
 
-#include <common.h>
 #include <dm.h>
 #include <generic-phy.h>
 #include <linux/bitops.h>
index bd1fdd3a667d379a7ca9f9d905cb61635a91babb..40284ef2fd34dc263409092627b549f661a4614d 100644 (file)
@@ -7,7 +7,6 @@
 #include <asm/io.h>
 #include <clk-uclass.h>
 #include <clk.h>
-#include <common.h>
 #include <div64.h>
 #include <dm.h>
 #include <dm/device_compat.h>
index 9ca66bf8db92be3345228225272e204792e3f56a..3ad339bccc1d59e7e7c481592b8886ad462df51c 100644 (file)
@@ -5,7 +5,6 @@
  * Copyright (C) 2021 Rockchip Electronics Co., Ltd.
  */
 
-#include <common.h>
 #include <clk.h>
 #include <dm.h>
 #include <dm/lists.h>
index 44ca4bc7919e31b543f11f45733a6df092c37696..660037034ec0368f991ab01e8015fb812eb696f6 100644 (file)
@@ -7,7 +7,6 @@
  * Copyright (C) 2016 ROCKCHIP, Inc.
  */
 
-#include <common.h>
 #include <clk.h>
 #include <dm.h>
 #include <asm/global_data.h>
index a4392daf4c922624a0fb4270888c95fe78c91197..2737bd81dd968227eb071b6929bf0ea9805ad531 100644 (file)
@@ -5,7 +5,6 @@
  * Copyright (C) 2021 Rockchip Electronics Co., Ltd.
  */
 
-#include <common.h>
 #include <clk.h>
 #include <dm.h>
 #include <generic-phy.h>
index 47c69dd6c4537fbed4c411b60d257ee386d35baf..c7459dbc5fc6437fcdff729483e95e7ad3b301cb 100644 (file)
@@ -8,7 +8,6 @@
  *         Kever Yang <kever.yang@rock-chips.com>
  */
 
-#include <common.h>
 #include <clk.h>
 #include <dm.h>
 #include <asm/global_data.h>
index 18e76402799b729ba3df1ed92372dd76f2468b7d..9deec47ae4623024c7610a50b13cfc203534c3ed 100644 (file)
@@ -5,7 +5,6 @@
  * Copyright (C) 2021 Rockchip Electronics Co., Ltd
  */
 
-#include <common.h>
 #include <clk.h>
 #include <dm.h>
 #include <dm/device_compat.h>
index 7e123da25fb4f4d9fb0455751ec29af333ed95ea..b159147a765bbea8b39dc22a2d50c50fb1597bb2 100644 (file)
@@ -4,7 +4,6 @@
  * Written by Jean-Jacques Hiblot  <jjhiblot@ti.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <generic-phy.h>
 
index d352c4ca3a9c443e53a4dd6a304a4dc4f949b680..91208dfe12000e219123e1dee94df25484b92014 100644 (file)
@@ -4,7 +4,6 @@
  * Copyright 2019-2021 Socionext, Inc.
  */
 
-#include <common.h>
 #include <dm.h>
 #include <generic-phy.h>
 #include <linux/bitops.h>
index 1d65b0b08f760778f7513aaa3588d001c48e3a75..1d65c1f7da52b627c7142100a47a84cbd7cdbaf3 100644 (file)
@@ -4,7 +4,6 @@
  * Copyright 2019-2023 Socionext, Inc.
  */
 
-#include <common.h>
 #include <dm.h>
 #include <generic-phy.h>
 
index 9e5ac9bfde67315533e29e71c3e6f3bd35bc8dac..2447e89f50dff1db57c530fadf491204c0474646 100644 (file)
@@ -4,7 +4,6 @@
  * Author(s): Patrice Chotard, <patrice.chotard@foss.st.com> for STMicroelectronics.
  */
 
-#include <common.h>
 #include <log.h>
 #include <asm/global_data.h>
 #include <asm/io.h>
index 29a35ae5ffb96333ea68b388b9da650c68936ff2..62f6cc2bfbfd03fa9e4a33d9b172e0b48ebc7481 100644 (file)
@@ -4,7 +4,6 @@
  * Written by Jean-Jacques Hiblot  <jjhiblot@ti.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <dm/device.h>
 #include <generic-phy.h>
index daf62f5deda039ae6eb12b637bb15c6d81dfaf52..c69a342e2b495d052055bd710abdf6323ac927fe 100644 (file)
@@ -4,7 +4,6 @@
  * Jean-Jacques Hiblot <jjhiblot@ti.com>
  */
 
-#include <common.h>
 #include <clk-uclass.h>
 #include <dm.h>
 #include <dm/device_compat.h>
index 93920a6389bfb04b329d04fbbcae95e604f75811..9e7c347caf895757db081a589ff01d4f308a45e0 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright 2017 Google, Inc
  */
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <log.h>
index 8a4f9705ca934764b00bb81e19338f7d1b2a57ae..bc12590e583604c96f643084072ddfac79824291 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) ASPEED Technology Inc.
  */
 
-#include <common.h>
 #include <errno.h>
 #include <asm/arch/pinctrl.h>
 #include <asm/arch/scu_ast2600.h>
index eb673a9f69cb9febdf9483241e9251134002976e..61e37a2e5598836a818e18f274dbe148e606fbcf 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2015-2016 Wills Wang <wills.wang@live.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <log.h>
index 0d534268e9661a73cc1cfd757e9386386cb66e5b..e4f695fc4d44c7b851bc84febf81a6653edb48c2 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2015-2016 Wills Wang <wills.wang@live.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <log.h>
index e949cb70900ab2ccd0b6a23822c4ab10fa1457af..cf9350c151e0521aa8f9246a3d26041918d172fc 100644 (file)
@@ -10,7 +10,6 @@
  * https://spdx.org/licenses
  */
 
-#include <common.h>
 #include <config.h>
 #include <errno.h>
 #include <dm.h>
index 58f28a137096798307c11e789bcb1c30fb5c09b0..7d0c09a130c6f687a02fc84070af54750f8b04b2 100644 (file)
@@ -1,6 +1,5 @@
 // SPDX-License-Identifier: GPL-2.0
 
-#include <common.h>
 #include <dm.h>
 #include <regmap.h>
 #include <syscon.h>
index 8a045cdf7aa8948e9567b61a34f326286a9a416b..b393127c642c063116f753808b51219f4e091596 100644 (file)
@@ -6,7 +6,6 @@
  */
 
 #include <log.h>
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <asm/io.h>
index 77d510d8f6003c89dc78296bbfc2cf326307670e..8fdf60715a53cd8fe18c65744af3a49023056aa1 100644 (file)
@@ -5,7 +5,6 @@
  * Thomas Abraham <thomas.ab@samsung.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <asm/io.h>
index 1b696fdfd288bf5030679c892b935e3e4e5a81cf..61b98443daf3d5d13f1004bcb8ec41707ef94c91 100644 (file)
@@ -9,7 +9,6 @@
  * Thomas Abraham <thomas.ab@samsung.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <asm/io.h>
index 1607000dedc1011077515c9091c98b1dbb7ddc86..6cfe83a593a278c9299219f33b7221ddce8bb70f 100644 (file)
@@ -16,7 +16,6 @@
 
 #define LOG_CATEGORY UCLASS_GPIO
 
-#include <common.h>
 #include <dm.h>
 #include <irq.h>
 #include <log.h>
index 181a6ff27026c74d24634f25de4c7a61ca2fc554..e554d2854353aea4570178f30a7b70539d55537a 100644 (file)
@@ -8,7 +8,6 @@
 
 #define LOG_CATEGORY UCLASS_GPIO
 
-#include <common.h>
 #include <dm.h>
 #include <dt-structs.h>
 #include <log.h>
index 0baef57c1c2f9ac32679e03941955f41c47b994d..37fc28bb779048c2b404f638ae514dbd3d96938d 100644 (file)
@@ -4,7 +4,6 @@
  * Author: Ryder Lee <ryder.lee@mediatek.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <dm/device-internal.h>
 #include <dm/lists.h>
index 30cf3bc0be4ebfc021371576efbb98d6bb19038f..7e9ac6390b1edac1116fbeb8fdc9d98733b7628c 100644 (file)
@@ -6,7 +6,6 @@
  * Author: Igor Prusov <ivprusov@sberdevices.ru>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <dm/pinctrl.h>
 #include <dt-bindings/gpio/meson-a1-gpio.h>
index cfe94cf9e17ddb42c87a254fc3a9c56d43f39cec..52c726cf038e26b15f1558634ed3da0fc1c40863 100644 (file)
@@ -6,7 +6,6 @@
 
 #include <log.h>
 #include <asm/gpio.h>
-#include <common.h>
 #include <dm.h>
 #include <dm/pinctrl.h>
 #include <linux/io.h>
index 820a6c9bb1aa2b5ca98e9f5c984d9aa4cce9808a..94e09cd3f8a2c64d99e0ab8abd7b3fca0ab5936a 100644 (file)
@@ -7,7 +7,6 @@
  *  Author: Xingyu Chen <xingyu.chen@amlogic.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <dm/pinctrl.h>
 #include <dt-bindings/gpio/meson-axg-gpio.h>
index 90a4f8056cdb77e7a7614acf0accd1e9acf76a96..24f47f825582b1094a203af34875b8c9ca1fd3d4 100644 (file)
@@ -8,7 +8,6 @@
  * Author: Yixun Lan <yixun.lan@amlogic.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <dm/pinctrl.h>
 #include <dt-bindings/gpio/meson-g12a-gpio.h>
index 99502d89c6c09e68be0b9af5cd570fd530901913..396b3a0e842e303da7de0a3868f41be553ab798c 100644 (file)
@@ -5,7 +5,6 @@
 
 #include <log.h>
 #include <asm/gpio.h>
-#include <common.h>
 #include <dm.h>
 #include <dm/pinctrl.h>
 #include <linux/bitops.h>
index 93a895c9fa7f3725f588cf8540f2dff499f8c728..03ae1f9f8a5d7413f664cc5896319fd0f386062f 100644 (file)
@@ -6,7 +6,6 @@
  *   Copyright (C) 2016 Endless Mobile, Inc.
  */
 
-#include <common.h>
 #include <dm.h>
 #include <dm/pinctrl.h>
 #include <dt-bindings/gpio/meson-gxbb-gpio.h>
index a44145e2d4e80293f3ed52f68627e471fa564a3c..16517f95ddbfa2438ce8791eb30a3d309e1e1e41 100644 (file)
@@ -6,7 +6,6 @@
  *   Copyright (C) 2016 Endless Mobile, Inc.
  */
 
-#include <common.h>
 #include <dm.h>
 #include <dm/pinctrl.h>
 #include <dt-bindings/gpio/meson-gxl-gpio.h>
index ee362d8464fc0a569e8b51ca1b08f88856dd3442..babf1bccc9697596522dc93d8906ff0454cfebf5 100644 (file)
@@ -3,7 +3,6 @@
  * (C) Copyright 2016 - Beniamino Galvani <b.galvani@gmail.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <malloc.h>
index 307ed1db8750ccc613b4fa36248570460136d6d5..2af5587ec47a3e635c1d1218176f138af0b898f9 100644 (file)
@@ -10,7 +10,6 @@
 
 #include <asm/gpio.h>
 #include <asm/system.h>
-#include <common.h>
 #include <config.h>
 #include <dm.h>
 #include <dm/device-internal.h>
index cb340581cc0f8758562c69161524caba9e21b35b..4ef4040cd702b99c3cf47b656dccec48bf10eb86 100644 (file)
@@ -6,7 +6,6 @@
  * Copyright (c) 2018 Microsemi Corporation
  */
 
-#include <common.h>
 #include <config.h>
 #include <dm.h>
 #include <dm/device-internal.h>
index 325c9a9705b252ec9d5d6e2af8e29861c2c65ace..7707350aace629ec5446ca8d3c78dc029ee06734 100644 (file)
@@ -7,7 +7,6 @@
  * Copyright (c) 2018 Microsemi Corporation
  */
 
-#include <common.h>
 #include <config.h>
 #include <dm.h>
 #include <dm/device-internal.h>
index 57e2ef0d7c16da5928057b9de55571818a8d8632..826388c2f7462b8783a562cf575d785b6a3f1a52 100644 (file)
@@ -10,7 +10,6 @@
 
 #include <asm/gpio.h>
 #include <asm/system.h>
-#include <common.h>
 #include <config.h>
 #include <dm.h>
 #include <dm/device-internal.h>
index a6b9796df81fc742e40c96bc0005a4d9bac38875..2081cd6750c86feea9115c04e15ec6b667b78fe4 100644 (file)
@@ -6,7 +6,6 @@
  * Copyright (c) 2019 Microsemi Corporation
  */
 
-#include <common.h>
 #include <config.h>
 #include <dm.h>
 #include <dm/device-internal.h>
index 8e8678580db1dddf9421d6e6d4ca42ab726fb27b..efa4e26d9f721625a4a44c8cad1d0257cd855872 100644 (file)
@@ -6,7 +6,6 @@
  * Copyright (c) 2019 Microsemi Corporation
  */
 
-#include <common.h>
 #include <config.h>
 #include <dm.h>
 #include <dm/device-internal.h>
index 79c63c7caec6caa6d5a0c4bd77e19147c5581a78..dc7acec4a77f6a767f339b4672e49ecb44de0ef1 100644 (file)
@@ -5,7 +5,6 @@
  * Author: Weijie Gao <weijie.gao@mediatek.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <asm/global_data.h>
 #include <dm/pinctrl.h>
index 869b781068513ee192a474e0acf7fae4ea3117ed..bab34e97b615abc5aeced4010537c67782e3ba92 100644 (file)
@@ -5,7 +5,6 @@
  * Author: Weijie Gao <weijie.gao@mediatek.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <malloc.h>
 #include <dm/pinctrl.h>
index e834dddfd137d4e352db79509ccda940240cca09..64036296e24d74abcc3280ff0f216b1aa5d651cd 100644 (file)
@@ -16,7 +16,6 @@
  * https://spdx.org/licenses
  */
 
-#include <common.h>
 #include <config.h>
 #include <dm.h>
 #include <malloc.h>
index 252151f3e5d9acbc9075894cc37bb34cddd9e3f5..78184d2860a85dca0123dbe0e42bbae353e57eb9 100644 (file)
@@ -1,7 +1,6 @@
 // SPDX-License-Identifier: GPL-2.0-or-later
 // (C) 2022 Pali Rohár <pali@kernel.org>
 
-#include <common.h>
 #include <config.h>
 #include <dm.h>
 #include <dm/devres.h>
index fd49a97b5b0a0945e7b7073204a70652e7d334e6..0d5fa4ceb9ca38ebfa2a129722aeb3628e680d74 100644 (file)
@@ -4,7 +4,6 @@
  * https://spdx.org/licenses
  */
 
-#include <common.h>
 #include <config.h>
 #include <fdtdec.h>
 #include <errno.h>
index 20497a746d26aa2c258c18cb4dce9f2022df5f9b..d5be7baf50ddc06b5817870d593699af238fd19e 100644 (file)
@@ -5,7 +5,6 @@
  * Bongyu, KOO <freestyle@nexell.co.kr>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <asm/global_data.h>
index 863eb1455d239167292f67ea6bf8521d82de187d..e7d0994f29e740cf90c6d42d2154b926ab1a8f74 100644 (file)
@@ -7,7 +7,6 @@
  * (C) Copyright 2019 Stefan Bosch <stefan_b@posteo.net>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <asm/global_data.h>
index 1596dcc4747e6b645d803e17acd5d4f6abc5cdc7..ff466c4910414db3ad8790cd59596a9836b29e28 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2016 Peng Fan <van.freenix@gmail.com>
  */
 
-#include <common.h>
 #include <malloc.h>
 #include <mapmem.h>
 #include <asm/global_data.h>
index b32b748cfc63cb95a6b7d12bb3fe29e3ecf7d7e3..6b690fdce8fd986a129c97b5ffa3dfef9914d7a8 100644 (file)
@@ -4,7 +4,6 @@
  * Copyright (C) 2016 Peng Fan <van.freenix@gmail.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <dm/pinctrl.h>
 
index 6994dbb61a3ddf74126f28e708b1175305604089..322eec87ff5d4ccaa7340d74e8ade2a5d45514c3 100644 (file)
@@ -4,7 +4,6 @@
  * Copyright (C) 2016 Peng Fan <van.freenix@gmail.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <dm/pinctrl.h>
 
index 77ddb8e0b9d515ce80a19ce38d5d39509bf88113..a8275e26456bb60d60df6e684d863ccfb7b33d49 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2016 Peng Fan <van.freenix@gmail.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <dm/pinctrl.h>
 
index 6da9ff7c5bcea1a1de1da10fe3f92c527693218d..7ea2dbe7d36b6eb10d31c83f355a6ef1b09a87e2 100644 (file)
@@ -5,7 +5,6 @@
  * Peng Fan <peng.fan@nxp.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <dm/pinctrl.h>
 
index 46af44ecb1f22e71836968349d0a9bebd3d73b9d..4e9a9ea6808621a54d3f79ec16f4b5917deba76d 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright 2018 NXP
  */
 
-#include <common.h>
 #include <asm/global_data.h>
 #include <dm/device.h>
 #include <dm/pinctrl.h>
index 4e8fa08bc6e3cfdc76e02fd252c2c93cddacc525..73d3c009d5b6afce5760a4bb72de568c2de98864 100644 (file)
@@ -4,7 +4,6 @@
  *
  */
 
-#include <common.h>
 #include <dm.h>
 #include <dm/pinctrl.h>
 
index 53b70da869ecea1f777b60109d2418b9c63d4a1c..23f07f8d1e0535f636cac170f74e4379748b2913 100644 (file)
@@ -4,7 +4,6 @@
  * Author(s): Giulio Benetti <giulio.benetti@benettiengineering.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <dm/pinctrl.h>
 
index eb90e28d4b21547b34beaeeb6bd7e93e914c1d5d..85ab5fdf6404c97364370f7d8b74dbe1e44be2eb 100644 (file)
@@ -4,7 +4,6 @@
  * Lukasz Majewski, DENX Software Engineering, lukma@denx.de
  */
 
-#include <common.h>
 #include <log.h>
 #include <asm/global_data.h>
 #include <dm/device_compat.h>
index 4959834c0fcd37dcadec9fb5899c6c87f9c8b082..42d5c96468c7959626fb3f7d1279069653df2a36 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright 2018-2019 NXP
  */
 
-#include <common.h>
 #include <errno.h>
 #include <linux/bitops.h>
 #include <asm/io.h>
index 14e2e9d3ee61c2a1a082b222523868330d14876e..adf3073f1be087eb7992d93349bf2c5f4a2e7e74 100644 (file)
@@ -4,7 +4,6 @@
  * Lukasz Majewski, DENX Software Engineering, lukma@denx.de
  */
 
-#include <common.h>
 #include <dm.h>
 #include <dm/pinctrl.h>
 
index 62476358c349d5ce894f4ce240b9a4852bc19d41..f373afde58e41ce2917f421efd33a8bc67df7f43 100644 (file)
@@ -3,7 +3,6 @@
  * (C) Copyright 2021 Mark Kettenis <kettenis@openbsd.org>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <dm/device-internal.h>
 #include <dm/pinctrl.h>
index 84b398619c47cd569479b8c6e29ff14a6c31aac3..c697a4c3456ae4b8c1084930c7570a30c01024b4 100644 (file)
@@ -6,7 +6,6 @@
  *               Wenyou.Yang <wenyou.yang@atmel.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <asm/global_data.h>
 #include <dm/device-internal.h>
index b7aab12f11c1b3fec523152df4a9d2f9e3b6e82d..5038cb535e38adb990532786ffd32f758da979f5 100644 (file)
@@ -6,7 +6,6 @@
  *               Wenyou.Yang <wenyou.yang@atmel.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <asm/global_data.h>
index 8909b57810af05c51f4cb46732e418a529d70442..2464acf0b854f4001c5b8c9187dfd23a568b3afd 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2015  Masahiro Yamada <yamada.masahiro@socionext.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <dm/device_compat.h>
 #include <linux/compat.h>
index ee35dfe142035b3e3a0a9c382fb6d0400ae9882e..dad036610c9e489eba6d49975f34fbb45f1bc9ec 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2020 Sean Anderson <seanga2@gmail.com>
  */
 
-#include <common.h>
 #include <clk.h>
 #include <dm.h>
 #include <dm/pinctrl.h>
index dc0be7ce3bd6d1a39b48cbdbff307a9fde8d7190..61db9274cc3e854d76b29e46d189f6acc357b32a 100644 (file)
@@ -6,7 +6,6 @@
  * based on source code of Shlomi Gridish
  */
 
-#include <common.h>
 #include <linux/errno.h>
 #include <asm/io.h>
 #include <asm/immap_83xx.h>
index 776597745099745988347caa32720dca36b57798..a5d056643a0fcfba178c217ceb434c38ad2a6478 100644 (file)
@@ -4,7 +4,6 @@
  * Copyright (C) 2015 Masahiro Yamada <yamada.masahiro@socionext.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <dm/pinctrl.h>
 #include <dt-bindings/pinctrl/sandbox-pinmux.h>
index d1db377c13799655a2a789bad24040f8c804095d..a3802d22d4f92cd644f6647de494c26c4207b1d1 100644 (file)
@@ -4,7 +4,6 @@
  * Copyright (C) 2021 Dario Binacchi <dariobin@libero.it>
  */
 
-#include <common.h>
 #include <mapmem.h>
 #include <dm.h>
 #include <dm/device_compat.h>
index 1ff7ea00555104e67b0a69630d28f6ea0b68507b..4996b69d9afb07e471ec41fc56736bddcfc60fcc 100644 (file)
@@ -6,7 +6,6 @@
  * Author(s): Patrice Chotard, <patrice.chotard@foss.st.com> for STMicroelectronics.
  */
 
-#include <common.h>
 #include <bitfield.h>
 #include <dm.h>
 #include <errno.h>
index 509e2a80e9a590c64ae807beb1c1b15d1860b63c..61f335c4eb14f054b3a4126ffd20e35a14d4f621 100644 (file)
@@ -8,7 +8,6 @@
 
 #define LOG_CATEGORY UCLASS_PINCTRL
 
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <i2c.h>
index b277ad5c48f9910d2f7f6907075c0f719b950c5d..d9c76898a9692d40b7cd4eecf7cb2edf9e93a209 100644 (file)
@@ -5,7 +5,6 @@
 
 #define LOG_CATEGORY UCLASS_PINCTRL
 
-#include <common.h>
 #include <malloc.h>
 #include <asm/global_data.h>
 #include <dm/device_compat.h>
index eb17a4290b7d6716972b5fe6df1781ed62729145..6fa203a3b8616e5add7998e27616de0d4c5115c3 100644 (file)
@@ -8,7 +8,6 @@
  * Copyright (C) 2021 Xilinx, Inc. All rights reserved.
  */
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <malloc.h>
index 54d97ac0ae37f5ab084be81e62f6de97be5d641a..9f38b56e9c0ed4d615b1ef5c04c3cb996b2517c3 100644 (file)
@@ -4,7 +4,6 @@
  * Copyright (c) 2015 Microchip Technology Inc.
  * Written by Purna Chandra Mandal <purna.mandal@microchip.com>
  */
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <log.h>
index 7120b8edba002d467a30e12640bdca519f7229bd..eada1001240cdc65a7c45b8aa7c6b18ff71edfc4 100644 (file)
@@ -5,7 +5,6 @@
 
 #define LOG_CATEGORY UCLASS_PINCTRL
 
-#include <common.h>
 #include <dm.h>
 #include <hwspinlock.h>
 #include <log.h>
index b14a8921af4f39b39f066603b9ff24afffdf88c5..0c7437822ff20abef05a4526bfe0a8f6a3f596f3 100644 (file)
@@ -6,7 +6,6 @@
  *
  */
 
-#include <common.h>
 #include <dm.h>
 
 #include "pinctrl-qcom.h"
index 9697cb5beb7a0a30d9a10f3e556bc06c5fc5349a..132ece868bf2dbc0cd8805c59d90891db48bc67f 100644 (file)
@@ -6,7 +6,6 @@
  *
  */
 
-#include <common.h>
 #include <dm.h>
 
 #include "pinctrl-qcom.h"
index 26ab487857fef7c1702dfe96e4ba39eddfd7ea30..3215c677b263239d50d7c82f43d3c93ce5172d2f 100644 (file)
@@ -7,7 +7,6 @@
  * Author: Robert Marko <robert.marko@sartura.hr>
  */
 
-#include <common.h>
 #include <dm.h>
 
 #include "pinctrl-qcom.h"
index e68971b37ff094ad36cde82d57905d66d1d8d8a6..3c3336e76358cc61032d430814e31e33f5ef52c7 100644 (file)
@@ -6,7 +6,6 @@
  *
  */
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <asm/io.h>
index 4b7c670c90b7ab24f22602cd4fdee6e69aea8ee2..fb6defaeddf0237105e194ca9b4825b4a90528e4 100644 (file)
@@ -5,7 +5,6 @@
  * (C) Copyright 2022 Sumit Garg <sumit.garg@linaro.org>
  */
 
-#include <common.h>
 #include <dm.h>
 
 #include "pinctrl-qcom.h"
index c1e5cc01fded493681f003326f746ddd61b21842..f1a23f510999da4329074c15ab7ee5bbdf0fa44f 100644 (file)
@@ -7,7 +7,6 @@
  *
  */
 
-#include <common.h>
 #include <dm.h>
 
 #include "pinctrl-qcom.h"
index 2c35491b24d86152a9992f08078278b15f2de8a7..cc7885bae40802eccfc2cad377727da9ee899139 100644 (file)
@@ -3,7 +3,6 @@
  * (C) Copyright 2019 Rockchip Electronics Co., Ltd
  */
 
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <dm/pinctrl.h>
index afcd34396e277e4e770dd2fd2c91926e6a514558..b14386ccd937d2fcced72b6c9be6f7809194d3c1 100644 (file)
@@ -3,7 +3,6 @@
  * (C) Copyright 2019 Rockchip Electronics Co., Ltd
  */
 
-#include <common.h>
 #include <dm.h>
 #include <dm/pinctrl.h>
 #include <regmap.h>
index 598b63223e364c57e27b25764a6df75c9b5b47df..60e088a9a6f0d9133cd0822a9f4816cea18a524d 100644 (file)
@@ -3,7 +3,6 @@
  * (C) Copyright 2021 Rockchip Electronics Co., Ltd
  */
 
-#include <common.h>
 #include <dm.h>
 #include <dm/pinctrl.h>
 #include <regmap.h>
index 355c45eb7f8ccab930eb1186bebc8fba0d491fda..d00fc3da8b234667a86d0afea10e47b700cb1e00 100644 (file)
@@ -3,7 +3,6 @@
  * (C) Copyright 2019 Rockchip Electronics Co., Ltd
  */
 
-#include <common.h>
 #include <dm.h>
 #include <dm/pinctrl.h>
 #include <regmap.h>
index 9a982cbfad9ced0207080f7868b2e553364ecc78..83db51f66ae43c713a3f80a5442d1f8467a918e9 100644 (file)
@@ -3,7 +3,6 @@
  * (C) Copyright 2019 Rockchip Electronics Co., Ltd
  */
 
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <dm/pinctrl.h>
index 351406da2d451af5a0c25320d16daa402fdb2c2d..b804597c048415f3875222b201442fc025b35658 100644 (file)
@@ -3,7 +3,6 @@
  * (C) Copyright 2019 Rockchip Electronics Co., Ltd
  */
 
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <dm/pinctrl.h>
index a976b7aeeb27f7bfe255b6c038f0b4adc4959ba2..3870c1b7a341f998cc0b3cfcaa3a0acbdd0daa39 100644 (file)
@@ -3,7 +3,6 @@
  * (C) Copyright 2019 Rockchip Electronics Co., Ltd
  */
 
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <dm/pinctrl.h>
index f9ac6347eaf15fbf839d9940794a14f43bd5c08c..2cd91b10a3bdbb55cf1e1a56a1b3a240a2899047 100644 (file)
@@ -3,7 +3,6 @@
  * (C) Copyright 2019 Rockchip Electronics Co., Ltd
  */
 
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <dm/pinctrl.h>
index 65a750076773b361abc833f29a98ca564265271c..47c2e923a1bb5292bdbe934a91fdb78404c37327 100644 (file)
@@ -3,7 +3,6 @@
  * (C) Copyright 2019 Rockchip Electronics Co., Ltd
  */
 
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <dm/pinctrl.h>
index ba867a891748741f788705b0bc94b1bf58b6f7d9..9ae06ed19e9cda76f6d466fce2e01f48520a668a 100644 (file)
@@ -3,7 +3,6 @@
  * (C) Copyright 2019 Rockchip Electronics Co., Ltd
  */
 
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <dm/pinctrl.h>
index ae785573baf578cdd81b1c36df37fd4598f7a38c..b7a5092c032ba3bac0889921d9421bf0d3cd7277 100644 (file)
@@ -3,7 +3,6 @@
  * (C) Copyright 2019 Rockchip Electronics Co., Ltd
  */
 
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <dm/pinctrl.h>
index 1d439198260541bfd7542239ab339a042a27c21a..5deedc648a41950461b6a468e4852fa0a5384207 100644 (file)
@@ -3,7 +3,6 @@
  * (C) Copyright 2020 Rockchip Electronics Co., Ltd
  */
 
-#include <common.h>
 #include <dm.h>
 #include <dm/pinctrl.h>
 #include <regmap.h>
index 548cf09bcca4d49015c2683c5c2f8f73aeb06e20..98ababc7c90700c4b27359fc3625519f20437306 100644 (file)
@@ -3,7 +3,6 @@
  * (C) Copyright 2021 Rockchip Electronics Co., Ltd
  */
 
-#include <common.h>
 #include <dm.h>
 #include <dm/pinctrl.h>
 #include <regmap.h>
index 8ef089994f467f74821601a68c024aa805f01f91..3e74e2f14895dd47c8c80f3cd459867bf897c477 100644 (file)
@@ -3,7 +3,6 @@
  * (C) Copyright 2019 Rockchip Electronics Co., Ltd
  */
 
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <dm/pinctrl.h>
index 5b70b503d2b12381194c1aa254c45c9b29eb3b19..3eff5f59598c0d9ea9393a1b5e1a82efa8449eb6 100644 (file)
@@ -3,7 +3,6 @@
  * (C) Copyright 2019 Rockchip Electronics Co., Ltd
  */
 
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <dm/pinctrl.h>
index eefb8b17768b7d695deea74fa0139d2e6083982d..efa2408b204b421ad1c5a36b039d8c07c5b7237e 100644 (file)
@@ -3,7 +3,6 @@
  * (C) Copyright 2020 Rockchip Electronics Co., Ltd
  */
 
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <dm/pinctrl.h>
index 9b09cc21cfaa8e0633a89d36041260bf2a5a7049..95b1a752de2e337006dcc7cce3bf9ccd9f79291e 100644 (file)
@@ -7,7 +7,6 @@
  *   Author: Jianlong Huang <jianlong.huang@starfivetech.com>
  */
 
-#include <common.h>
 #include <clk.h>
 #include <dm.h>
 #include <dm/device-internal.h>
index 23a27c86888117b0140a837cb40a2f06f6455d9b..23e9e23836798a72df1b1744640e72c37b6bd55f 100644 (file)
@@ -5,7 +5,6 @@
 
 /* Tegra114 high-level function multiplexing */
 
-#include <common.h>
 #include <log.h>
 #include <asm/arch/clock.h>
 #include <asm/arch/funcmux.h>
index e7ad85fde2d01f251eccf12b2d32558d070a7236..b041cead34462352f6ca692d81902248fb199226 100644 (file)
@@ -6,7 +6,6 @@
 
 /* Tegra124 high-level function multiplexing */
 
-#include <common.h>
 #include <log.h>
 #include <asm/arch/clock.h>
 #include <asm/arch/funcmux.h>
index 90fe0cba8ea44cd752cd4719470ff62e79e0465f..b8c9132378536be96178b9a54ec1d6a36e3ae27a 100644 (file)
@@ -4,7 +4,6 @@
  */
 
 /* Tegra20 high-level function multiplexing */
-#include <common.h>
 #include <log.h>
 #include <asm/arch/clock.h>
 #include <asm/arch/funcmux.h>
index 30d994a17ffada40d817097aea86f25d812ccfac..d52b6150e590f1c08ca0017f5eb4cd0c06151a78 100644 (file)
@@ -6,7 +6,6 @@
 
 /* Tegra210 high-level function multiplexing */
 
-#include <common.h>
 #include <log.h>
 #include <asm/arch/clock.h>
 #include <asm/arch/funcmux.h>
index c3ee787f33b158674d764e1c8daa467f21da3905..e31b859beb8aca0e8980d038723e06556f9d5357 100644 (file)
@@ -5,7 +5,6 @@
 
 /* Tegra30 high-level function multiplexing */
 
-#include <common.h>
 #include <log.h>
 #include <asm/arch/clock.h>
 #include <asm/arch/funcmux.h>
index 16b03bfe7b068a4d044fd0cf305d5e2a80118699..5266c8db4876822832a9bfc6049dd608ed9d813a 100644 (file)
@@ -4,7 +4,6 @@
  * Copyright (c) 2011 The Chromium OS Authors.
  */
 
-#include <common.h>
 #include <log.h>
 #include <asm/io.h>
 #include <asm/arch/pinmux.h>
index 11796602c548fbaa57ebe9f6a7163bc80d24f755..15c6b653aed88a88984e861eb598c29c6a41dc1a 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (c) 2010-2014, NVIDIA CORPORATION. All rights reserved.
  */
 
-#include <common.h>
 #include <asm/io.h>
 #include <asm/arch/pinmux.h>
 
index 261ce64b205ed90652bf425ada9ffabfec9bd6fc..6d5b720aa0e63578073f976616c4b0864ade4d1a 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (c) 2013-2014, NVIDIA CORPORATION. All rights reserved.
  */
 
-#include <common.h>
 #include <asm/io.h>
 #include <asm/arch/pinmux.h>
 
index 0af39e74c53b927738979ee7281a4959f99cee0b..c1f86476b9ef168d096244cfdc9c785d0998f050 100644 (file)
@@ -5,7 +5,6 @@
 
 /* Tegra20 pin multiplexing functions */
 
-#include <common.h>
 #include <asm/io.h>
 #include <asm/arch/pinmux.h>
 
index d11b2aa572dfac4cab02d941616168a3a2ee8c2d..59ce9cea4a97c61fd1043509b8dc4724d3a7512d 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (c) 2010-2014, NVIDIA CORPORATION. All rights reserved.
  */
 
-#include <common.h>
 #include <asm/io.h>
 #include <asm/arch/pinmux.h>
 
index bdca3f2f715665a4e679f08e97888f1e243bdb73..eafb65496a3d77c94f72a8a459a81c90e8a1f4d6 100644 (file)
@@ -4,7 +4,6 @@
  *   Author: Masahiro Yamada <yamada.masahiro@socionext.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <dm/device_compat.h>
 #include <linux/bitops.h>
index a1a3cd73859a39354fbb2f4ec93a9d4f6a1611b7..778a9899483c8cbb905469af9fe84a62ec032866 100644 (file)
@@ -4,7 +4,6 @@
  *   Author: Masahiro Yamada <yamada.masahiro@socionext.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <dm/pinctrl.h>
 
index 7a92a46c17f5888b8d701e8683559c20484974e5..3ef10151dabfbc226d8f00678ec562c48adfe41a 100644 (file)
@@ -4,7 +4,6 @@
  *   Author: Masahiro Yamada <yamada.masahiro@socionext.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <dm/pinctrl.h>
 
index d33e4d7dd259d9a50a6a2a3615306862d07e6662..9302e309e20fdcc41218010da240452ab32af8a9 100644 (file)
@@ -4,7 +4,6 @@
  *   Author: Masahiro Yamada <yamada.masahiro@socionext.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <dm/pinctrl.h>
 
index 0e3eb131ecf799ac30914a30e25e5c61ee434baf..f7c5bf3bcaed7e4995b43eb8c6b16332901b4aaa 100644 (file)
@@ -4,7 +4,6 @@
  *   Author: Masahiro Yamada <yamada.masahiro@socionext.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <dm/pinctrl.h>
 
index 7ba2266092f0b99f85ce8025f9e62faa80bfd0b2..2704a50749e5182b7ccd7a15ee2d49f24598265a 100644 (file)
@@ -4,7 +4,6 @@
  *   Author: Masahiro Yamada <yamada.masahiro@socionext.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <dm/pinctrl.h>
 
index 9ce2e2c270ef954d6aa81ff7c4e31df820a24823..655ec6e6057332412aa7075a1e4543220094afe9 100644 (file)
@@ -4,7 +4,6 @@
  *   Author: Masahiro Yamada <yamada.masahiro@socionext.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <dm/pinctrl.h>
 
index e8c2018097c2691cc6ad900d36a6a289e75f5ae0..226272c2b82f2d13b6e0adce61cc31477e313a31 100644 (file)
@@ -4,7 +4,6 @@
  *   Author: Masahiro Yamada <yamada.masahiro@socionext.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <dm/pinctrl.h>
 
index 8a8f1269bb51d65a7051d9541d216271534ff270..8df13ca209c7e83b1641220befe18b25d49e9ee4 100644 (file)
@@ -5,7 +5,6 @@
  *   Author: Dai Okamura <dai.okamura@socionext.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <dm/pinctrl.h>
 
index 04c06fb280e269786bf98532e28e099bb8ab6cd7..c045ae99ac53366f49038a462cd7ab6d32cfe548 100644 (file)
@@ -4,7 +4,6 @@
  *   Author: Masahiro Yamada <yamada.masahiro@socionext.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <dm/pinctrl.h>
 
index 34446a34e60d21778deae3938d8294f6aba8b20c..c289cede15b80176a844c78f16f80b17ec235ef8 100644 (file)
@@ -5,7 +5,6 @@
 
 #define LOG_CATEGORY UCLASS_ACPI_PMC
 
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <spl.h>
index 8015031da85926d6dc8d2bde3aeabdcdd41447b7..8eff3d9fa7ac69b163a569c36a459a9bb2b6dc85 100644 (file)
@@ -6,7 +6,6 @@
  * Written by Simon Glass <sjg@chromium.org>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <pci.h>
index 8cf03f737c080069104f7c97cab2af60938cd75e..ed1bb1980931dac5bf6d3ae4bc221ad3fea552d0 100644 (file)
@@ -7,7 +7,6 @@
 
 #define LOG_CATEGORY UCLASS_ACPI_PMC
 
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <asm/io.h>
index a93987c15382bdaf83c552b0f0602fc0238de99c..5a62382ab86e960ae026b0a4337db9102b5077d1 100644 (file)
@@ -3,8 +3,8 @@
  * (C) Copyright 2012
  * Henrik Nordstrom <henrik@henriknordstrom.net>
  */
-#include <common.h>
 #include <command.h>
+#include <linux/errno.h>
 #include <asm/arch/pmic_bus.h>
 #include <axp_pmic.h>
 
index 3447b9f0113a12a5980de0ce61ed1d1f72d692da..6ae416982ebe2ba17998ad9305dc61cdea43e0f0 100644 (file)
@@ -4,11 +4,11 @@
  * Henrik Nordstrom <henrik@henriknordstrom.net>
  */
 
-#include <common.h>
 #include <command.h>
 #include <asm/arch/pmic_bus.h>
 #include <axp_pmic.h>
 #include <linux/delay.h>
+#include <linux/errno.h>
 
 #ifdef CONFIG_AXP_ALDO3_VOLT_SLOPE_08
 #  define AXP209_VRC_SLOPE AXP209_VRC_LDO3_800uV_uS
index d251c314b9876ba8511bac5346e461ce543e7c34..c22ca03f46948c9dba4e233ada1199d3860e9d8c 100644 (file)
@@ -9,7 +9,6 @@
  * (C) Copyright 2013 Oliver Schinagl <oliver@schinagl.nl>
  */
 
-#include <common.h>
 #include <command.h>
 #include <errno.h>
 #include <asm/arch/pmic_bus.h>
index 049ef07f7467f878ecb7c5e021e46dc5d6f844eb..0312ad9af763f643166fce940e93a6c4590c288b 100644 (file)
@@ -9,7 +9,6 @@
  * (C) Copyright 2013 Oliver Schinagl <oliver@schinagl.nl>
  */
 
-#include <common.h>
 #include <command.h>
 #include <errno.h>
 #include <asm/arch/pmic_bus.h>
index bbc9e911115f1ab906650a0db239964e5a1367f5..09ecb5b1ec2880d0417a1799b606af14cfe02532 100644 (file)
@@ -10,7 +10,6 @@
  * (C) Copyright 2013 Oliver Schinagl <oliver@schinagl.nl>
  */
 
-#include <common.h>
 #include <command.h>
 #include <errno.h>
 #include <asm/arch/pmic_bus.h>
index d327a584ded0373a11660c57847ab2d984907db3..9e38e1a74508469a30eddf1191d90528981a5d0d 100644 (file)
@@ -10,7 +10,6 @@
  * (C) Copyright 2013 Oliver Schinagl <oliver@schinagl.nl>
  */
 
-#include <common.h>
 #include <command.h>
 #include <errno.h>
 #include <asm/arch/pmic_bus.h>
index 08286ea3b55077e710dd6527c89d80714990a46a..83ae6ecc138d7da2df7ed739cdb475f47adcc1de 100644 (file)
@@ -10,7 +10,6 @@
  * (C) Copyright 2013 Oliver Schinagl <oliver@schinagl.nl>
  */
 
-#include <common.h>
 #include <command.h>
 #include <errno.h>
 #include <asm/arch/pmic_bus.h>
index 402c5b1fd18883bea376209faee2e2c78b1b6888..bf9940621ee7f39392e45058165840cd4f6e7b5c 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2021 Mark Kettenis <kettenis@openbsd.org>
  */
 
-#include <common.h>
 #include <asm/io.h>
 #include <dm.h>
 #include <dm/device-internal.h>
index 80144dd977250b1d236e61e28b0a600b2e628dda..36b5a933748073e5aa774298a2fd07757e5a779c 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2017 Álvaro Fernández Rojas <noltari@gmail.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <malloc.h>
 #include <power-domain-uclass.h>
index c8ca2665752fb9aa47765de2a57e32b2baca2d64..713a51d7807d1816b6c7d8687f45af9706ce76af 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright 2017 NXP
  */
 
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <malloc.h>
index b45e468756bf4de8b0d5294ef034a372acb7d96b..e8dcc057fee0071b43dc3792ec65d0ce87ec2b76 100644 (file)
@@ -4,7 +4,6 @@
  */
 
 #define DEBUG
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <malloc.h>
index df5d7d695621af3fa1b70d21a39e5f6a96283e34..8b6870c8646335194cdc8edae34b944fde078f56 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright 2017 NXP
  */
 
-#include <common.h>
 #include <clk.h>
 #include <dm.h>
 #include <malloc.h>
index 6188a04c45ed5a907268f1d1f00fbb0d34cedd54..455ad53ef525e18ae45068fa5d8c2be8a1b79335 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2022 Marek Vasut <marex@denx.de>
  */
 
-#include <common.h>
 #include <asm/io.h>
 #include <clk.h>
 #include <clk-uclass.h>
index 676fded8080ac57d3547fcf2b08c09a8d0e55f3b..20e9f32b3819b3ce067eb07009d8845778544df1 100644 (file)
@@ -4,7 +4,6 @@
  * Author: Neil Armstrong <narmstrong@baylibre.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <malloc.h>
index 612660ce89f9a90d02cf2434d55bd8563019d626..1c56e8508c3231549a3e829dd0dcfeb0f3cd1d6f 100644 (file)
@@ -6,7 +6,6 @@
  * Author: Neil Armstrong <narmstrong@baylibre.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <malloc.h>
index 3b84147d48142f9909c00e900737712a78d83e8a..2d1ba1855a5bfb12158a7ae65168dc73f7b3300e 100644 (file)
@@ -5,7 +5,6 @@
  */
 
 #include <clk.h>
-#include <common.h>
 #include <dm.h>
 #include <malloc.h>
 #include <power-domain-uclass.h>
index f6286c70c1d796173c3fda61c0e71a91526787f0..938bd8cbc9ffd1ba2109d702f886b6a99288d063 100644 (file)
@@ -5,7 +5,6 @@
 
 #define LOG_CATEGORY UCLASS_POWER_DOMAIN
 
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <malloc.h>
index 1bf52f1d861c1b12b505563d2eff7e25f6dc00d4..08c15ef342b3dd3ce01807ee59b7e97337f7dde5 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (c) 2016, NVIDIA CORPORATION.
  */
 
-#include <common.h>
 #include <dm.h>
 #include <malloc.h>
 #include <power-domain.h>
index 04a071044f3b5f6d01ab5c35eb1dc726a5a6eee1..9dd490b14a3f6e502baccd94d32704e4b6bd56ed 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (c) 2016, NVIDIA CORPORATION.
  */
 
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <malloc.h>
index 46da541b75a887ee82d882dfe276c45777c5d8dd..334c460c805f6fdc16948041b664267fd823020f 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (c) 2016, NVIDIA CORPORATION.
  */
 
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <malloc.h>
index 8996c40ddc03101be1d40ac250b024c97a7f1983..b059dd37376d13a97d8239e5fa59068ca764a453 100644 (file)
@@ -7,7 +7,6 @@
  */
 
 #include <asm/io.h>
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <power-domain-uclass.h>
index 8d6abe13dbc6d3ccf0e500efb24674214a0ab99b..0a9f498b97b15173ce2b890c17ed89c3dc57734d 100644 (file)
@@ -8,7 +8,6 @@
  * Loosely based on Linux kernel ti_sci_pm_domains.c...
  */
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <log.h>
index 5ee9e020fb3b658f5aeb2c7a2f4d1fe9b7a82353..ac93934eb42089cbe326667c8bfa79b101f66b78 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (c) 2021, Xilinx. Inc.
  */
 
-#include <common.h>
 #include <dm.h>
 #include <dm/device_compat.h>
 #include <log.h>
index 6d62f6cae40d59588688e7b5ef4d88c5e1c5be2e..21c2fabce1b888fa3cb127b22eebb955ddef46c5 100644 (file)
  * MA 02111-1307 USA
  */
 
-#include <common.h>
 #include <errno.h>
 #include <fdtdec.h>
 #include <log.h>
+#include <time.h>
 #include <tmu.h>
+#include <asm/io.h>
 #include <asm/arch/tmu.h>
 #include <asm/arch/power.h>
 
index 354817a037808d6dd3692b755793fb9e9fce6e52..dd6cbcf18206573c0783d6e4397be3fb47b3e243 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2019 Frank Wunderlich <frank-w@public-files.de>
  */
 
-#include <common.h>
 #include <command.h>
 #include <asm/io.h>
 #include <linux/delay.h>
index 1f64f217c345fc9d1c24f21939f12c4bf5c4f759..9ba096711e14da01b62214da18644cb189b4e652 100644 (file)
@@ -7,7 +7,6 @@
  * Copyright (C) ST-Ericsson SA 2010
  */
 
-#include <common.h>
 #include <dm.h>
 #include <regmap.h>
 #include <syscon.h>
index 8f0f5a6d96e5ca63449d95ca174a8ff40df264a2..3058ef0f893d810c94f7a21538dfb88b9481db68 100644 (file)
@@ -4,7 +4,6 @@
  * Written by Simon Glass <sjg@chromium.org>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <fdtdec.h>
index c7dd9705d18960edf4bc4d54a0c0300cde7dc5a7..9b0f4fb97363e1916419448ffd6dbe30a2dae593 100644 (file)
@@ -5,7 +5,6 @@
 
 #define pr_fmt(fmt) "as3722: " fmt
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <fdtdec.h>
index 987fbdf9bc08ab5e5b33155a121e3f5972fbb56b..52d8bd00b1fd8fa348c9f7e66db8cfb317cb22c0 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2014 NVIDIA Corporation
  */
 
-#include <common.h>
 #include <dm.h>
 #include <asm/gpio.h>
 #include <linux/printk.h>
index ee6ae78e5c4c91e371de48d3ce8f423aae8274f8..a5df2570fc3e6a2dcaa4f1277c1a4fd341d66f63 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright 2018 NXP
  */
 
-#include <common.h>
 #include <errno.h>
 #include <dm.h>
 #include <i2c.h>
index ca95b82e6d0115db987adc771a571268b3f9bb06..7bd3df391421c4d93743f696f8607981ec640c4f 100644 (file)
@@ -4,7 +4,6 @@
  *  Martin Fuzzey  <martin.fuzzey@flowbird.group>
  */
 
-#include <common.h>
 #include <fdtdec.h>
 #include <errno.h>
 #include <dm.h>
index d556b9a5878a0dc7b977321cd2d75a9e5e5eb90b..95bf600cbc3fe4908bfdcfedd1ede2a69c3a4972 100644 (file)
@@ -3,7 +3,6 @@
  * (C) 2018 Theobroma Systems Design und Consulting GmbH
  */
 
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <dm/device-internal.h>
index f0a03742f87bc7cb1c34645686475905dd35351e..6e81b9c34279d9b2a70c3bd287973b97000bbbf5 100644 (file)
@@ -4,7 +4,6 @@
  *  Przemyslaw Marczak  <p.marczak@samsung.com>
  */
 
-#include <common.h>
 #include <errno.h>
 #include <dm.h>
 #include <i2c.h>
index fda5bc1516429ee8ec20ff4b9bbf40da893dbbb4..2c8fa4ea312f2ac14aa39aa081f37e7118150377 100644 (file)
@@ -4,7 +4,6 @@
  * Keerthy <j-keerthy@ti.com>
  */
 
-#include <common.h>
 #include <fdtdec.h>
 #include <errno.h>
 #include <dm.h>
index 904e02c4d818802150169151dcc9edf843be93bf..c2ff75bbcdcd9f2ecc8263c661d4f02904754381 100644 (file)
@@ -4,7 +4,6 @@
  * Keerthy <j-keerthy@ti.com>
  */
 
-#include <common.h>
 #include <fdtdec.h>
 #include <errno.h>
 #include <dm.h>
index 7e6f7d1966f171a6fefa6578cab6433aa9cdd861..bfe57b386d3d2c5db525b0fa2cc5519f5ad4f4ef 100644 (file)
@@ -4,7 +4,6 @@
  *  Przemyslaw Marczak  <p.marczak@samsung.com>
  */
 
-#include <common.h>
 #include <fdtdec.h>
 #include <errno.h>
 #include <dm.h>
index 504a63bf743159c3feb3ba9c2853d7b8fe1557a3..4afa6c84ef82f986d95edc00255bbd029513f769 100644 (file)
@@ -4,7 +4,6 @@
  *  Jaehoon Chung <jh80.chung@samsung.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <i2c.h>
 #include <linux/printk.h>
index d155474447f5dec4c7249b0df4cf33de8764783b..05669023753e8d17f5bd9e050bd93843d59d3f90 100644 (file)
@@ -4,7 +4,6 @@
  *  Jaehoon Chung <jh80.chung@samsung.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <i2c.h>
index 40d732224b6c2ee426dd5ae4cf200ab775ca0189..43badb5767a589c74e70529da159406905b6f66d 100644 (file)
@@ -5,7 +5,6 @@
  *
  */
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <fsl_pmic.h>
index 6180adf77e2d02d75e6fe66ff89bf9c9a03d7888..9d44f0ae655e843682d1286c9a795f402519fbcf 100644 (file)
@@ -2,7 +2,6 @@
 /*
  * Copyright 2020 Gateworks Corporation
  */
-#include <common.h>
 #include <errno.h>
 #include <dm.h>
 #include <i2c.h>
index e340a32279fbf35445fd60ee38b78836307d434f..f676bf641694702ef0af739b0e688d964f4f1934 100644 (file)
@@ -4,7 +4,6 @@
  * Keerthy <j-keerthy@ti.com>
  */
 
-#include <common.h>
 #include <fdtdec.h>
 #include <errno.h>
 #include <dm.h>
index 0bbe98cd8a29b5783b0fe057a1c7b2d26a5032cb..07af6273d8aece5f94dccd7358539118deca004d 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright 2019 NXP
  */
 
-#include <common.h>
 #include <fdtdec.h>
 #include <errno.h>
 #include <dm.h>
index 15420acb4725807be4c7f22e837118ab517869d5..9e09805d251f1f1537215cb3388bd0958ad9fdb9 100644 (file)
@@ -4,7 +4,6 @@
  * Peng Fan <Peng.Fan@freescale.com>
  */
 
-#include <common.h>
 #include <fdtdec.h>
 #include <errno.h>
 #include <dm.h>
index 0e2f5e1f41111eff5342d46810fbb9d30c617003..bb459816d14381c8568588737c5f1fc442fb2abe 100644 (file)
@@ -6,7 +6,6 @@
 
 #define LOG_CATEGORY UCLASS_PMIC
 
-#include <common.h>
 #include <fdtdec.h>
 #include <errno.h>
 #include <dm.h>
index 80b9078cf8f0732e0f798040c33aa1976d3623f0..05305013882d70886db4d3869c634f49104bd76a 100644 (file)
@@ -4,7 +4,6 @@
  *  Peter Griffin <peter.griffin@linaro.org>
  */
 #include <asm/io.h>
-#include <common.h>
 #include <linux/delay.h>
 #include <power/pmic.h>
 #include <power/max8997_muic.h>
index af94f37b0f108f79c9c10d1f850a0a137f4913a7..145a631b6b24086ad885bdabe49d18a1b09c1c47 100644 (file)
@@ -4,7 +4,6 @@
  * Tim Harvey <tharvey@gateworks.com>
  */
 
-#include <common.h>
 #include <errno.h>
 #include <i2c.h>
 #include <power/pmic.h>
index 9dd1c46ea220bf3d258b597713b2d7b782b0097d..0dfdfbdf3dca1aa397489be4e75e49d3d90ac065 100644 (file)
@@ -4,7 +4,6 @@
  * Hou Zhiqiang <Zhiqiang.Hou@freescale.com>
  */
 
-#include <common.h>
 #include <errno.h>
 #include <i2c.h>
 #include <power/pmic.h>
index 8c4d0a92306bde820c57454d1537ac5d130e6231..12500ba9990117d6ff08865455983d32f1ca2675 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright 2019 NXP
  */
 
-#include <common.h>
 #include <errno.h>
 #include <i2c.h>
 #include <power/pmic.h>
index 5115b55e49dc9c3d7af3eb8d3137a45cdee4b850..a266709d8d078990801458d65108e371585ec731 100644 (file)
@@ -4,7 +4,6 @@
  * Tim Harvey <tharvey@gateworks.com>
  */
 
-#include <common.h>
 #include <errno.h>
 #include <i2c.h>
 #include <power/pmic.h>
index a6d97252bc9e644de9f467864a6de9e82aed3bd4..602c4744aa6c2e57837c687f74d13cabcc24a159 100644 (file)
@@ -4,7 +4,6 @@
  * Peng Fan <Peng.Fan@freescale.com>
  */
 
-#include <common.h>
 #include <errno.h>
 #include <i2c.h>
 #include <power/pmic.h>
index f2ac6494811ddbe8031285fe437faf930a80d0db..92d0a95859b0fed240363b04053e04efbb4a1f40 100644 (file)
@@ -4,7 +4,6 @@
  *
  * (C) Copyright 2015 Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
  */
-#include <common.h>
 #include <dm.h>
 #include <power/pmic.h>
 #include <spmi/spmi.h>
index 6426d1488a5c2bee1f8ca1cf3f6d009fa314baba..4f0e406d560626d28950859c32757306c0d07126 100644 (file)
@@ -4,7 +4,6 @@
  * Author: Felipe Balbi <balbi@ti.com>
  */
 
-#include <common.h>
 #include <i2c.h>
 #include <linux/errno.h>
 #include <power/pmic.h>
index ccbf2235933da9862f96f7e8d4d192743dd42533..bd44e0d9ae05150d1123998d3c9be43d47db8af1 100644 (file)
@@ -4,7 +4,6 @@
  * Texas Instruments, <www.ti.com>
  */
 
-#include <common.h>
 #include <i2c.h>
 #include <dm.h>
 #include <errno.h>
index 6717490180413e03bbfb82689fbf44ca8734cfcb..49d07e95cd7ce04c839aa460e88cb6d537581aca 100644 (file)
@@ -4,7 +4,6 @@
  * Texas Instruments, <www.ti.com>
  */
 
-#include <common.h>
 #include <i2c.h>
 #include <linux/errno.h>
 #include <power/pmic.h>
index e3de73082150244ef58e92a633db596b486c25e8..df9bb66a7f9ca2d5605010f01d24edf1a3a079a1 100644 (file)
@@ -4,7 +4,6 @@
  * Texas Instruments, <www.ti.com>
  */
 
-#include <common.h>
 #include <i2c.h>
 #include <power/tps65910.h>
 
index ecf836eb0e659002ad64f5f0696ed6f69758eda7..de8d805566aacdddfb19a04f17f7d6548968c0c6 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) EETS GmbH, 2017, Felix Brack <f.brack@eets.ch>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <dm/lists.h>
 #include <i2c.h>
index 3a8261d1749f053afec82825a255349e64490c6c..12ff26a08558e7e2dc5bfb9bbc387ccd1dd8339b 100644 (file)
@@ -4,7 +4,6 @@
  * Written by Simon Glass <sjg@chromium.org>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <dm/lists.h>
 #include <errno.h>
index 9d103dd840578bcf549be799a5024f3b3f33c684..0124d84a7295bf7a3da8058c41e411c81a9dc07d 100644 (file)
@@ -4,7 +4,6 @@
  * Stefan Agner <stefan.agner@toradex.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <fdtdec.h>
index 5ff4f20521135c31bd34582df52c2d3141e0e14b..17780017035bc2f8c6b672976eb4d25e484307b7 100644 (file)
@@ -4,7 +4,6 @@
  *  Przemyslaw Marczak  <p.marczak@samsung.com>
  */
 
-#include <common.h>
 #include <fdtdec.h>
 #include <errno.h>
 #include <dm.h>
index eea072ae824f4be635279cb1130a9f1a4a09e21e..799d00125409efa350f476b07a978a6a6a8ab8a4 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2015 Google, Inc
  */
 
-#include <common.h>
 #include <fdtdec.h>
 #include <errno.h>
 #include <dm.h>
index 14b82455f5fbc80b96bf9458adba700dc77c7b35..ddc11d6df86f810b821bd81430f4609e9e996e05 100644 (file)
@@ -6,7 +6,6 @@
 
 #define LOG_CATEGORY   UCLASS_PMIC
 
-#include <common.h>
 #include <fdtdec.h>
 #include <errno.h>
 #include <dm.h>
index 8701d4f971c9ba04c4101b54205d6255e37801e2..c99a0c27b3360ad5f13655f99380f56c660cf0f4 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2018, STMicroelectronics - All Rights Reserved
  */
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <i2c.h>
index 2a04d5948a5e4d407c399f068743ba383d3b1edc..ad2ab34719e5b08bdd2e6c9ab6f7850bc84fb83c 100644 (file)
@@ -4,7 +4,6 @@
  * Written by Simon Glass <sjg@chromium.org>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <fdtdec.h>
index 9462afee77fd6e9a3099ab19964634e74aa31fc8..0716af027a3ad5fcd871a7aa65b1199ea644b27d 100644 (file)
@@ -4,7 +4,6 @@
  * Author: Neil Armstrong <narmstrong@baylibre.com>
  */
 
-#include <common.h>
 #include <fdtdec.h>
 #include <errno.h>
 #include <dm.h>
index 943d845086c3b6101d6a7d48b76acf53e6e1b92e..c3490db2a089850db40cf205fe52cb32a26a6bab 100644 (file)
@@ -4,7 +4,6 @@
  * Keerthy <j-keerthy@ti.com>
  */
 
-#include <common.h>
 #include <fdtdec.h>
 #include <errno.h>
 #include <dm.h>
index 4f7ba099cd917baf8c2bb4a4846f6e15c7eb3c6c..1caf9f0934689c042d5bc0ec2f72e45a13f19b48 100644 (file)
@@ -9,7 +9,6 @@
  * (C) Copyright 2008-2009 Freescale Semiconductor, Inc.
  */
 
-#include <common.h>
 #include <command.h>
 #include <log.h>
 #include <malloc.h>
index ad7aaf35a9a0279965a2196e88970d35e5372853..a5c7ea34c4ae436b92a6b0a904f08979cbbc6fc9 100644 (file)
@@ -4,7 +4,7 @@
  *  Lukasz Majewski <l.majewski@samsung.com>
  */
 
-#include <common.h>
+#include <config.h>
 #include <log.h>
 #include <power/pmic.h>
 #include <dialog_pmic.h>
index 9dc930fb305aecb0302408447349f34b52f854cd..a10a14a79616ca1c65a7aa168434a96e6a1d1d42 100644 (file)
@@ -4,7 +4,7 @@
  *  Lukasz Majewski <l.majewski@samsung.com>
  */
 
-#include <common.h>
+#include <config.h>
 #include <spi.h>
 #include <power/pmic.h>
 #include <fsl_pmic.h>
index b67ac2f027b59c8ccf13862585cf6ea737d00bdf..a871fc4198722c0b60cc02a07934f03108b7e908 100644 (file)
@@ -10,7 +10,6 @@
  * (C) Copyright 2019 NXP
  */
 
-#include <common.h>
 #include <log.h>
 #include <linux/types.h>
 #include <power/pmic.h>
index 1eaf9773ef8b35aa93a472575e46254462a7ba63..54427316ce42f2163767e12b475ac5a3602a837f 100644 (file)
@@ -9,7 +9,6 @@
  * (C) Copyright 2008-2009 Freescale Semiconductor, Inc.
  */
 
-#include <common.h>
 #include <linux/types.h>
 #include <power/pmic.h>
 #include <spi.h>
index bdce97365dd00c448b3bac915be8e234451d4418..d3e72da0d35a8b0a0b4272136d3b54c45f56bcdb 100644 (file)
@@ -8,7 +8,6 @@
  * zyw <zyw@rock-chips.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <power/act8846_pmic.h>
index 096a1565d5a7f5b150445edfa0f3be5cd1aea008..824a753db16122c16dcc1ac1fa3fc940a06fa543 100644 (file)
@@ -4,7 +4,6 @@
  * Copyright (C) 2021 Linaro
  */
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <log.h>
index ec0776b440bb8a80ffc4f375c156a68f9797d65b..8d60965fe9ac2dab11ee0c885704379f4e013c59 100644 (file)
@@ -6,7 +6,6 @@
  * Placeholder regulator driver for as3722.
  */
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <log.h>
index 913ed88d45f79079a6e41fb45f31abcceaa23d61..59aec1a7313e16b2301315564aa6fc2f2fd95b26 100644 (file)
@@ -5,7 +5,6 @@
  * ROHM BD71837 regulator driver
  */
 
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <linux/bitops.h>
index 8df1abcf7885cb38fdf0054586902773acb54128..5d566b06a522824ec0c3060606e49b2607641915 100644 (file)
@@ -4,7 +4,6 @@
  *  Martin Fuzzey  <martin.fuzzey@flowbird.group>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <linux/bitops.h>
 #include <power/da9063_pmic.h>
index fa8d88f2e0dc5e45a990b45ecc07f8dcda268ebc..5cba58f91cacdd8556060f62153bfefbc190fca3 100644 (file)
@@ -3,7 +3,6 @@
  * (C) 2018 Theobroma Systems Design und Consulting GmbH
  */
 
-#include <common.h>
 #include <bitfield.h>
 #include <errno.h>
 #include <dm.h>
index 590c288d6575f7e7282e89a416db784426cbcf15..98c89bf2aff687a69e5b22419e7b9b4b5e852a4d 100644 (file)
@@ -5,7 +5,6 @@
  *  Przemyslaw Marczak <p.marczak@samsung.com>
  */
 
-#include <common.h>
 #include <clk.h>
 #include <errno.h>
 #include <dm.h>
index 74137b7b876fd7b6201891d85739247633893ac6..38b22535c3dd4998a2670d9a1b1d24dc1e47519d 100644 (file)
@@ -4,7 +4,6 @@
  * Keerthy <j-keerthy@ti.com>
  */
 
-#include <common.h>
 #include <fdtdec.h>
 #include <errno.h>
 #include <dm.h>
index c326f8efa471cc04d85fe0c47efde2b6eed79d7f..c59d77118adad8436b86ca34b3581a8a9073eba3 100644 (file)
@@ -6,7 +6,6 @@
  * Keerthy <j-keerthy@ti.com>
  */
 
-#include <common.h>
 #include <fdtdec.h>
 #include <errno.h>
 #include <dm.h>
index 6bbc831d2c8ab46f78c34cad4b81640c6da73b2c..d622d9568156787db12ec9ad6d46cbad18121deb 100644 (file)
@@ -6,7 +6,6 @@
  * Keerthy <j-keerthy@ti.com>
  */
 
-#include <common.h>
 #include <fdtdec.h>
 #include <errno.h>
 #include <dm.h>
index 3a20803993403b2e4601f32db78b7d19dd5ba7b0..4e0ba12a0ef880d0477fc2d587a518f43c157537 100644 (file)
@@ -6,7 +6,6 @@
  *  Przemyslaw Marczak <p.marczak@samsung.com>
  */
 
-#include <common.h>
 #include <fdtdec.h>
 #include <errno.h>
 #include <dm.h>
index fcd1058cdf521bd2fa2544e9fc979bc484745c2d..30d1b8945cb7e6430447464848abf74ad216b99b 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (c) 2022 Nuvoton Technology Corp.
  */
 
-#include <common.h>
 #include <dm.h>
 #include <asm/io.h>
 #include <dm/device_compat.h>
index d615e9473403e4dc82b87666a7e947f9b2e20dee..2286eac93fbe5e850b910f7bb0c89a91d8958ae7 100644 (file)
@@ -6,7 +6,6 @@
  * Keerthy <j-keerthy@ti.com>
  */
 
-#include <common.h>
 #include <fdtdec.h>
 #include <errno.h>
 #include <dm.h>
index cf4e2858443da2771e287ce5088fc488c13fec1b..8f599cab68999500ccee1aebd8feb576be00d8ff 100644 (file)
@@ -4,7 +4,6 @@
  * Jean-Jacques Hiblot <jjhiblot@ti.com>
  */
 
-#include <common.h>
 #include <errno.h>
 #include <dm.h>
 #include <log.h>
index 7ca20d1f7f87191c3493803b24d0573cfcd2c6ce..9faf1eab5f90739e85e901cdd52ce9aa2156d322 100644 (file)
@@ -7,7 +7,6 @@
  * ROHM BD71837 regulator driver
  */
 
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <linux/bitops.h>
index 1d926689b3b012d55757f2cddb7c67709b3726bf..bf3a7019411e764a19b5ceb0dc259dfd76152369 100644 (file)
@@ -5,7 +5,6 @@
  * Peng Fan <peng.fan@nxp.com>
  */
 
-#include <common.h>
 #include <fdtdec.h>
 #include <errno.h>
 #include <dm.h>
index ca59f3ae3e18ceae3f36a818c26548b17b29faf8..ff738faadc52d0e7847d3e3f8b6e9167b25d82a8 100644 (file)
@@ -7,7 +7,6 @@
  * Author: Lee Jones <lee.jones@linaro.org>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <log.h>
index 77d101f262e2708ee5a8ea9375860b099c0814f2..66fd531da043c867d2c836566cecbb19ef968272 100644 (file)
@@ -6,7 +6,6 @@
 
 #define LOG_CATEGORY UCLASS_REGULATOR
 
-#include <common.h>
 #include <errno.h>
 #include <dm.h>
 #include <log.h>
index 0116fa01bbfe19fe9ed2d40a3509ee13dcce2b87..e3565d32a019b3cd7a447d98afb29b2754a099b2 100644 (file)
@@ -4,7 +4,6 @@
  * Sven Schwermer <sven.svenschwermer@disruptive-technologies.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <asm/gpio.h>
index 1bd4605d43a06c9c9cf8f77d4b6147ed08b5130c..bf3af781527913af3845375de13ee3db1ac4600a 100644 (file)
@@ -8,7 +8,6 @@
  * zyw <zyw@rock-chips.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <log.h>
index 987a1f9d8638af32bb4c28973cd494c2f885eb92..96de55065feb06fdb86d7b3f056b5a65f97dda16 100644 (file)
@@ -4,7 +4,6 @@
  *  Jaehoon Chung <jh80.chung@samsung.com>
  */
 
-#include <common.h>
 #include <fdtdec.h>
 #include <errno.h>
 #include <dm.h>
index 23575831f382e98d6843ae9a557daa39d873b709..0dcf0990802b8a946a91f0e14c819dc5e233d4c5 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2015 Google, Inc
  */
 
-#include <common.h>
 #include <fdtdec.h>
 #include <errno.h>
 #include <dm.h>
index 71ef0c5441afda9661f673144c816def70bb4783..80a68f5a30d52e709295a2f06a1c098eaccf31f2 100644 (file)
@@ -4,7 +4,6 @@
  *  Przemyslaw Marczak  <p.marczak@samsung.com>
  */
 
-#include <common.h>
 #include <fdtdec.h>
 #include <errno.h>
 #include <dm.h>
index 9c72c35d039e7e97d606700b69606553443967e7..99f6506f162874f2b778795c104a3250a8c74f55 100644 (file)
@@ -5,7 +5,6 @@
 
 #define LOG_CATEGORY UCLASS_REGULATOR
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <scmi_agent.h>
index c37998a4bac4b06313d098dfd6b2eeb95f016eaf..dd8a33f15bea08f4a261109118e85710daca18b1 100644 (file)
@@ -8,7 +8,6 @@
 
 #define LOG_CATEGORY UCLASS_REGULATOR
 
-#include <common.h>
 #include <clk.h>
 #include <dm.h>
 #include <asm/io.h>
index 4839d834316a8320eb2e9e57c5c99e22789464ad..b5ffa1cd5895e3fa2f3979694ef20ce42d0ce058 100644 (file)
@@ -4,7 +4,6 @@
  * Author: Christophe Kerello <christophe.kerello@st.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <linux/delay.h>
index 7014b1982d0012943fcfa9743fc10f349c8406b8..9acc6b9054979852427823624476cc8c25af9c40 100644 (file)
@@ -4,7 +4,6 @@
  *      Tero Kristo <t-kristo@ti.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <i2c.h>
 #include <dm/device_compat.h>
index fa15e61a10e013d935f10e535a5356a1cc4d4b37..2d414de149079daa8f83e080e1de9f8fcdc99361 100644 (file)
@@ -3,10 +3,10 @@
  * Copyright (c) 2015 Google, Inc
  */
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <log.h>
+#include <time.h>
 #include <linux/delay.h>
 #include <power/pmic.h>
 #include <power/regulator.h>
index f87d07e61fbff09f55ef7cac8da2c562e94e4e8a..b7124fed02450249172a9aacd75d75ae9d9f2a01 100644 (file)
@@ -5,7 +5,6 @@
  *
  */
 
-#include <common.h>
 #include <fdtdec.h>
 #include <errno.h>
 #include <dm.h>
index a4b9d449274bc50f9effc29b55d42ce1e2f04920..562fd7db1908bef3d33b8f748248c02878dab6c4 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) EETS GmbH, 2017, Felix Brack <f.brack@eets.ch>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <linux/printk.h>
index 5809a53fa214c5cb92980cf818f37060fe499f00..bc4d153fd84437b79b4c8046a5664abbd285d2ab 100644 (file)
@@ -6,7 +6,6 @@
  * Keerthy <j-keerthy@ti.com>
  */
 
-#include <common.h>
 #include <fdtdec.h>
 #include <errno.h>
 #include <dm.h>
index 45f47939869af317dd5df8313450457f7b97d139..fb6028de71af34ae9df02dd7c4a5890a987ba0eb 100644 (file)
@@ -3,7 +3,6 @@
  * (C) Copyright 2016
  * Jelle van der Waa <jelle@vdwaa.nl>
  */
-#include <common.h>
 #include <i2c.h>
 #include <sy8106a.h>
 
index 37f1c459a6373333e0deb792a592819fdebb9763..4034a9b49dd08dbad4de13857eacd0f2dd5d0051 100644 (file)
@@ -4,12 +4,12 @@
  * (C) Copyright 2010,2011 NVIDIA Corporation <www.nvidia.com>
  */
 
-#include <common.h>
 #include <log.h>
 #include <tps6586x.h>
 #include <asm/io.h>
 #include <i2c.h>
 #include <linux/delay.h>
+#include <linux/errno.h>
 
 static struct udevice *tps6586x_dev;
 
index 4a39c319aa2a704e04c73609c7b72567ac821fd8..b89f00f151b083f010d5b4b924ed1e18d15e180b 100644 (file)
@@ -1,6 +1,5 @@
 // SPDX-License-Identifier: GPL-2.0+
 
-#include <common.h>
 #include <cros_ec.h>
 #include <dm.h>
 #include <errno.h>
index 609025d680d2cc7f4f8e1a9d817a96ffebd962ab..5ded60978f476ada941d338f4fb264cbd6fcafdf 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright 2016 Google Inc.
  */
 
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <pwm.h>
index b03472d2345ca5678a89f9fd1537a0b6f7d9f498..ebc9d9a89752f4b9c255e79ba48a26f80e18d9b4 100644 (file)
@@ -38,7 +38,6 @@
  *   This improvement can disable/enable through PWM_ASPEED_CTRL_DUTY_SYNC_DISABLE.
  */
 
-#include <common.h>
 #include <div64.h>
 #include <dm.h>
 #include <pwm.h>
index 3ff1fb6d5c30b3c43cb1ec3a1b3598181d576d5b..ffc37180eb42bb72627bcca73cbf1fb3612355f7 100644 (file)
@@ -9,7 +9,6 @@
  * Based on drivers/pwm/pwm-atmel.c from Linux.
  */
 #include <clk.h>
-#include <common.h>
 #include <div64.h>
 #include <dm.h>
 #include <linux/bitops.h>
index d9f6736a7aee737824aadb277d4579ea19c9d4f0..767628833bc0660407337b2434ec1775f527ee51 100644 (file)
@@ -6,7 +6,6 @@
 #define LOG_CATEGORY UCLASS_PWM
 
 #include <clk.h>
-#include <common.h>
 #include <div64.h>
 #include <dm.h>
 #include <log.h>
index 8fbb40cc276708e2137f64ece59eb4e99a54920a..320ea7c4239ab605f1e50f01734d0767c9a597c8 100644 (file)
@@ -6,7 +6,6 @@
  * Basic support for the pwm module on imx6.
  */
 
-#include <common.h>
 #include <div64.h>
 #include <dm.h>
 #include <log.h>
index 60959720dac8ad1d9f5ed3f98fac36036a67831c..c2597d8b6698bb582248fbfd3fcd88a2bd509a6e 100644 (file)
@@ -16,7 +16,6 @@
  * current period to complete first).
  */
 
-#include <common.h>
 #include <clk.h>
 #include <div64.h>
 #include <dm.h>
index ad845ed9662e5540a99f9d526cac720ba7534696..9776a41ff48e36af5d88249067caca90e8613db3 100644 (file)
@@ -5,7 +5,6 @@
  * Author: Sam Shih <sam.shih@mediatek.com>
  */
 
-#include <common.h>
 #include <clk.h>
 #include <dm.h>
 #include <pwm.h>
index b9813a3b6bbeadda0990223af5d391375654a382..e9777c71f5e0b845bbaebdaf71185b5509059cf9 100644 (file)
@@ -12,7 +12,6 @@
  * - The hardware generates only inverted output.
  */
 
-#include <common.h>
 #include <clk.h>
 #include <div64.h>
 #include <dm.h>
index fefa3c65ec450ae8795d834ce12c35f5da271c50..563109ef0f806e74fd6e15d952e1de5a91e0e3a8 100644 (file)
@@ -7,7 +7,6 @@
  * Based on Linux kernel drivers/pwm/pwm-tiehrpwm.c
  */
 
-#include <common.h>
 #include <clk.h>
 #include <div64.h>
 #include <dm.h>
index 648d0757ba620b51a9ddcb6d29ae618431c130be..6543db1d623d1c0d86eb4ab7a5e841b6d9f893fd 100644 (file)
@@ -6,7 +6,6 @@
 
 #define LOG_CATEGORY UCLASS_PWM
 
-#include <common.h>
 #include <dm.h>
 #include <pwm.h>
 
index 1858d5973386095e13d3fe10812881874b637aae..0a64eb01dc2bad5e1e7a9a4a65f929270564f764 100644 (file)
@@ -4,7 +4,6 @@
  * Written by Simon Glass <sjg@chromium.org>
  */
 
-#include <common.h>
 #include <clk.h>
 #include <div64.h>
 #include <dm.h>
index 4df15f0a2e8fbfa76e1d39cd6ce935d36f897f22..0d798609ddafe45fc9d3ff9ef6de23dc7701bfdb 100644 (file)
@@ -4,7 +4,6 @@
  * Written by Simon Glass <sjg@chromium.org>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <pwm.h>
index bb1bec05ec34a3c8ea23c029592c9658179c09ad..2140a05b6796bbcf1c99b5a5024103aa1102a48c 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (c) 2017-2018 Vasily Khoruzhick <anarsoul@gmail.com>
  */
 
-#include <common.h>
 #include <div64.h>
 #include <dm.h>
 #include <log.h>
index 87034706060c306704a17d7c9f7b543f7237776c..e3f1417f2ad050f295d20743ce134fb0de4822c6 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright 2016 Google Inc.
  */
 
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <pwm.h>
index dc466a88e71232f55ccde1c2ac73f53d99b9e55d..0d6ab79f96fc0535afefc96aec382cf6132cf2ce 100644 (file)
@@ -5,7 +5,7 @@
  * Copyright 2016 Google, Inc
  */
 
-#include <common.h>
+#include <config.h>
 #include <clk.h>
 #include <dm.h>
 #include <errno.h>
index d463933363ee4494e2261db37a20f13b829726b3..55e80fba3dc0beced1b7129310fd574ea1e626e4 100644 (file)
@@ -2,7 +2,7 @@
 /*
  * Copyright (C) ASPEED Technology Inc.
  */
-#include <common.h>
+#include <config.h>
 #include <clk.h>
 #include <dm.h>
 #include <errno.h>
index 98045248ecfb12403fc90afddd40cafe5fc6bb73..760bebdbba04111f2a795dfac11a898bc535e531 100644 (file)
@@ -7,7 +7,6 @@
  *     Copyright (C) 2009 Florian Fainelli <florian@openwrt.org>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <init.h>
index 3e5959a84a37061fb7291beba6580bcf1d5131eb..0fa60e766a7e611734aeccf0c4292fcd69a35184 100644 (file)
@@ -24,7 +24,6 @@
  * bandwidth allocated to each AXI slave can be set.
  */
 
-#include <common.h>
 #include <linux/delay.h>
 #include <linux/sizes.h>
 #include <asm/io.h>
index 6a15242c20cc5327d9afb67845a7aa4736303837..3df106c9b79ad76055cb67fefa601d67767c9878 100644 (file)
@@ -4,7 +4,6 @@
  * Author(s): Giulio Benetti <giulio.benetti@benettiengineering.com>
  */
 
-#include <common.h>
 #include <clk.h>
 #include <dm.h>
 #include <dm/device_compat.h>
index cff8ffc89295d23c494fa0070fb64e3f17943b40..21ff9d761e1bb17a34fd2c6446c78a7c7a0bc75a 100644 (file)
@@ -6,7 +6,6 @@
  *     Lokesh Vutla <lokeshvutla@ti.com>
  */
 
-#include <common.h>
 #include <clk.h>
 #include <dm.h>
 #include <log.h>
index a5c9b82cf1dae59a5518c0f719d4169ad2838bdb..525b6d5b79fce18819946e1714e98290057ccccf 100644 (file)
@@ -5,7 +5,6 @@
  * Copyright (C) 2020-2021 Texas Instruments Incorporated - https://www.ti.com/
  */
 
-#include <common.h>
 #include <config.h>
 #include <clk.h>
 #include <div64.h>
index f65fcf179cf65b4fd58647e6df482ee3aeabbb2f..c27c4593b9d90894d6864b51566da49c0cb22e93 100644 (file)
@@ -8,7 +8,7 @@
  */
 
 #include <clk.h>
-#include <common.h>
+#include <config.h>
 #include <dm.h>
 #include <ram.h>
 #include <asm/io.h>
index 11676d4fae7e1d44de1ff495230bfd02ea7b4080..28a663289a23d0ecadaa2ff14987d6132e6f4569 100644 (file)
@@ -4,7 +4,6 @@
  * Mario Six, Guntermann & Drunck GmbH, mario.six@gdsys.cc
  */
 
-#include <common.h>
 #include <dm.h>
 #include <init.h>
 #include <log.h>
index 4e21240fd4cb8f95415320afad68e8c5faf7f482..a33d583cc4486dd5bcd7e8edc826e8693a6c6add 100644 (file)
@@ -6,7 +6,6 @@
 
 #define LOG_CATEGORY UCLASS_RAM
 
-#include <common.h>
 #include <ram.h>
 #include <dm.h>
 #include <errno.h>
index 7a81497bc92b1c2e2fdb5bb8b29d3b7bf60e0c7f..4d470aae1914c104f117107a45fa70bb32add21c 100644 (file)
@@ -7,7 +7,6 @@
  *
  * Copyright (C) 2015 Renesas Electronics Europe Ltd
  */
-#include <common.h>
 #include <clk.h>
 #include <dm.h>
 #include <dm/device_compat.h>
index 5279bf0a15485d7f4d612b77abbfa065dd35af61..42114a5aa917118f0978d8cf30da0afce86c2ba7 100644 (file)
@@ -3,7 +3,7 @@
  * (C) Copyright 2017 Theobroma Systems Design und Consulting GmbH
  */
 
-#include <common.h>
+#include <config.h>
 #include <clk.h>
 #include <dm.h>
 #include <hang.h>
index 60fc90d0a5c02c0f9e68cb693fabcc055d18ed99..b7a8fce607c8d9afb2ddbbbdfc9bfc7c0f3d0e8a 100644 (file)
@@ -3,7 +3,7 @@
  * (C) Copyright 2018 Rockchip Electronics Co., Ltd.
  */
 
-#include <common.h>
+#include <config.h>
 #include <debug_uart.h>
 #include <ram.h>
 #include <asm/io.h>
index e5c80fb83b3f3019c8222287fde1a686e9e008b7..3ec98af536e8bd588ca34694e5611924aad7c1ca 100644 (file)
@@ -3,7 +3,6 @@
  * (C) Copyright 2018 Rockchip Electronics Co., Ltd.
  */
 
-#include <common.h>
 #include <ram.h>
 #include <asm/io.h>
 #include <asm/arch-rockchip/sdram.h>
index f7f6de1ba98bb322a377e5db9008f5a74da83556..5416eef387888401108eb2328d8d5d41c085c233 100644 (file)
@@ -3,7 +3,6 @@
  * (C) Copyright 2018 Rockchip Electronics Co., Ltd.
  */
 
-#include <common.h>
 #include <ram.h>
 #include <asm/io.h>
 #include <asm/arch-rockchip/sdram.h>
index 21498e89570f666b3fa0e1d0ce70158168028f3b..37e621205047404729b6742d0873e8443c83beb3 100644 (file)
@@ -3,7 +3,7 @@
  * (C) Copyright 2018 Rockchip Electronics Co., Ltd.
  */
 
-#include <common.h>
+#include <config.h>
 #include <debug_uart.h>
 #include <dm.h>
 #include <init.h>
index 562cf544c909e800fb6478fae7bd0292a94f08d3..a280e2d9fa1d585da7154db23f429167e8f8c0b2 100644 (file)
@@ -6,7 +6,7 @@
  * Adapted from the very similar rk3188 ddr init.
  */
 
-#include <common.h>
+#include <config.h>
 #include <clk.h>
 #include <dm.h>
 #include <dt-structs.h>
index ded65393806e00d6a5497af3b522dd474fbcc98c..66611f80b2dad90a374733eefa8f82eca9608794 100644 (file)
@@ -3,7 +3,7 @@
  * (C) Copyright 2017 Rockchip Electronics Co., Ltd.
  */
 
-#include <common.h>
+#include <config.h>
 #include <dm.h>
 #include <log.h>
 #include <ram.h>
index e1b28c6e5933431a4d4d263fc092e36a708e2d94..618bce5c9f49ce7fda4434439f73292ebe48f384 100644 (file)
@@ -6,7 +6,7 @@
  * Adapted from the very similar rk3288 ddr init.
  */
 
-#include <common.h>
+#include <config.h>
 #include <clk.h>
 #include <dm.h>
 #include <dt-structs.h>
index 5fc23c11193ffac5ed51bc390fe80dded4ee57a3..a48a50911844d9c14e06a8bf8c50e3d58ab75a2e 100644 (file)
@@ -2,7 +2,7 @@
 /*
  * (C) Copyright 2017 Rockchip Electronics Co., Ltd
  */
-#include <common.h>
+#include <config.h>
 #include <clk.h>
 #include <dm.h>
 #include <dt-structs.h>
index 242d564a7d2663c6cc620a897624e5663c3f6aa2..c9f61e933e9a45bb157d474ea29a2554bf556fe0 100644 (file)
@@ -6,7 +6,7 @@
  * Adapted from coreboot.
  */
 
-#include <common.h>
+#include <config.h>
 #include <clk.h>
 #include <dm.h>
 #include <dt-structs.h>
index 264366291cf8b1ef1a237b888ce32013840b7c7c..8071997f8d86abc13eaefbee0ada8cd2ab05f8fd 100644 (file)
@@ -3,7 +3,7 @@
  * (C) Copyright 2019 Rockchip Electronics Co., Ltd.
  */
 
-#include <common.h>
+#include <config.h>
 #include <dm.h>
 #include <ram.h>
 #include <syscon.h>
index b5ca8ca436f57990e5aa290b64e7732c57d595e3..99690d67a501160fe3717f00e54860cb1714bbc2 100644 (file)
@@ -2,7 +2,7 @@
 /*
  * (C) Copyright 2017 Rockchip Electronics Co., Ltd.
  */
-#include <common.h>
+#include <config.h>
 #include <clk.h>
 #include <debug_uart.h>
 #include <dm.h>
index 02cc4a38cf0bd1152595a63059e1bed83c053cdc..ef9a1824b2b338862266e0abc66da816bcc1bb64 100644 (file)
@@ -5,7 +5,7 @@
  * Adapted from coreboot.
  */
 
-#include <common.h>
+#include <config.h>
 #include <clk.h>
 #include <dm.h>
 #include <dt-structs.h>
index f661615c1b91efada8ab7e02dff4d36043dd71ac..a252d5c7010616ee88ecab2f60f23e09c5a39689 100644 (file)
@@ -3,7 +3,7 @@
  * (C) Copyright 2021 Rockchip Electronics Co., Ltd.
  */
 
-#include <common.h>
+#include <config.h>
 #include <dm.h>
 #include <ram.h>
 #include <syscon.h>
index cf56e2a941218518ee0c8bd580540e6e559c44cf..a144b432d76ff5065af12b98b2561696d77603da 100644 (file)
@@ -3,7 +3,7 @@
  * (C) Copyright 2021 Rockchip Electronics Co., Ltd.
  */
 
-#include <common.h>
+#include <config.h>
 #include <dm.h>
 #include <ram.h>
 #include <syscon.h>
index 849e15a91932f527088e8392caf455560a68c27b..4fbb088a8d98cf8983231903e57d1766feaf6045 100644 (file)
@@ -4,7 +4,7 @@
  * Copyright (c) 2022 Edgeble AI Technologies Pvt. Ltd.
  */
 
-#include <common.h>
+#include <config.h>
 #include <debug_uart.h>
 #include <dm.h>
 #include <ram.h>
index 910dce623e90d75b6342973ee91c983abe9c9cd1..2097da565322c56c1153a456c13923223f51e407 100644 (file)
@@ -4,7 +4,6 @@
  * Written by Simon Glass <sjg@chromium.org>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <ram.h>
index 4bd69a62be2b690c0e0db3f9f2b203ca76416e5a..bd2f438d7271be2a2eb98af8142a2d4f40b2ca94 100644 (file)
@@ -6,7 +6,6 @@
  *   Pragnesh Patel <pragnesh.patel@sifive.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <fdtdec.h>
 #include <init.h>
index f2dd55f74a08ceef18df7083f988e76f28cd99da..6764b3ed5cc918a56979c85d34c85f1a998ebd61 100644 (file)
@@ -4,7 +4,6 @@
  * Author: Yanhong Wang<yanhong.wang@starfivetech.com>
  */
 
-#include <common.h>
 #include <asm/io.h>
 #include <asm/arch/regs.h>
 #include <linux/delay.h>
index 479b6ef10418d250031030d59a926a8fad65ce91..efe3f8a181a54f0671efadbf0ea5eda78d761d83 100644 (file)
@@ -4,7 +4,6 @@
  * Author: Yanhong Wang<yanhong.wang@starfivetech.com>
  */
 
-#include <common.h>
 #include <asm/io.h>
 
 #include "starfive_ddr.h"
index 0740f49be5bbcd124d18cd1dfc727cf029024924..0aff1e8727efc26934034c60c23de52c95c1e20c 100644 (file)
@@ -4,7 +4,7 @@
  * Author: Yanhong Wang<yanhong.wang@starfivetech.com>
  */
 
-#include <common.h>
+#include <linux/kernel.h>
 #include <asm/io.h>
 
 static const u32 ddr_train_data[] = {
index 1c9fe0a78465635cb4715b45259b5f9e463ea55d..d6dd6ee7a859af770da5c3ecf5cbad4beaa4adc2 100644 (file)
@@ -4,7 +4,7 @@
  * Author: Yanhong Wang<yanhong.wang@starfivetech.com>
  */
 
-#include <common.h>
+#include <linux/kernel.h>
 #include <asm/io.h>
 
 static const  u32 ddr_phy_data[] = {
index a0a3d6b33dc236a596013a677656f9a29c336ae7..b31ed3bcf617326436e88440238c805ae0669b73 100644 (file)
@@ -4,7 +4,6 @@
  * Author: Yanhong Wang<yanhong.wang@starfivetech.com>
  */
 
-#include <common.h>
 #include <asm/arch/regs.h>
 #include <asm/io.h>
 #include <clk.h>
index d0ec1c1da807195357349da40ed7d68f333807a6..c29d26b510c9c436cf7d4c0da8183cc4b569ea89 100644 (file)
@@ -7,6 +7,8 @@
 #ifndef __STARFIVE_DDR_H__
 #define __STARFIVE_DDR_H__
 
+#include <linux/kernel.h>
+
 #define SEC_CTRL_ADDR          0x1000
 #define PHY_BASE_ADDR          0x800
 #define PHY_AC_BASE_ADDR       0x1000
index 891f4137813ee08383a950ba5d61c3f61bd7be98..10dc05dd640418dfda9304afdc62577a13fa44dc 100644 (file)
@@ -6,7 +6,6 @@
 
 #define LOG_CATEGORY UCLASS_RAM
 
-#include <common.h>
 #include <clk.h>
 #include <dm.h>
 #include <init.h>
index 8ee4e24f39df232d9517bfa05481007eabc3bdd7..d7834b3229929e44bd55781d1f6a0d214b8d4b8c 100644 (file)
@@ -5,7 +5,6 @@
 
 #define LOG_CATEGORY UCLASS_RAM
 
-#include <common.h>
 #include <clk.h>
 #include <log.h>
 #include <ram.h>
index 2c19847c663343f8ce5c25d7fdb2cab6edc89f5c..6340afbb87093313ef0e05ebad1cd36cd0d55d3d 100644 (file)
@@ -5,7 +5,6 @@
 
 #define LOG_CATEGORY UCLASS_RAM
 
-#include <common.h>
 #include <command.h>
 #include <console.h>
 #include <cli.h>
index a82b1db7592df7fbd39ebd9f6c639a305f1982f6..debc458c0e2e9454a2552793ff3691527323798c 100644 (file)
@@ -5,7 +5,6 @@
 
 #define LOG_CATEGORY UCLASS_RAM
 
-#include <common.h>
 #include <clk.h>
 #include <dm.h>
 #include <init.h>
index c5f33544144f1c1f80108cee02c39aa47255216f..6108faa70730cea425568a331503c38fe7baad40 100644 (file)
@@ -5,7 +5,6 @@
 
 #define LOG_CATEGORY UCLASS_RAM
 
-#include <common.h>
 #include <console.h>
 #include <init.h>
 #include <log.h>
index 38379281d73954973b9d7c5a02bbd4ea684935aa..a1794032f3b8b8b1938168a93a9684b629ac8eca 100644 (file)
@@ -13,7 +13,7 @@
  */
 
 #include <asm/io.h>
-#include <common.h>
+#include <config.h>
 #ifdef CONFIG_RAM
   #include <dm.h>
   #include <ram.h>
index 305174736ede7a2d0a732fa6f1fa0bc9df6a4b10..22ee40c343338022a3c2921a779b32930748a653 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (c), Vaisala Oyj
  */
 
-#include <common.h>
 #include <asm/gpio.h>
 #include <dm.h>
 #include <dm/devres.h>
index da41ca41d9a1c2dc1530d58efbc959acb06aee8a..b9af242520a0b312d7be72668a8f15b28103a20a 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2022 Sean Anderson <sean.anderson@seco.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <nvmem.h>
 #include <reboot-mode/reboot-mode.h>
index 972d0cdbcb5b23ee0a088b184575732e16490747..4f4ad63febc106acd7f40de8757fe0db95bf6bee 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (c), Vaisala Oyj
  */
 
-#include <common.h>
 #include <dm.h>
 #include <dm/device_compat.h>
 #include <reboot-mode/reboot-mode-rtc.h>
index 2b38aa26b859d72b6270151228db1f53a44672b5..7cbe02eb4ed487d97ca71877c898660ea440b19d 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (c), Vaisala Oyj
  */
 
-#include <common.h>
 #include <dm.h>
 #include <dm/device_compat.h>
 #include <dm/devres.h>
index 996e658e8718e71bfb83907eb6fa62bde9cdf472..2ca78b550a7e8d8f9a8e2a195a576987cd0edf47 100644 (file)
@@ -8,7 +8,6 @@
  *      Keerthy <j-keerthy@ti.com>
  */
 
-#include <common.h>
 #include <hang.h>
 #include <cpu_func.h>
 #include <dm.h>
index 071de40fbd6f782f77f43b604d9919b505318e88..71238a6058a4c711764817b53de9e6ff7b6ea061 100644 (file)
@@ -6,7 +6,6 @@
  *     Lokesh Vutla <lokeshvutla@ti.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <remoteproc.h>
index 6ec55e27d9dd64f1a845c16a88b42f469ac3313f..9aec138637bc08fc00bc424df4f318a973265024 100644 (file)
@@ -6,7 +6,6 @@
  *     Keerthy <j-keerthy@ti.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <elf.h>
 #include <dm/of_access.h>
@@ -399,10 +398,12 @@ static void pru_set_id(struct pru_privdata *priv, struct udevice *dev)
 {
        u32 mask2 = 0x38000;
 
-       if (device_is_compatible(dev, "ti,am654-rtu"))
+       if (device_is_compatible(dev, "ti,am654-rtu") ||
+           device_is_compatible(dev, "ti,am642-rtu"))
                mask2 = 0x6000;
 
-       if (device_is_compatible(dev, "ti,am654-tx-pru"))
+       if (device_is_compatible(dev, "ti,am654-tx-pru") ||
+           device_is_compatible(dev, "ti,am642-tx-pru"))
                mask2 = 0xc000;
 
        if ((priv->pru_iram & mask2) == mask2)
@@ -448,6 +449,9 @@ static const struct udevice_id pru_ids[] = {
        { .compatible = "ti,am654-pru"},
        { .compatible = "ti,am654-rtu"},
        { .compatible = "ti,am654-tx-pru" },
+       { .compatible = "ti,am642-pru"},
+       { .compatible = "ti,am642-rtu"},
+       { .compatible = "ti,am642-tx-pru" },
        {}
 };
 
index 5e070e5076e1c06f37e0575bc52e40af1a420f0d..ab1836b3f0789c3f1d28a3e20c777391dca92aec 100644 (file)
@@ -2,7 +2,6 @@
 /*
  * Copyright (C) 2019, STMicroelectronics - All Rights Reserved
  */
-#include <common.h>
 #include <cpu_func.h>
 #include <dm.h>
 #include <elf.h>
index aa7f7586a8141eb010fa0711fd9f555d2f5c9039..3ba2b40dca38e0eefee27d5f2c847586c8b2cba6 100644 (file)
@@ -7,7 +7,6 @@
 #define LOG_CATEGORY UCLASS_REMOTEPROC
 
 #define pr_fmt(fmt) "%s: " fmt, __func__
-#include <common.h>
 #include <elf.h>
 #include <errno.h>
 #include <log.h>
index f76f68ebeb434112a12e61ed6b3f694abcb541a5..ad575a7c10fdb399c77f4f01b8167a8ae71574a2 100644 (file)
@@ -4,7 +4,6 @@
  * Texas Instruments Incorporated - https://www.ti.com/
  */
 #define pr_fmt(fmt) "%s: " fmt, __func__
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <log.h>
index 3e322c4d7191a61c8d58b5d5d8c39b58f96b71e2..f45da9a68ac6eaeef0c5a563785a2b9433430b7e 100644 (file)
@@ -4,7 +4,6 @@
  */
 #define LOG_CATEGORY UCLASS_REMOTEPROC
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <fdtdec.h>
index 767493c1383c2c08ed8fb7da9dbb43887de68ec6..d3eb957b2e4957f2dcbf3e7d4a5c8d1983f4dbda 100644 (file)
@@ -7,7 +7,6 @@
  *
  */
 
-#include <common.h>
 #include <dm.h>
 #include <remoteproc.h>
 #include <errno.h>
index ed13729c33a4861c7f7e3311e8b8d30d2b239041..076b6f2acdbdc409849ab2acae6ee1f62c768e3c 100644 (file)
@@ -7,7 +7,6 @@
  *     Suman Anna <s-anna@ti.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <malloc.h>
index 35835b2d61c23e25a6398c87c706d9ae45eaf4a1..74bf0433e12ac765f191950e1f0911794376b68c 100644 (file)
@@ -7,7 +7,6 @@
  *     Suman Anna <s-anna@ti.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <malloc.h>
index f55df4a91195dcd9010b20345387020117110bc0..cf150af4ef97897322f89fc18bc314812fac1eb6 100644 (file)
@@ -4,7 +4,6 @@
  * Texas Instruments Incorporated - https://www.ti.com/
  */
 #define pr_fmt(fmt) "%s: " fmt, __func__
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <fdtdec.h>
index d9cecf3a72e8aa59ad704654aac0dfc8a0145b8f..0ed5396b3e91ba912bca2e2d97d250d4ad40cc4d 100644 (file)
@@ -4,7 +4,6 @@
  * Copyright 2020 ASPEED Technology Inc.
  */
 
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <misc.h>
index 1732a450efc07a16569ca83578a2c323a87ad710..ec7b9b6625dc5bb910a0dbd0bf08f45f8e36f32c 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright 2020 ASPEED Technology Inc.
  */
 
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <misc.h>
index 5383f59ca375f6176585857c2912fdfdbc2e4da8..6f140574216d4a59a7b836b5ea7baa4f92498df6 100644 (file)
@@ -6,7 +6,6 @@
  *     Copyright (C) 2012 Jonas Gorski <jonas.gorski@gmail.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <log.h>
index 05101a94f9bcc86a101ff07dae4526677ccbe236..2f0ec4c042f73d1da94b2eda16c57ed9d2cca401 100644 (file)
@@ -7,7 +7,6 @@
  */
 
 #include <asm/io.h>
-#include <common.h>
 #include <dm.h>
 #include <reset-uclass.h>
 #include <dm/device_compat.h>
index 85e02b296b02b0a9018542e62fa404813b2590db..aca54cd6701c126dda873b7b9f308b2d2bcb6f05 100644 (file)
@@ -6,7 +6,6 @@
 #include <log.h>
 #include <malloc.h>
 #include <asm/io.h>
-#include <common.h>
 #include <dm.h>
 #include <dt-bindings/reset/ti-syscon.h>
 #include <reset-uclass.h>
index 74b1173e8878b26e2730b89effdb4569d79562e5..747e73b17fcb982fbc45fd5b6be2e51a95272430 100644 (file)
@@ -8,7 +8,6 @@
 
 #include <log.h>
 #include <asm/io.h>
-#include <common.h>
 #include <dm.h>
 #include <linux/bitops.h>
 #include <linux/iopoll.h>
index a3b3132f2fae5712036aa1e8995b01c684698882..65a352b71fd7698f5c35d090b7e7db952bf58352 100644 (file)
@@ -6,7 +6,6 @@
 #include <log.h>
 #include <malloc.h>
 #include <asm/io.h>
-#include <common.h>
 #include <dm.h>
 #include <dt-bindings/reset/imx7-reset.h>
 #include <dt-bindings/reset/imx8mp-reset.h>
index d6bdf6bb00c4ac7808be49b2bc966ca42ad054bd..adf722d5871ad4a95d1588cb4e8518ef42d6ccdd 100644 (file)
@@ -5,7 +5,6 @@
  *
  */
 
-#include <common.h>
 #include <dm.h>
 #include <dm/ofnode.h>
 #include <dt-bindings/reset/starfive,jh7110-crg.h>
index 97ed221f739a939f614b8f466ef1fad7da1e652d..4b3afab92ea7f2036264b4a56b4bb252aef7979f 100644 (file)
@@ -6,7 +6,6 @@
  *        Weijie Gao <weijie.gao@mediatek.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <malloc.h>
index 9d0c8b354f4a0e182fdecc9bf31d17f48d2871c2..6337cdaaffa2ba5b1d8ee72693ff752ff372fba5 100644 (file)
@@ -6,7 +6,6 @@
  * Author: Neil Armstrong <narmstrong@baylibre.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <malloc.h>
index 7bb8469823c88c898889403366330942839bfae6..2db6766280f2934a060fa7934095af3c99a20a3c 100644 (file)
@@ -5,7 +5,6 @@
  * Author: Weijie Gao <weijie.gao@mediatek.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <log.h>
index 804e32b8dd140b21b18d1039e1a794984d9763b5..1792f0813f79d7d1ca92a2301bcb53e4c596df5c 100644 (file)
@@ -4,7 +4,6 @@
  *
  * Copyright (C) 2020 Nicolas Saenz Julienne <nsaenzjulienne@suse.de>
  */
-#include <common.h>
 #include <dm.h>
 #include <reset-uclass.h>
 #include <asm/arch/msg.h>
index 6cabaa10a35badce22757bdc4254e66de8ae0543..876eb7dddaa867ea840c52a395f41427b35ab5c6 100644 (file)
@@ -3,7 +3,6 @@
  * (C) Copyright 2017 Rockchip Electronics Co., Ltd
  */
 
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <malloc.h>
index b76711f0a8fb6f2825b05baeddcc821002c81cd3..6dc1fcb336533e69c508d2fefae49c582504c455 100644 (file)
@@ -5,7 +5,6 @@
 
 #define LOG_CATEGORY UCLASS_RESET
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <reset-uclass.h>
index 23513b2f541b4b0cbd30198f47a2b949efc24705..65f857149b963918850577603787a928797164ea 100644 (file)
@@ -4,7 +4,6 @@
  * Author: Sagar Kadam <sagar.kadam@sifive.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <reset-uclass.h>
 #include <asm/io.h>
index 6e3f03e2484344ccb32073ced94ca55361bfe84f..866437fd24fe829509bf9d8a419d292e381824a1 100644 (file)
@@ -12,7 +12,6 @@
  * Maxime Ripard <maxime.ripard@free-electrons.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <malloc.h>
index e484d1fff449ff22063eaf0b9ee53e33e963ebe3..fd47e1f9e377e4e782cdc9c731f885a0f7b613e8 100644 (file)
@@ -4,7 +4,6 @@
  * Author: Jagan Teki <jagan@amarulasolutions.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <log.h>
index ff387ab6b22f68d6af29b8fe53d70741a230c769..5be8c9492af247b68e976413b300ea6e688c21b6 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2020 Sean Anderson
  */
 
-#include <common.h>
 #include <dm.h>
 #include <regmap.h>
 #include <reset.h>
index fd654a08f13a2ec86dc1d6a8317dc1538644673b..e69bcd41cbe88f1da8ebb7cd3ed1ac256eda5df2 100644 (file)
@@ -8,7 +8,6 @@
  * Loosely based on Linux kernel reset-ti-sci.c...
  */
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <log.h>
index b972faf01328313dcf75d7f4ea1d949a30b05396..fe4cebf54f1587b49ad527cf127079891867a682 100644 (file)
@@ -5,7 +5,6 @@
 
 #define LOG_CATEGORY UCLASS_RESET
 
-#include <common.h>
 #include <dm.h>
 #include <fdtdec.h>
 #include <log.h>
index 35e3ccebd72e6271ad49816be975139e86143a25..49b001f05942e9acf74ea3e4c002bac284b3cea8 100644 (file)
@@ -5,7 +5,6 @@
  *   Author: Kunihiko Hayashi <hayashi.kunihiko@socionext.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <malloc.h>
index 87b4df5bf81accfe89610a88d2cf69bd09cbd595..b9c4f09fdfde9fbe0fefcd66c4e40a3b98039b91 100644 (file)
@@ -5,7 +5,6 @@
 
 #define LOG_CATEGORY UCLASS_RESET
 
-#include <common.h>
 #include <dm.h>
 #include <dm/device_compat.h>
 #include <reset-uclass.h>
index 2c524e4c40332a48a56ca4b5a5082ada5ca2f45f..eae2eb10de24ff51b9500a9b57f2cf89a29f2736 100644 (file)
@@ -5,7 +5,6 @@
  * Author: Sebastian Reichel <sebastian.reichel@collabora.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <asm/arch-rockchip/clock.h>
 #include <dt-bindings/reset/rockchip,rk3588-cru.h>
index 51b79810c89ec1ba8bc911c2ae4e5566d71fd7b9..dfacb764bc775a641c70611959c218543b317626 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (c) 2016, NVIDIA CORPORATION.
  */
 
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <malloc.h>
index 97b1b92e4a6ca313d21fc78c01b3bd55f25b0087..adf9eedcba6dcd6cc8fae388756e0a909e343e99 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (c) 2016, NVIDIA CORPORATION.
  */
 
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <malloc.h>
index 5305270fbf20c10167c96cf88cb2d2c9aa20fa59..412a0c5b452bc4ad4a6a8b50a7f886da3cc3d728 100644 (file)
@@ -4,7 +4,6 @@
  * Author(s): Patrice Chotard, <patrice.chotard@foss.st.com> for STMicroelectronics.
  */
 
-#include <common.h>
 #include <errno.h>
 #include <log.h>
 #include <malloc.h>
index 0bbde29810b44f859d6ba6f9c4c4a945df4de2cb..9d4f361b25193be84b0908be197fbd344e65b05a 100644 (file)
@@ -6,7 +6,6 @@
 
 #define LOG_CATEGORY UCLASS_RESET
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <log.h>
index 501e9cab8f7c20662d0cdc018628116a80605317..e3ecc8d373577f2365dd7412e2cea50be4a559b1 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (c) 2016, NVIDIA CORPORATION.
  */
 
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <malloc.h>
index d43da454114ded3f3debfb78c5eea0fee0b5780a..89624227c29383346eb366ec5802cb6fd6c05977 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (c) 2016, NVIDIA CORPORATION.
  */
 
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <malloc.h>
index 823aff03f5f02a86c43d4d25817271b3217c6ac7..1235b840ab0418e684a632a6dc06872630c31f28 100644 (file)
@@ -12,7 +12,6 @@
  *
  */
 
-#include <common.h>
 #include <dm.h>
 #include <i2c.h>
 #include <rtc.h>
index c7ce41bbf5cc4a6017c06c215feda490eaa1afe0..a20b73e1990a1df5c0226e9ebf556324caf168e1 100644 (file)
@@ -4,7 +4,6 @@
  * Heiko Schocher <hs@denx.de>
  * Copyright (C) 2021 Dario Binacchi <dariobin@libero.it>
  */
-#include <common.h>
 #include <command.h>
 #include <dm.h>
 #include <clk.h>
index 0e9d3d24dd89721998a9fa7355499b4cc7c26b16..ba06ff9f0beed27b7e050e2876d63ef46d58f77b 100644 (file)
@@ -13,7 +13,7 @@
  * based on ds1337.c
  */
 
-#include <common.h>
+#include <config.h>
 #include <command.h>
 #include <dm.h>
 #include <log.h>
index 2c780ab8edfadaaac853cb35de0ecb76a83b40be..7eccf1cb8c54c203415405cb4649ebb57713ff45 100644 (file)
@@ -11,7 +11,7 @@
  * DS1337 Real Time Clock (RTC).
  */
 
-#include <common.h>
+#include <config.h>
 #include <command.h>
 #include <dm.h>
 #include <log.h>
index 89442f9386ba8b5e10d15ae3448d7ea769b62808..895dbbaf1c7499810f03cc2e9600e48d82e3f64e 100644 (file)
@@ -13,7 +13,7 @@
  * based on ds1337.c
  */
 
-#include <common.h>
+#include <config.h>
 #include <command.h>
 #include <rtc.h>
 #include <i2c.h>
index bd32ed2dbf91b5a70b334de2aa18b0e037ce6c1f..d6267d660d0d6c7247f0ef7f2bccd51e90c00bb7 100644 (file)
@@ -14,7 +14,7 @@
  * copied from ds1337.c
  */
 
-#include <common.h>
+#include <config.h>
 #include <command.h>
 #include <dm.h>
 #include <log.h>
index 16501cfe5d3fc346879c0d870777eb33beb4fec4..7314ba219dac416c0b60264d1556538b97b9e36c 100644 (file)
@@ -3,7 +3,6 @@
  * (C) Copyright 2019, Vaisala Oyj
  */
 
-#include <common.h>
 #include <command.h>
 #include <dm.h>
 #include <i2c.h>
index 6f47d82522baf83d0041eb2cbbef29dd28e57cfb..97a8d9bb7df50bb08de57b1374aa97b4a0efd075 100644 (file)
@@ -5,11 +5,11 @@
  * This driver emulates a real time clock based on timer ticks.
  */
 
-#include <common.h>
 #include <div64.h>
 #include <dm.h>
 #include <env.h>
 #include <rtc.h>
+#include <time.h>
 #include <timestamp.h>
 
 /**
index 85fcee3e71e66ff9872420dda88104d8ec4782aa..c202261e99990ea2392b864fce4a98707d9c9454 100644 (file)
@@ -15,7 +15,6 @@
  *
  */
 
-#include <common.h>
 #include <dm.h>
 #include <rtc.h>
 #include <bcd.h>
index c307d6036dd5b87ca4fc256a47d3938ccdbb980e..ea11c72c964c952b08a7354df0d003f66f316526 100644 (file)
@@ -13,7 +13,6 @@
  * time-keeping. It does not change the system time.
  */
 
-#include <common.h>
 #include <dm.h>
 #include <i2c.h>
 #include <log.h>
index 59a60b75b3072cb533e8e94c1d41c6e420514e95..83db505afe9e9b1e2a3c423ac7c245c44bf038d6 100644 (file)
@@ -11,7 +11,6 @@
  * ISL1208 Real Time Clock (RTC).
  */
 
-#include <common.h>
 #include <command.h>
 #include <dm.h>
 #include <rtc.h>
index 891fe09d311b31fc94af723c7826bda2b6f629b1..7bfea9e0b3151e57fc6d7d29b6daf5f0e450734d 100644 (file)
@@ -16,7 +16,7 @@
 
 /* #define     DEBUG   */
 
-#include <common.h>
+#include <config.h>
 #include <command.h>
 #include <dm.h>
 #include <log.h>
index 6c2aef89758bbf5a65ef79fa91ebbcc5f9fed195..9e396bcdae95489583798019ef8d4eb236776849 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2008, Guennadi Liakhovetski <lg@denx.de>
  */
 
-#include <common.h>
 #include <rtc.h>
 #include <spi.h>
 #include <power/pmic.h>
index 03ce081d5764c7989ed0e0d44c6d144b5e0d308d..c0d86c6d063d6694de3d2e5fbd229605ae30c02c 100644 (file)
@@ -8,7 +8,6 @@
  * Date & Time support for the MC146818 (PIXX4) RTC
  */
 
-#include <common.h>
 #include <command.h>
 #include <dm.h>
 #include <rtc.h>
index d2ac889c3095edba6a89440236696721199ec803..b5cc6b968816f6c67558795db6b8f444bd54a753 100644 (file)
@@ -4,7 +4,6 @@
  * TsiChung Liew (Tsi-Chung.Liew@freescale.com)
  */
 
-#include <common.h>
 
 #include <command.h>
 #include <rtc.h>
index 50240d57fa9e8da66ba456b265b2d3268d5fcfcd..f070c681b94e582e6faecda27a672dbb5b1dedeb 100644 (file)
@@ -8,7 +8,6 @@
  * Date & Time support for Marvell Integrated RTC
  */
 
-#include <common.h>
 #include <command.h>
 #include <dm.h>
 #include <rtc.h>
index be899a925408c3f6ccfba9c9fab399fb89296926..69d22a4bdcb6b6019d9ea4e9448bcdb1fdc4f4ca 100644 (file)
@@ -6,7 +6,6 @@
  * on behalf of DENX Software Engineering GmbH
  */
 
-#include <common.h>
 #include <rtc.h>
 #include <asm/io.h>
 #include <asm/arch/imx-regs.h>
index 2f3fafb4968fac960c381c75ab35834d4490759a..27a340f07d68bf0bb68b96c9e27e66f8b8f4a2bd 100644 (file)
@@ -5,7 +5,6 @@
 
 /*     #define DEBUG   */
 
-#include <common.h>
 #include <command.h>
 #include <dm.h>
 #include <i2c.h>
index 91a412440b85124c14f1e3de0b3e3ee92dee8fe8..03bef68051ba4fa7ed732b253fce7a60465f8a35 100644 (file)
@@ -10,7 +10,7 @@
 
 /* #define     DEBUG   */
 
-#include <common.h>
+#include <config.h>
 #include <command.h>
 #include <dm.h>
 #include <log.h>
index a1d376611d6578e2be63ebb376bcacec62f920de..855ee9134168c9c93be610262cf6f379626625aa 100644 (file)
@@ -6,7 +6,6 @@
  * reference linux-2.6.20.6/drivers/rtc/rtc-pl031.c
  */
 
-#include <common.h>
 #include <command.h>
 #include <dm.h>
 #include <errno.h>
index e0a7bd3662fbda8316e3631b5f56920f8f6c2990..79df07814a6b82231daceb258d1d351e8fc4f57a 100644 (file)
@@ -18,7 +18,7 @@
  * It has 56 bytes of nonvolatile RAM.
  */
 
-#include <common.h>
+#include <config.h>
 #include <command.h>
 #include <dm.h>
 #include <log.h>
index e5ae6ea4d5f3cf4aa55ed5c771c64f91e0f7db9e..8f6c0c6a0a78702398e84207b5197ccab794fb95 100644 (file)
@@ -6,7 +6,6 @@
 
 #define LOG_CATEGORY UCLASS_RTC
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <log.h>
index 3afe5b2fdd678568b847c3606cd925f38d65897a..a82acec6f7e5496940c06e3947adf9526f18d836 100644 (file)
@@ -7,10 +7,8 @@
  *   Michael Buesch <m@bues.ch>
  */
 
-#include <common.h>
 #include <command.h>
 #include <dm.h>
-#include <eeprom.h>
 #include <i2c.h>
 #include <log.h>
 #include <rtc.h>
index 06a4ae89fa961e788a5f8fc8f1385e6398ab288b..82b43722ff514aa1ddca2e48039e06d1a2f2573a 100644 (file)
@@ -10,7 +10,6 @@
  *
  */
 
-#include <common.h>
 #include <command.h>
 #include <dm.h>
 #include <log.h>
index bf93b557748b96e3523caebc10245f8a5961cd7e..0d778f4c328e20f8d06b63fe5867740f0c6c1336 100644 (file)
@@ -17,7 +17,7 @@
  */
 
 #include <command.h>
-#include <common.h>
+#include <config.h>
 #include <dm.h>
 #include <i2c.h>
 #include <rtc.h>
index 1394c2306a445f5326ba29446fe0589340f24859..c7895244283cf315207b9344484036f88402743f 100644 (file)
@@ -8,7 +8,6 @@
  * Epson RX8025 RTC driver.
  */
 
-#include <common.h>
 #include <command.h>
 #include <dm.h>
 #include <i2c.h>
index 80f55c86233a7ad8c1184416a755f805e42962c9..03fb9a0be9144344fef9596fda082a7c6a6c8fce 100644 (file)
@@ -18,7 +18,6 @@
  */
 
 #include <command.h>
-#include <common.h>
 #include <dm.h>
 #include <i2c.h>
 #include <linux/bitrev.h>
index 657e5c7be2cfb6d7e60c744753a76cbf50c383a1..4404501c2f65c3ac0ac2409bf8752d353bd93857 100644 (file)
@@ -4,7 +4,6 @@
  * Written by Simon Glass <sjg@chromium.org>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <i2c.h>
 #include <rtc.h>
index ec7584c3d70c3af3dcabe1fe96aa1ccf62eeb49c..ee70c11c8bcb4f181bea29cd02eeed88d739d5fa 100644 (file)
@@ -5,7 +5,6 @@
 
 #define LOG_CATEGORY UCLASS_RTC
 
-#include <common.h>
 #include <clk.h>
 #include <dm.h>
 #include <malloc.h>
index ab9b93ca97933e52778365cf2a3d5195c4456a2c..15122a0483825263ac06f01e441de3739874c75b 100644 (file)
@@ -5,7 +5,6 @@
 
 #define LOG_CATEGORY UCLASS_RTC
 
-#include <common.h>
 #include <dm.h>
 #include <rtc.h>
 #include <asm/io.h>
index a7ac33cb1c4b17f8f2163bcb553bd7c8c4f4ca6a..544a0247083d9da954a0679ae97ac65f536dfe9e 100644 (file)
@@ -9,7 +9,6 @@
 
 #define LOG_CATEGORY UCLASS_SCSI
 
-#include <common.h>
 #include <dm.h>
 #include <os.h>
 #include <malloc.h>
index a7c1eaf0cf50d1ab85b9a7b8c3ef5cc1b61429b2..1ee8236c05c8fba244371ae32788e7d9b5b69b9d 100644 (file)
@@ -10,7 +10,6 @@
 
 #define LOG_CATEGORY UCLASS_SCSI
 
-#include <common.h>
 #include <dm.h>
 #include <scsi.h>
 
index 79ee400d12f0094eb8f4f894cce985c27db60bfc..73cb83548eb83de0d45e045aca7a2e7092f14d11 100644 (file)
@@ -6,7 +6,6 @@
 
 #define LOG_CATEGORY   UCLASS_SCSI
 
-#include <common.h>
 #include <blk.h>
 #include <bootdev.h>
 #include <bootstage.h>
index 218221fa30622704c22ab29ab02121bb0095eef3..28e4612f337c4524637be2d185762e9ff0bcd73d 100644 (file)
@@ -6,7 +6,6 @@
  * Written by Simon Glass <sjg@chromium.org>
  */
 
-#include <common.h>
 #include <bootdev.h>
 #include <dm.h>
 #include <init.h>
index 6b8468f79947ff43b5f7d93df350daacdbee06b7..d1bb926b713a9b36d99d9131ee136d004f71b5e0 100644 (file)
@@ -11,7 +11,6 @@
 
 #define LOG_CATEGORY UCLASS_SCSI
 
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <scsi.h>
index 403ab1ded68a379359f2ca49660ad0d59cdbc2ca..dbe598b74064805a1e451edc6df6bedc3eaea8c4 100644 (file)
@@ -65,3 +65,4 @@ obj-$(CONFIG_S5P4418_PL011_SERIAL) += serial_s5p4418_pl011.o
 ifndef CONFIG_SPL_BUILD
 obj-$(CONFIG_USB_TTY) += usbtty.o
 endif
+obj-$(CONFIG_UART4_SERIAL) += serial_adi_uart4.o
index 9e39da7dd24619ca84a9e899dc200e5d69a7b43f..3f706e1839f2937dd6b86fa8fa73023c4626c9ec 100644 (file)
@@ -4,7 +4,6 @@
  * Scott McNutt <smcnutt@psyent.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <serial.h>
index 35920480841a8beffa5ea6a26bb2bdc9476e18c9..3c13ef25bb492a0a342c572b9fb3e11a6535ca54 100644 (file)
@@ -4,7 +4,6 @@
  * Scott McNutt <smcnutt@psyent.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <serial.h>
index a402a123b6d66c81d2689e960b54fb5e8b9f4265..66af136695d086d1b7d74e9abf05c90417adf32b 100644 (file)
@@ -15,7 +15,6 @@
  * this file might be covered by the GNU General Public License.
  */
 
-#include <common.h>
 #include <dm.h>
 #include <serial.h>
 
index 9827c006fa88b3df1944445917a5d5dc056e0ecc..7e45a80969e8935b06064b0d6985a8acbb0a327d 100644 (file)
@@ -5,7 +5,6 @@
  * Modified to support C structur SoC access by
  * Andreas Bießmann <biessmann@corscience.de>
  */
-#include <common.h>
 #include <clk.h>
 #include <dm.h>
 #include <errno.h>
index 6deb1d8ddc56c59ebda43de19500deaf2e023058..4963385dc1c17bdeaa922134617a02c480f7c61c 100644 (file)
@@ -5,7 +5,7 @@
  */
 
 #include <clock_legacy.h>
-#include <common.h>
+#include <config.h>
 #include <clk.h>
 #include <dm.h>
 #include <errno.h>
index f6ac3d228526a6cd59994e26f47deabb3a51cead..ec0068e33d34696db5416cf2912ec0f9f5387d1b 100644 (file)
@@ -9,7 +9,6 @@
  * U-Boot.
  */
 
-#include <common.h>
 #include <console.h>
 #include <dm.h>
 #include <os.h>
index e4fa3933bc8ffc1744e665025cfb9f1897e0863e..84f02f7ac76a270c5836b3e5a0eef35a23f5702e 100644 (file)
@@ -5,7 +5,7 @@
 
 #define LOG_CATEGORY UCLASS_SERIAL
 
-#include <common.h>
+#include <config.h>
 #include <dm.h>
 #include <env_internal.h>
 #include <errno.h>
index 787edd5360277ca0300edd22dcccfd0f0231494f..dc4bb06fa992edc0e6eeae22d340c8232fc34eec 100644 (file)
@@ -4,7 +4,7 @@
  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  */
 
-#include <common.h>
+#include <config.h>
 #include <env_internal.h>
 #include <hang.h>
 #include <serial.h>
diff --git a/drivers/serial/serial_adi_uart4.c b/drivers/serial/serial_adi_uart4.c
new file mode 100644 (file)
index 0000000..45f8315
--- /dev/null
@@ -0,0 +1,225 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
+/*
+ * (C) Copyright 2022 - Analog Devices, Inc.
+ *
+ * Written and/or maintained by Timesys Corporation
+ *
+ * Converted to driver model by Nathan Barrett-Morrison
+ *
+ * Contact: Nathan Barrett-Morrison <nathan.morrison@timesys.com>
+ * Contact: Greg Malysa <greg.malysa@timesys.com>
+ *
+ */
+
+#include <clk.h>
+#include <dm.h>
+#include <serial.h>
+#include <asm/io.h>
+#include <dm/device_compat.h>
+#include <linux/bitops.h>
+
+/*
+ * UART4 Masks
+ */
+
+/* UART_CONTROL */
+#define UEN                    BIT(0)
+#define LOOP_ENA               BIT(1)
+#define UMOD                   (3 << 4)
+#define UMOD_UART              (0 << 4)
+#define UMOD_MDB               BIT(4)
+#define UMOD_IRDA              BIT(4)
+#define WLS                    (3 << 8)
+#define WLS_5                  (0 << 8)
+#define WLS_6                  BIT(8)
+#define WLS_7                  (2 << 8)
+#define WLS_8                  (3 << 8)
+#define STB                    BIT(12)
+#define STBH                   BIT(13)
+#define PEN                    BIT(14)
+#define EPS                    BIT(15)
+#define STP                    BIT(16)
+#define FPE                    BIT(17)
+#define FFE                    BIT(18)
+#define SB                     BIT(19)
+#define FCPOL                  BIT(22)
+#define RPOLC                  BIT(23)
+#define TPOLC                  BIT(24)
+#define MRTS                   BIT(25)
+#define XOFF                   BIT(26)
+#define ARTS                   BIT(27)
+#define ACTS                   BIT(28)
+#define RFIT                   BIT(29)
+#define RFRT                   BIT(30)
+
+/* UART_STATUS */
+#define DR                     BIT(0)
+#define OE                     BIT(1)
+#define PE                     BIT(2)
+#define FE                     BIT(3)
+#define BI                     BIT(4)
+#define THRE                   BIT(5)
+#define TEMT                   BIT(7)
+#define TFI                    BIT(8)
+#define ASTKY                  BIT(9)
+#define ADDR                   BIT(10)
+#define RO                     BIT(11)
+#define SCTS                   BIT(12)
+#define CTS                    BIT(16)
+#define RFCS                   BIT(17)
+
+/* UART_EMASK */
+#define ERBFI                  BIT(0)
+#define ETBEI                  BIT(1)
+#define ELSI                   BIT(2)
+#define EDSSI                  BIT(3)
+#define EDTPTI                 BIT(4)
+#define ETFI                   BIT(5)
+#define ERFCI                  BIT(6)
+#define EAWI                   BIT(7)
+#define ERXS                   BIT(8)
+#define ETXS                   BIT(9)
+
+DECLARE_GLOBAL_DATA_PTR;
+
+struct uart4_reg {
+       u32 revid;
+       u32 control;
+       u32 status;
+       u32 scr;
+       u32 clock;
+       u32 emask;
+       u32 emaskst;
+       u32 emaskcl;
+       u32 rbr;
+       u32 thr;
+       u32 taip;
+       u32 tsr;
+       u32 rsr;
+       u32 txdiv_cnt;
+       u32 rxdiv_cnt;
+};
+
+struct adi_uart4_platdata {
+       // Hardware registers
+       struct uart4_reg *regs;
+
+       // Enable divide-by-one baud rate setting
+       bool edbo;
+};
+
+static int adi_uart4_set_brg(struct udevice *dev, int baudrate)
+{
+       struct adi_uart4_platdata *plat = dev_get_plat(dev);
+       struct uart4_reg *regs = plat->regs;
+       u32 divisor, uart_base_clk_rate;
+       struct clk uart_base_clk;
+
+       if (clk_get_by_index(dev, 0, &uart_base_clk)) {
+               dev_err(dev, "Could not get UART base clock\n");
+               return -1;
+       }
+
+       uart_base_clk_rate = clk_get_rate(&uart_base_clk);
+
+       if (plat->edbo) {
+               u16 divisor16 = (uart_base_clk_rate + (baudrate / 2)) / baudrate;
+
+               divisor = divisor16 | BIT(31);
+       } else {
+               // Divisor is only 16 bits
+               divisor = 0x0000ffff & ((uart_base_clk_rate + (baudrate * 8)) / (baudrate * 16));
+       }
+
+       writel(divisor, &regs->clock);
+       return 0;
+}
+
+static int adi_uart4_pending(struct udevice *dev, bool input)
+{
+       struct adi_uart4_platdata *plat = dev_get_plat(dev);
+       struct uart4_reg *regs = plat->regs;
+
+       if (input)
+               return (readl(&regs->status) & DR) ? 1 : 0;
+       else
+               return (readl(&regs->status) & THRE) ? 0 : 1;
+}
+
+static int adi_uart4_getc(struct udevice *dev)
+{
+       struct adi_uart4_platdata *plat = dev_get_plat(dev);
+       struct uart4_reg *regs = plat->regs;
+       int uart_rbr_val;
+
+       if (!adi_uart4_pending(dev, true))
+               return -EAGAIN;
+
+       uart_rbr_val = readl(&regs->rbr);
+       writel(-1, &regs->status);
+
+       return uart_rbr_val;
+}
+
+static int adi_uart4_putc(struct udevice *dev, const char ch)
+{
+       struct adi_uart4_platdata *plat = dev_get_plat(dev);
+       struct uart4_reg *regs = plat->regs;
+
+       if (adi_uart4_pending(dev, false))
+               return -EAGAIN;
+
+       writel(ch, &regs->thr);
+       return 0;
+}
+
+static const struct dm_serial_ops adi_uart4_serial_ops = {
+       .setbrg = adi_uart4_set_brg,
+       .getc = adi_uart4_getc,
+       .putc = adi_uart4_putc,
+       .pending = adi_uart4_pending,
+};
+
+static int adi_uart4_of_to_plat(struct udevice *dev)
+{
+       struct adi_uart4_platdata *plat = dev_get_plat(dev);
+       fdt_addr_t addr;
+
+       addr = dev_read_addr(dev);
+       if (addr == FDT_ADDR_T_NONE)
+               return -EINVAL;
+
+       plat->regs = (struct uart4_reg *)addr;
+       plat->edbo = dev_read_bool(dev, "adi,enable-edbo");
+
+       return 0;
+}
+
+static int adi_uart4_probe(struct udevice *dev)
+{
+       struct adi_uart4_platdata *plat = dev_get_plat(dev);
+       struct uart4_reg *regs = plat->regs;
+
+       /* always enable UART to 8-bit mode */
+       writel(UEN | UMOD_UART | WLS_8, &regs->control);
+
+       writel(-1, &regs->status);
+
+       return 0;
+}
+
+static const struct udevice_id adi_uart4_serial_ids[] = {
+       { .compatible = "adi,uart4" },
+       { }
+};
+
+U_BOOT_DRIVER(serial_adi_uart4) = {
+       .name = "serial_adi_uart4",
+       .id = UCLASS_SERIAL,
+       .of_match = adi_uart4_serial_ids,
+       .of_to_plat = adi_uart4_of_to_plat,
+       .plat_auto = sizeof(struct adi_uart4_platdata),
+       .probe = adi_uart4_probe,
+       .ops = &adi_uart4_serial_ops,
+       .flags = DM_FLAG_PRE_RELOC,
+};
index 4f9163497626f9cfea1a2c4c350c8311c355da36..4d92752690fc9d477c4401f615497ed017367284 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2015-2016 Wills Wang <wills.wang@live.com>
  */
 
-#include <common.h>
 #include <clock_legacy.h>
 #include <dm.h>
 #include <div64.h>
index c2fc8a901e257b34c62c3baebed277ef00ad23d3..c0930cf7334ae2f95e7d09178f8ac27f2023c74e 100644 (file)
@@ -7,7 +7,6 @@
  *
  */
 
-#include <common.h>
 #include <dm.h>
 #include <serial.h>
 #include <asm/global_data.h>
index 7585f790d22a758d9aa1dbecee51262d252efd64..7fa26244b1cac30bf1a8e8ed8da545eda3e80956 100644 (file)
@@ -14,7 +14,6 @@
 
 /* Simple U-Boot driver for the BCM283x mini UART */
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <watchdog.h>
index 09a9868a38f14b0abddbfade5e60e0bc0aa9ad37..2abc1c4658f3c5b5fe0c2c0a59bec993b90375b0 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (c) 2018 Alexander Graf <agraf@suse.de>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <asm/gpio.h>
 #include <dm/pinctrl.h>
index 23066e4d05433b44179c4c379a072455869d5e6d..b1f69f6998cfa1fc6263a087a958509016902601 100644 (file)
@@ -7,7 +7,6 @@
 
 #define LOG_CATGEGORY  UCLASS_SERIAL
 
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <ns16550.h>
index 6dc81a775d3f0618550bb75efd2b89fd6eb426df..3ae8fb465848362b69378aeba6109d411d5daa6b 100644 (file)
@@ -5,7 +5,6 @@
  *
  */
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <watchdog.h>
index 0067576389d16900af83cdbe6328bfb35fafdf09..5733eaaf9d41cfeebd8dd189fb952ba00d8b4223 100644 (file)
@@ -4,7 +4,6 @@
  * Written by Simon Glass <sjg@chromium.org>
  */
 
-#include <common.h>
 #include <debug_uart.h>
 #include <dm.h>
 #include <efi.h>
index 5d2bf0aaeba3d3fc3f082b0b0caae94774d9e9fb..2a93bbbcc9f8d534be5937180b9709e9f517f4ab 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2022 Ventana Micro Systems Inc.
  */
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <fdtdec.h>
index bbf19057c4d12f76ce559ed9a7b35ee1f58eb875..4b528e4529266af30500b824b477d85c794b7918 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (c) 2017 Intel Corporation
  */
 
-#include <common.h>
 #include <dm.h>
 #include <ns16550.h>
 #include <serial.h>
index b449e55a6506fb5a92fd6ef1bc2441a985fd5dcb..ff66e69b9d7b15af517dda3b665e7b012d5ff17d 100644 (file)
@@ -3,7 +3,6 @@
  * (C) Copyright 2013-2016 Freescale Semiconductor, Inc.
  */
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <watchdog.h>
index 3f2be72b830240fee20b8745dc5f29aec9fae57e..a06e6dc2505d8a4bf7404c65165c671abfa31354 100644 (file)
@@ -4,7 +4,6 @@
  * Copyright 2013 Freescale Semiconductor, Inc.
  */
 
-#include <common.h>
 #include <clock_legacy.h>
 #include <clk.h>
 #include <dm.h>
index bb2afd0d8cd6baf0fad9924cb13887f8400246c7..76143575fa982a65f6e0147e7efc32b1db8c6b84 100644 (file)
@@ -15,7 +15,6 @@
  * as serial console interface.
  */
 
-#include <common.h>
 #include <dm.h>
 #include <asm/global_data.h>
 #include <dm/platform_data/serial_coldfire.h>
index be5f380f8500621af55bfb93910ceafa1e40f851..bb79b9729579a661084425d6b3c5357da31dc3c0 100644 (file)
@@ -3,7 +3,6 @@
  * (C) Copyright 2016 Beniamino Galvani <b.galvani@gmail.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <fdtdec.h>
index d82760c7f10adee337ee3bff7b8f93969be09799..9ce3fc3d9ec4319d3514e3bdd84ca77b6fd13d87 100644 (file)
@@ -4,7 +4,6 @@
  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  */
 
-#include <common.h>
 #include <command.h>
 #include <dm.h>
 #include <serial.h>
index a472e0b3683399cfe6035595f6786254725b6fa7..757e5eaf974fc171c7a56006a218554be1425612 100644 (file)
@@ -8,7 +8,6 @@
  * Based on Linux driver.
  */
 
-#include <common.h>
 #include <clk.h>
 #include <dm.h>
 #include <errno.h>
index 5260474fb9a4745e2ef7dac2743bf5418a2c67ef..cb6c09fdd09eecdcbdc7a9f6b53ce14e97a1919b 100644 (file)
@@ -9,7 +9,6 @@
 
 #include <asm/io.h>
 #include <clk.h>
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <linux/delay.h>
index f146f2b006e898858f74767888e7bfc1a4f46e95..3f569c68f22a2fb5dec24d1185792e17bb5f8d71 100644 (file)
@@ -7,7 +7,7 @@
  */
 
 #include <clk.h>
-#include <common.h>
+#include <config.h>
 #include <div64.h>
 #include <dm.h>
 #include <dm/device_compat.h>
index b2017c645565fe6f567c7ee2a37fd57dc16339d9..1a0b85e170ab01995c91b03f6c08cb90c55d10e4 100644 (file)
@@ -4,7 +4,6 @@
  * Copyright (C) 2021 Pali Rohár <pali@kernel.org>
  */
 
-#include <common.h>
 #include <clk.h>
 #include <dm.h>
 #include <serial.h>
index cc85a502726ecc46463b33ea2c3fade80dd419ce..c5fd740be4deeacfdf178d813d6065ab6829c7f0 100644 (file)
@@ -3,7 +3,6 @@
  * (c) 2007 Sascha Hauer <s.hauer@pengutronix.de>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <watchdog.h>
index 3659948b8728a84155a54f01d6c83f05fd6b728f..071bd09fef69a9cb4a5735f979e4e031bb8713c1 100644 (file)
@@ -2,7 +2,6 @@
 /*
  * Copyright (C) 2023 Marek Vasut <marex@denx.de>
  */
-#include <common.h>
 #include <dm.h>
 #include <malloc.h>
 #include <serial.h>
index 6bf3a943a2fc0e79adcbc29645e329d8f33a6a94..661daf1aefa3e51fc861a995baf1a380d10a993a 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (c) 2021 Nuvoton Technology Corp.
  */
 
-#include <common.h>
 #include <clk.h>
 #include <dm.h>
 #include <serial.h>
index 4014f6820400d592916f8445a9581e16673a7bf6..577864bc2195fe7e8e5ab333ee8245fb7cbc391f 100644 (file)
@@ -4,7 +4,7 @@
  * Rob Taylor, Flying Pig Systems. robt@flyingpig.com.
  */
 
-#include <common.h>
+#include <config.h>
 #include <clock_legacy.h>
 #include <ns16550.h>
 #include <serial.h>
index f3ca7f525591ced618825073ebca4d3f829a15f2..78a9e0b195fa0db8dcc53b3d7d08fc8c2178ea03 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (c) 2015 National Instruments
  */
 
-#include <common.h>
 #include <dm.h>
 #include <serial.h>
 
index 49ced8f9fae46ea8e35753f7f59e2df858915666..94672655c288e364065df03401abc9828ef1e568 100644 (file)
@@ -6,7 +6,7 @@
  *     Lokesh Vutla <lokeshvutla@ti.com>
  */
 
-#include <common.h>
+#include <config.h>
 #include <dm.h>
 #include <dt-structs.h>
 #include <log.h>
index 3b795785f780711291e72f36b1b7e2b8c95066e8..8ce8aa32a21ea2c20a84c63d963e4dfc709bab4b 100644 (file)
@@ -6,7 +6,6 @@
  * Copyright (C) 2018 Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
  */
 
-#include <common.h>
 #include <clk.h>
 #include <dm.h>
 #include <errno.h>
index 0a03a9a254971291d675dc6b42f84c05f2f1d8ed..a49c4139b5ae55739601e9b41500b87270ecb1a1 100644 (file)
@@ -3,7 +3,6 @@
  * (c) 2015 Paul Thacker <paul.thacker@microchip.com>
  *
  */
-#include <common.h>
 #include <clk.h>
 #include <dm.h>
 #include <malloc.h>
index f04c21e0826487ae32d4da5d21752a700baa927b..80c35963b8f2988af861c1f02e6c368799c2e012 100644 (file)
@@ -10,7 +10,6 @@
 
 /* Simple U-Boot driver for the PrimeCell PL010/PL011 UARTs */
 
-#include <common.h>
 #include <asm/global_data.h>
 /* For get_bus_freq() */
 #include <clock_legacy.h>
index f4e9422ed91c95e965f43b043f5be82db245586d..8a15173f238f4f2abcfb33d834c3ed4571ca3ed8 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (c) 2015 Google, Inc
  */
 
-#include <common.h>
 #include <debug_uart.h>
 #include <dm.h>
 #include <dt-structs.h>
index e4492e662e927920c8dab08fb944f780b1913168..1fb954e80c2a5ff38b3655e9e8874693d2b0b014 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2022  Stefan Bosch <stefan_b@posteo.net>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <asm/arch/clk.h>
 #include <asm/arch/reset.h>
index cfa1ec3148c5a1d8d6cc3198b501fe76ee36ec64..56a5ec72428afdd97eccad739a46189380ba3e76 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2022 Sean Anderson <sean.anderson@seco.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <malloc.h>
 #include <serial.h>
index c449f3fd02d90a72c945ec357270f042206e6b81..e47828e4d6adbf8a80050085faa7a4ea992f0b95 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2018 Anup Patel <anup@brainfault.org>
  */
 
-#include <common.h>
 #include <clk.h>
 #include <debug_uart.h>
 #include <dm.h>
index 40381b57b08e4188925d113d89b570a0620b0fcd..ef68e585dd6222d43590b65babd9dca04b32bad2 100644 (file)
@@ -6,7 +6,6 @@
  * Author(s): Patrice Chotard, <patrice.chotard@foss.st.com> for STMicroelectronics.
  */
 
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <serial.h>
index fb039546a41b73a3ba656e1ca12eaff3b628734d..1ee58142b3f82535281460f1ebc901fef831e220 100644 (file)
@@ -6,7 +6,6 @@
 
 #define LOG_CATEGORY UCLASS_SERIAL
 
-#include <common.h>
 #include <clk.h>
 #include <dm.h>
 #include <log.h>
index 27e4b92c39974fe1f5b111d5c6c3b61e7b2bc3d2..a566ba7a47d5a880cd9b16c00216aa90afeeb2d3 100644 (file)
@@ -5,7 +5,6 @@
  *   Author: Masahiro Yamada <yamada.masahiro@socionext.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <linux/bitfield.h>
 #include <linux/bitops.h>
index ab318b06462bfd724bf010f4f94511b68c8b4c13..e05805f63726a399cfd030546939bc039627dd8c 100644 (file)
@@ -3,7 +3,6 @@
  * (C) 2018 NXP
  * (C) 2020 EPAM Systems Inc.
  */
-#include <common.h>
 #include <cpu_func.h>
 #include <dm.h>
 #include <serial.h>
index 35df413321fe695d5d5fc0dc220715c754191577..eb234108746d094a5bf5cbb6fc32a06c123f8d5f 100644 (file)
@@ -8,7 +8,6 @@
  */
 
 #include <config.h>
-#include <common.h>
 #include <dm.h>
 #include <asm/io.h>
 #include <linux/bitops.h>
index 1847d1f6ecd23416aec899a9aa1a0605d101137c..55f13c00ddf664387470f4f740540183392900d7 100644 (file)
@@ -5,7 +5,6 @@
  */
 
 #include <clk.h>
-#include <common.h>
 #include <debug_uart.h>
 #include <dm.h>
 #include <errno.h>
index ecb6ba853df78f0737b405275d70a4e57f1d6b58..ae3ac8070d3478f2e96461666236c8e3687f6b40 100644 (file)
@@ -7,7 +7,6 @@
  * Bryan O'Donoghue, bodonoghue@codehermit.ie
  */
 
-#include <common.h>
 #include <config.h>
 #include <circbuf.h>
 #include <env.h>
index 15b3b0e2672f6e714474df8ac3b7fc43faf3948c..87eba1486db30ca90f982a81ed8aeacf45e5ff16 100644 (file)
@@ -5,7 +5,6 @@
  * Author: Alexey Romanov <avromanov@salutedevices.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <regmap.h>
 #include <sm.h>
index 109ddb2af55768223e18a31bc2cb50f026d120ea..a95e685494c27d53bed730909488500d05685350 100644 (file)
@@ -5,7 +5,6 @@
  * Author: Alexey Romanov <avromanov@salutedevices.com>
  */
 
-#include <common.h>
 #include <sm.h>
 #include <sm-uclass.h>
 #include <sandbox-sm.h>
index 6a8b70262937502b762d853f20c7637440da86c7..abca0052e293185eb3c3f1cf36d516672f9c5356 100644 (file)
@@ -5,7 +5,6 @@
  * Author: Alexey Romanov <avromanov@salutedevices.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <sm-uclass.h>
index 17ee6c837c6a705006aa421b640ca381b7281edb..ccd145f9afbb6a8f85921d38d0a69f805cd3db16 100644 (file)
@@ -5,7 +5,6 @@
  * Copyright (c) 2018, Ramon Fried <ramon.fried@gmail.com>
  */
 
-#include <common.h>
 #include <errno.h>
 #include <dm.h>
 #include <asm/global_data.h>
index 7397e4407ad473c266f7c207fe21d177ef8571d1..fec98e5611d6fba401fc8bf489561ec24086b6f4 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (c) 2018 Ramon Fried <ramon.fried@gmail.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <smem.h>
index 8469076915e005928a60abf33906cb56873f6c32..4dea5cc4bf1c03737cc2d8b0867343bc20c5be08 100644 (file)
@@ -5,7 +5,6 @@
 
 #define LOG_CATEGORY UCLASS_SMEM
 
-#include <common.h>
 #include <dm.h>
 #include <smem.h>
 
index 8b3044fed8d223b21674d852084dd10bb349d96d..744cdda2e187501847eae0b3180e1ba359e81152 100644 (file)
@@ -6,7 +6,6 @@
 
 #define LOG_CATEGORY UCLASS_SOC
 
-#include <common.h>
 #include <soc.h>
 #include <dm.h>
 #include <errno.h>
index 15fdd9930cb4c56446df9668f93848afc4cff244..8d621e88f5679709427d20f5694bb3da819ba45d 100644 (file)
@@ -6,7 +6,6 @@
  * Dave Gerlach <d-gerlach@ti.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <soc.h>
 
index 3a4e58bba6715239339e7afc5b7c1cdf656624a2..b585e47d46fe52019be674ecd36cccacb419cdd5 100644 (file)
@@ -4,7 +4,6 @@
  *     Dave Gerlach <d-gerlach@ti.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <soc.h>
 
index 3d8c25c19bb64738ca2b3260c41a9173ef388dcd..7427f8432c8b8f8043e2385ae6648d28253c30bd 100644 (file)
@@ -5,7 +5,6 @@
  * Copyright (C) 2021 Xilinx, Inc.
  */
 
-#include <common.h>
 #include <dm.h>
 #include <soc.h>
 #include <zynqmp_firmware.h>
index 146d068bb4ae5f0afc9ccfe42f14acbfa29a0f1f..d64fc366a6d10b12152e25e3aacfd7618406685c 100644 (file)
@@ -5,7 +5,6 @@
  * Copyright (C) 2022, Advanced Micro Devices, Inc.
  */
 
-#include <common.h>
 #include <dm.h>
 #include <soc.h>
 #include <zynqmp_firmware.h>
index d8b4f172a39d27ed5fd01be4acd51ffbff7dd679..a2d5b82fd34d1c6968c76fc9e484490f66420108 100644 (file)
@@ -9,7 +9,6 @@
  * Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <dm/device_compat.h>
 #include <asm/cache.h>
index ed39ff2fa4c72355d6d1332c7a48bfc1a22210b2..d3f3d4761c2f4aca2da54dedae4ff6f5e98c34dd 100644 (file)
@@ -5,7 +5,6 @@
  * Copyright (C) 2018 Texas Instruments Incorporated - https://www.ti.com
  */
 
-#include <common.h>
 #include <cpu_func.h>
 #include <log.h>
 #include <asm/cache.h>
index 0e1bf8ff39dbb88d0a3de86489ecf57cb63cc3e0..b19617997e1a3425e009e817c42cc73089a3b586 100644 (file)
@@ -7,7 +7,6 @@
  */
 
 #include <errno.h>
-#include <common.h>
 #include <asm/io.h>
 #include <asm/ti-common/keystone_serdes.h>
 #include <linux/bitops.h>
index 461390925d2ceac578622efdea2dc63163757a60..e3bb2ede554aae7c479ba26c29d5f93426f067ed 100644 (file)
@@ -5,7 +5,6 @@
  * Copyright (C) 2020-2021 Texas Instruments Incorporated - https://www.ti.com/
  */
 
-#include <common.h>
 #include <dm.h>
 #include <dm/of_access.h>
 #include <errno.h>
@@ -205,6 +204,7 @@ static int pruss_probe(struct udevice *dev)
 
 static const struct udevice_id pruss_ids[] = {
        { .compatible = "ti,am654-icssg"},
+       { .compatible = "ti,am642-icssg"},
        {}
 };
 
index 7f754e6567619fbe67c6c3b4fa1536119f7cecc3..bc44b5ec7e1fd9a7cae31d7df778ec8cffd901b4 100644 (file)
@@ -9,7 +9,6 @@
 
 #define LOG_CATEGORY UCLASS_I2S
 
-#include <common.h>
 #include <dm.h>
 #include <i2s.h>
 #include <log.h>
index 6e083fe1f6967f50987635f03995148184c4d5ba..473f8d8f9771a89ee84fc4755fbbda102c91adb6 100644 (file)
@@ -8,7 +8,6 @@
 
 #define LOG_CATEGORY UCLASS_SOUND
 
-#include <common.h>
 #include <audio_codec.h>
 #include <dm.h>
 #include <i2s.h>
index 2cb233bd3060b6430afe3daa5711fb826602c07f..1c1560619ea502279d2b9b42596512daa749444f 100644 (file)
@@ -6,7 +6,6 @@
 
 #define LOG_CATEGORY UCLASS_AUDIO_CODEC
 
-#include <common.h>
 #include <dm.h>
 #include <audio_codec.h>
 
index c1edef4436082fcfca0b13ccd41c1bcc80afa6cd..5b9b3f65263fa559780bf85722dcacf5240ae480 100644 (file)
@@ -6,7 +6,6 @@
  * Parts taken from coreboot
  */
 
-#include <common.h>
 #include <dm.h>
 #include <i2c.h>
 #include <irq.h>
index af6148ef7240324af603f8f164c79898bacb5011..da8bde67de65645f9836f5b3064a1882e2faef07 100644 (file)
@@ -7,7 +7,6 @@
 
 #define LOG_CATEGORY   UCLASS_SOUND
 
-#include <common.h>
 #include <dm.h>
 #include <hda_codec.h>
 #include <log.h>
index fc4f686b516d6ad360ce7f6492ecd9d7329ad3a0..6263c4d707190fe09f837cfc814d669b2e192d41 100644 (file)
@@ -6,7 +6,6 @@
 
 #define LOG_CATEGORY UCLASS_I2S
 
-#include <common.h>
 #include <dm.h>
 #include <i2s.h>
 
index 5572dc4d265d7db69db07022947d6cf030302fc6..7234ad4a07e567091e7ec27e5703b35133adb733 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright 2018 Google LLC
  */
 
-#include <common.h>
 #include <dm.h>
 #include <sound.h>
 #include <asm/i8254.h>
index d982219e06de8ecded418a81c4ce3e6a2256d282..aeeba1d267ecc4a21f772284a6318897a9f3358d 100644 (file)
@@ -12,7 +12,6 @@
 
 #define LOG_CATEGORY UCLASS_SOUND
 
-#include <common.h>
 #include <dm.h>
 #include <hda_codec.h>
 #include <log.h>
index c0463b8e8a62f3e611db06fa1ee2fe8859ff16b8..d9037641ca462a8d73f331278a79ef3966d57de5 100644 (file)
@@ -8,7 +8,6 @@
  * following the changes made in max98095.c
  */
 
-#include <common.h>
 #include <audio_codec.h>
 #include <div64.h>
 #include <dm.h>
index a798762f1ee755920cb4d9d17ca6c0f57169193b..18a3ffa85c8ed9896b8f8e222e01a723216c949f 100644 (file)
@@ -5,7 +5,6 @@
  * Copyright 2011 Maxim Integrated Products
  */
 
-#include <common.h>
 #include <audio_codec.h>
 #include <div64.h>
 #include <dm.h>
index d0f701aaf105df9c6dce3cd51f649b57a166bbdc..96e772cff21bd027e56839d17757f6509a5a6054 100644 (file)
@@ -7,7 +7,6 @@
  * Modified for U-Boot by R. Chandrasekar (rcsekar@samsung.com)
  */
 
-#include <common.h>
 #include <audio_codec.h>
 #include <dm.h>
 #include <div64.h>
index bdf6dc236ec38db62b37b9a0315c4564b7312584..da56ffdd6bb4e7d37b626cb2ea5153b47ceb6a06 100644 (file)
@@ -6,7 +6,6 @@
  * Parts taken from coreboot
  */
 
-#include <common.h>
 #include <audio_codec.h>
 #include <dm.h>
 #include <log.h>
index 6553d9590472b93b2dd3e33ce3afd924e84f886c..98f094c0e9adf96f02e365ad298ee75758567068 100644 (file)
@@ -5,7 +5,6 @@
  * Copyright 2011 Maxim Integrated Products
  */
 
-#include <common.h>
 #include <div64.h>
 #include <i2c.h>
 #include <i2s.h>
index 4e9e68aaac8165f3009dc6f586eb2ae6a297820c..5078dfbed07d4edf9588fe338dffdaa6909c0461 100644 (file)
@@ -7,7 +7,6 @@
 
 #define LOG_CATEGORY UCLASS_I2S
 
-#include <common.h>
 #include <dm.h>
 #include <i2s.h>
 #include <log.h>
index 94058e603d7d3fc5bc73e049543759d6c85cd11a..418d2efd452678a44599b195c0b317ac31797696 100644 (file)
@@ -6,7 +6,6 @@
 
 #define LOG_CATEGORY UCLASS_SOUND
 
-#include <common.h>
 #include <audio_codec.h>
 #include <clk.h>
 #include <dm.h>
index b655bb40b6426886f3b64edf4846badac5779173..b5c997c6dd53407fd56c2113ca28f73c197efa22 100644 (file)
@@ -5,7 +5,6 @@
 
 #define LOG_CATEGORY UCLASS_SOUND
 
-#include <common.h>
 #include <audio_codec.h>
 #include <dm.h>
 #include <i2c.h>
index dc5a2789aeed8adf9842a964f3f3fa8433d8266e..42175fd7d28b9edaee730148eb79ceeff9312f1c 100644 (file)
@@ -4,11 +4,11 @@
  * R. Chandrasekar <rcsekar@samsung.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <i2s.h>
 #include <log.h>
 #include <sound.h>
+#include <time.h>
 #include <asm/arch/clk.h>
 #include <asm/arch/pinmux.h>
 #include <asm/arch/i2s-regs.h>
index 473cedf7e9749994d5667d9bd54872da5f36cdbd..9150ad4a63ba1892f7b30ffaacd5f1d7175e681a 100644 (file)
@@ -4,7 +4,6 @@
  * Written by Simon Glass <sjg@chromium.org>
  */
 
-#include <common.h>
 #include <audio_codec.h>
 #include <dm.h>
 #include <i2s.h>
index c6cbd81fdbceb996da1cba50d058c1dc9978c07c..31ae153530e8832a185dc4dcd2bf270c7c3f67c9 100644 (file)
@@ -5,7 +5,6 @@
 
 #define LOG_CATEGORY UCLASS_SOUND
 
-#include <common.h>
 #include <audio_codec.h>
 #include <dm.h>
 #include <i2s.h>
index 2ffc4fc7c1db7e76ec308c513c03f792563b4044..b8a3dab447d9c5494637082bc79af45c45971deb 100644 (file)
@@ -6,7 +6,6 @@
 
 #define LOG_CATEGORY UCLASS_SOUND
 
-#include <common.h>
 #include <dm.h>
 #include <i2s.h>
 #include <log.h>
index c0fc50c99dac5e6c7ec051a9b762415a0d3c6670..4fde2989e04f5983106eb12b5121844639f865df 100644 (file)
@@ -4,9 +4,9 @@
  * R. Chandrasekar <rcsekar@samsung.com>
  */
 
-#include <common.h>
 #include <log.h>
 #include <sound.h>
+#include <linux/string.h>
 
 void sound_create_square_wave(uint sample_rate, unsigned short *data, int size,
                              uint freq, uint channels)
index 495a29c5137c4462780ca9934514ce0871216ba3..8f1b0c009a8815d080357c51182695946ae0f41e 100644 (file)
@@ -7,11 +7,11 @@
 
 #define LOG_CATEGORY UCLASS_MISC
 
-#include <common.h>
 #include <dm.h>
 #include <i2s.h>
 #include <log.h>
 #include <misc.h>
+#include <time.h>
 #include <asm/io.h>
 #include <asm/arch-tegra/tegra_ahub.h>
 #include <asm/arch-tegra/tegra_i2s.h>
index 932f737900e4f90879bd0961fcf8be674d1f917c..357aac36ceaae64d4f6423f173616c39a8aed3cd 100644 (file)
@@ -5,7 +5,6 @@
  */
 #define LOG_CATEGORY UCLASS_I2S
 
-#include <common.h>
 #include <dm.h>
 #include <i2s.h>
 #include <log.h>
index aef6a2eb147555506e8b8d0db862dc5cb3056c32..152c929146f587834a36269941d173264227e362 100644 (file)
@@ -6,7 +6,6 @@
 
 #define LOG_CATEGORY UCLASS_I2S
 
-#include <common.h>
 #include <audio_codec.h>
 #include <dm.h>
 #include <i2s.h>
index fd646479b315a866823e998b8acac63f2b85b1f2..6b3091aa5de18eea58d6d1cb32b7657bbbaac921 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2012 Samsung Electronics
  * R. Chandrasekar <rcsekar@samsung.com>
  */
-#include <common.h>
 #include <audio_codec.h>
 #include <dm.h>
 #include <div64.h>
index 989679e881b5c28da24d45549a248fd34e913473..8e227d187b0c214978ed9c8deb6bdee6112d7606 100644 (file)
@@ -6,7 +6,6 @@
  * Copyright (c) 2005-2008 Analog Devices Inc.
  * Copyright (C) 2010 Thomas Chou <thomas@wytron.com.tw>
  */
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <log.h>
index f35f5af1f6f8f6e3b0fbce4b8a3359ab2cc28523..5f94e9f7a74db914d8cb33eb6493c682c6ce6a6d 100644 (file)
@@ -4,7 +4,6 @@
  * Copyright The Asahi Linux Contributors
  */
 
-#include <common.h>
 #include <dm.h>
 #include <clk.h>
 #include <spi.h>
index 70cb242cd31efc22947ad2569cfe731f0735c4c1..929bf90458c397cfcfefdbab8e8133bf3d2b3c44 100644 (file)
@@ -6,7 +6,6 @@
  * Author: Rick Chen (rick@andestech.com)
  */
 
-#include <common.h>
 #include <clk.h>
 #include <log.h>
 #include <malloc.h>
index 205567ef54dd57458de3a4bfa3b4c66791c99adf..faefac71260878393651fde315be1e9abad547e0 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2015-2016 Wills Wang <wills.wang@live.com>
  */
 
-#include <common.h>
 #include <clock_legacy.h>
 #include <spi.h>
 #include <dm.h>
index bd73e4fddf18033b352a69d6c69ce549f4f92bad..3efb661803b6c333cc10664811573aaaa0fbda2e 100644 (file)
@@ -12,7 +12,6 @@
 #include <malloc.h>
 #include <asm/io.h>
 #include <clk.h>
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <fdtdec.h>
index d4f0c4c448367e070782cf16a81fd16d64945451..79f010013184f9d85ef5888332fe9af6750d19ba 100644 (file)
@@ -2,7 +2,6 @@
 /*
  * Copyright (C) 2007 Atmel Corporation
  */
-#include <common.h>
 #include <clk.h>
 #include <dm.h>
 #include <fdtdec.h>
index 23ac5bb76c049d96a5f6e95e4cc2fc47ae0e180e..1aa43fd3a23854879bf12af72521251a4b581fba 100644 (file)
@@ -7,7 +7,6 @@
  *     Copyright (C) 2012-2013 Jonas Gorski <jogo@openwrt.org>
  */
 
-#include <common.h>
 #include <clk.h>
 #include <dm.h>
 #include <log.h>
index 889ac1f966e3b96a4354e9f794c91b683a43c189..595b41c8ab8a52092788264d9b382f9cc18bc463 100644 (file)
@@ -7,7 +7,6 @@
  *     Copyright (C) 2010 Tanguy Bouzeloc <tanguy.bouzeloc@efixo.com>
  */
 
-#include <common.h>
 #include <clk.h>
 #include <dm.h>
 #include <log.h>
index af45882db0a70f6d80cf42609141d2d6bdc1426c..eff9e1117d35a68fa8f494f393fcd5d9a233058b 100644 (file)
@@ -8,7 +8,6 @@
  *     Copyright (C) 2021 Broadcom Ltd
  */
 
-#include <common.h>
 #include <asm/io.h>
 #include <clk.h>
 #include <spi.h>
index 38bddd38619ec912830bd64c909c57f206a80a74..a99a8a4485ab737bfccafbc8284f9b23caf2fead 100644 (file)
@@ -7,7 +7,6 @@
  * Author: PengPeng Chen <pengpeng.chen@cortina-access.com>
  */
 
-#include <common.h>
 #include <malloc.h>
 #include <clk.h>
 #include <dm.h>
index c2be307f1d87675beaf7debae9b8b4f58546fe6d..222f828f54eca6535851079994027172bf6688bb 100644 (file)
@@ -6,7 +6,6 @@
  */
 
 #include <clk.h>
-#include <common.h>
 #include <memalign.h>
 #include <wait_bit.h>
 #include <asm/io.h>
index f4593c47b8c557f892afc8ee6e39e6c4c11a86a4..75e522320101a34352e06ad9c18e49b23ca353c3 100644 (file)
@@ -4,7 +4,6 @@
  * Altera Corporation <www.altera.com>
  */
 
-#include <common.h>
 #include <clk.h>
 #include <log.h>
 #include <dm.h>
index fb905322178244d5f4bdeba88ae09ba16ee1949c..93ab2b5635f3b14a9091e456f639923148091d62 100644 (file)
@@ -25,7 +25,6 @@
  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#include <common.h>
 #include <log.h>
 #include <asm/io.h>
 #include <dma.h>
index 1a841b5dcefca9e2f6ae5ef7e4ea73d09b5f5631..8234468b1d4364f1ffef81fef29adac5647865e7 100644 (file)
@@ -13,7 +13,6 @@
  * TODO: fsl_dspi.c should work as a driver for the DSPI module.
  */
 
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <asm/global_data.h>
index 25f5e9fdebd5525564e7262bdeb24285ca960c66..04c134be9edf5bc9294e7b36b8b9cea038537329 100644 (file)
@@ -8,7 +8,7 @@
  * Copyright (C) 2007 Atmel Corporation
  */
 
-#include <common.h>
+#include <config.h>
 #include <log.h>
 #include <spi.h>
 #include <malloc.h>
index 22a79da2333eb2161ef5ee69aaf40c5f800e38d7..6bd48b1b3739ba85e0b048dc6f0a23f61ad37c00 100644 (file)
@@ -11,7 +11,6 @@
  */
 
 #define LOG_CATEGORY UCLASS_SPI
-#include <common.h>
 #include <clk.h>
 #include <dm.h>
 #include <dm/device_compat.h>
index 1bcc3ad318db2fc3fa7f54acb6dc560706b1d70d..1b9bf004b7c1eb4c2d4275fa15cbcc1395dc115c 100644 (file)
@@ -4,7 +4,6 @@
  * Padmavathi Venna <padma.v@samsung.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <log.h>
index 9b3d5a94817f42b813654c6bd46d48ac2ae04e3b..1d4d90ce5aaf1ddf1a0bd1152cf1385e3653b151 100644 (file)
@@ -11,7 +11,6 @@
 
 #include <asm/global_data.h>
 #include <linux/math64.h>
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <log.h>
index b1d964d79d0c5737e48b5683251eef1d85232528..2638ed2520014e2d2591932d823a9fb62b62df00 100644 (file)
@@ -8,7 +8,7 @@
  *        Chuanhua Han (chuanhua.han@nxp.com)
  */
 
-#include <common.h>
+#include <config.h>
 #include <log.h>
 #include <linux/bitops.h>
 #include <linux/delay.h>
index 3f97730bad0bbb8cfa2c7e7c73a3d57e058b85db..8a0a53cb372034b5ebb1ef39d094f135d6bb4fb3 100644 (file)
@@ -23,7 +23,6 @@
  * Transition to spi-mem in spi-fsl-qspi.c
  */
 
-#include <common.h>
 #include <dm.h>
 #include <dm/device_compat.h>
 #include <log.h>
index 9142ffd238701b92cd029394ec3159c259c8b78d..e48ca65fe726ff2b6f90def2edd1295a0448c98c 100644 (file)
@@ -7,7 +7,6 @@
 
 #define LOG_CATEGORY   UCLASS_SPI
 
-#include <common.h>
 #include <bootstage.h>
 #include <div64.h>
 #include <dm.h>
index b5c274314b5b61749f0cda80f8689c13cedee2fd..09f30c227023c06ea2aa95c8a359a3cfc9989d57 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright 2020-2021 Broadcom
  */
 
-#include <common.h>
 #include <dm.h>
 #include <spi.h>
 #include <spi-mem.h>
index 2bb7390bbfb74075fc98c82f99f40aef1e51ae01..095cbea0fca9c6e12148d60067030c703728ac60 100644 (file)
@@ -7,7 +7,7 @@
  * Derived from drivers/spi/mpc8xxx_spi.c
  */
 
-#include <common.h>
+#include <config.h>
 #include <dm.h>
 #include <log.h>
 #include <malloc.h>
index d99a151406e607148cd40058e1e70f0e8d61f962..d7ebb6bf1ac7f1fee6f47d93db3893018ed2d25e 100644 (file)
@@ -7,7 +7,6 @@
  * Amlogic Meson SPI Flash Controller driver
  */
 
-#include <common.h>
 #include <log.h>
 #include <spi.h>
 #include <clk.h>
index 5fe0c8e1237e26f89a9712f951b43a875a0f2756..234b168827261547642112bad334cdcc565fe94a 100644 (file)
@@ -5,7 +5,6 @@
  * Naga Sureshkumar Relli <nagasuresh.relli@microchip.com>
  */
 
-#include <common.h>
 #include <clk.h>
 #include <dm.h>
 #include <log.h>
index e1448cc6196956281f3e72305e90ee98bf5079b8..7e72fb9e23dc7d60e8d76709b375c5363e58d37f 100644 (file)
@@ -16,7 +16,6 @@
  *
  */
 
-#include <common.h>
 #include <dm.h>
 #include <malloc.h>
 #include <mpc8xx.h>
index 7d15390c56b327227ccc3d91bab27a98c0578961..cd624f4d6f0be7eecfe30f8dac78d6d992213285 100644 (file)
@@ -4,7 +4,6 @@
  * With help from the common/soft_spi and arch/powerpc/cpu/mpc8260 drivers
  */
 
-#include <common.h>
 #include <clk.h>
 #include <dm.h>
 #include <errno.h>
index 95bea0da1b357477fc7aff22562ba8332237d41b..ad4daeba3cd808ef39c3035aa762e819d55f6d47 100644 (file)
@@ -5,7 +5,6 @@
  * Copyright (c) 2018 Microsemi Corporation
  */
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <log.h>
index 3d0080998625632f5586741337c9cc30b4418bf3..e46942de2e3b99d75ba7555ca3db3d2d845740e2 100644 (file)
@@ -8,7 +8,6 @@
  *   Copyright (C) 2014-2015 Felix Fietkau <nbd@nbd.name>
  */
 
-#include <common.h>
 #include <clk.h>
 #include <dm.h>
 #include <log.h>
index 3decb3744de93ec9b38de7f0eda9724456410e7c..830424b31d6ae65744aed55103b3b847c12b8132 100644 (file)
@@ -5,7 +5,6 @@
  * Author: Weijie Gao <weijie.gao@mediatek.com>
  */
 
-#include <common.h>
 #include <clk.h>
 #include <dm.h>
 #include <errno.h>
index 4b7d4a6e0741c2c4598c73e1f2463518c0886626..f202b2f49f587e765a02202ab8c56c6bf2051391 100644 (file)
@@ -7,7 +7,6 @@
 // Some parts are based on drivers/spi/spi-mtk-nor.c of linux version
 
 #include <clk.h>
-#include <common.h>
 #include <cpu_func.h>
 #include <dm.h>
 #include <dm/device.h>
index bba2383a11167f300a3200d0a567f0d6bf0ee3ab..fde9b142fb89957d22e2a90e1c09cf1e00c323f1 100644 (file)
@@ -5,7 +5,6 @@
  * Copyright (C) 2016 Stefan Roese <sr@denx.de>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <malloc.h>
index e291092c481ab71bf57cd5453b5d2bc61e2203e3..ff61a14f095d0a7f122e08dee34212a04d4e64c4 100644 (file)
@@ -3,7 +3,7 @@
  * Copyright (C) 2008, Guennadi Liakhovetski <lg@denx.de>
  */
 
-#include <common.h>
+#include <config.h>
 #include <clk.h>
 #include <dm.h>
 #include <log.h>
index 773e26bbed74ca3804986a3f960dd5fea2e57964..ad9e490faa9f0475542682615c2cdbcb2cbcde5d 100644 (file)
@@ -12,7 +12,6 @@
  *       GPIO driven chipselects are not supported.
  */
 
-#include <common.h>
 #include <dm.h>
 #include <dt-structs.h>
 #include <cpu_func.h>
index c9441304f5a2e3690637d28001621e8914e80b4a..7708a96971c2af3a0f8fb1babcf679bff4739a90 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (c) 2021 Nuvoton Technology.
  */
 
-#include <common.h>
 #include <dm.h>
 #include <spi.h>
 #include <clk.h>
index 5db27f9ae2c991a8e3e521afee79b523effd0dea..fefdaaa9e90155deecc3c9388b1df770c8b9e9ee 100644 (file)
@@ -33,7 +33,6 @@
  *     Frieder Schrempf <frieder.schrempf@kontron.de>
  */
 
-#include <common.h>
 #include <clk.h>
 #include <dm.h>
 #include <dm/device_compat.h>
index 5cce6baa6213d5323509fd35481a3b4633cd29a5..3d82fc74ff58fee46fc80ad6fb30cca99c34a24a 100644 (file)
@@ -16,9 +16,9 @@
  * Modified by Ruslan Araslanov <ruslan.araslanov@vitecmm.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <spi.h>
+#include <time.h>
 #include <malloc.h>
 #include <asm/global_data.h>
 #include <asm/io.h>
index 45f07f083da8f9576c7eb2f897507b7eb4d5d6fb..e11ae7fc7a4a4fb2fecb10c4d66a48b8b1a433f5 100644 (file)
@@ -6,7 +6,6 @@
  *      Purna Chandra Mandal <purna.mandal@microchip.com>
  */
 
-#include <common.h>
 #include <clk.h>
 #include <dm.h>
 #include <log.h>
index e2b49ebd149a2579b2b5b35dde70e4d9910482e3..1e20701d0d35484e6565152d9eb76fb7e2f3303b 100644 (file)
@@ -10,7 +10,6 @@
  */
 
 #include <clk.h>
-#include <common.h>
 #include <dm.h>
 #include <dm/device_compat.h>
 #include <fdtdec.h>
index 8aff22386458d85a7a88b074a84e7938a6fe6066..e6b602cf7b47b79e59be4ad762a12373940669bb 100644 (file)
@@ -5,7 +5,6 @@
  * Copyright (C) 2018 Marek Vasut <marek.vasut@gmail.com>
  */
 
-#include <common.h>
 #include <asm/global_data.h>
 #include <asm/io.h>
 #include <clk.h>
index c8694fdff954c90c86147f087ae1e4cd89af700b..4571dc9f9b697be404bbb23c8690bdb53c1ca58b 100644 (file)
@@ -10,7 +10,6 @@
  * Peter, Software Engineering, <superpeter.cai@gmail.com>.
  */
 
-#include <common.h>
 #include <clk.h>
 #include <dm.h>
 #include <dt-structs.h>
index f844597d04cf8287e6606c23cca60afedb8b4358..4cc016138b11e68d1dab64d23535282e4278e780 100644 (file)
@@ -10,7 +10,6 @@
 
 #define LOG_CATEGORY UCLASS_SPI
 
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <malloc.h>
index 72594993853bdd2048d99b3d17f88ab64d806c6e..b7364a61929f19930cf6e4fb7ef3f4e5ac209921 100644 (file)
@@ -8,7 +8,6 @@
 
 #define LOG_CATEGORY UCLASS_SPI
 
-#include <common.h>
 #include <console.h>
 #include <malloc.h>
 #include <spi.h>
index 0fa14339bdcd95180e491372042cce7316cfec62..9bdb4a5bff9bf9006c9e1b43c12714288dd6ba95 100644 (file)
@@ -9,7 +9,6 @@
  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  */
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <fdtdec.h>
index 7d5f101a76621c32a51ae779250671e5d9a62cbf..d91d58da45966d4dea826972b90d3c610a46bd14 100644 (file)
@@ -12,7 +12,6 @@
 
 #include <asm/io.h>
 #include <clk.h>
-#include <common.h>
 #include <dm.h>
 #include <dm/device_compat.h>
 #include <linux/bitops.h>
index 64bc19c00112cf4f5cb2e6d6d66a982f90206edd..d92f36bd20e5f46681ea631ce4a935eede57ca16 100644 (file)
@@ -5,7 +5,6 @@
 
 #define LOG_CATEGORY UCLASS_SPI_EMUL
 
-#include <common.h>
 #include <dm.h>
 #include <spi.h>
 #include <spi_flash.h>
index b7eca5835956fb8af01fcc74b6a45cc353343781..3579b7d7db589076b11fa56db7505043ff77e7f3 100644 (file)
@@ -13,7 +13,6 @@
 #include <linux/pm_runtime.h>
 #include "internals.h"
 #else
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <malloc.h>
index f663b9dcbb161c44e97660d4eb87f211755efa7a..b98bcd9b6ba5551fe0432108c7d2c2a7b8fa5858 100644 (file)
@@ -6,7 +6,6 @@
  *     zhengxunli <zhengxunli@mxic.com.tw>
  */
 
-#include <common.h>
 #include <clk.h>
 #include <dm.h>
 #include <errno.h>
index 572cef1694c8bc2828403cc8a16d6fdf0a8014c1..836c550b0bb64bb14ad1ab20c46a835ef0c09194 100644 (file)
@@ -15,7 +15,6 @@
 #include <asm/gpio.h>
 #include <asm/io.h>
 #include <clk.h>
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <linux/delay.h>
index ea372a05f8362ecaa2c106087d553ccbb0544754..0c8666c05f94f49ed95f1460e6fc7a9bb7a1b159 100644 (file)
@@ -6,7 +6,6 @@
  * SiFive SPI controller driver (master mode only)
  */
 
-#include <common.h>
 #include <dm.h>
 #include <dm/device_compat.h>
 #include <malloc.h>
index e3633a52608084ecc22318e3abfc56f177a5e9c6..fc82791006ec8de6a63a689ecd7297f6586b9a35 100644 (file)
@@ -5,7 +5,6 @@
  */
 
 #include <clk.h>
-#include <common.h>
 #include <dm.h>
 #include <dm/device_compat.h>
 #include <linux/bitfield.h>
index 9ec6b359e227e1c78c7dd55e50de95d0f6f66a5a..13725ee7a2dca6c014700b6e003406848308dadd 100644 (file)
@@ -18,7 +18,6 @@
  * SPDX-License-Identifier:    GPL-2.0+
  */
 
-#include <common.h>
 #include <clk.h>
 #include <dm.h>
 #include <log.h>
index 553f9687e3b3be4ea9f2d7b865e61763370e1323..eb522fd7b3d99d65a45cad5de6fdce7e70d0de15 100644 (file)
@@ -6,7 +6,6 @@
  */
 
 #include <clk.h>
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <time.h>
index f4795e68672fedbdc1613409d025c6edddb79355..6e28172523913ec2808e45125d1fa802aa8226ee 100644 (file)
@@ -5,7 +5,6 @@
 
 #define LOG_CATEGORY UCLASS_SPI
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <log.h>
index 22910de0dd93581d3cddfd4f32e6d98acb96c812..50a076a98be6ef55fcdc6316762ec8508ca18945 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (c) 2011 The Chromium OS Authors.
  */
 
-#include <common.h>
 #include <fdtdec.h>
 #include <malloc.h>
 #include <spi.h>
index 2ffa201a66edf3c87b07aaece1e45edf2c7525cd..2812a4da4113b92a081a46daff84b6f7a4b2e78c 100644 (file)
@@ -9,7 +9,6 @@
 
 #define LOG_CATEGORY UCLASS_SPI
 
-#include <common.h>
 #include <clk.h>
 #include <dm.h>
 #include <log.h>
index ddb410a94c010360879fd74637e0cb10060e9aed..97b83b171670b34804a417e02bca5799a15856c5 100644 (file)
@@ -7,7 +7,6 @@
 
 #define LOG_CATEGORY UCLASS_SPI
 
-#include <common.h>
 #include <clk.h>
 #include <dm.h>
 #include <errno.h>
index f0256d8e6641516f37384b5e9dcac04e1af38f41..57f1a8fc703fa0167526b0cffff80b909d778973 100644 (file)
@@ -5,7 +5,6 @@
  * Copyright (c) 2010-2013 NVIDIA Corporation
  */
 
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <time.h>
index 10e38cf839dc0949612fe5555385f20f011bcf19..19114808e9df99d18dc4e6795415755579b8edbd 100644 (file)
@@ -5,7 +5,6 @@
  * With more help from omap3_spi SPI driver
  */
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <log.h>
index d0e788539e0b92f4c56099d1dac29b68284d6eef..d54a5049205b76f3d4e021b61624247ccc10fde6 100644 (file)
@@ -5,7 +5,6 @@
  * Copyright (c) 2010-2013 NVIDIA Corporation
  */
 
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <time.h>
index 5c8c1859cc963026a739de11d231fee32bd66d01..b969a7993d40551cac96c64a18e74db716c35e3c 100644 (file)
@@ -6,7 +6,6 @@
  *
  */
 
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <time.h>
index 99acb108823edb222d1954790f11b15d6f19f27a..a16412ec6fb9f5b39dd6252b17648efea2774405 100644 (file)
@@ -5,7 +5,6 @@
  * Copyright (C) 2013, Texas Instruments, Incorporated
  */
 
-#include <common.h>
 #include <cpu_func.h>
 #include <log.h>
 #include <asm/cache.h>
index 6402acbf14a141029fe0883870cb97aa25352f93..8f2c0fb4b8eedae2bd1d1dcbda68c41f231ac74d 100644 (file)
@@ -5,7 +5,6 @@
  */
 
 #include <clk.h>
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <time.h>
index 94ddf4967eaf28c094733b6ccc053bfe5fab8cad..0e7fa3a4525d1092812ea7ea82f0c98160757ff4 100644 (file)
@@ -13,7 +13,6 @@
  */
 
 #include <config.h>
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <log.h>
index cb52c0f30721a4054aabbaf3b08cc32db2b89bad..b71b9a6fd6c8ed73d182810034ab1057f40dff16 100644 (file)
@@ -7,7 +7,6 @@
  */
 
 #include <clk.h>
-#include <common.h>
 #include <dm.h>
 #include <dm/device_compat.h>
 #include <log.h>
index b3e0858eb94506a78910694569a21ebf84b9d827..ebcb5b6cc883107dd1be45aa0977d1178998059f 100644 (file)
@@ -6,7 +6,6 @@
  * Xilinx Zynq PS SPI controller driver (master mode only)
  */
 
-#include <common.h>
 #include <dm.h>
 #include <dm/device_compat.h>
 #include <log.h>
index a323994fb2d3bfd4d6b6a8dda67b23d0e35f4c0d..61349a4da53f708cec163186eaf839cde98a5aed 100644 (file)
@@ -7,7 +7,6 @@
 
 #define LOG_CATEGORY UCLASS_SPI
 
-#include <common.h>
 #include <cpu_func.h>
 #include <log.h>
 #include <asm/arch/sys_proto.h>
index 244de69b3590ce4edea611c0391e474f54b972c0..b0d6226041e5d1a68e27a1c2487a96f8db041546 100644 (file)
@@ -7,7 +7,6 @@
  * Loosely based on Little Kernel driver
  */
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <fdtdec.h>
index f6772946bca377397c2f9ef0f5f1aad0f61b61de..992b08dd6120257cf9ce7e621c674dd6efbf8f3c 100644 (file)
@@ -7,7 +7,6 @@
  * (C) Copyright 2015 Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <spmi/spmi.h>
index 9d9f46a37d832fa9ba2329a203fdb940ad5e4772..34fe8f6644c3212f5c65de16ce1f2b1aa4626eab 100644 (file)
@@ -7,7 +7,6 @@
 
 #define LOG_CATEGORY UCLASS_SPMI
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <spmi/spmi.h>
index c1fae6ccf2a63e4578203c037f29dfb37c33a897..a3c9d5354dd26b9905098acd243fdd66d5f4528e 100644 (file)
@@ -4,7 +4,6 @@
  * Mario Six, Guntermann & Drunck GmbH, mario.six@gdsys.cc
  */
 
-#include <common.h>
 #include <dm.h>
 #include <sysinfo.h>
 #include <i2c.h>
index 82f90303bb7094a57ccd88f3b49ae02bc8b2c47f..aaca318419b0085c7ca73491bd6f955949cb951a 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2021 Sean Anderson <sean.anderson@seco.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <sysinfo.h>
index 7b127986da7e2e671af0bf17f6845b140545db82..37e2cccd9afecfbb259669c5940e83a3830a124f 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2021 Marek Vasut <marek.vasut+renesas@gmail.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <i2c_eeprom.h>
 #include <log.h>
index d270a26aa4381d7bde9498bfc95b3883a2e87125..d39720958f0783c0d6af1106ad2059829900087c 100644 (file)
@@ -4,7 +4,6 @@
  * Mario Six, Guntermann & Drunck GmbH, mario.six@gdsys.cc
  */
 
-#include <common.h>
 #include <dm.h>
 #include <sysinfo.h>
 
index 80ebd1921d8ecd05ce07ef0cb3828f15793da6d6..a7ac8e3f072a112dddc3e1ac13506721c5ea3b5a 100644 (file)
@@ -4,7 +4,6 @@
  * Written by Simon Glass <sjg@chromium.org>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <sysinfo.h>
 
index 10194d0e14c358b3a1457a29f69452faf5654092..d77d1e3ee44251677be768697a66c7b6b988052c 100644 (file)
@@ -6,7 +6,6 @@
 
 #define LOG_CATEGORY UCLASS_SYSINFO
 
-#include <common.h>
 #include <dm.h>
 #include <sysinfo.h>
 
index ad04e4b1a85eee0359b156f292bc697e8982cd0e..d9220024f470be539a9f48c3fb49a90dd841edad 100644 (file)
@@ -11,7 +11,6 @@
  * Copyright (C) 2012 Jamie Lentin
  */
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <log.h>
index 0de132633a8d8b78c098f3d48cdc1d226234cb92..451fc5de7357bc50eb048f1837af692a3cae53b4 100644 (file)
@@ -6,7 +6,6 @@
  *     Andreas Dannenberg <dannenberg@ti.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <log.h>
index 6151b5fe03e4e7377cebaa56ffd526e6df06089d..0abb4042e0f2ec7df7232eaca25e28df49679b3f 100644 (file)
@@ -6,7 +6,6 @@
 
 #define LOG_CATEGORY UCLASS_SYSRESET
 
-#include <common.h>
 #include <command.h>
 #include <cpu_func.h>
 #include <dm.h>
index 92fad96871bde6cbe106cf5998053b881e289a59..ef09440bbeffa209ede9d70d595eca1a6154eb4d 100644 (file)
@@ -3,7 +3,6 @@
  * (C) Copyright 2016 Google, Inc
  */
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <log.h>
index fc85f31ebf01174868ec9cd661288b40dc667701..457042c7aae954112a3511a5a940bacc04a0f443 100644 (file)
@@ -7,7 +7,6 @@
 #include <asm/io.h>
 #include <asm/arch/at91_rstc.h>
 #include <clk.h>
-#include <common.h>
 #include <cpu_func.h>
 #include <dm.h>
 #include <dm/device_compat.h>
index de42b5935424687e75df5cae93a23fd023c3ef14..47018844a51ad28045eaa444fbd4f347049e2989 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2018 Xilinx, Inc. - Michal Simek
  */
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <log.h>
index 83a7f77ac41f6710e5b703b60f2c9983625a8fa5..b81d82f046bd377c9c46977edc673a12d47369cb 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2018 Xilinx, Inc. - Michal Simek
  */
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <sysreset.h>
index ca48328f7b58c3792fcc4053f023d616f4256c08..dca49299f77747199cf6fcee39321b6cfd61d42b 100644 (file)
@@ -4,7 +4,6 @@
  * Mario Six, Guntermann & Drunck GmbH, mario.six@gdsys.cc
  */
 
-#include <common.h>
 #include <command.h>
 #include <dm.h>
 #include <log.h>
index ebdea6ab66edfafc4492b62ebc3c8807f87f99a0..c16223720e5abfd04122a8ed71b3bf062a125ab8 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2020 Stefan Roese <sr@denx.de>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <sysreset.h>
index aa09d0b88271bff312ab1c38d15bb435ef7f4528..89b4f2dcaec41a61430c17ca7f2ba05918e07802 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2017 Masahiro Yamada <yamada.masahiro@socionext.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <sysreset.h>
 #include <linux/errno.h>
index 25bd5c9a7ff2725a705783e203f877f6d3fa6646..fbe3999b96059120245de3065d88cea5281819e9 100644 (file)
@@ -5,7 +5,6 @@
  * Author:  Weijie Gao <weijie.gao@mediatek.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <sysreset.h>
index f353f9b4c79dac081fa1beb1e7ccc1c84a3f53b3..00308f9a33b7939cf7da1cd0e992a14c4b48f56b 100644 (file)
@@ -3,7 +3,6 @@
  * (C) Copyright 2017 Rockchip Electronics Co., Ltd
  */
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <sysreset.h>
index c12eda81d03e7d6b96c6104c2005b554b664ac7b..93179f90bbb8828e00b5eb5699afd56642d44523 100644 (file)
@@ -4,7 +4,6 @@
  * Written by Simon Glass <sjg@chromium.org>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <sysreset.h>
index 5e8090d62bfc7d66c487937eb78ec78b25b8918a..458191206b2c89a05dc0be4880eb16c2df61122c 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright 2021, Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <log.h>
index 9b62dd5eab096e33394e71400463fb62f1fbb165..a07b0f4fd553779c598b4db0830f619f08882dfe 100644 (file)
@@ -4,7 +4,6 @@
  * Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <sysreset.h>
index 9837aadf64b6d5373ebdc4a484d200bb659d146b..6f44792abb000edcc3274ae4e7e0030b8fd61487 100644 (file)
@@ -4,7 +4,6 @@
  * Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <sysreset.h>
index edd90aab061dafb9816c1c25e0f879fcd16dc12b..110b7e23afa191aadc5efa6c99b1fafe01605777 100644 (file)
@@ -4,7 +4,6 @@
  * Author(s): Patrice Chotard, <patrice.chotard@foss.st.com> for STMicroelectronics.
  */
 
-#include <common.h>
 #include <dm.h>
 #include <regmap.h>
 #include <syscon.h>
index e468dac0e90204150df7fad7317e8d098b71e49a..57144fa1e3bb25c7fa024c4ebbb5fb06befaefa8 100644 (file)
@@ -7,7 +7,6 @@
  *     Author: Feng Kan <fkan@apm.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <regmap.h>
index 6db5aa75b54173e73994df5b9b31dfaf7291fed6..49c061e08803e21619a36b8fea3eb76d25462198 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2017 Álvaro Fernández Rojas <noltari@gmail.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <dm/device-internal.h>
 #include <errno.h>
index dc772b5ff9e34a5e80df503df9f49270e73a147f..c2f28c65280f1d5b36bf818cbd013ec6051fe974 100644 (file)
@@ -5,7 +5,6 @@
  * Generic reset driver for x86 processor
  */
 
-#include <common.h>
 #include <dm.h>
 #include <efi_loader.h>
 #include <pch.h>
index 84fbc79016a0a51adc5b8fd53fe94b192683b670..ab71ea11a0b20e78d6f0068c35892946cb8b7fd9 100644 (file)
@@ -5,7 +5,7 @@
  * (C) Copyright 2016 Cadence Design Systems Inc.
  */
 
-#include <common.h>
+#include <config.h>
 #include <dm.h>
 #include <errno.h>
 #include <sysreset.h>
index 3ec131cbc6e10993206928b2dd8953cb4d34cf2f..fc2b0e227b2934584b4c8a6cef4ff5d178c924ed 100644 (file)
@@ -4,7 +4,6 @@
  */
 
 #include <config.h>
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <log.h>
index 2f6343e7a18009be173dcae7491db6d672929cc4..ea1fcc3dcb295e5fcf66d1a2ed0c2d7d4ce09a0d 100644 (file)
@@ -6,7 +6,6 @@
  */
 
 #include <config.h>
-#include <common.h>
 #include <div64.h>
 #include <fuse.h>
 #include <log.h>
index ea6c8329c0a6af384ad1447c779956d61140e831..70d002aee25ba94271d687c45bd1cc8833ebc31d 100644 (file)
@@ -5,7 +5,6 @@
  */
 
 #include <config.h>
-#include <common.h>
 #include <asm/global_data.h>
 #include <asm/io.h>
 #include <asm/arch/clock.h>
index 700df8af2549f20febbe6f367bb7b0eca57bbdf8..f0fe912e31314c6e7a574a68cd2554c8c4a5ed53 100644 (file)
@@ -5,7 +5,6 @@
 
 #define LOG_CATEGORY UCLASS_THERMAL
 
-#include <common.h>
 #include <dm.h>
 #include <thermal.h>
 #include <errno.h>
index 7dc0d108b8ca6df35d363d1d3c153405bcf1e987..9af0d0247cbdb6b4efb4f6d1336646cad726615c 100644 (file)
@@ -6,7 +6,6 @@
  * Sandbox driver for the thermal uclass.
  */
 
-#include <common.h>
 #include <dm.h>
 #include <thermal.h>
 
index 60519c3b536cda11a0794c9979bab3fca46489a4..6b1de82ae38dd78e57ef96a8200f7345275be49c 100644 (file)
@@ -50,6 +50,14 @@ config TIMER_EARLY
          use an early timer. These functions must be supported by your timer
          driver: timer_early_get_count() and timer_early_get_rate().
 
+config ADI_SC5XX_TIMER
+       bool "ADI ADSP-SC5xx Timer Support"
+       depends on TIMER && (SC57X || SC58X || SC59X || SC59X_64)
+       help
+         gptimer based timer support on ADI's ADSP-SC5xx platforms. Available
+         but not required on sc59x-64-based platforms (598 and similar).
+         Required on 32-bit platforms (sc57x, sc58x, sc594 and earlier).
+
 config ALTERA_TIMER
        bool "Altera timer support"
        depends on TIMER
index b93145e8d437097d3c3c8f5903e8732f9703fb41..fb95c8899e396a570e3c14a6f64132e4a33c6787 100644 (file)
@@ -3,6 +3,7 @@
 # Copyright (C) 2015 Thomas Chou <thomas@wytron.com.tw>
 
 obj-y += timer-uclass.o
+obj-$(CONFIG_ADI_SC5XX_TIMER) += adi_sc5xx_timer.o
 obj-$(CONFIG_ALTERA_TIMER)     += altera_timer.o
 obj-$(CONFIG_$(SPL_)ANDES_PLMT_TIMER) += andes_plmt_timer.o
 obj-$(CONFIG_ARC_TIMER)        += arc_timer.o
diff --git a/drivers/timer/adi_sc5xx_timer.c b/drivers/timer/adi_sc5xx_timer.c
new file mode 100644 (file)
index 0000000..11c0984
--- /dev/null
@@ -0,0 +1,145 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
+/*
+ * (C) Copyright 2022 - Analog Devices, Inc.
+ *
+ * Written and/or maintained by Timesys Corporation
+ *
+ * Converted to driver model by Nathan Barrett-Morrison
+ *
+ * Author: Greg Malysa <greg.malysa@timesys.com>
+ * Additional Contact: Nathan Barrett-Morrison <nathan.morrison@timesys.com>
+ *
+ * dm timer implementation for ADI ADSP-SC5xx SoCs
+ *
+ */
+
+#include <clk.h>
+#include <dm.h>
+#include <timer.h>
+#include <asm/io.h>
+#include <dm/device_compat.h>
+#include <linux/compiler_types.h>
+
+/*
+ * Timer Configuration Register Bits
+ */
+#define TIMER_OUT_DIS       0x0800
+#define TIMER_PULSE_HI      0x0080
+#define TIMER_MODE_PWM_CONT 0x000c
+
+#define __BFP(m) u16 m; u16 __pad_##m
+
+struct gptimer3 {
+       __BFP(config);
+       u32 counter;
+       u32 period;
+       u32 width;
+       u32 delay;
+};
+
+struct gptimer3_group_regs {
+       __BFP(run);
+       __BFP(enable);
+       __BFP(disable);
+       __BFP(stop_cfg);
+       __BFP(stop_cfg_set);
+       __BFP(stop_cfg_clr);
+       __BFP(data_imsk);
+       __BFP(stat_imsk);
+       __BFP(tr_msk);
+       __BFP(tr_ie);
+       __BFP(data_ilat);
+       __BFP(stat_ilat);
+       __BFP(err_status);
+       __BFP(bcast_per);
+       __BFP(bcast_wid);
+       __BFP(bcast_dly);
+};
+
+#define MAX_TIM_LOAD   0xFFFFFFFF
+
+struct adi_gptimer_priv {
+       struct gptimer3_group_regs __iomem *timer_group;
+       struct gptimer3 __iomem *timer_base;
+       u32 prev;
+       u64 upper;
+};
+
+static u64 adi_gptimer_get_count(struct udevice *udev)
+{
+       struct adi_gptimer_priv *priv = dev_get_priv(udev);
+
+       u32 now = readl(&priv->timer_base->counter);
+
+       if (now < priv->prev)
+               priv->upper += (1ull << 32);
+
+       priv->prev = now;
+
+       return (priv->upper + (u64)now);
+}
+
+static const struct timer_ops adi_gptimer_ops = {
+       .get_count = adi_gptimer_get_count,
+};
+
+static int adi_gptimer_probe(struct udevice *udev)
+{
+       struct timer_dev_priv *uc_priv = dev_get_uclass_priv(udev);
+       struct adi_gptimer_priv *priv = dev_get_priv(udev);
+       struct clk clk;
+       u16 imask;
+       int ret;
+
+       priv->timer_group = dev_remap_addr_index(udev, 0);
+       priv->timer_base = dev_remap_addr_index(udev, 1);
+       priv->upper = 0;
+       priv->prev = 0;
+
+       if (!priv->timer_group || !priv->timer_base) {
+               dev_err(udev, "Missing timer_group or timer_base reg entries\n");
+               return -ENODEV;
+       }
+
+       ret = clk_get_by_index(udev, 0, &clk);
+       if (ret < 0) {
+               dev_err(udev, "Missing clock reference for timer\n");
+               return ret;
+       }
+
+       ret = clk_enable(&clk);
+       if (ret) {
+               dev_err(udev, "Failed to enable clock\n");
+               return ret;
+       }
+
+       uc_priv->clock_rate = clk_get_rate(&clk);
+
+       /* Enable timer */
+       writew(TIMER_OUT_DIS | TIMER_MODE_PWM_CONT | TIMER_PULSE_HI,
+              &priv->timer_base->config);
+       writel(MAX_TIM_LOAD, &priv->timer_base->period);
+       writel(MAX_TIM_LOAD - 1, &priv->timer_base->width);
+
+       /* We only use timer 0 in uboot */
+       imask = readw(&priv->timer_group->data_imsk);
+       imask &= ~(1 << 0);
+       writew(imask, &priv->timer_group->data_imsk);
+       writew((1 << 0), &priv->timer_group->enable);
+
+       return 0;
+}
+
+static const struct udevice_id adi_gptimer_ids[] = {
+       { .compatible = "adi,sc5xx-gptimer" },
+       { },
+};
+
+U_BOOT_DRIVER(adi_gptimer) = {
+       .name = "adi_gptimer",
+       .id = UCLASS_TIMER,
+       .of_match = adi_gptimer_ids,
+       .priv_auto = sizeof(struct adi_gptimer_priv),
+       .probe = adi_gptimer_probe,
+       .ops = &adi_gptimer_ops,
+};
index 040dc65f48aaa27d5da68d1cbe8f1f92d89cb7db..ece246c23d2f6ed7493342ba54dac75fb26acd60 100644 (file)
@@ -7,7 +7,6 @@
  * Scott McNutt <smcnutt@psyent.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <timer.h>
index 42dd4b6231764fba87c06c0ab4d82cab3654260b..20baaf61307aa3f6a65165a5f17e7f36915634fc 100644 (file)
@@ -8,7 +8,6 @@
  * associated with timer tick.
  */
 
-#include <common.h>
 #include <dm.h>
 #include <timer.h>
 #include <asm/io.h>
index 497f8a04155f4709ca8d63b2356a9ff49715e41b..413bcc32f01b17504840dc4e8d6a494f8d8e21c2 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2016 Synopsys, Inc. All rights reserved.
  */
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <timer.h>
index 2e50d9fbc5804a4dd63f99c179329aed174accba..b8057929f997f61b4df10cd6c6547a349d1d121b 100644 (file)
@@ -6,7 +6,7 @@
  * ARM Cortext A9 global timer driver
  */
 
-#include <common.h>
+#include <config.h>
 #include <dm.h>
 #include <clk.h>
 #include <timer.h>
index 40ccd16587495d88a582b50f23b3b381fa2eab95..2b2f35911738f9f1f9e2d2717eb65ee51f56aef3 100644 (file)
@@ -27,7 +27,6 @@
  * Alex Zuepke <azu@sysgo.de>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <fdtdec.h>
 #include <timer.h>
index 78adc96cc5963e2ebb5d62c9ab0db77d6b8e3f3f..6601cab7b1652bec378b9e274f841289255ef37b 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright 2016 Google Inc.
  */
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <timer.h>
index 5cf46f224ab00206283c9b55d65c15ade2172c5f..0a367a5a7f4ae8e2d191d8d4fcbc8f066ed63812 100644 (file)
@@ -4,7 +4,6 @@
  *                   Wenyou.Yang <wenyou.yang@microchip.com>
  */
 
-#include <common.h>
 #include <clk.h>
 #include <dm.h>
 #include <timer.h>
index 8c17987c7d7442bcc448c2243768ef4417cbeea5..3a328b2f6c726d416fcfd76362ecd35274c53766 100644 (file)
@@ -5,7 +5,6 @@
  * Author: Clément Léger <clement.leger@bootlin.com>
  */
 
-#include <common.h>
 #include <clk.h>
 #include <dm.h>
 #include <timer.h>
index 2eff45060ad6811a71fb61a1cceb1f3b32a6b821..3cffb1bb88db59b7cc84821b73d73c06131e9fc7 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2018 Xilinx, Inc. (Michal Simek)
  */
 
-#include <common.h>
 #include <bootstage.h>
 #include <dm.h>
 #include <errno.h>
index 0607f751ca708792bb28d36aa4d641919a53b69c..77ccb98cb8dfd3a3cd68e2dce8d1f751045c47ee 100644 (file)
@@ -5,7 +5,6 @@
  * Copyright (C) 2018 Marek Vasut <marex@denx.de>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <clk.h>
 #include <dt-structs.h>
index b6289e64610999e352d2bb8a96e77f1d33bb9142..c41bbfc1d57613077166ad0ade04987aac6ba017 100644 (file)
@@ -5,7 +5,6 @@
  *
  * 23/08/2022 Port to DM
  */
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <timer.h>
index 9c3b64ae5b1b8753f04fb798dfde3de54644027d..07b9fdb5e18c50236bd302f2539da9775ac2b35c 100644 (file)
@@ -4,7 +4,7 @@
  * Author(s): Giulio Benetti <giulio.benetti@benettiengineering.com>
  */
 
-#include <common.h>
+#include <config.h>
 #include <clk.h>
 #include <dm.h>
 #include <fdtdec.h>
index c9806d7eeebd9cdd5f7cf36861d7d59dfb7dba81..1a5b2e6a0dc88aa6fc2951289d28945921e88a5c 100644 (file)
@@ -7,7 +7,6 @@
  * Author: Claudiu Beznea <claudiu.beznea@microchip.com>
  */
 
-#include <common.h>
 #include <clk.h>
 #include <dm.h>
 #include <timer.h>
index 7814cb6a5d612bc158d7c2e4d32c420df854717a..9da74479aaa678bfab861950a770b216b604c433 100644 (file)
@@ -4,7 +4,7 @@
  * Mario Six, Guntermann & Drunck GmbH, mario.six@gdsys.cc
  */
 
-#include <common.h>
+#include <config.h>
 #include <clk.h>
 #include <dm.h>
 #include <irq_func.h>
index 223e63f6c1a23a438237beddbafcb2536eeba476..8216c289837375e524e2d38a9cabaeddd5be5573 100644 (file)
@@ -7,7 +7,6 @@
  */
 
 #include <clk.h>
-#include <common.h>
 #include <dm.h>
 #include <timer.h>
 #include <asm/io.h>
index 4d24de14ae69f99b9828397cf677439a42bf2122..9a05582c0d528c2813c5999b3f93ae2eee39ab99 100644 (file)
@@ -12,7 +12,6 @@
  * Copyright (C) 2010 Linus Walleij for ST-Ericsson
  */
 
-#include <common.h>
 #include <dm.h>
 #include <timer.h>
 #include <asm/io.h>
index 4562a6f2311b440189bb1f4e76be7731647d492e..9463fd29ce81a597df8c1c395534b28e46993091 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (c) 2022 Nuvoton Technology Corp.
  */
 
-#include <common.h>
 #include <clk.h>
 #include <dm.h>
 #include <timer.h>
index 9b6d97dae677cb61dd31277db89d122863cdb6ef..fda6356fdba8ece1e4e8c1fede73aa095143168a 100644 (file)
@@ -5,7 +5,6 @@
  * Copyright (C) 2015, Texas Instruments, Incorporated
  */
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <timer.h>
index 9cab27f2e48b51ef3b6585c2b8889578385e5e7d..821b681a232602b599880bf7714eca7005e2c70e 100644 (file)
@@ -1,6 +1,6 @@
 // SPDX-License-Identifier: GPL-2.0+
 #include <asm/io.h>
-#include <common.h>
+#include <config.h>
 #include <div64.h>
 #include <dm/device.h>
 #include <dm/fdtaddr.h>
index 3bf0d4647b58aa2de28b4a88e973436c09b2fac1..314f956cdfb7a62dd103af4bc6b1f787127d2b68 100644 (file)
@@ -5,7 +5,6 @@
  * Copyright (C) 2019 Marek Vasut <marek.vasut@gmail.com>
  */
 
-#include <common.h>
 #include <clock_legacy.h>
 #include <malloc.h>
 #include <asm/global_data.h>
index 73fb87912851ff60a5a4a4b20e19262982f4fc62..35da1ea2fd2d3a2b8f2df4184052402b682d8281 100644 (file)
@@ -4,7 +4,7 @@
  * Copyright (C) 2018, Bin Meng <bmeng.cn@gmail.com>
  */
 
-#include <common.h>
+#include <config.h>
 #include <clk.h>
 #include <div64.h>
 #include <dm.h>
index 169c03dcb5c1b90793ab8f350fd58805e41e6617..1f4980ceb38f6c726563a564de680c3b85613d84 100644 (file)
@@ -10,7 +10,7 @@
  * This driver provides generic timer support for S-mode U-Boot.
  */
 
-#include <common.h>
+#include <config.h>
 #include <div64.h>
 #include <dm.h>
 #include <errno.h>
index e66c49aa6bbd3e1e7ca1817a559010a055a1431d..96c010f4dcc803745ee4ec2694584b6da64f2a31 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2017 Theobroma Systems Design und Consulting GmbH
  */
 
-#include <common.h>
 #include <bootstage.h>
 #include <dm.h>
 #include <init.h>
index 1da7e0c3a76865a1b374748fa442516cd5e14121..e8b54a02965f715a7c95447b2fed30b2eb3c357d 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2015 Thomas Chou <thomas@wytron.com.tw>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <timer.h>
index 8fd4afb15a5be469ab940fac04cbf8b2f0e33ce7..a254e295cbfc95bc77e15c97d9e177ab2affe07d 100644 (file)
@@ -4,7 +4,6 @@
  * Copyright (C) 2022 Arm Ltd.
  */
 
-#include <common.h>
 #include <clk.h>
 #include <dm.h>
 #include <init.h>
index 6ac7d7f1d0ee1caab45303b762afbdad7e9450a4..6b79c8858b5509ca535a020753f9b5a6f004350b 100644 (file)
@@ -4,7 +4,6 @@
  *   Author: Kuan Lim Lee <kuanlim.lee@starfivetech.com>
  */
 
-#include <common.h>
 #include <clk.h>
 #include <dm.h>
 #include <time.h>
index 1213a14ef19708d890e9e1d3fcbaff9ae9ec98d1..1dc21c5c1bed85673d77e8415baa7254650b398e 100644 (file)
@@ -6,7 +6,7 @@
 
 #define LOG_CATEGORY UCLASS_TIMER
 
-#include <common.h>
+#include <config.h>
 #include <clk.h>
 #include <dm.h>
 #include <fdtdec.h>
index a867c649c3a8612ce9f20ca0a3974421f0dae9be..3545424889d24b9c45f5cf10c8e1b6c8f6bc06b1 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2022 Svyatoslav Ryhel <clamor95@gmail.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <timer.h>
index 60ff65529ab38b74d77ca6ae6c83a2254c020881..8305f06d318724acd5923c138789c9af6cc348e7 100644 (file)
@@ -5,7 +5,6 @@
 
 #define LOG_CATEGORY UCLASS_TIMER
 
-#include <common.h>
 #include <clk.h>
 #include <cpu.h>
 #include <dm.h>
index f86a0b86921c4d9983b15b1e772e68dcad1b0013..80c084f380d9ea01680e91c75ca4ae9bbc18c76e 100644 (file)
@@ -6,7 +6,6 @@
  * arch/x86/kernel/tsc_msr.c and arch/x86/kernel/tsc.c
  */
 
-#include <common.h>
 #include <bootstage.h>
 #include <dm.h>
 #include <log.h>
index 172fd9f9296e5267450b15ecc7ba2cae9ad07b11..54148aa1689be83a0bdfc0e2724ada933659491c 100644 (file)
@@ -7,7 +7,6 @@
  * Michal SIMEK <monstr@monstr.eu>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <timer.h>
 #include <regmap.h>
index acf4c7859a9fa50afae18de3446bae974f4f1201..08ec179346e29d0dd3cb7da44b25b34d82e05a77 100644 (file)
@@ -7,12 +7,12 @@
 
 #define LOG_CATEGORY UCLASS_TPM
 
-#include <common.h>
 #include <dm.h>
 #include <i2c.h>
 #include <irq.h>
 #include <log.h>
 #include <spl.h>
+#include <time.h>
 #include <tpm-common.h>
 #include <tpm-v2.h>
 #include <acpi/acpigen.h>
index 7e0b2502e35da3de02db0823efee686dc6a807d1..596e0156389995a1274c96ae9d899cb01acd5fba 100644 (file)
@@ -7,7 +7,6 @@
 
 #define LOG_CATEGORY   UCLASS_TPM
 
-#include <common.h>
 #include <tpm-v1.h>
 #include <tpm-v2.h>
 #include <asm/unaligned.h>
index b2286f7e7edc842e7e25f3cac6a39714e5395348..0fade2dcc0ad8b8ce35f5f831fe7b03c9ef96808 100644 (file)
@@ -6,9 +6,9 @@
 
 #define LOG_CATEGORY UCLASS_TPM
 
-#include <common.h>
 #include <dm.h>
 #include <log.h>
+#include <time.h>
 #include <tpm_api.h>
 #include <tpm-v1.h>
 #include <tpm-v2.h>
index c61ff2c2af63c3563dcf305cc76502a8dca93386..f2ced50c4eb7e3ca22da8daf6552595157750412 100644 (file)
@@ -13,7 +13,6 @@
  * https://github.com/microsoft/ms-tpm-20-ref/tree/master/Samples/ARM32-FirmwareTPM/optee_ta/fTPM
  */
 
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <tpm-v2.h>
index 81b9210056db962100d6ecdccb81901280a8462c..680a6409433e8abd4cf1714a424b2da8b10a5acd 100644 (file)
@@ -5,8 +5,8 @@
  * Based on the Linux TIS core interface and U-Boot original SPI TPM driver
  */
 
-#include <common.h>
 #include <dm.h>
+#include <time.h>
 #include <tpm-v2.h>
 #include <linux/delay.h>
 #include <linux/unaligned/be_byteshift.h>
index 99d1cf218dafc2fdc8e97b2841a3dbe6e7bf0510..93efccc77575e486d744f7cc7cc06c09d7346635 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright 2022 IBM Corp.
  */
 
-#include <common.h>
 #include <dm.h>
 #include <fdtdec.h>
 #include <i2c.h>
index a646ce41ff4e05e8023eb10f7322de8ed5015c53..dee5503c055f810412b954b468b43522dceab07c 100644 (file)
@@ -5,7 +5,6 @@
  * Specifications at www.trustedcomputinggroup.org
  */
 
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <tpm-v2.h>
index d15a28d9fc82d943a4b7b34f039c190471904dd7..50e308e711614b965512666b9b64c2efcc037e3d 100644 (file)
@@ -4,7 +4,6 @@
  * Author: Miquel Raynal <miquel.raynal@bootlin.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <tpm-v2.h>
 #include <asm/state.h>
index de9cf8f21e078576da483631bce84736fffea44c..28079b5039a3b44518f9acf0fea0b16c699bd42d 100644 (file)
  * It is based on the U-Boot driver tpm_tis_infineon_i2c.c.
  */
 
-#include <common.h>
 #include <dm.h>
 #include <fdtdec.h>
 #include <log.h>
 #include <spi.h>
+#include <time.h>
 #include <tpm-v2.h>
 #include <linux/bitops.h>
 #include <linux/delay.h>
index fd2a45d34b03cf9942213844ec1bf0ab2e288b60..05dd66525c77e8ee13a45238e2bfc8f166479ed7 100644 (file)
@@ -5,11 +5,11 @@
  * Written by Dirk Eibach <dirk.eibach@gdsys.cc>
  */
 
-#include <common.h>
 #include <display_options.h>
 #include <dm.h>
 #include <tpm-v1.h>
 #include <i2c.h>
+#include <time.h>
 #include <asm/unaligned.h>
 #include <linux/delay.h>
 
index 16f4af0e331e11a7405d0c553ef3671e49c3b623..e2f6238cbc7115c97a580630384d2f309d01b460 100644 (file)
  * Version: 2.1.1
  */
 
-#include <common.h>
 #include <dm.h>
 #include <fdtdec.h>
 #include <i2c.h>
 #include <log.h>
+#include <time.h>
 #include <tpm-v1.h>
 #include <linux/delay.h>
 #include <linux/errno.h>
index 13a133d58ebd1dbfea8c4d100041b986a0b8af7e..dec7acb0c7b16efd5f766978c2538829318816a5 100644 (file)
@@ -12,7 +12,6 @@
  * slb9635), so this driver provides access to locality 0 only.
  */
 
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <mapmem.h>
index 7350e1c4d525dfefb895eeedb26cfea402249707..2bc7dc87ed30013f703412c8daa5a6d29bdcf452 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (c) 2013 Google, Inc
  */
 
-#include <common.h>
 #include <display_options.h>
 #include <dm.h>
 #include <tpm-v1.h>
index e0eeabb93371e0591f47ee4e8b63da14453a699a..1a265b28b22f8cf92b9b4fa9532d65de0174dd57 100644 (file)
@@ -12,7 +12,6 @@
  * STMicroelectronics Protocol Stack Specification version 1.2.0.
  */
 
-#include <common.h>
 #include <dm.h>
 #include <fdtdec.h>
 #include <i2c.h>
index f0de8a65b093d9b4bbfe8999e130df94ba6147d2..2cf690328d871fad1aad4aceb0fd16c9746f185e 100644 (file)
@@ -12,7 +12,6 @@
  * STMicroelectronics Protocol Stack Specification version 1.2.0.
  */
 
-#include <common.h>
 #include <dm.h>
 #include <fdtdec.h>
 #include <log.h>
index d1f346937c5d04ec3ffbcfd93ec9bcfa3aef7259..510a6a6aa5dd4702dfdd01712114931a5ba407e0 100644 (file)
@@ -6,7 +6,6 @@
  */
 
 #include <clk.h>
-#include <common.h>
 #include <dm.h>
 #include <ufs.h>
 #include <asm/io.h>
index 1860e0dca299eff26155c7755045c8c2aad15598..c5c08610ffd0422c9cf9d8e85b0396e6102cb29a 100644 (file)
@@ -5,7 +5,6 @@
 
 #include <asm/io.h>
 #include <clk.h>
-#include <common.h>
 #include <dm.h>
 #include <dm/device_compat.h>
 #include <linux/bitops.h>
index ad41358727a5c4c925e0aa96b89e7f0f2b4cd9fd..871f3f50f5caefdb4fc96c720810c337c482cf90 100644 (file)
@@ -4,7 +4,6 @@
  * Author: Bin Meng <bmeng@tinylab.org>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <pci.h>
index 92fcdf4e6cb7008d9ec1d9810c74264ac127f733..334bfcfa06a429efcc04d099e7de978684c0490e 100644 (file)
@@ -7,7 +7,6 @@
 
 #define LOG_CATEGORY UCLASS_UFS
 
-#include <common.h>
 #include "ufs.h"
 #include <dm.h>
 
index e4400f319a785a601cdee1cbc51d71fc82639652..be64bf971f169ee50ae9029e09f8fa071d17b186 100644 (file)
@@ -10,7 +10,6 @@
 
 #include <bouncebuf.h>
 #include <charset.h>
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <dm/device_compat.h>
index 816a5ce0cafc5f87a5ea1e864b6cac97789feddf..43042c294bba2f9db7e16c3d60c0062b87539f11 100644 (file)
@@ -2,6 +2,7 @@
 #ifndef __UFS_H
 #define __UFS_H
 
+#include <linux/types.h>
 #include "unipro.h"
 
 struct udevice;
index 2e44aadea47b3eb24b3536cdc22c6235f6fb5e9f..ac072260c30a72484aea62bbadc9ef250f4a608a 100644 (file)
@@ -5,7 +5,6 @@
  * Copyright (C) 2019 Texas Instruments Incorporated - https://www.ti.com
  */
 
-#include <common.h>
 #include <clk.h>
 #include <dm.h>
 #include <dm/device_compat.h>
index 12a741c6ea7c4e376494a3cc29bebe5323220021..b4e931646b886c344c47f571a51356afa41a7efc 100644 (file)
@@ -11,7 +11,6 @@
  *         Roger Quadros <rogerq@ti.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <dm/device-internal.h>
index 7137a569d97c83a8f84c7c7ac2f45227e931eb9a..13e9a61072a973acc9a2a7096867bb6d26fe6123 100644 (file)
@@ -6,7 +6,6 @@
  *     Texas Instruments Incorporated, <www.ti.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <asm/global_data.h>
 #include <linux/printk.h>
index 00b8cd368b1af569e5c50e2188628fad74dfa62b..6a68bd76c2742c89862c82a4106bf9b9c4db6c03 100644 (file)
@@ -7,7 +7,6 @@
  * Author: Tor Krill tor@excito.com
  */
 
-#include <common.h>
 #include <log.h>
 #include <usb.h>
 #include <asm/io.h>
index 9eb1d23067253ea1c489fc08a05396b0883004c9..89ae73f2ba482ada9e215665a6e882f88529227c 100644 (file)
@@ -5,7 +5,6 @@
  * Copyright 2013 Freescale Semiconductor, Inc.
  */
 
-#include <common.h>
 #include <hwconfig.h>
 #include <fsl_errata.h>
 #include<fsl_usb.h>
index 96e850b7170f346051f46e30462551bbe7c11a36..c443d56746dd5f342e39b9a982a126b3ddb8462b 100644 (file)
@@ -13,7 +13,6 @@
  * commit cd72f890d2 : usb: dwc3: core: enable phy suspend quirk on non-FPGA
  */
 
-#include <common.h>
 #include <clk.h>
 #include <cpu_func.h>
 #include <malloc.h>
index 7a00529a2a8e055d471d21b8c90cd8829b7a2ff9..8db678eb85d45da5ec7020312eaa6c06d1e24e7d 100644 (file)
@@ -7,7 +7,6 @@
  * Based on dwc3-omap.c.
  */
 
-#include <common.h>
 #include <cpu_func.h>
 #include <log.h>
 #include <dm.h>
index c32df2396d74ab0e45563f03f6e40839ecf935ea..ff83bf71e89857dec27eee2847277eb0ce2a2f7d 100644 (file)
@@ -7,7 +7,6 @@
  * Based on dwc3-generic.c.
  */
 
-#include <common.h>
 #include <dm.h>
 #include <dm/device_compat.h>
 #include <dm/device-internal.h>
index 1a3e9350c46dfe3c3e86cccd747ce6f4e98c7c06..21e4f637bb150fb527c3f01fc641010c1eef5c74 100644 (file)
@@ -6,7 +6,6 @@
  * Author: Neil Armstrong <narmstrong@baylibre.com>
  */
 
-#include <common.h>
 #include <log.h>
 #include <dm.h>
 #include <dm/device-internal.h>
index 2ce915701a857dde9427cd0ed0be4fbbd2d30e1e..3e693c5ff310ad5e7a513ff1849856117b26cf73 100644 (file)
@@ -7,7 +7,6 @@
  */
 
 #define DEBUG
-#include <common.h>
 #include <dm.h>
 #include <dm/device-internal.h>
 #include <dm/lists.h>
index 53c4d4826b4544c967ab91729a8cc6f9daab4a77..4b219c35eb35229db55585ec8e5c27247083dcb2 100644 (file)
@@ -13,7 +13,6 @@
  * commit 7ee2566ff5 : usb: dwc3: dwc3-omap: get rid of ->prepare()/->complete()
  */
 
-#include <common.h>
 #include <malloc.h>
 #include <asm/io.h>
 #include <dm.h>
index 1133cf82b1ae176267ef6e82f1f71176fc8d71a5..117d38a0340b06248a70ce20cf4c1359b5bb1e54 100644 (file)
@@ -12,7 +12,6 @@
  *
  * commit c00552ebaf : Merge 3.18-rc7 into usb-next
  */
-#include <common.h>
 #include <cpu_func.h>
 #include <dm.h>
 #include <dm/device_compat.h>
index 39c19d94de143aac067202573f7d19a347869778..fab32575647df72e993d4e79732fdc926d341b72 100644 (file)
@@ -13,7 +13,6 @@
  * commit 8e74475b0e : usb: dwc3: gadget: use udc-core's reset notifier
  */
 
-#include <common.h>
 #include <cpu_func.h>
 #include <log.h>
 #include <malloc.h>
index abbd413689016d1a0b5ad60776b789045dbfcec8..0a7713081636869b0c3df49d0c7dc95e55d1687f 100644 (file)
@@ -7,7 +7,7 @@
  * Author: Joonyoung Shim <jy0922.shim@samsung.com>
  */
 
-#include <common.h>
+#include <asm/io.h>
 #include <asm/arch/power.h>
 #include <asm/arch/xhci-exynos.h>
 #include <linux/delay.h>
index 8ae130860f7931f771492f4bad670652d5cdad96..f0ecdea958ae2ec387b1204493e232c82f08e4ec 100644 (file)
@@ -16,7 +16,6 @@
  * and remove" for phy-omap-usb2.c
  */
 
-#include <common.h>
 #include <malloc.h>
 #include <ti-usb-phy-uboot.h>
 #include <dm/device_compat.h>
index 7c5c1ab3de739dedebce2d2b9fec6aefec26e7fc..24420e3d51e1225b45a4492642166c29ff261fdf 100644 (file)
@@ -6,7 +6,6 @@
 
 #define LOG_CATEGORY   UCLASS_USB
 
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <malloc.h>
index 084cc16cc6838b856afe518c1284c76bfeee5f14..3b3e59f978f7d1b2f4bf2575b53d2b5e24d3e34c 100644 (file)
@@ -4,7 +4,6 @@
  * Written by Simon Glass <sjg@chromium.org>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <usb.h>
index 5ec1e98e4ed42da28b840779462a4403a7516c49..db769883ba3b740963b5f68ccffa59d9791fb499 100644 (file)
@@ -4,7 +4,6 @@
  * Written by Simon Glass <sjg@chromium.org>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <os.h>
index b31dc950e3abb6ab6c389d89ee6917e1e6230612..cdc18d6cbb978c18406d0470efd4b67e321b5780 100644 (file)
@@ -6,7 +6,6 @@
 
 #define LOG_CATEGORY UCLASS_USB_EMUL
 
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <usb.h>
index 26dd312b7d0673b9e00d95f6e413a01b1ecd64fb..c5a01ec922be55cbb5ac6ca21fd7bf6f2a15f844 100644 (file)
@@ -5,7 +5,6 @@
  * Patched for AX88772B by Antmicro Ltd <www.antmicro.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <net.h>
index 2e737e60668590664de2aea88d21ffffa9820a6f..7bfd285b3aa4b8e0d8e42fed3385802aac4e830d 100644 (file)
@@ -5,7 +5,6 @@
  * from the Linux AX88179_178a driver
  */
 
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <usb.h>
index d94204f22d5f0ade885405d169931e876b1ec548..199fb7a5d08e8d2a7b9b68a5c0ae8c5d2e64f395 100644 (file)
@@ -9,7 +9,6 @@
  * MOSCHIP MCS7830 based (7730/7830/7832) USB 2.0 Ethernet Devices
  */
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <log.h>
index 3c866f4f1e2d18c08cc2baa4d2b2d8f2f6bb2c1f..e3f20e08c33cac4f8520dc670d22a1be6f3f10e7 100644 (file)
@@ -4,7 +4,6 @@
  *
  */
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <log.h>
index a41abed3069a7aad80bd5b94d3c1245a024b2ba5..3159f30106020affb0fe8f00e18c769c123c4988 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (c) 2015 Realtek Semiconductor Corp. All rights reserved.
  *
   */
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <linux/bitops.h>
index de6586e62639fe1d2cd9704d96e4de57febb78e8..b4fcb2c2bb0dbf4f85251aef2e40171c48185d78 100644 (file)
@@ -6,7 +6,6 @@
  * Copyright (C) 2007-2008 SMSC (Steve Glendinning)
  */
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <log.h>
index 2e9af54fd63d992ad09c363de926d8c6af722a84..8bba3e0974e6cb3123de0b843ef834b7e3fa22b9 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (c) 2011 The Chromium OS Authors.
  */
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <log.h>
index e573a03477b9e220ed6fcb3a83dbbf8c7ae2f1a1..86b2cbf3f6ae5c8d7fbe48052fe3e12655b37001 100644 (file)
@@ -13,7 +13,6 @@
 #undef VERBOSE_DEBUG
 #undef PACKET_TRACE
 
-#include <common.h>
 #include <dm/devres.h>
 #include <linux/bug.h>
 #include <linux/err.h>
index 4c420747b0b68d49f775454f0d8701ae29b2ffe5..f99553df8d492f25caad08729ba31798227367fa 100644 (file)
@@ -7,7 +7,6 @@
  *                        Bo Shen <voice.shen@atmel.com>
  */
 
-#include <common.h>
 #include <linux/bitops.h>
 #include <linux/errno.h>
 #include <asm/gpio.h>
index c89cd57c253d8ecfd83c54bcef2a2dcc9877e7b2..9875191091ccff74a1de7e17b20d5b8380607e61 100644 (file)
@@ -4,7 +4,6 @@
  */
 
 #include <config.h>
-#include <common.h>
 #include <asm/io.h>
 #include <asm/arch/sysmap.h>
 #include <asm/kona-common/clk.h>
index 750d4714879831386c3becd68a7246c28387448a..bbe03cfff1fb877ce92afd71e38c0225311c2d12 100644 (file)
@@ -7,7 +7,6 @@
  * Murray.Jensen@cmst.csiro.au, 27-Jan-01.
  */
 
-#include <common.h>
 #include <command.h>
 #include <config.h>
 #include <cpu_func.h>
index e96782644f314c0d3ef011a929ce309253258d80..1363ef9e73df556eb51900d218adeb3fea6665b7 100644 (file)
@@ -8,7 +8,6 @@
  *                      Remy Bohmer <linux@bohmer.net>
  */
 
-#include <common.h>
 #include <asm/unaligned.h>
 #include <linux/errno.h>
 #include <linux/list.h>
index 27082f5152cbb935a8e8a4277d8b33edde8ae170..6bd395a6235a7c8e43a112eb6a538001ea3c660d 100644 (file)
@@ -17,7 +17,6 @@
  * Lukasz Majewski <l.majewski@samsumg.com>
  */
 #undef DEBUG
-#include <common.h>
 #include <clk.h>
 #include <dm.h>
 #include <generic-phy.h>
index 7f8e9564b9e5d5259d4728420a7e4941d5f95916..c7eea7b34421ad9bde86d42334852d2f21a133e8 100644 (file)
@@ -17,7 +17,6 @@
  * Lukasz Majewski <l.majewski@samsumg.com>
  */
 
-#include <common.h>
 #include <linux/delay.h>
 #include <linux/errno.h>
 #include <linux/list.h>
index 1c34b753511d058f9e8ce8bc2e04df029bb7837a..16b2a03f9e4b2be2ed8bff75feb9d77ea6408c72 100644 (file)
@@ -17,7 +17,6 @@
  * Lukasz Majewski <l.majewski@samsumg.com>
  */
 
-#include <common.h>
 #include <cpu_func.h>
 #include <log.h>
 #include <linux/bug.h>
index c256cc31fbd2e0e56e335a35a7a6f7f1b13183f2..9d08640ff23ac4972512046589ef8a240c719060 100644 (file)
@@ -36,7 +36,6 @@
  * XXX
  */
 
-#include <common.h>
 #include <serial.h>
 #include <usbdevice.h>
 
index bb0d2971d06b0b7bdd19698011202e9eb04585e5..0a70035ce04b087d75db871bd64e9cf7d03b58b1 100644 (file)
@@ -8,7 +8,6 @@
  *                      Remy Bohmer <linux@bohmer.net>
  */
 
-#include <common.h>
 #include <linux/usb/ch9.h>
 #include <linux/errno.h>
 #include <linux/usb/gadget.h>
index 36618f0bdf36ab0909642e1335bc312741a532ed..b8b29d399b13176d7db1f3aae4364bbed3e0ba9d 100644 (file)
@@ -7,7 +7,6 @@
  * Copyright (C) 2008 Nokia Corporation
  */
 
-#include <common.h>
 #include <console.h>
 #include <env.h>
 #include <log.h>
index ba216128ab27b0242215958e1f860f0c810d0116..f18c6a0a76110df62e925de1882316eed463b343 100644 (file)
@@ -10,7 +10,6 @@
  */
 
 #include <circbuf.h>
-#include <common.h>
 #include <console.h>
 #include <errno.h>
 #include <g_dnl.h>
index 44877df4ec6b95877ba592be4de441ff1b45ca72..ca8b36e077bc52f5ff433ac3b78b200f5a98b1cb 100644 (file)
@@ -16,7 +16,6 @@
 
 #include <env.h>
 #include <errno.h>
-#include <common.h>
 #include <log.h>
 #include <malloc.h>
 
index 09e740cc96224f75cb6c11e78af36d799c0f66dd..8df0e3f331d1938444ec8575fcceb3ae875d275b 100644 (file)
@@ -11,7 +11,6 @@
  */
 #include <command.h>
 #include <config.h>
-#include <common.h>
 #include <env.h>
 #include <errno.h>
 #include <fastboot.h>
index ef90c7ec7fb5a274e40eae2670343862d3d09eda..89a96dbb7a740b32b936e9b586c71558799d0634 100644 (file)
 #include <hexdump.h>
 #include <log.h>
 #include <malloc.h>
-#include <common.h>
 #include <console.h>
 #include <g_dnl.h>
 #include <dm/devres.h>
index 98a7ffa2a752cac0db3cc4c5e5c1010e28c8b578..d679cdae97c8d37f07cbc0f7d62ab0a474895ab3 100644 (file)
@@ -6,7 +6,6 @@
  */
 #include <command.h>
 #include <config.h>
-#include <common.h>
 #include <env.h>
 #include <errno.h>
 #include <log.h>
index ca2760c00d0d3379c55d2847ce4daa1c8f83b6c5..89496917a61f86fd3e50464fbbedaefbdc237d5e 100644 (file)
@@ -17,7 +17,6 @@
  */
 
 #include <errno.h>
-#include <common.h>
 #include <console.h>
 #include <env.h>
 #include <log.h>
index 0e7529dcdbb65df289d1077153fee3babfa56c77..5437211834800a7db7c44bf45df4b9620ca7fd5b 100644 (file)
@@ -15,7 +15,6 @@
  */
 
 #include <command.h>
-#include <common.h>
 #include <console.h>
 #include <dm.h>
 #include <errno.h>
index afb7b74f3057047f21e580fca4808c8302247551..b5b5f5d8c1182d0f8f4cb20ecb012345119d23da 100644 (file)
@@ -6,7 +6,6 @@
  * Lukasz Majewski  <l.majewski@samsung.com>
  */
 
-#include <common.h>
 #include <log.h>
 #include <malloc.h>
 
index fa655c98dcc5c30f23262f0dfc23ae80c31fd73c..5a227c0ffd99636bee2ea4aab0c25f154d1a9a2c 100644 (file)
@@ -1,6 +1,5 @@
 // SPDX-License-Identifier: GPL-2.0+
 
-#include <common.h>
 #include <linux/errno.h>
 #include <linux/delay.h>
 #include <asm/gpio.h>
index e7276ccd37a35950b67f4f2e30449a9d662f6bf0..5e6e5a054ca745a40ec0897d3fdce75b10147cd1 100644 (file)
@@ -18,7 +18,6 @@
  *             updates to merge with Linux 2.6, better match RNDIS spec
  */
 
-#include <common.h>
 #include <log.h>
 #include <net.h>
 #include <malloc.h>
index ba658d922966ea971562c028cc618deeca9b3f6a..6bb419ae2abc67482b65ec40cca9f6640578a23a 100644 (file)
@@ -19,7 +19,6 @@
 #include <malloc.h>
 #include <asm/cache.h>
 #include <linux/dma-mapping.h>
-#include <common.h>
 #include <dm.h>
 #include <dm/device-internal.h>
 #include <linux/usb/ch9.h>
index 30ee1cab0668de0a7469525263ae5deaed535f6d..5dc23a55bb58b1c546e1e14ea164fa57ae4c900a 100644 (file)
@@ -6,7 +6,6 @@
 
 #define LOG_CATEGORY UCLASS_USB_GADGET_GENERIC
 
-#include <common.h>
 #include <dm.h>
 #include <dm/device-internal.h>
 #include <linux/printk.h>
index e2464ad923f8cffc0cc91ef085920bd017c4e0e8..4617a95bd0a7a8968fc5417110503fb2a951021c 100644 (file)
@@ -6,7 +6,6 @@
  *                      Remy Bohmer <linux@bohmer.net>
  */
 
-#include <common.h>
 #include <linux/errno.h>
 #include <linux/usb/ch9.h>
 #include <linux/usb/gadget.h>
index 637eb2dd06f5394d491a11cf5d6675219ca07339..a9dbb85f4e6c5a9122108eb64f77e99758b840e8 100644 (file)
@@ -4,7 +4,6 @@
  * Copyright (C) 2014 Marek Vasut <marex@denx.de>
  */
 
-#include <common.h>
 #include <clk.h>
 #include <cpu_func.h>
 #include <dm.h>
index f9df59d2e5d7041079f763884d340017b82f80ef..d52e7d22d1a74cfdd5d751d460f878c999501fb3 100644 (file)
@@ -10,7 +10,6 @@
  * Author: Neil Armstrong <narmstron@baylibre.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <reset.h>
 #include <clk.h>
index 4a3ab6111276e6239baf61afd696d5f92a31d792..3e6834e38e386bf2201263253e751d6e940f4611 100644 (file)
@@ -6,7 +6,6 @@
  * Author(s): Patrice Chotard, <patrice.chotard@foss.st.com> for STMicroelectronics.
  */
 
-#include <common.h>
 #include <log.h>
 #include <asm/global_data.h>
 #include <asm/io.h>
index c6d50fd4551ab5682fce0e4393727c82a10c36f6..ee751224463a1319c6d306a2e28fe8a7c3376ea2 100644 (file)
@@ -5,7 +5,6 @@
  * Written-by: Bo Shen <voice.shen@atmel.com>
  */
 
-#include <common.h>
 #include <clk.h>
 #include <dm.h>
 #include <log.h>
index c1cdd4b0889aead5fad8c4e19f5a4c21bf2c3ce6..1e4a5a0b6f6ce3ff7e14ec16a5250eddb5a13139 100644 (file)
@@ -6,7 +6,6 @@
  *     Vivek Gautam <gautam.vivek@samsung.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <fdtdec.h>
 #include <log.h>
index 0569dd54fff937af7ac0f8fc32ed3609e7e73118..ee3eb065b142143717c38ef50d8688d137d56810 100644 (file)
@@ -7,7 +7,6 @@
  * Author: Tor Krill tor@excito.com
  */
 
-#include <common.h>
 #include <env.h>
 #include <log.h>
 #include <pci.h>
index 936e30438d9ff32e1d95fa04fbc861c31ebc94fe..23c3ed25554f9acfeac840a132d99b92e3b8fafa 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2015 Alexey Brodkin <abrodkin@synopsys.com>
  */
 
-#include <common.h>
 #include <clk.h>
 #include <log.h>
 #include <dm/device_compat.h>
index 9839aa17492d827b08e8560df74457165a1d80b9..7d5519c65a9e1a0fc24345cdfe47f612a069ef71 100644 (file)
@@ -6,7 +6,6 @@
  *
  * All rights reserved.
  */
-#include <common.h>
 #include <cpu_func.h>
 #include <dm.h>
 #include <errno.h>
index 6093c8fb0b68629c79ae176b196d596552f08e76..ca0ab57d49c278b71b28223e79b2a245e1a192a8 100644 (file)
@@ -5,7 +5,6 @@
  * Written-by: Prafulla Wadaskar <prafulla@marvell.com>
  */
 
-#include <common.h>
 #include <log.h>
 #include <asm/global_data.h>
 #include <asm/io.h>
index 98fe7bc3bcb169d04a1d0770bbdb7dc8e1153b19..a081f71b187d9ee63202f1b556f753f4e2bec9d6 100644 (file)
@@ -7,7 +7,6 @@
  * Based on Linux driver
  */
 
-#include <common.h>
 #include <dm.h>
 #include <dm/lists.h>
 #include <errno.h>
index c11279867c7ca0d2412d9cea5105763419729df3..fb912654097eacdaecac0bda80a13ea1640f2f4d 100644 (file)
@@ -4,7 +4,6 @@
  * Copyright (C) 2010 Freescale Semiconductor, Inc.
  */
 
-#include <common.h>
 #include <log.h>
 #include <usb.h>
 #include <errno.h>
index a35fcca43a23a6abd2e6b806c1b063b4c97aaaf0..31cd8a50f4a2258ce478db93848cbef2529564c3 100644 (file)
@@ -4,7 +4,6 @@
  * Copyright (C) 2010 Freescale Semiconductor, Inc.
  */
 
-#include <common.h>
 #include <clk.h>
 #include <log.h>
 #include <usb.h>
index ddf7cc2d00a7b1881acdbd7903955fef9fd9a32e..95af5c9254cbb26286636306c1419b3db70256c7 100644 (file)
@@ -6,7 +6,6 @@
  * on behalf of DENX Software Engineering GmbH
  */
 
-#include <common.h>
 #include <asm/io.h>
 #include <asm/arch/imx-regs.h>
 #include <errno.h>
index 357a5614edb7ddf98d20a75e413b72917bf8a69d..d2a9965b4b4f6560d38513e91832ad38899ab6a3 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (c) 2021 Nuvoton Technology Corp.
  */
 
-#include <common.h>
 #include <dm.h>
 #include <generic-phy.h>
 #include <reset.h>
index 765336a3c42b2b5d13c687334fb1cd95f5ddde12..a95fcad02131c72709729afe396c3113e3910488 100644 (file)
@@ -10,8 +10,8 @@
  *
  */
 
-#include <common.h>
 #include <log.h>
+#include <time.h>
 #include <usb.h>
 #include <linux/delay.h>
 #include <usb/ulpi.h>
index e98ab312618daac821c7dcf8485e251f27101d7f..572686580cd56d7cca87a8c89aa259f65a3c4bcd 100644 (file)
@@ -4,7 +4,6 @@
  * All rights reserved.
  */
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <init.h>
index 2cf16256703d0dd0e149c9be38325a84432c5e55..343893b9f19acba389263fade3ccc11a89a03adb 100644 (file)
@@ -5,7 +5,6 @@
  * Copyright (c) 2013 Lucas Stach
  */
 
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <linux/delay.h>
index 648e136447d93e21998333429bde8f23d33cc90e..5afe28ea303321a15905c17778a9a6317a9064e9 100644 (file)
@@ -6,7 +6,6 @@
  * Based on ehci-mx6 driver
  */
 
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <usb.h>
index f7e458cb15a2b05e1f29e4571bdfc755ddd5277d..dfaff5c60f4e46e7a2cf9f7d5394cfb8a5cd00c5 100644 (file)
@@ -5,7 +5,6 @@
  * USB Low level initialization(Specific to zynq)
  */
 
-#include <common.h>
 #include <dm.h>
 #include <usb.h>
 #include <asm/arch/hardware.h>
index 9b955c1bd678eb70475b0a4002ed8457b1ec462a..b170f26e6c6a846323f3c2b90837416499ae214d 100644 (file)
@@ -4,7 +4,6 @@
  * DENX Software Engineering <mk@denx.de>
  */
 
-#include <common.h>
 #include <asm/arch/clk.h>
 
 int usb_cpu_init(void)
index d3d73d238442bba552f76d05375103d4f1960a9a..d321d147c2f957e6d54053f7c869514529803c90 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2012 Sughosh Ganu <urwithsughosh@gmail.com>
  */
 
-#include <common.h>
 #include <malloc.h>
 #include <asm/io.h>
 #include <clk.h>
index ceed1911a95a99dbdd893ba305bea3f517ba23f2..f1325cd4953430ba98a2709461627c78f693667b 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2015 Alexey Brodkin <abrodkin@synopsys.com>
  */
 
-#include <common.h>
 #include <clk.h>
 #include <dm.h>
 #include <log.h>
index 3f4418198ccd7723597625e3fef23d53cc8fe3f6..c020d13c43d210c8524491ead131a544806db52e 100644 (file)
@@ -27,7 +27,7 @@
  *     to activate workaround for bug #41 or this driver will NOT work!
  */
 
-#include <common.h>
+#include <config.h>
 #include <cpu_func.h>
 #include <asm/byteorder.h>
 #include <dm.h>
index a04b2961b9617d7688412966eb379323532b25b2..ed04cae7afed81cd7eba2172c354923d11c25c81 100644 (file)
@@ -7,7 +7,6 @@
  * Copyright (c) 2015 Tyco Fire Protection Products.
  */
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <init.h>
index 9e1d52988099a9a5525c47fceda831ca0b2c9d37..ffeb6bc206a895d58ece3b99aba57b0324b116cd 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (c) 2021 Nuvoton Technology Corp.
  */
 
-#include <common.h>
 #include <dm.h>
 #include <generic-phy.h>
 #include <reset.h>
index f061aec28966fc8cb709666efe6d0a5f019f9153..f10f109242055aacdfc092413cb868cb7edac4ea 100644 (file)
@@ -5,7 +5,6 @@
  *
  */
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <pci.h>
index 3ccbc16da379f1ff33dd43ea47e87c2565a3b2d2..f0b18bffba4123c8dfb33a8083f953b5c5514764 100644 (file)
@@ -5,7 +5,6 @@
  * Copyright (C) 2008  Yoshihiro Shimoda <shimoda.yoshihiro@renesas.com>
  */
 
-#include <common.h>
 #include <console.h>
 #include <dm.h>
 #include <log.h>
index 3d4f8d653b5d214041dc531537250d9b4372fcc9..e26f0b292ed534f65644f9137a50b99618c155cc 100644 (file)
@@ -4,7 +4,6 @@
  * Written by Simon Glass <sjg@chromium.org>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <usb.h>
index a1cd0ad2d669b7c2fa04148cec104fcbe8aa99ea..cd3a07e4c374e322066afe290ff66f3157a2ed23 100644 (file)
@@ -8,7 +8,6 @@
 
 #define LOG_CATEGORY UCLASS_USB
 
-#include <common.h>
 #include <bootdev.h>
 #include <dm.h>
 #include <errno.h>
index 7fa1c601dff52fdb166fa96be700a34ac7653748..362b46dc466ebc92af987d3031dcefa6c407c10f 100644 (file)
@@ -6,7 +6,6 @@
  * Written by Simon Glass <sjg@chromium.org>
  */
 
-#include <common.h>
 #include <bootdev.h>
 #include <dm.h>
 #include <usb.h>
index fe17924028cd22ede5c28a79dd38c8fb9d9c64a8..2ffad148dea65a3597e45aff760e8396419a106e 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2019 Broadcom.
  */
 
-#include <common.h>
 #include <dm.h>
 #include <fdtdec.h>
 #include <usb.h>
index 6cebe1cc30cb6512805f49b324ba0b2aa5b30ce5..e3e0ceff43e6abdb8643f265819eff28c2c802f4 100644 (file)
@@ -8,7 +8,6 @@
  */
 
 #include <clk.h>
-#include <common.h>
 #include <dm.h>
 #include <generic-phy.h>
 #include <log.h>
index 270be934e7fc58e563aeb032acbf12832532c20c..6a2d422c4b8e510bf485c3069287000f8cf77aef 100644 (file)
@@ -12,7 +12,6 @@
  * exynos5 specific PHY-init sequence.
  */
 
-#include <common.h>
 #include <dm.h>
 #include <fdtdec.h>
 #include <log.h>
index e67e09e31e4af8a21296f8b30084ea5507c5588f..3484ae1d21ee78ede669a945616081f643f139c1 100644 (file)
@@ -7,7 +7,6 @@
  * Author: Ramneek Mehresh<ramneek.mehresh@freescale.com>
  */
 
-#include <common.h>
 #include <log.h>
 #include <usb.h>
 #include <linux/errno.h>
index 72b75306265083e932ea901ea880989c2f0134c8..045b0fba81281b5ae36e8e12db2abc82f3ea6bce 100644 (file)
@@ -13,7 +13,6 @@
  *         Vikas Sajjan <vikas.sajjan@samsung.com>
  */
 
-#include <common.h>
 #include <cpu_func.h>
 #include <dm.h>
 #include <log.h>
index 63dfb793c6bdeac041da58edd5450357ac5d9cbb..7e288f0575b6c8064e6c60a466519c0a1b10de86 100644 (file)
@@ -5,7 +5,6 @@
  */
 
 #include <clk.h>
-#include <common.h>
 #include <dm.h>
 #include <dm/device_compat.h>
 #include <dm/devres.h>
index 46b89de85d1edf84a1c1270226c8890a71728936..1338b1021c644facb8243cd1caba0b0fb32f097c 100644 (file)
@@ -5,7 +5,6 @@
  * MVEBU USB HOST xHCI Controller
  */
 
-#include <common.h>
 #include <dm.h>
 #include <fdtdec.h>
 #include <log.h>
index 501129d769a2f99d0809a9e12917a1d4ea52de7d..66da94c0709822fe10404ef4e018de4761929dbc 100644 (file)
@@ -8,7 +8,6 @@
  * Author: Dan Murphy <dmurphy@ti.com>
  */
 
-#include <common.h>
 #include <log.h>
 #include <usb.h>
 #include <linux/errno.h>
index 11f1c02000af6dc06f08d7792f145e6a1c649577..f6972af7963d61e350e83d4061291165a9cfc66f 100644 (file)
@@ -5,7 +5,6 @@
  * All rights reserved.
  */
 
-#include <common.h>
 #include <dm.h>
 #include <dm/device_compat.h>
 #include <init.h>
index fedcf786929542ce7589802550b1f3fc7248dfb0..38c5928faed502d66c25babd171c35178b278038 100644 (file)
@@ -5,7 +5,6 @@
  * Renesas RCar USB HOST xHCI Controller
  */
 
-#include <common.h>
 #include <clk.h>
 #include <dm.h>
 #include <fdtdec.h>
index 910c5f3352b805e1895f974aa6f23d8c7c7093e1..1360a5940fa05567bc288c4fc8056131bbb9c655 100644 (file)
@@ -13,7 +13,6 @@
  *         Vikas Sajjan <vikas.sajjan@samsung.com>
  */
 
-#include <common.h>
 #include <cpu_func.h>
 #include <log.h>
 #include <asm/byteorder.h>
index 741e186ee05bc30e7255646ef03f009c234bbf48..d30725d3fcaae206cd91831befcc0b0b39027787 100644 (file)
@@ -19,7 +19,6 @@
  * The quirk devices support hasn't been given yet.
  */
 
-#include <common.h>
 #include <cpu_func.h>
 #include <dm.h>
 #include <dm/device_compat.h>
index a6c4d97aee3f5af73f722ca424845433596c05db..96c483fb9afa720ae3b45e41a8f5f87d35677e08 100644 (file)
@@ -7,7 +7,6 @@
  */
 
 #include <hexdump.h>
-#include <common.h>
 #include <asm/cache.h>
 #include <cpu_func.h>
 #include <dm.h>
index c96ab459f93e66cc2d52930cff52f17163863d39..54246b49d5fef2cdeb3d979773c938b973dca79d 100644 (file)
@@ -6,7 +6,6 @@
  * (c) 2007 Sebastian Siewior <bigeasy@linutronix.de>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <dm/device-internal.h>
 #include <dm/device_compat.h>
index 203500a4cb7ffa9ef7f966e508b49b36635268d4..8dcb7768a2c23fab8709f6fc2d588d32744719e4 100644 (file)
@@ -6,7 +6,6 @@
  *
  */
 
-#include <common.h>
 #include <dm.h>
 #include <dm/device-internal.h>
 #include <dm/device_compat.h>
index b1b22b9357cef0211f79091899249f7ff599e372..ca86b58dfcd72e4f5961ed87f1afa3a9d34ce361 100644 (file)
@@ -5,7 +5,6 @@
  * Author: Chunfeng Yun <chunfeng.yun@mediatek.com>
  */
 
-#include <common.h>
 #include <dm/lists.h>
 #include <linux/iopoll.h>
 
index 0a52e09e19f153cd0a40c66f147da4a5062c6449..42bc816e4f1e5ca0e6fa891c563fea65106e0b43 100644 (file)
@@ -24,7 +24,6 @@
 
 #include <plat/usb.h>
 #else
-#include <common.h>
 #include <asm/omap_musb.h>
 #include <linux/bug.h>
 #include <linux/delay.h>
index 68fc0c36146d575f38f0031e1db9f33ba0acf791..7caf03cc2e14016d7e0eac9c7ec64442b722a8bb 100644 (file)
@@ -13,7 +13,6 @@
  *
  */
 
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <dm/device-internal.h>
index 1e632dca046203baa9c8ca5ce461df33e4561673..14b28bbae6b1dbc063a08107d2e328fcd2ee95e6 100644 (file)
@@ -9,7 +9,6 @@
  *
  * This file is part of the Inventra Controller Driver for Linux.
  */
-#include <common.h>
 #include <clk.h>
 #include <dm.h>
 #include <dm/device_compat.h>
index 00da554982fe519a99764b0ec92c79a1df49b368..257e7685cfa34200dd89c7c78f1c8377d0545898 100644 (file)
@@ -79,7 +79,6 @@
 #include <linux/platform_device.h>
 #include <linux/io.h>
 #else
-#include <common.h>
 #include <dm.h>
 #include <dm/device_compat.h>
 #include <usb.h>
index a8ff7434c9f7a100e77bd488672b9ceca19fdaea..b73f3531ce24694d85631eff53d0b10084f3fe66 100644 (file)
@@ -31,7 +31,6 @@
 
 #include <plat/usb.h>
 #else
-#include <common.h>
 #include <dm.h>
 #include <dm/device_compat.h>
 #include <asm/omap_musb.h>
index c6083963ede9a8fcf791412b85d315853c65c44d..29e225aa0f11b26ce4a8a6a4dca0a13c2b61d7c0 100644 (file)
@@ -22,7 +22,6 @@
 #include <linux/dma-mapping.h>
 #include <linux/slab.h>
 #else
-#include <common.h>
 #include <dm.h>
 #include <dm/device_compat.h>
 #include <linux/bug.h>
index 55ce8de99bb17501b352d740eb528f1ffed8c617..63eee31a6b3e5c016a8d34fc74987f31657b0894 100644 (file)
@@ -18,7 +18,6 @@
 #include <linux/device.h>
 #include <linux/interrupt.h>
 #else
-#include <common.h>
 #include <dm.h>
 #include <dm/device_compat.h>
 #include <linux/printk.h>
index e5905d90d66fb28140fbaccc636ef30646f8341b..2f2fc7c1359b39e115a53118c867484cd592b2e6 100644 (file)
@@ -21,7 +21,6 @@
 #include <linux/list.h>
 #include <linux/dma-mapping.h>
 #else
-#include <common.h>
 #include <dm.h>
 #include <dm/device_compat.h>
 #include <usb.h>
index 7cea9a2ed65c1594fb53bd8c309736ea092c4424..43ab3245e5c3245540b3b980e3ae5ca4fa93ff8a 100644 (file)
@@ -1,4 +1,3 @@
-#include <common.h>
 #include <console.h>
 #include <dm.h>
 #include <malloc.h>
index 308eff832c9ed8d94baffbe990bc9980b5d48d6d..c8dd73050b2964a44cfb15eb40b52cf3dd5d8129 100644 (file)
@@ -8,7 +8,6 @@
  *
  * This file is part of the Inventra Controller Driver for Linux.
  */
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <serial.h>
index 4ed5e6e90c6cc497fed7e7ce911918170e2fff2a..0b25e5893b3cbaf9711eb36796c826a30b562bee 100644 (file)
@@ -9,7 +9,6 @@
  * Based on the dsps "glue layer" code.
  */
 
-#include <common.h>
 #include <dm.h>
 #include <asm/global_data.h>
 #include <dm/device_compat.h>
index 778b01b22ea78d2cc5ed3e5718d3972929e917ff..b577ba4187807f6cd350ec5859fb347030c58f6c 100644 (file)
@@ -15,7 +15,6 @@
  *
  * This file is part of the Inventra Controller Driver for Linux.
  */
-#include <common.h>
 #include <clk.h>
 #include <dm.h>
 #include <generic-phy.h>
index ed5e5194d8c917861f86b82bc69571df55a87122..76e8b88369e31d9d02fb37b63a395e5c042bbb31 100644 (file)
@@ -5,7 +5,6 @@
  * (C) Copyright 2016
  *     Texas Instruments Incorporated, <www.ti.com>
  */
-#include <common.h>
 #include <command.h>
 #include <console.h>
 #include <dm.h>
index 57c7d5630d37e79344acd667e34d984f6702eba3..6b4ef3c85782ce2027865c82629b8d17d59083e3 100644 (file)
@@ -1,7 +1,6 @@
 // SPDX-License-Identifier: GPL-2.0+
 /* Copyright (C) 2019 Stephan Gerhold */
 
-#include <common.h>
 #include <dm.h>
 #include <generic-phy.h>
 #include <dm/device_compat.h>
index f945f1f5e2c584c830c4f8a1a9e0678ef6420cb0..2c23043d40e965baa18909f3f4f10706a3f75844 100644 (file)
@@ -9,7 +9,6 @@
  * Copyright (c) 2010 Texas Instruments Incorporated
  */
 
-#include <common.h>
 #include <linux/delay.h>
 
 #include "am35x.h"
index 9651f074a49d4c277cbdecab9496c3a6d33f160a..260552e4dbd424ce3375a6bd3a181ec9f1fc9c6e 100644 (file)
@@ -8,7 +8,6 @@
  * Author: Thomas Abraham t-abraham@ti.com, Texas Instruments
  */
 
-#include <common.h>
 #include <linux/bitops.h>
 
 #include "musb_core.h"
index 4676cabae0aa763c226c5613567f63ee2a26b0f2..c95c6a4828126906f69ee49f520e5c091b22beeb 100644 (file)
@@ -7,7 +7,6 @@
  * Author: Thomas Abraham t-abraham@ti.com, Texas Instruments
  */
 
-#include <common.h>
 #include <log.h>
 #include <usb.h>
 #include <linux/delay.h>
index 2ffcb7caaad7b0417ecfc62d180cb332d58eab7b..696855ee3a613bcb9cfaa0eb443df5a45bc510a5 100644 (file)
@@ -37,7 +37,6 @@
  * -------------------------------------------------------------------------
  */
 
-#include <common.h>
 #include <hang.h>
 #include <serial.h>
 #include <usbdevice.h>
index c46ad86d3d658afad4eaef930d3b5a8d741bcd8c..9ec5b2d172b875680c54895656f129079009248d 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright 2016 Rockchip Electronics Co., Ltd
  */
 
-#include <common.h>
 #include <hang.h>
 #include <log.h>
 #include <asm/global_data.h>
index 1b01cd4c559f7b2e7b2b6df188b1cb2e391efe50..6f0c3eb154ee40ce57d6a4cf10613043060d87ca 100644 (file)
@@ -7,7 +7,6 @@
  * Author: Govindraj R <govindraj.raja@ti.com>
  */
 
-#include <common.h>
 #include <log.h>
 #include <asm/io.h>
 #include <linux/delay.h>
index 55a62808384dac39473d1adce27fdfe56a3afa65..bac20a02f01834e9cee677694fb950109a53c4af 100644 (file)
@@ -13,7 +13,6 @@
  * Copyright (C) 2011 Google, Inc.
  */
 
-#include <common.h>
 #include <asm/io.h>
 #include <linux/delay.h>
 #include <usb/ulpi.h>
index b5d2c2c2d1c305e6e3ef457c7cbab2d8fd52d64c..128adcbde134bc5a3b3705c3ddd932b540b54cd4 100644 (file)
@@ -19,7 +19,6 @@
  *   Freescale Semiconductors
  */
 
-#include <common.h>
 #include <exports.h>
 #include <log.h>
 #include <linux/delay.h>
index 52b5988ba5f23e4f342342d140c4f27ea729e80b..a149e6f5b95d46a8a178dd107903c87e6967fa5d 100644 (file)
@@ -9,7 +9,6 @@
  * interface for driving eDP TFT displays.
  */
 
-#include <common.h>
 #include <i2c.h>
 #include <linux/delay.h>
 #include "anx98xx-edp.h"
index 652ba1418018a154ecf069fbbdd6b1140b06c864..89bc0eeb680acd72bcd891248fa6e09215a832d9 100644 (file)
@@ -5,7 +5,6 @@
  * Copyright (C) 2012 Atmel Corporation
  */
 
-#include <common.h>
 #include <cpu_func.h>
 #include <log.h>
 #include <malloc.h>
index 5a7a54ada70e1e7f2fd97c5a80ca907f31988327..281c3a1d6632b2e4b97b9feed9038107ca4c1610 100644 (file)
@@ -5,7 +5,6 @@
  * Copyright (C) 2007 Atmel Corporation
  */
 
-#include <common.h>
 #include <atmel_lcd.h>
 #include <dm.h>
 #include <fdtdec.h>
index c14996d003c00041c7fe5a88b085d60b04717d7b..2a09b2da91063dc8c6ede1a2be084798618924fc 100644 (file)
@@ -6,7 +6,6 @@
 
 #define LOG_CATEGORY UCLASS_PANEL_BACKLIGHT
 
-#include <common.h>
 #include <dm.h>
 #include <backlight.h>
 
index eea824ab5e16ee263126c866c1173d3fa69252c8..b26fa9a8acf1515876dd3728aaeb7e6d08bcb68d 100644 (file)
@@ -4,7 +4,6 @@
  * Author: Patrick Delaunay <patrick.delaunay@foss.st.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <backlight.h>
 #include <log.h>
index 63efa762db160abe5e15dcf80b10831b8bd9234c..0c81e6066229049c8185d71bf8a3ca5e0364835a 100644 (file)
@@ -3,7 +3,6 @@
  * (C) Copyright 2012 Stephen Warren
  */
 
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <video.h>
index bab6fa7265af3ef5bf833336905bd2c7f3353568..291ed36440c8bf17ae2b4fadda785123951851fd 100644 (file)
@@ -8,7 +8,6 @@
  * BMP handling routines
  */
 
-#include <common.h>
 #include <bmp_layout.h>
 #include <command.h>
 #include <dm.h>
index 022ea38d4cfecc97403f16e2886a6fb4f7149029..00e673a4db08bc65d36da0815035a5c6d923a85c 100644 (file)
@@ -5,7 +5,6 @@
 
 #define LOG_CATEGORY   UCLASS_VIDEO
 
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <pci.h>
index 93fa25f16e31365eaddb465dc22c78d27a26f31c..8cee4c958bd8f17a97be9a738cce7127ec67328b 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2017 Vasily Khoruzhick <anarsoul@gmail.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <i2c.h>
index d1d22a6e235cd842d946ad61a82f9c7eb183e205..efd03752281c90cb710ad4f45596f16928f4fe53 100644 (file)
@@ -4,7 +4,6 @@
  * Written by Simon Glass <sjg@chromium.org>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <i2c.h>
index 4760f04108f7e46e6e183f11d580352aa63a8b0a..5851e1ef15e9a9608b92bcf5592578e579ee0733 100644 (file)
@@ -4,7 +4,6 @@
  * Written by Simon Glass <sjg@chromium.org>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <video_bridge.h>
index f0ef3dafb93b09be3c230f78b7840bf5fbc40ae2..f978021c860e6e8637f5e57afdb2076ce815ae70 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (c) 2022 Svyatoslav Ryhel <clamor95@gmail.com>
  */
 
-#include <common.h>
 #include <clk.h>
 #include <dm.h>
 #include <log.h>
index f389bc6b14753613f14e41e5a06adbc3242d4767..2084a2e03ee830b0900b64fbd545a1bdb946dc6d 100644 (file)
@@ -6,7 +6,6 @@
 
 #define LOG_CATEGORY UCLASS_VIDEO_BRIDGE
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <edid.h>
index 83b6c908a8db565ff6b97c64f5ef79eb8302e588..a26154ab588f9b65073eaf1e86f765e38848499b 100644 (file)
@@ -5,12 +5,12 @@
  * Copyright (C) 2016 Google, Inc
  */
 
-#include <common.h>
 #include <bios_emul.h>
 #include <bootstage.h>
 #include <dm.h>
 #include <init.h>
 #include <log.h>
+#include <time.h>
 #include <vesa.h>
 #include <video.h>
 #include <asm/cpu.h>
index 34ef5a5229426840f0c100e2d5cb30c38ed19adc..6f4194a1814747bca85944b40835ebeb099b4826 100644 (file)
@@ -6,7 +6,6 @@
  * (C) Copyright 2023 Dzmitry Sankouski <dsankouski@gmail.com>
  */
 
-#include <common.h>
 #include <charset.h>
 #include <dm.h>
 #include <video.h>
index e4303dfb364c48152206f60b52d40a5e856d8aea..dc969836274108c9e1665f4d1154d6ec604358c3 100644 (file)
@@ -6,7 +6,6 @@
  * (C) Copyright 2023 Dzmitry Sankouski <dsankouski@gmail.com>
  */
 
-#include <common.h>
 #include <charset.h>
 #include <dm.h>
 #include <video.h>
index 28665a327575708fde86eafcfaa80c290e3983e0..c435162d3f946f58792583e817be841ebfec060d 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (c) 2016 Google, Inc
  */
 
-#include <common.h>
 #include <abuf.h>
 #include <dm.h>
 #include <log.h>
index 5b718ae3e5a5e409486b756348cabde4b9c57ed8..9aede2626423ea32569259e0a57b520a5e987efd 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2016, Bin Meng <bmeng.cn@gmail.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <init.h>
 #include <vesa.h>
index 2da3d1d14e958c9853f7a04edc5bc13492275e99..61a73e1bc2a629eae6a9210434641a9babaf9dea 100644 (file)
@@ -5,7 +5,6 @@
 
 #define LOG_CATEGORY UCLASS_DISPLAY
 
-#include <common.h>
 #include <dm.h>
 #include <display.h>
 #include <edid.h>
index 6e5256eb1265402cb053e9e34bfe42475f584377..fde275ad7e2ed575b84382648c663be75544c275 100644 (file)
@@ -7,7 +7,6 @@
 
 #define LOG_CATEGORY UCLASS_DSI_HOST
 
-#include <common.h>
 #include <dm.h>
 #include <dsi_host.h>
 
index c217af97878eabd4c85f3fa7364300d3a2cee896..35559cef22985fc243464a2942b7ef97c5b1eea3 100644 (file)
@@ -5,13 +5,14 @@
  * Copyright 2017 Jernej Skrabec <jernej.skrabec@siol.net>
  */
 
-#include <common.h>
 #include <fdtdec.h>
 #include <log.h>
 #include <asm/io.h>
 #include <i2c.h>
 #include <media_bus_format.h>
+#include <time.h>
 #include <linux/delay.h>
+#include <linux/errno.h>
 #include "dw_hdmi.h"
 
 struct tmds_n_cts {
index a7e0784596a985799bc0b101a26c0da3d2f03b6d..c74fe678d12a5615ffaad4e14b371a8d45225da6 100644 (file)
@@ -9,7 +9,6 @@
  * the Linux Kernel driver drivers/gpu/drm/bridge/synopsys/dw-mipi-dsi.c.
  */
 
-#include <common.h>
 #include <clk.h>
 #include <dsi_host.h>
 #include <dm.h>
index 28ac15ff61b9484e545546c96936aeab750e2035..78d123fad4be3ecd0570d7f954944d981298bf10 100644 (file)
@@ -7,7 +7,6 @@
 
 #define LOG_CATEGORY LOGC_EFI
 
-#include <common.h>
 #include <dm.h>
 #include <efi_api.h>
 #include <log.h>
index 1bff641434e1980a7a7b51d551afdbe73f756c33..d4ba4d8b6da64681e2806216a3727a0835ae2272 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (c) 2022 Svyatoslav Ryhel <clamor95@gmail.com>
  */
 
-#include <common.h>
 #include <backlight.h>
 #include <dm.h>
 #include <panel.h>
index 59838da6c9260e603a6aecc42e8fbaae674d42f3..b0afb2338fb74b8a344d17e4b1f2e4d9453573c8 100644 (file)
@@ -5,7 +5,6 @@
  * Author: Donghwa Lee <dh09.lee@samsung.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <display.h>
 #include <fdtdec.h>
index ae500a702804d0b3367f3860fb0d64e50d93bb6a..f007b319b20e78d4d3b4b3306a81966c57a6d129 100644 (file)
@@ -6,7 +6,6 @@
  */
 
 #include <config.h>
-#include <common.h>
 #include <log.h>
 #include <linux/delay.h>
 #include <linux/err.h>
index 86970a6d5d20bdbcc7b58e2bca6ca21be224fc97..0407a3f51b0d0b3dbb43e2979055208540d5549a 100644 (file)
@@ -7,7 +7,6 @@
  */
 
 #include <config.h>
-#include <common.h>
 #include <display.h>
 #include <div64.h>
 #include <dm.h>
index 804fcd0b248486cc4404152e2f0b6eb39c09f1f2..edeb0a87bbb7bf88df705527102ae58688f6b399 100644 (file)
@@ -6,7 +6,6 @@
  * Author: Donghwa Lee <dh09.lee@samsung.com>
  */
 
-#include <common.h>
 #include <log.h>
 #include <malloc.h>
 #include <fdtdec.h>
index be67cebae7f2439ed36485f84e107fbff427ddb9..fc2767adc38c2400d46fe072ef0f5b69135ec920 100644 (file)
@@ -6,7 +6,6 @@
  * Author: Donghwa Lee <dh09.lee@samsung.com>
  */
 
-#include <common.h>
 #include <log.h>
 #include <linux/delay.h>
 #include <linux/err.h>
index 8111acd9a0b592c31b0ff2011baef92c3a0add76..9f18b5da10262a45282fb4402fd847eae861b18e 100644 (file)
@@ -6,7 +6,6 @@
  * Author: Donghwa Lee <dh09.lee@samsung.com>
  */
 
-#include <common.h>
 #include <asm/arch/dsim.h>
 #include <asm/arch/mipi_dsim.h>
 #include <asm/arch/power.h>
index 63637b4db0223974ed06ef14bbb84fe16e1f9ba6..cb7f93e9c997f488788e0759a9cb7f5f9cf5d771 100644 (file)
@@ -2,7 +2,6 @@
 /*
  * Copyright (C) 2022 Ondrej Jirman <megi@xff.cz>
  */
-#include <common.h>
 #include <backlight.h>
 #include <dm.h>
 #include <mipi_dsi.h>
index 95984fe3d3d1bab04d26a6165ef0415ed4bfc150..68f7b75eef99220730814c768036ffec9fdee0e0 100644 (file)
@@ -5,7 +5,6 @@
  * (C) Copyright 2015 Hans de Goede <hdegoede@redhat.com>
  */
 
-#include <common.h>
 #include <malloc.h>
 #include <linux/delay.h>
 
index 6ee97cb4ff3a8ae344fae7ca766284ea384a865f..2491a32810e235c346142b9bd3d4c18819e03d12 100644 (file)
@@ -12,7 +12,6 @@
  *
  */
 
-#include <common.h>
 #include <dm.h>
 #include <panel.h>
 #include <spi.h>
index 73b8f4bd1c9bd3919db032defe52c4e2f602d058..bf4d4995c36c869d328e46e6f834eea29c190f5a 100644 (file)
@@ -9,7 +9,6 @@
  * Dirk Eibach, Guntermann & Drunck GmbH, dirk.eibach@gdsys.de
  */
 
-#include <common.h>
 #include <display.h>
 #include <dm.h>
 #include <log.h>
index b0a99c9cd5d95670c680b3e432f5d01331f27ad6..d582fb8ad9d914c32081e5a0f09469042f6ea4ac 100644 (file)
@@ -11,7 +11,7 @@
  */
 
 /* #define DEBUG */
-#include <common.h>
+#include <config.h>
 #include <log.h>
 #include <linux/delay.h>
 #include <linux/types.h>
index 144322e4e26be127c81443cfb2538da4075c0462..aaba7d135a4622a71fa99abf0f68b39ef6ad59d8 100644 (file)
@@ -12,7 +12,6 @@
 
 /* #define DEBUG */
 
-#include <common.h>
 #include <log.h>
 #include <linux/delay.h>
 #include <linux/types.h>
index 7e60385bcfa512a68d88e9b2d8d94c217fe30a75..039b22086a93ca6498efafdff00a2393e70be687 100644 (file)
@@ -10,7 +10,6 @@
  * (C) Copyright 2004-2010 Freescale Semiconductor, Inc.
  */
 
-#include <common.h>
 #include <log.h>
 #include <part.h>
 #include <asm/cache.h>
index c2cc976618a11149ba3cbf5e6b19e8c4f08cd22d..ad688640733e98573ef9abc1e6e585d1259fac2e 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2016 Google, Inc
  */
 
-#include <common.h>
 #include <bios_emul.h>
 #include <dm.h>
 #include <errno.h>
index 00297a09b7fcee613e723d34fa2c14462266d3fa..6b51fa0628e4c152539968626c8f8f4ce7e24308 100644 (file)
@@ -6,7 +6,6 @@
 #define LOG_CATEGORY UCLASS_PANEL_BACKLIGHT
 
 #include <backlight.h>
-#include <common.h>
 #include <dm.h>
 #include <i2c.h>
 #include <log.h>
index 624084d38bcacefa4b4b7f13808c34f598da4a7f..643a77a0f4e14e156aae61d12ec1cd39be0a264f 100644 (file)
@@ -9,7 +9,6 @@
  * Dirk Eibach,  Guntermann & Drunck GmbH, dirk.eibach@gdsys.cc
  */
 
-#include <common.h>
 #include <clk.h>
 #include <display.h>
 #include <dm.h>
index dbb2f538617178afa6305f1ef966fcf612bb4856..c89212674624505d2f56f9c6633fd0c419f78b0d 100644 (file)
@@ -5,7 +5,6 @@
  *
  */
 #define DEBUG
-#include <common.h>
 #include <malloc.h>
 #include <video.h>
 #include <dm.h>
index 0924ceee3098ba141b1db9e982b6671ed8f07f92..2ba5d0de1529180a830c664db5b4140df224af48 100644 (file)
@@ -1,7 +1,6 @@
 // SPDX-License-Identifier: GPL-2.0+
 /* Copyright (C) 2019 Stephan Gerhold */
 
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <video.h>
index eccac2f8f24a4fd0866bdf3c7c1db0789cd88ba0..dd4c546222d57acc9312acc8c616ada0caf6364d 100644 (file)
@@ -6,7 +6,6 @@
  * Author: Neil Armstrong <narmstrong@baylibre.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <asm/io.h>
 
index 259af1b45717a3c1db263a5212f4679f20ac5abd..587df7beb9b0d2c703de7afe1031ae1fce405f07 100644 (file)
@@ -4,7 +4,6 @@
  * Author: Jorge Ramirez-Ortiz <jramirez@baylibre.com>
  */
 
-#include <common.h>
 #include <display.h>
 #include <dm.h>
 #include <edid.h>
index e3f784ecfe427ee67007c50d863ebcb19fafa3ef..899ce22d067e36c030c63dcec2365d4ecb6fa04d 100644 (file)
@@ -6,7 +6,6 @@
  * Author: Neil Armstrong <narmstrong@baylibre.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <asm/io.h>
 #include <linux/bitfield.h>
index e718a0074ed6a70633209ee45e3471fd4870dcce..4761ff661e4ed5d3aa113bb43c123fab57f1b1e7 100644 (file)
@@ -6,7 +6,6 @@
  * Author: Neil Armstrong <narmstrong@baylibre.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <edid.h>
 #include <linux/bitops.h>
index e7366dd2fdeaaee91041bf42ded707a677a53059..1bc6aaf73055e58008b3764097f5f551eae20538 100644 (file)
@@ -6,7 +6,6 @@
  * Author: Neil Armstrong <narmstrong@baylibre.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <edid.h>
 #include <fdtdec.h>
index 67d4ce7b3b49a970ed33b2c7e28a47fe22d8aca1..ca627728743b8b74407b2b42703180ef8f1102d2 100644 (file)
@@ -6,7 +6,6 @@
  * Author: Neil Armstrong <narmstrong@baylibre.com>
  */
 
-#include <common.h>
 #include <display.h>
 #include <dm.h>
 #include <efi_loader.h>
index c9808e1c63176a7e2c846ab13bb88ec73760fd0c..0e34cefd1002e71c0c81fabe3cb6ee0df8344e3c 100644 (file)
@@ -8,7 +8,6 @@
 
 #define DEBUG
 
-#include <common.h>
 #include <dm.h>
 #include <asm/io.h>
 #include <linux/bitops.h>
index ecacea1dbebdf549417dd375568bdebaf2580873..dc949c8ae61f4268ae693625e0dd1871d4dbd658 100644 (file)
@@ -32,7 +32,6 @@
  *
  */
 
-#include <common.h>
 #include <clk.h>
 #include <display.h>
 #include <dm.h>
index d3d07e5f83334ace424b13d514a25255fd391f4b..3fc5640b71ec45fd9d5dbd93c8f21b0353748898 100644 (file)
@@ -5,7 +5,6 @@
  * Initialization of LCD interface and setup of SPLASH screen image
  */
 
-#include <common.h>
 #include <dm.h>
 #include <part.h>
 #include <video.h>
index 515363f6a49bc808b810a2b6bc6c52abc9886881..792d6314d15ef50797c946aa4c3f0683eeec2ec6 100644 (file)
@@ -4,7 +4,6 @@
  *
  * Copyright (C) 2011-2013 Marek Vasut <marex@denx.de>
  */
-#include <common.h>
 #include <clk.h>
 #include <dm.h>
 #include <env.h>
index 2248f479057548052a025f0cc627587775734d8a..16a489b88dc299423bc90a12ae17abfca55b8ac5 100644 (file)
@@ -6,7 +6,6 @@
  */
 
 #include <config.h>
-#include <common.h>
 #include <errno.h>
 #include <log.h>
 #include <asm/arch/reset.h>
index 3f1fb8a5757b279c2063e9c29d156076dc0760cb..109d9f28bb01d635377226f4381b82e418508ab0 100644 (file)
@@ -6,7 +6,6 @@
  */
 
 #include <config.h>
-#include <common.h>
 #include <errno.h>
 #include <log.h>
 
index f8ea63fdf1b38e0f7f8794ae33f04d732b76c3d2..5db8d2b73b142aaec35e0d490782d702d0575b65 100644 (file)
@@ -6,8 +6,8 @@
  */
 
 #include <config.h>
-#include <common.h>
 #include <errno.h>
+#include <stdio.h>
 
 #include <asm/arch/nexell.h>
 #include <asm/arch/reset.h>
index 670272b26802a74047127913f315344fa2f6244f..58493a825982b471c65e5413b29ffcfe66566b8d 100644 (file)
@@ -6,7 +6,6 @@
  */
 
 #include <config.h>
-#include <common.h>
 #include <errno.h>
 
 #include <asm/arch/nexell.h>
index 44e8edb02a22aa28208ee4c926a73eaafb0cc257..6abb8b5e216b355f060a576256b6e8549d7f0af5 100644 (file)
@@ -6,8 +6,8 @@
  */
 
 #include <config.h>
-#include <common.h>
 #include <errno.h>
+#include <stdio.h>
 
 #include <asm/arch/display.h>
 
index c7bf5043e6053383951a3ebe58ea1ab98cafca67..4ad353256ebcb2fa7fa917e34ebbdfcf3674c166 100644 (file)
@@ -8,6 +8,7 @@
 #ifndef _S5PXX18_SOC_DISPTOP_H_
 #define _S5PXX18_SOC_DISPTOP_H_
 
+#include <linux/types.h>
 #include "s5pxx18_soc_disptype.h"
 
 #define NUMBER_OF_DISPTOP_MODULE       1
index af2698ffca846a0581d12feab8395a0562d5511e..7bda33fb16e10e57a91d485d3c03051028726ead 100644 (file)
@@ -8,7 +8,6 @@
  */
 
 #include <config.h>
-#include <common.h>
 #include <command.h>
 #include <dm.h>
 #include <mapmem.h>
index 432b16bfbfe796ed5fe22d354e087c60cbba434c..0b7ce348d5ad8fa6a1b32c14ce95c98a49987051 100644 (file)
@@ -25,7 +25,6 @@
  * MA 02111-1307 USA
  */
 
-#include <common.h>
 #include <asm/io.h>
 #include <asm/arch/dss.h>
 
index 848f174b6e48708976e05021e554d53ccd1a1e19..a29e909decc9800cd41c078bb0d7dd548079490f 100644 (file)
@@ -7,7 +7,6 @@
  * This otm8009a panel driver is inspired from the Linux Kernel driver
  * drivers/gpu/drm/panel/panel-orisetech-otm8009a.c.
  */
-#include <common.h>
 #include <backlight.h>
 #include <dm.h>
 #include <mipi_dsi.h>
index 1f7e20e0b50648b7062480039067074bd9f0125e..52a3466dc8c1203731dfcb62ebf4e63ed390bbb4 100644 (file)
@@ -6,7 +6,6 @@
 
 #define LOG_CATEGORY UCLASS_PANEL
 
-#include <common.h>
 #include <dm.h>
 #include <panel.h>
 
index 1c747d98d7acfdd1d3024d3523af94e01fceff5c..a4576c888cf0244ff2733c2304479e372e552034 100644 (file)
@@ -6,7 +6,6 @@
 
 #define LOG_CATEGORY UCLASS_PANEL_BACKLIGHT
 
-#include <common.h>
 #include <dm.h>
 #include <backlight.h>
 #include <log.h>
index f1fce55a2cb2f9e186fc98dc411554b97745a379..b8662ca22bf2995d2aa83f9f77ae988de104d766 100644 (file)
@@ -7,7 +7,6 @@
  * This rm68200 panel driver is inspired from the Linux Kernel driver
  * drivers/gpu/drm/panel/panel-raydium-rm68200.c.
  */
-#include <common.h>
 #include <backlight.h>
 #include <dm.h>
 #include <mipi_dsi.h>
index 3f5859055c983d1c3a859db6955817a5fdaa3bd5..a3697bce5ee3a6de40edac9a7aaed3b0c68bf1a7 100644 (file)
@@ -5,7 +5,6 @@
  * Copyright (c) 2022 Svyatoslav Ryhel <clamor95@gmail.com>
  */
 
-#include <common.h>
 #include <backlight.h>
 #include <dm.h>
 #include <panel.h>
index 082f5bc3d0a01306188c3f66f8d977dde4146c7d..9861c3fef11acc697574d54cebdaf49cb6d236e0 100644 (file)
@@ -5,7 +5,6 @@
  * Copyright (c) 2022 Svyatoslav Ryhel <clamor95@gmail.com>
  */
 
-#include <common.h>
 #include <backlight.h>
 #include <dm.h>
 #include <panel.h>
index fb784636e8774c67223f60878122faaafc0fbb8f..fa512173510b1ee6f51e6269eb249e24d0e980f8 100644 (file)
@@ -24,7 +24,6 @@
 #include <dm/lists.h>
 #include <linux/iopoll.h>
 
-#include <common.h>
 #include <log.h>
 #include <video.h>
 #include <dm/device-internal.h>
index efa87540340bb5ce4bad4454bdab57b389fea307..3d39f31a5ade309cd32e8f0675341cc280922186 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (c) 2017 Theobroma Systems Design und Consulting GmbH
  */
 
-#include <common.h>
 #include <clk.h>
 #include <display.h>
 #include <dm.h>
index 9d42119c82611ac83d44553d8ffc0311bfa611a6..850fe310754959e6ce7e260ce35d911020ade153 100644 (file)
@@ -4,7 +4,6 @@
  * Author: Eric Gao <eric.gao@rock-chips.com>
  */
 
-#include <common.h>
 #include <clk.h>
 #include <display.h>
 #include <dm.h>
index a4683852ea0c6093e624c3781667d2188ee4432f..282831eaac4466d99082b5f7fd863fbcb9a23e62 100644 (file)
@@ -5,7 +5,6 @@
  * Copyright 2014 Rockchip Inc.
  */
 
-#include <common.h>
 #include <display.h>
 #include <dm.h>
 #include <regmap.h>
index 5f3f5d26886d14f9ab0fb9767f8e1347708c50a6..c7630ccf55588ce9d5c41f429cceeb67e3e57b69 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (c) 2017 Theobroma Systems Design und Consulting GmbH
  */
 
-#include <common.h>
 #include <clk.h>
 #include <display.h>
 #include <dm.h>
index b62d80866745d21c034aea5b633ea496fec2c153..57e36eed6a999497c21223a019649c3749bccc9b 100644 (file)
@@ -4,7 +4,6 @@
  * Author: Eric Gao <eric.gao@rock-chips.com>
  */
 
-#include <common.h>
 #include <clk.h>
 #include <display.h>
 #include <dm.h>
index cb589c7537e697e90063edbb89bb0a1780c854ff..17e1601e81444e4cf971ccd3ecc603504790d2bb 100644 (file)
@@ -5,7 +5,6 @@
  * Copyright 2014 Rockchip Inc.
  */
 
-#include <common.h>
 #include <display.h>
 #include <dm.h>
 #include <log.h>
index 5f68a610e4accddf218bb1b038c311dd49b68bc7..eb881ba4b0efbdbe9cbfe4b135aacd7a67445334 100644 (file)
@@ -4,7 +4,6 @@
  * Copyright 2014 Rockchip Inc.
  */
 
-#include <common.h>
 #include <clk.h>
 #include <display.h>
 #include <dm.h>
index d31f6a4ff81b306d946cb58a253cc6893134baac..0ac0a3a1ecd0d0d7b780e4af5b13f8ec1a593379 100644 (file)
@@ -5,7 +5,6 @@
  * Copyright 2014 Rockchip Inc.
  */
 
-#include <common.h>
 #include <clk.h>
 #include <display.h>
 #include <dm.h>
index d0a015e31ee882af8c42bdf7dc1f5ea3b6adad83..c969dae30b6912b122a1a8ae0c2a4789c7015312 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright 2016 Rockchip Inc.
  */
 
-#include <common.h>
 #include <display.h>
 #include <dm.h>
 #include <edid.h>
index f14cbc6dbf7f9606e01720adbbec63963ebc8519..0a603083ba9a561501ab2d8f37e00ea98b734aa0 100644 (file)
@@ -4,7 +4,6 @@
  * Author: Eric Gao <eric.gao@rock-chips.com>
  */
 
-#include <common.h>
 #include <clk.h>
 #include <display.h>
 #include <dm.h>
index acc02e5d7c7813122a06bdf091e8f9d930f8a453..17dfe62c9dae72a0f45544a82718a8aeafb50f84 100644 (file)
@@ -4,7 +4,6 @@
  * Copyright 2014 Rockchip Inc.
  */
 
-#include <common.h>
 #include <clk.h>
 #include <display.h>
 #include <dm.h>
index c84a27ee3be6f973dec32e6e303a7202eae3200f..7025ac986e3ceb34f95264dcf7e40f9f3fa1a559 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2019, STMicroelectronics - All Rights Reserved
  */
 
-#include <common.h>
 #include <display.h>
 #include <dm.h>
 #include <dsi_host.h>
index 2a854d3958b7b6276e66112eb5ab0482a054ead4..bedc32b7c80e5ba220949f7a76ad3c5440b4ec24 100644 (file)
@@ -3,7 +3,6 @@
  * (C) Copyright 2018
  * Mario Six, Guntermann & Drunck GmbH, mario.six@gdsys.cc
  */
-#include <common.h>
 #include <display.h>
 #include <dm.h>
 #include <malloc.h>
index 9081c7da62e4b52f1e8009b9c54d338176192618..69dfa9302735b0f23bf3c4065516135ccb89d7f0 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (c) 2013 Google, Inc
  */
 
-#include <common.h>
 #include <dm.h>
 #include <fdtdec.h>
 #include <log.h>
index 74c8721e1e11d2a9997083b853515358b8cfd233..86cd301c4b91398b9f804ac86fdc86023b1e8a61 100644 (file)
@@ -6,7 +6,6 @@
  * Copyright (C) 2020 Xilinx Inc.
  */
 
-#include <common.h>
 #include <command.h>
 #include <cpu_func.h>
 #include <dm.h>
index 76a30427a59f2efa57230e54b0ce8a423aaa816f..b6c5b058b2e967bbbd47ab3c3ce5ca52c7804409 100644 (file)
@@ -4,7 +4,6 @@
  * Written by Simon Glass <sjg@chromium.org>
  */
 
-#include <common.h>
 #include <backlight.h>
 #include <dm.h>
 #include <edid.h>
index 33bb78bc3a3e44b8d3600c9046238200b99bfde3..cb518b149cb58b53a885882d475e20a2713878f3 100644 (file)
@@ -3,7 +3,6 @@
  * (C) Copyright 2017 Rob Clark
  */
 
-#include <common.h>
 #include <dm.h>
 #include <fdtdec.h>
 #include <fdt_support.h>
index 948f5e74d0fee1e1715fb454eaea6778460161b9..4334bbd72353da3a33ead8cdc62e7f7aef677e36 100644 (file)
@@ -9,7 +9,6 @@
  * interface for driving a MIPI compatible TFT display.
  */
 
-#include <common.h>
 #include <malloc.h>
 #include <mipi_display.h>
 #include <asm/gpio.h>
index a18c1e027a87088cb7326b8ca4e1d025355cdd96..438ed41e8d5f03ab54b70c191acc0882cd8721ea 100644 (file)
@@ -10,7 +10,6 @@
 
 #define LOG_CATEGORY UCLASS_VIDEO_BRIDGE
 
-#include <common.h>
 #include <clk.h>
 #include <dm.h>
 #include <dsi_host.h>
index 4f60ba8ebeeb49f72f14643c4a2c88daa3aeaee6..0a062c8939dbe49b11aa50f5ca9701bdbe5c5b0b 100644 (file)
@@ -7,7 +7,6 @@
 
 #define LOG_CATEGORY UCLASS_VIDEO
 
-#include <common.h>
 #include <clk.h>
 #include <display.h>
 #include <dm.h>
index 73033c3b858968ef242d3704bb6d8291f4dfd0e5..264d775c1256ae5da7e430337995bb8cfd63c547 100644 (file)
@@ -7,7 +7,6 @@
  * (C) Copyright 2017 Jernej Skrabec <jernej.skrabec@siol.net>
  */
 
-#include <common.h>
 #include <log.h>
 #include <linux/delay.h>
 
index e02d359cd25930341434a852e473d2fd3f3406fa..154641b9a699d0c57475a55789af8f791b92dc64 100644 (file)
@@ -5,7 +5,6 @@
  * (C) Copyright 2017 Jernej Skrabec <jernej.skrabec@siol.net>
  */
 
-#include <common.h>
 #include <display.h>
 #include <dm.h>
 #include <edid.h>
index 8da44a1bb6d8a0970f360e6d079174c67a23e617..4a6a89ef9d2640a8b44c10dc767b6db42c864794 100644 (file)
@@ -6,7 +6,7 @@
  * (C) Copyright 2014-2015 Hans de Goede <hdegoede@redhat.com>
  */
 
-#include <common.h>
+#include <config.h>
 #include <display.h>
 #include <dm.h>
 #include <cpu_func.h>
index a5e8d39e98f87c173279bc2a7cf531c3429da699..b9c03ea03864b6ba278e5e8a98d8cb8c8eac2e68 100644 (file)
@@ -6,7 +6,6 @@
  */
 
 #include <clk.h>
-#include <common.h>
 #include <display.h>
 #include <dm.h>
 #include <dw_hdmi.h>
index 7a01cc343cac3734a62aa5ca5f2d3a3e49865709..953233fcd6838c58aa69f020ea0d7ba9e19c6280 100644 (file)
@@ -5,7 +5,6 @@
  * (C) Copyright 2017 Vasily Khoruzhick <anarsoul@gmail.com>
  */
 
-#include <common.h>
 #include <display.h>
 #include <log.h>
 #include <video_bridge.h>
index 35251371d14f6c9244e65a2f6d71dc83953bf2a5..7bc2b3b29090ec5cc42718feba0d6d55a578906c 100644 (file)
@@ -7,7 +7,6 @@
  * (C) Copyright 2017 Jernej Skrabec <jernej.skrabec@siol.net>
  */
 
-#include <common.h>
 
 #include <asm/arch/tve.h>
 #include <asm/io.h>
index 2448743904547ced45697653c65d46350d8c281d..ebc8521c6edd811687006a69ad9240ee7dd4c5d0 100644 (file)
@@ -5,7 +5,6 @@
  * Based on the Linux driver, (C) 2012 Texas Instruments
  */
 
-#include <common.h>
 #include <dm.h>
 #include <display.h>
 #include <i2c.h>
index 273672db024af4b264c9d21bf18ccb7df035c4f2..d772958f46eddeacc2383e24d63bfb376e90abae 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2020 BayLibre, SAS
  * Author: Neil Armstrong <narmstrong@baylibre.com>
  */
-#include <common.h>
 #include <backlight.h>
 #include <dm.h>
 #include <mipi_dsi.h>
index 9261cc9384a2b628ae19dc5fafdeee2ba001cda1..abe31e27d84d5a6ad273de655870f91185a83f3c 100644 (file)
@@ -5,7 +5,6 @@
  * Extracted from Chromium coreboot commit 3f59b13d
  */
 
-#include <common.h>
 #include <bootstage.h>
 #include <dm.h>
 #include <edid.h>
@@ -14,6 +13,7 @@
 #include <edid.h>
 #include <log.h>
 #include <part.h>
+#include <time.h>
 #include <video.h>
 #include <asm/gpio.h>
 #include <asm/io.h>
index b27b1633bab56538358d2a93a199eb501efea494..763f7ee39fcdc00fb8d0c5bf35b9ecbb1c8f228b 100644 (file)
@@ -4,12 +4,12 @@
  * Copyright 2014 Google Inc.
  */
 
-#include <common.h>
 #include <display.h>
 #include <dm.h>
 #include <div64.h>
 #include <errno.h>
 #include <log.h>
+#include <time.h>
 #include <video_bridge.h>
 #include <asm/io.h>
 #include <asm/arch-tegra/dc.h>
index 258685182c7df75400fb422291431b39d246353d..1ce5330c6bcf8750c5a5adb3c92ccd8743d01b59 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (c) 2011-2013, NVIDIA Corporation.
  */
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <log.h>
index c3ebc4074b536165a2349bc39653681236a2b7d6..576262e405d60bc2fc98f6ca0fd927cb1eb6561c 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2013 NVIDIA Corporation
  */
 
-#include <common.h>
 #include <linux/err.h>
 
 #include "mipi-phy.h"
index 13dae37806f1fcc92b1194a2c35ffdbe05e8741e..35a8e6c176b3ad1e87642a9c29554d828a74f351 100644 (file)
@@ -4,7 +4,6 @@
  * Copyright (c) 2022 Svyatoslav Ryhel <clamor95@gmail.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <misc.h>
index 5f93f57fe9086bf2a55f9cf5a82727edcb01b2bd..79d8a021a3ac1a6c60ac744e0f10d0a0f839f1f0 100644 (file)
@@ -6,7 +6,6 @@
 #define LOG_CATEGORY UCLASS_PANEL_BACKLIGHT
 
 #include <backlight.h>
-#include <common.h>
 #include <dm.h>
 #include <i2c.h>
 #include <log.h>
index df95086a5151521f9c65d50fbf42a984921a743c..d40765230600b7df02c4d2ebaa1c1e199b15b0fd 100644 (file)
@@ -5,7 +5,6 @@
  * Copyright (C) 2020 Dario Binacchi <dariobin@libero.it>
  */
 
-#include <common.h>
 #include <backlight.h>
 #include <clk.h>
 #include <display.h>
index 2734754ecde7574b6f247c64aa88c3a84144321f..493e2f18cd2df18252d789f3f8d9c6c6a59475f8 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2020 Dario Binacchi <dariobin@libero.it>
  */
 
-#include <common.h>
 #include <clk.h>
 #include <dm.h>
 #include <dm/device_compat.h>
index 1380c6b69375b9ab225a02362e313e9c478067a2..865d4bddb7f917c6b2dbf72cbb76ddaacf3cd53a 100644 (file)
@@ -9,7 +9,6 @@
  * Author: Tomi Valkeinen <tomi.valkeinen@ti.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <clk.h>
 #include <log.h>
index 50912c5c8bcadaeb1cf0edc1bdc56c2b99ba1146..ab756ac8ea128b1c3ddf43f574df8fe5a9f2f6aa 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2016, Bin Meng <bmeng.cn@gmail.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <pci.h>
index 5d06e51ff236b2acc0d7d40fd12c2dc171bc2bd5..80e7adf6a1a4fd42ec00e56fd1254ece1382e42d 100644 (file)
@@ -9,7 +9,6 @@
 
 #define LOG_CATEGORY UCLASS_VIDEO_CONSOLE
 
-#include <common.h>
 #include <abuf.h>
 #include <charset.h>
 #include <command.h>
index 7b5d1dfbb3bdb2ea0d35137c73674c040b6b8fca..ff1382f4a43b76869956ca971f5c77fe9c3e871a 100644 (file)
@@ -5,7 +5,6 @@
 
 #define LOG_CATEGORY UCLASS_VIDEO
 
-#include <common.h>
 #include <bloblist.h>
 #include <console.h>
 #include <cpu_func.h>
index 45f003c8251ae01861ecb812f83cc94774d110bf..ad512d99a1b9133b4166fa63cf3b14751125e8f5 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (c) 2015 Google, Inc
  */
 
-#include <common.h>
 #include <bmp_layout.h>
 #include <dm.h>
 #include <log.h>
index 0d3aae4d82722d8d9fcd37dd7caaf459da41dc0b..923686345ff7d36eac54d5417258af63cf8e09af 100644 (file)
@@ -6,7 +6,6 @@
 
 #define LOG_CATEGORY UCLASS_VIDEO_OSD
 
-#include <common.h>
 #include <dm.h>
 #include <video_osd.h>
 
index 35955a5df7dd6de2ebfd6ef4029ea79c24f2d012..d86d86798415852ad58e0109c7d588759db748b7 100644 (file)
@@ -55,7 +55,6 @@
                      "myvideo" and setting the variable "videomode=myvideo"..
 ****************************************************************************/
 
-#include <common.h>
 #include <edid.h>
 #include <env.h>
 #include <errno.h>
index def4dcf6261a4ae36962459ca0faffe8c7c66421..1405b29cb8b904da628e73bd37bc5349269550f1 100644 (file)
@@ -6,7 +6,6 @@
  * Xilinx displayport(DP) Tx Subsytem driver
  */
 
-#include <common.h>
 #include <clk.h>
 #include <cpu_func.h>
 #include <dm.h>
index c5420162735212afe8099c2c5d548650b9d85dcc..1dbc1a56aa2159adb3ecccda640c018c07ff55f0 100644 (file)
@@ -17,7 +17,6 @@
 
 #define LOG_CATEGORY UCLASS_VIRTIO
 
-#include <common.h>
 #include <bootdev.h>
 #include <dm.h>
 #include <log.h>
index 95810582867c78185cac41831bca7309c3198f6e..3404f61eba5ffdb10f9ec64631c1c51e2eece2d5 100644 (file)
@@ -6,7 +6,6 @@
 
 #define LOG_CATEGORY UCLASS_VIRTIO
 
-#include <common.h>
 #include <blk.h>
 #include <dm.h>
 #include <part.h>
index 78c15c821b4edabb0a74c01b30f0537ce021648c..1cd737aca2499272bc5aa1cd80991885b62f60a4 100644 (file)
@@ -7,7 +7,6 @@
  * Ported from Linux drivers/virtio/virtio_mmio.c
  */
 
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <virtio_types.h>
index 1794f73a8de832289b8e75a902b4c589badbec24..0e5367a085e4e75b659118930d88bf6696b15936 100644 (file)
@@ -4,7 +4,6 @@
  * Copyright (C) 2018, Bin Meng <bmeng.cn@gmail.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <net.h>
 #include <virtio_types.h>
index aa89604ae84dc80884126f0cb0489d88cec12bc0..15f8c6e7d257dd9d07b1edfdb5b9da50b61697c8 100644 (file)
@@ -6,7 +6,6 @@
  * Ported from Linux drivers/virtio/virtio_pci*.c
  */
 
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <virtio_types.h>
index 3cdc2d2d6fd3046915378d101599f37f8bd0982d..5850e0c18c693941facbfc3a9b3ba90066a3c9e5 100644 (file)
@@ -6,7 +6,6 @@
  * Ported from Linux drivers/virtio/virtio_pci*.c
  */
 
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <virtio_types.h>
index c9adcce5c09ba18892fd8ec8291fcefa8b19041e..306fa5b3f6816cac82b52946644f9120dae09f5e 100644 (file)
@@ -7,7 +7,6 @@
  */
 
 #include <bouncebuf.h>
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <malloc.h>
index 786359a6e3641d76dd5dccf8f1d1bd8435d5e853..90a371a59cc73d33066d20e280fc42597ac9006c 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (c) 2019, Linaro Limited
  */
 
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <rng.h>
index b34f1d60455e554cb3b2ddf0b7fd0bd357c9b163..0f1ebef22e58692154881c4ff68fd6208d965fba 100644 (file)
@@ -5,7 +5,6 @@
  * VirtIO Sandbox transport driver, for testing purpose only
  */
 
-#include <common.h>
 #include <dm.h>
 #include <virtio_types.h>
 #include <virtio.h>
index 4be378b43d03540342cf1e0342b18ecac5abc7e5..413d8bc58814514178b53a29541a53562ad8bbbd 100644 (file)
@@ -7,7 +7,6 @@
  *
  */
 
-#include <common.h>
 #include <linux/err.h>
 #include <dm.h>
 #include <w1-eeprom.h>
index a67f5edd0febb010c4315a55eab9eb28fe5831fd..db9f41e972692ef6eccb700da5c93149046c8da0 100644 (file)
@@ -20,7 +20,6 @@
  * Martin Fuzzey <martin.fuzzey@flowbird.group>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <dm/device_compat.h>
 #include <linux/err.h>
index 27c7f9f1b6b85ce68dacd81476bad3d6927f0268..2a69ca27de793299d33dbd1a548b908465f64fd7 100644 (file)
@@ -4,7 +4,6 @@
  *
  */
 
-#include <common.h>
 #include <linux/err.h>
 #include <dm.h>
 #include <w1-eeprom.h>
index 70ba537243f81d48f6044b5a621988c265c6c6d4..3919aad3c8af8c96a54e9aa05c91906845b04fe5 100644 (file)
@@ -12,7 +12,6 @@
 
 #define LOG_CATEGORY UCLASS_W1_EEPROM
 
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <w1.h>
index b96c1a00bf243d124ccdbbe47ec56db7fd1e968c..9ebfc13c83aa57ed1e7041a8814f981b44e3e2c9 100644 (file)
@@ -17,7 +17,6 @@
  * Martin Fuzzey <martin.fuzzey@flowbird.group>
  */
 
-#include <common.h>
 #include <asm/arch/clock.h>
 #include <dm.h>
 #include <dm/device_compat.h>
index 9346f810ce119402f5e872e77dce3d7f59971e60..759f94e224e4e52f626b02cd49c3c56a4f0714e9 100644 (file)
@@ -7,7 +7,6 @@
  *
  */
 
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <w1.h>
index a4247ecd62330e01ee4bc5d0db68ca21831fc968..9637ed242573b78788f3ac34594a7b13bb350afd 100644 (file)
@@ -14,7 +14,6 @@
 
 #define LOG_CATEGORY UCLASS_W1
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <log.h>
index e09f5ac9e34ee3f60ba574f83e4cca4a2c1f4aee..4b51178e1b8c8e6cb92287ad9ac9c27f4c839271 100644 (file)
@@ -5,7 +5,6 @@
  * Marek Behún <kabel@kernel.org>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <wdt.h>
 #include <asm/global_data.h>
index bc9842089bea031d996ff68823a8f4e32b069688..190490f3692ba03e903701e2ed7812a097653e55 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (c) 2020 Aspeed Technology, Inc
  */
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <log.h>
index f7b5a1adc1085459cc57ba9f440866c1d26be7b4..e61e13fdc49d71153f3c423693493b98c07b4664 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright 2017 Google, Inc
  */
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <log.h>
index 647ae325e9aecf04d6d1ccaf8f3a141911d7baee..c809a8936b8968c3322db4c86bc0571fbdfe3ae2 100644 (file)
@@ -18,7 +18,6 @@
 #include <asm/global_data.h>
 #include <asm/io.h>
 #include <asm/arch/at91_wdt.h>
-#include <common.h>
 #include <div64.h>
 #include <dm.h>
 #include <errno.h>
index 677b1347ca7a093e308ead5aab34bcd17024d197..6ebe901c2b82d1e871bf0a220d52228bd58aa5bf 100644 (file)
@@ -7,7 +7,6 @@
  *     Copyright (C) 2008 Florian Fainelli <florian@openwrt.org>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <wdt.h>
index 743ab6487bcd115754a6bae9ca508ef43eaabab6..cb5a786c58914960c484a68556db0e82decb0d8f 100644 (file)
@@ -6,7 +6,6 @@
  * Author(s):  Shreenidhi Shedi <yesshedi@gmail.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <wdt.h>
index 7ab9d7b2db97dd2ed060af1b14a6c805e44a2cbc..9f09ac0e15ff4c97d2652ffca518ff0612038de8 100644 (file)
@@ -4,7 +4,6 @@
  *
  */
 
-#include <common.h>
 #include <dm.h>
 #include <hang.h>
 #include <asm/io.h>
index b22e0ee06a4e5cf4386a4fc91feaf0a756963273..bd9d7105366ba67cd136adc961c0e319a15b1567 100644 (file)
@@ -4,7 +4,6 @@
  */
 
 #include <clk.h>
-#include <common.h>
 #include <dm.h>
 #include <reset.h>
 #include <wdt.h>
index 1f5f301b125148236bf615368e4365581605914b..4769b967e52735238bddcb449eaec8957c6e1edb 100644 (file)
@@ -14,7 +14,6 @@
  * 22/08/2022 Port to DM
  */
 
-#include <common.h>
 #include <dm.h>
 #include <wdt.h>
 #include <log.h>
index 894158b304a73625652926efeefacfc2412be3c0..ea770217e5907c42536137dec4795fceed5665df 100644 (file)
@@ -4,7 +4,6 @@
  * Licensed under the GPL-2 or later.
  */
 
-#include <common.h>
 #include <cpu_func.h>
 #include <dm.h>
 #include <hang.h>
index b36488bb5b96f8782d739e67eb2dc14c19fdaf60..5092a256af0ca00fed17e48f482b6c05b1b1034e 100644 (file)
@@ -6,7 +6,7 @@
  *
  */
 
-#include <common.h>
+#include <config.h>
 #include <dm.h>
 #include <hang.h>
 #include <asm/io.h>
index f28636ca901550b76ea0df48e39c90b4e72dff42..036ff690d3fd49e5d5d48d70bb839877db47969b 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright 2017 CS Systemes d'Information
  */
 
-#include <common.h>
 #include <env.h>
 #include <dm.h>
 #include <wdt.h>
index f7d201b921a11a5c1c0fe6b402d01b10b1ac63f9..6308d9632a8115f83daf765ca860133c2fd340fa 100644 (file)
@@ -9,7 +9,6 @@
  *   Copyright (C) 2013 John Crispin <blogic@openwrt.org>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <wdt.h>
 #include <asm/global_data.h>
index 368b36849c8d688d87b641d4d9d6c6cceb36aaaa..706deb9da84626d8935a30d9cf6831289804d99d 100644 (file)
@@ -6,7 +6,6 @@
  * Author: Ryder Lee <ryder.lee@mediatek.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <hang.h>
 #include <wdt.h>
index f0e57b4f7286bedf811c87cbb340232a69aed474..5fd02ddf564f55cb247042721bc7f60dc790ff49 100644 (file)
@@ -36,7 +36,6 @@
  *     Use the driver model and standard identifiers; handle bigger timeouts.
  */
 
-#include <common.h>
 #include <log.h>
 #include <watchdog.h>
 #include <asm/ti-common/omap_wdt.h>
index 127766df58af33dcd1e4ad2ffd6f3b5347e175bb..4562b2a37e3478da2f5b117f52a89051491653ff 100644 (file)
@@ -12,7 +12,6 @@
  * warranty of any kind, whether express or implied.
  */
 
-#include <common.h>
 #include <dm.h>
 #include <clk.h>
 #include <log.h>
index 8d93f19b984accce5b3b1a21160942a8addde50b..99168d0cad03983e8c3b35b52b33bb11289cdb4d 100644 (file)
@@ -8,7 +8,6 @@
  * Derived from linux/drivers/watchdog/rti_wdt.c
  */
 
-#include <common.h>
 #include <clk.h>
 #include <dm.h>
 #include <dm/device_compat.h>
index 80524a00101b9167be3af6005b92181db83b5807..c244f15a8952ec0c6ac19d043ee17ef0dc8974ec 100644 (file)
@@ -4,7 +4,6 @@
  * Minkyu Kang <mk7.kang@samsung.com>
  */
 
-#include <common.h>
 #include <asm/io.h>
 #include <asm/arch/cpu.h>
 #include <asm/arch/watchdog.h>
index 71bb5d924ea59b8f63b3a61bd696b6920bb00e29..8dbbfc249e7c31b2e077e58eef9ed5eca4568cb4 100644 (file)
@@ -1,4 +1,3 @@
-#include <common.h>
 #include <dm.h>
 #include <os.h>
 #include <wdt.h>
index 535614f04d63c938901169d934c2a9ff2dfe08bb..cd5eadbfd2132d2e93a3d2ccb1fcdb415f660775 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright 2017 Google, Inc
  */
 
-#include <common.h>
 #include <dm.h>
 #include <wdt.h>
 #include <asm/state.h>
index 96d04665d52c1c0731c09f309d28cd5810bc6e89..03585529bb636a763fcbd536646bbd453735d1bc 100644 (file)
@@ -7,7 +7,6 @@
 
 #include <asm/global_data.h>
 #include <asm/io.h>
-#include <common.h>
 #include <dm/device.h>
 #include <dm/fdtaddr.h>
 #include <dm/read.h>
index af5a6b1a28aca4c502cfde85b32cbed533886175..c5b4f8a9f665aefe5023773eb56987be7cbd9230 100644 (file)
@@ -5,7 +5,6 @@
  * Copyright (c) 2021 Michael Walle <michael@walle.cc>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <wdt.h>
 #include <sl28cpld.h>
index 6d58fd3cfdab8a3e215d6c60967836da590029e1..10fe3e28232313a35eb357a1dfcb37a65f73657f 100644 (file)
@@ -8,7 +8,6 @@
 #include <log.h>
 #include <asm/global_data.h>
 #include <asm/io.h>
-#include <common.h>
 #include <clk.h>
 #include <dm/device.h>
 #include <dm/fdtaddr.h>
index 7ebcd2552668e73222b9c060caed5ec8b4718742..97ab8cfe7ab133737c7318bc2d4a39c4e68e4713 100644 (file)
@@ -5,7 +5,6 @@
 
 #define LOG_CATEGORY UCLASS_WDT
 
-#include <common.h>
 #include <clk.h>
 #include <dm.h>
 #include <log.h>
index bdc65597dcff4aa4e46355494b638f1cf1fab277..8fbfac31b1e1d3dab4f6c3206e6fc4dd62f59b78 100644 (file)
@@ -2,7 +2,6 @@
 /*
  * Copyright (c) 2017 Intel Corporation
  */
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <wdt.h>
index 0eea04ed2c6ed7ac0aef6a16b5863b84c5ce86c5..83f19dc0e86b332b43b47bd39efaedbd0f05fe24 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2016 Freescale Semiconductor, Inc.
  */
 
-#include <common.h>
 #include <cpu_func.h>
 #include <asm/io.h>
 #include <asm/arch/imx-regs.h>
index 417e8d7eef95196db9e5218188f29b16c313a6dc..c88312ec721887f464120e5b69bd6d25f29cd266 100644 (file)
@@ -5,7 +5,6 @@
 
 #define LOG_CATEGORY UCLASS_WDT
 
-#include <common.h>
 #include <cyclic.h>
 #include <div64.h>
 #include <dm.h>
index b38c400016118630d4821a868c156a604d275858..8a8e55370a0e4725f57f1a272cb211f34dc1f74e 100644 (file)
@@ -8,7 +8,6 @@
  * Copyright (c) 2011-2018 Xilinx Inc.
  */
 
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <wdt.h>
index 963ab22fb452898507f2e13a3ba19847461983fa..41eff1a464505609bda2f7344ff4abd18bd5a653 100644 (file)
@@ -9,7 +9,6 @@
  */
 
 #include <clk.h>
-#include <common.h>
 #include <dm.h>
 #include <regmap.h>
 #include <wdt.h>
index 2ebe20dbf26e6886de768f5ec029d8db9b1a3d74..fa8b13d2c61d6992aa9cc5efb2a71d75806c7e95 100644 (file)
@@ -14,7 +14,6 @@
  *
  * [1] - http://xenbits.xen.org/gitweb/?p=mini-os.git;a=summary
  */
-#include <common.h>
 #include <log.h>
 
 #include <asm/io.h>
index 31e96e2939c079c15e0641fc09ca184625e4d995..005694a5c626b902cbad71a73f8c6afd11b6333d 100644 (file)
@@ -14,7 +14,6 @@
  *
  * [1] - http://xenbits.xen.org/gitweb/?p=mini-os.git;a=summary
  */
-#include <common.h>
 #include <asm/global_data.h>
 #include <linux/compiler.h>
 #include <log.h>
index 0b2311ba26756385e008a76d982534846cab212d..d28df823c684004bf3ee3d6ba0552a59357357bb 100644 (file)
@@ -8,7 +8,6 @@
  * Copyright (c) 2005, Grzegorz Milos, gm281@cam.ac.uk,Intel Research Cambridge
  * Copyright (c) 2020, EPAM Systems Inc.
  */
-#include <common.h>
 #include <cpu_func.h>
 #include <log.h>
 #include <memalign.h>
index 9fc51d203e5e3650ab216f36ac2593c6059a9559..0e47ffb46a82be0584356d686d3703e65638f0f8 100644 (file)
@@ -7,7 +7,6 @@
 #define LOG_CATEGORY UCLASS_PVBLOCK
 
 #include <blk.h>
-#include <common.h>
 #include <dm.h>
 #include <dm/device-internal.h>
 #include <malloc.h>
index 177d144723c1c7d4cfede3d2b5785ac1b58aa4d5..36de5255099781e5c45e8afafcb5e71f30dd2a7c 100644 (file)
@@ -15,7 +15,6 @@
  * [1] - http://xenbits.xen.org/gitweb/?p=mini-os.git;a=summary
  */
 
-#include <common.h>
 #include <log.h>
 
 #include <asm/armv8/mmu.h>
index 1f8e90af55e537577faf129fad000c654794120c..9641abe371a0087ed8e3f5e2d12c8ad8e535c055 100644 (file)
@@ -312,7 +312,7 @@ config ENV_IS_IN_NVRAM
 
 config ENV_IS_IN_ONENAND
        bool "Environment is in OneNAND"
-       depends on !CHAIN_OF_TRUST
+       depends on !CHAIN_OF_TRUST && CMD_ONENAND
        help
          Define this if you want to put your local device's environment in
          OneNAND.
index a958c714828315ad069b831a84992d152abe1a9f..fed5b212e2f93e5e6a55b034804b1aba42576f66 100644 (file)
@@ -4,13 +4,13 @@
  * Joe Hershberger, National Instruments, joe.hershberger@ni.com
  */
 
+#include <stdio.h>
 #ifdef USE_HOSTCC /* Eliminate "ANSI does not permit..." warnings */
 #include <stdint.h>
-#include <stdio.h>
 #include <linux/linux_string.h>
 #else
-#include <common.h>
 #include <slre.h>
+#include <vsprintf.h>
 #endif
 
 #include <env_attr.h>
index 98ddba035ea74cf47ab68c31d02c366fb6418784..b7cbccd1175f7df8f2da78dc2186d1a5a7e88aa3 100644 (file)
@@ -4,7 +4,6 @@
  * Joe Hershberger, National Instruments, joe.hershberger@ni.com
  */
 
-#include <common.h>
 #include <env.h>
 #include <env_internal.h>
 #include <asm/global_data.h>
index 48a565107c1107d62ebe69e3242bc4e4c40a7587..d8c276dddfd9e2d0ae88d63ee7ec20d5ae406212 100644 (file)
@@ -7,7 +7,6 @@
  * Andreas Heppel <aheppel@sysgo.de>
  */
 
-#include <common.h>
 #include <bootstage.h>
 #include <command.h>
 #include <env.h>
index 7ce7e9972b294c4a866fc020f21bfceb1ff22ae3..b290b1013e1c71906772446c9981c76443238e81 100644 (file)
@@ -7,7 +7,6 @@
  * Andreas Heppel <aheppel@sysgo.de>
  */
 
-#include <common.h>
 #include <command.h>
 #include <eeprom.h>
 #include <env.h>
index bae3f6482aea6a9abf41591d939ee2989c79a234..bcc189e14db71bf178951205410b060ae9ff5da6 100644 (file)
--- a/env/env.c
+++ b/env/env.c
@@ -4,13 +4,13 @@
  * Written by Simon Glass <sjg@chromium.org>
  */
 
-#include <common.h>
 #include <env.h>
 #include <env_internal.h>
 #include <log.h>
 #include <asm/global_data.h>
 #include <linux/bitops.h>
 #include <linux/bug.h>
+#include <linux/errno.h>
 
 DECLARE_GLOBAL_DATA_PTR;
 
index f21939186f015cd8e38c713343b75664d8effd93..d92c844ea6c0d2b66387f15a72aab3a601f7a1d1 100644 (file)
@@ -18,7 +18,6 @@
  * Manjunatha C Achar <a.manjunatha@samsung.com>
  */
 
-#include <common.h>
 #include <part.h>
 
 #include <command.h>
index d87a47b10013370ab94603c2e600fbf15e6fc650..f3f8b7301eef6e494ba4bdcd5558f681cfe086e6 100644 (file)
--- a/env/fat.c
+++ b/env/fat.c
@@ -6,7 +6,6 @@
  *  Maximilian Schwerin <mvs@tigris.de>
  */
 
-#include <common.h>
 #include <command.h>
 #include <env.h>
 #include <env_internal.h>
index e2866361dfe4f22b009a77b06f43fd2be9433dc0..233fd460d84215224e1934e5c34085a4b50a58d8 100644 (file)
@@ -8,9 +8,9 @@
 #include <linux/string.h>
 #include <linux/ctype.h>
 
+#include <stdio.h>
 #ifdef USE_HOSTCC /* Eliminate "ANSI does not permit..." warnings */
 #include <stdint.h>
-#include <stdio.h>
 #include "fw_env_private.h"
 #include "fw_env.h"
 #include <env_attr.h>
@@ -18,7 +18,7 @@
 #define env_get fw_getenv
 #define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0]))
 #else
-#include <common.h>
+#include <linux/kernel.h>
 #include <env_internal.h>
 #endif
 
index 1e75f8c004ee79d0bbac218c0a6284f0a6b89c85..1bd6e7003d6ec86fd21e79e78a7a6143ba35f226 100644 (file)
@@ -9,7 +9,6 @@
 
 /* #define DEBUG */
 
-#include <common.h>
 #include <command.h>
 #include <env.h>
 #include <env_internal.h>
index 7afb733e890f953b858f763d5ee84665e36a7675..776df0786be55b43d917b7c69a91934a32e6daf5 100644 (file)
--- a/env/mmc.c
+++ b/env/mmc.c
@@ -5,7 +5,6 @@
 
 /* #define DEBUG */
 
-#include <common.h>
 #include <asm/global_data.h>
 
 #include <command.h>
index df300b13179312babc6ee3c47e2cba1d165c30fb..fef5697ec39d13b3dad263c7b03bde2302d477d3 100644 (file)
@@ -13,7 +13,6 @@
  * Andreas Heppel <aheppel@sysgo.de>
  */
 
-#include <common.h>
 #include <command.h>
 #include <env.h>
 #include <env_internal.h>
index 9ebc357dbd785e7b9390e315f0d21319a7b0d92d..326f27db2e9c5ddb64de637cbfb00ef1771942c5 100644 (file)
@@ -7,7 +7,6 @@
  * Andreas Heppel <aheppel@sysgo.de>
  */
 
-#include <common.h>
 #include <command.h>
 #include <env.h>
 #include <env_internal.h>
index 229c34f5367c636cb295526e1e5069f9c2746868..d49cd0f337a05d5700f20e6de54971f29f799683 100644 (file)
@@ -7,7 +7,6 @@
  * Andreas Heppel <aheppel@sysgo.de>
  */
 
-#include <common.h>
 #include <command.h>
 #include <env.h>
 #include <env_internal.h>
index 1faa2cb62a34ac99d2dd4ca048e5e2083b879d20..8c349ef5ce6cc0d92425bf97628c52c4962e0dc7 100644 (file)
@@ -7,7 +7,6 @@
  * Kyungmin Park <kyungmin.park@samsung.com>
  */
 
-#include <common.h>
 #include <command.h>
 #include <env_internal.h>
 #include <asm/global_data.h>
index 166bebf52b5b577c7b8f2310b610e886199b4557..0cc383c23602e3fdf353a47c77bf1ee752988da6 100644 (file)
@@ -5,10 +5,10 @@
 
 /* #define DEBUG */
 
-#include <common.h>
 #include <command.h>
 #include <env_internal.h>
 #include <asm/global_data.h>
+#include <linux/errno.h>
 #include <linux/stddef.h>
 #include <u-boot/crc.h>
 
index 8f5c03b00d338108b18454e8cbf82dcbc509a0cf..c747e175e31bd908b996060d72db14214ac370ac 100644 (file)
--- a/env/sf.c
+++ b/env/sf.c
@@ -8,7 +8,6 @@
  *
  * (C) Copyright 2008 Atmel Corporation
  */
-#include <common.h>
 #include <dm.h>
 #include <env.h>
 #include <env_internal.h>
index 445d34fedb893e9b447cb5c23b01567e599ee827..0c3e93c2bf2d6397c1a7fac4c7672c4f2b548c2d 100644 (file)
--- a/env/ubi.c
+++ b/env/ubi.c
@@ -4,7 +4,6 @@
  *        Joe Hershberger <joe.hershberger@ni.com>
  */
 
-#include <common.h>
 #include <asm/global_data.h>
 
 #include <command.h>
index d586174ce8c92a820f45f6153e9dcc0b879e93bf..677d13b307a13e7701632abcbb5f0f926528b410 100644 (file)
@@ -5,7 +5,7 @@
  * Written by: Rafal Jaworowski <raj@semihalf.com>
  */
 
-#include <common.h>
+#include <stdio.h>
 #include <env.h>
 #include <linux/types.h>
 #include <api_public.h>
index 075d307ae2611090fa4d0cb5ae71c019db4b5f55..08c21a8cb9c1da23eafeb02d93953a532e84ed00 100644 (file)
@@ -3,7 +3,6 @@
  * (C) Copyright 2007-2008 Semihalf, Rafal Jaworowski <raj@semihalf.com>
  */
 
-#include <common.h>
 #include <env.h>
 #include <linux/types.h>
 #include <api_public.h>
index 3aa222866ff50bbf5f6f37866348e282b30659af..bfd88e100d6ed7d5029dfa42028a5f3e4b3f1938 100644 (file)
@@ -9,7 +9,6 @@
  * existing code e.g. operations on strings and similar.
  */
 
-#include <common.h>
 #include <command.h>
 #include <hang.h>
 #include <linux/delay.h>
index dcb25da94986dfb501b53d0c018658293276356d..ed0d7aeaadca98709c82d9d1cfc3f62b3caba593 100644 (file)
@@ -6,7 +6,6 @@
  * Licensed under the 2-clause BSD.
  */
 
-#include <common.h>
 #include <exports.h>
 #include <spi.h>
 #include <linux/delay.h>
index 1c529607132291effc308c24a55061c409181194..d507163f6f3447369e2428728c61c7797ce1a09c 100644 (file)
@@ -1,6 +1,5 @@
 // SPDX-License-Identifier: GPL-2.0+
 
-#include <common.h>
 #include <exports.h>
 
 /*
index 65115570e8eb537892a6e4dfe375b03325f42ad1..04e8acb8abe9e8554f4bac5b0b4a0538f0751845 100644 (file)
@@ -1,4 +1,3 @@
-#include <common.h>
 #include <exports.h>
 #include <linux/compiler.h>
 
index cb3b9713a5f4d1b7c209e7b75d740f7296ac1daa..e27a032c9f69252d0fbafa551e252641e9d474dc 100644 (file)
@@ -5,7 +5,6 @@
  * 2017 Marek Behún, CZ.NIC, kabel@kernel.org
  */
 
-#include <common.h>
 #include <blk.h>
 #include <compiler.h>
 #include <fs_internal.h>
index 7eaa7e949604f2b3f0e8c4a750f70974095b1e0f..e5bfaf461c2bcb6075f7dd9b43a3ba2f0e045462 100644 (file)
@@ -1,5 +1,4 @@
 // SPDX-License-Identifier: GPL-2.0+
-#include <common.h>
 #include <fs_internal.h>
 #include <log.h>
 #include <uuid.h>
index 7d4095d9ca88d9933dd61a216bd91e875956f0d1..8ec545eded7b275b7d2252f30d2daa7971b58faf 100644 (file)
@@ -1,6 +1,6 @@
 // SPDX-License-Identifier: GPL-2.0+
 #include <stdlib.h>
-#include <common.h>
+#include <errno.h>
 #include <fs_internal.h>
 #include "ctree.h"
 #include "disk-io.h"
index 714f4baafc9e89434991ec2aec8dbfb0cbd67dd5..ad5583233bb1163a60bfaa7bc6f7c1e11fdc8038 100644 (file)
@@ -3,10 +3,10 @@
  * Copyright (c) 2011 The Chromium OS Authors. All rights reserved.
  */
 
-#include <common.h>
 #include <cbfs.h>
 #include <log.h>
 #include <malloc.h>
+#include <linux/errno.h>
 #include <asm/byteorder.h>
 
 /* Offset of master header from the start of a coreboot ROM */
index abb2de34eb05d4c2218d34002bbc6394a9aade86..22148ff8fe2736882b48db236e970da7fafca76b 100644 (file)
@@ -24,7 +24,7 @@
  * The actual compression is based on zlib, see the other files.
  */
 
-#include <common.h>
+#include <stdio.h>
 #include <malloc.h>
 #include <asm/byteorder.h>
 #include <linux/stat.h>
index 0d071b69f4cc560d439dec76807a7286b1b24698..2141edf22e4ad3f22e685449c26258bd63941226 100644 (file)
@@ -20,7 +20,7 @@
  * then is used by multiple filesystems.
  */
 
-#include <common.h>
+#include <stdio.h>
 #include <cyclic.h>
 #include <malloc.h>
 #include <watchdog.h>
index 168443de1ff7b36b68287048bb555f5355c2af0d..3fd8980b1d69b21afd89b1ac325afe0b8f5fd553 100644 (file)
@@ -22,7 +22,6 @@
  *             fs/ext2/dev.c file in uboot.
  */
 
-#include <common.h>
 #include <blk.h>
 #include <config.h>
 #include <fs_internal.h>
index 2ff0dca2495e2b13192ad3ccf25978d3af1fdea7..857c15d878e4b414607082bd7767c3aa32a8277d 100644 (file)
@@ -18,7 +18,6 @@
  * ext4write : Based on generic ext4 protocol.
  */
 
-#include <common.h>
 #include <blk.h>
 #include <ext_common.h>
 #include <ext4fs.h>
index e80f797c8dc97a5600b4d3a040730bd664d8860a..02c4ac2cb931b866d690461da1dcbb6054b143f4 100644 (file)
@@ -13,7 +13,6 @@
  * Copyright 1998-2000 Red Hat, Inc --- All Rights Reserved
  */
 
-#include <common.h>
 #include <blk.h>
 #include <ext4fs.h>
 #include <log.h>
index d057f6b5a794c01eb0d93d12cbfd79ecf05d8264..38da3923c477cf2c9811e874c795bf0c89532117 100644 (file)
@@ -21,7 +21,6 @@
  */
 
 
-#include <common.h>
 #include <blk.h>
 #include <log.h>
 #include <malloc.h>
index 33e200ffa3c5e1c7c5bc50aaeff1b8ec6a326d29..da59cb008fce46486384986430906113f7d500e5 100644 (file)
@@ -20,7 +20,6 @@
  * ext4write : Based on generic ext4 protocol.
  */
 
-#include <common.h>
 #include <blk.h>
 #include <ext_common.h>
 #include <ext4fs.h>
index 2dd9d4e72dcc679587ec6270855b068a06dc9174..e2570e81676875d54911ceec27a8d1bedc1c32d5 100644 (file)
@@ -10,7 +10,6 @@
 
 #define LOG_CATEGORY   LOGC_FS
 
-#include <common.h>
 #include <blk.h>
 #include <config.h>
 #include <exports.h>
index c8e0fbf1a3b3d0b8e5458d10c5b2aa7af0a60681..ea877ee9171bde4e6cbef505678ba5afe4c36435 100644 (file)
@@ -7,7 +7,6 @@
 
 #define LOG_CATEGORY LOGC_FS
 
-#include <common.h>
 #include <command.h>
 #include <config.h>
 #include <div64.h>
diff --git a/fs/fs.c b/fs/fs.c
index acf465bdd807fc079d7363c6d9f8936ef4c606a3..bed1f7242f417fa6c8c6d7613d847f7fed00c66e 100644 (file)
--- a/fs/fs.c
+++ b/fs/fs.c
@@ -9,7 +9,6 @@
 #include <config.h>
 #include <display_options.h>
 #include <errno.h>
-#include <common.h>
 #include <env.h>
 #include <lmb.h>
 #include <log.h>
@@ -21,6 +20,7 @@
 #include <fs.h>
 #include <sandboxfs.h>
 #include <semihostingfs.h>
+#include <time.h>
 #include <ubifs_uboot.h>
 #include <btrfs.h>
 #include <asm/global_data.h>
index 111f91b355d1ff974d0953944464fc07c48bbe62..51c1719361b1f96e8d83a5da7a19d46dc2d466b9 100644 (file)
@@ -7,7 +7,6 @@
 
 #define LOG_CATEGORY LOGC_CORE
 
-#include <common.h>
 #include <blk.h>
 #include <compiler.h>
 #include <log.h>
index d306b6dc4cfe8961c8d8f228087e04b2333904f5..e1e3c15e75e1d229bb4fd944ab3358c229f7f842 100644 (file)
@@ -35,8 +35,6 @@
  *
  */
 
-#include <common.h>
-#include <config.h>
 #include <jffs2/jffs2.h>
 #include <jffs2/mini_inflate.h>
 
index 49ba82ef959690597dc31160eca02b0a4cd0d1af..5b7d7f4ae881cee34d97e000b8af651446e2bd0b 100644 (file)
  */
 
 
-#include <common.h>
 #include <config.h>
 #include <malloc.h>
 #include <div64.h>
index fca77aa651149fc80da4cd2405308f3f633134c6..495937d792db0b28db4b084e8e04592e34324a4d 100644 (file)
@@ -7,7 +7,6 @@
  * http://www.chiark.greenend.org.uk/~sgtatham/algorithms/listsort.html
  */
 
-#include <common.h>
 #include "jffs2_private.h"
 
 int sort_list(struct b_list *list)
index 3ef53627608af1f2429e86ee03eb16264d20d397..3f74972a9f81a88ecc7efcf208ef2134840ce46f 100644 (file)
@@ -6,7 +6,6 @@
  * Written by Simon Glass <sjg@chromium.org>
  */
 
-#include <common.h>
 #include <bootdev.h>
 #include <bootflow.h>
 #include <bootmeth.h>
index 4ae41d5b4db19b0bdf61ec42698a2eb0af503522..773b583fa43eebbd730c6e3f1cf92ec010f7b162 100644 (file)
@@ -3,7 +3,7 @@
  * Copyright (c) 2012, Google Inc.
  */
 
-#include <common.h>
+#include <stdio.h>
 #include <fs.h>
 #include <malloc.h>
 #include <os.h>
index 3592338a6865ec06d64a000b89207c53a7e71dfd..77e39ca407e4d240a1fd573497c5b6b908816454 100644 (file)
@@ -4,7 +4,7 @@
  * Copyright (c) 2012, Google Inc.
  */
 
-#include <common.h>
+#include <stdio.h>
 #include <fs.h>
 #include <malloc.h>
 #include <os.h>
index 3e7160352e6cccf24860773bf22afed4fbd88040..788f88f0495278d36ac112397a70cf6c0d721a2c 100644 (file)
@@ -29,7 +29,6 @@
 #include <linux/writeback.h>
 #else
 
-#include <common.h>
 #include <malloc.h>
 #include <memalign.h>
 #include <linux/bitops.h>
index a509584e5d714634a4df10ad71e0affd36ca1d26..75de01e95f7cb8b4cdb813b31124e3f401c11e96 100644 (file)
@@ -11,7 +11,6 @@
  *          Adrian Hunter
  */
 
-#include <common.h>
 #include <env.h>
 #include <gzip.h>
 #include <log.h>
index 50fed2d4b150f0db6ab65bc788d3d50782b27e60..0eec22bc4a543d3facd2cb7cf9060c00f28613c0 100644 (file)
@@ -12,7 +12,6 @@
  */
 
 /* XXX U-BOOT XXX */
-#include <common.h>
 
 #include "yportenv.h"
 
index 81a4d964f3e92777ebba6fb2f9213ec74e51f34f..2bf171f99f132345cc1a29bee73370e8721638a8 100644 (file)
@@ -14,7 +14,6 @@
 /* mtd interface for YAFFS2 */
 
 /* XXX U-BOOT XXX */
-#include <common.h>
 #include <linux/bug.h>
 #include <linux/errno.h>
 
index 0a920561149a45ee0c8a8630ee424beea2a18a3c..deddbaac51eba4d46d1a251ae13a24914ce8113b 100644 (file)
@@ -19,7 +19,6 @@
  * This version now uses the ydevconfig mechanism to set up partitions.
  */
 
-#include <common.h>
 #include <div64.h>
 #include <malloc.h>
 #include <linux/printk.h>
index fcd9893b3ac2fb8798eff06c7d316b3496d9eb70..722c6a86176c3618e0e310bda6f5a3f5adb47228 100644 (file)
@@ -8,7 +8,6 @@
  */
 
 
-#include <common.h>
 #include <config.h>
 #include <fs_internal.h>
 #include <zfs_common.h>
index 113b428a93819ef5d2edc73cb8d17cc064430789..9906d553fa61df9aad7056f870d8546a0ccfbfb8 100644 (file)
@@ -10,7 +10,6 @@
  *     Copyright 2004  Sun Microsystems, Inc.
  */
 
-#include <common.h>
 #include <log.h>
 #include <malloc.h>
 #include <linux/stat.h>
index 008a303ec7962a323ecfe66b4d17cff31d508935..b06c335626a466efe66981161dcc5912310579a4 100644 (file)
@@ -8,7 +8,6 @@
  * Use is subject to license terms.
  */
 
-#include <common.h>
 #include <malloc.h>
 #include <linux/stat.h>
 #include <linux/time.h>
index b42d4980129f86ada0fca1274416123ce2972bfe..e79c5b4278fd285a6f85d497e874fb8205f55a15 100644 (file)
@@ -8,7 +8,6 @@
  * Use is subject to license terms.
  */
 
-#include <common.h>
 #include <malloc.h>
 #include <linux/stat.h>
 #include <linux/time.h>
index cb5b1c06834d0f3c33712a54eb32c80a3ced8a62..602d75254ff962a7d84bdf0e09ef25187c72b5a8 100644 (file)
@@ -8,7 +8,6 @@
  * Use is subject to license terms.
  */
 
-#include <common.h>
 #include <malloc.h>
 #include <linux/stat.h>
 #include <linux/time.h>
index d3f271f948ea8f01141974f96ea661b1b5db160c..f7bea94185523c3249bd516686f14fbba47fabe1 100644 (file)
@@ -37,6 +37,9 @@
 
 #ifndef __ASSEMBLY__
 
+#include <linux/errno.h>
+#include <linux/types.h>
+
 extern char __wakeup[];
 extern int __wakeup_size;
 
index 0d1a666908f28fa83f25bc4412ce6144b4a9a72d..15e4cdb7dce761d6151c83fd1259077e6c201f27 100644 (file)
@@ -7,6 +7,8 @@
 #ifndef _ADC_H_
 #define _ADC_H_
 
+#include <stdbool.h>
+
 /* ADC_CHANNEL() - ADC channel bit mask, to select only required channels */
 #define ADC_CHANNEL(x)         (1 << x)
 
index 1fee7582b90adc91e4b39b9b3720806d1cc277db..dbf20343da62447a237ec845e216517d34455ad3 100644 (file)
@@ -6,6 +6,8 @@
 #ifndef __ANDROID_AB_H
 #define __ANDROID_AB_H
 
+#include <stdbool.h>
+
 struct blk_desc;
 struct disk_partition;
 
index 5a4465ea893d97aadafca12cf05f6a4cfe4800f8..e89572c00a4b02607110a41fc6766c4802680291 100644 (file)
@@ -8,6 +8,8 @@
 #ifndef _API_PUBLIC_H_
 #define _API_PUBLIC_H_
 
+#include <linux/types.h>
+
 #define API_EINVAL             1       /* invalid argument(s)  */
 #define API_ENODEV             2       /* no device            */
 #define API_ENOMEM             3       /* no memory            */
index d69892fac6cbc142c4830a45c55e69ff5a5ff2be..5ae4509025232ffda704ab05161df80c18b3843a 100644 (file)
@@ -74,6 +74,8 @@
 
 #ifndef __ASSEMBLY__
 
+#include <linux/types.h>
+
 /*******************************************************************************
  * Structure used for telling the next BL how much of a particular type of
  * memory is available for its use and how much is already used.
index a81a315157651d5413f83ad6e5a9399d64271f47..a87b76c6f9ed6ca73cb8b42c2b54b5e12135f367 100644 (file)
@@ -7,6 +7,8 @@
 #ifndef __AUDIO_CODEC_H__
 #define __AUDIO_CODEC_H__
 
+#include <linux/types.h>
+
 struct udevice;
 
 /*
index eb204995d079b7b893df1bb21f880426bbb5eb6b..c68bd79f8dca9e9b890358e578f5c2131ed324df 100644 (file)
@@ -12,6 +12,7 @@
 #define __AUTOBOOT_H
 
 #include <stdbool.h>
+#include <stddef.h>
 
 #ifdef CONFIG_SANDBOX
 
index 59fb0b2e4584c24816f21f464cea4d14cde0071f..133a06ee27198ec1897fe832796751d25a88ff95 100644 (file)
@@ -7,6 +7,8 @@
 #ifndef _AXI_H_
 #define _AXI_H_
 
+#include <linux/types.h>
+
 struct udevice;
 
 /**
index a5c9498dc9fba6b3e167321b77f50c8b60009e72..eabbd25a3309c3da67277bce70770b64358b4460 100644 (file)
@@ -10,6 +10,8 @@
 #ifndef _BMP_H_
 #define _BMP_H_
 
+#include <linux/compiler.h>
+
 struct __packed bmp_color_table_entry {
        __u8    blue;
        __u8    green;
index 0fc36104ece0ebcbe899a93e8df7ac1f2cd921a7..cd9517321c0a9ea2e1b5bf82d806c1552378d47a 100644 (file)
@@ -7,6 +7,8 @@
 #ifndef __bootmeth_h
 #define __bootmeth_h
 
+#include <linux/bitops.h>
+
 struct blk_desc;
 struct bootflow;
 struct bootflow_iter;
index 99ce7b64e7c538968cae1c71d1771236bc371e90..ac756e98d84a892de26eb27b50dba61c4c65488c 100644 (file)
@@ -10,6 +10,8 @@
 #define __bootstd_h
 
 #include <dm/ofnode_decl.h>
+#include <linux/list.h>
+#include <linux/types.h>
 
 struct udevice;
 
index f43cafa5aa240f732eeb96abacdefca91ff37151..a31b42452477aeca6735f5c8e51d93a0af48eb8c 100644 (file)
@@ -7,12 +7,15 @@
 #ifndef __CEDIT_H
 #define __CEDIT_H
 
+#include <stdbool.h>
 #include <dm/ofnode_decl.h>
+#include <linux/types.h>
 
 struct abuf;
 struct expo;
 struct scene;
 struct video_priv;
+struct udevice;
 
 enum {
        /* size increment for writing FDT */
diff --git a/include/common.h b/include/common.h
deleted file mode 100644 (file)
index a79c2bb..0000000
+++ /dev/null
@@ -1,33 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0+ */
-/*
- * Common header file for U-Boot
- *
- * This file still includes quite a few headers that should be included
- * individually as needed. Patches to remove things are welcome.
- *
- * (C) Copyright 2000-2009
- * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
- */
-
-#ifndef __COMMON_H_
-#define __COMMON_H_    1
-
-#ifndef __ASSEMBLY__           /* put C only stuff in this section */
-#include <config.h>
-#include <errno.h>
-#include <time.h>
-#include <linux/types.h>
-#include <linux/string.h>
-#include <stdarg.h>
-#include <stdio.h>
-#include <linux/kernel.h>
-#include <asm/u-boot.h> /* boot information for Linux kernel */
-#include <vsprintf.h>
-#endif /* __ASSEMBLY__ */
-
-/* Pull in stuff for the build system */
-#ifdef DO_DEPS_ONLY
-# include <env_internal.h>
-#endif
-
-#endif /* __COMMON_H_ */
index bf2bc2d45c09994409bd6fe52b236d38c76d978d..e6dba7071950c769e195a5d7a7a2581b01efcf35 100644 (file)
@@ -14,9 +14,6 @@
 
 #define CFG_SYS_INIT_SP_OFFSET         0x800000
 
-/* MMC */
-#define MMC_SUPPORTS_TUNING
-
 /* Serial SPL */
 #if defined(CONFIG_SPL_BUILD) && defined(CONFIG_SPL_SERIAL)
 #define CFG_SYS_NS16550_CLK            50000000
index fca234a1dc71a85f4982a49db4f1ab53e30b9ed7..6f42cd32d80fbfc4e8923826d448da40e7f49b5c 100644 (file)
@@ -11,9 +11,6 @@
 
 #include <linux/sizes.h>
 
-/* MMC */
-#define MMC_SUPPORTS_TUNING
-
 /* DRAM */
 #define CFG_SYS_SDRAM_BASE             0x80000000
 
index c4db38562d831ddcd7a5328b2ea2083f840282f9..f415dffddbea0c9a46ca5267920adde7373b47e4 100644 (file)
@@ -19,9 +19,4 @@
                                        "loadaddr=20080000\0"   \
                                        "ethrotate=yes\0"
 
-#if defined(CONFIG_MMC_OCTEONTX)
-#define MMC_SUPPORTS_TUNING
-/** EMMC specific defines */
-#endif
-
 #endif /* __OCTEONTX2_COMMON_H__ */
index fe163da43e562b06c19d5ba13a30faf96e0b9423..c4d199fd7e14c86b8c66350299821f9b42b5c89a 100644 (file)
@@ -6,6 +6,8 @@
 #ifndef _DDR_SPD_H_
 #define _DDR_SPD_H_
 
+#include <linux/types.h>
+
 /*
  * Format from "JEDEC Standard No. 21-C,
  * Appendix D: Rev 1.0: SPD's for DDR SDRAM
index 3d01217644118a58786c96962dc761ffbd786910..e8d8aaa15fbcbf0b2bcaeec0d612ad66346d28c3 100644 (file)
@@ -6,6 +6,8 @@
 #ifndef _DISPLAY_H
 #define _DISPLAY_H
 
+#include <linux/types.h>
+
 struct udevice;
 struct display_timing;
 
index b1c934f610d35233f21039d12d580313f3396a18..b7404c139d1912c87b4c06a332ec64e288b0b194 100644 (file)
@@ -7,7 +7,6 @@
 #ifndef _DM_OF_H
 #define _DM_OF_H
 
-#include <asm/u-boot.h>
 #include <asm/global_data.h>
 
 /* integer value within a device tree property which references another node */
index b5937509212b54567c1a8428c3d80a9ad3ee73ae..02737411a164051d76220cd697288dd401096705 100644 (file)
@@ -6,6 +6,8 @@
 #ifndef __DM_TEST_H
 #define __DM_TEST_H
 
+#include <linux/types.h>
+
 struct udevice;
 
 /**
diff --git a/include/dt-bindings/clock/adi-sc5xx-clock.h b/include/dt-bindings/clock/adi-sc5xx-clock.h
new file mode 100644 (file)
index 0000000..4a5373d
--- /dev/null
@@ -0,0 +1,271 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
+/*
+ * (C) Copyright 2022 - Analog Devices, Inc.
+ *
+ * Written and/or maintained by Timesys Corporation
+ *
+ * Contact: Nathan Barrett-Morrison <nathan.morrison@timesys.com>
+ * Contact: Greg Malysa <greg.malysa@timesys.com>
+ *
+ */
+
+#ifndef DT_BINDINGS_CLOCK_ADI_SC5XX_CLOCK_H
+#define DT_BINDINGS_CLOCK_ADI_SC5XX_CLOCK_H
+
+//ADSP-SC594
+#define ADSP_SC594_CLK_DUMMY 0
+#define ADSP_SC594_CLK_SYS_CLKIN0 1
+#define ADSP_SC594_CLK_SYS_CLKIN1 2
+#define ADSP_SC594_CLK_CGU1_IN 3
+#define ADSP_SC594_CLK_CGU0_PLL_IN 4
+#define ADSP_SC594_CLK_CGU1_PLL_IN 5
+#define ADSP_SC594_CLK_CGU0_VCO_OUT 6
+#define ADSP_SC594_CLK_CGU1_VCO_OUT 7
+#define ADSP_SC594_CLK_CGU0_PLLCLK 8
+#define ADSP_SC594_CLK_CGU1_PLLCLK 9
+#define ADSP_SC594_CLK_CGU0_CDIV 10
+#define ADSP_SC594_CLK_CGU0_SYSCLK 11
+#define ADSP_SC594_CLK_CGU0_DDIV 12
+#define ADSP_SC594_CLK_CGU0_ODIV 13
+#define ADSP_SC594_CLK_CGU0_S0SELDIV 14
+#define ADSP_SC594_CLK_CGU0_S1SELDIV 15
+#define ADSP_SC594_CLK_CGU0_S1SELEXDIV 16
+#define ADSP_SC594_CLK_CGU0_S1SEL 17
+#define ADSP_SC594_CLK_CGU1_CDIV 18
+#define ADSP_SC594_CLK_CGU1_SYSCLK 19
+#define ADSP_SC594_CLK_CGU1_DDIV 20
+#define ADSP_SC594_CLK_CGU1_ODIV 21
+#define ADSP_SC594_CLK_CGU1_S0SELDIV 22
+#define ADSP_SC594_CLK_CGU1_S1SELDIV 23
+#define ADSP_SC594_CLK_CGU1_S1SELEXDIV 24
+#define ADSP_SC594_CLK_CGU1_S1SEL 25
+#define ADSP_SC594_CLK_CGU0_CCLK0 26
+#define ADSP_SC594_CLK_CGU0_CCLK1 27
+#define ADSP_SC594_CLK_CGU0_OCLK 28
+#define ADSP_SC594_CLK_CGU0_DCLK 29
+#define ADSP_SC594_CLK_CGU0_SCLK1 30
+#define ADSP_SC594_CLK_CGU0_SCLK0 31
+#define ADSP_SC594_CLK_CGU1_CCLK0 32
+#define ADSP_SC594_CLK_CGU1_CCLK1 33
+#define ADSP_SC594_CLK_CGU1_OCLK 34
+#define ADSP_SC594_CLK_CGU1_DCLK 35
+#define ADSP_SC594_CLK_CGU1_SCLK1 36
+#define ADSP_SC594_CLK_CGU1_SCLK0 37
+#define ADSP_SC594_CLK_SHARC0_SEL 38
+#define ADSP_SC594_CLK_SHARC1_SEL 39
+#define ADSP_SC594_CLK_ARM_SEL 40
+#define ADSP_SC594_CLK_CDU_DDR_SEL 41
+#define ADSP_SC594_CLK_CAN_SEL 42
+#define ADSP_SC594_CLK_SPDIF_SEL 43
+#define ADSP_SC594_CLK_RESERVED_SEL 44
+#define ADSP_SC594_CLK_GIGE_SEL 45
+#define ADSP_SC594_CLK_LP_SEL 46
+#define ADSP_SC594_CLK_LPDDR_SEL 47
+#define ADSP_SC594_CLK_OSPI_SEL 48
+#define ADSP_SC594_CLK_TRACE_SEL 49
+#define ADSP_SC594_CLK_SHARC0 50
+#define ADSP_SC594_CLK_SHARC1 51
+#define ADSP_SC594_CLK_ARM 52
+#define ADSP_SC594_CLK_CDU_DDR 53
+#define ADSP_SC594_CLK_CAN 54
+#define ADSP_SC594_CLK_SPDIF 55
+#define ADSP_SC594_CLK_SPI 56
+#define ADSP_SC594_CLK_GIGE 57
+#define ADSP_SC594_CLK_LP 58
+#define ADSP_SC594_CLK_LPDDR 59
+#define ADSP_SC594_CLK_OSPI 60
+#define ADSP_SC594_CLK_TRACE 61
+#define ADSP_SC594_CLK_END 62
+
+//ADSP-SC598
+#define ADSP_SC598_CLK_DUMMY 0
+#define ADSP_SC598_CLK_SYS_CLKIN0 1
+#define ADSP_SC598_CLK_SYS_CLKIN1 2
+#define ADSP_SC598_CLK_CGU0_PLL_IN 3
+#define ADSP_SC598_CLK_CGU0_VCO_OUT 4
+#define ADSP_SC598_CLK_CGU0_PLLCLK 5
+#define ADSP_SC598_CLK_CGU1_IN 6
+#define ADSP_SC598_CLK_CGU1_PLL_IN 7
+#define ADSP_SC598_CLK_CGU1_VCO_OUT 8
+#define ADSP_SC598_CLK_CGU1_PLLCLK 9
+#define ADSP_SC598_CLK_CGU0_CDIV 10
+#define ADSP_SC598_CLK_CGU0_SYSCLK 11
+#define ADSP_SC598_CLK_CGU0_DDIV 12
+#define ADSP_SC598_CLK_CGU0_ODIV 13
+#define ADSP_SC598_CLK_CGU0_S0SELDIV 14
+#define ADSP_SC598_CLK_CGU0_S1SELDIV 15
+#define ADSP_SC598_CLK_CGU0_S1SELEXDIV 16
+#define ADSP_SC598_CLK_CGU0_S1SEL 17
+#define ADSP_SC598_CLK_CGU1_CDIV 18
+#define ADSP_SC598_CLK_CGU1_SYSCLK 19
+#define ADSP_SC598_CLK_CGU1_DDIV 20
+#define ADSP_SC598_CLK_CGU1_ODIV 21
+#define ADSP_SC598_CLK_CGU1_S0SELDIV 22
+#define ADSP_SC598_CLK_CGU1_S1SELDIV 23
+#define ADSP_SC598_CLK_CGU1_S0SELEXDIV 24
+#define ADSP_SC598_CLK_CGU1_S1SELEXDIV 25
+#define ADSP_SC598_CLK_CGU1_S0SEL 26
+#define ADSP_SC598_CLK_CGU1_S1SEL 27
+#define ADSP_SC598_CLK_CGU0_CCLK2 28
+#define ADSP_SC598_CLK_CGU0_CCLK0 29
+#define ADSP_SC598_CLK_CGU0_OCLK 30
+#define ADSP_SC598_CLK_CGU0_DCLK 31
+#define ADSP_SC598_CLK_CGU0_SCLK1 32
+#define ADSP_SC598_CLK_CGU0_SCLK0 33
+#define ADSP_SC598_CLK_CGU1_CCLK0 34
+#define ADSP_SC598_CLK_CGU1_OCLK 35
+#define ADSP_SC598_CLK_CGU1_DCLK 36
+#define ADSP_SC598_CLK_CGU1_SCLK1 37
+#define ADSP_SC598_CLK_CGU1_SCLK0 38
+#define ADSP_SC598_CLK_CGU1_CCLK2 39
+#define ADSP_SC598_CLK_DCLK0_HALF 40
+#define ADSP_SC598_CLK_DCLK1_HALF 41
+#define ADSP_SC598_CLK_CGU1_SCLK1_HALF 42
+#define ADSP_SC598_CLK_SHARC0_SEL 43
+#define ADSP_SC598_CLK_SHARC1_SEL 44
+#define ADSP_SC598_CLK_ARM_SEL 45
+#define ADSP_SC598_CLK_CDU_DDR_SEL 46
+#define ADSP_SC598_CLK_CAN_SEL 47
+#define ADSP_SC598_CLK_SPDIF_SEL 48
+#define ADSP_SC598_CLK_SPI_SEL 49
+#define ADSP_SC598_CLK_GIGE_SEL 50
+#define ADSP_SC598_CLK_LP_SEL 51
+#define ADSP_SC598_CLK_LP_DDR_SEL 52
+#define ADSP_SC598_CLK_OSPI_REFCLK_SEL 53
+#define ADSP_SC598_CLK_TRACE_SEL 54
+#define ADSP_SC598_CLK_EMMC_SEL 55
+#define ADSP_SC598_CLK_EMMC_TIMER_QMC_SEL 56
+#define ADSP_SC598_CLK_SHARC0 57
+#define ADSP_SC598_CLK_SHARC1 58
+#define ADSP_SC598_CLK_ARM 59
+#define ADSP_SC598_CLK_CDU_DDR 60
+#define ADSP_SC598_CLK_CAN 61
+#define ADSP_SC598_CLK_SPDIF 62
+#define ADSP_SC598_CLK_SPI 63
+#define ADSP_SC598_CLK_GIGE 64
+#define ADSP_SC598_CLK_LP 65
+#define ADSP_SC598_CLK_LP_DDR 66
+#define ADSP_SC598_CLK_OSPI_REFCLK 67
+#define ADSP_SC598_CLK_TRACE 68
+#define ADSP_SC598_CLK_EMMC 69
+#define ADSP_SC598_CLK_EMMC_TIMER_QMC 70
+#define ADSP_SC598_CLK_3PLL_PLL_IN 71
+#define ADSP_SC598_CLK_3PLL_VCO_OUT 72
+#define ADSP_SC598_CLK_3PLL_PLLCLK 73
+#define ADSP_SC598_CLK_3PLL_DDIV 74
+#define ADSP_SC598_CLK_DDR 75
+#define ADSP_SC598_CLK_END 76
+
+//ADSP-SC58X
+#define ADSP_SC58X_CLK_DUMMY 0
+#define ADSP_SC58X_CLK_SYS_CLKIN0 1
+#define ADSP_SC58X_CLK_SYS_CLKIN1 2
+#define ADSP_SC58X_CLK_CGU0_PLL_IN 3
+#define ADSP_SC58X_CLK_CGU0_VCO_OUT 4
+#define ADSP_SC58X_CLK_CGU0_PLLCLK 5
+#define ADSP_SC58X_CLK_CGU1_IN 6
+#define ADSP_SC58X_CLK_CGU1_PLL_IN 7
+#define ADSP_SC58X_CLK_CGU1_VCO_OUT 8
+#define ADSP_SC58X_CLK_CGU1_PLLCLK 9
+#define ADSP_SC58X_CLK_CGU0_CDIV 10
+#define ADSP_SC58X_CLK_CGU0_SYSCLK 11
+#define ADSP_SC58X_CLK_CGU0_DDIV 12
+#define ADSP_SC58X_CLK_CGU0_ODIV 13
+#define ADSP_SC58X_CLK_CGU0_S0SELDIV 14
+#define ADSP_SC58X_CLK_CGU0_S1SELDIV 15
+#define ADSP_SC58X_CLK_CGU1_CDIV 16
+#define ADSP_SC58X_CLK_CGU1_SYSCLK 17
+#define ADSP_SC58X_CLK_CGU1_DDIV 18
+#define ADSP_SC58X_CLK_CGU1_ODIV 19
+#define ADSP_SC58X_CLK_CGU1_S0SELDIV 20
+#define ADSP_SC58X_CLK_CGU1_S1SELDIV 21
+#define ADSP_SC58X_CLK_CGU0_CCLK0 22
+#define ADSP_SC58X_CLK_CGU0_CCLK1 23
+#define ADSP_SC58X_CLK_CGU0_OCLK 24
+#define ADSP_SC58X_CLK_CGU0_DCLK 25
+#define ADSP_SC58X_CLK_CGU0_SCLK1 26
+#define ADSP_SC58X_CLK_CGU0_SCLK0 27
+#define ADSP_SC58X_CLK_CGU1_CCLK0 28
+#define ADSP_SC58X_CLK_CGU1_CCLK1 29
+#define ADSP_SC58X_CLK_CGU1_OCLK 30
+#define ADSP_SC58X_CLK_CGU1_DCLK 31
+#define ADSP_SC58X_CLK_CGU1_SCLK1 32
+#define ADSP_SC58X_CLK_CGU1_SCLK0 33
+#define ADSP_SC58X_CLK_OCLK0_HALF 34
+#define ADSP_SC58X_CLK_CCLK1_1_HALF 35
+#define ADSP_SC58X_CLK_SHARC0_SEL 36
+#define ADSP_SC58X_CLK_SHARC1_SEL 37
+#define ADSP_SC58X_CLK_ARM_SEL 38
+#define ADSP_SC58X_CLK_CDU_DDR_SEL 39
+#define ADSP_SC58X_CLK_CAN_SEL 40
+#define ADSP_SC58X_CLK_SPDIF_SEL 41
+#define ADSP_SC58X_CLK_RESERVED_SEL 42
+#define ADSP_SC58X_CLK_GIGE_SEL 43
+#define ADSP_SC58X_CLK_LP_SEL 44
+#define ADSP_SC58X_CLK_SDIO_SEL 45
+#define ADSP_SC58X_CLK_SHARC0 46
+#define ADSP_SC58X_CLK_SHARC1 47
+#define ADSP_SC58X_CLK_ARM 48
+#define ADSP_SC58X_CLK_CDU_DDR 49
+#define ADSP_SC58X_CLK_CAN 50
+#define ADSP_SC58X_CLK_SPDIF 51
+#define ADSP_SC58X_CLK_RESERVED 52
+#define ADSP_SC58X_CLK_GIGE 53
+#define ADSP_SC58X_CLK_LP 54
+#define ADSP_SC58X_CLK_SDIO 55
+#define ADSP_SC58X_CLK_END 56
+
+//ADSP-SC57X
+#define ADSP_SC57X_CLK_DUMMY 0
+#define ADSP_SC57X_CLK_SYS_CLKIN0 1
+#define ADSP_SC57X_CLK_SYS_CLKIN1 2
+#define ADSP_SC57X_CLK_CGU0_PLL_IN 3
+#define ADSP_SC57X_CLK_CGU0_PLLCLK 4
+#define ADSP_SC57X_CLK_CGU1_IN 5
+#define ADSP_SC57X_CLK_CGU1_PLL_IN 6
+#define ADSP_SC57X_CLK_CGU1_PLLCLK 7
+#define ADSP_SC57X_CLK_CGU0_CDIV 8
+#define ADSP_SC57X_CLK_CGU0_SYSCLK 9
+#define ADSP_SC57X_CLK_CGU0_DDIV 10
+#define ADSP_SC57X_CLK_CGU0_ODIV 11
+#define ADSP_SC57X_CLK_CGU0_S0SELDIV 12
+#define ADSP_SC57X_CLK_CGU0_S1SELDIV 13
+#define ADSP_SC57X_CLK_CGU1_CDIV 14
+#define ADSP_SC57X_CLK_CGU1_SYSCLK 15
+#define ADSP_SC57X_CLK_CGU1_DDIV 16
+#define ADSP_SC57X_CLK_CGU1_ODIV 17
+#define ADSP_SC57X_CLK_CGU1_S0SELDIV 18
+#define ADSP_SC57X_CLK_CGU1_S1SELDIV 19
+#define ADSP_SC57X_CLK_CGU0_CCLK0 20
+#define ADSP_SC57X_CLK_CGU0_CCLK1 21
+#define ADSP_SC57X_CLK_CGU0_OCLK 22
+#define ADSP_SC57X_CLK_CGU0_DCLK 23
+#define ADSP_SC57X_CLK_CGU0_SCLK1 24
+#define ADSP_SC57X_CLK_CGU0_SCLK0 25
+#define ADSP_SC57X_CLK_CGU1_CCLK0 26
+#define ADSP_SC57X_CLK_CGU1_CCLK1 27
+#define ADSP_SC57X_CLK_CGU1_OCLK 28
+#define ADSP_SC57X_CLK_CGU1_DCLK 29
+#define ADSP_SC57X_CLK_CGU1_SCLK1 30
+#define ADSP_SC57X_CLK_CGU1_SCLK0 31
+#define ADSP_SC57X_CLK_OCLK0_HALF 32
+#define ADSP_SC57X_CLK_CCLK1_1_HALF 33
+#define ADSP_SC57X_CLK_SHARC0_SEL 34
+#define ADSP_SC57X_CLK_SHARC1_SEL 35
+#define ADSP_SC57X_CLK_ARM_SEL 36
+#define ADSP_SC57X_CLK_CDU_DDR_SEL 37
+#define ADSP_SC57X_CLK_CAN_SEL 38
+#define ADSP_SC57X_CLK_SPDIF_SEL 39
+#define ADSP_SC57X_CLK_GIGE_SEL 40
+#define ADSP_SC57X_CLK_SDIO_SEL 41
+#define ADSP_SC57X_CLK_SHARC0 42
+#define ADSP_SC57X_CLK_SHARC1 43
+#define ADSP_SC57X_CLK_ARM 44
+#define ADSP_SC57X_CLK_CDU_DDR 45
+#define ADSP_SC57X_CLK_CAN 46
+#define ADSP_SC57X_CLK_SPDIF 47
+#define ADSP_SC57X_CLK_GIGE 48
+#define ADSP_SC57X_CLK_SDIO 49
+#define ADSP_SC57X_CLK_END 50
+
+#endif
index f9c6542ba762b51c7b6f592d72715bfa837f1a82..e223e4c767074e7a46cdebe8b2658fb219cb3fad 100644 (file)
@@ -8,6 +8,8 @@
 #define __EEPROM_LEGACY_H
 
 #if defined(CONFIG_CMD_EEPROM) || defined(CONFIG_ENV_IS_IN_EEPROM)
+#include <linux/types.h>
+
 void eeprom_init(int bus);
 int eeprom_read(uint dev_addr, uint offset, uchar *buffer, uint cnt);
 int eeprom_write(uint dev_addr, uint offset, uchar *buffer, uint cnt);
diff --git a/include/env/adi/adi_boot.env b/include/env/adi/adi_boot.env
new file mode 100644 (file)
index 0000000..d56b14f
--- /dev/null
@@ -0,0 +1,122 @@
+/*
+ * A target board needs to set these variables for the commands below to work:
+ *
+ * - adi_stage2_offset, the location of stage2-boot.ldr on the SPI flash
+ * - adi_image_offset, location of the fitImage on the SPI flash
+ * - adi_rfs_offset, location of the RFS on the SPI flash
+ * - loadaddr, where you want to load things
+ * - jffs2file, name of the jffs2 file for update, ex adsp-sc5xx-tiny-adsp-sc573.jffs2
+ */
+
+#ifdef CONFIG_SC59X_64
+#define EARLY_PRINTK earlycon=adi_uart,0x31003000
+#else
+#define EARLY_PRINTK earlyprintk=serial,uart0,CONFIG_BAUDRATE
+#endif
+
+/* Config options */
+imagefile=fitImage
+ethaddr=02:80:ad:20:31:e8
+eth1addr=02:80:ad:20:31:e9
+uart_console=CONFIG_UART_CONSOLE
+#ifdef CONFIG_SC59X_64
+fdt_high=0xffffffffffffffff
+initrd_high=0xffffffffffffffff
+#else
+fdt_high=0xffffffff
+initrd_high=0xffffffff
+#endif
+
+/* Helper routines */
+init_ethernet=mii info;
+       dhcp;
+       setenv serverip ${tftpserverip}
+
+/* Args for each boot mode */
+adi_bootargs=EARLY_PRINTK console=ttySC0,CONFIG_BAUDRATE vmalloc=512M
+ramargs=setenv bootargs ${adi_bootargs}
+
+addip=setenv bootargs ${bootargs} ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}:eth0:off
+
+/* Boot modes are selectable and should be defined in the board env before including */
+#if defined(USE_NFS)
+// rootpath is set by CONFIG_ROOTPATH
+nfsargs=setenv bootargs root=/dev/nfs rw nfsroot=${serverip}${rootpath},tcp,nfsvers=3 ${adi_bootargs}
+nfsboot=run init_ethernet;
+       tftp ${loadaddr} ${tftp_dir_prefix}${imagefile};
+       run nfsargs;
+       run addip;
+       bootm ${loadaddr}
+#endif
+
+#if defined(USE_MMC)
+mmcargs=setenv bootargs root=/dev/mmcblk0p1 rw rootfstype=ext4 rootwait ${adi_bootargs}
+mmcboot=mmc rescan;
+       ext4load mmc 0:1 ${loadaddr} /boot/${imagefile};
+       run mmcargs;
+       bootm ${loadaddr}
+#endif
+
+#if defined(USE_SPI) || defined(USE_OSPI)
+spiargs=setenv bootargs root=/dev/mtdblock4 rw rootfstype=jffs2 ${adi_bootargs}
+spiboot=run spiargs;
+       sf probe ${sfdev};
+       sf read ${loadaddr} ${adi_image_offset} ${imagesize};
+       bootm ${loadaddr}
+#endif
+
+#if defined(USE_OSPI)
+ospiboot=run spiboot
+#endif
+
+#if defined(USE_RAM)
+ramboot=run init_ethernet;
+       tftp ${loadaddr} ${tfpt_dir_prefix}${imagefile};
+       run ramargs;
+       bootm ${loadaddr}
+#endif
+
+/* Update commands */
+stage1file=stage1-boot.ldr
+stage2file=stage2-boot.ldr
+
+#if defined(USE_SPI) || defined(USE_OSPI)
+update_spi_uboot_stage1=tftp ${loadaddr} ${tftp_dir_prefix}${stage1file};
+       sf probe ${sfdev};
+       sf update ${loadaddr} 0x0 ${filesize}
+update_spi_uboot_stage2=tftp ${loadaddr} ${tftp_dir_prefix}${stage2file};
+       sf probe ${sfdev};
+       sf update ${loadaddr} ${adi_stage2_offset} ${filesize}
+update_spi_uboot=run update_spi_uboot_stage1;
+       run update_spi_uboot_stage2;
+update_spi_fit=tftp ${loadaddr} ${tftp_dir_prefix}${imagefile};
+       sf probe ${sfdev};
+       sf update ${loadaddr} ${adi_image_offset} ${filesize};
+       setenv imagesize ${filesize}
+update_spi_rfs=tftp ${loadaddr} ${tftp_dir_prefix}${jffs2file};
+       sf probe ${sfdev};
+       sf update ${loadaddr} ${adi_rfs_offset} ${filesize}
+
+start_update_spi=run init_ethernet;
+       run update_spi_uboot;
+       run update_spi_fit;
+       run update_spi_rfs;
+start_update_spi_uboot_only=run init_ethernet;
+       run update_spi_uboot;
+#endif
+
+#if defined(USE_SPI)
+update_spi=setenv sfdev CONFIG_SC_BOOT_SPI_BUS:CONFIG_SC_BOOT_SPI_SSEL;
+       setenv bootcmd run spiboot;
+       setenv argscmd spiargs;
+       run start_update_spi;
+       saveenv
+#endif
+
+#if defined(USE_OSPI)
+update_ospi=setenv sfdev CONFIG_SC_BOOT_OSPI_BUS:CONFIG_SC_BOOT_OSPI_SSEL;
+       setenv bootcmd run ospiboot;
+       setenv argscmd spiargs;
+       run start_update_spi;
+       saveenv
+#endif
index 23bc650c162de4bd22813406ec1321dff3c204e7..8e500aaaf806d7b95d5242c0e72c258a2da0f621 100644 (file)
@@ -7,6 +7,7 @@
 #ifndef __ENV_CALLBACK_H__
 #define __ENV_CALLBACK_H__
 
+#include <config.h>
 #include <env_flags.h>
 #include <linker_lists.h>
 #include <search.h>
index 8ee500d1709c15526dfb277c8be0d86d7a74e317..076ffdd44e9bc8c5c30e57aed3bca0e00b897f19 100644 (file)
@@ -7,6 +7,7 @@
  * Andreas Heppel <aheppel@sysgo.de>
  */
 
+#include <config.h>
 #include <env_callback.h>
 #include <linux/stringify.h>
 
index d785f87cdcbe11f342a24206b6dc2c0bc74a2d16..2476043b0e38abdb94662f34a45a31a3f1e4cbfb 100644 (file)
@@ -7,6 +7,8 @@
 #ifndef __ENV_FLAGS_H__
 #define __ENV_FLAGS_H__
 
+#include <config.h>
+
 enum env_flags_vartype {
        env_flags_vartype_string,
        env_flags_vartype_decimal,
index 3b75b5ba9f7ca27cf2755e64aa42d78ee8277e9c..87d404c007461f66dcd2a7d23dea044961fbf0d1 100644 (file)
@@ -7,6 +7,8 @@
 #ifndef __EXTENSION_SUPPORT_H
 #define __EXTENSION_SUPPORT_H
 
+#include <linux/list.h>
+
 struct extension {
        struct list_head list;
        char name[32];
index 3710a2731b760b2500eba76b4b69ef271b451825..0f7369774117c0cdf28635ac2aa96b5cf871d0f3 100644 (file)
@@ -7,6 +7,8 @@
 #ifndef _FLASH_H_
 #define _FLASH_H_
 
+#include <linux/types.h>
+
 /*-----------------------------------------------------------------------
  * FLASH Info: contains chip specific data, per FLASH bank
  */
index 44547645df8793dbce5e1db3d13059e204600480..9f070726acb21c8bfcf06f97994394b702de8ba1 100644 (file)
@@ -7,7 +7,7 @@
 #define _FSL_ERRATA_H
 
 #if defined(CONFIG_PPC)
-#include <asm/processor.h>
+#include <asm/ppc.h>
 #elif defined(CONFIG_ARCH_LS1021A)
 #include <asm/arch-ls102xa/immap_ls102xa.h>
 #elif defined(CONFIG_FSL_LAYERSCAPE)
index f9a0a7017d4a390657c42d58f6d80c60252fca07..4991d93220074d7ea3d31b178b8afe9a694e2575 100644 (file)
@@ -12,6 +12,8 @@
 #include <part.h>
 #ifdef CONFIG_ARM
 #include <asm/arch/soc.h>
+#else
+#include <asm/ppc.h>
 #endif
 
 #define FSL_IFC_V1_1_0 0x01010000
index 5297c0b3f9b6ec19a152f81dbe6f87cca7a808d7..54d6e0ab3772e6637ff635db18c0280b1356dae9 100644 (file)
@@ -7,6 +7,9 @@
 
 #ifndef __FSL_IMMAP_H
 #define __FSL_IMMAP_H
+
+#include <linux/types.h>
+
 /*
  * DDR memory controller registers
  * This structure works for mpc83xx (DDR2 and DDR3), mpc85xx, mpc86xx.
index d48dcdfa64744abeca62447755680cd37143cccc..4519821af7ea7437f6cddfe3b02c8ced418f1c7f 100644 (file)
@@ -11,6 +11,8 @@
 #ifndef _FUSE_H_
 #define _FUSE_H_
 
+#include <linux/types.h>
+
 /*
  * Read/Sense/Program/Override interface:
  *   bank:    Fuse bank
index e578b283edcd56f81217a4e029ae8823cf6f7f8f..5e0d0ec07fbccb7a14862efea44495e57619a7d0 100644 (file)
@@ -7,6 +7,8 @@
 #ifndef __GZIP_H
 #define __GZIP_H
 
+#include <linux/types.h>
+
 struct blk_desc;
 
 /**
index 0104b834f2c4cfbceb445d01bf90508bdf182b8a..c0ae7b19a75949ebfec5109131486d7bd1ef7041 100644 (file)
@@ -10,6 +10,7 @@
 
 #if CONFIG_IS_ENABLED(HANDOFF)
 
+#include <linux/types.h>
 #include <asm/handoff.h>
 
 /**
index cba991e3574f7402639428c8af54d41ddb4c486d..1fe32d2dd687aa9f3b4f6add7bcbcfbe749f77c5 100644 (file)
@@ -7,6 +7,7 @@
 #define __I2C_EEPROM
 
 #include <linux/errno.h>
+#include <linux/types.h>
 
 struct udevice;
 
index 630d86729c4e3df102a364c027a8e92b061bb69c..2c10171359cf36b3baa0e015643459e14038e2d1 100644 (file)
@@ -401,6 +401,8 @@ void bdinfo_print_size(const char *name, uint64_t size);
 /* Show arch-specific information for the 'bd' command */
 void arch_print_bdinfo(void);
 
+struct cmd_tbl;
+
 int do_bdinfo(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[]);
 
 #endif /* __ASSEMBLY__ */
index 9346d7ee9f1b6376097337181565f6202bc12f1b..fa4600e84fc0628392f7cd11ede664b3746cd5cc 100644 (file)
@@ -10,6 +10,7 @@
  *-----------------------------------------------------------------------*/
 
 #include <linux/list.h>
+#include <linux/string.h>
 
 /* mtd device types */
 #define MTD_DEV_TYPE_NOR       0x0001
index a55e9315a73010070c83694c6cb49caac1cc8c83..fa39d21a44a0e8336beb12ca824f84fab61876c6 100644 (file)
@@ -10,6 +10,7 @@
 #ifndef __LIBATA_H__
 #define __LIBATA_H__
 
+#include <linux/types.h>
 
 enum {
        /* various global constants */
index f8e3570d1ad2e5edd89d498d188d12718f0d1754..6238145161759072ad47cb7249a16a286eb794c8 100644 (file)
@@ -5,6 +5,7 @@
 #include <cyclic.h>
 #include <log.h>
 #include <malloc.h>
+#include <time.h>
 
 #include <asm/processor.h>
 
index f08e700a1daf66b65bf1e5b3c8d4d00dbec86f91..2dbf988863f9560226101f3f53a18429073850e8 100644 (file)
@@ -8,6 +8,8 @@
 #ifndef __ASM_OMAP_GPMC_H
 #define __ASM_OMAP_GPMC_H
 
+#include <linux/types.h>
+
 /* Maximum Number of Chip Selects */
 #define GPMC_CS_NUM    8
 
index 323b6c2bc5d8f7983a6b4f5d2564c1bb64bd2f3d..e70266fb61c9455b68c2e32f248631878cf55e1c 100644 (file)
@@ -6,6 +6,8 @@
 #ifndef _MAILBOX_H
 #define _MAILBOX_H
 
+#include <linux/types.h>
+
 /**
  * A mailbox is a hardware mechanism for transferring small fixed-size messages
  * and/or notifications between the CPU on which U-Boot runs and some other
index 4b8327f1f93b6bebdaa1c8e968b46df311afde73..7f1900363b91fc748795fa85f48da33b804f7148 100644 (file)
 
 struct bd_info;
 
-#if CONFIG_IS_ENABLED(MMC_HS200_SUPPORT)
-#define MMC_SUPPORTS_TUNING
-#endif
-#if CONFIG_IS_ENABLED(MMC_UHS_SUPPORT)
-#define MMC_SUPPORTS_TUNING
-#endif
-
 /* SD/MMC version bits; 8 flags, 8 major, 8 minor, 8 change */
 #define SD_VERSION_SD  (1U << 31)
 #define MMC_VERSION_MMC        (1U << 30)
@@ -485,7 +478,7 @@ struct dm_mmc_ops {
         */
        int (*get_wp)(struct udevice *dev);
 
-#ifdef MMC_SUPPORTS_TUNING
+#if CONFIG_IS_ENABLED(MMC_SUPPORTS_TUNING)
        /**
         * execute_tuning() - Start the tuning process
         *
index 636734dd3c63afc8595b22e890e20579513a458b..ff86c7c12e0c05918c3b60fd66b0abc2c3c99c0c 100644 (file)
@@ -6,6 +6,7 @@
 #ifndef        __MPC85xx_H__
 #define __MPC85xx_H__
 
+#include <config.h>
 #if defined(CONFIG_E500)
 #include <e500.h>
 #endif
index 220ffa202ef93436dfa3cd9d1b1ba72f70be5841..cdba7384ad1439a08df0cb9fb39835f03a78bcae 100644 (file)
@@ -8,8 +8,6 @@
 #ifndef _NAND_H_
 #define _NAND_H_
 
-#include <config.h>
-
 extern void nand_init(void);
 void nand_reinit(void);
 unsigned long nand_size(void);
index 2a7f40e5040ee0a88e589f16ad8bdadbd4ec650c..2a06d9a261bbe78e4fa8a8492417cdca805bc3b6 100644 (file)
 
 #ifndef _NETDEV_H_
 #define _NETDEV_H_
+
+#include <linux/types.h>
 #include <phy_interface.h>
 
 struct udevice;
+struct bd_info;
 
 /*
  * Board and CPU-specific initialization functions
index aad233769a3508d8e48323d31513f6014ebc6f98..ea3b73923d60c4ea55fdd15d01af019f86d3f40c 100644 (file)
 
 #ifndef __ASSEMBLY__
 
+#include <linux/types.h>
 #include <dm/pci.h>
 
 #ifdef CONFIG_SYS_PCI_64BIT
index 31be3228c7c4e8a95fb31653f910c415249ca437..b74f4ccd84ad240c08c275c482b1f0f4a75d8d8d 100644 (file)
@@ -11,6 +11,7 @@
 #define _PHY_INTERFACE_H
 
 #include <string.h>
+#include <linux/kernel.h>
 
 typedef enum {
        PHY_INTERFACE_MODE_NA, /* don't touch */
index 2fc971df465a55783871ee02983343fab74acca8..3600bb57a6cfbd6d6adabd68c10f3b156216c6be 100644 (file)
@@ -7,6 +7,8 @@
 #ifndef __RAM_H
 #define __RAM_H
 
+#include <linux/types.h>
+
 struct udevice;
 
 struct ram_info {
index 3ece695941d3f68e837d8579599b73b656562013..aab09d9c3c81deabb7c186b4bc41572badb81f6f 100644 (file)
@@ -4,6 +4,8 @@
  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  */
 
+#include <linux/types.h>
+
 /*--------------------------------------------------------------------------
  *
  * Motorola S-Record Format:
index afa9c89055e5c404086ca3bfe2110bfa78809285..fbc156ad68a75e1e50417150a410fa19daed34d6 100644 (file)
@@ -19,7 +19,7 @@
  * implementation of the driver you are using.
  */
 
-#include <asm/types.h>
+#include <linux/types.h>
 #include <asm/ptrace.h>
 
 struct udevice;
index c3922375987da02ef0bb95d52b28299234fa60a8..83c6fa9767f04ff1a8ce3f0890d1760f3f80b65f 100644 (file)
@@ -23,6 +23,7 @@
 #define _SPLASH_H_
 
 #include <errno.h>
+#include <linux/types.h>
 
 enum splash_storage {
        SPLASH_STORAGE_NAND,
index 09fee594d263fa94e1060cf113f9e603b521b99d..c1e9f67068d4f194b5a15df6f51d580abaf096e1 100644 (file)
@@ -14,6 +14,8 @@
 #ifndef _SHA1_H
 #define _SHA1_H
 
+#include <linux/types.h>
+
 #ifdef __cplusplus
 extern "C" {
 #endif
index 9aa1251789a34f1b824fe0cd9f9c9445f4dde464..a4fe176c0b46a0a2ad86cb404f27b29a715e4864 100644 (file)
@@ -1,6 +1,8 @@
 #ifndef _SHA256_H
 #define _SHA256_H
 
+#include <linux/types.h>
+
 #define SHA256_SUM_LEN 32
 #define SHA256_DER_LEN 19
 
index 516729d7750669bed525de86dea19b9355352a83..90bd96a3f8c2065e36e5f627b1dba3a866cab318 100644 (file)
@@ -1,6 +1,8 @@
 #ifndef _SHA512_H
 #define _SHA512_H
 
+#include <linux/types.h>
+
 #define SHA384_SUM_LEN          48
 #define SHA384_DER_LEN          19
 #define SHA512_SUM_LEN          64
index 8113a59d7958d691b1b56ddd8fc616a577612f4a..17f894a79e3162d246ec9c160678386fd25ac023 100644 (file)
@@ -24,6 +24,7 @@
 #include <dm/device.h>
 #include <linux/bitops.h>
 #include <linux/bug.h>
+#include <linux/typecheck.h>
 #define VIRTIO_ID_NET          1 /* virtio net */
 #define VIRTIO_ID_BLOCK                2 /* virtio block */
 #define VIRTIO_ID_RNG          4 /* virtio rng */
index 82bd18b48c88dcb3a58ac5c572996b2338010941..f0a8ef32d00b5e8909725c6e2b0800fc9d09cad7 100644 (file)
@@ -15,6 +15,7 @@
 #ifndef _EVENTS_H_
 #define _EVENTS_H_
 
+#include <asm/ptrace.h>
 #include <asm/xen/hypercall.h>
 #include <xen/interface/event_channel.h>
 
index 37848ad32fbd482591067b87152ed0516386b752..bc1e25f941f721d0d165cc185c62a49137885a9a 100644 (file)
--- a/net/arp.c
+++ b/net/arp.c
@@ -9,10 +9,10 @@
  *     Copyright 2000-2002 Wolfgang Denk, wd@denx.de
  */
 
-#include <common.h>
 #include <env.h>
 #include <log.h>
 #include <net.h>
+#include <vsprintf.h>
 #include <linux/delay.h>
 
 #include "arp.h"
index 86c56803c76eb146f42b42ad0da915d1ace51e11..9dfb50749b499fd5a709050480fc566412158cea 100644 (file)
@@ -8,7 +8,6 @@
  *     Copyright 2000-2004 Wolfgang Denk, wd@denx.de
  */
 
-#include <common.h>
 #include <bootstage.h>
 #include <command.h>
 #include <env.h>
index a8f890e75226f4b4198046fca67acd17ea8c2019..d4cfc587ee3563f23f6e0fc63319237dcae6c148 100644 (file)
--- a/net/cdp.c
+++ b/net/cdp.c
@@ -9,7 +9,6 @@
  *     Copyright 2000-2002 Wolfgang Denk, wd@denx.de
  */
 
-#include <common.h>
 #include <net.h>
 
 #include "cdp.h"
index 4aea779f6f24cd4ab1fe8dcefa6ddb5d3692bb35..54619ee69836268c03be1709be353df401b3f64c 100644 (file)
@@ -7,7 +7,6 @@
 
 /* Simple DHCP6 network layer implementation. */
 
-#include <common.h>
 #include <net6.h>
 #include <malloc.h>
 #include <linux/delay.h>
index 5b1fe5b0103747a0fe91c5c17bc69a8f2801dfb9..c2f0ab98c8d040945551218ec4658412d8ec04c9 100644 (file)
--- a/net/dns.c
+++ b/net/dns.c
@@ -22,7 +22,6 @@
  * this stuff is worth it, you can buy me a beer in return.
  */
 
-#include <common.h>
 #include <command.h>
 #include <env.h>
 #include <log.h>
index 193218a328b752007726ae487e71759c10d9010b..e34d7af0229e2eafba9b6c84b069a1359cb74c88 100644 (file)
@@ -7,7 +7,6 @@
 
 #define LOG_CATEGORY UCLASS_ETH
 
-#include <common.h>
 #include <bootdev.h>
 #include <bootstage.h>
 #include <dm.h>
index 869adf8cbbd31900339e432347417087937f949f..6ee54e3c79014b94023dfdc8968ae48bbf52dd80 100644 (file)
@@ -8,7 +8,6 @@
 
 #define LOG_CATEGORY UCLASS_BOOTSTD
 
-#include <common.h>
 #include <bootdev.h>
 #include <bootflow.h>
 #include <command.h>
index 14d4c07b695d5d68076eafc146b4b0a0fd710bf3..89b5bb371897ee77e3de7cb50043aba90159123a 100644 (file)
@@ -5,7 +5,6 @@
  * Joe Hershberger, National Instruments
  */
 
-#include <common.h>
 #include <bootstage.h>
 #include <dm.h>
 #include <env.h>
index 2eb52ea256796d217854afed3aab6a4ba62801bc..d1fccbc72386318824ac54abf90356bbb47c3d32 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2023 The Android Open Source Project
  */
 
-#include <common.h>
 #include <fastboot.h>
 #include <net.h>
 #include <net/fastboot_tcp.h>
index 6fee441ab3b6e6476911a210bf28edc64bdc55da..d1479510d61aa02f23bec74199531063a7e88b84 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2016 The Android Open Source Project
  */
 
-#include <common.h>
 #include <command.h>
 #include <fastboot.h>
 #include <net.h>
index 8aec3c79969b023e024820e0558072268a1e912e..179721333ffc3f0c3970dee13078a17b796cb36d 100644 (file)
@@ -11,7 +11,6 @@
  * Licensed under the GPL v2 or later
  */
 
-#include <common.h>
 #include <env.h>
 #include <log.h>
 #include <net.h>
index 94b90e0657626b2cdbe342ac9d94f2893acb48a6..ee188b504d166ab8d64995e3832ae57755329edd 100644 (file)
@@ -4,7 +4,6 @@
  * Alex Marginean, NXP
  */
 
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <miiphy.h>
index 0ebfb2f1343a091f36169e5a05a5101ffee7faaf..4f052ae432c659eb3c5ca5e10537eef2d9a62209 100644 (file)
@@ -4,7 +4,6 @@
  * Alex Marginean, NXP
  */
 
-#include <common.h>
 #include <dm.h>
 #include <dm/lists.h>
 #include <eth_phy.h>
index d1cec0601c83ea10961f50bcc344399e0a3caa3b..d417c5987ac4a4de8fb544834f375ae6fa2ada62 100644 (file)
@@ -9,7 +9,6 @@
 
 /* Neighbour Discovery for IPv6 */
 
-#include <common.h>
 #include <net.h>
 #include <net6.h>
 #include <ndisc.h>
index 0fb2d2507734ebd8f4061f280d412fc3d36475e9..23b5d3356afa1937ad8ef532026dde281d57c779 100644 (file)
--- a/net/net.c
+++ b/net/net.c
@@ -81,7 +81,6 @@
  */
 
 
-#include <common.h>
 #include <bootstage.h>
 #include <command.h>
 #include <console.h>
index 2dd64c0e1618a061ae424e0eea3fccd2c7e648ef..4cff98df15cf15df21957c50419a77e8e6d12492 100644 (file)
@@ -9,12 +9,12 @@
 
 /* Simple IPv6 network layer implementation */
 
-#include <common.h>
 #include <env_internal.h>
 #include <malloc.h>
 #include <net.h>
 #include <net6.h>
 #include <ndisc.h>
+#include <vsprintf.h>
 
 /* NULL IPv6 address */
 struct in6_addr const net_null_addr_ip6 = ZERO_IPV6_ADDR;
index c18282448ccd87bc11e09bfbdceb7e8ed9dddaf7..acc7106f10d4564ddea80d1280ba2f8cf605ce43 100644 (file)
--- a/net/nfs.c
+++ b/net/nfs.c
@@ -30,7 +30,6 @@
  * September 27, 2018. As of now, NFSv3 is the default choice. If the server
  * does not support NFSv3, we fall back to versions 2 or 1. */
 
-#include <common.h>
 #include <command.h>
 #include <display_options.h>
 #ifdef CONFIG_SYS_DIRECT_FLASH_NFS
index 4036d8a3fa535c6e7246460449513acc89ed2386..c959e3e4e5114bda55e6a6d03b3a56466823661a 100644 (file)
@@ -3,10 +3,10 @@
  * Copyright 2019 Ramon Fried <rfried.dev@gmail.com>
  */
 
-#include <common.h>
 #include <net.h>
 #include <net/pcap.h>
 #include <time.h>
+#include <linux/errno.h>
 #include <asm/io.h>
 
 #define LINKTYPE_ETHERNET      1
index 4882a17f510b72229aeed2f529f1772b31da114a..2479e08fd82f2d04fe48a8459608777ce4d54215 100644 (file)
@@ -9,7 +9,6 @@
 
 /* Simple ping6 implementation */
 
-#include <common.h>
 #include <net.h>
 #include <net6.h>
 #include "ndisc.h"
index 231b6233c07a7f07e41d1a1842ee8780f556c063..a6b564e314d47d2c5b55e2c3b4c5a3f1130b471f 100644 (file)
@@ -4,7 +4,6 @@
  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  */
 
-#include <common.h>
 #include <command.h>
 #include <log.h>
 #include <net.h>
index dac0f8ceea1b9583a855b8f908f008df52962dc3..73d1d87d38b1aff2b1cf66a17076510969e32859 100644 (file)
@@ -5,7 +5,6 @@
  *
  */
 
-#include <common.h>
 #include <command.h>
 #include <dm.h>
 #include <log.h>
index a713e1dd6096134e45aa44367dce672167849dc8..b0cc8a1fe3ed6d65ab244f497ac338ed2bb7a58a 100644 (file)
--- a/net/tcp.c
+++ b/net/tcp.c
@@ -17,7 +17,6 @@
  *                      - TCP application (eg wget)
  *      Next Step       HTTPS?
  */
-#include <common.h>
 #include <command.h>
 #include <console.h>
 #include <env_internal.h>
index 2e335413492b714cdaaa594c2385553f0f19eca5..6b16bdcbe4c2e685269177da4b7f9245d9ac7e57 100644 (file)
@@ -5,7 +5,6 @@
  * Copyright 2011 Comelit Group SpA,
  *                Luca Ceresoli <luca.ceresoli@comelit.it>
  */
-#include <common.h>
 #include <command.h>
 #include <display_options.h>
 #include <efi_loader.h>
index a93822f511cdaa2da66f5415c3075e6caef7e469..37162260d17528137f2680a5aa8045cd60453e91 100644 (file)
--- a/net/udp.c
+++ b/net/udp.c
@@ -3,7 +3,6 @@
  * Copyright (C) 2020 Philippe Reynes <philippe.reynes@softathome.com>
  */
 
-#include <common.h>
 #include <net.h>
 #include <net/udp.h>
 
index abab371e58edbcbddbf96cabb67af870f420b370..f1dd7abeff69a75510f650f646ea71c932177b83 100644 (file)
@@ -6,7 +6,6 @@
 
 #include <asm/global_data.h>
 #include <command.h>
-#include <common.h>
 #include <display_options.h>
 #include <env.h>
 #include <image.h>
index 0a625668a992ef4fd6feb8c8cf4084b6020ccfd8..96478ba5751e78c902275ed4da65303b292365fe 100644 (file)
--- a/net/wol.c
+++ b/net/wol.c
@@ -3,7 +3,6 @@
  * Copyright 2018 Lothar Felten, lothar.felten@gmail.com
  */
 
-#include <common.h>
 #include <command.h>
 #include <env.h>
 #include <net.h>
index 68da8ff417167f118934efabd06109ebb812f824..766eafa00e71b93bf32fbc68f2f73c0dce076a74 100644 (file)
@@ -8,7 +8,7 @@
  * Dave Liu <daveliu@freescale.com>
  */
 
-#include <common.h>
+#include <config.h>
 #include <cpu_func.h>
 #include <irq_func.h>
 #include <log.h>
index a1fcf1f135d901a6d2b30a6734fc61138ae09b30..21e2f940fe92185942d9ec77c20abf63a9c4fe7b 100644 (file)
@@ -7,7 +7,7 @@
  */
 
 #if CFG_POST & CFG_SYS_POST_FLASH
-#include <common.h>
+#include <config.h>
 #include <malloc.h>
 #include <post.h>
 #include <flash.h>
index 557d6329a4f0e815c65b06f9bf1ac4ead8d69f4c..11c3c8323523f7e0aee25ffd35e5aa493f8e18d9 100644 (file)
@@ -21,7 +21,7 @@
  * #endif
  */
 
-#include <common.h>
+#include <config.h>
 #include <log.h>
 #include <post.h>
 #include <i2c.h>
index 1be2b41df45d2eb60eca42a59ced0114604bb614..8d4ae6fc6f1ea37a0925531651d8d9a5325c58b0 100644 (file)
@@ -4,7 +4,7 @@
  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  */
 
-#include <common.h>
+#include <config.h>
 #include <log.h>
 #include <asm/global_data.h>
 
index cc7a49847ccdc1c0a051d98a211954f5d0cb8837..030954ef3dca8deec40182986b2e2f9876d124d8 100644 (file)
@@ -4,7 +4,7 @@
  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  */
 
-#include <common.h>
+#include <config.h>
 
 /*
  * RTC test
index 4f30216688005f6cf9a6ea6f084816ac52e49121..3f525f516760340d7476afb2bcba4eab66106fe0 100644 (file)
@@ -4,7 +4,7 @@
  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  */
 
-#include <common.h>
+#include <config.h>
 #include <irq_func.h>
 
 /*
index 0ec032dcb1529a7a36cdf12b25429cb350b595ca..9c9931c4f3a90f49bcbf24d7b3a1d1ec0885e793 100644 (file)
@@ -4,7 +4,7 @@
  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  */
 
-#include <common.h>
+#include <config.h>
 #include <irq_func.h>
 
 /*
index 57f2b9694c332f792bb55684c9a8b293adb67bf2..9237dd539979a187718d0b9e11015db84064d7f3 100644 (file)
@@ -4,7 +4,7 @@
  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  */
 
-#include <common.h>
+#include <config.h>
 #include <irq_func.h>
 
 /*
index 6e2bd636d74d019b9831aeddff27763ab3e26b00..6436586b2914871105b9c3a9d885995689113712 100644 (file)
@@ -4,7 +4,7 @@
  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  */
 
-#include <common.h>
+#include <config.h>
 #include <irq_func.h>
 
 /*
index 751bce673785d24e98a34ece5999db4796024f3c..2899dece2c1d9004aa70a8dee6db4bb0b3df217a 100644 (file)
@@ -4,7 +4,7 @@
  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  */
 
-#include <common.h>
+#include <config.h>
 #include <irq_func.h>
 
 /*
index 98a8c6392c3a22fa6ecc97353100b699a87e48a2..e41e6b3b97b11969b4e2b503f9a8a547c7ddb7c0 100644 (file)
@@ -4,7 +4,7 @@
  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  */
 
-#include <common.h>
+#include <config.h>
 #include <cpu_func.h>
 
 /*
index 3c7b611384675e46038f6c6bca08a46fa97f13ec..1e011f12159ebeeb78312fb6472aa6c94abc9244 100644 (file)
@@ -4,7 +4,7 @@
  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  */
 
-#include <common.h>
+#include <config.h>
 #include <irq_func.h>
 
 /*
index 9c1c886fc4f76e0af0f74a3ad6226a07948553bc..d6b7bc656f69368b8b25059afbbe6b1a17a63dab 100644 (file)
@@ -7,7 +7,7 @@
  * This file is originally a part of the GCC testsuite.
  */
 
-#include <common.h>
+#include <config.h>
 
 #include <post.h>
 
index 01bac500383651f725643fb7370b33e80adaca64..5e79c4c69843150ad113958f081a6d6a2965953f 100644 (file)
@@ -7,7 +7,7 @@
  * This file is originally a part of the GCC testsuite.
  */
 
-#include <common.h>
+#include <config.h>
 
 #include <post.h>
 
index cc4aa0dca645901184222e4bad57e16131c81911..a65ffcedb49a77914976217d271d3cbf048eb893 100644 (file)
@@ -7,7 +7,7 @@
  * This file is originally a part of the GCC testsuite.
  */
 
-#include <common.h>
+#include <config.h>
 
 #include <post.h>
 
index 111a2013fb58d6785a4ef5a21c205cd67e8705c3..8ad256efa9f86a8c1bbd51f157c74bf221a1ac33 100644 (file)
@@ -7,7 +7,7 @@
  * This file is originally a part of the GCC testsuite.
  */
 
-#include <common.h>
+#include <config.h>
 
 #include <post.h>
 
index 63cc3eeafc3026b9b34a50da79409d7a38a8c7b4..408c391ce42b84a6164aa91633cb605c295decba 100644 (file)
@@ -7,7 +7,7 @@
  * This file is originally a part of the GCC testsuite.
  */
 
-#include <common.h>
+#include <config.h>
 
 #include <post.h>
 
index 4b4589664f1215a5c6a43c277c2abbd2b5d9d2c2..4b8537ea3db3a709747bf9af64dfd5983013c813 100644 (file)
@@ -9,7 +9,7 @@
  * This file is originally a part of the GCC testsuite.
  */
 
-#include <common.h>
+#include <config.h>
 
 #include <post.h>
 
index 59109f71e36a36e60df9a4b381fa01b175bb815c..2afe27ab355958666f629f28f24a43e60d6efad9 100644 (file)
@@ -6,7 +6,7 @@
  * Author: Sergei Poselenov <sposelenov@emcraft.com>
  */
 
-#include <common.h>
+#include <config.h>
 
 /*
  * FPU test
index 891aa95685fe8f2256c528a63024d933ce5983bb..6b86e55e409e26448af34b43d800cdfc182fcf4f 100644 (file)
@@ -9,7 +9,7 @@
  * numbers) are rounded to within 0.5 ulp.  PR other/14354.
  */
 
-#include <common.h>
+#include <config.h>
 
 #include <post.h>
 
index e4ac6bf186f9e5db6a13d7d288baab740b62905c..0a2a4222846c39485348880c966c9c32521dfb8a 100644 (file)
@@ -4,7 +4,7 @@
  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  */
 
-#include <common.h>
+#include <config.h>
 #include <irq_func.h>
 
 /*
index 4df45790ab65d0e95e91371ac7539aff680042b8..6f991443741c72bb110ff6c1b2a06f67c9ca94f1 100644 (file)
@@ -4,7 +4,7 @@
  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  */
 
-#include <common.h>
+#include <config.h>
 #include <irq_func.h>
 #include <log.h>
 
index da2191322570f32eb65fa6c2fc539edaa99e8e38..35a9e9b83bf07bd17f0648b2e0bfdf57b70d7963 100644 (file)
@@ -4,7 +4,7 @@
  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  */
 
-#include <common.h>
+#include <config.h>
 #include <irq_func.h>
 
 /*
index b0b976f98af44b847c0d313e92d0f1ebb25f53b2..2995eb358ef4d17d8433a0982461ceeae42dd0fd 100644 (file)
@@ -4,7 +4,7 @@
  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  */
 
-#include <common.h>
+#include <config.h>
 #include <irq_func.h>
 
 /*
index 22cd4568fc88f12f3ed31b42bef61ddb56aaec14..3ba3a7607ab3961c3751800dbfc981ff61a95acb 100644 (file)
@@ -4,7 +4,7 @@
  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  */
 
-#include <common.h>
+#include <config.h>
 #include <irq_func.h>
 
 /*
index a103df75eb1ab80e8345b616e4015b792ed0b84b..bd59ac4f36b5c14feaf8aa8ee30bbe9fbd110865 100644 (file)
@@ -4,7 +4,7 @@
  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  */
 
-#include <common.h>
+#include <config.h>
 #include <irq_func.h>
 
 /*
index 71a4b6aba431b93733cfe15b5efa535939391b2c..470ea37e77d0f7555f4b4d9b7805548ff10b1e55 100644 (file)
@@ -4,7 +4,7 @@
  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  */
 
-#include <common.h>
+#include <config.h>
 #include <irq_func.h>
 
 /*
index 21e02bcb2664462fd01589152989c859eb524e4f..c4ea5cf9ba9d0a565eb25b273651772db7822849 100644 (file)
@@ -4,7 +4,7 @@
  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  */
 
-#include <common.h>
+#include <config.h>
 #include <irq_func.h>
 
 /*
index 68339b05ef27b722473c67a207e0c06069620f5a..e65d7f023f9574753afb9964a70edff5e2d21a39 100644 (file)
@@ -4,7 +4,7 @@
  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  */
 
-#include <common.h>
+#include <config.h>
 #include <irq_func.h>
 
 /*
index 885dd8cb095ec62f47ab0e337cbb7916cfa3901a..0c3a2e6674b87b245c514472725e60959fb5c11c 100644 (file)
@@ -4,7 +4,7 @@
  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  */
 
-#include <common.h>
+#include <config.h>
 #include <irq_func.h>
 
 /*
index 62ac713ecff7fef0fb3899a34f8fe2940ae4b0c1..24ebc98d48df50a57b21f826ac04825525081282 100644 (file)
@@ -4,7 +4,7 @@
  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  */
 
-#include <common.h>
+#include <config.h>
 #include <irq_func.h>
 
 /*
index 7985669ba6eb7a02e6cebaca1940017dc820a38f..28c70ec889775ebf4c8555d92e2f9d083484928e 100644 (file)
@@ -4,7 +4,7 @@
  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  */
 
-#include <common.h>
+#include <config.h>
 #include <irq_func.h>
 
 /*
index 33d1a1d8d91df4d17cf5f5d3c9e8ef2680727e9e..7f6a898d63972b0cc3fa23d9f33e4490f8aac1bb 100644 (file)
@@ -4,7 +4,7 @@
  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  */
 
-#include <common.h>
+#include <config.h>
 #include <irq_func.h>
 
 /*
index 946d9094d451fab9116fbc4d93061988fd985273..705f94ccc9190f9165e31e002fcaafdc9edf634a 100644 (file)
@@ -4,7 +4,7 @@
  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  */
 
-#include <common.h>
+#include <config.h>
 #include <bootstage.h>
 #include <env.h>
 #include <log.h>
index 8cea428fcdc71f76b6e6e028bc7a1c32a83ddebe..208710a48ba7ceed911a43a271d35876ed7a70b5 100644 (file)
@@ -4,7 +4,8 @@
  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  */
 
-#include <common.h>
+#include <config.h>
+#include <linux/kernel.h>
 
 #include <post.h>
 
index 8208ffe2274411ccd89b6288e016f45afe7379aa..b42f9b525feab8fa0dbfeb4183c8cd0546ffa9ab 100644 (file)
@@ -45,7 +45,7 @@ c_flags := $(KBUILD_CFLAGS) $(KBUILD_CPPFLAGS) $(PLATFORM_CPPFLAGS) \
 
 quiet_cmd_autoconf_dep = GEN     $@
       cmd_autoconf_dep = $(CC) -x c -DDO_DEPS_ONLY -M -MP $(c_flags) \
-       -MQ include/config/auto.conf $(srctree)/include/common.h > $@ || {      \
+       -MQ include/config/auto.conf include/config.h > $@ || { \
                rm $@; false;                                                   \
        }
 include/autoconf.mk.dep: include/config.h FORCE
@@ -70,7 +70,7 @@ quiet_cmd_autoconf = GEN     $@
 
 quiet_cmd_u_boot_cfg = CFG     $@
       cmd_u_boot_cfg = \
-       $(CPP) $(c_flags) $2 -DDO_DEPS_ONLY -dM $(srctree)/include/common.h > $@.tmp && { \
+       $(CPP) $(c_flags) $2 -DDO_DEPS_ONLY -dM include/config.h > $@.tmp && { \
                grep 'define CONFIG_' $@.tmp | \
                        sed '/define CONFIG_IS_ENABLED(/d;/define CONFIG_IF_ENABLED_INT(/d;/define CONFIG_VAL(/d;' > $@; \
                rm $@.tmp;                                              \
index d0864804aafba12454bf1241d5cbcdb94d0b05a4..13f670ae0ef047febafe0194debcfcb65b7594d5 100755 (executable)
@@ -10,6 +10,6 @@
 
 set -e
 
-echo '#include <common.h>'
+echo '#include <linux/compiler.h>'
 $@ 2>/dev/null | grep -oe '_u_boot_list_2_[a-zA-Z0-9_]*_2_[a-zA-Z0-9_]*' | \
        sort -u | sed -e 's/^\(.*\)/extern char \1[];\n__ADDRESSABLE(\1);/'
index 1c60bbac36c3a8e05de3cb36ef86732102899846..7c63682908a579c6427ecdfd9ccd4241f2afc71f 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (c) 2018, Google Inc. All rights reserved.
  */
 
-#include <common.h>
 #include <bloblist.h>
 #include <log.h>
 #include <mapmem.h>
index 0702fccdae60077cf9635b6584085f39b495e3c6..6e940002f8484c489b5bb7340a2893a45448f801 100644 (file)
@@ -6,7 +6,6 @@
  * Written by Simon Glass <sjg@chromium.org>
  */
 
-#include <common.h>
 #include <bootstd.h>
 #include <dm.h>
 #include <bootdev.h>
index 674d4c05f83fd7ae5ab72d29e829ef079830d61d..4511cfa7f9bf77eddcf53a5a65a0180a3722dc83 100644 (file)
@@ -6,7 +6,6 @@
  * Written by Simon Glass <sjg@chromium.org>
  */
 
-#include <common.h>
 #include <bootdev.h>
 #include <bootflow.h>
 #include <bootmeth.h>
index e498eee036eb993c6bea5601f8daf9ff207c5943..113b789ea7936babc6e8d2a449afcd01fa225a3c 100644 (file)
@@ -6,7 +6,6 @@
  * Written by Simon Glass <sjg@chromium.org>
  */
 
-#include <common.h>
 #include <bootmeth.h>
 #include <bootstd.h>
 #include <dm.h>
index cc97e255e5cb08052af42564a1790d63ec96fbef..e50539500a02f5a96222165e1ab8cff670af7d2e 100644 (file)
@@ -6,7 +6,6 @@
  * Written by Simon Glass <sjg@chromium.org>
  */
 
-#include <common.h>
 #include <bootdev.h>
 #include <bootstd.h>
 #include <dm.h>
index aa4171904864529e3358faf7cc61d624d94146de..fd19da0a0c0fcd4208d7772f7176fb14da0d77fa 100644 (file)
@@ -4,7 +4,6 @@
  * Written by Simon Glass <sjg@chromium.org>
  */
 
-#include <common.h>
 #include <cedit.h>
 #include <env.h>
 #include <expo.h>
index 714fdfa415d10c0dc8f95eff061be2ad5455da17..6ea0184373d5016bc5fa3e7530e74b114978d287 100644 (file)
@@ -4,7 +4,6 @@
  * Written by Simon Glass <sjg@chromium.org>
  */
 
-#include <common.h>
 #include <command.h>
 #include <dm.h>
 #include <expo.h>
index 2844b057859ef706410c8d19ce1173cb3d1d6773..0894e30587f173f22925769c669fec671a055aa3 100644 (file)
@@ -6,7 +6,6 @@
  * Written by Simon Glass <sjg@chromium.org>
  */
 
-#include <common.h>
 #include <image.h>
 #include <test/suites.h>
 #include <test/ut.h>
index 9db2ed324c2aa85b01c6ec5db2daee30d6c4ad87..29be495412d3b3e1d3f27c3da2f7ee5fa585571f 100644 (file)
@@ -6,7 +6,6 @@
  * Written by Eddie James <eajames@linux.ibm.com>
  */
 
-#include <common.h>
 #include <bootm.h>
 #include <malloc.h>
 #include <test/suites.h>
index eba5c4ebe6c0355c3576012686a2958e3f297bb5..540816e42b000c3b8b98c0a02b8f7079199e115c 100644 (file)
@@ -6,7 +6,6 @@
  * Written by Simon Glass <sjg@chromium.org>
  */
 
-#include <common.h>
 #include <dm/ofnode.h>
 #include <linux/libfdt.h>
 #include <test/test.h>
index 5e61840652cf365d2b0e1f80364d2a0e410960d9..3672b744e5fb729e56a0a276a70ca4d4531dbd02 100644 (file)
@@ -6,7 +6,6 @@
  * Written by Simon Glass <sjg@chromium.org>
  */
 
-#include <common.h>
 #include <bootmeth.h>
 #include <dm.h>
 #include <image.h>
index 4bb3ca0655cf8b0a7c5bb8ecd5297b90eb814aae..26c15552bf63569cc2d69dbac9d76015e447709e 100644 (file)
@@ -5,7 +5,6 @@
  * Copyright 2020 Google LLC
  */
 
-#include <common.h>
 #include <bootm.h>
 #include <asm/global_data.h>
 #include <test/suites.h>
index 1eb5955db1726ab46cb470c69581071bcf490efd..7b8f49fd3751abd1e84936525d96b397fa59a104 100644 (file)
@@ -5,7 +5,6 @@
  * Copyright (C) 2021, Bin Meng <bmeng.cn@gmail.com>
  */
 
-#include <common.h>
 #include <console.h>
 #include <test/suites.h>
 #include <test/ut.h>
index 9a44a397e8a0148213e1839604f6a730de8b96b8..38f40b72f5e4cc0b8407e59582632a5d29e662b5 100644 (file)
@@ -8,7 +8,6 @@
  *   Abdellatif El Khlifi <abdellatif.elkhlifi@arm.com>
  */
 
-#include <common.h>
 #include <string.h>
 #include <asm/sandbox_arm_ffa.h>
 #include <dm/test.h>
index 4977d01f62d615507d35d2d3f0577fa683b13746..027848c3e24c0f5736e9d3919e54ffe5ca8056aa 100644 (file)
@@ -5,7 +5,6 @@
  * Copyright 2023 Marek Vasut <marek.vasut+renesas@mailbox.org>
  */
 
-#include <common.h>
 #include <console.h>
 #include <mapmem.h>
 #include <asm/global_data.h>
index 7e160f7e4bb79b9d0cfaac8427c8c7eaad7751fa..d310ec8531be1269e198088e84cf78e7d0e32b41 100644 (file)
@@ -5,7 +5,6 @@
  * Copyright 2022 Marek Vasut <marex@denx.de>
  */
 
-#include <common.h>
 #include <console.h>
 #include <mapmem.h>
 #include <asm/global_data.h>
index 5470855217586452172a4c6515dc48b188f6d886..a0faf5aca904b7ae468c6048a264873874211479 100644 (file)
@@ -5,7 +5,6 @@
  * Copyright 2022 Google LLC
  */
 
-#include <common.h>
 #include <console.h>
 #include <fdt_support.h>
 #include <mapmem.h>
index 1fe05c1ead51b87971a92db2416d674f064a2bd8..a8905ce617e828945ea61947fe55c4ae9f790ada 100644 (file)
@@ -5,7 +5,6 @@
  * Copyright 2022 Google LLC
  */
 
-#include <common.h>
 #include <console.h>
 #include <dm.h>
 #include <video_console.h>
index 06517fcdbb518cd22c757b7f47825f883245d898..6964bfa9e1ece15b077260c9b78cafa38ac7a2d2 100644 (file)
@@ -6,7 +6,6 @@
  * Written by Simon Glass <sjg@chromium.org>
  */
 
-#include <common.h>
 #include <cli.h>
 #include <command.h>
 #include <test/lib.h>
index 41e005ac59236407c3accaacf832e3513a2d9df8..dff8a97d1396d5f000b815711b591d6085a158c8 100644 (file)
@@ -9,7 +9,6 @@
  *   Rui Miguel Silva <rui.silva@linaro.org>
  */
 
-#include <common.h>
 #include <console.h>
 #include <mapmem.h>
 #include <asm/global_data.h>
index d76f47cf3115297bff68dc01faeb0e5028ff01c3..f1bbab6055be05444809b98a63032a336409d241 100644 (file)
@@ -5,7 +5,6 @@
  * Copyright 2020 Google LLC
  */
 
-#include <common.h>
 #include <command.h>
 #include <test/suites.h>
 #include <test/test.h>
index f80c9c406873f243ffe85931fb9e6be163684a95..55ad2fac1e340c9a9729078ae927fdaf359949f7 100644 (file)
@@ -6,7 +6,6 @@
  * Written by Simon Glass <sjg@chromium.org>
  */
 
-#include <common.h>
 #include <console.h>
 #include <mapmem.h>
 #include <dm/test.h>
index fd96f4fba6c464166e5824b0393e4fa591faf3e7..2a64143eecd30ecef06b168ee6303673ae01494b 100644 (file)
@@ -7,7 +7,6 @@
  * Written by Stephen Carlson <stcarlso@linux.microsoft.com>
  */
 
-#include <common.h>
 #include <console.h>
 #include <test/suites.h>
 #include <test/ut.h>
index df40bb77435542adadd5547d66cf635b0c61ef32..4253baa56466cbe7ed800a7b20cf686da27d4240 100644 (file)
@@ -5,7 +5,6 @@
  * Copyright (C) 2021, STMicroelectronics - All Rights Reserved
  */
 
-#include <common.h>
 #include <command.h>
 #include <dm.h>
 #include <dm/test.h>
index 98302bf047b15ab4910ff98d06f98a2bba25406c..edd762e4d58f6f90867a9f936c21621f3c5c5f40 100644 (file)
@@ -3,7 +3,6 @@
  * Tests for read and write commands
  */
 
-#include <common.h>
 #include <dm/test.h>
 #include <mapmem.h>
 #include <part.h>
index b1b56930c64645f891dee3788d0b25e1dcdf42e3..b60f6550b13c9b3403945196d2369254ff14927b 100644 (file)
@@ -5,7 +5,6 @@
  * Copyright (C) 2021 Linus Walleij <linus.walleij@linaro.org>
  */
 
-#include <common.h>
 #include <command.h>
 #include <dm.h>
 #include <test/suites.h>
index ee329e94b85b43f5b13d977d48fb4d03510e0d4a..d50ce5803c39927e408186e621162ff8b9ace206 100644 (file)
@@ -6,7 +6,6 @@
  * Written by Simon Glass <sjg@chromium.org>
  */
 
-#include <common.h>
 #include <console.h>
 #include <mapmem.h>
 #include <dm/test.h>
index 2a1ea0611dc453be95aa5f5484adac1551e62e04..364972626b1fe2fdc6bc3a327f3be63700a76304 100644 (file)
@@ -5,7 +5,6 @@
  * Copyright (C) 2022 Sartura Ltd.
  */
 
-#include <common.h>
 #include <command.h>
 #include <dm.h>
 #include <dm/test.h>
index 091e4f823c9081605ff27cf11029d0cb9fe90a70..cde74ebeb616228ce96a652da575019506fe0653 100644 (file)
@@ -5,7 +5,6 @@
  * Copyright 2020, Heinrich Schuchadt <xypron.glpk@gmx.de>
  */
 
-#include <common.h>
 #include <command.h>
 #include <asm/global_data.h>
 #include <display_options.h>
index 2b85cce327100a6f5ca8e2f9c9c43ab9bc2563d3..3703290350b384a534135bf0621ee110bcf51369 100644 (file)
@@ -5,7 +5,6 @@
  * Copyright 2022, Samuel Dionne-Riel <samuel@dionne-riel.com>
  */
 
-#include <common.h>
 #include <asm/global_data.h>
 #include <test/lib.h>
 #include <test/ut.h>
index ed83fc94a5e21522b54c14b46f1b81a0201ad32e..356a4dcd8fadbf0e7b69f46b144f395d20a6952c 100644 (file)
@@ -6,7 +6,6 @@
  * Ying-Chun Liu (PaulLiu) <paul.liu@linaro.org>
  */
 
-#include <common.h>
 #include <command.h>
 #include <dm.h>
 #include <env.h>
index 0677ce0cd1741fd81c597f13ebcb6a3dbdbb02ff..4e4aa8f1cb2702bbdac21493e7c17f4a42bb1dfb 100644 (file)
@@ -4,9 +4,9 @@
  * Joe Hershberger, National Instruments, joe.hershberger@ni.com
  */
 
-#include <common.h>
 #include <command.h>
 #include <console.h>
+#include <vsprintf.h>
 #include <test/suites.h>
 #include <test/test.h>
 #include <test/ut.h>
index a74bd109e153edcd68160660fee2d777be7daa09..2b8d28d7ae325d7bd6ec9b001ccb1b372e6a9e2c 100644 (file)
@@ -5,7 +5,6 @@
 
 #define DEBUG
 
-#include <common.h>
 #include <command.h>
 #include <env.h>
 #include <log.h>
index 2c0267801b239bf13d97e591660b6e80c9c06284..2f03a58af47c210e84eb646236c6cab41e3d0d42 100644 (file)
@@ -6,7 +6,6 @@
  * Unit tests for common functions
  */
 
-#include <common.h>
 #include <command.h>
 #include <test/common.h>
 #include <test/suites.h>
index 4edc77396043cf60476174971156cf99f41bcad8..e159caed04196e5096e802451cfddb0f8b1540a3 100644 (file)
@@ -3,8 +3,8 @@
  * Copyright 2023 Google LLC
  */
 
-#include <common.h>
 #include <cli.h>
+#include <time.h>
 #include <test/common.h>
 #include <test/test.h>
 #include <test/ut.h>
index 6e758e89dbdb456b366385d581d51d52f6731067..461f8cf91f45ed0e530e8648f91fc946b663bca0 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2022 Stefan Roese <sr@denx.de>
  */
 
-#include <common.h>
 #include <cyclic.h>
 #include <dm.h>
 #include <test/common.h>
index b462694fc3b6973f68ad430eca8a09d6515758d7..de433d34f22b0452c7c734ecd4ffe6b53b72adf0 100644 (file)
@@ -6,7 +6,6 @@
  * Written by Simon Glass <sjg@chromium.org>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <event.h>
 #include <test/common.h>
index 42a1e4ab1fa0ae39b114061e690a0d5b3f20b2e5..4ba1dcc8091c2f036c12f419dd6f2cb5c88a06b5 100644 (file)
@@ -6,7 +6,6 @@
  */
 
 #include <autoboot.h>
-#include <common.h>
 #include <test/common.h>
 #include <test/test.h>
 #include <test/ut.h>
index 3df90819a1fb7611c32448e9f563ed7fa5cd46b4..aa1d38bb7bc53b6124e6955c5e725f49b216a3e1 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (c) 2013, The Chromium Authors
  */
 
-#include <common.h>
 #include <abuf.h>
 #include <bootm.h>
 #include <command.h>
index f14b3962f8457494081e3c3ca643262a11742cb6..4db2171a4b170e63789ef6903c8f5431fc894885 100644 (file)
@@ -6,7 +6,6 @@
  * Written by Simon Glass <sjg@chromium.org>
  */
 
-#include <common.h>
 #include <console.h>
 #include <dm.h>
 #include <malloc.h>
index 44bcabda6bc12083559c1cf0ba4220262997113d..87bd8ae6749b717c9e0b0c8bdf4aa27c7030b310 100644 (file)
@@ -6,7 +6,6 @@
  * Written by Simon Glass <sjg@chromium.org>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <uuid.h>
 #include <acpi/acpigen.h>
index 15b2b6f64a0316a585b9b48d71e122eccb12b6d1..7113219792e602504f3677a707b7de36ce1025a9 100644 (file)
@@ -6,7 +6,6 @@
  * Written by Simon Glass <sjg@chromium.org>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <irq.h>
 #include <malloc.h>
index 740167e16b8edf4c335e95f8d94c69d16d01ebc6..a26a677074a4dce5c83e2c293964a3d97476ca66 100644 (file)
@@ -6,7 +6,6 @@
  * Przemyslaw Marczak <p.marczak@samsung.com>
  */
 
-#include <common.h>
 #include <adc.h>
 #include <dm.h>
 #include <dm/root.h>
index add15ae20e00e8f6487681c515eecd65b732ce38..3d1d821f3234b94893559444e2e8f26ce0b00e06 100644 (file)
@@ -4,7 +4,6 @@
  * Written by Simon Glass <sjg@chromium.org>
  */
 
-#include <common.h>
 #include <audio_codec.h>
 #include <dm.h>
 #include <dm/test.h>
index dc029df5e44373eddb04249f9b537a2281c2e5fc..0900a9b5485e213fd5773d4517ca6f9ed249f689 100644 (file)
@@ -4,7 +4,6 @@
  * Mario Six, Guntermann & Drunck GmbH, mario.six@gdsys.cc
  */
 
-#include <common.h>
 #include <axi.h>
 #include <dm.h>
 #include <log.h>
index 799f1e4dc75b27aacc356b6a7bddb41c8cd2b993..d03aec32f6c73b1815b083081b076cc1ed6a20bc 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2015 Google, Inc
  */
 
-#include <common.h>
 #include <blk.h>
 #include <dm.h>
 #include <part.h>
index 7a163d6eaef2e682b3acc02d2e44d339b4dad79c..7581e62df3bb1b5d34cd5ad0073398b040a8983f 100644 (file)
@@ -4,7 +4,6 @@
  * Author: Tobias Waldekranz <tobias@waldekranz.com>
  */
 
-#include <common.h>
 #include <blk.h>
 #include <blkmap.h>
 #include <dm.h>
index b77b472d1f2635ea7b577c9fff8bd169c7a49d07..9cfc7d48aac0e77c828364b255daab14bf0b67d4 100644 (file)
@@ -3,7 +3,6 @@
  * (C) 2018 Theobroma Systems Design und Consulting GmbH
  */
 
-#include <common.h>
 #include <dm.h>
 #include <bootcount.h>
 #include <log.h>
index 89a6aa6554cbbfd9d0f571dcd659b3ed9644ff14..a338c7f567c1183a622d9125d6be7ca3ff938561 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (c) 2014 Google, Inc
  */
 
-#include <common.h>
 #ifdef CONFIG_SANDBOX
 #include <log.h>
 #include <os.h>
index 830d96fbef345c5cdc4cff5294e0181d9e43217a..9157ec928783d84de929a6884e35189c89d2c7c6 100644 (file)
@@ -5,7 +5,6 @@
  * Based on led.c
  */
 
-#include <common.h>
 #include <dm.h>
 #include <adc.h>
 #include <button.h>
index bbd8f98d007b04a6467f9376842aa837133bc628..d2f3bfe2caf326c94abd0b28772c8a259a193046 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2019 Intel Corporation <www.intel.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <dm/test.h>
 
index 57fabbdce08b31a15506870c2466105ab8fa72e3..a966471dbd9621284675ea495cd8e99e440a9274 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2015 Google, Inc
  */
 
-#include <common.h>
 #include <clk.h>
 #include <dm.h>
 #include <log.h>
index 61dad8d85273e9547e52d19956cdaa7294375135..15fba31b962fed37c3c17f275e38df2495780681 100644 (file)
@@ -4,7 +4,6 @@
  * Lukasz Majewski, DENX Software Engineering, lukma@denx.de
  */
 
-#include <common.h>
 #include <clk.h>
 #include <dm.h>
 #include <asm/clk.h>
index 7f3f8d183bca4af336e60c32ad380e7d166f9d88..4741c81bcc1d6ae392c1bed14ba5713ba0ea5f0d 100644 (file)
@@ -5,7 +5,6 @@
  * Copyright (c) 2013 Google, Inc
  */
 
-#include <common.h>
 #include <errno.h>
 #include <dm.h>
 #include <fdtdec.h>
index 5734cd0a92d3ff0325fde323c533b9d19f40faca..acba810599666944682ee0bd8f10d545325632e5 100644 (file)
@@ -4,7 +4,6 @@
  * Mario Six, Guntermann & Drunck GmbH, mario.six@gdsys.cc
  */
 
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <dm/test.h>
index 30cb70e08826ab7f02872e16b1a4ed00467f30fc..ac0055f0acd6ef4671345573028a3fc9f3a5771e 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright 2021 Google LLC
  */
 
-#include <common.h>
 #include <cros_ec.h>
 #include <dm.h>
 #include <asm/test.h>
index f8d6e1e6c40f0150bf7d263e46310989483e5195..f68ee6f33b8ce95bbd5ded6c63027f153f2ce959 100644 (file)
@@ -1,6 +1,5 @@
 // SPDX-License-Identifier: GPL-2.0+
 
-#include <common.h>
 #include <cros_ec.h>
 #include <dm.h>
 #include <pwm.h>
index 3df0f64362dc6c35aeaa3bb763327b9109b05bfa..95a470b9f1c128a94b4cae0fdd54175d78c67cc1 100644 (file)
@@ -5,7 +5,6 @@
  * Copyright 2019 Google LLC
  */
 
-#include <common.h>
 #include <errno.h>
 #include <dm.h>
 #include <log.h>
index cce47cb218039649519435c23b8a1a8e6c1232c4..949710fdb4e3cdc399366b16961fdd4d6acb6716 100644 (file)
@@ -6,7 +6,6 @@
  * Grygorii Strashko <grygorii.strashko@ti.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <malloc.h>
 #include <dm/test.h>
index 6e0a5df704f583724b58915ea49e045d8faec472..68686a40d9f9a45ab42ed658613fa1d508931261 100644 (file)
@@ -4,7 +4,6 @@
  * Author(s): Yannick Fertre <yannick.fertre@st.com> for STMicroelectronics.
  */
 
-#include <common.h>
 #include <dm.h>
 #include <dsi_host.h>
 #include <asm/state.h>
index e343a0e9c85de0473ba3c9c3f4aeecb8a458d7d3..9d0ed0f075513675046bbc1593edd7c79486e50c 100644 (file)
@@ -5,7 +5,6 @@
  * Copyright 2021 Google LLC
  */
 
-#include <common.h>
 #include <dm.h>
 #include <asm/test.h>
 #include <dm/test.h>
index bb3dcc6b9540c5b1de7c3542e562e16c1dd9653c..820b8cbfc29d29aab0448602567fc1259abd799b 100644 (file)
@@ -6,7 +6,6 @@
  * Joe Hershberger <joe.hershberger@ni.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <env.h>
 #include <fdtdec.h>
index 758538d0e85e5a501ccb83c099cecc50d5ea9028..5d938eb7f121ac3a843b6cb069a26cc0f3848965 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2015 Google, Inc
  */
 
-#include <common.h>
 #include <dm.h>
 #include <fastboot.h>
 #include <fb_mmc.h>
index 087d4846da89a082b7c4ba726cfbe577dd8e54b5..b484414f5f07fd18d9771d385aa585081f3a927f 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright 2020 NXP
  */
 
-#include <common.h>
 #include <dm.h>
 #include <asm/global_data.h>
 #include <dm/of_extra.h>
index 6912666bb465a90724c475fdd4f7dd2bbb68b9d6..fa6d54d00d616a4c6760862b42db9ae82c6917b1 100644 (file)
@@ -8,7 +8,6 @@
  *   Abdellatif El Khlifi <abdellatif.elkhlifi@arm.com>
  */
 
-#include <common.h>
 #include <console.h>
 #include <dm.h>
 #include <asm/sandbox_arm_ffa.h>
index f37bccfe4a83336c2e72968fd326cd16fcbb616f..ec68e816999db6baba4242c6efcef3bf879fff9c 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2018 Xilinx, Inc.
  */
 
-#include <common.h>
 #include <dm.h>
 #include <syscon.h>
 #include <asm/test.h>
index 52018f610fe4764f2655f314069578ebd32489b5..43ce3d0a9d874c1e8003de30a67e06d57abb7809 100644 (file)
@@ -5,7 +5,6 @@
  */
 
 #include <blk.h>
-#include <common.h>
 #include <dm.h>
 #include <fwu.h>
 #include <fwu_mdata.h>
index 0d88ec24bda226da95f61909f22f31eb99fa1868..957ab25c8d34219e04c780240e37713ef3f145e2 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2013 Google, Inc
  */
 
-#include <common.h>
 #include <fdtdec.h>
 #include <dm.h>
 #include <log.h>
index ca05a36b3136fbb6e6edb8a40b2b1bec6cfb3e5d..e514f8409cf6e42f6e287c8d307c2104971c53fe 100644 (file)
@@ -4,7 +4,6 @@
  * Written by Simon Glass <sjg@chromium.org>
  */
 
-#include <common.h>
 #include <blk.h>
 #include <dm.h>
 #include <fs.h>
index 995759d4d7e2c0ce17dec42436664129f318a1dc..a05b183b8bc1e00fcb7f9bb240eeb8302c83ef99 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2018, STMicroelectronics - All Rights Reserved
  */
 
-#include <common.h>
 #include <dm.h>
 #include <hwspinlock.h>
 #include <asm/state.h>
index b46a22e79b140509eb2928c7797620f89d901d7b..e9cf9f7819a73cadb9940e86c2289eff937adadb 100644 (file)
@@ -5,7 +5,6 @@
  * Note: Test coverage does not include 10-bit addressing
  */
 
-#include <common.h>
 #include <dm.h>
 #include <fdtdec.h>
 #include <i2c.h>
index c2bf4d5604b96757d1bc271cc65e75183adb343a..a3d3a31b6fbc38fc8577ab61edf0d43e608a125c 100644 (file)
@@ -4,7 +4,6 @@
  * Written by Simon Glass <sjg@chromium.org>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <i2s.h>
 #include <asm/test.h>
index 62d38f1214ac7fee52b6adc1330456b095ffa3eb..acea5f289715c18f0781f439816ab4fef9805d92 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2021 Mark Kettenis <kettenis@openbsd.org>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <dm/test.h>
 #include <dm/uclass-internal.h>
index 51dd5e4abb413acb415a9c38523fb4eaaeaddf1f..d22772ab769331835e9dce4fa70e17269e056413 100644 (file)
@@ -5,7 +5,6 @@
  * Copyright 2019 Google LLC
  */
 
-#include <common.h>
 #include <dm.h>
 #include <irq.h>
 #include <acpi/acpi_device.h>
index 354720f61e2f09fa3fee2d1a98cef3f107aaa005..2a581499634d3284660881e15bd4b1b6f15cf17b 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2020 Sean Anderson <seanga2@gmail.com>
  */
 
-#include <common.h>
 /* For DIV_ROUND_DOWN_ULL, defined in linux/kernel.h */
 #include <div64.h>
 #include <dm/test.h>
index eed3f4654c568aba8c1d9abdf4ec03f066875605..c28fa044f459777fb371d2e1e5c951992b6e2064 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2015 Google, Inc
  */
 
-#include <common.h>
 #include <dm.h>
 #include <led.h>
 #include <asm/gpio.h>
index 7ad8a1cbba282e482bdfd6d2972aa00f4ebcdca4..14f72d58d1cf2fc53119f73edd56accac8bd00a3 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (c) 2016, NVIDIA CORPORATION.
  */
 
-#include <common.h>
 #include <dm.h>
 #include <malloc.h>
 #include <dm/test.h>
index f863c52645b257bf6fcf3273906eb71c1c791b87..7ececf37ccc02193ba2566f2cdba830958e56a22 100644 (file)
@@ -4,7 +4,6 @@
  * Alex Marginean, NXP
  */
 
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <miiphy.h>
index bfe3518221f4742b008e484384c314649136e6ee..33a7e9726094042a81596a8cede26a34f4db0d9a 100644 (file)
@@ -4,7 +4,6 @@
  * Alex Marginean, NXP
  */
 
-#include <common.h>
 #include <dm.h>
 #include <miiphy.h>
 #include <misc.h>
index 8bdd8c64bca2bd411efac6148b2f37aa7caec7d4..ad856fd01b6de4f286d0e25b19477f231798efb1 100644 (file)
@@ -4,7 +4,6 @@
  * Mario Six, Guntermann & Drunck GmbH, mario.six@gdsys.cc
  */
 
-#include <common.h>
 #include <dm.h>
 #include <dm/test.h>
 #include <misc.h>
index b1eb8bee2f9d5e56fa1e2ead2d8e184c108a8587..c0abea797d9def52a3780d34ddcc6320b04f4459 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2015 Google, Inc
  */
 
-#include <common.h>
 #include <dm.h>
 #include <mmc.h>
 #include <part.h>
index 11c237b5da904acf8b02c537e6e3420ef228d7c4..d4bb8befa3842e997cd34287e07bb285a08e5882 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2020 Texas Instruments Inc.
  * Pratyush Yadav <p.yadav@ti.com>
  */
-#include <common.h>
 #include <dm.h>
 #include <mux.h>
 #include <mux-internal.h>
@@ -13,6 +12,7 @@
 #include <test/ut.h>
 #include <console.h>
 #include <rand.h>
+#include <time.h>
 
 #define BUF_SIZE               256
 
index c6aeeb7e1f1b895bef82c6bed52083eaf3e4a6d9..febd521104afe814fd7fcaff670c58fd5f96621f 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2020 Texas Instruments Incorporated - https://www.ti.com/
  * Pratyush Yadav <p.yadav@ti.com>
  */
-#include <common.h>
 #include <dm.h>
 #include <mux.h>
 #include <mux-internal.h>
index 27c881dabde2abe3a70df0999dda19acb0f6ef92..3a871a19c7e277d0fdd23801e9a41743fb6bff69 100644 (file)
@@ -4,7 +4,6 @@
  * Jean-Jacques Hiblot <jjhiblot@ti.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <mux.h>
 #include <regmap.h>
index f7d9a0f3df35fd265b3ee7818f4945568bac30f0..0c79431d9d80226aea8047b88622d5715d83ac95 100644 (file)
@@ -6,7 +6,6 @@
  * Jean-Jacques Hiblot <jjhiblot@ti.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <dm/ofnode.h>
 #include <dm/lists.h>
index f0ad47d4efe9313e480154f1da5e34c06db40eb4..537959a0930caf8d76f15075470910e7b3ffd23e 100644 (file)
@@ -8,7 +8,6 @@
  *   Abdellatif El Khlifi <abdellatif.elkhlifi@arm.com>
  */
 
-#include <common.h>
 #include <blk.h>
 #include <console.h>
 #include <dm.h>
index ac2d886892d9bbd4afd75c7cebd14133fbc4e765..3c31bfcd31f99f1c47a29bddfa6519a5a7bc489a 100644 (file)
@@ -4,7 +4,6 @@
  * Written by Simon Glass <sjg@chromium.org>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <dm/of_extra.h>
 #include <dm/test.h>
index a241c42793671de65db6e836417ab403bd2fb0ac..d4939e88516272ef6cba47f442b8d35778b5221a 100644 (file)
@@ -1,6 +1,5 @@
 // SPDX-License-Identifier: GPL-2.0+
 
-#include <common.h>
 #include <clk.h>
 #include <dm.h>
 #include <dt-structs.h>
index a5bc43aea4e76148bef524d89c382801051ea143..39191d7f52b553f635ab20d99b0d3360bed57832 100644 (file)
@@ -16,7 +16,6 @@
  * behaviour of each ofnode function, since that is done by the normal ones.
  */
 
-#include <common.h>
 #include <abuf.h>
 #include <dm.h>
 #include <log.h>
index 3523860d2b312ad788209dfc290ef37e20bc2fea..69d03c4910738e8f01682098ea0ca816a7a158bf 100644 (file)
@@ -1,6 +1,5 @@
 // SPDX-License-Identifier: GPL-2.0+
 
-#include <common.h>
 #include <dm.h>
 #include <dm/test.h>
 #include <test/ut.h>
index 6279b391ca5e9a40f81e42dbbd7d93847c927f58..cf4a3a545ed0c827c9f713ac3a8278bbc239c24b 100644 (file)
@@ -4,7 +4,6 @@
  * Mario Six, Guntermann & Drunck GmbH, mario.six@gdsys.cc
  */
 
-#include <common.h>
 #include <display_options.h>
 #include <dm.h>
 #include <video_osd.h>
index df24709141ad45599d01ea170c650805e24f7cdd..3ada1fcb3629e06f43f8199c749d3737092a7cc9 100644 (file)
@@ -5,7 +5,6 @@
  * Copyright 2019 Google LLC
  */
 
-#include <common.h>
 #include <dm.h>
 #include <p2sb.h>
 #include <asm/test.h>
index 4d435a0d255c097f743f83e6298342693a707a68..8be7c397a46219886d808dbbed80db07b248545f 100644 (file)
@@ -6,7 +6,6 @@
  * Written by Simon Glass <sjg@chromium.org>
  */
 
-#include <common.h>
 #include <backlight.h>
 #include <dm.h>
 #include <panel.h>
index d6e4345812748f6d12e85db8061dce47a2b9c7cd..cabb31d18ca04236eed1ffaf4288eafdebd4f741 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2020 Sean Anderson <sean.anderson@seco.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <mmc.h>
 #include <part.h>
index 53f7bbf180c9281a31e014bfd9875cdf5933a4ee..b37b856d5dacf862f403916a013e08af8aa506f4 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright 2018 Google LLC
  */
 
-#include <common.h>
 #include <dm.h>
 #include <pch.h>
 #include <asm/test.h>
index 8c5e7da9e62906a4ea39e084b1dbd1880adad559..9b97f2e0544f8d65f04fdfe7d682b0a96c6c5ea0 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2015 Google, Inc
  */
 
-#include <common.h>
 #include <dm.h>
 #include <asm/io.h>
 #include <asm/test.h>
index 9941abd4cebc9cbf531cd45178d7bdf0e29e51d6..e82fc53f84b1025599d5815663ccb5caf973893c 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2019 Ramon Fried
  */
 
-#include <common.h>
 #include <dm.h>
 #include <hexdump.h>
 #include <pci_ep.h>
index 0cf3689fdecbf649eaceb04ef094c6aec155e3f4..d14117f6f7a91f10d9e4d6dc3cde44d7e74d8381 100644 (file)
@@ -4,7 +4,6 @@
  * Written by Jean-Jacques Hiblot  <jjhiblot@ti.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <generic-phy.h>
 #include <log.h>
index 342f2fa8ebaa92553312d8f2cd656e012ad09c85..1ee2150482c6003aea12a52afd44ff15e0658ad6 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (c) 2020 Nicolas Saenz Julienne <nsaenzjulienne@suse.de>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <mapmem.h>
 #include <phys2bus.h>
index 6880b2d2cd9c970f542effdd66fc69a75da9c9eb..cfbe3ef5d1eb9fcce4be4cf92ccb88f21690b5f4 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2020 Sean Anderson <seanga2@gmail.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <dm/pinctrl.h>
 #include <dm/test.h>
index e70227e7800bac539475a05abf8c53e77f2dceff..bbad1ee2741916e1bc5ae5ca84095d8306cb723b 100644 (file)
@@ -5,7 +5,6 @@
  * Copyright 2019 Google LLC
  */
 
-#include <common.h>
 #include <dm.h>
 #include <power/acpi_pmc.h>
 #include <dm/test.h>
index ce671202fbc60eacaaaf12398f5ecc3eb99c66d8..53a6f0369e8701ed1e36b6dd1db179c61501d2ac 100644 (file)
@@ -6,7 +6,6 @@
  * Przemyslaw Marczak <p.marczak@samsung.com>
  */
 
-#include <common.h>
 #include <errno.h>
 #include <dm.h>
 #include <fdtdec.h>
index 8604b5d72dc0335f1601c4d8a4c32085e5412509..120a9059c8e6d7424afc13749e723829b4da3424 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (c) 2016, NVIDIA CORPORATION.
  */
 
-#include <common.h>
 #include <dm.h>
 #include <malloc.h>
 #include <dm/test.h>
index dff626c771ac468ac6e7771aa61cb0a18b9abc93..80133347ec73a9004b61ee501f6d7a9c7843bf8a 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2017 Google, Inc
  */
 
-#include <common.h>
 #include <dm.h>
 #include <pwm.h>
 #include <asm/test.h>
index f3f356898308e192b1a83f50cc9e51edabc1bef6..3c354163ef3b11c65bc174b494631a9c19ee5ff4 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright 2021 Asherah Connor <ashe@kivikakk.ee>
  */
 
-#include <common.h>
 #include <qfw.h>
 #include <dm.h>
 #include <asm/test.h>
index f624343138d6bd569df873d7079be21c08e84b80..188c7c327584f2d012a2d7f00178342ec0899522 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2015 Google, Inc
  */
 
-#include <common.h>
 #include <dm.h>
 #include <ram.h>
 #include <asm/global_data.h>
index 7768aa29688569fcece433ca434b6e259525e736..4ecf18110d0fba45b2e8a2786d5d473d82c11eb8 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (c) 2020 Nicolas Saenz Julienne <nsaenzjulienne@suse.de>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <dm/device.h>
 #include <dm/ofnode.h>
index fbb9c3a5426a638704a5ce1bb828fcc6b7553975..160b4da07f2029aaa8a50aa4e266d82aa86e047f 100644 (file)
@@ -3,7 +3,6 @@
  * (C) 2018 Theobroma Systems Design und Consulting GmbH
  */
 
-#include <common.h>
 #include <dm.h>
 #include <reboot-mode/reboot-mode.h>
 #include <env.h>
index 8560f2afc2d1ffee953c44b989d4b499644ea364..1398f8f6573ea15d5d7253ef68173dbd554bfbbf 100644 (file)
@@ -3,13 +3,13 @@
  * Copyright (C) 2015 Google, Inc
  */
 
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <mapmem.h>
 #include <regmap.h>
 #include <syscon.h>
 #include <rand.h>
+#include <time.h>
 #include <asm/test.h>
 #include <dm/test.h>
 #include <dm/devres.h>
index 86f4862d9dd07cecda929609617d609f10c0bfb2..9e45fd177b944bd8ff35388c8326af383126b977 100644 (file)
@@ -6,7 +6,6 @@
  * Przemyslaw Marczak <p.marczak@samsung.com>
  */
 
-#include <common.h>
 #include <errno.h>
 #include <dm.h>
 #include <fdtdec.h>
index f6f9e509e27a2489b7e30a6b726ee6ad1972b223..ef9e8e5a0df6d2a8af9252feff7ee5e6cea63045 100644 (file)
@@ -3,7 +3,8 @@
  * (C) Copyright 2015
  * Texas Instruments Incorporated - https://www.ti.com/
  */
-#include <common.h>
+
+#include <config.h>
 #include <dm.h>
 #include <elf.h>
 #include <errno.h>
index e2d6f456230c758364e34f32a335608a854e3edd..d3158bf4a72e1520f7280a78faed7a6565dc779b 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (c) 2016, NVIDIA CORPORATION.
  */
 
-#include <common.h>
 #include <dm.h>
 #include <dm/device-internal.h>
 #include <log.h>
index 3c3e8efa92f2f6a76b990b70d84e150b982f1c3a..3dc9ca1add11a8b60de81cea70cd038d7db94ae2 100644 (file)
@@ -8,7 +8,6 @@
  * Copyright (C) 2023 Johan Jonker <jbx6244@gmail.com>
  */
 
-#include <common.h>
 #include <blk.h>
 #include <dm.h>
 #include <fs.h>
index 6d1f68848d52eea6b999a31583c24151d350e290..c8ed6cadf586e1db0590d05fec909958e94d2037 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (c) 2019, Linaro Limited
  */
 
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <rng.h>
index bf97dbbd2f9efcd40ce0bffe0fb7af5ef1ac8e21..a8aa41955c22e32557157d538b1f1f5debf93af9 100644 (file)
@@ -4,7 +4,6 @@
  * Written by Simon Glass <sjg@chromium.org>
  */
 
-#include <common.h>
 #include <console.h>
 #include <dm.h>
 #include <i2c.h>
index adf36ffaab1dd52f7e2c9d4563eeaaec90d7051b..69fc900e342961ced985667981f502ac493aadec 100644 (file)
@@ -12,7 +12,6 @@
  * unknown SCMI protocol ID.
  */
 
-#include <common.h>
 #include <clk.h>
 #include <dm.h>
 #include <reset.h>
index 380cfc88baba2ab674279bd33f5d054466c2dad4..5180159fb27dd0218bd4065ce8086900e168c84d 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2015 Google, Inc
  */
 
-#include <common.h>
 #include <dm.h>
 #include <part.h>
 #include <scsi.h>
index 34b783e062e1f3bbe3add5e4166d115edfffd283..34c0d4db879acf0e55683f6a8bb701b5675d0888 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (c) 2018, STMicroelectronics
  */
 
-#include <common.h>
 #include <log.h>
 #include <serial.h>
 #include <dm.h>
index 17d43fef3bc3a10b9da50a8ab574ccef055e5b56..0e3a0f13f9ec42cb099c2c9198d57aff0dd841fc 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2013 Google, Inc
  */
 
-#include <common.h>
 #include <command.h>
 #include <dm.h>
 #include <fdtdec.h>
index 3530b47fac2f64aaa9a0a84feac316230c715c94..8a730ba2fce4d3f43fdc634899ead786260ffdab 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2021, Bin Meng <bmeng.cn@gmail.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <dm/test.h>
 #include <dm/simple_bus.h>
index 792c7450580627edc013e7e5c550701f34108135..9949cb34d5964fe28fb9b00aaca8b3b2480d7e28 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2020 Sean Anderson <seanga2@gmail.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <dm/test.h>
 #include <dm/device-internal.h>
index 7ebb0c9c85ed437ae3ec64d479a9109493042d92..4d95c2ad75bd578e7242eed62c69a8d5487a0d6f 100644 (file)
@@ -5,7 +5,6 @@
  * Author: Alexey Romanov <avromanov@salutedevices.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <sm.h>
 #include <sandbox-sm.h>
index 289fb59ba1367b44a97a95e200d95ab9c2db3c9e..adcbfe574ab92b99f36520f40e5b20a9eabdf896 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2018 Ramon Fried <ramon.fried@gmail.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <smem.h>
 #include <dm/test.h>
index 8f6c97fa79086a9c4354619d81f69522e20b38b0..cb0ac1545f7fb43f32dbd7fb3eed6935dc9f14d4 100644 (file)
@@ -6,7 +6,6 @@
  *     Dave Gerlach <d-gerlach@ti.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <dm/test.h>
 #include <dm/uclass-internal.h>
index 15d545ab5a34294dc858860a62617e88d7671772..f4e6215e683019bd88c6ee7bc82c13f56b01687f 100644 (file)
@@ -4,7 +4,6 @@
  * Written by Simon Glass <sjg@chromium.org>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <sound.h>
 #include <dm/test.h>
index 325799bbf104217a03b85959c79f5dd225829cc8..1ab2dd783249f42a453ef9379f9e12bc9c036a91 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2013 Google, Inc
  */
 
-#include <common.h>
 #include <dm.h>
 #include <fdtdec.h>
 #include <spi.h>
index 97bb0eb30fc9b19319321844cd45e61fecf6416d..e10ae8db4d3085ba8e2a47e05834d0d626aa521b 100644 (file)
@@ -3,7 +3,6 @@
  * (C) Copyright 2015 Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
  */
 
-#include <common.h>
 #include <fdtdec.h>
 #include <dm.h>
 #include <malloc.h>
index eeaddf88392c7fed2e6d55c21e11275156ecb022..ba19504573f4faf79f43c19f24a0dc536924f778 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2020 Sean Anderson <seanga2@gmail.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <dm/test.h>
 #include <regmap.h>
index be232972336255f91557515a6dd60e9d9f3b717a..04d324e87d442f76225a337adce636021d62eddb 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2015 Google, Inc
  */
 
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <syscon.h>
index 2e494b3f341280fe05791c4383f8753f2a685ff0..24a99dafb152bc147d30d2bb7c2b7b2dd130aa64 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2021 Sean Anderson <sean.anderson@seco.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <sysinfo.h>
index 96b3a8ebabac9ec50551402884d66ce60da7d8a4..7444a580df6eb402f177866be6ad7629904b49ae 100644 (file)
@@ -4,7 +4,6 @@
  * Mario Six, Guntermann & Drunck GmbH, mario.six@gdsys.cc
  */
 
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <dm/test.h>
index 5aa69e046186a33af5406e1e38e0085969647144..f3a859be787802711483080df51eec8ec611b241 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2015 Google, Inc
  */
 
-#include <common.h>
 #include <dm.h>
 #include <sysreset.h>
 #include <asm/state.h>
index 8ae8a1fcd65b8868284e6555630d46456def0186..bce8a35acfb5da528a8ae35425a36fd2b1a49bdf 100644 (file)
@@ -6,7 +6,6 @@
  *  Author: AKASHI Takahiro
  */
 
-#include <common.h>
 #include <dm/tag.h>
 #include <dm/test.h> /* DM_TEST() */
 #include <test/test.h> /* struct unit_test_state */
index 7a11bf89138993172e9293c2c1723bce631b5937..bb02a9b3c98b83adf348c4fd5d481b3262048026 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2018 Linaro Limited
  */
 
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <malloc.h>
index e73a1dd8f814e11ed7e06dcdc06819515fd4e506..4bc2c45db61cd38e85d5fecf8693037a1cd38c84 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (c) 2013 Google, Inc
  */
 
-#include <common.h>
 #include <test/suites.h>
 #include <test/test.h>
 
index 02cb974b0f74eb68f60f554bf82789cd2bd2292c..851177c3018ae5561787550c0caa42c8d96fb98d 100644 (file)
@@ -6,7 +6,6 @@
  * Pavel Herrmann <morpheus.ibis@gmail.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <log.h>
index 72d0eb57e21291e253dde55fad4e2675e82e50f8..18c89eef43fce6a03dff7693e1b004e303737fa1 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (c) 2013 Google, Inc
  */
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <fdtdec.h>
index 067701734a08e20f0b6de0270d824f96d9727527..9a80cc63667be95bc0f1cda5e618451f984824d8 100644 (file)
@@ -6,7 +6,6 @@
  * Pavel Herrmann <morpheus.ibis@gmail.com>
  */
 
-#include <common.h>
 #include <log.h>
 #include <malloc.h>
 #include <dm.h>
index 9f94d47692003f0b45afdf98035fe93dfe9566c0..7fcefc42e5954d5f3467844491935a9869aefbc2 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2015 Thomas Chou <thomas@wytron.com.tw>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <timer.h>
 #include <dm/test.h>
index cde933ab28489467db46b55eb006d1f3f31e6760..0e413c0eedd025db9a076d293fe01a757f16eef6 100644 (file)
@@ -4,7 +4,6 @@
  * Written by Simon Glass <sjg@chromium.org>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <tpm_api.h>
 #include <dm/test.h>
index 7671ef156d8476d35b51cec387e7d6b1a9af1965..9a571938b8163c9b2e51aab04b061a502dc7cfac 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2015 Google, Inc
  */
 
-#include <common.h>
 #include <console.h>
 #include <dm.h>
 #include <part.h>
index d907f681600bace36d83b3335ae706cbc4e38b52..7dfbeb9555d15396f9322e49fda07e7404200275 100644 (file)
@@ -4,7 +4,6 @@
  * Written by Simon Glass <sjg@chromium.org>
  */
 
-#include <common.h>
 #include <bzlib.h>
 #include <dm.h>
 #include <gzip.h>
index 3e108cdc35d0485f9dd0d501f1e803355a86b298..3efd7c74f4271c3c8a07acccb36a93fc892bbc0a 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2018, Bin Meng <bmeng.cn@gmail.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <virtio_types.h>
 #include <virtio.h>
index fdda4da417813cc1740ffe5a73d1d75dbc5f414b..63dc53415b73d06d356acc616137214c16fdd841 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2018, Bin Meng <bmeng.cn@gmail.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <virtio_types.h>
 #include <virtio.h>
index 8b9a04b1fdef727f0c9dcc049bea8b22d85e6ac1..ab7d862d79ef5ea655b1dabc43b3f670fcb4fda5 100644 (file)
@@ -4,7 +4,6 @@
  * Written by Andrew Scull <ascull@google.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <virtio_types.h>
 #include <virtio.h>
index 2bbebcdbf286f070eb0bae8d9a6dc4ce26f7ef52..1df2da23c6c76dad7c7cb0e12ea3770ce723accd 100644 (file)
@@ -3,9 +3,9 @@
  * Copyright 2017 Google, Inc
  */
 
-#include <common.h>
 #include <cyclic.h>
 #include <dm.h>
+#include <time.h>
 #include <wdt.h>
 #include <asm/gpio.h>
 #include <asm/state.h>
index 8d5c0f1c3df49314f119b571cc5b682179feee0c..de5d5d4ee27ca6dba226e726e876a0de70f22b53 100644 (file)
@@ -4,7 +4,6 @@
  * Joe Hershberger, National Instruments, joe.hershberger@ni.com
  */
 
-#include <common.h>
 #include <command.h>
 #include <env_attr.h>
 #include <test/env.h>
index d65a32179ce10839a604eaad616a3d2c13e8a272..13e0998341e7e4ed3b59583b092cdfb4b74a6791 100644 (file)
@@ -4,7 +4,6 @@
  * Joe Hershberger, National Instruments, joe.hershberger@ni.com
  */
 
-#include <common.h>
 #include <command.h>
 #include <test/env.h>
 #include <test/suites.h>
index 30bfa88c35506036648c903937fd5b283d989da8..c495ac7b307c0a430184f4e370c24bbb7ec28fd2 100644 (file)
@@ -1,4 +1,3 @@
-#include <common.h>
 #include <command.h>
 #include <env_attr.h>
 #include <test/env.h>
index 70102f9121c271d00b851ed074ac9f4df11472f9..ccdf0138c4b8ef79b9426b3c010c242e67184587 100644 (file)
@@ -4,11 +4,11 @@
  * Roman Kapl, SYSGO, rka@sysgo.com
  */
 
-#include <common.h>
 #include <command.h>
 #include <log.h>
 #include <search.h>
 #include <stdio.h>
+#include <vsprintf.h>
 #include <test/env.h>
 #include <test/ut.h>
 
index d0bc7b8d7b760e4f742509bb535eb07c8f3c128c..faa140433ff52805467fe5aa79b3b3be1922126d 100644 (file)
@@ -5,7 +5,6 @@
  */
 
 #include <command.h>
-#include <common.h>
 #include <dm.h>
 #include <fuzzing_engine.h>
 #include <test/fuzz.h>
index 8a47667e778540ea7b79999994e51698d37c2140..836eb9a2f660832fc05e2cc2929aa1a92606a9d1 100644 (file)
@@ -4,7 +4,6 @@
  * Written by Andrew Scull <ascull@google.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <virtio.h>
 #include <virtio_ring.h>
index e1036eff28caf2d361fd1cb7bf8b2e671f32a9d5..7cbad40ea0cde8d26b12fef50265114038fcf624 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2023 Sean Anderson <seanga2@gmail.com>
  */
 
-#include <common.h>
 #include <image.h>
 #include <imx_container.h>
 #include <mapmem.h>
index a89189e1124c6e65a81a8f7ce71939bd2bd620e9..935078bf67b4ad090c15f0ca60481a0c3efc3483 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2023 Sean Anderson <seanga2@gmail.com>
  */
 
-#include <common.h>
 #include <blk.h>
 #include <ext_common.h>
 #include <ext4fs.h>
index 9d067a7a592fed73a7ef8e9b6c18f7964a2ac2ef..4af6e21b8b98e6c4b3fbb05dced68244e1e1e5ea 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2023 Sean Anderson <seanga2@gmail.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <spl.h>
 #include <test/spl.h>
index de5686343b999f45d589b4499f7f0542820017a9..f53a6724e27fae5e200e774a58c1b81158b91ea1 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2023 Sean Anderson <seanga2@gmail.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <spl.h>
 #include <asm/io.h>
index 26228a8a4a9ce851235757e19fd162891a640792..7d5fb9b07e05faebf4693d66122c471e9f629eef 100644 (file)
@@ -4,7 +4,6 @@
  * Written by Simon Glass <sjg@chromium.org>
  */
 
-#include <common.h>
 #include <image.h>
 #include <os.h>
 #include <spl.h>
index 54a95465e239ec3bd9d35c72582cecccdc45e20a..80836dc0dffa89993a7825b9b44fa405f0f2be5c 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2023 Sean Anderson <seanga2@gmail.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <spi_flash.h>
 #include <spl.h>
index 42803b20e2a1e4c5293588afd12ec441ce61e72e..7c0481ab610b5b22d199c4a1f7e89a32933f65c7 100644 (file)
@@ -4,7 +4,6 @@
  * Written by Simon Glass <sjg@chromium.org>
  */
 
-#include <common.h>
 #include <abuf.h>
 #include <mapmem.h>
 #include <test/lib.h>
index a66cdd77df0ad80f3acf66fec1a76ccc2c138f82..4842b7058ac58f6a1587fb3808089e06636dde62 100644 (file)
@@ -6,7 +6,6 @@
  * Unit test for asn1 compiler and asn1 decoder function via various parsers
  */
 
-#include <common.h>
 #include <command.h>
 #include <test/lib.h>
 #include <test/test.h>
index f1ac015b2c89786bb7dafdc27632009a3580229d..f98cb9b3c572ed9cdd90ee55836768adb697c9ce 100644 (file)
@@ -5,7 +5,6 @@
  * Unit tests for library functions
  */
 
-#include <common.h>
 #include <command.h>
 #include <test/lib.h>
 #include <test/suites.h>
index 24e2f23c5af5a585856a83d0c4b50af3fcde6aae..290c8768fa4ccc7ca6e9bcba50cba8df32b10c08 100644 (file)
@@ -5,7 +5,6 @@
  * Copyright (c) 2020 Heinrich Schuchardt <xypron.glpk@gmx.de>
  */
 
-#include <common.h>
 #include <efi_loader.h>
 #include <test/lib.h>
 #include <test/test.h>
index 0b888f8433789264a5ebf5dcd8b8a6a99944c1f4..3ca49dc4a2eb959c29dbbe333ea29763148226a9 100644 (file)
@@ -3,7 +3,6 @@
  * (C) Copyright 2020, Heinrich Schuchardt <xypron.glpk@gmx.de>
  */
 
-#include <common.h>
 #include <efi_loader.h>
 #include <test/lib.h>
 #include <test/test.h>
index 3c68b93c8a596d4b895336ed004630eb070ce7ab..388a076200b38f304a957266d0e2259d2dcb6751 100644 (file)
@@ -6,7 +6,6 @@
  * posix/tst-getopt-cancel.c
  */
 
-#include <common.h>
 #include <getopt.h>
 #include <test/lib.h>
 #include <test/test.h>
index 5dccf4388663f3f4557865ae3517e24afb396430..d531a830398de1422b2260ca3fca63f51f6295f7 100644 (file)
@@ -4,7 +4,6 @@
  * Mario Six, Guntermann & Drunck GmbH, mario.six@gdsys.cc
  */
 
-#include <common.h>
 #include <hexdump.h>
 #include <test/lib.h>
 #include <test/test.h>
index 3914f699659fb5257e1681d774b8a544e6e2b2e0..0c463bb794a5e1f9f2db995d544bd723f5e59ca0 100644 (file)
@@ -6,7 +6,6 @@
  * Written by Simon Glass <sjg@chromium.org>
  */
 
-#include <common.h>
 #include <test/lib.h>
 #include <test/test.h>
 #include <test/ut.h>
index 8f8a3411b14fed40a04468156c6f93fb215342fb..3bd8abdf4b8ef4545e45ef9129b5a329af732f72 100644 (file)
@@ -6,7 +6,6 @@
  * Written by Simon Glass <sjg@chromium.org>
  */
 
-#include <common.h>
 #include <test/lib.h>
 #include <test/test.h>
 #include <test/ut.h>
index 7e4368de22e29c6af090f5725bcb2d9a89aa20ba..4b5b6e5e20984d6feae10fe12427f81f0045afc7 100644 (file)
@@ -3,7 +3,6 @@
  * (C) Copyright 2018 Simon Goldschmidt
  */
 
-#include <common.h>
 #include <dm.h>
 #include <lmb.h>
 #include <log.h>
index 201367a5a3a2616f42ac6822a6d15a550baa0011..79d889bdd5fab293a620c9f605222c84617ed525 100644 (file)
@@ -5,7 +5,6 @@
  * Copyright (c) 2021, Heinrich Schuchardt <xypron.glpk@gmx.de>
  */
 
-#include <common.h>
 #include <test/lib.h>
 #include <test/test.h>
 #include <test/ut.h>
index 44f8ade226f42ebcdd3f5b312a2501c8c9cd0e07..40f70010c78846fd73b8ec277e047af3c51db9b1 100644 (file)
@@ -6,7 +6,6 @@
  * Unit test for rsa_verify() function
  */
 
-#include <common.h>
 #include <command.h>
 #include <image.h>
 #include <test/lib.h>
index 772e4b9204256151493601ce3f790beadda364e1..9fe5521749fd6801b9fb9a47981efe3d908f9e7b 100644 (file)
@@ -9,7 +9,6 @@
  * Unit tests for sscanf() function
  */
 
-#include <common.h>
 #include <command.h>
 #include <log.h>
 #include <test/lib.h>
index 5dcf4d6db00389f6ed28bbb8add28409eeec7c7d..d08dbca92915c3f9b1abc7f801ae5f04a8ff9376 100644 (file)
@@ -9,7 +9,6 @@
  * This has to be considered in testing.
  */
 
-#include <common.h>
 #include <command.h>
 #include <log.h>
 #include <test/lib.h>
index d8453fe78e2c01c4ce192684f4a1e974a5cae221..d1a0293271b030cd5a53a003e8ca7bbe396769a1 100644 (file)
@@ -6,7 +6,6 @@
  * These tests adapted from glibc's string/test-strncat.c
  */
 
-#include <common.h>
 #include <test/lib.h>
 #include <test/test.h>
 #include <test/ut.h>
index cbc712f7eda3d19b06a1a93dfd053f2fcd65cf3c..cfd9d8ca5a933b9795a01a49b7a5d701129390f9 100644 (file)
@@ -5,7 +5,6 @@
  * Unit tests for aes functions
  */
 
-#include <common.h>
 #include <command.h>
 #include <hexdump.h>
 #include <rand.h>
index fb21edf9748467f3e58cbfc3a151779294a820b2..dcdadd992c15a4c388ff0b72718a72536f38515e 100644 (file)
@@ -5,7 +5,6 @@
  * Unit test for crypt-style password hashing
  */
 
-#include <common.h>
 #include <test/lib.h>
 #include <test/test.h>
 #include <test/ut.h>
index 8a9f1fd9805abeb2cc5b8ee3494fdfc4165f314d..67f76442b2719b428bebf5ccfd6afe919377f91d 100644 (file)
@@ -9,7 +9,6 @@
  * This has to be considered in testing.
  */
 
-#include <common.h>
 #include <command.h>
 #include <errno.h>
 #include <test/lib.h>
index 79b67c779321c279c48433750c0b4c8b49a751c2..c7fc50a1de17cd5e4b33ae5decb3d09a21091bf6 100644 (file)
@@ -5,7 +5,6 @@
  * Copyright 2020, Heinrich Schuchadt <xypron.glpk@gmx.de>
  */
 
-#include <common.h>
 #include <command.h>
 #include <display_options.h>
 #include <asm/global_data.h>
index e24331a136682bfeb5990d59eedef07e1f117154..0914f2c47e77e142f7b934bacfb79d5dbcb23471 100644 (file)
@@ -8,7 +8,6 @@
  *   Abdellatif El Khlifi <abdellatif.elkhlifi@arm.com>
  */
 
-#include <common.h>
 #include <uuid.h>
 #include <test/lib.h>
 #include <test/test.h>
index de7b7f064cd597cfcbb74ca35f496e27d695f5f2..036d44b9d73d14345043b9fb6779cbf06b32920a 100644 (file)
@@ -5,7 +5,6 @@
  * Test continuation of log messages.
  */
 
-#include <common.h>
 #include <console.h>
 #include <asm/global_data.h>
 #include <test/log.h>
index b644b40a850dd590a15349cd495b03815cbeffd0..9cc891dc48c1e7c1525b7bc0d108fdc80451f9be 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2020 Sean Anderson <seanga2@gmail.com>
  */
 
-#include <common.h>
 #include <console.h>
 #include <log.h>
 #include <asm/global_data.h>
index c5abff80d11136185791bb6e8f7f19ee0f15c2ca..855353a9c40966dfad4ded9f7036e7c0bf9aeb27 100644 (file)
@@ -6,7 +6,6 @@
  * Written by Simon Glass <sjg@chromium.org>
  */
 
-#include <common.h>
 #include <command.h>
 #include <log.h>
 #include <asm/global_data.h>
index 5aa3a1840045f18f6b0a76316acf30e15e368f24..6617ed8b15250c5fc101d4203a058fe2b73378c2 100644 (file)
@@ -5,7 +5,6 @@
  * Logging function tests.
  */
 
-#include <common.h>
 #include <console.h>
 #include <log.h>
 #include <test/log.h>
index bd9a4f408e7b28f848b50e3e8f73efff62e21a36..b714a16d2e7e0c7b1f4fedb212d27a495ee153cc 100644 (file)
@@ -5,7 +5,6 @@
  * Logging function tests for CONFIG_LOG=n without #define DEBUG
  */
 
-#include <common.h>
 #include <console.h>
 #include <log.h>
 #include <asm/global_data.h>
index 4e52e5bed822af34e8bc4e3b6c63a3823dc83995..c4c0fa6cf81a055855daf84a8bc0a667825cbf20 100644 (file)
@@ -8,7 +8,6 @@
 /* Needed for testing log_debug() */
 #define DEBUG 1
 
-#include <common.h>
 #include <console.h>
 #include <log.h>
 #include <asm/global_data.h>
index df4520d28075c746dedf34052aa45e07b7912e39..30f30d98fe143ed955ac67809b5ab531b8163d61 100644 (file)
@@ -5,7 +5,6 @@
  * Test continuation of log messages using pr_cont().
  */
 
-#include <common.h>
 #include <console.h>
 #include <test/log.h>
 #include <test/test.h>
index 4db649db82267941216708e584c1e4a26b663023..c4180f775b95e8c81672d40a406addfa2c7c3e29 100644 (file)
@@ -10,7 +10,6 @@
 /* Override CONFIG_LOG_MAX_LEVEL */
 #define LOG_DEBUG
 
-#include <common.h>
 #include <asm/global_data.h>
 #include <dm/device.h>
 #include <hexdump.h>
index 4438791044d0bedd7fdbd3e95c2cf6d653871fdd..b10e636812b56943ca490b418d395f66454dcf0f 100644 (file)
@@ -7,7 +7,6 @@
  * Invoke the test with: ./u-boot -d arch/sandbox/dts/test.dtb
  */
 
-#include <common.h>
 #include <asm/global_data.h>
 #include <dm/device.h>
 #include <hexdump.h>
index c3887ab11d925e507120e7dbe297576972b39348..c6f50e0995ac5af4077130b540a9b010f2b7f375 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2019, Theobroma Systems Design und Consulting GmbH
  */
 
-#include <common.h>
 #include <command.h>
 #include <errno.h>
 #include <fdt_support.h>
index 56a3df17138bfe9b7cd87a787d601db4842ce041..bcb29a26e216a55af8c28775355858ab845119ae 100644 (file)
@@ -4,7 +4,6 @@
  * Copyright (c) 2016 Free Electrons
  */
 
-#include <common.h>
 #include <command.h>
 #include <errno.h>
 #include <fdt_support.h>
index bb844d2542b7038da1020da724d987bb6fd9fca3..bded2b6ebe5adda45dedb1fc1823679263f6ffe6 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (c) 2012, The Chromium Authors
  */
 
-#include <common.h>
 #include <command.h>
 #include <efi_api.h>
 #include <display_options.h>
index 26b6de07f88faab105da816e0dcee577e23a8cbd..3e01be110295daa8a80cfc5f5fbaa81b559cf92b 100644 (file)
@@ -17,7 +17,6 @@ import u_boot_spawn
 
 # Regexes for text we expect U-Boot to send to the console.
 pattern_u_boot_spl_signon = re.compile('(U-Boot SPL \\d{4}\\.\\d{2}[^\r\n]*\\))')
-pattern_u_boot_spl2_signon = re.compile('(U-Boot SPL \\d{4}\\.\\d{2}[^\r\n]*\\))')
 pattern_u_boot_main_signon = re.compile('(U-Boot \\d{4}\\.\\d{2}[^\r\n]*\\))')
 pattern_stop_autoboot_prompt = re.compile('Hit any key to stop autoboot: ')
 pattern_unknown_command = re.compile('Unknown command \'.*\' - try \'help\'')
@@ -29,7 +28,6 @@ PAT_RE = 1
 
 bad_pattern_defs = (
     ('spl_signon', pattern_u_boot_spl_signon),
-    ('spl2_signon', pattern_u_boot_spl2_signon),
     ('main_signon', pattern_u_boot_main_signon),
     ('stop_autoboot_prompt', pattern_stop_autoboot_prompt),
     ('unknown_command', pattern_unknown_command),
@@ -152,25 +150,20 @@ class ConsoleBase(object):
         """
         try:
             bcfg = self.config.buildconfig
-            config_spl = bcfg.get('config_spl', 'n') == 'y'
             config_spl_serial = bcfg.get('config_spl_serial', 'n') == 'y'
             env_spl_skipped = self.config.env.get('env__spl_skipped', False)
-            env_spl2_skipped = self.config.env.get('env__spl2_skipped', True)
+            env_spl_banner_times = self.config.env.get('env__spl_banner_times', 1)
 
             while loop_num > 0:
                 loop_num -= 1
-                if config_spl and config_spl_serial and not env_spl_skipped:
+                while config_spl_serial and not env_spl_skipped and env_spl_banner_times > 0:
                     m = self.p.expect([pattern_u_boot_spl_signon] +
                                       self.bad_patterns)
                     if m != 0:
                         raise Exception('Bad pattern found on SPL console: ' +
                                         self.bad_pattern_ids[m - 1])
-                if not env_spl2_skipped:
-                    m = self.p.expect([pattern_u_boot_spl2_signon] +
-                                      self.bad_patterns)
-                    if m != 0:
-                        raise Exception('Bad pattern found on SPL2 console: ' +
-                                        self.bad_pattern_ids[m - 1])
+                    env_spl_banner_times -= 1
+
                 m = self.p.expect([pattern_u_boot_main_signon] + self.bad_patterns)
                 if m != 0:
                     raise Exception('Bad pattern found on console: ' +
index f6d09e8643d6162782229b24dc5e908369889785..9051e32c7ced8bdadce3b65af82d2168db747c42 100644 (file)
@@ -1,4 +1,4 @@
-#include <common.h>
+#include <linux/types.h>
 
 int test_types(void)
 {
index fa9328ede501d4447c44fdd0923ca5ba41950f38..389779859a3d28a06c0152696e482839d086389b 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright 2020 Google LLC
  */
 
-#include <common.h>
 #include <vsprintf.h>
 #include <test/suites.h>
 #include <test/test.h>
index b7015d9f38ddf6c308b6c6355c4ac02e0266c1fe..3fa6f6e32ec84ee0d681e53cc88e093f9c7c32ec 100644 (file)
@@ -4,7 +4,6 @@
  * Written by Simon Glass <sjg@chromium.org>
  */
 
-#include <common.h>
 #include <blk.h>
 #include <console.h>
 #include <cyclic.h>
index 80b82dbfd8331af9b7fd35edaa5cf8a437eb5c2f..149c4b58f4a1f78be9df7f1021b42fba07ef8365 100644 (file)
@@ -4,7 +4,6 @@
  * Written by Simon Glass <sjg@chromium.org>
  */
 
-#include <common.h>
 #include <command.h>
 #include <errno.h>
 #include <time.h>
index 47c3f52774cdd2798c5f364a93c486db0dd0b6d7..13e29c9b9e323a59e981cea91f0f919be5ec2dba 100644 (file)
@@ -5,7 +5,6 @@
  * Copyright (c) 2018 Heinrich Schuchardt <xypron.glpk@gmx.de>
  */
 
-#include <common.h>
 #include <charset.h>
 #include <command.h>
 #include <efi_loader.h>
index 628e9dc9805084ba4bdf90c6bd1525eabd1287c8..ae99831ac8ff73854ff2239d47528a5b1f6948ea 100644 (file)
--- a/test/ut.c
+++ b/test/ut.c
@@ -5,7 +5,6 @@
  * Copyright (c) 2013 Google, Inc
  */
 
-#include <common.h>
 #include <console.h>
 #include <malloc.h>
 #ifdef CONFIG_SANDBOX
index 39f416cfd806abaf3f6a74d2c9fa044d8d832b64..89066e6403fcc8243946eb4110d67f7195ffe6b4 100644 (file)
@@ -835,7 +835,6 @@ class DtbPlatdata():
 
     def generate_uclasses(self):
         self.out('\n')
-        self.out('#include <common.h>\n')
         self.out('#include <dm.h>\n')
         self.out('#include <dt-structs.h>\n')
         self.out('\n')
@@ -1059,7 +1058,6 @@ class DtbPlatdata():
         self.out('/* Allow use of U_BOOT_DRVINFO() in this file */\n')
         self.out('#define DT_PLAT_C\n')
         self.out('\n')
-        self.out('#include <common.h>\n')
         self.out('#include <dm.h>\n')
         self.out('#include <dt-structs.h>\n')
         self.out('\n')
@@ -1092,7 +1090,6 @@ class DtbPlatdata():
         See the documentation in doc/driver-model/of-plat.rst for more
         information.
         """
-        self.out('#include <common.h>\n')
         self.out('#include <dm.h>\n')
         self.out('#include <dt-structs.h>\n')
         self.out('\n')
index 597c93e8a8705c51cfd47991eb13cb6df64b1450..c4a0889aebe73f7cef6783517bea9fba4e63fd55 100755 (executable)
@@ -63,7 +63,6 @@ C_HEADER = C_HEADER_PRE + '''
 /* Allow use of U_BOOT_DRVINFO() in this file */
 #define DT_PLAT_C
 
-#include <common.h>
 #include <dm.h>
 #include <dt-structs.h>
 '''
@@ -417,7 +416,6 @@ U_BOOT_DRVINFO(spl_test3) = {
 '''
     uclass_text_inst = '''
 
-#include <common.h>
 #include <dm.h>
 #include <dt-structs.h>
 
@@ -521,7 +519,6 @@ DM_UCLASS_INST(testfdt) = {
  * This was generated by dtoc from a .dtb (device tree binary) file.
  */
 
-#include <common.h>
 #include <dm.h>
 #include <dt-structs.h>