This series removes the remaining function declarations from common.h so that it only includes #include lines.
A final series will be needed to remove most of those #includes. Simon Glass (35): common: Drop mdm_init() common: Move main_loop() to init.h common: Move flash_perror() to flash.h common: Drop checkflash() and checkdram() common: Move embedded fdt location to fdtdec.h common: Move do_tftpb() to net.h common: Move functions for loading from fat/ext2 to fs.h common: Move relocate_code() to init.h common: Move jumptable_init() out of common.h common: Drop floppy disk support common: Move reset_phy() to net.h common: Move CONFIG_SYS_DEF_EEPROM_ADDR out of common.h common: Drop CONFIG_POST_STD/ALT_LIST common: Drop CONFIG_HAS_POST common: Drop the symbol_lookup() declaration common: Move type declarations to linux/types.h common: Move device-tree setup functions to fdt_support.h common: arm: Move s_init() to an ARM-specific header common: Move ll_boot_init() to init.h common: Move upmconfig() to ppc.h common: Move clock functions into a new file common: Move get_tbclk() to time.h common: Move reset_misc() function to arch header common: Move reset_cpu() to the CPU header image: Rename load_addr, save_addr, save_size common: Move the image globals into image.h common: Rename and move source() common: Move RAM-sizing functions to init.h common: Move testdram() into init.h common: Move hang() to the same header as panic() common: Move check_member() to kernel.h common: Move ROUND() into kernel.h common: Move and rename CONFIG_SYS_SUPPORT_64BIT_DATA common: Collect all the header files together common: Update comment to show progress Makefile | 4 +- README | 28 +- arch/arc/lib/reset.c | 1 + arch/arm/cpu/arm1136/mx35/generic.c | 1 + arch/arm/cpu/arm920t/ep93xx/cpu.c | 1 + arch/arm/cpu/arm920t/imx/timer.c | 5 +- arch/arm/cpu/arm926ejs/armada100/timer.c | 5 +- arch/arm/cpu/arm926ejs/lpc32xx/clk.c | 1 + arch/arm/cpu/arm926ejs/mx25/generic.c | 1 + arch/arm/cpu/arm926ejs/mx25/reset.c | 1 + arch/arm/cpu/arm926ejs/mx27/reset.c | 1 + arch/arm/cpu/arm926ejs/mxs/mxs.c | 2 + arch/arm/cpu/arm926ejs/mxs/spl_mem_init.c | 1 + arch/arm/cpu/arm926ejs/mxs/spl_power_init.c | 1 + arch/arm/cpu/arm926ejs/spear/reset.c | 1 + arch/arm/cpu/arm926ejs/spear/spr_misc.c | 1 + arch/arm/cpu/armv7/bcm281xx/reset.c | 1 + arch/arm/cpu/armv7/bcmcygnus/reset.c | 1 + arch/arm/cpu/armv7/bcmnsp/reset.c | 1 + arch/arm/cpu/armv7/ls102xa/clock.c | 1 + arch/arm/cpu/armv7/ls102xa/fdt.c | 1 + arch/arm/cpu/armv7/stv0991/reset.c | 1 + arch/arm/cpu/armv7/vf610/generic.c | 1 + arch/arm/cpu/armv8/cache_v8.c | 1 + arch/arm/cpu/armv8/fsl-layerscape/cpu.c | 2 + arch/arm/cpu/armv8/fsl-layerscape/fdt.c | 1 + .../armv8/fsl-layerscape/fsl_lsch2_speed.c | 1 + .../armv8/fsl-layerscape/fsl_lsch3_speed.c | 1 + arch/arm/cpu/armv8/fsl-layerscape/soc.c | 1 + arch/arm/cpu/armv8/fsl-layerscape/spl.c | 1 + arch/arm/cpu/armv8/s32v234/generic.c | 2 + arch/arm/cpu/sa1100/timer.c | 2 +- arch/arm/include/asm/armv8/mmu.h | 1 + arch/arm/include/asm/u-boot-arm.h | 4 + arch/arm/lib/bootm.c | 1 + arch/arm/lib/div0.c | 4 +- arch/arm/lib/interrupts.c | 3 +- arch/arm/lib/interrupts_m.c | 1 + arch/arm/lib/relocate_64.S | 2 +- arch/arm/lib/reset.c | 1 + arch/arm/mach-at91/arm920t/reset.c | 1 + arch/arm/mach-at91/arm926ejs/reset.c | 1 + arch/arm/mach-at91/arm926ejs/timer.c | 1 + arch/arm/mach-at91/armv7/reset.c | 1 + arch/arm/mach-at91/armv7/timer.c | 1 + arch/arm/mach-at91/spl.c | 1 + arch/arm/mach-at91/spl_at91.c | 1 + arch/arm/mach-at91/spl_atmel.c | 1 + arch/arm/mach-bcm283x/reset.c | 1 + arch/arm/mach-davinci/misc.c | 1 + arch/arm/mach-davinci/reset.c | 1 + arch/arm/mach-davinci/spl.c | 1 + arch/arm/mach-imx/imx8/cpu.c | 1 + arch/arm/mach-imx/mx5/mx53_dram.c | 1 + arch/arm/mach-imx/mx6/ddr.c | 1 + arch/arm/mach-imx/mx6/litesom.c | 1 + arch/arm/mach-imx/mx7/clock.c | 1 + arch/arm/mach-imx/mx7ulp/clock.c | 1 + arch/arm/mach-imx/mx7ulp/soc.c | 1 + arch/arm/mach-imx/speed.c | 1 + arch/arm/mach-imx/spl.c | 1 + arch/arm/mach-k3/common.c | 1 + arch/arm/mach-k3/security.c | 1 + arch/arm/mach-keystone/ddr3.c | 1 + arch/arm/mach-keystone/mon.c | 1 + arch/arm/mach-kirkwood/cpu.c | 1 + arch/arm/mach-mediatek/mt7623/init.c | 1 + arch/arm/mach-mediatek/mt8516/init.c | 1 + arch/arm/mach-mediatek/mt8518/init.c | 1 + arch/arm/mach-mediatek/spl.c | 1 + arch/arm/mach-meson/board-axg.c | 1 + arch/arm/mach-meson/board-common.c | 1 + arch/arm/mach-meson/board-g12a.c | 1 + arch/arm/mach-meson/board-gx.c | 1 + arch/arm/mach-mvebu/armada3700/cpu.c | 1 + arch/arm/mach-mvebu/dram.c | 1 + arch/arm/mach-mvebu/spl.c | 1 + arch/arm/mach-omap2/am33xx/board.c | 1 + arch/arm/mach-omap2/am33xx/clock.c | 1 + arch/arm/mach-omap2/am33xx/fdt.c | 1 + arch/arm/mach-omap2/clocks-common.c | 1 + arch/arm/mach-omap2/emif-common.c | 3 + arch/arm/mach-omap2/omap5/dra7xx_iodelay.c | 1 + arch/arm/mach-omap2/omap5/fdt.c | 1 + arch/arm/mach-omap2/omap5/hwinit.c | 1 + arch/arm/mach-omap2/reset.c | 1 + arch/arm/mach-omap2/sec-common.c | 2 + arch/arm/mach-orion5x/dram.c | 1 + arch/arm/mach-orion5x/timer.c | 2 +- arch/arm/mach-rockchip/bootrom.c | 1 + arch/arm/mach-rockchip/rk3188/rk3188.c | 1 + arch/arm/mach-rockchip/spl.c | 1 + arch/arm/mach-rockchip/tpl.c | 1 + arch/arm/mach-socfpga/mailbox_s10.c | 1 + arch/arm/mach-socfpga/misc_gen5.c | 1 + arch/arm/mach-socfpga/spl_a10.c | 1 + arch/arm/mach-socfpga/spl_gen5.c | 1 + arch/arm/mach-socfpga/spl_s10.c | 1 + arch/arm/mach-stm32mp/spl.c | 1 + arch/arm/mach-sunxi/dram_sun4i.c | 1 + arch/arm/mach-tegra/board.c | 1 + arch/arm/mach-tegra/cboot.c | 1 + arch/arm/mach-tegra/cmd_enterrcm.c | 1 + arch/arm/mach-tegra/pmc.c | 1 + arch/arm/mach-uniphier/reset.c | 1 + arch/arm/mach-uniphier/spl_board_init.c | 1 + arch/arm/mach-versal/clk.c | 1 + arch/arm/mach-zynq/spl.c | 1 + arch/arm/mach-zynq/timer.c | 1 + arch/arm/mach-zynqmp-r5/cpu.c | 1 + arch/arm/mach-zynqmp/clk.c | 1 + arch/arm/mach-zynqmp/cpu.c | 1 + arch/m68k/cpu/mcf5227x/speed.c | 1 + arch/m68k/cpu/mcf5227x/start.S | 2 +- arch/m68k/cpu/mcf523x/speed.c | 1 + arch/m68k/cpu/mcf523x/start.S | 2 +- arch/m68k/cpu/mcf52x2/speed.c | 3 +- arch/m68k/cpu/mcf52x2/start.S | 2 +- arch/m68k/cpu/mcf530x/speed.c | 1 + arch/m68k/cpu/mcf530x/start.S | 2 +- arch/m68k/cpu/mcf532x/speed.c | 1 + arch/m68k/cpu/mcf532x/start.S | 2 +- arch/m68k/cpu/mcf5445x/speed.c | 1 + arch/m68k/cpu/mcf5445x/start.S | 2 +- arch/m68k/cpu/mcf547x_8x/speed.c | 1 + arch/m68k/cpu/mcf547x_8x/start.S | 2 +- arch/microblaze/cpu/exception.c | 1 + arch/microblaze/lib/bootm.c | 1 + arch/mips/cpu/time.c | 1 + arch/mips/lib/reloc.c | 1 + arch/mips/lib/traps.c | 1 + arch/mips/mach-ath79/ar933x/clk.c | 1 + arch/mips/mach-ath79/ar934x/clk.c | 2 + arch/mips/mach-ath79/dram.c | 1 + arch/mips/mach-ath79/qca953x/clk.c | 1 + arch/mips/mach-ath79/qca956x/clk.c | 1 + arch/mips/mach-jz47xx/jz4780/jz4780.c | 1 + arch/mips/mach-jz47xx/jz4780/sdram.c | 1 + arch/mips/mach-mtmips/cpu.c | 1 + arch/nds32/cpu/n1213/start.S | 2 +- arch/nds32/lib/bootm.c | 1 + arch/nds32/lib/interrupts.c | 1 + arch/nios2/cpu/start.S | 2 +- arch/nios2/cpu/traps.c | 5 +- arch/powerpc/cpu/mpc83xx/cpu.c | 1 + arch/powerpc/cpu/mpc83xx/fdt.c | 1 + arch/powerpc/cpu/mpc83xx/spd_sdram.c | 1 + arch/powerpc/cpu/mpc83xx/speed.c | 1 + arch/powerpc/cpu/mpc83xx/spl_minimal.c | 2 + arch/powerpc/cpu/mpc83xx/start.S | 2 +- arch/powerpc/cpu/mpc85xx/cpu.c | 3 +- arch/powerpc/cpu/mpc85xx/fdt.c | 2 + arch/powerpc/cpu/mpc85xx/interrupts.c | 1 + arch/powerpc/cpu/mpc85xx/speed.c | 5 +- arch/powerpc/cpu/mpc85xx/start.S | 2 +- arch/powerpc/cpu/mpc85xx/traps.c | 1 + arch/powerpc/cpu/mpc86xx/cpu.c | 1 + arch/powerpc/cpu/mpc86xx/interrupts.c | 1 + arch/powerpc/cpu/mpc86xx/speed.c | 1 + arch/powerpc/cpu/mpc86xx/start.S | 2 +- arch/powerpc/cpu/mpc86xx/traps.c | 1 + arch/powerpc/cpu/mpc8xx/cpu.c | 1 + arch/powerpc/cpu/mpc8xx/fdt.c | 1 + arch/powerpc/cpu/mpc8xx/interrupts.c | 1 + arch/powerpc/cpu/mpc8xx/speed.c | 1 + arch/powerpc/cpu/mpc8xx/start.S | 2 +- arch/powerpc/cpu/mpc8xxx/fsl_lbc.c | 1 + arch/powerpc/include/asm/ppc.h | 1 + arch/powerpc/lib/bootm.c | 1 + arch/riscv/cpu/start.S | 2 +- arch/riscv/lib/bootm.c | 2 + arch/riscv/lib/interrupts.c | 1 + arch/riscv/lib/reset.c | 1 + arch/riscv/lib/spl.c | 1 + arch/sandbox/cpu/spl.c | 1 + arch/sh/cpu/sh4/cpu.c | 2 +- arch/sh/cpu/sh4/watchdog.c | 1 + arch/sh/lib/board.c | 1 + arch/x86/cpu/baytrail/cpu.c | 1 + arch/x86/cpu/baytrail/valleyview.c | 1 + arch/x86/cpu/cpu.c | 1 + arch/x86/cpu/i386/cpu.c | 1 + arch/x86/cpu/i386/interrupt.c | 2 + arch/x86/cpu/quark/mrc_util.c | 1 + arch/x86/cpu/tangier/sdram.c | 1 + arch/x86/lib/bootm.c | 1 + arch/x86/lib/spl.c | 1 + arch/x86/lib/tpl.c | 1 + arch/xtensa/cpu/start.S | 2 +- board/AndesTech/adp-ae3xx/adp-ae3xx.c | 1 + board/AndesTech/adp-ag101p/adp-ag101p.c | 1 + board/AndesTech/ax25-ae350/ax25-ae350.c | 1 + board/Arcturus/ucp1020/spl.c | 2 + board/Arcturus/ucp1020/spl_minimal.c | 1 + board/BuR/brppt2/board.c | 2 + board/BuS/eb_cpu5282/eb_cpu5282.c | 3 +- board/CarMediaLab/flea3/flea3.c | 1 + board/LaCie/edminiv2/edminiv2.c | 1 + board/LaCie/net2big_v2/net2big_v2.c | 1 + board/LaCie/netspace_v2/netspace_v2.c | 1 + board/Marvell/db-88f6281-bp/db-88f6281-bp.c | 1 + board/Marvell/dreamplug/dreamplug.c | 1 + board/Marvell/guruplug/guruplug.c | 1 + board/Marvell/openrd/openrd.c | 1 + board/Marvell/sheevaplug/sheevaplug.c | 1 + board/Seagate/dockstar/dockstar.c | 1 + board/Seagate/goflexhome/goflexhome.c | 1 + board/Seagate/nas220/nas220.c | 1 + board/Synology/ds109/ds109.c | 1 + board/abilis/tb100/tb100.c | 1 + .../imx8qm_rom7720_a1/imx8qm_rom7720_a1.c | 1 + board/alliedtelesis/SBx81LIFKW/sbx81lifkw.c | 1 + .../alliedtelesis/SBx81LIFXCAT/sbx81lifxcat.c | 1 + board/armadeus/apf27/apf27.c | 1 + board/armltd/integrator/integrator.c | 1 + board/armltd/integrator/timer.c | 2 +- board/armltd/vexpress/vexpress_common.c | 1 + board/armltd/vexpress64/vexpress64.c | 1 + board/astro/mcf5373l/mcf5373l.c | 1 + .../armadillo-800eva/armadillo-800eva.c | 1 + board/atmel/at91rm9200ek/at91rm9200ek.c | 1 + board/atmel/at91sam9260ek/at91sam9260ek.c | 2 + board/atmel/at91sam9261ek/at91sam9261ek.c | 1 + board/atmel/at91sam9263ek/at91sam9263ek.c | 2 + .../atmel/at91sam9m10g45ek/at91sam9m10g45ek.c | 2 + board/atmel/at91sam9n12ek/at91sam9n12ek.c | 1 + board/atmel/at91sam9rlek/at91sam9rlek.c | 1 + board/atmel/sam9x60ek/sam9x60ek.c | 1 + .../sama5d27_wlsom1_ek/sama5d27_wlsom1_ek.c | 1 + board/barco/platinum/platinum.c | 1 + board/barco/titanium/titanium.c | 1 + board/bluewater/snapper9260/snapper9260.c | 1 + board/bosch/shc/board.c | 1 + board/bosch/shc/mux.c | 1 + board/broadcom/bcm23550_w1d/bcm23550_w1d.c | 1 + board/broadcom/bcm28155_ap/bcm28155_ap.c | 1 + board/broadcom/bcm_ep/board.c | 1 + board/broadcom/bcmns2/northstar2.c | 2 + board/calao/usb_a9263/usb_a9263.c | 1 + board/cavium/thunderx/thunderx.c | 1 + board/cloudengines/pogo_e02/pogo_e02.c | 1 + board/cobra5272/cobra5272.c | 3 +- board/compulab/cl-som-imx7/spl.c | 2 + board/compulab/cm_fx6/spl.c | 3 + board/compulab/cm_t335/spl.c | 2 + board/compulab/cm_t43/spl.c | 2 + board/d-link/dns325/dns325.c | 1 + board/egnite/ethernut5/ethernut5.c | 1 + board/esd/meesc/meesc.c | 1 + board/esd/vme8349/vme8349.c | 2 + board/firefly/firefly-rk3288/firefly-rk3288.c | 1 + board/freescale/b4860qds/b4860qds.c | 1 + board/freescale/b4860qds/spl.c | 2 + board/freescale/bsc9131rdb/ddr.c | 1 + board/freescale/bsc9131rdb/spl_minimal.c | 1 + board/freescale/bsc9132qds/spl_minimal.c | 1 + board/freescale/c29xpcie/spl.c | 2 + board/freescale/c29xpcie/spl_minimal.c | 1 + board/freescale/corenet_ds/corenet_ds.c | 1 + board/freescale/imx8mm_evk/spl.c | 2 + board/freescale/imx8mn_evk/spl.c | 2 + board/freescale/imx8mq_evk/spl.c | 1 + board/freescale/imx8qm_mek/imx8qm_mek.c | 1 + board/freescale/imx8qxp_mek/imx8qxp_mek.c | 1 + board/freescale/ls1012afrdm/eth.c | 1 + board/freescale/ls1012afrdm/ls1012afrdm.c | 1 + board/freescale/ls1012ardb/eth.c | 1 + board/freescale/ls1012ardb/ls1012ardb.c | 2 + board/freescale/ls1021aiot/ls1021aiot.c | 2 + board/freescale/ls1021aqds/ls1021aqds.c | 2 + board/freescale/ls1021atsn/ls1021atsn.c | 2 + board/freescale/ls1021atwr/ls1021atwr.c | 2 + board/freescale/ls1088a/eth_ls1088aqds.c | 1 + board/freescale/ls1088a/eth_ls1088ardb.c | 1 + board/freescale/ls2080a/ls2080a.c | 1 + board/freescale/ls2080aqds/eth.c | 1 + board/freescale/ls2080ardb/eth_ls2080rdb.c | 1 + board/freescale/lx2160a/eth_lx2160aqds.c | 1 + board/freescale/lx2160a/eth_lx2160ardb.c | 1 + board/freescale/lx2160a/lx2160a.c | 1 + board/freescale/m5208evbe/m5208evbe.c | 1 + board/freescale/m52277evb/m52277evb.c | 1 + board/freescale/m5235evb/m5235evb.c | 1 + board/freescale/m5249evb/m5249evb.c | 4 +- board/freescale/m5253demo/m5253demo.c | 1 + board/freescale/m5272c3/m5272c3.c | 4 +- board/freescale/m5275evb/m5275evb.c | 1 + board/freescale/m53017evb/m53017evb.c | 1 + board/freescale/m5329evb/m5329evb.c | 1 + board/freescale/m5373evb/m5373evb.c | 1 + board/freescale/m54418twr/m54418twr.c | 1 + board/freescale/m54451evb/m54451evb.c | 1 + board/freescale/mpc8308rdb/sdram.c | 1 + board/freescale/mpc8313erdb/mpc8313erdb.c | 2 + board/freescale/mpc8323erdb/mpc8323erdb.c | 1 + board/freescale/mpc832xemds/mpc832xemds.c | 1 + board/freescale/mpc8349emds/mpc8349emds.c | 1 + board/freescale/mpc8349itx/mpc8349itx.c | 1 + board/freescale/mpc837xerdb/mpc837xerdb.c | 1 + board/freescale/mpc8610hpcd/mpc8610hpcd_diu.c | 1 + board/freescale/mx53ard/mx53ard.c | 1 + board/freescale/mx53smd/mx53smd.c | 1 + board/freescale/mx6memcal/spl.c | 1 + board/freescale/p1010rdb/spl.c | 2 + board/freescale/p1010rdb/spl_minimal.c | 1 + board/freescale/p1022ds/diu.c | 1 + board/freescale/p1022ds/spl.c | 2 + board/freescale/p1022ds/spl_minimal.c | 1 + board/freescale/p1_p2_rdb_pc/p1_p2_rdb_pc.c | 1 + board/freescale/p1_p2_rdb_pc/spl.c | 2 + board/freescale/p1_p2_rdb_pc/spl_minimal.c | 1 + board/freescale/p2041rdb/p2041rdb.c | 1 + board/freescale/qemu-ppce500/qemu-ppce500.c | 7 +- board/freescale/s32v234evb/s32v234evb.c | 1 + board/freescale/t102xqds/spl.c | 2 + board/freescale/t102xqds/t102xqds.c | 1 + board/freescale/t102xrdb/spl.c | 2 + board/freescale/t102xrdb/t102xrdb.c | 1 + board/freescale/t1040qds/diu.c | 1 + board/freescale/t1040qds/t1040qds.c | 1 + board/freescale/t104xrdb/diu.c | 1 + board/freescale/t104xrdb/spl.c | 2 + board/freescale/t104xrdb/t104xrdb.c | 1 + board/freescale/t208xqds/spl.c | 2 + board/freescale/t208xqds/t208xqds.c | 1 + board/freescale/t208xrdb/spl.c | 2 + board/freescale/t208xrdb/t208xrdb.c | 1 + board/freescale/t4qds/spl.c | 2 + board/freescale/t4qds/t4240emu.c | 1 + board/freescale/t4qds/t4240qds.c | 1 + board/freescale/t4rdb/spl.c | 2 + board/freescale/t4rdb/t4240rdb.c | 1 + board/freescale/vf610twr/vf610twr.c | 1 + board/gateworks/gw_ventana/gw_ventana_spl.c | 1 + board/gdsys/mpc8308/sdram.c | 1 + board/gdsys/p1022/controlcenterd-id.c | 1 + board/gdsys/p1022/diu.c | 1 + board/hisilicon/hikey/hikey.c | 2 + board/hisilicon/hikey960/hikey960.c | 1 + board/hisilicon/poplar/poplar.c | 2 + board/ids/ids8313/ids8313.c | 2 + board/inversepath/usbarmory/usbarmory.c | 2 + board/keymile/km83xx/km83xx.c | 1 + board/keymile/km_arm/km_arm.c | 1 + board/keymile/kmp204x/kmp204x.c | 1 + board/kmc/kzm9g/kzm9g.c | 1 + board/kosagi/novena/novena_spl.c | 1 + board/l+g/vinco/vinco.c | 1 + board/laird/wb45n/wb45n.c | 1 + board/liebherr/display5/spl.c | 1 + board/mini-box/picosam9g45/picosam9g45.c | 1 + board/mpc8308_p1m/sdram.c | 1 + board/phytec/pcl063/pcl063.c | 1 + board/phytec/phycore_am335x_r2/board.c | 1 + board/phytium/durian/durian.c | 1 + .../dragonboard410c/dragonboard410c.c | 1 + .../dragonboard820c/dragonboard820c.c | 1 + board/renesas/alt/alt.c | 2 + board/renesas/alt/alt_spl.c | 1 + board/renesas/blanche/blanche.c | 1 + board/renesas/condor/condor.c | 2 + board/renesas/draak/draak.c | 2 + board/renesas/eagle/eagle.c | 2 + board/renesas/ebisu/ebisu.c | 2 + board/renesas/gose/gose.c | 2 + board/renesas/gose/gose_spl.c | 1 + board/renesas/grpeach/grpeach.c | 1 + board/renesas/koelsch/koelsch.c | 2 + board/renesas/koelsch/koelsch_spl.c | 1 + board/renesas/lager/lager.c | 2 + board/renesas/lager/lager_spl.c | 1 + board/renesas/porter/porter.c | 2 + board/renesas/porter/porter_spl.c | 1 + board/renesas/rcar-common/gen3-spl.c | 1 + board/renesas/salvator-x/salvator-x.c | 1 + board/renesas/silk/silk.c | 2 + board/renesas/silk/silk_spl.c | 1 + board/renesas/stout/cpld.c | 1 + board/renesas/stout/stout_spl.c | 1 + board/ronetix/pm9261/pm9261.c | 1 + board/ronetix/pm9263/pm9263.c | 1 + board/ronetix/pm9g45/pm9g45.c | 1 + board/samsung/arndale/arndale.c | 1 + board/samsung/common/board.c | 1 + board/samsung/smdkc100/smdkc100.c | 1 + board/samsung/smdkv310/smdkv310.c | 1 + board/sbc8349/sbc8349.c | 1 + board/sbc8641d/sbc8641d.c | 2 +- board/seco/mx6quq7/mx6quq7.c | 1 + board/siemens/corvus/board.c | 1 + board/siemens/smartweb/smartweb.c | 1 + board/siemens/taurus/taurus.c | 1 + board/socrates/sdram.c | 3 +- board/socrates/socrates.c | 5 +- board/st/stm32mp1/stm32mp1.c | 1 + board/sunxi/board.c | 2 + board/synopsys/emsdp/emsdp.c | 1 + board/synopsys/iot_devkit/iot_devkit.c | 1 + board/sysam/amcore/amcore.c | 1 + board/sysam/stmark2/stmark2.c | 1 + board/technexion/pico-imx6ul/spl.c | 4 + board/technexion/pico-imx7d/spl.c | 1 + board/technologic/ts4800/ts4800.c | 1 + board/ti/am43xx/board.c | 1 + board/ti/am57xx/board.c | 1 + board/ti/dra7xx/evm.c | 1 + board/ti/ks2_evm/board.c | 2 + board/ti/ks2_evm/board_k2g.c | 1 + board/timll/devkit3250/devkit3250.c | 1 + board/toradex/apalis-imx8/apalis-imx8.c | 1 + board/toradex/apalis_imx6/apalis_imx6.c | 1 + board/toradex/colibri-imx8x/colibri-imx8x.c | 1 + board/toradex/colibri_imx6/colibri_imx6.c | 1 + board/toradex/colibri_imx7/colibri_imx7.c | 3 + board/tqc/tqm834x/tqm834x.c | 2 + board/ucRobotics/bubblegum_96/bubblegum_96.c | 1 + board/varisys/cyrus/cyrus.c | 1 + board/ve8313/ve8313.c | 3 +- board/woodburn/woodburn.c | 1 + board/xilinx/versal/board.c | 1 + board/zyxel/nsa310s/nsa310s.c | 1 + cmd/Kconfig | 5 - cmd/Makefile | 1 - cmd/bmp.c | 9 +- cmd/booti.c | 4 +- cmd/bootm.c | 5 +- cmd/bootz.c | 5 +- cmd/cramfs.c | 5 +- cmd/disk.c | 3 +- cmd/elf.c | 5 +- cmd/fat.c | 2 +- cmd/fdc.c | 752 ------------------ cmd/jffs2.c | 5 +- cmd/load.c | 10 +- cmd/mem.c | 57 +- cmd/mvebu/bubt.c | 7 +- cmd/nand.c | 3 +- cmd/net.c | 13 +- cmd/pxe.c | 2 + cmd/pxe_utils.c | 5 +- cmd/reiser.c | 2 +- cmd/source.c | 8 +- cmd/ti/ddr3.c | 1 + cmd/tpm_test.c | 1 + cmd/ximg.c | 2 +- cmd/zfs.c | 2 +- common/board_f.c | 2 + common/board_r.c | 7 +- common/bootstage.c | 1 + common/cli.c | 1 + common/command.c | 2 +- common/flash.c | 2 +- common/image-fdt.c | 5 +- common/image.c | 18 +- common/main.c | 1 + common/memsize.c | 1 + common/spl/spl.c | 1 + common/spl/spl_net.c | 4 +- common/spl/spl_opensbi.c | 1 + common/update.c | 4 +- drivers/cache/cache-v5l2.c | 1 + drivers/clk/clk_pic32.c | 1 + drivers/clk/mpc83xx_clk.c | 1 + drivers/ddr/altera/sdram_gen5.c | 1 + drivers/ddr/altera/sdram_s10.c | 2 + .../marvell/a38x/ddr3_training_ip_engine.c | 7 +- drivers/misc/Makefile | 1 - drivers/misc/imx8/scu_api.c | 1 + drivers/misc/ns87308.c | 100 --- drivers/mmc/fsl_esdhc_spl.c | 1 + drivers/mtd/nand/raw/mxc_nand_spl.c | 1 + drivers/mtd/spi/fsl_espi_spl.c | 1 + drivers/net/ag7xxx.c | 1 + drivers/net/fsl_mcdmafec.c | 1 + drivers/net/mcffec.c | 1 + drivers/net/mpc8xx_fec.c | 1 + drivers/pci/pci_rom.c | 1 + drivers/ram/bmips_ram.c | 1 + drivers/ram/k3-j721e/k3-j721e-ddrss.c | 1 + drivers/ram/mpc83xx_sdram.c | 1 + drivers/ram/rockchip/dmc-rk3368.c | 1 + drivers/ram/rockchip/sdram_rk3188.c | 1 + drivers/ram/rockchip/sdram_rk3288.c | 1 + drivers/ram/stm32mp1/stm32mp1_ram.c | 1 + drivers/ram/stm32mp1/stm32mp1_tests.c | 1 + drivers/serial/lpc32xx_hsuart.c | 1 + drivers/serial/ns16550.c | 1 + drivers/serial/serial.c | 1 + drivers/serial/serial_ar933x.c | 1 + drivers/serial/serial_ns16550.c | 8 +- drivers/serial/serial_pxa.c | 1 + drivers/spi/ath79_spi.c | 1 + drivers/sysreset/sysreset-uclass.c | 2 + drivers/usb/gadget/f_sdp.c | 2 +- drivers/usb/musb/musb_udc.c | 1 + drivers/usb/phy/rockchip_usb2_phy.c | 1 + drivers/video/broadwell_igd.c | 1 + drivers/watchdog/imx_watchdog.c | 2 + drivers/watchdog/mtk_wdt.c | 1 + drivers/watchdog/ulp_wdog.c | 1 + drivers/watchdog/wdt-uclass.c | 1 + env/flash.c | 1 + examples/api/libgenwrap.c | 3 +- include/clock_legacy.h | 14 + include/common.h | 150 +--- include/compiler.h | 4 + include/cpu_func.h | 2 + include/eeprom.h | 4 + include/exports.h | 3 + include/fdt_support.h | 14 + include/fdtdec.h | 3 + include/flash.h | 7 + include/fs.h | 22 + include/hang.h | 22 + include/image.h | 16 + include/init.h | 29 + include/linux/kernel.h | 13 + include/linux/types.h | 5 + include/net.h | 19 + include/ns87308.h | 233 ------ include/time.h | 2 + lib/display_options.c | 8 +- lib/efi/efi_app.c | 1 + lib/fdtdec.c | 2 + lib/hang.c | 1 + lib/libavb/avb_sysdeps_posix.c | 1 + lib/optee/optee.c | 1 + lib/panic.c | 1 + lib/zlib/zutil.c | 3 +- net/net.c | 3 +- net/nfs.c | 11 +- net/tftp.c | 15 +- post/Makefile | 2 +- scripts/config_whitelist.txt | 37 - 534 files changed, 896 insertions(+), 1466 deletions(-) delete mode 100644 cmd/fdc.c delete mode 100644 drivers/misc/ns87308.c create mode 100644 include/clock_legacy.h create mode 100644 include/hang.h delete mode 100644 include/ns87308.h -- 2.24.0.525.g8f36a354ae-goog