Skip to contentSkip to conversation

global: Make <asm/global_data.h> include <asm/u-boot.h>

PATCH In review Tom Rini 30 participants 197 messages May 1, 2024 – May 17, 2024 Page 1 of 2

Subsystems (35)
lore
Share & tools
lore

Tom Rini

author
#0 lore raw

PATCH 1/149 global: Make <asm/global_data.h> include <asm/u-boot.h>

This follows the example of RISC-V where <asm/global_data.h> includes <asm/u-boot.h> directly as "gd" includes a reference to bd_info already and so the first must include the second anyhow. We then remove <asm/u-boot.h> from all of the places which include references to "gd" an so have <asm/global_data.h> already.

---
 api/api_platform-arm.c                         | 1 -
 api/api_platform-mips.c                        | 1 -
 api/api_platform-powerpc.c                     | 1 -
 arch/arc/include/asm/global_data.h             | 2 ++
 arch/arm/include/asm/global_data.h             | 1 +
 arch/arm/lib/bdinfo.c                          | 1 -
 arch/arm/lib/cache-cp15.c                      | 1 -
 arch/arm/mach-davinci/cpu.c                    | 1 -
 arch/arm/mach-davinci/misc.c                   | 1 -
 arch/arm/mach-davinci/spl.c                    | 1 -
 arch/arm/mach-imx/ele_ahab.c                   | 1 -
 arch/arm/mach-imx/mx5/mx53_dram.c              | 1 -
 arch/arm/mach-mediatek/mt7622/init.c           | 1 -
 arch/arm/mach-mediatek/mt7981/init.c           | 1 -
 arch/arm/mach-mediatek/mt7986/init.c           | 1 -
 arch/arm/mach-mediatek/mt7988/init.c           | 1 -
 arch/arm/mach-mvebu/armada8k/dram.c            | 1 -
 arch/arm/mach-mvebu/dram.c                     | 1 -
 arch/arm/mach-omap2/omap-cache.c               | 1 -
 arch/arm/mach-omap2/omap3/emif4.c              | 1 -
 arch/arm/mach-omap2/omap3/sdrc.c               | 1 -
 arch/arm/mach-owl/soc.c                        | 1 -
 arch/arm/mach-renesas/memmap-gen3.c            | 1 -
 arch/arm/mach-renesas/memmap-rzg2l.c           | 1 -
 arch/arm/mach-socfpga/clock_manager.c          | 1 -
 arch/arm/mach-socfpga/clock_manager_agilex5.c  | 1 -
 arch/arm/mach-socfpga/spl_a10.c                | 1 -
 arch/arm/mach-socfpga/spl_agilex.c             | 1 -
 arch/arm/mach-socfpga/spl_gen5.c               | 1 -
 arch/arm/mach-socfpga/spl_n5x.c                | 1 -
 arch/arm/mach-socfpga/spl_s10.c                | 1 -
 arch/arm/mach-uniphier/dram_init.c             | 1 -
 arch/arm/mach-versal-net/clk.c                 | 1 -
 arch/arm/mach-versal-net/cpu.c                 | 1 -
 arch/arm/mach-versal/clk.c                     | 1 -
 arch/arm/mach-versal/cpu.c                     | 1 -
 arch/arm/mach-zynqmp/clk.c                     | 1 -
 arch/arm/mach-zynqmp/cpu.c                     | 1 -
 arch/m68k/include/asm/global_data.h            | 2 ++
 arch/m68k/lib/bdinfo.c                         | 1 -
 arch/microblaze/cpu/spl.c                      | 1 -
 arch/microblaze/include/asm/global_data.h      | 1 +
 arch/mips/include/asm/global_data.h            | 1 +
 arch/mips/lib/traps.c                          | 1 -
 arch/nios2/include/asm/global_data.h           | 1 +
 arch/powerpc/cpu/mpc83xx/interrupts.c          | 1 -
 arch/powerpc/cpu/mpc83xx/pcie.c                | 1 -
 arch/powerpc/cpu/mpc83xx/spd_sdram.c           | 1 -
 arch/powerpc/cpu/mpc83xx/speed.c               | 1 -
 arch/powerpc/cpu/mpc85xx/b4860_ids.c           | 1 +
 arch/powerpc/cpu/mpc85xx/cmd_errata.c          | 1 -
 arch/powerpc/cpu/mpc85xx/fsl_corenet2_serdes.c | 1 -
 arch/powerpc/cpu/mpc85xx/p2041_ids.c           | 3 ++-
 arch/powerpc/cpu/mpc85xx/p2041_serdes.c        | 1 -
 arch/powerpc/cpu/mpc85xx/p3041_ids.c           | 1 +
 arch/powerpc/cpu/mpc85xx/p4080_ids.c           | 1 +
 arch/powerpc/cpu/mpc85xx/p5040_ids.c           | 1 +
 arch/powerpc/cpu/mpc85xx/speed.c               | 1 -
 arch/powerpc/cpu/mpc85xx/spl_minimal.c         | 1 -
 arch/powerpc/cpu/mpc85xx/t1024_ids.c           | 3 ++-
 arch/powerpc/cpu/mpc85xx/t1024_serdes.c        | 1 -
 arch/powerpc/cpu/mpc85xx/t1040_ids.c           | 3 ++-
 arch/powerpc/cpu/mpc85xx/t1040_serdes.c        | 3 ++-
 arch/powerpc/cpu/mpc85xx/t2080_ids.c           | 3 ++-
 arch/powerpc/cpu/mpc85xx/t2080_serdes.c        | 3 ++-
 arch/powerpc/cpu/mpc85xx/t4240_ids.c           | 3 ++-
 arch/powerpc/cpu/mpc85xx/t4240_serdes.c        | 1 -
 arch/powerpc/cpu/mpc8xxx/fsl_lbc.c             | 1 -
 arch/powerpc/cpu/mpc8xxx/fsl_pamu.c            | 4 +++-
 arch/powerpc/cpu/mpc8xxx/law.c                 | 1 -
 arch/powerpc/cpu/mpc8xxx/pamu_table.c          | 1 -
 arch/powerpc/cpu/mpc8xxx/srio.c                | 3 ++-
 arch/powerpc/include/asm/fsl_liodn.h           | 4 +++-
 arch/powerpc/include/asm/fsl_portals.h         | 2 ++
 arch/powerpc/include/asm/global_data.h         | 2 ++
 arch/powerpc/lib/bdinfo.c                      | 1 -
 arch/riscv/lib/boot.c                          | 3 ++-
 arch/sandbox/include/asm/global_data.h         | 1 +
 arch/sh/include/asm/global_data.h              | 2 ++
 arch/x86/cpu/coreboot/sdram.c                  | 1 -
 arch/x86/cpu/efi/payload.c                     | 1 -
 arch/x86/cpu/efi/sdram.c                       | 1 -
 arch/x86/cpu/ivybridge/sdram_nop.c             | 1 -
 arch/x86/cpu/qemu/dram.c                       | 1 -
 arch/x86/cpu/quark/dram.c                      | 1 -
 arch/x86/cpu/tangier/sdram.c                   | 1 -
 arch/x86/include/asm/global_data.h             | 1 +
 arch/xtensa/include/asm/global_data.h          | 2 ++
 board/keymile/kmcent2/tlb.c                    | 2 +-
 board/phytium/pe2201/pe2201.c                  | 1 -
 board/phytium/pomelo/pomelo.c                  | 1 -
 board/renesas/falcon/falcon.c                  | 1 -
 board/renesas/grpeach/grpeach.c                | 1 -
 common/init/handoff.c                          | 1 -
 common/spl/spl.c                               | 1 -
 common/spl/spl_ext.c                           | 1 -
 common/spl/spl_fat.c                           | 1 -
 common/spl/spl_mmc.c                           | 1 -
 common/spl/spl_sata.c                          | 1 -
 common/spl/spl_usb.c                           | 1 -
 common/spl/spl_ymodem.c                        | 1 -
 drivers/clk/altera/clk-agilex5.c               | 1 -
 include/dm/of.h                                | 1 -
 include/fsl_errata.h                           | 2 +-
 104 files changed, 48 insertions(+), 88 deletions(-)
api/api_platform-arm.c +0 -1
index 6cfd9e6cc20c..9afba66c2442 100644
@@ -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"
api/api_platform-mips.c +0 -1
index e1509663af54..262b35a27779 100644
@@ -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"
api/api_platform-powerpc.c +0 -1
index 847a4a3015b0..3a04a9f691c5 100644
@@ -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"
arch/arc/include/asm/global_data.h +2 -0
index e35a26f1eb14..fd9b7fb5f8db 100644
@@ -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 {
arch/arm/include/asm/global_data.h +1 -0
index 452bcd1b8fd9..45401d5e3c8a 100644
@@ -12,6 +12,7 @@
 #include <config.h>
 
 #include <linux/types.h>
+#include <asm/u-boot.h>
 
 /* Architecture-specific global data */
 struct arch_global_data {
arch/arm/lib/bdinfo.c +0 -1
index 40255ace4051..7c49462c8eb4 100644
@@ -9,7 +9,6 @@
 #include <config.h>
 #include <init.h>
 #include <asm/global_data.h>
-#include <asm/u-boot.h>
 #include <asm/mach-types.h>
 
 DECLARE_GLOBAL_DATA_PTR;
arch/arm/lib/cache-cp15.c +0 -1
index 0b2a0c351547..947012f29963 100644
@@ -7,7 +7,6 @@
 #include <cpu_func.h>
 #include <log.h>
 #include <asm/global_data.h>
-#include <asm/u-boot.h>
 #include <asm/system.h>
 #include <asm/cache.h>
 #include <linux/compiler.h>
arch/arm/mach-davinci/cpu.c +0 -1
index 033411235391..7c0a26389775 100644
@@ -9,7 +9,6 @@
 #include <init.h>
 #include <asm/arch/hardware.h>
 #include <asm/global_data.h>
-#include <asm/u-boot.h>
 #include <asm/io.h>
 
 DECLARE_GLOBAL_DATA_PTR;
arch/arm/mach-davinci/misc.c +0 -1
index 93a144757a9e..6c97e5810cdb 100644
@@ -16,7 +16,6 @@
 #include <net.h>
 #include <asm/arch/hardware.h>
 #include <asm/global_data.h>
-#include <asm/u-boot.h>
 #include <asm/io.h>
 #include <asm/arch/davinci_misc.h>
 
arch/arm/mach-davinci/spl.c +0 -1
index 4603c8fbc575..8c6cf9c21925 100644
@@ -7,7 +7,6 @@
 #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>
arch/arm/mach-imx/ele_ahab.c +0 -1
index eaeecf600423..c13d9f0e00e3 100644
@@ -14,7 +14,6 @@
 #include <console.h>
 #include <cpu_func.h>
 #include <asm/global_data.h>
-#include <asm/u-boot.h>
 
 DECLARE_GLOBAL_DATA_PTR;
 
arch/arm/mach-imx/mx5/mx53_dram.c +0 -1
index 6459b4a82d25..180a745d4351 100644
@@ -6,7 +6,6 @@
 
 #include <init.h>
 #include <asm/global_data.h>
-#include <asm/u-boot.h>
 
 DECLARE_GLOBAL_DATA_PTR;
 
arch/arm/mach-mediatek/mt7622/init.c +0 -1
index 00d3eb9ce7a4..6e970acf8b05 100644
@@ -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;
arch/arm/mach-mediatek/mt7981/init.c +0 -1
index 862f0ca4793d..07da58971904 100644
@@ -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;
arch/arm/mach-mediatek/mt7986/init.c +0 -1
index 905a3ab4e272..a521c95bd9d3 100644
@@ -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;
arch/arm/mach-mediatek/mt7988/init.c +0 -1
index 082f12bf65e5..2efc8c6a88fe 100644
@@ -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;
arch/arm/mach-mvebu/armada8k/dram.c +0 -1
index 8a87e4a8e035..fd58551d0e32 100644
@@ -7,7 +7,6 @@
 #include <asm/arch/cpu.h>
 #include <asm/arch/soc.h>
 #include <asm/global_data.h>
-#include <asm/u-boot.h>
 #include <asm/ptrace.h>
 #include <asm/system.h>
 #include <linux/sizes.h>
arch/arm/mach-mvebu/dram.c +0 -1
index daf2f8e3f671..c00c6b9b3fc2 100644
@@ -8,7 +8,6 @@
 #include <config.h>
 #include <init.h>
 #include <asm/global_data.h>
-#include <asm/u-boot.h>
 #include <asm/io.h>
 #include <asm/arch/cpu.h>
 #include <asm/arch/soc.h>
arch/arm/mach-omap2/omap-cache.c +0 -1
index 132b205220ca..200a08fa5c83 100644
@@ -16,7 +16,6 @@
 #include <linux/string.h>
 #include <asm/cache.h>
 #include <asm/global_data.h>
-#include <asm/u-boot.h>
 
 DECLARE_GLOBAL_DATA_PTR;
 
arch/arm/mach-omap2/omap3/emif4.c +0 -1
index 79960bf46f8b..049eedfeb65b 100644
@@ -12,7 +12,6 @@
 #include <config.h>
 #include <init.h>
 #include <asm/global_data.h>
-#include <asm/u-boot.h>
 #include <asm/io.h>
 #include <asm/arch/mem.h>
 #include <asm/arch/sys_proto.h>
arch/arm/mach-omap2/omap3/sdrc.c +0 -1
index f08e4b3af5e2..404333689f60 100644
@@ -23,7 +23,6 @@
 
 #include <init.h>
 #include <asm/global_data.h>
-#include <asm/u-boot.h>
 #include <asm/io.h>
 #include <asm/arch/mem.h>
 #include <asm/arch/sys_proto.h>
arch/arm/mach-owl/soc.c +0 -1
index e6332452e3ee..0130cad76782 100644
@@ -10,7 +10,6 @@
 #include <init.h>
 #include <asm/cache.h>
 #include <asm/global_data.h>
-#include <asm/u-boot.h>
 #include <linux/arm-smccc.h>
 #include <linux/psci.h>
 #include <asm/io.h>
arch/arm/mach-renesas/memmap-gen3.c +0 -1
index 4dff9e07629d..c50700df078d 100644
@@ -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
arch/arm/mach-renesas/memmap-rzg2l.c +0 -1
index 9934a775220b..3b3c6f7cde9a 100644
@@ -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
arch/arm/mach-socfpga/clock_manager.c +0 -1
index 4fcb13f17e6c..160f6e73ca9e 100644
@@ -6,7 +6,6 @@
 #include <asm/arch/clock_manager.h>
 #include <asm/arch/system_manager.h>
 #include <asm/global_data.h>
-#include <asm/u-boot.h>
 #include <asm/io.h>
 #include <command.h>
 #include <init.h>
arch/arm/mach-socfpga/clock_manager_agilex5.c +0 -1
index b92f0b3af806..7ec28d91ef32 100644
@@ -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>
arch/arm/mach-socfpga/spl_a10.c +0 -1
index af5bed162e2f..c20376f7f8ef 100644
@@ -10,7 +10,6 @@
 #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>
arch/arm/mach-socfpga/spl_agilex.c +0 -1
index cd1bf48d8324..52617a39ccaf 100644
@@ -8,7 +8,6 @@
 #include <log.h>
 #include <asm/global_data.h>
 #include <asm/io.h>
-#include <asm/u-boot.h>
 #include <asm/utils.h>
 #include <hang.h>
 #include <image.h>
arch/arm/mach-socfpga/spl_gen5.c +0 -1
index d53592cba4d8..df79cfe0f7fa 100644
@@ -8,7 +8,6 @@
 #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>
arch/arm/mach-socfpga/spl_n5x.c +0 -1
index a19602039397..5ff137e5c6fb 100644
@@ -12,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>
arch/arm/mach-socfpga/spl_s10.c +0 -1
index 9b3c75f97677..53852cb74439 100644
@@ -9,7 +9,6 @@
 #include <log.h>
 #include <asm/global_data.h>
 #include <asm/io.h>
-#include <asm/u-boot.h>
 #include <asm/utils.h>
 #include <debug_uart.h>
 #include <image.h>
arch/arm/mach-uniphier/dram_init.c +0 -1
index e6f1286e71fd..0e1164a2680f 100644
@@ -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"
arch/arm/mach-versal-net/clk.c +0 -1
index a88b5101eb1b..61b8fe71b1ae 100644
@@ -9,7 +9,6 @@
 #include <init.h>
 #include <time.h>
 #include <asm/global_data.h>
-#include <asm/u-boot.h>
 
 DECLARE_GLOBAL_DATA_PTR;
 
arch/arm/mach-versal-net/cpu.c +0 -1
index 59b0cb2e78f3..d088e440f638 100644
@@ -10,7 +10,6 @@
 #include <asm/armv8/mmu.h>
 #include <asm/cache.h>
 #include <asm/global_data.h>
-#include <asm/u-boot.h>
 #include <asm/io.h>
 #include <asm/arch/hardware.h>
 #include <asm/arch/sys_proto.h>
arch/arm/mach-versal/clk.c +0 -1
index 0c7d468f1dd0..19943dfdd4ca 100644
@@ -7,7 +7,6 @@
 #include <init.h>
 #include <time.h>
 #include <asm/global_data.h>
-#include <asm/u-boot.h>
 
 DECLARE_GLOBAL_DATA_PTR;
 
arch/arm/mach-versal/cpu.c +0 -1
index 7de431e55005..363ce3007fd1 100644
@@ -8,7 +8,6 @@
 #include <asm/armv8/mmu.h>
 #include <asm/cache.h>
 #include <asm/global_data.h>
-#include <asm/u-boot.h>
 #include <asm/io.h>
 #include <asm/arch/hardware.h>
 #include <asm/arch/sys_proto.h>
arch/arm/mach-zynqmp/clk.c +0 -1
index dc8e2cbd3da4..9b573b1746aa 100644
@@ -10,7 +10,6 @@
 #include <asm/arch/hardware.h>
 #include <asm/arch/sys_proto.h>
 #include <asm/global_data.h>
-#include <asm/u-boot.h>
 
 DECLARE_GLOBAL_DATA_PTR;
 
arch/arm/mach-zynqmp/cpu.c +0 -1
index d7b5e99504c4..07668c946891 100644
@@ -13,7 +13,6 @@
 #include <asm/armv8/mmu.h>
 #include <asm/cache.h>
 #include <asm/global_data.h>
-#include <asm/u-boot.h>
 #include <asm/io.h>
 #include <zynqmp_firmware.h>
 #include <asm/cache.h>
arch/m68k/include/asm/global_data.h +2 -0
index c2ef5770a3df..93efc722ba8a 100644
@@ -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
arch/m68k/lib/bdinfo.c +0 -1
index 3719f11c03c6..cf6ae5adddfd 100644
@@ -8,7 +8,6 @@
 
 #include <config.h>
 #include <init.h>
-#include <asm/u-boot.h>
 #include <asm/global_data.h>
 
 DECLARE_GLOBAL_DATA_PTR;
arch/microblaze/cpu/spl.c +0 -1
index cb224bd25423..521776705786 100644
@@ -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)
arch/microblaze/include/asm/global_data.h +1 -0
index 93506dec894e..bb4112f22a3c 100644
@@ -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 {
arch/mips/include/asm/global_data.h +1 -0
index 34b7e0bed945..147a95ecea8b 100644
@@ -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];
arch/mips/lib/traps.c +0 -1
index 40469d1be090..89846c9723c7 100644
@@ -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;
 
arch/nios2/include/asm/global_data.h +1 -0
index b56e8a5078e0..d9bbd54734e5 100644
@@ -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 {
arch/powerpc/cpu/mpc83xx/interrupts.c +0 -1
index 6238eec605f2..d86c981811e9 100644
@@ -6,7 +6,6 @@
  * Copyright 2004 Freescale Semiconductor, Inc.
  */
 
-#include <asm/u-boot.h>
 #include <command.h>
 #include <irq_func.h>
 #include <mpc83xx.h>
arch/powerpc/cpu/mpc83xx/pcie.c +0 -1
index feecf8a8193c..efa30c683389 100644
@@ -7,7 +7,6 @@
  *          Anton Vorontsov <[email protected]>
  */
 
-#include <asm/u-boot.h>
 #include <clock_legacy.h>
 #include <pci.h>
 #include <mpc83xx.h>
arch/powerpc/cpu/mpc83xx/spd_sdram.c +0 -1
index 37234e00abd0..e847c03f378b 100644
@@ -12,7 +12,6 @@
 
 #ifndef CONFIG_MPC83XX_SDRAM
 
-#include <asm/u-boot.h>
 #include <cpu_func.h>
 #include <log.h>
 #include <time.h>
arch/powerpc/cpu/mpc83xx/speed.c +0 -1
index bfc624232179..72464962613f 100644
@@ -8,7 +8,6 @@
 
 #ifndef CONFIG_CLK_MPC83XX
 
-#include <asm/u-boot.h>
 #include <clock_legacy.h>
 #include <mpc83xx.h>
 #include <command.h>
arch/powerpc/cpu/mpc85xx/b4860_ids.c +1 -0
index 39cfd20129ff..df2f0efe3eda 100644
@@ -4,6 +4,7 @@
  */
 
 #include <config.h>
+#include <linux/kernel.h>
 #include <asm/fsl_portals.h>
 #include <asm/fsl_liodn.h>
 
arch/powerpc/cpu/mpc85xx/cmd_errata.c +0 -1
index 01763b54e8af..f91a4d441d3a 100644
@@ -3,7 +3,6 @@
  * Copyright 2010-2011 Freescale Semiconductor, Inc.
  */
 
-#include <asm/u-boot.h>
 #include <command.h>
 #include <init.h>
 #include <linux/compiler.h>
arch/powerpc/cpu/mpc85xx/fsl_corenet2_serdes.c +0 -1
index 3383bb5c9b02..945020f7ecbe 100644
@@ -3,7 +3,6 @@
  * Copyright 2012 Freescale Semiconductor, Inc.
  */
 
-#include <asm/u-boot.h>
 #include <log.h>
 #include <asm/fsl_serdes.h>
 #include <asm/immap_85xx.h>
arch/powerpc/cpu/mpc85xx/p2041_ids.c +2 -1
index 67a21e15a64d..ae5227a1eed1 100644
@@ -3,7 +3,8 @@
  * Copyright 2011 Freescale Semiconductor, Inc.
  */
 
-#include <asm/u-boot.h>
+#include <config.h>
+#include <linux/kernel.h>
 #include <asm/fsl_portals.h>
 #include <asm/fsl_liodn.h>
 
arch/powerpc/cpu/mpc85xx/p2041_serdes.c +0 -1
index d915665df8f5..3943859a5188 100644
@@ -3,7 +3,6 @@
  * Copyright 2010-2011 Freescale Semiconductor, Inc.
  */
 
-#include <asm/u-boot.h>
 #include <asm/fsl_serdes.h>
 #include <asm/processor.h>
 #include <asm/io.h>
arch/powerpc/cpu/mpc85xx/p3041_ids.c +1 -0
index e5d600fa2a4d..0675a59414be 100644
@@ -4,6 +4,7 @@
  */
 
 #include <config.h>
+#include <linux/kernel.h>
 #include <asm/fsl_portals.h>
 #include <asm/fsl_liodn.h>
 
arch/powerpc/cpu/mpc85xx/p4080_ids.c +1 -0
index 250504128374..15ab4ac93852 100644
@@ -4,6 +4,7 @@
  */
 
 #include <config.h>
+#include <linux/kernel.h>
 #include <asm/fsl_portals.h>
 #include <asm/fsl_liodn.h>
 
arch/powerpc/cpu/mpc85xx/p5040_ids.c +1 -0
index de1d372631bb..0a34e066e940 100644
@@ -4,6 +4,7 @@
  */
 
 #include <config.h>
+#include <linux/kernel.h>
 #include <asm/fsl_portals.h>
 #include <asm/fsl_liodn.h>
 
arch/powerpc/cpu/mpc85xx/speed.c +0 -1
index 1a4ee87cb348..a7e1b3c98a9d 100644
@@ -9,7 +9,6 @@
  * Wolfgang Denk, DENX Software Engineering, [email protected].
  */
 
-#include <asm/u-boot.h>
 #include <cpu_func.h>
 #include <clock_legacy.h>
 #include <ppc_asm.tmpl>
arch/powerpc/cpu/mpc85xx/spl_minimal.c +0 -1
index e7031c1338b7..29318fad5f0b 100644
@@ -3,7 +3,6 @@
  * Copyright 2009 Freescale Semiconductor, Inc.
  */
 
-#include <asm/u-boot.h>
 #include <asm/processor.h>
 #include <asm/global_data.h>
 #include <fsl_ifc.h>
arch/powerpc/cpu/mpc85xx/t1024_ids.c +2 -1
index 01a62b86926a..7239d28f9368 100644
@@ -3,7 +3,8 @@
  * Copyright 2014 Freescale Semiconductor, Inc.
  */
 
-#include <asm/u-boot.h>
+#include <config.h>
+#include <linux/kernel.h>
 #include <asm/fsl_portals.h>
 #include <asm/fsl_liodn.h>
 
arch/powerpc/cpu/mpc85xx/t1024_serdes.c +0 -1
index 3ab743c3d628..0d958fe131b5 100644
@@ -3,7 +3,6 @@
  * Copyright 2014 Freescale Semiconductor, Inc.
  */
 
-#include <asm/u-boot.h>
 #include <asm/fsl_serdes.h>
 #include <asm/processor.h>
 #include <asm/io.h>
arch/powerpc/cpu/mpc85xx/t1040_ids.c +2 -1
index d0f9b0ca758a..bb92fc392cc2 100644
@@ -3,7 +3,8 @@
  * Copyright 2012 Freescale Semiconductor, Inc.
  */
 
-#include <asm/u-boot.h>
+#include <config.h>
+#include <linux/kernel.h>
 #include <asm/fsl_portals.h>
 #include <asm/fsl_liodn.h>
 
arch/powerpc/cpu/mpc85xx/t1040_serdes.c +2 -1
index 1f1b23a3aaaf..2033ebbaa5e6 100644
@@ -3,10 +3,11 @@
  * Copyright 2012 Freescale Semiconductor, Inc.
  */
 
-#include <asm/u-boot.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] = {
arch/powerpc/cpu/mpc85xx/t2080_ids.c +2 -1
index 51ac367dd809..26a2d745a864 100644
@@ -3,7 +3,8 @@
  * Copyright 2013 Freescale Semiconductor, Inc.
  */
 
-#include <asm/u-boot.h>
+#include <config.h>
+#include <linux/kernel.h>
 #include <asm/fsl_portals.h>
 #include <asm/fsl_liodn.h>
 
arch/powerpc/cpu/mpc85xx/t2080_serdes.c +2 -1
index 16fa16b08081..6702acaf7723 100644
@@ -5,9 +5,10 @@
  * Shengzhou Liu <[email protected]>
  */
 
-#include <asm/u-boot.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 {
arch/powerpc/cpu/mpc85xx/t4240_ids.c +2 -1
index 94b4409cecad..c319bf5cff57 100644
@@ -3,7 +3,8 @@
  * Copyright 2012 Freescale Semiconductor, Inc.
  */
 
-#include <asm/u-boot.h>
+#include <config.h>
+#include <linux/kernel.h>
 #include <asm/fsl_portals.h>
 #include <asm/fsl_liodn.h>
 
arch/powerpc/cpu/mpc85xx/t4240_serdes.c +0 -1
index 956b5ea37aa5..36fe34f11ecc 100644
@@ -3,7 +3,6 @@
  * Copyright 2012 Freescale Semiconductor, Inc.
  */
 
-#include <asm/u-boot.h>
 #include <asm/fsl_serdes.h>
 #include <asm/processor.h>
 #include <asm/io.h>
arch/powerpc/cpu/mpc8xxx/fsl_lbc.c +0 -1
index c7bae5a88151..843dd191ccf7 100644
@@ -3,7 +3,6 @@
  * Copyright 2010-2011 Freescale Semiconductor, Inc.
  */
 
-#include <asm/u-boot.h>
 #include <hang.h>
 #include <init.h>
 #include <asm/fsl_lbc.h>
arch/powerpc/cpu/mpc8xxx/fsl_pamu.c +3 -1
index 523367ddf1c1..29399bcd8b68 100644
@@ -5,12 +5,14 @@
  * Copyright 2012-2016 Freescale Semiconductor, Inc.
  */
 
-#include <asm/u-boot.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;
arch/powerpc/cpu/mpc8xxx/law.c +0 -1
index 5c6e26b9aa15..f16bc1996639 100644
@@ -6,7 +6,6 @@
  * Wolfgang Denk, DENX Software Engineering, [email protected].
  */
 
-#include <asm/u-boot.h>
 #include <display_options.h>
 #include <asm/bitops.h>
 #include <asm/global_data.h>
arch/powerpc/cpu/mpc8xxx/pamu_table.c +0 -1
index e55173a890b7..831a11736cc8 100644
@@ -3,7 +3,6 @@
  * Copyright 2012-2016 Freescale Semiconductor, Inc.
  */
 
-#include <asm/u-boot.h>
 #include <log.h>
 #include <asm/fsl_pamu.h>
 #include <asm/global_data.h>
arch/powerpc/cpu/mpc8xxx/srio.c +2 -1
index 185cbabbcd85..0c7288c75740 100644
@@ -3,12 +3,13 @@
  * Copyright 2011 Freescale Semiconductor, Inc.
  */
 
-#include <asm/u-boot.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>
 
arch/powerpc/include/asm/fsl_liodn.h +3 -1
index 0af3d8902ace..4ce869b5c189 100644
@@ -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 {
arch/powerpc/include/asm/fsl_portals.h +2 -0
index 54ef4fb62954..021eec72382d 100644
@@ -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,
arch/powerpc/include/asm/global_data.h +2 -0
index f7860122a00b..a9efbbdd3d49 100644
@@ -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 */
arch/powerpc/lib/bdinfo.c +0 -1
index c12e4c6371fe..6491c210f4e2 100644
@@ -8,7 +8,6 @@
 
 #include <init.h>
 #include <asm/global_data.h>
-#include <asm/u-boot.h>
 
 DECLARE_GLOBAL_DATA_PTR;
 
arch/riscv/lib/boot.c +2 -1
index 03014c56dce2..161335abee18 100644
@@ -4,7 +4,8 @@
  * Rick Chen, Andes Technology Corporation <[email protected]>
  */
 
-#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[])
arch/sandbox/include/asm/global_data.h +1 -0
index 001b2b53c1c8..309422f75e3f 100644
@@ -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 {
arch/sh/include/asm/global_data.h +2 -0
index bd946ffd8fd7..933c302d68ce 100644
@@ -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 {
 };
arch/x86/cpu/coreboot/sdram.c +0 -1
index ee0491eab1c8..013225f129a9 100644
@@ -9,7 +9,6 @@
 #include <asm/e820.h>
 #include <asm/cb_sysinfo.h>
 #include <asm/global_data.h>
-#include <asm/u-boot.h>
 
 DECLARE_GLOBAL_DATA_PTR;
 
arch/x86/cpu/efi/payload.c +0 -1
index cb57f15f710b..642a87a37d8b 100644
@@ -16,7 +16,6 @@
 #include <asm/e820.h>
 #include <asm/global_data.h>
 #include <asm/post.h>
-#include <asm/u-boot.h>
 #include <asm/u-boot-x86.h>
 
 DECLARE_GLOBAL_DATA_PTR;
arch/x86/cpu/efi/sdram.c +0 -1
index 1f0e87735b21..6fe400711402 100644
@@ -6,7 +6,6 @@
 #include <efi.h>
 #include <init.h>
 #include <asm/global_data.h>
-#include <asm/u-boot.h>
 #include <asm/u-boot-x86.h>
 
 DECLARE_GLOBAL_DATA_PTR;
arch/x86/cpu/ivybridge/sdram_nop.c +0 -1
index e7ec35bbe2a6..d20c9a2a379f 100644
@@ -5,7 +5,6 @@
 
 #include <init.h>
 #include <asm/global_data.h>
-#include <asm/u-boot.h>
 
 DECLARE_GLOBAL_DATA_PTR;
 
arch/x86/cpu/qemu/dram.c +0 -1
index 6ac363f3d8c7..62a301c0fd3e 100644
@@ -7,7 +7,6 @@
 #include <asm/global_data.h>
 #include <asm/post.h>
 #include <asm/arch/qemu.h>
-#include <asm/u-boot.h>
 #include <linux/sizes.h>
 
 DECLARE_GLOBAL_DATA_PTR;
arch/x86/cpu/quark/dram.c +0 -1
index 7d32b98e8daf..34e576940d4f 100644
@@ -17,7 +17,6 @@
 #include <asm/arch/mrc.h>
 #include <asm/arch/msg_port.h>
 #include <asm/arch/quark.h>
-#include <asm/u-boot.h>
 
 DECLARE_GLOBAL_DATA_PTR;
 
arch/x86/cpu/tangier/sdram.c +0 -1
index 7e1d290fc595..6192f2296b80 100644
@@ -8,7 +8,6 @@
 #include <asm/e820.h>
 #include <asm/global_data.h>
 #include <asm/sfi.h>
-#include <asm/u-boot.h>
 #include <linux/printk.h>
 
 DECLARE_GLOBAL_DATA_PTR;
arch/x86/include/asm/global_data.h +1 -0
index 1ef7f1f0349e..06bd80ccc135 100644
@@ -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,
arch/xtensa/include/asm/global_data.h +2 -0
index 1157978ab688..40c129db4ace 100644
@@ -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 {
board/keymile/kmcent2/tlb.c +1 -1
index 41b24e39433d..77e11e9bc1ed 100644
@@ -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 */
board/phytium/pe2201/pe2201.c +0 -1
index 0e837b0f50f4..fbbf6789b505 100644
@@ -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;
board/phytium/pomelo/pomelo.c +0 -1
index 960e491c7687..0ea335e7486b 100644
@@ -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;
board/renesas/falcon/falcon.c +0 -1
index 27fccacf6f80..c88257d96772 100644
@@ -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;
 
board/renesas/grpeach/grpeach.c +0 -1
index c475c3f50ab3..88f65c3b6a07 100644
@@ -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
common/init/handoff.c +0 -1
index 687513bda353..a7cd065fb385 100644
@@ -7,7 +7,6 @@
 
 #include <handoff.h>
 #include <asm/global_data.h>
-#include <asm/u-boot.h>
 
 DECLARE_GLOBAL_DATA_PTR;
 
common/spl/spl.c +0 -1
index 4e92771ecaae..9a879e9fb102 100644
@@ -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>
common/spl/spl_ext.c +0 -1
index 2399e1d806d4..76f49a5a8a6a 100644
@@ -4,7 +4,6 @@
 #include <part.h>
 #include <spl.h>
 #include <spl_load.h>
-#include <asm/u-boot.h>
 #include <ext4fs.h>
 #include <errno.h>
 #include <image.h>
common/spl/spl_fat.c +0 -1
index 2e320ba7c018..bd8aab253a98 100644
@@ -12,7 +12,6 @@
 #include <log.h>
 #include <spl.h>
 #include <spl_load.h>
-#include <asm/u-boot.h>
 #include <fat.h>
 #include <errno.h>
 #include <image.h>
common/spl/spl_mmc.c +0 -1
index f4481b90463a..ccab0be4be23 100644
@@ -12,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>
common/spl/spl_sata.c +0 -1
index 18acc40e46fc..67fc620d9bea 100644
@@ -9,7 +9,6 @@
  */
 
 #include <spl.h>
-#include <asm/u-boot.h>
 #include <sata.h>
 #include <scsi.h>
 #include <errno.h>
common/spl/spl_usb.c +0 -1
index 31fc4b57d486..932da56ab6db 100644
@@ -10,7 +10,6 @@
 
 #include <log.h>
 #include <spl.h>
-#include <asm/u-boot.h>
 #include <errno.h>
 #include <usb.h>
 #include <fat.h>
common/spl/spl_ymodem.c +0 -1
index fd48f80f75e3..4c7222af612d 100644
@@ -13,7 +13,6 @@
 #include <log.h>
 #include <spl.h>
 #include <xyzModem.h>
-#include <asm/u-boot.h>
 #include <linux/libfdt.h>
 
 #define BUF_SIZE 1024
drivers/clk/altera/clk-agilex5.c +0 -1
index 92f2abdaf935..72b923465df5 100644
@@ -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>
include/dm/of.h +0 -1
index b1c934f610d3..b7404c139d19 100644
@@ -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 */
include/fsl_errata.h +1 -1
index 44547645df87..9f070726acb2 100644
@@ -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)
Signature · 1 line
2.34.1
author
#1 lore raw

PATCH 2/149 global: Audit usage of <eeprom.h>

The file include/eeprom.h is used only in some legacy non-DM I2C EEPROM access cases. Remove most inclusions of this file as they are not needed.

---
 board/atmel/common/mac_eeprom.c              | 1 -
 board/compulab/common/eeprom.c               | 1 -
 board/cssi/cmpcpro/cmpcpro.c                 | 1 -
 board/dhelectronics/dh_imx6/dh_imx6.c        | 1 -
 board/phytec/phycore_rk3288/phycore-rk3288.c | 1 -
 board/rockchip/tinker_rk3288/tinker-rk3288.c | 1 -
 board/ti/am43xx/board.c                      | 1 -
 board/ti/common/board_detect.c               | 1 -
 board/ti/ks2_evm/board_k2g.c                 | 1 -
 drivers/misc/i2c_eeprom.c                    | 1 -
 drivers/rtc/rv3029.c                         | 1 -
 11 files changed, 11 deletions(-)
board/atmel/common/mac_eeprom.c +0 -1
index 4606008c697f..e3ab78fb895b 100644
@@ -6,7 +6,6 @@
 
 #include <common.h>
 #include <dm.h>
-#include <eeprom.h>
 #include <env.h>
 #include <i2c_eeprom.h>
 #include <net.h>
board/compulab/common/eeprom.c +0 -1
index c4b257f851d6..4c752821d6cd 100644
@@ -7,7 +7,6 @@
  */
 
 #include <common.h>
-#include <eeprom.h>
 #include <i2c.h>
 #include <eeprom_layout.h>
 #include <eeprom_field.h>
board/cssi/cmpcpro/cmpcpro.c +0 -1
index ef3041245649..ec13d9a7ed7d 100644
@@ -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>
board/dhelectronics/dh_imx6/dh_imx6.c +0 -1
index 0676587c38a1..9dcfcec9e9e6 100644
@@ -7,7 +7,6 @@
 
 #include <common.h>
 #include <dm.h>
-#include <eeprom.h>
 #include <image.h>
 #include <init.h>
 #include <net.h>
board/phytec/phycore_rk3288/phycore-rk3288.c +0 -1
index 3f49f39e3d5d..1ddb4a4f8085 100644
@@ -4,7 +4,6 @@
  * Author: Wadim Egorov <[email protected]>
  */
 
-#include <eeprom.h>
 #include <init.h>
 #include <log.h>
 #include <net.h>
board/rockchip/tinker_rk3288/tinker-rk3288.c +0 -1
index eff3a00c30a8..e6e75981c2d1 100644
@@ -5,7 +5,6 @@
 
 #include <common.h>
 #include <dm.h>
-#include <eeprom.h>
 #include <env.h>
 #include <i2c_eeprom.h>
 #include <init.h>
board/ti/am43xx/board.c +0 -1
index a4679a2e2948..fdeb63d47900 100644
@@ -8,7 +8,6 @@
  */
 
 #include <common.h>
-#include <eeprom.h>
 #include <asm/global_data.h>
 #include <dm/uclass.h>
 #include <env.h>
board/ti/common/board_detect.c +0 -1
index 38e23ccbb67c..644df3b0b6ab 100644
@@ -8,7 +8,6 @@
  */
 
 #include <common.h>
-#include <eeprom.h>
 #include <log.h>
 #include <net.h>
 #include <asm/arch/hardware.h>
board/ti/ks2_evm/board_k2g.c +0 -1
index 5229afad63b0..4fed42ec1244 100644
@@ -6,7 +6,6 @@
  *     Texas Instruments Incorporated, <www.ti.com>
  */
 #include <common.h>
-#include <eeprom.h>
 #include <env.h>
 #include <hang.h>
 #include <image.h>
drivers/misc/i2c_eeprom.c +0 -1
index 9111bd724cbb..9cb375a99ab8 100644
@@ -6,7 +6,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>
drivers/rtc/rv3029.c +0 -1
index 3afe5b2fdd67..9c53c7f7dbc7 100644
@@ -10,7 +10,6 @@
 #include <common.h>
 #include <command.h>
 #include <dm.h>
-#include <eeprom.h>
 #include <i2c.h>
 #include <log.h>
 #include <rtc.h>
Signature · 1 line
2.34.1
author
#2 lore raw

PATCH 3/149 eeprom.h: Add missing <linux/types.h>

In reply to Tom Rini

This file has many "Linux" style types in it, add <linux/types.h>

---
 include/eeprom.h | 2 ++
 1 file changed, 2 insertions(+)
include/eeprom.h +2 -0
index f9c6542ba762..e223e4c76707 100644
@@ -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);
Signature · 1 line
2.34.1
author
#3 lore raw

PATCH 4/149 splash.h: Add missing <linux/types.h>

In reply to Tom Rini

This file has many "Linux" style types in it, add <linux/types.h>

---
 include/splash.h | 1 +
 1 file changed, 1 insertion(+)
include/splash.h +1 -0
index c3922375987d..83c6fa9767f0 100644
@@ -23,6 +23,7 @@
 #define _SPLASH_H_
 
 #include <errno.h>
+#include <linux/types.h>
 
 enum splash_storage {
 	SPLASH_STORAGE_NAND,
Signature · 1 line
2.34.1
author
#4 lore raw

PATCH 5/149 extension_board.h: Add missing <linux/list.h>

In reply to Tom Rini

This file has "struct list" in one of the structures, so add <linux/list.h>.

---
 include/extension_board.h | 2 ++
 1 file changed, 2 insertions(+)
include/extension_board.h +2 -0
index 3b75b5ba9f7c..87d404c00746 100644
@@ -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];
Signature · 1 line
2.34.1
author
#5 lore raw

PATCH 6/149 board: BuR: Remove <common.h> and add needed includes

In reply to Tom Rini

Remove <common.h> from this board vendor directory and when needed add missing include files directly.

---
Cc: Wolfgang Wallner <[email protected]>

---
 board/BuR/brppt1/board.c     | 2 +-
 board/BuR/brppt1/mux.c       | 1 -
 board/BuR/brppt2/board.c     | 1 -
 board/BuR/brsmarc1/board.c   | 1 -
 board/BuR/brsmarc1/mux.c     | 1 -
 board/BuR/brxre1/board.c     | 1 -
 board/BuR/brxre1/mux.c       | 1 -
 board/BuR/common/br_resetc.c | 1 -
 board/BuR/common/common.c    | 1 -
 9 files changed, 1 insertion(+), 9 deletions(-)
board/BuR/brppt1/board.c +1 -1
index 36945bbdccf5..192a2fa6327b 100644
@@ -9,7 +9,7 @@
  *
  */
 
-#include <common.h>
+#include <config.h>
 #include <bootcount.h>
 #include <env.h>
 #include <errno.h>
board/BuR/brppt1/mux.c +0 -1
index 5d2c7a201ea0..8932b9ab3b1a 100644
@@ -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>
board/BuR/brppt2/board.c +0 -1
index ee006f0196c6..105fac8912d0 100644
@@ -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>
board/BuR/brsmarc1/board.c +0 -1
index 738a5d2ff944..2d3f593d0ab0 100644
@@ -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>
board/BuR/brsmarc1/mux.c +0 -1
index 33c214d6b2a7..b59d64f93ef3 100644
@@ -9,7 +9,6 @@
  *
  */
 
-#include <common.h>
 #include <asm/arch/sys_proto.h>
 #include <asm/arch/hardware.h>
 #include <asm/arch/mux.h>
board/BuR/brxre1/board.c +0 -1
index a909104df4ac..b9b595cb156d 100644
@@ -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>
board/BuR/brxre1/mux.c +0 -1
index 6c5ad891ba91..e2e8ec57678f 100644
@@ -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>
board/BuR/common/br_resetc.c +0 -1
index 32f32b65e9d8..f5d09fef3d34 100644
@@ -5,7 +5,6 @@
  * Copyright (C) 2019 Hannes Schmelzer <[email protected]>
  * B&R Industrial Automation GmbH - http://www.br-automation.com/ *
  */
-#include <common.h>
 #include <env.h>
 #include <errno.h>
 #include <i2c.h>
board/BuR/common/common.c +0 -1
index 3c78020bf93c..8aff821cfe8a 100644
@@ -10,7 +10,6 @@
  */
 #include <log.h>
 #include <version.h>
-#include <common.h>
 #include <env.h>
 #include <fdtdec.h>
 #include <i2c.h>
Signature · 1 line
2.34.1
author
#6 lore raw

PATCH 7/149 board: BuS: Remove <common.h> and add needed includes

In reply to Tom Rini

Remove <common.h> from this board vendor directory and when needed add missing include files directly.

---
Cc: Jens Scharsig <[email protected]>

---
 board/BuS/eb_cpu5282/eb_cpu5282.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
board/BuS/eb_cpu5282/eb_cpu5282.c +1 -1
index ea49c7a99c0b..cf5610861b50 100644
@@ -7,7 +7,7 @@
  * Wolfgang Denk, DENX Software Engineering, [email protected].
  */
 
-#include <common.h>
+#include <config.h>
 #include <command.h>
 #include <asm/global_data.h>
 #include "asm/m5282.h"
Signature · 1 line
2.34.1
author
#7 lore raw

PATCH 8/149 board: CZ.NIC: Remove <common.h> and add needed includes

In reply to Tom Rini

Remove <common.h> from this board vendor directory and when needed add missing include files directly.

---
Cc: "Marek Behún" <[email protected]>

---
 board/CZ.NIC/turris_mox/mox_sp.c         | 2 +-
 board/CZ.NIC/turris_mox/turris_mox.c     | 2 +-
 board/CZ.NIC/turris_omnia/turris_omnia.c | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
board/CZ.NIC/turris_mox/mox_sp.c +1 -1
index 11d875647170..1591b40deee6 100644
@@ -3,7 +3,7 @@
  * Copyright (C) 2018 Marek Behún <[email protected]>
  */
 
-#include <common.h>
+#include <vsprintf.h>
 #include <asm/arch/soc.h>
 #include <asm/io.h>
 #include <linux/bitops.h>
board/CZ.NIC/turris_mox/turris_mox.c +1 -1
index 00114e6d9156..e4ed7f258109 100644
@@ -3,7 +3,7 @@
  * Copyright (C) 2018 Marek Behún <[email protected]>
  */
 
-#include <common.h>
+#include <config.h>
 #include <asm/arch/cpu.h>
 #include <asm/arch/soc.h>
 #include <net.h>
board/CZ.NIC/turris_omnia/turris_omnia.c +1 -1
index 3b7a71bdad25..4ee1a394b024 100644
@@ -7,7 +7,7 @@
  *   Marvell/db-88f6820-gp by Stefan Roese <[email protected]>
  */
 
-#include <common.h>
+#include <config.h>
 #include <env.h>
 #include <i2c.h>
 #include <init.h>
Signature · 1 line
2.34.1
author
#8 lore raw

PATCH 9/149 board: LaCie: Remove <common.h> and add needed includes

In reply to Tom Rini

Remove <common.h> from this board vendor directory and when needed add missing include files directly.

---
Cc: Simon Guinot <[email protected]>

---
 board/LaCie/common/common.c           | 1 -
 board/LaCie/net2big_v2/net2big_v2.c   | 2 +-
 board/LaCie/netspace_v2/netspace_v2.c | 1 -
 3 files changed, 1 insertion(+), 3 deletions(-)
board/LaCie/common/common.c +0 -1
index 52880a16fad3..e8a7830fc056 100644
@@ -3,7 +3,6 @@
  * Copyright (C) 2011 Simon Guinot <[email protected]>
  */
 
-#include <common.h>
 #include <i2c.h>
 #include <miiphy.h>
 
board/LaCie/net2big_v2/net2big_v2.c +1 -1
index 917091340009..083d91b696a1 100644
@@ -8,7 +8,7 @@
  * Written-by: Prafulla Wadaskar <[email protected]>
  */
 
-#include <common.h>
+#include <config.h>
 #include <command.h>
 #include <env.h>
 #include <i2c.h>
board/LaCie/netspace_v2/netspace_v2.c +0 -1
index 22bb008745e1..3a2fdb5c1546 100644
@@ -8,7 +8,6 @@
  * Written-by: Prafulla Wadaskar <[email protected]>
  */
 
-#include <common.h>
 #include <command.h>
 #include <env.h>
 #include <init.h>
Signature · 1 line
2.34.1
author
#9 lore raw

PATCH 10/149 board: Marvell: Remove <common.h> and add needed includes

In reply to Tom Rini

Remove <common.h> from this board vendor directory and when needed add missing include files directly.

---
Cc: Stefan Roese <[email protected]>
Cc: Chris Packham <[email protected]>
Cc: Tony Dinh <[email protected]>
Cc: Jason Cooper <[email protected]>
Cc: Siddarth Gore <[email protected]>
Cc: Aaron Williams <[email protected]>

---
 arch/arm/mach-kirkwood/include/mach/mpp.h     | 2 ++
 board/Marvell/db-88f6720/db-88f6720.c         | 1 -
 board/Marvell/db-88f6820-amc/db-88f6820-amc.c | 2 +-
 board/Marvell/db-88f6820-gp/db-88f6820-gp.c   | 2 +-
 board/Marvell/db-mv784mp-gp/db-mv784mp-gp.c   | 1 -
 board/Marvell/db-xc3-24g4xg/db-xc3-24g4xg.c   | 1 -
 board/Marvell/dreamplug/dreamplug.c           | 1 -
 board/Marvell/guruplug/guruplug.c             | 1 -
 board/Marvell/mvebu_alleycat-5/board.c        | 2 +-
 board/Marvell/mvebu_armada-37xx/board.c       | 2 +-
 board/Marvell/mvebu_armada-8k/board.c         | 2 +-
 board/Marvell/octeontx2/soc-utils.c           | 1 -
 board/Marvell/openrd/openrd.c                 | 1 -
 board/Marvell/sheevaplug/sheevaplug.c         | 1 -
 14 files changed, 7 insertions(+), 13 deletions(-)
arch/arm/mach-kirkwood/include/mach/mpp.h +2 -0
index 4d1f58c0cbdf..e2757942590b 100644
@@ -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) | \
board/Marvell/db-88f6720/db-88f6720.c +0 -1
index 26c30647fbb0..920421366f11 100644
@@ -3,7 +3,6 @@
  * Copyright (C) 2016 Stefan Roese <[email protected]>
  */
 
-#include <common.h>
 #include <init.h>
 #include <miiphy.h>
 #include <net.h>
board/Marvell/db-88f6820-amc/db-88f6820-amc.c +1 -1
index 122c63d11f99..0f92cc385bc8 100644
@@ -3,7 +3,7 @@
  * Copyright (C) 2015 Stefan Roese <[email protected]>
  */
 
-#include <common.h>
+#include <config.h>
 #include <i2c.h>
 #include <init.h>
 #include <miiphy.h>
board/Marvell/db-88f6820-gp/db-88f6820-gp.c +1 -1
index 1edc1cb6515c..8f8b2720107a 100644
@@ -3,7 +3,7 @@
  * Copyright (C) 2015 Stefan Roese <[email protected]>
  */
 
-#include <common.h>
+#include <config.h>
 #include <i2c.h>
 #include <init.h>
 #include <miiphy.h>
board/Marvell/db-mv784mp-gp/db-mv784mp-gp.c +0 -1
index 9e1fdecfca4d..6bca1f91a0a4 100644
@@ -3,7 +3,6 @@
  * Copyright (C) 2014 Stefan Roese <[email protected]>
  */
 
-#include <common.h>
 #include <init.h>
 #include <miiphy.h>
 #include <net.h>
board/Marvell/db-xc3-24g4xg/db-xc3-24g4xg.c +0 -1
index 0abdca1cd210..a7a84798a53b 100644
@@ -3,7 +3,6 @@
  * Copyright (C) 2015 Stefan Roese <[email protected]>
  */
 
-#include <common.h>
 #include <i2c.h>
 #include <init.h>
 #include <asm/global_data.h>
board/Marvell/dreamplug/dreamplug.c +0 -1
index d15faa1cb7ff..381275061318 100644
@@ -8,7 +8,6 @@
  * Written-by: Siddarth Gore <[email protected]>
  */
 
-#include <common.h>
 #include <init.h>
 #include <netdev.h>
 #include <asm/arch/cpu.h>
board/Marvell/guruplug/guruplug.c +0 -1
index ea87ded222e6..7c3cea22b936 100644
@@ -5,7 +5,6 @@
  * Written-by: Siddarth Gore <[email protected]>
  */
 
-#include <common.h>
 #include <init.h>
 #include <miiphy.h>
 #include <net.h>
board/Marvell/mvebu_alleycat-5/board.c +1 -1
index 0c4f8e03b859..c1b7cc3b613c 100644
@@ -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;
board/Marvell/mvebu_armada-37xx/board.c +1 -1
index 1685b12b8478..df3fb6d21645 100644
@@ -3,7 +3,7 @@
  * Copyright (C) 2016 Stefan Roese <[email protected]>
  */
 
-#include <common.h>
+#include <config.h>
 #include <dm.h>
 #include <dm/device-internal.h>
 #include <env.h>
board/Marvell/mvebu_armada-8k/board.c +1 -1
index a8899af6e5af..6d7042117424 100644
@@ -3,7 +3,7 @@
  * Copyright (C) 2016 Stefan Roese <[email protected]>
  */
 
-#include <common.h>
+#include <config.h>
 #include <dm.h>
 #include <i2c.h>
 #include <init.h>
board/Marvell/octeontx2/soc-utils.c +0 -1
index 43a19a90717c..64eb95f3b400 100644
@@ -5,7 +5,6 @@
  * https://spdx.org/licenses
  */
 
-#include <common.h>
 #include <dm.h>
 #include <malloc.h>
 #include <errno.h>
board/Marvell/openrd/openrd.c +0 -1
index 581e2e084d6f..dda56a582b3e 100644
@@ -10,7 +10,6 @@
  * Written-by: Prafulla Wadaskar <[email protected]>
  */
 
-#include <common.h>
 #include <init.h>
 #include <miiphy.h>
 #include <net.h>
board/Marvell/sheevaplug/sheevaplug.c +0 -1
index 26ee39ef77f9..23e761d5febf 100644
@@ -6,7 +6,6 @@
  * Written-by: Prafulla Wadaskar <[email protected]>
  */
 
-#include <common.h>
 #include <init.h>
 #include <netdev.h>
 #include <asm/global_data.h>
Signature · 1 line
2.34.1
Reviewed-by on v1 10/149
#10 lore raw

Re: [PATCH 010/149] board: Marvell: Remove <common.h> and add needed includes

Quoted 11 lines · Tom Rini

Remove <common.h> from this board vendor directory and when needed add missing include files directly.

---
Cc: Stefan Roese <[email protected]>
Cc: Chris Packham <[email protected]>
Cc: Tony Dinh <[email protected]>
Cc: Jason Cooper <[email protected]>
Cc: Siddarth Gore <[email protected]>
Cc: Aaron Williams <[email protected]>

Quoted 190 lines
---
  arch/arm/mach-kirkwood/include/mach/mpp.h     | 2 ++
  board/Marvell/db-88f6720/db-88f6720.c         | 1 -
  board/Marvell/db-88f6820-amc/db-88f6820-amc.c | 2 +-
  board/Marvell/db-88f6820-gp/db-88f6820-gp.c   | 2 +-
  board/Marvell/db-mv784mp-gp/db-mv784mp-gp.c   | 1 -
  board/Marvell/db-xc3-24g4xg/db-xc3-24g4xg.c   | 1 -
  board/Marvell/dreamplug/dreamplug.c           | 1 -
  board/Marvell/guruplug/guruplug.c             | 1 -
  board/Marvell/mvebu_alleycat-5/board.c        | 2 +-
  board/Marvell/mvebu_armada-37xx/board.c       | 2 +-
  board/Marvell/mvebu_armada-8k/board.c         | 2 +-
  board/Marvell/octeontx2/soc-utils.c           | 1 -
  board/Marvell/openrd/openrd.c                 | 1 -
  board/Marvell/sheevaplug/sheevaplug.c         | 1 -
  14 files changed, 7 insertions(+), 13 deletions(-)
arch/arm/mach-kirkwood/include/mach/mpp.h +2 -0
index 4d1f58c0cbdf..e2757942590b 100644
@@ -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) | \
board/Marvell/db-88f6720/db-88f6720.c +0 -1
index 26c30647fbb0..920421366f11 100644
@@ -3,7 +3,6 @@
   * Copyright (C) 2016 Stefan Roese <[email protected]>
   */
 
-#include <common.h>
  #include <init.h>
  #include <miiphy.h>
  #include <net.h>
board/Marvell/db-88f6820-amc/db-88f6820-amc.c +1 -1
index 122c63d11f99..0f92cc385bc8 100644
@@ -3,7 +3,7 @@
   * Copyright (C) 2015 Stefan Roese <[email protected]>
   */
 
-#include <common.h>
+#include <config.h>
  #include <i2c.h>
  #include <init.h>
  #include <miiphy.h>
board/Marvell/db-88f6820-gp/db-88f6820-gp.c +1 -1
index 1edc1cb6515c..8f8b2720107a 100644
@@ -3,7 +3,7 @@
   * Copyright (C) 2015 Stefan Roese <[email protected]>
   */
 
-#include <common.h>
+#include <config.h>
  #include <i2c.h>
  #include <init.h>
  #include <miiphy.h>
board/Marvell/db-mv784mp-gp/db-mv784mp-gp.c +0 -1
index 9e1fdecfca4d..6bca1f91a0a4 100644
@@ -3,7 +3,6 @@
   * Copyright (C) 2014 Stefan Roese <[email protected]>
   */
 
-#include <common.h>
  #include <init.h>
  #include <miiphy.h>
  #include <net.h>
board/Marvell/db-xc3-24g4xg/db-xc3-24g4xg.c +0 -1
index 0abdca1cd210..a7a84798a53b 100644
@@ -3,7 +3,6 @@
   * Copyright (C) 2015 Stefan Roese <[email protected]>
   */
 
-#include <common.h>
  #include <i2c.h>
  #include <init.h>
  #include <asm/global_data.h>
board/Marvell/dreamplug/dreamplug.c +0 -1
index d15faa1cb7ff..381275061318 100644
@@ -8,7 +8,6 @@
   * Written-by: Siddarth Gore <[email protected]>
   */
 
-#include <common.h>
  #include <init.h>
  #include <netdev.h>
  #include <asm/arch/cpu.h>
board/Marvell/guruplug/guruplug.c +0 -1
index ea87ded222e6..7c3cea22b936 100644
@@ -5,7 +5,6 @@
   * Written-by: Siddarth Gore <[email protected]>
   */
 
-#include <common.h>
  #include <init.h>
  #include <miiphy.h>
  #include <net.h>
board/Marvell/mvebu_alleycat-5/board.c +1 -1
index 0c4f8e03b859..c1b7cc3b613c 100644
@@ -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;
board/Marvell/mvebu_armada-37xx/board.c +1 -1
index 1685b12b8478..df3fb6d21645 100644
@@ -3,7 +3,7 @@
   * Copyright (C) 2016 Stefan Roese <[email protected]>
   */
 
-#include <common.h>
+#include <config.h>
  #include <dm.h>
  #include <dm/device-internal.h>
  #include <env.h>
board/Marvell/mvebu_armada-8k/board.c +1 -1
index a8899af6e5af..6d7042117424 100644
@@ -3,7 +3,7 @@
   * Copyright (C) 2016 Stefan Roese <[email protected]>
   */
 
-#include <common.h>
+#include <config.h>
  #include <dm.h>
  #include <i2c.h>
  #include <init.h>
board/Marvell/octeontx2/soc-utils.c +0 -1
index 43a19a90717c..64eb95f3b400 100644
@@ -5,7 +5,6 @@
   * https://scanmail.trustwave.com/?c=20988&d=16yx5qQPZF7h9qYYT3eDGqXkvfa5TUXAUaB6y5oezA&u=https%3a%2f%2fspdx%2eorg%2flicenses
   */
 
-#include <common.h>
  #include <dm.h>
  #include <malloc.h>
  #include <errno.h>
board/Marvell/openrd/openrd.c +0 -1
index 581e2e084d6f..dda56a582b3e 100644
@@ -10,7 +10,6 @@
   * Written-by: Prafulla Wadaskar <[email protected]>
   */
 
-#include <common.h>
  #include <init.h>
  #include <miiphy.h>
  #include <net.h>
board/Marvell/sheevaplug/sheevaplug.c +0 -1
index 26ee39ef77f9..23e761d5febf 100644
@@ -6,7 +6,6 @@
   * Written-by: Prafulla Wadaskar <[email protected]>
   */
 
-#include <common.h>
  #include <init.h>
  #include <netdev.h>
  #include <asm/global_data.h>
Reviewed-by on v1 10/149
#11 lore raw

Re: [PATCH 010/149] board: Marvell: Remove <common.h> and add needed includes

In reply to Tom Rini
Quoted 4 lines · Tom Rini

Remove <common.h> from this board vendor directory and when needed add missing include files directly.

Quoted 8 lines

---
Cc: Stefan Roese <[email protected]>
Cc: Chris Packham <[email protected]>
Cc: Tony Dinh <[email protected]>
Cc: Jason Cooper <[email protected]>
Cc: Siddarth Gore <[email protected]>
Cc: Aaron Williams <[email protected]>

Quoted 193 lines
---
 arch/arm/mach-kirkwood/include/mach/mpp.h     | 2 ++
 board/Marvell/db-88f6720/db-88f6720.c         | 1 -
 board/Marvell/db-88f6820-amc/db-88f6820-amc.c | 2 +-
 board/Marvell/db-88f6820-gp/db-88f6820-gp.c   | 2 +-
 board/Marvell/db-mv784mp-gp/db-mv784mp-gp.c   | 1 -
 board/Marvell/db-xc3-24g4xg/db-xc3-24g4xg.c   | 1 -
 board/Marvell/dreamplug/dreamplug.c           | 1 -
 board/Marvell/guruplug/guruplug.c             | 1 -
 board/Marvell/mvebu_alleycat-5/board.c        | 2 +-
 board/Marvell/mvebu_armada-37xx/board.c       | 2 +-
 board/Marvell/mvebu_armada-8k/board.c         | 2 +-
 board/Marvell/octeontx2/soc-utils.c           | 1 -
 board/Marvell/openrd/openrd.c                 | 1 -
 board/Marvell/sheevaplug/sheevaplug.c         | 1 -
 14 files changed, 7 insertions(+), 13 deletions(-)
arch/arm/mach-kirkwood/include/mach/mpp.h +2 -0
index 4d1f58c0cbdf..e2757942590b 100644
@@ -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) | \
board/Marvell/db-88f6720/db-88f6720.c +0 -1
index 26c30647fbb0..920421366f11 100644
@@ -3,7 +3,6 @@
  * Copyright (C) 2016 Stefan Roese <[email protected]>
  */
 
-#include <common.h>
 #include <init.h>
 #include <miiphy.h>
 #include <net.h>
board/Marvell/db-88f6820-amc/db-88f6820-amc.c +1 -1
index 122c63d11f99..0f92cc385bc8 100644
@@ -3,7 +3,7 @@
  * Copyright (C) 2015 Stefan Roese <[email protected]>
  */
 
-#include <common.h>
+#include <config.h>
 #include <i2c.h>
 #include <init.h>
 #include <miiphy.h>
board/Marvell/db-88f6820-gp/db-88f6820-gp.c +1 -1
index 1edc1cb6515c..8f8b2720107a 100644
@@ -3,7 +3,7 @@
  * Copyright (C) 2015 Stefan Roese <[email protected]>
  */
 
-#include <common.h>
+#include <config.h>
 #include <i2c.h>
 #include <init.h>
 #include <miiphy.h>
board/Marvell/db-mv784mp-gp/db-mv784mp-gp.c +0 -1
index 9e1fdecfca4d..6bca1f91a0a4 100644
@@ -3,7 +3,6 @@
  * Copyright (C) 2014 Stefan Roese <[email protected]>
  */
 
-#include <common.h>
 #include <init.h>
 #include <miiphy.h>
 #include <net.h>
board/Marvell/db-xc3-24g4xg/db-xc3-24g4xg.c +0 -1
index 0abdca1cd210..a7a84798a53b 100644
@@ -3,7 +3,6 @@
  * Copyright (C) 2015 Stefan Roese <[email protected]>
  */
 
-#include <common.h>
 #include <i2c.h>
 #include <init.h>
 #include <asm/global_data.h>
board/Marvell/dreamplug/dreamplug.c +0 -1
index d15faa1cb7ff..381275061318 100644
@@ -8,7 +8,6 @@
  * Written-by: Siddarth Gore <[email protected]>
  */
 
-#include <common.h>
 #include <init.h>
 #include <netdev.h>
 #include <asm/arch/cpu.h>
board/Marvell/guruplug/guruplug.c +0 -1
index ea87ded222e6..7c3cea22b936 100644
@@ -5,7 +5,6 @@
  * Written-by: Siddarth Gore <[email protected]>
  */
 
-#include <common.h>
 #include <init.h>
 #include <miiphy.h>
 #include <net.h>
board/Marvell/mvebu_alleycat-5/board.c +1 -1
index 0c4f8e03b859..c1b7cc3b613c 100644
@@ -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;
board/Marvell/mvebu_armada-37xx/board.c +1 -1
index 1685b12b8478..df3fb6d21645 100644
@@ -3,7 +3,7 @@
  * Copyright (C) 2016 Stefan Roese <[email protected]>
  */
 
-#include <common.h>
+#include <config.h>
 #include <dm.h>
 #include <dm/device-internal.h>
 #include <env.h>
board/Marvell/mvebu_armada-8k/board.c +1 -1
index a8899af6e5af..6d7042117424 100644
@@ -3,7 +3,7 @@
  * Copyright (C) 2016 Stefan Roese <[email protected]>
  */
 
-#include <common.h>
+#include <config.h>
 #include <dm.h>
 #include <i2c.h>
 #include <init.h>
board/Marvell/octeontx2/soc-utils.c +0 -1
index 43a19a90717c..64eb95f3b400 100644
@@ -5,7 +5,6 @@
  * https://spdx.org/licenses
  */
 
-#include <common.h>
 #include <dm.h>
 #include <malloc.h>
 #include <errno.h>
board/Marvell/openrd/openrd.c +0 -1
index 581e2e084d6f..dda56a582b3e 100644
@@ -10,7 +10,6 @@
  * Written-by: Prafulla Wadaskar <[email protected]>
  */
 
-#include <common.h>
 #include <init.h>
 #include <miiphy.h>
 #include <net.h>
board/Marvell/sheevaplug/sheevaplug.c +0 -2
index 26ee39ef77f9..23e761d5febf 100644
@@ -6,7 +6,6 @@
  * Written-by: Prafulla Wadaskar <[email protected]>
  */
 
-#include <common.h>
 #include <init.h>
 #include <netdev.h>
 #include <asm/global_data.h>
--

2.34.1

Reviewed-by on v1 10/149
#12 lore raw

Re: [PATCH 010/149] board: Marvell: Remove <common.h> and add needed includes

In reply to Tom Rini
Quoted 11 lines · Tom Rini

Remove <common.h> from this board vendor directory and when needed add missing include files directly.

---
Cc: Stefan Roese <[email protected]>
Cc: Chris Packham <[email protected]>
Cc: Tony Dinh <[email protected]>
Cc: Jason Cooper <[email protected]>
Cc: Siddarth Gore <[email protected]>
Cc: Aaron Williams <[email protected]>

Quoted 16 lines
---
  arch/arm/mach-kirkwood/include/mach/mpp.h     | 2 ++
  board/Marvell/db-88f6720/db-88f6720.c         | 1 -
  board/Marvell/db-88f6820-amc/db-88f6820-amc.c | 2 +-
  board/Marvell/db-88f6820-gp/db-88f6820-gp.c   | 2 +-
  board/Marvell/db-mv784mp-gp/db-mv784mp-gp.c   | 1 -
  board/Marvell/db-xc3-24g4xg/db-xc3-24g4xg.c   | 1 -
  board/Marvell/dreamplug/dreamplug.c           | 1 -
  board/Marvell/guruplug/guruplug.c             | 1 -
  board/Marvell/mvebu_alleycat-5/board.c        | 2 +-
  board/Marvell/mvebu_armada-37xx/board.c       | 2 +-
  board/Marvell/mvebu_armada-8k/board.c         | 2 +-
  board/Marvell/octeontx2/soc-utils.c           | 1 -
  board/Marvell/openrd/openrd.c                 | 1 -
  board/Marvell/sheevaplug/sheevaplug.c         | 1 -
  14 files changed, 7 insertions(+), 13 deletions(-)

Thanks,
Stefan

Quoted 166 lines
arch/arm/mach-kirkwood/include/mach/mpp.h +2 -0
index 4d1f58c0cbdf..e2757942590b 100644
@@ -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) | \
board/Marvell/db-88f6720/db-88f6720.c +0 -1
index 26c30647fbb0..920421366f11 100644
@@ -3,7 +3,6 @@
   * Copyright (C) 2016 Stefan Roese <[email protected]>
   */
 
-#include <common.h>
  #include <init.h>
  #include <miiphy.h>
  #include <net.h>
board/Marvell/db-88f6820-amc/db-88f6820-amc.c +1 -1
index 122c63d11f99..0f92cc385bc8 100644
@@ -3,7 +3,7 @@
   * Copyright (C) 2015 Stefan Roese <[email protected]>
   */
 
-#include <common.h>
+#include <config.h>
  #include <i2c.h>
  #include <init.h>
  #include <miiphy.h>
board/Marvell/db-88f6820-gp/db-88f6820-gp.c +1 -1
index 1edc1cb6515c..8f8b2720107a 100644
@@ -3,7 +3,7 @@
   * Copyright (C) 2015 Stefan Roese <[email protected]>
   */
 
-#include <common.h>
+#include <config.h>
  #include <i2c.h>
  #include <init.h>
  #include <miiphy.h>
board/Marvell/db-mv784mp-gp/db-mv784mp-gp.c +0 -1
index 9e1fdecfca4d..6bca1f91a0a4 100644
@@ -3,7 +3,6 @@
   * Copyright (C) 2014 Stefan Roese <[email protected]>
   */
 
-#include <common.h>
  #include <init.h>
  #include <miiphy.h>
  #include <net.h>
board/Marvell/db-xc3-24g4xg/db-xc3-24g4xg.c +0 -1
index 0abdca1cd210..a7a84798a53b 100644
@@ -3,7 +3,6 @@
   * Copyright (C) 2015 Stefan Roese <[email protected]>
   */
 
-#include <common.h>
  #include <i2c.h>
  #include <init.h>
  #include <asm/global_data.h>
board/Marvell/dreamplug/dreamplug.c +0 -1
index d15faa1cb7ff..381275061318 100644
@@ -8,7 +8,6 @@
   * Written-by: Siddarth Gore <[email protected]>
   */
 
-#include <common.h>
  #include <init.h>
  #include <netdev.h>
  #include <asm/arch/cpu.h>
board/Marvell/guruplug/guruplug.c +0 -1
index ea87ded222e6..7c3cea22b936 100644
@@ -5,7 +5,6 @@
   * Written-by: Siddarth Gore <[email protected]>
   */
 
-#include <common.h>
  #include <init.h>
  #include <miiphy.h>
  #include <net.h>
board/Marvell/mvebu_alleycat-5/board.c +1 -1
index 0c4f8e03b859..c1b7cc3b613c 100644
@@ -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;
board/Marvell/mvebu_armada-37xx/board.c +1 -1
index 1685b12b8478..df3fb6d21645 100644
@@ -3,7 +3,7 @@
   * Copyright (C) 2016 Stefan Roese <[email protected]>
   */
 
-#include <common.h>
+#include <config.h>
  #include <dm.h>
  #include <dm/device-internal.h>
  #include <env.h>
board/Marvell/mvebu_armada-8k/board.c +1 -1
index a8899af6e5af..6d7042117424 100644
@@ -3,7 +3,7 @@
   * Copyright (C) 2016 Stefan Roese <[email protected]>
   */
 
-#include <common.h>
+#include <config.h>
  #include <dm.h>
  #include <i2c.h>
  #include <init.h>
board/Marvell/octeontx2/soc-utils.c +0 -1
index 43a19a90717c..64eb95f3b400 100644
@@ -5,7 +5,6 @@
   * https://spdx.org/licenses
   */
 
-#include <common.h>
  #include <dm.h>
  #include <malloc.h>
  #include <errno.h>
board/Marvell/openrd/openrd.c +0 -1
index 581e2e084d6f..dda56a582b3e 100644
@@ -10,7 +10,6 @@
   * Written-by: Prafulla Wadaskar <[email protected]>
   */
 
-#include <common.h>
  #include <init.h>
  #include <miiphy.h>
  #include <net.h>
board/Marvell/sheevaplug/sheevaplug.c +0 -0
index 26ee39ef77f9..23e761d5febf 100644

board/Marvell/sheevaplug/sheevaplug.c line 11

Quoted 7 lines
board/Marvell/sheevaplug/sheevaplug.c +0 -1
@@ -6,7 +6,6 @@
   * Written-by: Prafulla Wadaskar <[email protected]>
   */
 
-#include <common.h>
  #include <init.h>
  #include <netdev.h>
  #include <asm/global_data.h>

Viele Grüße,
Stefan Roese

Signature · 3 lines
DENX Software Engineering GmbH,      Managing Director: Erika Unter
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-51 Fax: (+49)-8142-66989-80 Email: [email protected]
author
#13 lore raw

PATCH 11/149 board: Seagate: Remove <common.h> and add needed includes

In reply to Tom Rini

Remove <common.h> from this board vendor directory and when needed add missing include files directly.

---
Cc: Tony Dinh <[email protected]>
Cc: Evgeni Dobrev <[email protected]>

---
 board/Seagate/dockstar/dockstar.c     | 1 -
 board/Seagate/goflexhome/goflexhome.c | 1 -
 board/Seagate/nas220/nas220.c         | 1 -
 3 files changed, 3 deletions(-)
board/Seagate/dockstar/dockstar.c +0 -1
index d72e3ef24ee6..e6ec00a9c6cc 100644
@@ -9,7 +9,6 @@
  * Marvell Semiconductor <www.marvell.com>
  */
 
-#include <common.h>
 #include <bootstage.h>
 #include <init.h>
 #include <netdev.h>
board/Seagate/goflexhome/goflexhome.c +0 -1
index caea89c10e07..b2d0ad8c3f22 100644
@@ -12,7 +12,6 @@
  * Marvell Semiconductor <www.marvell.com>
  */
 
-#include <common.h>
 #include <bootstage.h>
 #include <init.h>
 #include <netdev.h>
board/Seagate/nas220/nas220.c +0 -1
index cd2bbdad1cd6..fa7553250d1c 100644
@@ -8,7 +8,6 @@
  * Marvell Semiconductor <www.marvell.com>
  */
 
-#include <common.h>
 #include <init.h>
 #include <miiphy.h>
 #include <net.h>
Signature · 1 line
2.34.1
Reviewed-by on v1 11/149
#14 lore raw

Re: [PATCH 011/149] board: Seagate: Remove <common.h> and add needed includes

Quoted 8 lines · Tom Rini

Remove <common.h> from this board vendor directory and when needed add missing include files directly.

---
Cc: Tony Dinh <[email protected]>
Cc: Evgeni Dobrev <[email protected]>

Quoted 45 lines
---
 board/Seagate/dockstar/dockstar.c     | 1 -
 board/Seagate/goflexhome/goflexhome.c | 1 -
 board/Seagate/nas220/nas220.c         | 1 -
 3 files changed, 3 deletions(-)
board/Seagate/dockstar/dockstar.c +0 -1
index d72e3ef24ee6..e6ec00a9c6cc 100644
@@ -9,7 +9,6 @@
  * Marvell Semiconductor <www.marvell.com>
  */
 
-#include <common.h>
 #include <bootstage.h>
 #include <init.h>
 #include <netdev.h>
board/Seagate/goflexhome/goflexhome.c +0 -1
index caea89c10e07..b2d0ad8c3f22 100644
@@ -12,7 +12,6 @@
  * Marvell Semiconductor <www.marvell.com>
  */
 
-#include <common.h>
 #include <bootstage.h>
 #include <init.h>
 #include <netdev.h>
board/Seagate/nas220/nas220.c +0 -2
index cd2bbdad1cd6..fa7553250d1c 100644
@@ -8,7 +8,6 @@
  * Marvell Semiconductor <www.marvell.com>
  */
 
-#include <common.h>
 #include <init.h>
 #include <miiphy.h>
 #include <net.h>
--

2.34.1

author
#15 lore raw

PATCH 12/149 board: Synology: Remove <common.h> and add needed includes

In reply to Tom Rini

Remove <common.h> from this board vendor directory and when needed add missing include files directly.

---
Cc: Walter Schweizer <[email protected]>
Cc: Phil Sutter <[email protected]>

---
 board/Synology/ds109/ds109.c    | 2 +-
 board/Synology/ds414/cmd_syno.c | 1 -
 board/Synology/ds414/ds414.c    | 1 -
 3 files changed, 1 insertion(+), 3 deletions(-)
board/Synology/ds109/ds109.c +1 -1
index 5c3f46e23f46..4f3975781823 100644
@@ -5,7 +5,7 @@
  * Luka Perkov <[email protected]>
  */
 
-#include <common.h>
+#include <config.h>
 #include <init.h>
 #include <miiphy.h>
 #include <net.h>
board/Synology/ds414/cmd_syno.c +0 -1
index a62658a2eb6b..29ea35e5e910 100644
@@ -5,7 +5,6 @@
  * Copyright (C) 2015  Phil Sutter <[email protected]>
  */
 
-#include <common.h>
 #include <command.h>
 #include <div64.h>
 #include <env.h>
board/Synology/ds414/ds414.c +0 -1
index abe6f9eb5e23..8db810ad3eba 100644
@@ -4,7 +4,6 @@
  * Copyright (C) 2015 Phil Sutter <[email protected]>
  */
 
-#include <common.h>
 #include <init.h>
 #include <miiphy.h>
 #include <asm/global_data.h>
Signature · 1 line
2.34.1
author
#16 lore raw

PATCH 13/149 board: advantech: Remove <common.h> and add needed includes

In reply to Tom Rini

Remove <common.h> from this board vendor directory and when needed add missing include files directly.

---
Cc: "Ying-Chun Liu (PaulLiu)" <[email protected]>
Cc: Oliver Graute <[email protected]>
Cc: George McCollister <[email protected]>

---
 board/advantech/imx8mp_rsb3720a1/imx8mp_rsb3720a1.c       | 1 -
 board/advantech/imx8mp_rsb3720a1/spl.c                    | 2 +-
 board/advantech/imx8qm_dmsse20_a1/imx8qm_dmsse20_a1.c     | 1 -
 board/advantech/imx8qm_dmsse20_a1/spl.c                   | 2 +-
 board/advantech/imx8qm_rom7720_a1/imx8qm_rom7720_a1.c     | 1 -
 board/advantech/imx8qm_rom7720_a1/spl.c                   | 2 +-
 board/advantech/som-db5800-som-6867/som-db5800-som-6867.c | 1 -
 7 files changed, 3 insertions(+), 7 deletions(-)
board/advantech/imx8mp_rsb3720a1/imx8mp_rsb3720a1.c +0 -1
index d87fe3606f6a..070933fb54b2 100644
@@ -4,7 +4,6 @@
  * Copyright 2022 Linaro
  */
 
-#include <common.h>
 #include <dwc3-uboot.h>
 #include <efi.h>
 #include <efi_loader.h>
board/advantech/imx8mp_rsb3720a1/spl.c +1 -1
index f4257bc993d6..1f7c1f25adcf 100644
@@ -4,7 +4,7 @@
  * Copyright 2022 Linaro
  */
 
-#include <common.h>
+#include <config.h>
 #include <command.h>
 #include <cpu_func.h>
 #include <errno.h>
board/advantech/imx8qm_dmsse20_a1/imx8qm_dmsse20_a1.c +0 -1
index 56b7bdb57c94..50b35db5f6cf 100644
@@ -4,7 +4,6 @@
  * Copyright 2019-2023 Kococonnector GmbH
  */
 
-#include <common.h>
 #include <errno.h>
 #include <linux/libfdt.h>
 #include <asm/io.h>
board/advantech/imx8qm_dmsse20_a1/spl.c +1 -1
index e8959ede51d9..93cf07440026 100644
@@ -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>
board/advantech/imx8qm_rom7720_a1/imx8qm_rom7720_a1.c +0 -1
index 7f766a688bb5..3def182f2967 100644
@@ -4,7 +4,6 @@
  * Copyright (C) 2019 Oliver Graute <[email protected]>
  */
 
-#include <common.h>
 #include <cpu_func.h>
 #include <env.h>
 #include <errno.h>
board/advantech/imx8qm_rom7720_a1/spl.c +1 -1
index d32400101fc9..5863e335a8bc 100644
@@ -2,7 +2,7 @@
 /*
  * Copyright 2017-2018 NXP
  */
-#include <common.h>
+#include <config.h>
 #include <dm.h>
 #include <image.h>
 #include <init.h>
board/advantech/som-db5800-som-6867/som-db5800-som-6867.c +0 -1
index 8499fc541fa7..9bbd5fd291aa 100644
@@ -4,7 +4,6 @@
  * Copyright (C) 2016 George McCollister <[email protected]>
  */
 
-#include <common.h>
 #include <init.h>
 #include <asm/fsp1/fsp_support.h>
 
Signature · 1 line
2.34.1
Acked-by on v1 13/149
#17 lore raw

Re: [PATCH 013/149] board: advantech: Remove <common.h> and add needed includes

Quoted 108 lines · Tom Rini

Remove <common.h> from this board vendor directory and when needed add missing include files directly.

---
Cc: "Ying-Chun Liu (PaulLiu)" <[email protected]>
Cc: Oliver Graute <[email protected]>
Cc: George McCollister <[email protected]>

---
 board/advantech/imx8mp_rsb3720a1/imx8mp_rsb3720a1.c       | 1 -
 board/advantech/imx8mp_rsb3720a1/spl.c                    | 2 +-
 board/advantech/imx8qm_dmsse20_a1/imx8qm_dmsse20_a1.c     | 1 -
 board/advantech/imx8qm_dmsse20_a1/spl.c                   | 2 +-
 board/advantech/imx8qm_rom7720_a1/imx8qm_rom7720_a1.c     | 1 -
 board/advantech/imx8qm_rom7720_a1/spl.c                   | 2 +-
 board/advantech/som-db5800-som-6867/som-db5800-som-6867.c | 1 -
 7 files changed, 3 insertions(+), 7 deletions(-)
board/advantech/imx8mp_rsb3720a1/imx8mp_rsb3720a1.c +0 -1
index d87fe3606f6a..070933fb54b2 100644
@@ -4,7 +4,6 @@
  * Copyright 2022 Linaro
  */
 
-#include <common.h>
 #include <dwc3-uboot.h>
 #include <efi.h>
 #include <efi_loader.h>
board/advantech/imx8mp_rsb3720a1/spl.c +1 -1
index f4257bc993d6..1f7c1f25adcf 100644
@@ -4,7 +4,7 @@
  * Copyright 2022 Linaro
  */
 
-#include <common.h>
+#include <config.h>
 #include <command.h>
 #include <cpu_func.h>
 #include <errno.h>
board/advantech/imx8qm_dmsse20_a1/imx8qm_dmsse20_a1.c +0 -1
index 56b7bdb57c94..50b35db5f6cf 100644
@@ -4,7 +4,6 @@
  * Copyright 2019-2023 Kococonnector GmbH
  */
 
-#include <common.h>
 #include <errno.h>
 #include <linux/libfdt.h>
 #include <asm/io.h>
board/advantech/imx8qm_dmsse20_a1/spl.c +1 -1
index e8959ede51d9..93cf07440026 100644
@@ -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>
board/advantech/imx8qm_rom7720_a1/imx8qm_rom7720_a1.c +0 -1
index 7f766a688bb5..3def182f2967 100644
@@ -4,7 +4,6 @@
  * Copyright (C) 2019 Oliver Graute <[email protected]>
  */
 
-#include <common.h>
 #include <cpu_func.h>
 #include <env.h>
 #include <errno.h>
board/advantech/imx8qm_rom7720_a1/spl.c +1 -1
index d32400101fc9..5863e335a8bc 100644
@@ -2,7 +2,7 @@
 /*
  * Copyright 2017-2018 NXP
  */
-#include <common.h>
+#include <config.h>
 #include <dm.h>
 #include <image.h>
 #include <init.h>
board/advantech/som-db5800-som-6867/som-db5800-som-6867.c +0 -1
index 8499fc541fa7..9bbd5fd291aa 100644
@@ -4,7 +4,6 @@
  * Copyright (C) 2016 George McCollister <[email protected]>
  */
 
-#include <common.h>
 #include <init.h>
 #include <asm/fsp1/fsp_support.h>
 
Signature · 1 line
2.34.1
author
#18 lore raw

PATCH 14/149 board: alliedtelesis: Remove <common.h> and add needed includes

In reply to Tom Rini

Remove <common.h> from this board vendor directory and when needed add missing include files directly.

---
Cc: Chris Packham <[email protected]>

---
 board/alliedtelesis/SBx81LIFKW/sbx81lifkw.c     | 1 -
 board/alliedtelesis/SBx81LIFXCAT/sbx81lifxcat.c | 1 -
 board/alliedtelesis/common/gpio_hog.c           | 1 -
 board/alliedtelesis/x240/x240.c                 | 2 +-
 board/alliedtelesis/x530/x530.c                 | 2 +-
 5 files changed, 2 insertions(+), 5 deletions(-)
board/alliedtelesis/SBx81LIFKW/sbx81lifkw.c +0 -1
index e0a7f3fa89f0..5e6d6c6234fb 100644
@@ -4,7 +4,6 @@
  * Allied Telesis <www.alliedtelesis.com>
  */
 
-#include <common.h>
 #include <init.h>
 #include <net.h>
 #include <asm/global_data.h>
board/alliedtelesis/SBx81LIFXCAT/sbx81lifxcat.c +0 -1
index 52b8eba92fc1..f30821c17963 100644
@@ -4,7 +4,6 @@
  * Allied Telesis <www.alliedtelesis.com>
  */
 
-#include <common.h>
 #include <init.h>
 #include <miiphy.h>
 #include <net.h>
board/alliedtelesis/common/gpio_hog.c +0 -1
index 4aecf7e2cef7..7da70fb4f7d6 100644
@@ -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>
board/alliedtelesis/x240/x240.c +1 -1
index 0c4f8e03b859..c1b7cc3b613c 100644
@@ -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;
board/alliedtelesis/x530/x530.c +1 -1
index 80ad62c2c665..65e6d48db0a6 100644
@@ -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>
Signature · 1 line
2.34.1
Reviewed-by on v1 14/149
#19 lore raw

Re: [PATCH 014/149] board: alliedtelesis: Remove <common.h> and add needed includes

Quoted 6 lines · Tom Rini

Remove <common.h> from this board vendor directory and when needed add missing include files directly.

---
Cc: Chris Packham <[email protected]>

Quoted 69 lines
---
  board/alliedtelesis/SBx81LIFKW/sbx81lifkw.c     | 1 -
  board/alliedtelesis/SBx81LIFXCAT/sbx81lifxcat.c | 1 -
  board/alliedtelesis/common/gpio_hog.c           | 1 -
  board/alliedtelesis/x240/x240.c                 | 2 +-
  board/alliedtelesis/x530/x530.c                 | 2 +-
  5 files changed, 2 insertions(+), 5 deletions(-)
board/alliedtelesis/SBx81LIFKW/sbx81lifkw.c +0 -1
index e0a7f3fa89f0..5e6d6c6234fb 100644
@@ -4,7 +4,6 @@
   * Allied Telesis <http://scanmail.trustwave.com/?c=20988&d=2ayx5kNiqyP-Zhu-6cGRswhIuvU8IKOw7TN5W7swfg&u=http%3a%2f%2fwww%2ealliedtelesis%2ecom>
   */
 
-#include <common.h>
  #include <init.h>
  #include <net.h>
  #include <asm/global_data.h>
board/alliedtelesis/SBx81LIFXCAT/sbx81lifxcat.c +0 -1
index 52b8eba92fc1..f30821c17963 100644
@@ -4,7 +4,6 @@
   * Allied Telesis <http://scanmail.trustwave.com/?c=20988&d=2ayx5kNiqyP-Zhu-6cGRswhIuvU8IKOw7TN5W7swfg&u=http%3a%2f%2fwww%2ealliedtelesis%2ecom>
   */
 
-#include <common.h>
  #include <init.h>
  #include <miiphy.h>
  #include <net.h>
board/alliedtelesis/common/gpio_hog.c +0 -1
index 4aecf7e2cef7..7da70fb4f7d6 100644
@@ -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>
board/alliedtelesis/x240/x240.c +1 -1
index 0c4f8e03b859..c1b7cc3b613c 100644
@@ -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;
board/alliedtelesis/x530/x530.c +1 -1
index 80ad62c2c665..65e6d48db0a6 100644
@@ -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>
author
#20 lore raw

PATCH 15/149 board: amarula: Remove <common.h> and add needed includes

In reply to Tom Rini

Remove <common.h> from this board vendor directory and when needed add missing include files directly.

---
Cc: Jagan Teki <[email protected]>
Cc: Simon Glass <[email protected]>
Cc: Philipp Tomsich <[email protected]>
Cc: Kever Yang <[email protected]>

---
 board/amarula/vyasa-rk3288/vyasa-rk3288.c | 1 -
 1 file changed, 1 deletion(-)
board/amarula/vyasa-rk3288/vyasa-rk3288.c +0 -1
index 92e0698c534b..b220256c67fa 100644
@@ -3,7 +3,6 @@
  * Copyright (C) 2017 Amarula Solutions
  */
 
-#include <common.h>
 #include <serial.h>
 
 #ifndef CONFIG_TPL_BUILD
Signature · 1 line
2.34.1
author
#21 lore raw

PATCH 16/149 board: amlogic: Remove <common.h> and add needed includes

In reply to Tom Rini

Remove <common.h> from this board vendor directory and when needed add missing include files directly.

---
Cc: Christian Hewitt <[email protected]>
Cc: Viacheslav Bocharov <[email protected]>
Cc: Neil Armstrong <[email protected]>
Cc: Beniamino Galvani <[email protected]>

---
 board/amlogic/beelink-s922x/beelink-s922x.c     | 1 -
 board/amlogic/jethub-j100/jethub-j100.c         | 1 -
 board/amlogic/jethub-j80/jethub-j80.c           | 1 -
 board/amlogic/odroid-go-ultra/odroid-go-ultra.c | 2 +-
 board/amlogic/odroid-n2/odroid-n2.c             | 1 -
 board/amlogic/p200/p200.c                       | 1 -
 board/amlogic/p201/p201.c                       | 1 -
 board/amlogic/p212/p212.c                       | 1 -
 board/amlogic/q200/q200.c                       | 1 -
 board/amlogic/s400/s400.c                       | 1 -
 board/amlogic/sei510/sei510.c                   | 1 -
 board/amlogic/sei610/sei610.c                   | 1 -
 board/amlogic/u200/u200.c                       | 1 -
 board/amlogic/vim3/vim3.c                       | 1 -
 board/amlogic/w400/w400.c                       | 1 -
 15 files changed, 1 insertion(+), 15 deletions(-)
board/amlogic/beelink-s922x/beelink-s922x.c +0 -1
index c2776310a3dc..ccb2f7d1bb19 100644
@@ -4,7 +4,6 @@
  * Author: Neil Armstrong <[email protected]>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <env.h>
 #include <init.h>
board/amlogic/jethub-j100/jethub-j100.c +0 -1
index 010fc0df7d18..b770a1f8c537 100644
@@ -4,7 +4,6 @@
  * Author: Vyacheslav Bocharov <[email protected]>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <init.h>
 #include <net.h>
board/amlogic/jethub-j80/jethub-j80.c +0 -1
index 0b781666e985..07a08dcd1700 100644
@@ -6,7 +6,6 @@
  *
  */
 
-#include <common.h>
 #include <dm.h>
 #include <adc.h>
 #include <env.h>
board/amlogic/odroid-go-ultra/odroid-go-ultra.c +1 -1
index bbd23e20fcdd..8f3f2045d74d 100644
@@ -3,7 +3,7 @@
  * Copyright (C) 2023 Neil Armstrong <[email protected]>
  */
 
-#include <common.h>
+#include <log.h>
 #include <asm/arch/boot.h>
 #include <power/regulator.h>
 
board/amlogic/odroid-n2/odroid-n2.c +0 -1
index a4bcc62174a0..ae953d0e4bab 100644
@@ -4,7 +4,6 @@
  * Author: Neil Armstrong <[email protected]>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <adc.h>
 #include <env.h>
board/amlogic/p200/p200.c +0 -1
index 754242e4a9fa..3bede46b324c 100644
@@ -3,7 +3,6 @@
  * (C) Copyright 2016 Beniamino Galvani <[email protected]>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <env.h>
 #include <init.h>
board/amlogic/p201/p201.c +0 -1
index 769e2735d27e..d44ebae07dde 100644
@@ -3,7 +3,6 @@
  * (C) Copyright 2016 Beniamino Galvani <[email protected]>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <env.h>
 #include <init.h>
board/amlogic/p212/p212.c +0 -1
index f6e60ae3af17..ae9834c0bf8d 100644
@@ -4,7 +4,6 @@
  * Author: Neil Armstrong <[email protected]>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <env.h>
 #include <init.h>
board/amlogic/q200/q200.c +0 -1
index 47f1566a9d3d..0c0afccb38c2 100644
@@ -4,7 +4,6 @@
  * Author: Neil Armstrong <[email protected]>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <env.h>
 #include <init.h>
board/amlogic/s400/s400.c +0 -1
index 06a9044fd808..96244c9ccb11 100644
@@ -4,7 +4,6 @@
  * Author: Neil Armstrong <[email protected]>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <init.h>
 #include <net.h>
board/amlogic/sei510/sei510.c +0 -1
index bb188c21f75f..1a978d1290a5 100644
@@ -4,7 +4,6 @@
  * Author: Neil Armstrong <[email protected]>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <env.h>
 #include <env_internal.h>
board/amlogic/sei610/sei610.c +0 -1
index 6490bac9eb55..8a096b15bfb2 100644
@@ -4,7 +4,6 @@
  * Author: Neil Armstrong <[email protected]>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <env.h>
 #include <env_internal.h>
board/amlogic/u200/u200.c +0 -1
index 06a9044fd808..96244c9ccb11 100644
@@ -4,7 +4,6 @@
  * Author: Neil Armstrong <[email protected]>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <init.h>
 #include <net.h>
board/amlogic/vim3/vim3.c +0 -1
index a4850364f418..bbc2d826e050 100644
@@ -4,7 +4,6 @@
  * Author: Neil Armstrong <[email protected]>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <env_internal.h>
 #include <init.h>
board/amlogic/w400/w400.c +0 -1
index 4199198496b1..b84366aaeb15 100644
@@ -4,7 +4,6 @@
  * Author: Neil Armstrong <[email protected]>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <env_internal.h>
 #include <init.h>
Signature · 1 line
2.34.1
author
#22 lore raw

PATCH 17/149 board: aristainetos: Remove <common.h> and add needed includes

In reply to Tom Rini

Remove <common.h> from this board vendor directory and when needed add missing include files directly.

---
Cc: Heiko Schocher <[email protected]>

---
 board/aristainetos/aristainetos.c | 1 -
 1 file changed, 1 deletion(-)
board/aristainetos/aristainetos.c +0 -1
index 17f37badd746..8cfac9fbb342 100644
@@ -9,7 +9,6 @@
  * Author: Fabio Estevam <[email protected]>
  */
 
-#include <common.h>
 #include <bmp_layout.h>
 #include <command.h>
 #include <image.h>
Signature · 1 line
2.34.1
Reviewed-by on v1 17/149
#23 lore raw

Re: [PATCH 017/149] board: aristainetos: Remove <common.h> and add needed includes

Hello Tom,

Quoted 9 lines · Tom Rini

Remove <common.h> from this board vendor directory and when needed add missing include files directly.

---
Cc: Heiko Schocher <[email protected]>

---
  board/aristainetos/aristainetos.c | 1 -
  1 file changed, 1 deletion(-)

Thanks!

bye,
Heiko

Signature · 3 lines
DENX Software Engineering GmbH,      Managing Director: Erika Unter
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-52   Fax: +49-8142-66989-80   Email: [email protected]
author
#24 lore raw

PATCH 18/149 board: armadeus: Remove <common.h> and add needed includes

In reply to Tom Rini

Remove <common.h> from this board vendor directory and when needed add missing include files directly.

---
Cc: "Sébastien Szymanski" <[email protected]>

---
 board/armadeus/opos6uldev/board.c | 1 -
 1 file changed, 1 deletion(-)
board/armadeus/opos6uldev/board.c +0 -1
index 365fdca1b76f..5b25545cdb88 100644
@@ -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>
Signature · 1 line
2.34.1
author
#25 lore raw

PATCH 19/149 board: armltd: Remove <common.h> and add needed includes

In reply to Tom Rini

Remove <common.h> from this board vendor directory and when needed add missing include files directly.

---
Cc: Abdellatif El Khlifi <[email protected]>
Cc: Xueliang Zhong <[email protected]>
Cc: Linus Walleij <[email protected]>
Cc: Usama Arif <[email protected]>
Cc: Kristian Amlie <[email protected]>
Cc: Liviu Dudau <[email protected]>
Cc: David Feng <[email protected]>
Cc: Peter Hoyes <[email protected]>

---
 board/armltd/corstone1000/corstone1000.c   | 1 -
 board/armltd/integrator/integrator.c       | 2 +-
 board/armltd/integrator/timer.c            | 2 +-
 board/armltd/total_compute/total_compute.c | 2 +-
 board/armltd/vexpress/vexpress_common.c    | 2 +-
 board/armltd/vexpress64/pcie.c             | 1 -
 board/armltd/vexpress64/vexpress64.c       | 2 +-
 7 files changed, 5 insertions(+), 7 deletions(-)
board/armltd/corstone1000/corstone1000.c +0 -1
index 01c80aaf9d77..3ad77f51949f 100644
@@ -6,7 +6,6 @@
  */
 
 #include <blk.h>
-#include <common.h>
 #include <cpu_func.h>
 #include <dm.h>
 #include <env.h>
board/armltd/integrator/integrator.c +1 -1
index ad02cf16da5e..eaf87e3bfe30 100644
@@ -16,7 +16,7 @@
  * Philippe Robin, <[email protected]>
  */
 
-#include <common.h>
+#include <config.h>
 #include <bootstage.h>
 #include <cpu_func.h>
 #include <dm.h>
board/armltd/integrator/timer.c +1 -1
index 9db5135a8ffa..f4101b649e30 100644
@@ -16,7 +16,7 @@
  * Philippe Robin, <[email protected]>
  */
 
-#include <common.h>
+#include <config.h>
 #include <div64.h>
 #include <time.h>
 #include <linux/delay.h>
board/armltd/total_compute/total_compute.c +1 -1
index 53941b5f5f28..e1b4f49d044b 100644
@@ -4,7 +4,7 @@
  * Usama Arif <[email protected]>
  */
 
-#include <common.h>
+#include <config.h>
 #include <dm.h>
 #include <dm/platform_data/serial_pl01x.h>
 #include <asm/armv8/mmu.h>
board/armltd/vexpress/vexpress_common.c +1 -1
index 763131c217e5..6c374e25e32c 100644
@@ -15,7 +15,7 @@
  * ARM Ltd.
  * Philippe Robin, <[email protected]>
  */
-#include <common.h>
+#include <config.h>
 #include <bootstage.h>
 #include <cpu_func.h>
 #include <init.h>
board/armltd/vexpress64/pcie.c +0 -1
index e553da86e0e0..1045c905f732 100644
@@ -5,7 +5,6 @@
  * Author: Liviu Dudau <[email protected]>
  */
 
-#include <common.h>
 #include <init.h>
 #include <log.h>
 #include <asm/io.h>
board/armltd/vexpress64/vexpress64.c +1 -1
index ee65a596838a..0119f54f0df8 100644
@@ -4,7 +4,7 @@
  * David Feng <[email protected]>
  * Sharma Bhupesh <[email protected]>
  */
-#include <common.h>
+#include <config.h>
 #include <cpu_func.h>
 #include <dm.h>
 #include <init.h>
Signature · 1 line
2.34.1
author
#26 lore raw

PATCH 20/149 board: astro: Remove <common.h> and add needed includes

In reply to Tom Rini

Remove <common.h> from this board vendor directory and when needed add missing include files directly.

---
Cc: Wolfgang Wegner <[email protected]>

---
 board/astro/mcf5373l/fpga.c     | 1 -
 board/astro/mcf5373l/mcf5373l.c | 3 ++-
 2 files changed, 2 insertions(+), 2 deletions(-)
board/astro/mcf5373l/fpga.c +0 -1
index f85737432b31..6e505c630d12 100644
@@ -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>
board/astro/mcf5373l/mcf5373l.c +2 -1
index 43563c412793..43fcbc65513d 100644
@@ -5,9 +5,10 @@
  * modified by Wolfgang Wegner <[email protected]> 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>
Signature · 1 line
2.34.1
author
#27 lore raw

PATCH 21/149 board: atmel: Remove <common.h> and add needed includes

In reply to Tom Rini

Remove <common.h> from this board vendor directory and when needed add missing include files directly.

---
Cc: Stelian Pop <[email protected]>
Cc: Eugen Hristev <[email protected]>
Cc: Durai Manickam KR <[email protected]>
Cc: Sandeep Sheriker M <[email protected]>
Cc: Nicolas Ferre <[email protected]>
Cc: Ludovic Desroches <[email protected]>
Cc: Tom Rini <[email protected]>
Cc: Mihai Sain <[email protected]>

---
 board/atmel/at91sam9260ek/at91sam9260ek.c           | 2 +-
 board/atmel/at91sam9261ek/at91sam9261ek.c           | 2 +-
 board/atmel/at91sam9263ek/at91sam9263ek.c           | 2 +-
 board/atmel/at91sam9m10g45ek/at91sam9m10g45ek.c     | 2 +-
 board/atmel/at91sam9n12ek/at91sam9n12ek.c           | 2 +-
 board/atmel/at91sam9rlek/at91sam9rlek.c             | 2 +-
 board/atmel/at91sam9x5ek/at91sam9x5ek.c             | 2 +-
 board/atmel/common/board.c                          | 1 -
 board/atmel/common/mac-spi-nor.c                    | 1 -
 board/atmel/common/mac_eeprom.c                     | 1 -
 board/atmel/common/video_display.c                  | 1 -
 board/atmel/sam9x60_curiosity/sam9x60_curiosity.c   | 1 -
 board/atmel/sam9x60ek/sam9x60ek.c                   | 2 +-
 board/atmel/sama5d27_som1_ek/sama5d27_som1_ek.c     | 1 -
 board/atmel/sama5d27_wlsom1_ek/sama5d27_wlsom1_ek.c | 2 +-
 board/atmel/sama5d29_curiosity/sama5d29_curiosity.c | 1 -
 board/atmel/sama5d2_icp/sama5d2_icp.c               | 2 +-
 board/atmel/sama5d2_ptc_ek/sama5d2_ptc_ek.c         | 2 +-
 board/atmel/sama5d2_xplained/sama5d2_xplained.c     | 1 -
 board/atmel/sama5d3_xplained/sama5d3_xplained.c     | 2 +-
 board/atmel/sama5d3xek/sama5d3xek.c                 | 2 +-
 board/atmel/sama5d4_xplained/sama5d4_xplained.c     | 2 +-
 board/atmel/sama5d4ek/sama5d4ek.c                   | 2 +-
 board/atmel/sama7g54_curiosity/sama7g54_curiosity.c | 1 -
 board/atmel/sama7g5ek/sama7g5ek.c                   | 2 +-
 25 files changed, 16 insertions(+), 25 deletions(-)
board/atmel/at91sam9260ek/at91sam9260ek.c +1 -1
index b8e02f459031..48aec652c4a4 100644
@@ -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>
board/atmel/at91sam9261ek/at91sam9261ek.c +1 -1
index eab3a1308195..5d7a18379fae 100644
@@ -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>
board/atmel/at91sam9263ek/at91sam9263ek.c +1 -1
index 15f20b62f672..2b0b01798eae 100644
@@ -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>
board/atmel/at91sam9m10g45ek/at91sam9m10g45ek.c +1 -1
index f53c1cf612d5..3bd94d0889da 100644
@@ -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>
board/atmel/at91sam9n12ek/at91sam9n12ek.c +1 -1
index a3e294c88fc8..afc0c0520e1f 100644
@@ -4,7 +4,7 @@
  * Josh Wu <[email protected]>
  */
 
-#include <common.h>
+#include <config.h>
 #include <init.h>
 #include <net.h>
 #include <vsprintf.h>
board/atmel/at91sam9rlek/at91sam9rlek.c +1 -1
index 11725f778b7d..214e917381e7 100644
@@ -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>
board/atmel/at91sam9x5ek/at91sam9x5ek.c +1 -1
index ab666b6be34f..e5688c6cf132 100644
@@ -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>
board/atmel/common/board.c +0 -1
index c93c0e52e30d..55afd43d4f32 100644
@@ -4,7 +4,6 @@
  *		      Wenyou Yang <[email protected]>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <env.h>
 #include <w1.h>
board/atmel/common/mac-spi-nor.c +0 -1
index ced27b65e63b..628f79581295 100644
@@ -5,7 +5,6 @@
  * Author: Tudor Ambarus <[email protected]>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <env.h>
 #include <net.h>
board/atmel/common/mac_eeprom.c +0 -1
index e3ab78fb895b..97edb7a549d4 100644
@@ -4,7 +4,6 @@
  *		      Wenyou Yang <[email protected]>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <env.h>
 #include <i2c_eeprom.h>
board/atmel/common/video_display.c +0 -1
index a5049f4aad41..771888205814 100644
@@ -4,7 +4,6 @@
  *		      Wenyou Yang <[email protected]>
  */
 
-#include <common.h>
 #include <atmel_lcd.h>
 #include <dm.h>
 #include <init.h>
board/atmel/sam9x60_curiosity/sam9x60_curiosity.c +0 -1
index f53d359404ef..e75043ec00f9 100644
@@ -5,7 +5,6 @@
  * Author: Durai Manickam KR <[email protected]>
  */
 
-#include <common.h>
 #include <debug_uart.h>
 #include <fdtdec.h>
 #include <init.h>
board/atmel/sam9x60ek/sam9x60ek.c +1 -1
index 3fbfca4acc96..2e5073f02b3e 100644
@@ -5,7 +5,7 @@
  * Author: Sandeep Sheriker M <[email protected]>
  */
 
-#include <common.h>
+#include <config.h>
 #include <init.h>
 #include <asm/global_data.h>
 #include <asm/io.h>
board/atmel/sama5d27_som1_ek/sama5d27_som1_ek.c +0 -1
index 329eac7223ad..36995a927cf1 100644
@@ -4,7 +4,6 @@
  *		      Wenyou.Yang <[email protected]>
  */
 
-#include <common.h>
 #include <debug_uart.h>
 #include <fdtdec.h>
 #include <init.h>
board/atmel/sama5d27_wlsom1_ek/sama5d27_wlsom1_ek.c +1 -1
index 6e41017af17c..c775d593e58c 100644
@@ -5,7 +5,7 @@
  * Author: Nicolas Ferre <[email protected]>
  */
 
-#include <common.h>
+#include <config.h>
 #include <debug_uart.h>
 #include <init.h>
 #include <asm/global_data.h>
board/atmel/sama5d29_curiosity/sama5d29_curiosity.c +0 -1
index d0679317fb2d..8759ff6f01ac 100644
@@ -6,7 +6,6 @@
  *
  */
 
-#include <common.h>
 #include <debug_uart.h>
 #include <init.h>
 #include <asm/global_data.h>
board/atmel/sama5d2_icp/sama5d2_icp.c +1 -1
index fabe492715ab..986da01639f9 100644
@@ -4,7 +4,7 @@
  *		      Eugen Hristev <[email protected]>
  */
 
-#include <common.h>
+#include <config.h>
 #include <debug_uart.h>
 #include <init.h>
 #include <asm/global_data.h>
board/atmel/sama5d2_ptc_ek/sama5d2_ptc_ek.c +1 -1
index 854715ea2269..438829df82d5 100644
@@ -4,7 +4,7 @@
  *		      Wenyou Yang <[email protected]>
  */
 
-#include <common.h>
+#include <config.h>
 #include <debug_uart.h>
 #include <dm.h>
 #include <i2c.h>
board/atmel/sama5d2_xplained/sama5d2_xplained.c +0 -1
index aa522075691c..c8a8eb49826b 100644
@@ -4,7 +4,6 @@
  *		      Wenyou.Yang <[email protected]>
  */
 
-#include <common.h>
 #include <debug_uart.h>
 #include <init.h>
 #include <asm/global_data.h>
board/atmel/sama5d3_xplained/sama5d3_xplained.c +1 -1
index ce73a801e501..54cc3c4d9003 100644
@@ -4,7 +4,7 @@
  *		      Bo Shen <[email protected]>
  */
 
-#include <common.h>
+#include <config.h>
 #include <init.h>
 #include <asm/global_data.h>
 #include <asm/io.h>
board/atmel/sama5d3xek/sama5d3xek.c +1 -1
index 660a6b9d5835..f2e1242fcb0f 100644
@@ -4,7 +4,7 @@
  * Bo Shen <[email protected]>
  */
 
-#include <common.h>
+#include <config.h>
 #include <init.h>
 #include <asm/global_data.h>
 #include <asm/io.h>
board/atmel/sama5d4_xplained/sama5d4_xplained.c +1 -1
index 780aba15ab1d..09ca16ca88ce 100644
@@ -4,7 +4,7 @@
  *		      Bo Shen <[email protected]>
  */
 
-#include <common.h>
+#include <config.h>
 #include <init.h>
 #include <asm/global_data.h>
 #include <asm/io.h>
board/atmel/sama5d4ek/sama5d4ek.c +1 -1
index 2226906a3b3d..1f8b85f0614e 100644
@@ -4,7 +4,7 @@
  *		      Bo Shen <[email protected]>
  */
 
-#include <common.h>
+#include <config.h>
 #include <init.h>
 #include <asm/global_data.h>
 #include <asm/io.h>
board/atmel/sama7g54_curiosity/sama7g54_curiosity.c +0 -1
index 33cd0903d253..b05c9754c964 100644
@@ -6,7 +6,6 @@
  *
  */
 
-#include <common.h>
 #include <init.h>
 #include <asm/global_data.h>
 #include <asm/io.h>
board/atmel/sama7g5ek/sama7g5ek.c +1 -1
index 295fd079dcf7..c07115a21195 100644
@@ -4,7 +4,7 @@
  *		      Eugen Hristev <[email protected]>
  */
 
-#include <common.h>
+#include <config.h>
 #include <debug_uart.h>
 #include <init.h>
 #include <asm/global_data.h>
Signature · 1 line
2.34.1
author
#28 lore raw

PATCH 22/149 board: avionic-design: Remove <common.h> and add needed includes

In reply to Tom Rini

Remove <common.h> from this board vendor directory and when needed add missing include files directly.

---
Cc: Alban Bedel <[email protected]>

---
 board/avionic-design/common/tamonten-ng.c | 1 -
 board/avionic-design/common/tamonten.c    | 1 -
 board/avionic-design/tec-ng/tec-ng-spl.c  | 1 -
 3 files changed, 3 deletions(-)
board/avionic-design/common/tamonten-ng.c +0 -1
index 29bde60228f9..e35bda814681 100644
@@ -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>
board/avionic-design/common/tamonten.c +0 -1
index 988f057a281c..4d7477237d44 100644
@@ -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>
board/avionic-design/tec-ng/tec-ng-spl.c +0 -1
index 6e544641833e..250494524952 100644
@@ -7,7 +7,6 @@
  *  Svyatoslav Ryhel <[email protected]>
  */
 
-#include <common.h>
 #include <asm/arch-tegra/tegra_i2c.h>
 #include <linux/delay.h>
 
Signature · 1 line
2.34.1
author
#29 lore raw

PATCH 23/149 board: beacon: Remove <common.h> and add needed includes

In reply to Tom Rini

Remove <common.h> from this board vendor directory and when needed add missing include files directly.

---
Cc: Adam Ford <[email protected]>

---
 board/beacon/beacon-rzg2m/beacon-rzg2m.c | 1 -
 board/beacon/imx8mm/lpddr4_timing.c      | 1 -
 board/beacon/imx8mm/spl.c                | 1 -
 board/beacon/imx8mn/spl.c                | 1 -
 board/beacon/imx8mp/imx8mp_beacon.c      | 1 -
 board/beacon/imx8mp/spl.c                | 1 -
 6 files changed, 6 deletions(-)
board/beacon/beacon-rzg2m/beacon-rzg2m.c +0 -1
index 99fe1edfb330..099053235ded 100644
@@ -3,7 +3,6 @@
  * Copyright 2020 Compass Electronics Group, LLC
  */
 
-#include <common.h>
 #include <asm/global_data.h>
 #include <asm/io.h>
 
board/beacon/imx8mm/lpddr4_timing.c +0 -1
index 8e48b9d81b77..c1498dd5eaf4 100644
@@ -4,7 +4,6 @@
  */
 
 #include <linux/kernel.h>
-#include <common.h>
 #include <asm/arch/ddr.h>
 #include <asm/arch/lpddr4_define.h>
 
board/beacon/imx8mm/spl.c +0 -1
index 1632238bf5dd..12013aa5a4da 100644
@@ -1,6 +1,5 @@
 // SPDX-License-Identifier: GPL-2.0+
 
-#include <common.h>
 #include <cpu_func.h>
 #include <hang.h>
 #include <init.h>
board/beacon/imx8mn/spl.c +0 -1
index b4d46f11f98d..f03841e5a01d 100644
@@ -3,7 +3,6 @@
  * Copyright 2020 Compass Electronics Group, LLC
  */
 
-#include <common.h>
 #include <hang.h>
 #include <image.h>
 #include <init.h>
board/beacon/imx8mp/imx8mp_beacon.c +0 -1
index 8963a51fbba0..dd74e7c0f755 100644
@@ -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>
board/beacon/imx8mp/spl.c +0 -1
index 591e8ca9ab5b..30d577f7e0e3 100644
@@ -4,7 +4,6 @@
  *
  */
 
-#include <common.h>
 #include <hang.h>
 #include <init.h>
 #include <log.h>
Signature · 1 line
2.34.1
Acked-by on v1 23/149
#30 lore raw

Re: [PATCH 023/149] board: beacon: Remove <common.h> and add needed includes

Quoted 5 lines · Tom Rini

Remove <common.h> from this board vendor directory and when needed add missing include files directly.

Quoted 85 lines

---
Cc: Adam Ford <[email protected]>

---
 board/beacon/beacon-rzg2m/beacon-rzg2m.c | 1 -
 board/beacon/imx8mm/lpddr4_timing.c      | 1 -
 board/beacon/imx8mm/spl.c                | 1 -
 board/beacon/imx8mn/spl.c                | 1 -
 board/beacon/imx8mp/imx8mp_beacon.c      | 1 -
 board/beacon/imx8mp/spl.c                | 1 -
 6 files changed, 6 deletions(-)
board/beacon/beacon-rzg2m/beacon-rzg2m.c +0 -1
index 99fe1edfb330..099053235ded 100644
@@ -3,7 +3,6 @@
  * Copyright 2020 Compass Electronics Group, LLC
  */
 
-#include <common.h>
 #include <asm/global_data.h>
 #include <asm/io.h>
 
board/beacon/imx8mm/lpddr4_timing.c +0 -1
index 8e48b9d81b77..c1498dd5eaf4 100644
@@ -4,7 +4,6 @@
  */
 
 #include <linux/kernel.h>
-#include <common.h>
 #include <asm/arch/ddr.h>
 #include <asm/arch/lpddr4_define.h>
 
board/beacon/imx8mm/spl.c +0 -1
index 1632238bf5dd..12013aa5a4da 100644
@@ -1,6 +1,5 @@
 // SPDX-License-Identifier: GPL-2.0+
 
-#include <common.h>
 #include <cpu_func.h>
 #include <hang.h>
 #include <init.h>
board/beacon/imx8mn/spl.c +0 -1
index b4d46f11f98d..f03841e5a01d 100644
@@ -3,7 +3,6 @@
  * Copyright 2020 Compass Electronics Group, LLC
  */
 
-#include <common.h>
 #include <hang.h>
 #include <image.h>
 #include <init.h>
board/beacon/imx8mp/imx8mp_beacon.c +0 -1
index 8963a51fbba0..dd74e7c0f755 100644
@@ -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>
board/beacon/imx8mp/spl.c +0 -2
index 591e8ca9ab5b..30d577f7e0e3 100644
@@ -4,7 +4,6 @@
  *
  */
 
-#include <common.h>
 #include <hang.h>
 #include <init.h>
 #include <log.h>
--

2.34.1

author
#31 lore raw

PATCH 24/149 board: beagle: Remove <common.h> and add needed includes

In reply to Tom Rini

Remove <common.h> from this board vendor directory and when needed add missing include files directly.

---
Cc: Tom Rini <[email protected]>

---
 board/beagle/beagle/beagle.c | 2 +-
 board/beagle/beagle/led.c    | 1 -
 2 files changed, 1 insertion(+), 2 deletions(-)
board/beagle/beagle/beagle.c +1 -1
index 847d596646e3..ac2f89cf213a 100644
@@ -12,7 +12,7 @@
  *	Syed Mohammed Khasim <[email protected]>
  *
  */
-#include <common.h>
+#include <config.h>
 #include <bootstage.h>
 #include <dm.h>
 #include <env.h>
board/beagle/beagle/led.c +0 -1
index e21c0169db71..efbd7c1e0e36 100644
@@ -3,7 +3,6 @@
  * Copyright (c) 2010 Texas Instruments, Inc.
  * Jason Kridner <[email protected]>
  */
-#include <common.h>
 #include <status_led.h>
 #include <asm/arch/cpu.h>
 #include <asm/io.h>
Signature · 1 line
2.34.1
author
#32 lore raw

PATCH 25/149 board: beckhoff: Remove <common.h> and add needed includes

In reply to Tom Rini

Remove <common.h> from this board vendor directory and when needed add missing include files directly.

---
Cc: Patrick Bruenn <[email protected]>

---
 board/beckhoff/mx53cx9020/mx53cx9020.c       | 1 -
 board/beckhoff/mx53cx9020/mx53cx9020_video.c | 1 -
 2 files changed, 2 deletions(-)
board/beckhoff/mx53cx9020/mx53cx9020.c +0 -1
index e7b131836b61..3a766728a6f7 100644
@@ -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>
board/beckhoff/mx53cx9020/mx53cx9020_video.c +0 -1
index bf4729025622..fd28a70f4d72 100644
@@ -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>
Signature · 1 line
2.34.1
Tested-by on v1 25/149
#33 lore raw

Re: [PATCH 025/149] board: beckhoff: Remove <common.h> and add needed includes

Quoted 29 lines · Tom Rini

CAUTION: External Email!!
Remove <common.h> from this board vendor directory and when needed add missing include files directly.

---
Cc: Patrick Bruenn <[email protected]>

---
 board/beckhoff/mx53cx9020/mx53cx9020.c       | 1 -
 board/beckhoff/mx53cx9020/mx53cx9020_video.c | 1 -
 2 files changed, 2 deletions(-)
board/beckhoff/mx53cx9020/mx53cx9020.c +0 -1
index e7b131836b61..3a766728a6f7 100644
@@ -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>
board/beckhoff/mx53cx9020/mx53cx9020_video.c +0 -0
index bf4729025622..fd28a70f4d72 100644

board/beckhoff/mx53cx9020/mx53cx9020_video.c line 12

Quoted 7 lines
board/beckhoff/mx53cx9020/mx53cx9020_video.c +0 -1
@@ -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>

This email contains confidential information. If you have received it in error, you must not read, use, copy or pass on this e-mail or its attachments. If you have received the e-mail in error, please inform me immediately by reply e-mail and then delete this e-mail from your system. Thank you

Diese E-Mail enthält vertrauliche Informationen. Sollten Sie sie irrtümlich erhalten haben, dürfen Sie diese E-Mail oder ihre Anhänge nicht lesen, verwenden, kopieren oder weitergeben. Sollten Sie die Mail versehentlich erhalten haben, teilen Sie mir dies bitte umgehend per Antwort-E-Mail mit und löschen Sie diese E-Mail dann aus Ihrem System. Vielen Dank

Beckhoff Automation GmbH & Co. KG | Managing Director: Dipl. Phys. Hans Beckhoff Registered office: Verl, Germany | Register court: Guetersloh HRA 7075

author
#34 lore raw

PATCH 26/149 board: bluewater: Remove <common.h> and add needed includes

In reply to Tom Rini

Remove <common.h> from this board vendor directory and when needed add missing include files directly.

---
Cc: Simon Glass <[email protected]>

---
 board/bluewater/gurnard/gurnard.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
board/bluewater/gurnard/gurnard.c +1 -1
index 9b42299b080f..3275803226a3 100644
@@ -7,7 +7,7 @@
  *   Author: Ryan Mallon <[email protected]>
  */
 
-#include <common.h>
+#include <config.h>
 #include <atmel_lcd.h>
 #include <atmel_lcdc.h>
 #include <atmel_mci.h>
Signature · 1 line
2.34.1
author
#35 lore raw

PATCH 27/149 board: bosch: Remove <common.h> and add needed includes

In reply to Tom Rini

Remove <common.h> from this board vendor directory and when needed add missing include files directly.

---
Cc: Matthias Winker <[email protected]>
Cc: Philip Oberfichtner <[email protected]>
Cc: Sjoerd Simons <[email protected]>
Cc: Govindaraji Sivanantham <[email protected]>
Cc: Hiremath Gireesh <[email protected]>
Cc: Heiko Schocher <[email protected]>

---
 board/bosch/acc/acc.c        | 2 +-
 board/bosch/guardian/board.c | 2 +-
 board/bosch/guardian/mux.c   | 1 -
 board/bosch/shc/board.c      | 2 +-
 board/bosch/shc/mux.c        | 1 -
 5 files changed, 3 insertions(+), 5 deletions(-)
board/bosch/acc/acc.c +1 -1
index 65c2f3567135..a1a00e7ffc49 100644
@@ -5,7 +5,7 @@
  * Copyright (c) 2022 DENX Software Engineering GmbH, Philip Oberfichtner <[email protected]>
  */
 
-#include <common.h>
+#include <config.h>
 #include <cpu_func.h>
 #include <bootstage.h>
 #include <dm.h>
board/bosch/guardian/board.c +1 -1
index ee9e6d632ed4..41d7567ad21e 100644
@@ -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>
board/bosch/guardian/mux.c +0 -1
index 53850ffb8f7e..eab3398c4aec 100644
@@ -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>
board/bosch/shc/board.c +1 -1
index aebdfd4dfec0..ab688745938a 100644
@@ -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>
board/bosch/shc/mux.c +0 -1
index f19d1866c721..a2a8947a3bd8 100644
@@ -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>
Signature · 1 line
2.34.1
Reviewed-by on v1 27/149
#36 lore raw

Re: [PATCH 027/149] board: bosch: Remove <common.h> and add needed includes

Hello Tom,

Quoted 11 lines · Tom Rini

Remove <common.h> from this board vendor directory and when needed add missing include files directly.

---
Cc: Matthias Winker <[email protected]>
Cc: Philip Oberfichtner <[email protected]>
Cc: Sjoerd Simons <[email protected]>
Cc: Govindaraji Sivanantham <[email protected]>
Cc: Hiremath Gireesh <[email protected]>
Cc: Heiko Schocher <[email protected]>

Quoted 7 lines
---
  board/bosch/acc/acc.c        | 2 +-
  board/bosch/guardian/board.c | 2 +-
  board/bosch/guardian/mux.c   | 1 -
  board/bosch/shc/board.c      | 2 +-
  board/bosch/shc/mux.c        | 1 -
  5 files changed, 3 insertions(+), 5 deletions(-)

Thanks!

bye,
Heiko

Signature · 3 lines
DENX Software Engineering GmbH,      Managing Director: Erika Unter
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-52   Fax: +49-8142-66989-80   Email: [email protected]
author
#37 lore raw

PATCH 28/149 board: boundary: Remove <common.h> and add needed includes

In reply to Tom Rini

Remove <common.h> from this board vendor directory and when needed add missing include files directly.

---
Cc: Troy Kisky <[email protected]>

---
 board/boundary/nitrogen6x/nitrogen6x.c | 1 -
 1 file changed, 1 deletion(-)
board/boundary/nitrogen6x/nitrogen6x.c +0 -1
index 382c01ddf4e0..2b0cb2361c40 100644
@@ -4,7 +4,6 @@
  * Copyright (C) 2013, Boundary Devices <[email protected]>
  */
 
-#include <common.h>
 #include <command.h>
 #include <env.h>
 #include <init.h>
Signature · 1 line
2.34.1
author
#38 lore raw

PATCH 29/149 board: broadcom: Remove <common.h> and add needed includes

In reply to Tom Rini

Remove <common.h> from this board vendor directory and when needed add missing include files directly.

---
Cc: Anand Gore <[email protected]>
Cc: William Zhang <[email protected]>
Cc: Kursad Oney <[email protected]>
Cc: Joel Peshkin <[email protected]>
Cc: Philippe Reynes <[email protected]>
Cc: Linus Walleij <[email protected]>
Cc: Rayagonda Kokatanur <[email protected]>
Cc: Thomas Fitzsimmons <[email protected]>

---
 board/broadcom/bcmbca/board.c  | 1 -
 board/broadcom/bcmns/ns.c      | 1 -
 board/broadcom/bcmns3/ns3.c    | 2 +-
 board/broadcom/bcmstb/bcmstb.c | 1 -
 4 files changed, 1 insertion(+), 4 deletions(-)
board/broadcom/bcmbca/board.c +0 -1
index bcecb4d78392..a6ced92565f9 100644
@@ -3,7 +3,6 @@
  * (C) Copyright 2022 Broadcom Ltd.
  */
 
-#include <common.h>
 #include <fdtdec.h>
 
 int board_init(void)
board/broadcom/bcmns/ns.c +0 -1
index 1249e45af036..45cc62936cec 100644
@@ -4,7 +4,6 @@
  * Copyright (C) 2023 Linus Walleij <[email protected]>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <init.h>
 #include <log.h>
board/broadcom/bcmns3/ns3.c +1 -1
index 7ae6742c4be8..bb2f1e4f62ad 100644
@@ -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>
board/broadcom/bcmstb/bcmstb.c +0 -1
index aead6f099e81..bc05aecc446d 100644
@@ -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>
Signature · 1 line
2.34.1
maintainer Reviewed-by on v1 29/149
#39 lore raw

Re: [PATCH 029/149] board: broadcom: Remove <common.h> and add needed includes

Hi Tom,

Quoted 64 lines · Tom Rini

Remove <common.h> from this board vendor directory and when needed add missing include files directly.

---
Cc: Anand Gore <[email protected]>
Cc: William Zhang <[email protected]>
Cc: Kursad Oney <[email protected]>
Cc: Joel Peshkin <[email protected]>
Cc: Philippe Reynes <[email protected]>
Cc: Linus Walleij <[email protected]>
Cc: Rayagonda Kokatanur <[email protected]>
Cc: Thomas Fitzsimmons <[email protected]>

---
  board/broadcom/bcmbca/board.c  | 1 -
  board/broadcom/bcmns/ns.c      | 1 -
  board/broadcom/bcmns3/ns3.c    | 2 +-
  board/broadcom/bcmstb/bcmstb.c | 1 -
  4 files changed, 1 insertion(+), 4 deletions(-)
board/broadcom/bcmbca/board.c +0 -1
index bcecb4d78392..a6ced92565f9 100644
@@ -3,7 +3,6 @@
   * (C) Copyright 2022 Broadcom Ltd.
   */
 
-#include <common.h>
  #include <fdtdec.h>
 
  int board_init(void)
board/broadcom/bcmns/ns.c +0 -1
index 1249e45af036..45cc62936cec 100644
@@ -4,7 +4,6 @@
   * Copyright (C) 2023 Linus Walleij <[email protected]>
   */
 
-#include <common.h>
  #include <dm.h>
  #include <init.h>
  #include <log.h>
board/broadcom/bcmns3/ns3.c +1 -1
index 7ae6742c4be8..bb2f1e4f62ad 100644
@@ -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>
board/broadcom/bcmstb/bcmstb.c +0 -0
index aead6f099e81..bc05aecc446d 100644

board/broadcom/bcmstb/bcmstb.c line 17

Quoted 7 lines
board/broadcom/bcmstb/bcmstb.c +0 -1
@@ -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>

For board/broadcom/bcmbca/board.c

author
#40 lore raw

PATCH 30/149 board: bsh: Remove <common.h> and add needed includes

In reply to Tom Rini

Remove <common.h> from this board vendor directory and when needed add missing include files directly.

---
Cc: Michael Trimarchi <[email protected]>

---
 board/bsh/imx6ulz_smm_m2/imx6ulz_smm_m2.c | 1 -
 board/bsh/imx6ulz_smm_m2/spl.c            | 1 -
 board/bsh/imx8mn_smm_s2/imx8mn_smm_s2.c   | 1 -
 3 files changed, 3 deletions(-)
board/bsh/imx6ulz_smm_m2/imx6ulz_smm_m2.c +0 -1
index c82eabbfbea1..c03e390762a9 100644
@@ -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>
 
board/bsh/imx6ulz_smm_m2/spl.c +0 -1
index 5b4812e129e3..724841b57456 100644
@@ -1,6 +1,5 @@
 // SPDX-License-Identifier: GPL-2.0+
 
-#include <common.h>
 #include <cpu_func.h>
 #include <hang.h>
 #include <init.h>
board/bsh/imx8mn_smm_s2/imx8mn_smm_s2.c +0 -1
index 0ebf208be82a..c99896873991 100644
@@ -3,7 +3,6 @@
  * Copyright 2021 Collabora Ltd.
  */
 
-#include <common.h>
 #include <asm/arch/sys_proto.h>
 #include <env.h>
 
Signature · 1 line
2.34.1
Reviewed-by on v1 30/149
#41 lore raw

Re: [PATCH 030/149] board: bsh: Remove <common.h> and add needed includes

Hi

Quoted 49 lines · Tom Rini

Remove <common.h> from this board vendor directory and when needed add missing include files directly.

---
Cc: Michael Trimarchi <[email protected]>

---
 board/bsh/imx6ulz_smm_m2/imx6ulz_smm_m2.c | 1 -
 board/bsh/imx6ulz_smm_m2/spl.c            | 1 -
 board/bsh/imx8mn_smm_s2/imx8mn_smm_s2.c   | 1 -
 3 files changed, 3 deletions(-)
board/bsh/imx6ulz_smm_m2/imx6ulz_smm_m2.c +0 -1
index c82eabbfbea1..c03e390762a9 100644
@@ -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>
 
board/bsh/imx6ulz_smm_m2/spl.c +0 -1
index 5b4812e129e3..724841b57456 100644
@@ -1,6 +1,5 @@
 // SPDX-License-Identifier: GPL-2.0+
 
-#include <common.h>
 #include <cpu_func.h>
 #include <hang.h>
 #include <init.h>
board/bsh/imx8mn_smm_s2/imx8mn_smm_s2.c +0 -2
index 0ebf208be82a..c99896873991 100644
@@ -3,7 +3,6 @@
  * Copyright 2021 Collabora Ltd.
  */
 
-#include <common.h>
 #include <asm/arch/sys_proto.h>
 #include <env.h>
 
--
Quoted 2 lines

2.34.1

Signature · 11 lines
Michael Nazzareno Trimarchi
Co-Founder & Chief Executive Officer
M. +39 347 913 2170
[email protected]
__________________________________

Amarula Solutions BV
Joop Geesinkweg 125, 1114 AB, Amsterdam, NL
T. +31 (0)85 111 9172
[email protected]
www.amarulasolutions.com
author
#42 lore raw

PATCH 31/149 board: bticino: Remove <common.h> and add needed includes

In reply to Tom Rini

Remove <common.h> from this board vendor directory and when needed add missing include files directly.

---
Cc: Jagan Teki <[email protected]>
Cc: Raffaele RECALCATI <[email protected]>
Cc: Simone CIANNI <[email protected]>

---
 board/bticino/mamoj/mamoj.c | 1 -
 board/bticino/mamoj/spl.c   | 1 -
 2 files changed, 2 deletions(-)
board/bticino/mamoj/mamoj.c +0 -1
index c9da42b43bf5..71497b8ab1e8 100644
@@ -5,7 +5,6 @@
  * Copyright (C) 2018 Jagan Teki <[email protected]>
  */
 
-#include <common.h>
 #include <init.h>
 #include <asm/arch/sys_proto.h>
 #include <asm/global_data.h>
board/bticino/mamoj/spl.c +0 -1
index 883b7f4133b9..59b7c24ccc9a 100644
@@ -5,7 +5,6 @@
  * Copyright (C) 2018 Jagan Teki <[email protected]>
  */
 
-#include <common.h>
 #include <init.h>
 #include <serial.h>
 #include <spl.h>
Signature · 1 line
2.34.1
author
#43 lore raw

PATCH 32/149 board: buffalo: Remove <common.h> and add needed includes

In reply to Tom Rini

Remove <common.h> from this board vendor directory and when needed add missing include files directly.

---
Cc: Michael Walle <[email protected]>

---
 board/buffalo/lsxl/lsxl.c | 1 -
 1 file changed, 1 deletion(-)
board/buffalo/lsxl/lsxl.c +0 -1
index 6a866b5470d6..1e501a09813d 100644
@@ -7,7 +7,6 @@
  *   Marvell Semiconductor <www.marvell.com>
  */
 
-#include <common.h>
 #include <bootstage.h>
 #include <button.h>
 #include <command.h>
Signature · 1 line
2.34.1
author
#45 lore raw

PATCH 33/149 board: cadence: Remove <common.h> and add needed includes

In reply to Tom Rini

Remove <common.h> from this board vendor directory and when needed add missing include files directly.

---
Cc: Max Filippov <[email protected]>

---
 board/cadence/xtfpga/xtfpga.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
board/cadence/xtfpga/xtfpga.c +1 -1
index 8e4081b4c6dd..5110fed31194 100644
@@ -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>
Signature · 1 line
2.34.1
author
#46 lore raw

PATCH 34/149 board: calao: Remove <common.h> and add needed includes

In reply to Tom Rini

Remove <common.h> from this board vendor directory and when needed add missing include files directly.

---
Cc: Mateusz Kulikowski <[email protected]>

---
 board/calao/usb_a9263/usb_a9263.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
board/calao/usb_a9263/usb_a9263.c +1 -1
index 3d31776d4841..8e39a157ea31 100644
@@ -7,7 +7,7 @@
  * Mateusz Kulikowski <[email protected]>
  */
 
-#include <common.h>
+#include <config.h>
 #include <init.h>
 #include <asm/arch/at91sam9_smc.h>
 #include <asm/arch/at91_common.h>
Signature · 1 line
2.34.1
author
#47 lore raw

PATCH 35/149 board: cavium: Remove <common.h> and add needed includes

In reply to Tom Rini

Remove <common.h> from this board vendor directory and when needed add missing include files directly.

---
Cc: Sergey Temerkhanov <[email protected]>

---
 board/cavium/thunderx/atf.c      | 3 ++-
 board/cavium/thunderx/thunderx.c | 2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)
board/cavium/thunderx/atf.c +2 -1
index 37340fe97003..ce7afb78ed50 100644
@@ -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>
board/cavium/thunderx/thunderx.c +1 -1
index ab20825ed36f..b1a805c13609 100644
@@ -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>
Signature · 1 line
2.34.1
author
#48 lore raw

PATCH 36/149 board: cei: Remove <common.h> and add needed includes

In reply to Tom Rini

Remove <common.h> from this board vendor directory and when needed add missing include files directly.

---
Cc: [email protected]

---
 board/cei/cei-tk1-som/cei-tk1-som.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
board/cei/cei-tk1-som/cei-tk1-som.c +1 -1
index 95ee7bbfe29a..15b200454da7 100644
@@ -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>
Signature · 1 line
2.34.1
author
#49 lore raw

PATCH 37/149 board: chipspark: Remove <common.h> and add needed includes

In reply to Tom Rini

Remove <common.h> from this board vendor directory and when needed add missing include files directly.

---
Cc: Lin Huang <[email protected]>
Cc: Simon Glass <[email protected]>
Cc: Philipp Tomsich <[email protected]>
Cc: Kever Yang <[email protected]>

---
 board/chipspark/popmetal_rk3288/popmetal-rk3288.c | 1 -
 1 file changed, 1 deletion(-)
board/chipspark/popmetal_rk3288/popmetal-rk3288.c +0 -1
index e6909b3b1c53..dd7551170d25 100644
@@ -3,7 +3,6 @@
  * (C) Copyright 2016 Rockchip Electronics Co., Ltd
  */
 
-#include <common.h>
 #include <init.h>
 #include <asm/gpio.h>
 
Signature · 1 line
2.34.1
author
#50 lore raw

PATCH 38/149 board: cloos: Remove <common.h> and add needed includes

In reply to Tom Rini

Remove <common.h> from this board vendor directory and when needed add missing include files directly.

---
Cc: Fabio Estevam <[email protected]>

---
 board/cloos/imx8mm_phg/imx8mm_phg.c | 1 -
 board/cloos/imx8mm_phg/spl.c        | 1 -
 2 files changed, 2 deletions(-)
board/cloos/imx8mm_phg/imx8mm_phg.c +0 -1
index bc4e984d5056..091c9a59a52b 100644
@@ -3,7 +3,6 @@
  * Copyright 2018 NXP
  */
 
-#include <common.h>
 #include <env.h>
 #include <init.h>
 #include <miiphy.h>
board/cloos/imx8mm_phg/spl.c +0 -1
index 0c3a0135a860..b8892ed2fccd 100644
@@ -3,7 +3,6 @@
  * Copyright 2019 NXP
  */
 
-#include <common.h>
 #include <command.h>
 #include <cpu_func.h>
 #include <hang.h>
Signature · 1 line
2.34.1
author
#51 lore raw

PATCH 39/149 board: cloudengines: Remove <common.h> and add needed includes

In reply to Tom Rini

Remove <common.h> from this board vendor directory and when needed add missing include files directly.

---
Cc: Dave Purdy <[email protected]>
Cc: Tony Dinh <[email protected]>

---
 board/cloudengines/pogo_e02/pogo_e02.c | 1 -
 board/cloudengines/pogo_v4/pogo_v4.c   | 1 -
 2 files changed, 2 deletions(-)
board/cloudengines/pogo_e02/pogo_e02.c +0 -1
index 59e1218b411a..48eee67129fa 100644
@@ -10,7 +10,6 @@
  * Written-by: Prafulla Wadaskar <[email protected]>
  */
 
-#include <common.h>
 #include <init.h>
 #include <log.h>
 #include <netdev.h>
board/cloudengines/pogo_v4/pogo_v4.c +0 -1
index 61ce0d59c77e..c8ad563f721d 100644
@@ -11,7 +11,6 @@
  * Written-by: Prafulla Wadaskar <[email protected]>
  */
 
-#include <common.h>
 #include <netdev.h>
 #include <asm/arch/cpu.h>
 #include <asm/arch/soc.h>
Signature · 1 line
2.34.1
Reviewed-by on v1 39/149
#52 lore raw

Re: [PATCH 039/149] board: cloudengines: Remove <common.h> and add needed includes

Quoted 8 lines · Tom Rini

Remove <common.h> from this board vendor directory and when needed add missing include files directly.

---
Cc: Dave Purdy <[email protected]>
Cc: Tony Dinh <[email protected]>

Quoted 32 lines
---
 board/cloudengines/pogo_e02/pogo_e02.c | 1 -
 board/cloudengines/pogo_v4/pogo_v4.c   | 1 -
 2 files changed, 2 deletions(-)
board/cloudengines/pogo_e02/pogo_e02.c +0 -1
index 59e1218b411a..48eee67129fa 100644
@@ -10,7 +10,6 @@
  * Written-by: Prafulla Wadaskar <[email protected]>
  */
 
-#include <common.h>
 #include <init.h>
 #include <log.h>
 #include <netdev.h>
board/cloudengines/pogo_v4/pogo_v4.c +0 -2
index 61ce0d59c77e..c8ad563f721d 100644
@@ -11,7 +11,6 @@
  * Written-by: Prafulla Wadaskar <[email protected]>
  */
 
-#include <common.h>
 #include <netdev.h>
 #include <asm/arch/cpu.h>
 #include <asm/arch/soc.h>
--

2.34.1

author
#53 lore raw

PATCH 40/149 board: cobra5272: Remove <common.h> and add needed includes

In reply to Tom Rini

Remove <common.h> from this board vendor directory and when needed add missing include files directly.

---
Cc: Angelo Dureghello <[email protected]>

---
 board/cobra5272/cobra5272.c | 2 +-
 board/cobra5272/flash.c     | 6 +++++-
 2 files changed, 6 insertions(+), 2 deletions(-)
board/cobra5272/cobra5272.c +1 -1
index 69a9df942311..774aa82b57fe 100644
@@ -4,7 +4,7 @@
  * Wolfgang Denk, DENX Software Engineering, [email protected].
  */
 
-#include <common.h>
+#include <config.h>
 #include <init.h>
 #include <asm/global_data.h>
 #include <asm/immap.h>
board/cobra5272/flash.c +5 -1
index 8416af163ad1..157b71da85e8 100644
@@ -4,13 +4,17 @@
  * Wolfgang Denk, DENX Software Engineering, [email protected].
  */
 
-#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
Signature · 1 line
2.34.1
Acked-by on v1 40/149
#54 lore raw

Re: [PATCH 040/149] board: cobra5272: Remove <common.h> and add needed includes

Hi Tom,

Quoted 47 lines · Tom Rini

Remove <common.h> from this board vendor directory and when needed add missing include files directly.

---
Cc: Angelo Dureghello <[email protected]>

---
  board/cobra5272/cobra5272.c | 2 +-
  board/cobra5272/flash.c     | 6 +++++-
  2 files changed, 6 insertions(+), 2 deletions(-)
board/cobra5272/cobra5272.c +1 -1
index 69a9df942311..774aa82b57fe 100644
@@ -4,7 +4,7 @@
   * Wolfgang Denk, DENX Software Engineering, [email protected].
   */
 
-#include <common.h>
+#include <config.h>
  #include <init.h>
  #include <asm/global_data.h>
  #include <asm/immap.h>
board/cobra5272/flash.c +5 -1
index 8416af163ad1..157b71da85e8 100644
@@ -4,13 +4,17 @@
   * Wolfgang Denk, DENX Software Engineering, [email protected].
   */
 
-#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
author
#55 lore raw

PATCH 41/149 board: compulab: Remove <common.h> and add needed includes

In reply to Tom Rini

Remove <common.h> from this board vendor directory and when needed add missing include files directly.

---
Cc: Uri Mashiach <[email protected]>
Cc: Nikita Kiryanov <[email protected]>
Cc: "Ying-Chun Liu (PaulLiu)" <[email protected]>
Cc: Tom Warren <[email protected]>
Cc: Stephen Warren <[email protected]>
Cc: Tom Rini <[email protected]>

---
 board/compulab/cl-som-imx7/cl-som-imx7.c                       | 2 +-
 board/compulab/cl-som-imx7/common.c                            | 1 -
 board/compulab/cl-som-imx7/mux.c                               | 2 +-
 board/compulab/cl-som-imx7/spl.c                               | 1 -
 board/compulab/cm_fx6/cm_fx6.c                                 | 2 +-
 board/compulab/cm_fx6/common.c                                 | 1 -
 board/compulab/cm_fx6/spl.c                                    | 1 -
 board/compulab/cm_t43/cm_t43.c                                 | 2 +-
 board/compulab/cm_t43/mux.c                                    | 1 -
 board/compulab/cm_t43/spl.c                                    | 2 +-
 board/compulab/common/common.c                                 | 1 -
 board/compulab/common/eeprom.c                                 | 3 ++-
 board/compulab/common/omap3_smc911x.c                          | 1 -
 board/compulab/imx8mm-cl-iot-gate/ddr/ddr.c                    | 1 -
 .../imx8mm-cl-iot-gate/ddr/lpddr4_timing_01061010.1_2.c        | 1 -
 board/compulab/imx8mm-cl-iot-gate/ddr/lpddr4_timing_01061010.c | 1 -
 board/compulab/imx8mm-cl-iot-gate/ddr/lpddr4_timing_ff000110.c | 1 -
 board/compulab/imx8mm-cl-iot-gate/ddr/lpddr4_timing_ff020008.c | 1 -
 board/compulab/imx8mm-cl-iot-gate/eeprom_spl.c                 | 2 +-
 board/compulab/imx8mm-cl-iot-gate/imx8mm-cl-iot-gate.c         | 1 -
 board/compulab/imx8mm-cl-iot-gate/spl.c                        | 1 -
 board/compulab/trimslice/trimslice.c                           | 1 -
 22 files changed, 8 insertions(+), 22 deletions(-)
board/compulab/cl-som-imx7/cl-som-imx7.c +1 -1
index af19a658b542..7853c4d024a3 100644
@@ -7,7 +7,7 @@
  * Author: Uri Mashiach <[email protected]>
  */
 
-#include <common.h>
+#include <config.h>
 #include <env.h>
 #include <init.h>
 #include <mmc.h>
board/compulab/cl-som-imx7/common.c +0 -1
index 40ba0f7a9605..ae8e83466207 100644
@@ -7,7 +7,6 @@
  * Author: Uri Mashiach <[email protected]>
  */
 
-#include <common.h>
 #include <fsl_esdhc_imx.h>
 #include <asm-generic/gpio.h>
 #include "common.h"
board/compulab/cl-som-imx7/mux.c +1 -1
index 18f16a48738c..25123ee145a6 100644
@@ -7,7 +7,7 @@
  * Author: Uri Mashiach <[email protected]>
  */
 
-#include <common.h>
+#include <linux/kernel.h>
 #include <asm/mach-imx/iomux-v3.h>
 #include <asm/arch-mx7/mx7-pins.h>
 
board/compulab/cl-som-imx7/spl.c +0 -1
index 98c3b831f1e1..9b6bbb974da7 100644
@@ -7,7 +7,6 @@
  * Author: Uri Mashiach <[email protected]>
  */
 
-#include <common.h>
 #include <hang.h>
 #include <init.h>
 #include <spl.h>
board/compulab/cm_fx6/cm_fx6.c +1 -1
index 7bce09e432c0..4a6cc3e56308 100644
@@ -7,7 +7,7 @@
  * Author: Nikita Kiryanov <[email protected]>
  */
 
-#include <common.h>
+#include <config.h>
 #include <ahci.h>
 #include <dm.h>
 #include <dwc_ahsata.h>
board/compulab/cm_fx6/common.c +0 -1
index ed8c7a3bf5f8..a71861b1731b 100644
@@ -7,7 +7,6 @@
  * Author: Nikita Kiryanov <[email protected]>
  */
 
-#include <common.h>
 #include <asm/arch/sys_proto.h>
 #include <asm/gpio.h>
 #include <asm/mach-imx/spi.h>
board/compulab/cm_fx6/spl.c +0 -1
index 079f196200e5..b11bf2d28c68 100644
@@ -7,7 +7,6 @@
  * Author: Nikita Kiryanov <[email protected]>
  */
 
-#include <common.h>
 #include <clock_legacy.h>
 #include <hang.h>
 #include <init.h>
board/compulab/cm_t43/cm_t43.c +1 -1
index 5df378a62e3c..181581926c37 100644
@@ -3,7 +3,7 @@
  * Copyright (C) 2015 Compulab, Ltd.
  */
 
-#include <common.h>
+#include <config.h>
 #include <i2c.h>
 #include <miiphy.h>
 #include <cpsw.h>
board/compulab/cm_t43/mux.c +0 -1
index 778ea05e84cb..f10910565d50 100644
@@ -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"
board/compulab/cm_t43/spl.c +1 -1
index a6223a477fef..212bfeb5c307 100644
@@ -3,7 +3,7 @@
  * Copyright (C) 2016 Compulab, Ltd.
  */
 
-#include <common.h>
+#include <config.h>
 #include <hang.h>
 #include <init.h>
 #include <spl.h>
board/compulab/common/common.c +0 -1
index 528c97df19a4..6ffebe6bdb41 100644
@@ -5,7 +5,6 @@
  * Authors: Igor Grinberg <[email protected]>
  */
 
-#include <common.h>
 #include <malloc.h>
 #include <asm/bootm.h>
 #include <asm/gpio.h>
board/compulab/common/eeprom.c +2 -1
index 4c752821d6cd..efdaf342d5c3 100644
@@ -6,12 +6,13 @@
  *	    Igor Grinberg <[email protected]>
  */
 
-#include <common.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
board/compulab/common/omap3_smc911x.c +0 -1
index f0d365272c1b..411fc4943bac 100644
@@ -5,7 +5,6 @@
  * Authors: Igor Grinberg <[email protected]>
  */
 
-#include <common.h>
 #include <netdev.h>
 #include <linux/delay.h>
 
board/compulab/imx8mm-cl-iot-gate/ddr/ddr.c +0 -1
index b230478b611a..99d3bf3af3bc 100644
@@ -5,7 +5,6 @@
  *
  */
 
-#include <common.h>
 #include <spl.h>
 #include <asm/io.h>
 #include <errno.h>
board/compulab/imx8mm-cl-iot-gate/ddr/lpddr4_timing_01061010.1_2.c +0 -1
index 9019a1f2035c..efcc95c739fd 100644
@@ -7,7 +7,6 @@
  */
 
 #include <linux/kernel.h>
-#include <common.h>
 #include <asm/arch/ddr.h>
 #include <asm/arch/lpddr4_define.h>
 
board/compulab/imx8mm-cl-iot-gate/ddr/lpddr4_timing_01061010.c +0 -1
index 5141c04f12dc..67f59ed9407f 100644
@@ -7,7 +7,6 @@
  */
 
 #include <linux/kernel.h>
-#include <common.h>
 #include <asm/arch/ddr.h>
 #include <asm/arch/lpddr4_define.h>
 
board/compulab/imx8mm-cl-iot-gate/ddr/lpddr4_timing_ff000110.c +0 -1
index 2334722497db..273ee89c0bc6 100644
@@ -7,7 +7,6 @@
  */
 
 #include <linux/kernel.h>
-#include <common.h>
 #include <asm/arch/ddr.h>
 #include <asm/arch/lpddr4_define.h>
 
board/compulab/imx8mm-cl-iot-gate/ddr/lpddr4_timing_ff020008.c +0 -1
index e65445e01559..1243800b3241 100644
@@ -7,7 +7,6 @@
  */
 
 #include <linux/kernel.h>
-#include <common.h>
 #include <asm/arch/ddr.h>
 #include <asm/arch/lpddr4_define.h>
 
board/compulab/imx8mm-cl-iot-gate/eeprom_spl.c +1 -1
index 90cc33a6e460..1256848f9a98 100644
@@ -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>
board/compulab/imx8mm-cl-iot-gate/imx8mm-cl-iot-gate.c +0 -1
index af070ec315c4..ba1587341428 100644
@@ -4,7 +4,6 @@
  * Copyright 2020 Linaro
  */
 
-#include <common.h>
 #include <efi.h>
 #include <efi_loader.h>
 #include <env.h>
board/compulab/imx8mm-cl-iot-gate/spl.c +0 -1
index 19c1acd8a525..6d9af2538b63 100644
@@ -4,7 +4,6 @@
  * Copyright 2020 Linaro
  */
 
-#include <common.h>
 #include <command.h>
 #include <cpu_func.h>
 #include <hang.h>
board/compulab/trimslice/trimslice.c +0 -1
index 21ff0cda7f70..af05c0c0f059 100644
@@ -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>
Signature · 1 line
2.34.1
author
#56 lore raw

PATCH 42/149 board: conclusive: Remove <common.h> and add needed includes

In reply to Tom Rini

Remove <common.h> from this board vendor directory and when needed add missing include files directly.

---
Cc: Jakub Klama <[email protected]>
Cc: Artur Rojek <[email protected]>

---
 board/conclusive/kstr-sama5d27/kstr-sama5d27.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
board/conclusive/kstr-sama5d27/kstr-sama5d27.c +1 -1
index 1b765b113743..64282ae9dc77 100644
@@ -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>
Signature · 1 line
2.34.1
author
#57 lore raw

PATCH 43/149 board: congatec: Remove <common.h> and add needed includes

In reply to Tom Rini

Remove <common.h> from this board vendor directory and when needed add missing include files directly.

---
Cc: Oliver Graute <[email protected]>
Cc: Stefan Roese <[email protected]>

---
 board/congatec/cgtqmx8/cgtqmx8.c                           | 2 +-
 board/congatec/cgtqmx8/spl.c                               | 1 -
 board/congatec/common/mmc.c                                | 3 ++-
 board/congatec/conga-qeval20-qa3-e3845/conga-qeval20-qa3.c | 1 -
 4 files changed, 3 insertions(+), 4 deletions(-)
board/congatec/cgtqmx8/cgtqmx8.c +1 -1
index d8e5b1d69633..99c33a1943e0 100644
@@ -3,7 +3,7 @@
  * Copyright 2018 congatec AG
  * Copyright (C) 2019 Oliver Graute <[email protected]>
  */
-#include <common.h>
+#include <config.h>
 #include <errno.h>
 #include <linux/libfdt.h>
 #include <fsl_esdhc.h>
board/congatec/cgtqmx8/spl.c +0 -1
index b432ce27459f..242e794981b7 100644
@@ -4,7 +4,6 @@
  *
  */
 
-#include <common.h>
 #include <dm.h>
 #include <fdt_support.h>
 #include <init.h>
board/congatec/common/mmc.c +2 -1
index bb7a3d4a9aa0..74a189ab4d7f 100644
@@ -4,7 +4,8 @@
  * Copyright 2018 NXP
  *
  */
-#include <common.h>
+
+#include <vsprintf.h>
 #include <linux/errno.h>
 #include <asm/io.h>
 #include <env.h>
board/congatec/conga-qeval20-qa3-e3845/conga-qeval20-qa3.c +0 -1
index 315b6dc54295..4197e88fb6ff 100644
@@ -3,7 +3,6 @@
  * Copyright (C) 2016 Stefan Roese <[email protected]>
  */
 
-#include <common.h>
 #include <i2c.h>
 #include <init.h>
 #include <winbond_w83627.h>
Signature · 1 line
2.34.1
Acked-by on v1 43/149
#58 lore raw

Re: [PATCH 043/149] board: congatec: Remove <common.h> and add needed includes

Quoted 68 lines · Tom Rini

Remove <common.h> from this board vendor directory and when needed add missing include files directly.

---
Cc: Oliver Graute <[email protected]>
Cc: Stefan Roese <[email protected]>

---
 board/congatec/cgtqmx8/cgtqmx8.c                           | 2 +-
 board/congatec/cgtqmx8/spl.c                               | 1 -
 board/congatec/common/mmc.c                                | 3 ++-
 board/congatec/conga-qeval20-qa3-e3845/conga-qeval20-qa3.c | 1 -
 4 files changed, 3 insertions(+), 4 deletions(-)
board/congatec/cgtqmx8/cgtqmx8.c +1 -1
index d8e5b1d69633..99c33a1943e0 100644
@@ -3,7 +3,7 @@
  * Copyright 2018 congatec AG
  * Copyright (C) 2019 Oliver Graute <[email protected]>
  */
-#include <common.h>
+#include <config.h>
 #include <errno.h>
 #include <linux/libfdt.h>
 #include <fsl_esdhc.h>
board/congatec/cgtqmx8/spl.c +0 -1
index b432ce27459f..242e794981b7 100644
@@ -4,7 +4,6 @@
  *
  */
 
-#include <common.h>
 #include <dm.h>
 #include <fdt_support.h>
 #include <init.h>
board/congatec/common/mmc.c +2 -1
index bb7a3d4a9aa0..74a189ab4d7f 100644
@@ -4,7 +4,8 @@
  * Copyright 2018 NXP
  *
  */
-#include <common.h>
+
+#include <vsprintf.h>
 #include <linux/errno.h>
 #include <asm/io.h>
 #include <env.h>
board/congatec/conga-qeval20-qa3-e3845/conga-qeval20-qa3.c +0 -1
index 315b6dc54295..4197e88fb6ff 100644
@@ -3,7 +3,6 @@
  * Copyright (C) 2016 Stefan Roese <[email protected]>
  */
 
-#include <common.h>
 #include <i2c.h>
 #include <init.h>
 #include <winbond_w83627.h>
Signature · 1 line
2.34.1
author
#59 lore raw

PATCH 44/149 board: coreboot: Remove <common.h> and add needed includes

In reply to Tom Rini

Remove <common.h> from this board vendor directory and when needed add missing include files directly.

---
Cc: Simon Glass <[email protected]>
Cc: Bin Meng <[email protected]>
Cc: Mike Frysinger <[email protected]>

---
 board/coreboot/coreboot/coreboot.c | 1 -
 1 file changed, 1 deletion(-)
board/coreboot/coreboot/coreboot.c +0 -1
index e58dce37477f..f2ca10767681 100644
@@ -3,7 +3,6 @@
  * Copyright (C) 2018, Bin Meng <[email protected]>
  */
 
-#include <common.h>
 #include <splash.h>
 #include <init.h>
 #include <smbios.h>
Signature · 1 line
2.34.1
author
#60 lore raw

PATCH 45/149 board: cortina: Remove <common.h> and add needed includes

In reply to Tom Rini

Remove <common.h> from this board vendor directory and when needed add missing include files directly.

---
Cc: Alex Nemirovsky <[email protected]>

---
 board/cortina/presidio-asic/presidio.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
board/cortina/presidio-asic/presidio.c +1 -1
index fdfa3affc3b1..c07e0eae4e9d 100644
@@ -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>
Signature · 1 line
2.34.1
author
#61 lore raw

PATCH 46/149 board: d-link: Remove <common.h> and add needed includes

In reply to Tom Rini

Remove <common.h> from this board vendor directory and when needed add missing include files directly.

---
Cc: Stefan Herbrechtsmeier <[email protected]>

---
 board/d-link/dns325/dns325.c | 1 -
 1 file changed, 1 deletion(-)
board/d-link/dns325/dns325.c +0 -1
index 8ebfe4c60189..3bbde9808d20 100644
@@ -9,7 +9,6 @@
  * Written-by: Prafulla Wadaskar <[email protected]>
  */
 
-#include <common.h>
 #include <init.h>
 #include <log.h>
 #include <miiphy.h>
Signature · 1 line
2.34.1
author
#62 lore raw

PATCH 47/149 board: data_modul: Remove <common.h> and add needed includes

In reply to Tom Rini

Remove <common.h> from this board vendor directory and when needed add missing include files directly.

---
Cc: Marek Vasut <[email protected]>
Cc: Fabio Estevam <[email protected]>
Cc: Simon Glass <[email protected]>
Cc: Tom Rini <[email protected]>

---
 board/data_modul/common/common.c                            | 1 -
 board/data_modul/imx8mm_edm_sbc/imx8mm_data_modul_edm_sbc.c | 1 -
 board/data_modul/imx8mm_edm_sbc/spl.c                       | 1 -
 board/data_modul/imx8mp_edm_sbc/imx8mp_data_modul_edm_sbc.c | 1 -
 board/data_modul/imx8mp_edm_sbc/spl.c                       | 1 -
 5 files changed, 5 deletions(-)
board/data_modul/common/common.c +0 -1
index 4ece82c73039..b4d74a8fd8bd 100644
@@ -3,7 +3,6 @@
  * Copyright 2022 Marek Vasut <[email protected]>
  */
 
-#include <common.h>
 #include <asm-generic/gpio.h>
 #include <asm-generic/sections.h>
 #include <asm/arch/clock.h>
board/data_modul/imx8mm_edm_sbc/imx8mm_data_modul_edm_sbc.c +0 -1
index bfb2bddc1d1f..339702e83927 100644
@@ -3,7 +3,6 @@
  * Copyright 2022 Marek Vasut <[email protected]>
  */
 
-#include <common.h>
 #include <asm/arch/clock.h>
 #include <asm/arch/imx8mm_pins.h>
 #include <asm/io.h>
board/data_modul/imx8mm_edm_sbc/spl.c +0 -1
index 4a9c62fb86fc..17aafd719c9d 100644
@@ -3,7 +3,6 @@
  * Copyright 2022 Marek Vasut <[email protected]>
  */
 
-#include <common.h>
 #include <hang.h>
 #include <image.h>
 #include <init.h>
board/data_modul/imx8mp_edm_sbc/imx8mp_data_modul_edm_sbc.c +0 -1
index f0f373aa2800..138acd36ad24 100644
@@ -3,7 +3,6 @@
  * Copyright 2022 Marek Vasut <[email protected]>
  */
 
-#include <common.h>
 #include <asm/arch/clock.h>
 #include <asm/arch/imx8mp_pins.h>
 #include <asm/io.h>
board/data_modul/imx8mp_edm_sbc/spl.c +0 -1
index cc2d253e391e..c19358985332 100644
@@ -3,7 +3,6 @@
  * Copyright 2022 Marek Vasut <[email protected]>
  */
 
-#include <common.h>
 #include <hang.h>
 #include <image.h>
 #include <init.h>
Signature · 1 line
2.34.1
author
#63 lore raw

PATCH 48/149 board: davinci: Remove <common.h> and add needed includes

In reply to Tom Rini

Remove <common.h> from this board vendor directory and when needed add missing include files directly.

---
Cc: Adam Ford <[email protected]>

---
 board/davinci/da8xxevm/da850evm.c      | 2 +-
 board/davinci/da8xxevm/omapl138_lcdk.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
board/davinci/da8xxevm/da850evm.c +1 -1
index 05053a87a5a9..0011c8285237 100644
@@ -8,7 +8,7 @@
  * Copyright (C) 2007 Sergey Kubushyn <[email protected]>
  */
 
-#include <common.h>
+#include <config.h>
 #include <dm.h>
 #include <env.h>
 #include <i2c.h>
board/davinci/da8xxevm/omapl138_lcdk.c +1 -1
index 9738e2bd9c77..607e05ad9ae4 100644
@@ -8,7 +8,7 @@
  * Copyright (C) 2007 Sergey Kubushyn <[email protected]>
  */
 
-#include <common.h>
+#include <config.h>
 #include <env.h>
 #include <i2c.h>
 #include <init.h>
Signature · 1 line
2.34.1
Acked-by on v1 48/149
#64 lore raw

Re: [PATCH 048/149] board: davinci: Remove <common.h> and add needed includes

Quoted 5 lines · Tom Rini

Remove <common.h> from this board vendor directory and when needed add missing include files directly.

Quoted 36 lines

---
Cc: Adam Ford <[email protected]>

---
 board/davinci/da8xxevm/da850evm.c      | 2 +-
 board/davinci/da8xxevm/omapl138_lcdk.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
board/davinci/da8xxevm/da850evm.c +1 -1
index 05053a87a5a9..0011c8285237 100644
@@ -8,7 +8,7 @@
  * Copyright (C) 2007 Sergey Kubushyn <[email protected]>
  */
 
-#include <common.h>
+#include <config.h>
 #include <dm.h>
 #include <env.h>
 #include <i2c.h>
board/davinci/da8xxevm/omapl138_lcdk.c +1 -2
index 9738e2bd9c77..607e05ad9ae4 100644
@@ -8,7 +8,7 @@
  * Copyright (C) 2007 Sergey Kubushyn <[email protected]>
  */
 
-#include <common.h>
+#include <config.h>
 #include <env.h>
 #include <i2c.h>
 #include <init.h>
--

2.34.1

author
#65 lore raw

PATCH 49/149 board: dfi: Remove <common.h> and add needed includes

In reply to Tom Rini

Remove <common.h> from this board vendor directory and when needed add missing include files directly.

---
Cc: Stefan Roese <[email protected]>

---
 board/dfi/dfi-bt700/dfi-bt700.c | 1 -
 1 file changed, 1 deletion(-)
board/dfi/dfi-bt700/dfi-bt700.c +0 -1
index 87506a77a17e..907cc985d7a9 100644
@@ -3,7 +3,6 @@
  * Copyright (C) 2016 Stefan Roese <[email protected]>
  */
 
-#include <common.h>
 #include <init.h>
 #include <log.h>
 #include <nuvoton_nct6102d.h>
Signature · 1 line
2.34.1
author
#66 lore raw

PATCH 50/149 board: dhelectronics: Remove <common.h> and add needed includes

In reply to Tom Rini

Remove <common.h> from this board vendor directory and when needed add missing include files directly.

---
Cc: Andreas Geisreiter <[email protected]>
Cc: Christoph Niedermaier <[email protected]>
Cc: Marek Vasut <[email protected]>
Cc: Patrick Delaunay <[email protected]>
Cc: Patrice Chotard <[email protected]>

---
 board/dhelectronics/common/dh_common.c            | 1 -
 board/dhelectronics/common/dh_imx.c               | 2 +-
 board/dhelectronics/dh_imx6/dh_imx6.c             | 1 -
 board/dhelectronics/dh_imx6/dh_imx6_spl.c         | 1 -
 board/dhelectronics/dh_imx8mp/common.c            | 1 -
 board/dhelectronics/dh_imx8mp/imx8mp_dhcom_pdk2.c | 1 -
 board/dhelectronics/dh_imx8mp/spl.c               | 1 -
 board/dhelectronics/dh_stm32mp1/board.c           | 1 -
 8 files changed, 1 insertion(+), 8 deletions(-)
board/dhelectronics/common/dh_common.c +0 -1
index 34094a020b07..32c50b4f0f59 100644
@@ -4,7 +4,6 @@
  * Copyright 2022 DENX Software Engineering GmbH, Philip Oberfichtner <[email protected]>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <i2c_eeprom.h>
 #include <net.h>
board/dhelectronics/common/dh_imx.c +1 -1
index 7f451bad59c7..3d6487dd0d8c 100644
@@ -4,9 +4,9 @@
  * Copyright 2022 DENX Software Engineering GmbH, Philip Oberfichtner <[email protected]>
  */
 
+#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"
 
board/dhelectronics/dh_imx6/dh_imx6.c +0 -1
index 9dcfcec9e9e6..c8dd30dfeaf5 100644
@@ -5,7 +5,6 @@
  * Copyright (C) 2017 Marek Vasut <[email protected]>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <image.h>
 #include <init.h>
board/dhelectronics/dh_imx6/dh_imx6_spl.c +0 -1
index e6d5657c62d0..3a5495ea18e3 100644
@@ -5,7 +5,6 @@
  * Copyright (C) 2017 Marek Vasut <[email protected]>
  */
 
-#include <common.h>
 #include <cpu_func.h>
 #include <init.h>
 #include <asm/arch/clock.h>
board/dhelectronics/dh_imx8mp/common.c +0 -1
index 44456da681ce..f6db9f678042 100644
@@ -3,7 +3,6 @@
  * Copyright 2022 Marek Vasut <[email protected]>
  */
 
-#include <common.h>
 #include <asm/io.h>
 #include <asm-generic/gpio.h>
 
board/dhelectronics/dh_imx8mp/imx8mp_dhcom_pdk2.c +0 -1
index ff2c0e872151..c635735d89cb 100644
@@ -3,7 +3,6 @@
  * Copyright 2022 Marek Vasut <[email protected]>
  */
 
-#include <common.h>
 #include <asm/arch/clock.h>
 #include <asm/arch/ddr.h>
 #include <asm/arch/sys_proto.h>
board/dhelectronics/dh_imx8mp/spl.c +0 -1
index 7d228da8e5b7..714f846521e0 100644
@@ -3,7 +3,6 @@
  * Copyright 2022 Marek Vasut <[email protected]>
  */
 
-#include <common.h>
 #include <hang.h>
 #include <image.h>
 #include <init.h>
board/dhelectronics/dh_stm32mp1/board.c +0 -1
index 22af423536d5..20c9d70737ec 100644
@@ -3,7 +3,6 @@
  * Copyright (C) 2018, STMicroelectronics - All Rights Reserved
  */
 
-#include <common.h>
 #include <adc.h>
 #include <log.h>
 #include <net.h>
Signature · 1 line
2.34.1
author
#67 lore raw

PATCH 51/149 board: ea: Remove <common.h> and add needed includes

In reply to Tom Rini

Remove <common.h> from this board vendor directory and when needed add missing include files directly.

---
Cc: Trevor Woerner <[email protected]>
Cc: Fabio Estevam <[email protected]>

---
 board/ea/ea-lpc3250devkitv2/ea-lpc3250devkitv2.c | 2 +-
 board/ea/mx7ulp_com/mx7ulp_com.c                 | 1 -
 2 files changed, 1 insertion(+), 2 deletions(-)
board/ea/ea-lpc3250devkitv2/ea-lpc3250devkitv2.c +1 -1
index 2b03e4891d92..222e5facf434 100644
@@ -5,7 +5,7 @@
  */
 
 #include <init.h>
-#include <common.h>
+#include <config.h>
 #include <asm/io.h>
 #include <asm/global_data.h>
 
board/ea/mx7ulp_com/mx7ulp_com.c +0 -1
index cd9591a9e324..8f78937e0973 100644
@@ -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>
Signature · 1 line
2.34.1
author
#68 lore raw

PATCH 52/149 board: eets: Remove <common.h> and add needed includes

In reply to Tom Rini

Remove <common.h> from this board vendor directory and when needed add missing include files directly.

---
Cc: Felix Brack <[email protected]>
Cc: Nishanth Menon <[email protected]>

---
 board/eets/pdu001/board.c | 2 +-
 board/eets/pdu001/mux.c   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
board/eets/pdu001/board.c +1 -1
index 3a52e4ae675f..2ad256f86357 100644
@@ -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>
board/eets/pdu001/mux.c +1 -1
index c97927e5cfe9..f306a1340315 100644
@@ -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>
Signature · 1 line
2.34.1
author
#69 lore raw

PATCH 53/149 board: efi: Remove <common.h> and add needed includes

In reply to Tom Rini

Remove <common.h> from this board vendor directory and when needed add missing include files directly.

---
Cc: Bin Meng <[email protected]>

---
 board/efi/efi-x86_payload/payload.c | 1 -
 1 file changed, 1 deletion(-)
board/efi/efi-x86_payload/payload.c +0 -1
index 5d4492cdc77a..d7d1e53e911c 100644
@@ -3,7 +3,6 @@
  * Copyright (C) 2018, Bin Meng <[email protected]>
  */
 
-#include <common.h>
 #include <init.h>
 #include <usb.h>
 
Signature · 1 line
2.34.1
author
#70 lore raw

PATCH 54/149 board: egnite: Remove <common.h> and add needed includes

In reply to Tom Rini

Remove <common.h> from this board vendor directory and when needed add missing include files directly.

---
Cc: egnite GmbH <[email protected]>

---
 board/egnite/ethernut5/ethernut5.c        | 2 +-
 board/egnite/ethernut5/ethernut5_pwrman.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
board/egnite/ethernut5/ethernut5.c +1 -1
index 9953df017e19..64e341c3779c 100644
@@ -52,7 +52,7 @@
  * http://www.ethernut.de/
  */
 
-#include <common.h>
+#include <config.h>
 #include <init.h>
 #include <net.h>
 #include <netdev.h>
board/egnite/ethernut5/ethernut5_pwrman.c +1 -1
index 81f1abf2fad9..42e1914a8759 100644
@@ -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>
Signature · 1 line
2.34.1
author
#71 lore raw

PATCH 55/149 board: elgin: Remove <common.h> and add needed includes

In reply to Tom Rini

Remove <common.h> from this board vendor directory and when needed add missing include files directly.

---
Cc: Otavio Salvador <[email protected]>

---
 board/elgin/elgin_rv1108/elgin_rv1108.c | 1 -
 1 file changed, 1 deletion(-)
board/elgin/elgin_rv1108/elgin_rv1108.c +0 -1
index 10398e7f7126..9fea4f86d5aa 100644
@@ -4,7 +4,6 @@
  * Authors: Andy Yan <[email protected]>
  */
 
-#include <common.h>
 #include <init.h>
 #include <syscon.h>
 #include <asm/global_data.h>
Signature · 1 line
2.34.1
author
#72 lore raw

PATCH 56/149 board: embest: Remove <common.h> and add needed includes

In reply to Tom Rini

Remove <common.h> from this board vendor directory and when needed add missing include files directly.

---
Cc: "Eric Bénard" <[email protected]>

---
 board/embest/mx6boards/mx6boards.c | 1 -
 1 file changed, 1 deletion(-)
board/embest/mx6boards/mx6boards.c +0 -1
index a3c23bdfb64e..896350140d61 100644
@@ -12,7 +12,6 @@
  * Copyright (C) 2013 Jon Nettleton <[email protected]>.
  */
 
-#include <common.h>
 #include <init.h>
 #include <net.h>
 #include <asm/arch/clock.h>
Signature · 1 line
2.34.1
author
#73 lore raw

PATCH 57/149 board: emulation: Remove <common.h> and add needed includes

In reply to Tom Rini

Remove <common.h> from this board vendor directory and when needed add missing include files directly.

---
Cc: Bin Meng <[email protected]>
Cc: Tuomas Tynkkynen <[email protected]>
Cc: Alexander Graf <[email protected]>

---
 board/emulation/common/qemu_dfu.c           | 1 -
 board/emulation/common/qemu_mtdparts.c      | 1 -
 board/emulation/qemu-arm/qemu-arm.c         | 2 +-
 board/emulation/qemu-ppce500/qemu-ppce500.c | 2 +-
 board/emulation/qemu-riscv/qemu-riscv.c     | 1 -
 5 files changed, 2 insertions(+), 5 deletions(-)
board/emulation/common/qemu_dfu.c +0 -1
index 7e7d84f6c00f..393fcaeb7422 100644
@@ -3,7 +3,6 @@
  * Copyright (c) 2020 Linaro Limited
  */
 
-#include <common.h>
 #include <dfu.h>
 #include <env.h>
 #include <memalign.h>
board/emulation/common/qemu_mtdparts.c +0 -1
index 60212e97acf6..c1501276789c 100644
@@ -3,7 +3,6 @@
  * Copyright (c) 2020 Linaro Limited
  */
 
-#include <common.h>
 #include <dm.h>
 #include <mtd.h>
 
board/emulation/qemu-arm/qemu-arm.c +1 -1
index ecfd19f1a7ed..6095cb02b23f 100644
@@ -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>
board/emulation/qemu-ppce500/qemu-ppce500.c +1 -1
index 221361691c15..58e5d5eb9427 100644
@@ -4,7 +4,7 @@
  * Copyright (C) 2021, Bin Meng <[email protected]>
  */
 
-#include <common.h>
+#include <config.h>
 #include <command.h>
 #include <cpu_func.h>
 #include <dm.h>
board/emulation/qemu-riscv/qemu-riscv.c +0 -1
index 173245b40e3c..e5193e31e37e 100644
@@ -3,7 +3,6 @@
  * Copyright (C) 2018, Bin Meng <[email protected]>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <dm/ofnode.h>
 #include <env.h>
Signature · 1 line
2.34.1
author
#74 lore raw

PATCH 58/149 board: engicam: Remove <common.h> and add needed includes

In reply to Tom Rini

Remove <common.h> from this board vendor directory and when needed add missing include files directly.

---
Cc: Jagan Teki <[email protected]>
Cc: Matteo Lisi <[email protected]>
Cc: Suniel Mahesh <[email protected]>
Cc: Manoj Sai <[email protected]>
Cc: Patrick Delaunay <[email protected]>
Cc: Patrice Chotard <[email protected]>

---
 board/engicam/common/board.c         | 1 -
 board/engicam/common/spl.c           | 1 -
 board/engicam/imx6q/imx6q.c          | 1 -
 board/engicam/imx6ul/imx6ul.c        | 1 -
 board/engicam/imx8mm/icore_mx8mm.c   | 1 -
 board/engicam/imx8mm/lpddr4_timing.c | 1 -
 board/engicam/imx8mm/spl.c           | 1 -
 board/engicam/imx8mp/icore_mx8mp.c   | 1 -
 board/engicam/imx8mp/spl.c           | 1 -
 board/engicam/stm32mp1/spl.c         | 2 +-
 board/engicam/stm32mp1/stm32mp1.c    | 1 -
 11 files changed, 1 insertion(+), 11 deletions(-)
board/engicam/common/board.c +0 -1
index df9149e0d6d8..8e0477c7a6e4 100644
@@ -5,7 +5,6 @@
  * Author: Jagan Teki <[email protected]>
  */
 
-#include <common.h>
 #include <command.h>
 #include <env.h>
 #include <hang.h>
board/engicam/common/spl.c +0 -1
index f1ccdc334363..8bc80ee6baa8 100644
@@ -5,7 +5,6 @@
  * Author: Jagan Teki <[email protected]>
  */
 
-#include <common.h>
 #include <image.h>
 #include <init.h>
 #include <serial.h>
board/engicam/imx6q/imx6q.c +0 -1
index e6c888fcfde1..d799fe6526af 100644
@@ -5,7 +5,6 @@
  * Author: Jagan Teki <[email protected]>
  */
 
-#include <common.h>
 
 #include <asm/io.h>
 #include <asm/gpio.h>
board/engicam/imx6ul/imx6ul.c +0 -1
index 412d6c302e88..24d654445dbd 100644
@@ -5,7 +5,6 @@
  * Author: Jagan Teki <[email protected]>
  */
 
-#include <common.h>
 #include <mmc.h>
 
 #include <asm/io.h>
board/engicam/imx8mm/icore_mx8mm.c +0 -1
index 320388faae3e..236337546aee 100644
@@ -5,7 +5,6 @@
  * Author: Jagan Teki <[email protected]>
  */
 
-#include <common.h>
 #include <miiphy.h>
 #include <netdev.h>
 
board/engicam/imx8mm/lpddr4_timing.c +0 -1
index 821212740bcc..fcd45c158f22 100644
@@ -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>
 
board/engicam/imx8mm/spl.c +0 -1
index af9044a3c2b0..d51ae241e85c 100644
@@ -5,7 +5,6 @@
  * Author: Jagan Teki <[email protected]>
  */
 
-#include <common.h>
 #include <hang.h>
 #include <init.h>
 #include <log.h>
board/engicam/imx8mp/icore_mx8mp.c +0 -1
index 5f820cc8dd70..e2ed70caa43a 100644
@@ -8,7 +8,6 @@
  * Jagan Teki <[email protected]>
  */
 
-#include <common.h>
 #include <env.h>
 #include <errno.h>
 #include <init.h>
board/engicam/imx8mp/spl.c +0 -1
index 36b83aace392..cd31aa6041d1 100644
@@ -8,7 +8,6 @@
  * Jagan Teki <[email protected]>
  */
 
-#include <common.h>
 #include <hang.h>
 #include <init.h>
 #include <log.h>
board/engicam/stm32mp1/spl.c +1 -1
index 2b7779cc01dd..bb2bd446aa8c 100644
@@ -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");
board/engicam/stm32mp1/stm32mp1.c +0 -1
index 5223e9bae8d7..bc2af66d8e96 100644
@@ -6,7 +6,6 @@
  * Author: Jagan Teki <[email protected]>
  */
 
-#include <common.h>
 #include <env.h>
 #include <env_internal.h>
 #include <syscon.h>
Signature · 1 line
2.34.1
author
#75 lore raw

PATCH 59/149 board: esd: Remove <common.h> and add needed includes

In reply to Tom Rini

Remove <common.h> from this board vendor directory and when needed add missing include files directly.

---
Cc: Daniel Gorsulowski <[email protected]>

---
 board/esd/meesc/meesc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
board/esd/meesc/meesc.c +1 -1
index 9e3621042241..dce69abdfd1d 100644
@@ -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>
Signature · 1 line
2.34.1
author
#76 lore raw

PATCH 60/149 board: firefly: Remove <common.h> and add needed includes

In reply to Tom Rini

Remove <common.h> from this board vendor directory and when needed add missing include files directly.

---
Cc: Simon Glass <[email protected]>
Cc: Philipp Tomsich <[email protected]>
Cc: Kever Yang <[email protected]>
Cc: Andy Yan <[email protected]>
Cc: Levin Du <[email protected]>
Cc: Suniel Mahesh <[email protected]>

---
 board/firefly/firefly-rk3288/firefly-rk3288.c | 1 -
 board/firefly/firefly-rk3308/roc_cc_rk3308.c  | 1 -
 board/firefly/roc-pc-rk3399/roc-pc-rk3399.c   | 1 -
 3 files changed, 3 deletions(-)
board/firefly/firefly-rk3288/firefly-rk3288.c +0 -1
index 95d8b00924d8..8e67ab4b1327 100644
@@ -3,7 +3,6 @@
  * (C) Copyright 2015 Google, Inc
  */
 
-#include <common.h>
 #include <hang.h>
 #include <led.h>
 #include <log.h>
board/firefly/firefly-rk3308/roc_cc_rk3308.c +0 -1
index af00250e118d..404bdc632bbc 100644
@@ -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>
board/firefly/roc-pc-rk3399/roc-pc-rk3399.c +0 -1
index 590519b32af2..a149e4fe822e 100644
@@ -3,7 +3,6 @@
  * (C) Copyright 2016 Rockchip Electronics Co., Ltd
  */
 
-#include <common.h>
 #include <dm.h>
 #include <env.h>
 #include <log.h>
Signature · 1 line
2.34.1
Reviewed-by on v1 60/149
#77 lore raw

Re: [PATCH 060/149] board: firefly: Remove <common.h> and add needed includes

Quoted 4 lines · Tom Rini

Remove <common.h> from this board vendor directory and when needed add missing include files directly.

Thanks,
- Kever

Quoted 49 lines

---
Cc: Simon Glass <[email protected]>
Cc: Philipp Tomsich <[email protected]>
Cc: Kever Yang <[email protected]>
Cc: Andy Yan <[email protected]>
Cc: Levin Du <[email protected]>
Cc: Suniel Mahesh <[email protected]>

---
  board/firefly/firefly-rk3288/firefly-rk3288.c | 1 -
  board/firefly/firefly-rk3308/roc_cc_rk3308.c  | 1 -
  board/firefly/roc-pc-rk3399/roc-pc-rk3399.c   | 1 -
  3 files changed, 3 deletions(-)
board/firefly/firefly-rk3288/firefly-rk3288.c +0 -1
index 95d8b00924d8..8e67ab4b1327 100644
@@ -3,7 +3,6 @@
   * (C) Copyright 2015 Google, Inc
   */
 
-#include <common.h>
  #include <hang.h>
  #include <led.h>
  #include <log.h>
board/firefly/firefly-rk3308/roc_cc_rk3308.c +0 -1
index af00250e118d..404bdc632bbc 100644
@@ -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>
board/firefly/roc-pc-rk3399/roc-pc-rk3399.c +0 -1
index 590519b32af2..a149e4fe822e 100644
@@ -3,7 +3,6 @@
   * (C) Copyright 2016 Rockchip Electronics Co., Ltd
   */
 
-#include <common.h>
  #include <dm.h>
  #include <env.h>
  #include <log.h>
author
#78 lore raw

PATCH 61/149 board: freescale: Remove <common.h> and add needed includes

In reply to Tom Rini

Remove <common.h> from this board vendor directory and when needed add missing include files directly.

---
Cc: Stefano Babic <[email protected]>
Cc: Fabio Estevam <[email protected]>
Cc: "NXP i.MX U-Boot Team" <[email protected]>
Cc: Peng Fan <[email protected]>
Cc: Giulio Benetti <[email protected]>
Cc: Jesse Taube <[email protected]>
Cc: Pramod Kumar <[email protected]>
Cc: Alison Wang <[email protected]>
Cc: Tang Yuantian <[email protected]>
Cc: Mingkai Hu <[email protected]>
Cc: Ashish Kumar <[email protected]>
Cc: Priyanka Jain <[email protected]>
Cc: Wasim Khan <[email protected]>
Cc: Meenakshi Aggarwal <[email protected]>
Cc: Angelo Dureghello <[email protected]>
Cc: TsiChung Liew <[email protected]>
Cc: Sinan Akman <[email protected]>
Cc: Otavio Salvador <[email protected]>
Cc: Jason Liu <[email protected]>
Cc: Eric Nelson <[email protected]>
Cc: Adrian Alonso <[email protected]>
Cc: Qiang Zhao <[email protected]>
Cc: Shengzhou Liu <[email protected]>

---
 arch/arm/include/asm/arch-imx8m/ddr.h             | 2 +-
 arch/arm/include/asm/mach-imx/gpio.h              | 2 ++
 board/freescale/common/cadmus.c                   | 3 ++-
 board/freescale/common/cds_pci_ft.c               | 1 -
 board/freescale/common/cds_via.c                  | 1 -
 board/freescale/common/cmd_esbc_validate.c        | 2 +-
 board/freescale/common/emc2305.c                  | 1 -
 board/freescale/common/fman.c                     | 1 -
 board/freescale/common/fsl_chain_of_trust.c       | 2 +-
 board/freescale/common/fsl_validate.c             | 2 +-
 board/freescale/common/i2c_common.c               | 2 +-
 board/freescale/common/i2c_mux.c                  | 3 ++-
 board/freescale/common/ics307_clk.c               | 2 +-
 board/freescale/common/ls102xa_stream_id.c        | 2 +-
 board/freescale/common/mc34vr500.c                | 1 -
 board/freescale/common/mmc.c                      | 2 +-
 board/freescale/common/ngpixis.c                  | 1 -
 board/freescale/common/ns_access.c                | 2 +-
 board/freescale/common/p_corenet/law.c            | 2 +-
 board/freescale/common/p_corenet/tlb.c            | 3 ++-
 board/freescale/common/pfuze.c                    | 1 -
 board/freescale/common/qixis.c                    | 2 +-
 board/freescale/common/sdhc_boot.c                | 1 -
 board/freescale/common/sys_eeprom.c               | 1 -
 board/freescale/common/vid.c                      | 3 ++-
 board/freescale/imx8mm_evk/imx8mm_evk.c           | 1 -
 board/freescale/imx8mm_evk/spl.c                  | 1 -
 board/freescale/imx8mn_evk/imx8mn_evk.c           | 1 -
 board/freescale/imx8mn_evk/spl.c                  | 1 -
 board/freescale/imx8mp_evk/spl.c                  | 1 -
 board/freescale/imx8mq_evk/imx8mq_evk.c           | 1 -
 board/freescale/imx8mq_evk/lpddr4_timing.c        | 1 -
 board/freescale/imx8mq_evk/lpddr4_timing_b0.c     | 1 -
 board/freescale/imx8mq_evk/spl.c                  | 2 +-
 board/freescale/imx8qm_mek/imx8qm_mek.c           | 1 -
 board/freescale/imx8qm_mek/spl.c                  | 1 -
 board/freescale/imx8qxp_mek/imx8qxp_mek.c         | 1 -
 board/freescale/imx8qxp_mek/spl.c                 | 1 -
 board/freescale/imx8ulp_evk/imx8ulp_evk.c         | 1 -
 board/freescale/imx8ulp_evk/spl.c                 | 1 -
 board/freescale/imx93_evk/imx93_evk.c             | 1 -
 board/freescale/imx93_evk/spl.c                   | 1 -
 board/freescale/imxrt1020-evk/imxrt1020-evk.c     | 1 -
 board/freescale/imxrt1050-evk/imxrt1050-evk.c     | 1 -
 board/freescale/imxrt1170-evk/imxrt1170-evk.c     | 1 -
 board/freescale/ls1012afrdm/eth.c                 | 1 -
 board/freescale/ls1012afrdm/ls1012afrdm.c         | 2 +-
 board/freescale/ls1012aqds/eth.c                  | 2 +-
 board/freescale/ls1012aqds/ls1012aqds.c           | 2 +-
 board/freescale/ls1012ardb/eth.c                  | 2 +-
 board/freescale/ls1012ardb/ls1012ardb.c           | 2 +-
 board/freescale/ls1021aiot/ls1021aiot.c           | 2 +-
 board/freescale/ls1021aqds/ddr.c                  | 2 +-
 board/freescale/ls1028a/ddr.c                     | 1 -
 board/freescale/ls1028a/ls1028a.c                 | 2 +-
 board/freescale/ls1043aqds/ddr.c                  | 1 -
 board/freescale/ls1043aqds/eth.c                  | 2 +-
 board/freescale/ls1043aqds/ls1043aqds.c           | 2 +-
 board/freescale/ls1043ardb/cpld.c                 | 2 +-
 board/freescale/ls1043ardb/ddr.c                  | 1 -
 board/freescale/ls1043ardb/eth.c                  | 2 +-
 board/freescale/ls1046afrwy/ddr.c                 | 1 -
 board/freescale/ls1046afrwy/eth.c                 | 2 +-
 board/freescale/ls1046afrwy/ls1046afrwy.c         | 2 +-
 board/freescale/ls1046aqds/ddr.c                  | 1 -
 board/freescale/ls1046aqds/eth.c                  | 2 +-
 board/freescale/ls1046aqds/ls1046aqds.c           | 2 +-
 board/freescale/ls1046ardb/cpld.c                 | 2 +-
 board/freescale/ls1046ardb/ddr.c                  | 1 -
 board/freescale/ls1046ardb/eth.c                  | 2 +-
 board/freescale/ls1046ardb/ls1046ardb.c           | 2 +-
 board/freescale/ls1088a/ddr.c                     | 1 -
 board/freescale/ls1088a/ls1088a.c                 | 2 +-
 board/freescale/ls2080aqds/ddr.c                  | 1 -
 board/freescale/ls2080aqds/ls2080aqds.c           | 2 +-
 board/freescale/ls2080ardb/ddr.c                  | 1 -
 board/freescale/ls2080ardb/ls2080ardb.c           | 2 +-
 board/freescale/lx2160a/ddr.c                     | 1 -
 board/freescale/lx2160a/eth_lx2160ardb.c          | 1 -
 board/freescale/lx2160a/lx2160a.c                 | 2 +-
 board/freescale/m5208evbe/m5208evbe.c             | 1 -
 board/freescale/m5235evb/m5235evb.c               | 1 -
 board/freescale/m5249evb/m5249evb.c               | 2 +-
 board/freescale/m5253demo/flash.c                 | 3 ++-
 board/freescale/m5253demo/m5253demo.c             | 2 +-
 board/freescale/m5272c3/m5272c3.c                 | 2 +-
 board/freescale/m5275evb/m5275evb.c               | 2 +-
 board/freescale/m5282evb/m5282evb.c               | 2 +-
 board/freescale/m53017evb/m53017evb.c             | 1 -
 board/freescale/m5329evb/m5329evb.c               | 1 -
 board/freescale/m5329evb/nand.c                   | 1 -
 board/freescale/m5373evb/m5373evb.c               | 1 -
 board/freescale/m5373evb/nand.c                   | 1 -
 board/freescale/mpc837xerdb/mpc837xerdb.c         | 2 +-
 board/freescale/mpc8548cds/ddr.c                  | 1 -
 board/freescale/mpc8548cds/law.c                  | 2 +-
 board/freescale/mpc8548cds/mpc8548cds.c           | 2 +-
 board/freescale/mpc8548cds/tlb.c                  | 3 ++-
 board/freescale/mx23evk/mx23evk.c                 | 1 -
 board/freescale/mx23evk/spl_boot.c                | 1 -
 board/freescale/mx28evk/iomux.c                   | 1 -
 board/freescale/mx28evk/mx28evk.c                 | 1 -
 board/freescale/mx51evk/mx51evk.c                 | 2 +-
 board/freescale/mx53loco/mx53loco.c               | 2 +-
 board/freescale/mx6memcal/mx6memcal.c             | 1 -
 board/freescale/mx6memcal/spl.c                   | 1 -
 board/freescale/mx6sabreauto/mx6sabreauto.c       | 1 -
 board/freescale/mx6slevk/mx6slevk.c               | 1 -
 board/freescale/mx6sllevk/mx6sllevk.c             | 1 -
 board/freescale/mx6sxsabreauto/mx6sxsabreauto.c   | 2 +-
 board/freescale/mx6sxsabresd/mx6sxsabresd.c       | 1 -
 board/freescale/mx6ul_14x14_evk/mx6ul_14x14_evk.c | 2 +-
 board/freescale/mx6ullevk/mx6ullevk.c             | 2 +-
 board/freescale/mx7dsabresd/mx7dsabresd.c         | 1 -
 board/freescale/mx7ulp_evk/mx7ulp_evk.c           | 1 -
 board/freescale/p1010rdb/ddr.c                    | 1 -
 board/freescale/p1010rdb/law.c                    | 2 +-
 board/freescale/p1010rdb/p1010rdb.c               | 2 +-
 board/freescale/p1010rdb/spl.c                    | 2 +-
 board/freescale/p1010rdb/spl_minimal.c            | 2 +-
 board/freescale/p1010rdb/tlb.c                    | 3 ++-
 board/freescale/p1_p2_rdb_pc/ddr.c                | 5 +++--
 board/freescale/p1_p2_rdb_pc/law.c                | 2 +-
 board/freescale/p1_p2_rdb_pc/p1_p2_rdb_pc.c       | 2 +-
 board/freescale/p1_p2_rdb_pc/spl.c                | 2 +-
 board/freescale/p1_p2_rdb_pc/spl_minimal.c        | 2 +-
 board/freescale/p1_p2_rdb_pc/tlb.c                | 3 ++-
 board/freescale/p2041rdb/cpld.c                   | 1 -
 board/freescale/p2041rdb/ddr.c                    | 1 -
 board/freescale/p2041rdb/eth.c                    | 2 +-
 board/freescale/p2041rdb/p2041rdb.c               | 2 +-
 board/freescale/t102xrdb/cpld.c                   | 2 +-
 board/freescale/t102xrdb/ddr.c                    | 2 +-
 board/freescale/t102xrdb/eth_t102xrdb.c           | 2 +-
 board/freescale/t102xrdb/law.c                    | 2 +-
 board/freescale/t102xrdb/spl.c                    | 2 +-
 board/freescale/t102xrdb/t102xrdb.c               | 2 +-
 board/freescale/t102xrdb/tlb.c                    | 3 ++-
 board/freescale/t104xrdb/cpld.c                   | 2 +-
 board/freescale/t104xrdb/ddr.c                    | 2 +-
 board/freescale/t104xrdb/eth.c                    | 2 +-
 board/freescale/t104xrdb/law.c                    | 2 +-
 board/freescale/t104xrdb/spl.c                    | 2 +-
 board/freescale/t104xrdb/t104xrdb.c               | 2 +-
 board/freescale/t104xrdb/tlb.c                    | 3 ++-
 board/freescale/t208xqds/ddr.c                    | 1 -
 board/freescale/t208xqds/eth_t208xqds.c           | 2 +-
 board/freescale/t208xqds/law.c                    | 2 +-
 board/freescale/t208xqds/spl.c                    | 2 +-
 board/freescale/t208xqds/t208xqds.c               | 2 +-
 board/freescale/t208xqds/tlb.c                    | 3 ++-
 board/freescale/t208xrdb/cpld.c                   | 3 ++-
 board/freescale/t208xrdb/ddr.c                    | 1 -
 board/freescale/t208xrdb/eth_t208xrdb.c           | 1 -
 board/freescale/t208xrdb/law.c                    | 2 +-
 board/freescale/t208xrdb/spl.c                    | 2 +-
 board/freescale/t208xrdb/t208xrdb.c               | 2 +-
 board/freescale/t208xrdb/tlb.c                    | 3 ++-
 board/freescale/t4rdb/cpld.c                      | 2 +-
 board/freescale/t4rdb/ddr.c                       | 1 -
 board/freescale/t4rdb/eth.c                       | 2 +-
 board/freescale/t4rdb/law.c                       | 2 +-
 board/freescale/t4rdb/spl.c                       | 2 +-
 board/freescale/t4rdb/t4240rdb.c                  | 2 +-
 board/freescale/t4rdb/tlb.c                       | 3 ++-
 board/freescale/vf610twr/vf610twr.c               | 1 -
 166 files changed, 115 insertions(+), 166 deletions(-)
arch/arm/include/asm/arch-imx8m/ddr.h +1 -1
index c14855d177ec..1f81d91977c8 100644
@@ -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
arch/arm/include/asm/mach-imx/gpio.h +2 -0
index 1b7c9cd52499..25763526f5f6 100644
@@ -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 */
board/freescale/common/cadmus.c +2 -1
index e7e07fff86c3..6f66ed6851d4 100644
@@ -4,8 +4,9 @@
  */
 
 
-#include <common.h>
+#include <config.h>
 #include <clock_legacy.h>
+#include <linux/types.h>
 
 /*
  * CADMUS Board System Registers
board/freescale/common/cds_pci_ft.c +0 -1
index dc2d62850d19..56b01e3f51f0 100644
@@ -3,7 +3,6 @@
  * Copyright 2004 Freescale Semiconductor.
  */
 
-#include <common.h>
 #include <linux/libfdt.h>
 #include <fdt_support.h>
 #include "cadmus.h"
board/freescale/common/cds_via.c +0 -1
index 6184472b1658..6fc3a21780f6 100644
@@ -3,7 +3,6 @@
  * Copyright 2006 Freescale Semiconductor.
  */
 
-#include <common.h>
 #include <pci.h>
 
 /* Config the VIA chip */
board/freescale/common/cmd_esbc_validate.c +1 -1
index 6c096266b484..d4192e5ab521 100644
@@ -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[])
board/freescale/common/emc2305.c +0 -1
index 9a75c5a09dd1..50252bb5007f 100644
@@ -4,7 +4,6 @@
  *
  */
 
-#include <common.h>
 #include <command.h>
 #include <i2c.h>
 #include <asm/global_data.h>
board/freescale/common/fman.c +0 -1
index 358303108d8d..650ecc7b4402 100644
@@ -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>
board/freescale/common/fsl_chain_of_trust.c +1 -1
index 87ed814d6a2a..27a33924c84d 100644
@@ -4,7 +4,7 @@
  * Copyright 2022 NXP
  */
 
-#include <common.h>
+#include <config.h>
 #include <dm.h>
 #include <env.h>
 #include <init.h>
board/freescale/common/fsl_validate.c +1 -1
index bfe6357b0d60..e03434dcdfed 100644
@@ -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>
board/freescale/common/i2c_common.c +1 -1
index 119ed3c6171b..20705ecc8e46 100644
@@ -5,7 +5,7 @@
  * Copyright 2021 Microsoft Corporation
  */
 
-#include <common.h>
+#include <stdio.h>
 #include <i2c.h>
 #include "i2c_common.h"
 
board/freescale/common/i2c_mux.c +2 -1
index d40b34f10397..89151ccaf060 100644
@@ -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"
 
board/freescale/common/ics307_clk.c +1 -1
index 5f95571d24cc..af30faa0c5fe 100644
@@ -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>
board/freescale/common/ls102xa_stream_id.c +1 -1
index f754cf42fd38..bf76274c43ca 100644
@@ -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>
 
board/freescale/common/mc34vr500.c +0 -1
index d6b4c65a3c08..cf14b29a3ec1 100644
@@ -4,7 +4,6 @@
  * Hou Zhiqiang <[email protected]>
  */
 
-#include <common.h>
 #include <errno.h>
 #include <i2c.h>
 #include <log.h>
board/freescale/common/mmc.c +1 -1
index 8cd5079f962d..00e4f3675fe4 100644
@@ -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>
board/freescale/common/ngpixis.c +0 -1
index 7be1ccee6383..74c345807e64 100644
@@ -29,7 +29,6 @@
  *    boot from the alternate bank.
  */
 
-#include <common.h>
 #include <command.h>
 #include <asm/io.h>
 
board/freescale/common/ns_access.c +1 -1
index a95d15c1ef39..c46e87f4ccee 100644
@@ -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>
board/freescale/common/p_corenet/law.c +1 -1
index 1a1e9343d23b..83818d6d8479 100644
@@ -6,7 +6,7 @@
  * Wolfgang Denk, DENX Software Engineering, [email protected].
  */
 
-#include <common.h>
+#include <config.h>
 #include <asm/fsl_law.h>
 #include <asm/mmu.h>
 
board/freescale/common/p_corenet/tlb.c +2 -1
index 1a2d9cbfc0ce..cebdedfa4a7a 100644
@@ -6,8 +6,9 @@
  * Wolfgang Denk, DENX Software Engineering, [email protected].
  */
 
-#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 */
board/freescale/common/pfuze.c +0 -1
index a9288820b2eb..0d7a94fd232f 100644
@@ -3,7 +3,6 @@
  * Copyright 2014 Freescale Semiconductor, Inc.
  */
 
-#include <common.h>
 #include <errno.h>
 #include <power/pmic.h>
 #include <power/pfuze100_pmic.h>
board/freescale/common/qixis.c +1 -1
index da2c1de078b7..6400ac052454 100644
@@ -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>
board/freescale/common/sdhc_boot.c +0 -1
index a1c7a94a90e3..5ee730cefd04 100644
@@ -3,7 +3,6 @@
  * Copyright 2011 Freescale Semiconductor, Inc.
  */
 
-#include <common.h>
 #include <mmc.h>
 #include <malloc.h>
 
board/freescale/common/sys_eeprom.c +0 -1
index 64139d4659f2..ec3c9e37222a 100644
@@ -6,7 +6,6 @@
  * Timur Tabi ([email protected])
  */
 
-#include <common.h>
 #include <command.h>
 #include <env.h>
 #include <i2c.h>
board/freescale/common/vid.c +2 -1
index fc5d400cfe18..84cb43fad56a 100644
@@ -5,12 +5,13 @@
  * Copyright 2020 Stephen Carlson <[email protected]>
  */
 
-#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>
board/freescale/imx8mm_evk/imx8mm_evk.c +0 -1
index e0975fcda705..4c4436af3b1d 100644
@@ -3,7 +3,6 @@
  * Copyright 2018 NXP
  */
 
-#include <common.h>
 #include <env.h>
 #include <init.h>
 #include <miiphy.h>
board/freescale/imx8mm_evk/spl.c +0 -1
index 35437811d9df..cd251d274ff6 100644
@@ -3,7 +3,6 @@
  * Copyright 2019, 2021 NXP
  */
 
-#include <common.h>
 #include <command.h>
 #include <cpu_func.h>
 #include <hang.h>
board/freescale/imx8mn_evk/imx8mn_evk.c +0 -1
index e35d505aea97..6b6fb0a7dd21 100644
@@ -3,7 +3,6 @@
  * Copyright 2019 NXP
  */
 
-#include <common.h>
 #include <env.h>
 #include <init.h>
 #include <asm/global_data.h>
board/freescale/imx8mn_evk/spl.c +0 -1
index dd54fa9b6085..231b9289eead 100644
@@ -4,7 +4,6 @@
  *
  */
 
-#include <common.h>
 #include <command.h>
 #include <cpu_func.h>
 #include <hang.h>
board/freescale/imx8mp_evk/spl.c +0 -1
index 9dd2cbc799c3..12da1b2abfbb 100644
@@ -4,7 +4,6 @@
  *
  */
 
-#include <common.h>
 #include <hang.h>
 #include <init.h>
 #include <log.h>
board/freescale/imx8mq_evk/imx8mq_evk.c +0 -1
index e577e4d9ccaa..ab920a4539cd 100644
@@ -3,7 +3,6 @@
  * Copyright 2018 NXP
  */
 
-#include <common.h>
 #include <env.h>
 #include <init.h>
 #include <malloc.h>
board/freescale/imx8mq_evk/lpddr4_timing.c +0 -1
index 46bc7f8591cb..e9559e3d843a 100644
@@ -4,7 +4,6 @@
  */
 
 #include <linux/kernel.h>
-#include <common.h>
 #include <asm/arch/ddr.h>
 #include <asm/arch/lpddr4_define.h>
 
board/freescale/imx8mq_evk/lpddr4_timing_b0.c +0 -1
index ec68edaf6905..5d8f2803be67 100644
@@ -4,7 +4,6 @@
  */
 
 #include <linux/kernel.h>
-#include <common.h>
 #include <asm/arch/ddr.h>
 #include <asm/arch/lpddr4_define.h>
 
board/freescale/imx8mq_evk/spl.c +1 -1
index 818cdd615eb9..a346305c8633 100644
@@ -4,7 +4,7 @@
  *
  */
 
-#include <common.h>
+#include <config.h>
 #include <hang.h>
 #include <image.h>
 #include <init.h>
board/freescale/imx8qm_mek/imx8qm_mek.c +0 -1
index 2b209c8886f2..72527f774ca9 100644
@@ -3,7 +3,6 @@
  * Copyright 2018 NXP
  */
 
-#include <common.h>
 #include <cpu_func.h>
 #include <env.h>
 #include <errno.h>
board/freescale/imx8qm_mek/spl.c +0 -1
index 17fd437116d3..ad7868333091 100644
@@ -4,7 +4,6 @@
  *
  */
 
-#include <common.h>
 #include <dm.h>
 #include <image.h>
 #include <init.h>
board/freescale/imx8qxp_mek/imx8qxp_mek.c +0 -1
index 833bee55462d..adb9556a021c 100644
@@ -3,7 +3,6 @@
  * Copyright 2018 NXP
  */
 
-#include <common.h>
 #include <cpu_func.h>
 #include <env.h>
 #include <errno.h>
board/freescale/imx8qxp_mek/spl.c +0 -1
index 462c43ceebc7..05e3c0a2ff26 100644
@@ -4,7 +4,6 @@
  *
  */
 
-#include <common.h>
 #include <dm.h>
 #include <image.h>
 #include <init.h>
board/freescale/imx8ulp_evk/imx8ulp_evk.c +0 -1
index dd04d5925a00..0af610672637 100644
@@ -3,7 +3,6 @@
  * Copyright 2020 NXP
  */
 
-#include <common.h>
 #include <miiphy.h>
 #include <netdev.h>
 #include <asm/arch/imx8ulp-pins.h>
board/freescale/imx8ulp_evk/spl.c +0 -1
index c49b5be47620..d123b21b7225 100644
@@ -3,7 +3,6 @@
  * Copyright 2021 NXP
  */
 
-#include <common.h>
 #include <init.h>
 #include <spl.h>
 #include <asm/io.h>
board/freescale/imx93_evk/imx93_evk.c +0 -1
index c54dc9d05c5c..341831a7d30d 100644
@@ -3,7 +3,6 @@
  * Copyright 2022 NXP
  */
 
-#include <common.h>
 #include <env.h>
 #include <init.h>
 #include <miiphy.h>
board/freescale/imx93_evk/spl.c +0 -1
index 6d5e110b2776..e5807134bb23 100644
@@ -3,7 +3,6 @@
  * Copyright 2022 NXP
  */
 
-#include <common.h>
 #include <command.h>
 #include <cpu_func.h>
 #include <hang.h>
board/freescale/imxrt1020-evk/imxrt1020-evk.c +0 -1
index 785da604b964..42a0a67ae933 100644
@@ -4,7 +4,6 @@
  * Author(s): Giulio Benetti <[email protected]>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <init.h>
 #include <log.h>
board/freescale/imxrt1050-evk/imxrt1050-evk.c +0 -1
index 4cc3defc8828..46a644908e9d 100644
@@ -4,7 +4,6 @@
  * Author(s): Giulio Benetti <[email protected]>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <init.h>
 #include <log.h>
board/freescale/imxrt1170-evk/imxrt1170-evk.c +0 -1
index 4b82ee5e9ce4..e10b8830ec6a 100644
@@ -4,7 +4,6 @@
  * Author(s): Giulio Benetti <[email protected]>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <init.h>
 #include <log.h>
board/freescale/ls1012afrdm/eth.c +0 -1
index d2df9351eacc..c431e5e611bb 100644
@@ -4,7 +4,6 @@
  * Copyright 2017 NXP
  */
 
-#include <common.h>
 #include <dm.h>
 #include <net.h>
 #include <asm/io.h>
board/freescale/ls1012afrdm/ls1012afrdm.c +1 -1
index 271072bf7a1c..dae2cf097bc0 100644
@@ -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>
board/freescale/ls1012aqds/eth.c +1 -1
index 38267acedde1..d5e87c5393b8 100644
@@ -4,7 +4,7 @@
  * Copyright 2017 NXP
  */
 
-#include <common.h>
+#include <config.h>
 #include <dm.h>
 #include <asm/io.h>
 #include <netdev.h>
board/freescale/ls1012aqds/ls1012aqds.c +1 -1
index a5ea8d634edc..7d56eb0117d4 100644
@@ -4,7 +4,7 @@
  * Copyright 2021 NXP
  */
 
-#include <common.h>
+#include <config.h>
 #include <i2c.h>
 #include <fdt_support.h>
 #include <asm/cache.h>
board/freescale/ls1012ardb/eth.c +1 -1
index 5c661274987c..71cb2988a56d 100644
@@ -4,7 +4,7 @@
  * Copyright 2017 NXP
  */
 
-#include <common.h>
+#include <config.h>
 #include <dm.h>
 #include <net.h>
 #include <asm/io.h>
board/freescale/ls1012ardb/ls1012ardb.c +1 -1
index 18f92089caef..7f8001b4981f 100644
@@ -4,7 +4,7 @@
  * Copyright 2021 NXP
  */
 
-#include <common.h>
+#include <config.h>
 #include <command.h>
 #include <fdt_support.h>
 #include <hang.h>
board/freescale/ls1021aiot/ls1021aiot.c +1 -1
index d6f22bd6a2a3..7abc41269330 100644
@@ -4,7 +4,7 @@
  * Copyright 2021 NXP
  */
 
-#include <common.h>
+#include <config.h>
 #include <clock_legacy.h>
 #include <fdt_support.h>
 #include <init.h>
board/freescale/ls1021aqds/ddr.c +1 -1
index 4e70acc5a0cc..5b0f23688f0b 100644
@@ -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>
board/freescale/ls1028a/ddr.c +0 -1
index 3e976da6b305..c406f2436d1a 100644
@@ -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>
board/freescale/ls1028a/ls1028a.c +1 -1
index 7f181ab3dfb7..e01b5a8c2eb0 100644
@@ -3,7 +3,7 @@
  * Copyright 2019-2022 NXP
  */
 
-#include <common.h>
+#include <config.h>
 #include <display_options.h>
 #include <init.h>
 #include <malloc.h>
board/freescale/ls1043aqds/ddr.c +0 -1
index 23947bdb84c9..2a9717df616c 100644
@@ -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
board/freescale/ls1043aqds/eth.c +1 -1
index cd1f83e3d068..5a8ca27b3278 100644
@@ -4,7 +4,7 @@
  * Copyright 2019 NXP
  */
 
-#include <common.h>
+#include <config.h>
 #include <log.h>
 #include <net.h>
 #include <asm/io.h>
board/freescale/ls1043aqds/ls1043aqds.c +1 -1
index b87da41e4083..fdf011efc5bd 100644
@@ -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>
board/freescale/ls1043ardb/cpld.c +1 -1
index 9db3aa586059..bda2f3ac3a69 100644
@@ -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"
board/freescale/ls1043ardb/ddr.c +0 -1
index 4d2fce384121..187925e981a5 100644
@@ -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>
board/freescale/ls1043ardb/eth.c +1 -1
index cc95214c4e3f..cacc49c0584d 100644
@@ -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>
board/freescale/ls1046afrwy/ddr.c +0 -1
index 256397b52b65..b08caee1d97d 100644
@@ -3,7 +3,6 @@
  * Copyright 2019 NXP
  */
 
-#include <common.h>
 #include <fsl_ddr_sdram.h>
 #include <asm/global_data.h>
 
board/freescale/ls1046afrwy/eth.c +1 -1
index d1a2bfe18855..8efc7f68424c 100644
@@ -2,7 +2,7 @@
 /*
  * Copyright 2019 NXP
  */
-#include <common.h>
+#include <config.h>
 #include <fdt_support.h>
 #include <net.h>
 #include <asm/io.h>
board/freescale/ls1046afrwy/ls1046afrwy.c +1 -1
index 899c22a367e6..8889c24f1f0c 100644
@@ -3,7 +3,7 @@
  * Copyright 2019, 2021 NXP
  */
 
-#include <common.h>
+#include <config.h>
 #include <i2c.h>
 #include <fdt_support.h>
 #include <init.h>
board/freescale/ls1046aqds/ddr.c +0 -1
index 9a96de271786..ac1b60497216 100644
@@ -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
board/freescale/ls1046aqds/eth.c +1 -1
index bbf8b8c2bee5..cd3500c2e960 100644
@@ -4,7 +4,7 @@
  * Copyright 2018-2020 NXP
  */
 
-#include <common.h>
+#include <config.h>
 #include <log.h>
 #include <net.h>
 #include <asm/io.h>
board/freescale/ls1046aqds/ls1046aqds.c +1 -1
index 2faac54a0e23..a83b21706519 100644
@@ -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>
board/freescale/ls1046ardb/cpld.c +1 -1
index ee19d4ff8aab..7f8ca2e857fd 100644
@@ -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"
board/freescale/ls1046ardb/ddr.c +0 -1
index befb556bd30b..68353022e7dd 100644
@@ -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>
board/freescale/ls1046ardb/eth.c +1 -1
index bbc22a3cdf4a..fee8e0e21d44 100644
@@ -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>
board/freescale/ls1046ardb/ls1046ardb.c +1 -1
index 26e69db55f74..0492f0a8c0ae 100644
@@ -4,7 +4,7 @@
  * Copyright 2021 NXP
  */
 
-#include <common.h>
+#include <config.h>
 #include <i2c.h>
 #include <fdt_support.h>
 #include <init.h>
board/freescale/ls1088a/ddr.c +0 -1
index 9e0941cc9d6e..d2e239c4d615 100644
@@ -3,7 +3,6 @@
  * Copyright 2017 NXP
  */
 
-#include <common.h>
 #include <fsl_ddr_sdram.h>
 #include <fsl_ddr_dimm_params.h>
 #include <log.h>
board/freescale/ls1088a/ls1088a.c +1 -1
index 98a91c48adb0..58951f2bb2aa 100644
@@ -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>
board/freescale/ls2080aqds/ddr.c +0 -1
index 2767d058cc96..2986ffb7a820 100644
@@ -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>
board/freescale/ls2080aqds/ls2080aqds.c +1 -1
index 5c94c83121b5..4c8d0706688f 100644
@@ -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>
board/freescale/ls2080ardb/ddr.c +0 -1
index 07fa84733324..ec34b42e619a 100644
@@ -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>
board/freescale/ls2080ardb/ls2080ardb.c +1 -1
index 5c30de83d841..6f824f57c478 100644
@@ -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>
board/freescale/lx2160a/ddr.c +0 -1
index 7ab7a9e6ca83..637e43a22bee 100644
@@ -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>
board/freescale/lx2160a/eth_lx2160ardb.c +0 -1
index c5dfefe1f342..90e7c9100e12 100644
@@ -4,7 +4,6 @@
  *
  */
 
-#include <common.h>
 #include <netdev.h>
 #include <exports.h>
 #include <fsl-mc/fsl_mc.h>
board/freescale/lx2160a/lx2160a.c +1 -1
index b3187a14214a..3aa984dab8e7 100644
@@ -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>
board/freescale/m5208evbe/m5208evbe.c +0 -1
index 6125c9e13aa3..b202b8094d92 100644
@@ -8,7 +8,6 @@
  */
 
 #include <config.h>
-#include <common.h>
 #include <init.h>
 #include <asm/global_data.h>
 #include <asm/immap.h>
board/freescale/m5235evb/m5235evb.c +0 -1
index 44161a0b0a1c..65cde56fb2d7 100644
@@ -8,7 +8,6 @@
  */
 
 #include <config.h>
-#include <common.h>
 #include <init.h>
 #include <asm/global_data.h>
 #include <asm/immap.h>
board/freescale/m5249evb/m5249evb.c +1 -1
index d67db24d5883..717dc087e02b 100644
@@ -4,7 +4,7 @@
  * Wolfgang Denk, DENX Software Engineering, [email protected].
  */
 
-#include <common.h>
+#include <config.h>
 #include <command.h>
 #include <init.h>
 #include <malloc.h>
board/freescale/m5253demo/flash.c +2 -1
index eeb9cfd31259..334518a4bc9d 100644
@@ -7,10 +7,11 @@
  * TsiChung Liew ([email protected])
  */
 
-#include <common.h>
+#include <config.h>
 #include <flash.h>
 #include <init.h>
 #include <irq_func.h>
+#include <time.h>
 
 #include <asm/immap.h>
 
board/freescale/m5253demo/m5253demo.c +1 -1
index c1cff52fb3db..d0b01f81745f 100644
@@ -7,7 +7,7 @@
  * Hayden Fraser ([email protected])
  */
 
-#include <common.h>
+#include <config.h>
 #include <init.h>
 #include <net.h>
 #include <asm/global_data.h>
board/freescale/m5272c3/m5272c3.c +1 -1
index 3c20a23385c5..d1286badc61c 100644
@@ -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>
board/freescale/m5275evb/m5275evb.c +1 -1
index 00fa35ca5f71..e1d94fc9a3e2 100644
@@ -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>
board/freescale/m5282evb/m5282evb.c +1 -1
index 53e0f202101c..81da6e2abd46 100644
@@ -4,7 +4,7 @@
  * Wolfgang Denk, DENX Software Engineering, [email protected].
  */
 
-#include <common.h>
+#include <config.h>
 #include <init.h>
 #include <asm/global_data.h>
 #include <asm/immap.h>
board/freescale/m53017evb/m53017evb.c +0 -1
index 76ebc0ab8dcd..196d56dc17d3 100644
@@ -8,7 +8,6 @@
  */
 
 #include <config.h>
-#include <common.h>
 #include <init.h>
 #include <asm/global_data.h>
 #include <asm/immap.h>
board/freescale/m5329evb/m5329evb.c +0 -1
index b278dbfb4852..26d5f3bf58ce 100644
@@ -8,7 +8,6 @@
  */
 
 #include <config.h>
-#include <common.h>
 #include <init.h>
 #include <asm/global_data.h>
 #include <asm/immap.h>
board/freescale/m5329evb/nand.c +0 -1
index d921eef8b675..a250d61ef368 100644
@@ -8,7 +8,6 @@
  */
 
 #include <config.h>
-#include <common.h>
 #include <asm/io.h>
 #include <asm/immap.h>
 
board/freescale/m5373evb/m5373evb.c +0 -1
index 0e9eec316c2f..d6fdf41bab47 100644
@@ -8,7 +8,6 @@
  */
 
 #include <config.h>
-#include <common.h>
 #include <init.h>
 #include <asm/global_data.h>
 #include <asm/immap.h>
board/freescale/m5373evb/nand.c +0 -1
index 6d825a66e33f..e7c08d22e6bb 100644
@@ -8,7 +8,6 @@
  */
 
 #include <config.h>
-#include <common.h>
 #include <asm/io.h>
 #include <asm/immap.h>
 
board/freescale/mpc837xerdb/mpc837xerdb.c +1 -1
index 97884a397964..55299745a3cb 100644
@@ -5,7 +5,7 @@
  * Joe D'Abbraccio <joe.d'[email protected]>
  */
 
-#include <common.h>
+#include <config.h>
 #include <env.h>
 #include <hwconfig.h>
 #include <i2c.h>
board/freescale/mpc8548cds/ddr.c +0 -1
index b6c1847b141b..14202cd5a788 100644
@@ -3,7 +3,6 @@
  * Copyright 2008 Freescale Semiconductor, Inc.
  */
 
-#include <common.h>
 
 #include <fsl_ddr_sdram.h>
 #include <fsl_ddr_dimm_params.h>
board/freescale/mpc8548cds/law.c +1 -1
index 7b6ef5b11c92..2334870fda08 100644
@@ -6,7 +6,7 @@
  * Wolfgang Denk, DENX Software Engineering, [email protected].
  */
 
-#include <common.h>
+#include <config.h>
 #include <asm/fsl_law.h>
 #include <asm/mmu.h>
 
board/freescale/mpc8548cds/mpc8548cds.c +1 -1
index ec6e3a2d0ab5..7810010fd042 100644
@@ -5,7 +5,7 @@
  * (C) Copyright 2002 Scott McNutt <[email protected]>
  */
 
-#include <common.h>
+#include <config.h>
 #include <display_options.h>
 #include <init.h>
 #include <net.h>
board/freescale/mpc8548cds/tlb.c +2 -1
index 994a32dd92ad..0b2afa8054d8 100644
@@ -6,8 +6,9 @@
  * Wolfgang Denk, DENX Software Engineering, [email protected].
  */
 
-#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 */
board/freescale/mx23evk/mx23evk.c +0 -1
index df4fb3912558..fbc8fbdbf593 100644
@@ -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>
board/freescale/mx23evk/spl_boot.c +0 -1
index 14e9b4a8634f..a4c39a352219 100644
@@ -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>
board/freescale/mx28evk/iomux.c +0 -1
index cc0c85885446..b84b045bd1f5 100644
@@ -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>
board/freescale/mx28evk/mx28evk.c +0 -1
index 88c3bf36089c..ada572912dad 100644
@@ -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>
board/freescale/mx51evk/mx51evk.c +1 -1
index 95edb3599443..694568423026 100644
@@ -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>
board/freescale/mx53loco/mx53loco.c +1 -1
index d418cd8f4c0d..2d8f5da9906f 100644
@@ -4,7 +4,7 @@
  * Jason Liu <[email protected]>
  */
 
-#include <common.h>
+#include <config.h>
 #include <init.h>
 #include <log.h>
 #include <asm/global_data.h>
board/freescale/mx6memcal/mx6memcal.c +0 -1
index 0dfd7dec9efb..17095c34e926 100644
@@ -7,7 +7,6 @@
  * Author: Eric Nelson <[email protected]>
  */
 
-#include <common.h>
 #include <init.h>
 #include <asm/arch/sys_proto.h>
 #include <asm/global_data.h>
board/freescale/mx6memcal/spl.c +0 -1
index 61d0ca3408f0..bc9c4259f07b 100644
@@ -4,7 +4,6 @@
  * Author: Eric Nelson <[email protected]>
  */
 
-#include <common.h>
 #include <cpu_func.h>
 #include <init.h>
 #include <asm/global_data.h>
board/freescale/mx6sabreauto/mx6sabreauto.c +0 -1
index 77e92006131a..e782543c0fae 100644
@@ -5,7 +5,6 @@
  * Author: Fabio Estevam <[email protected]>
  */
 
-#include <common.h>
 #include <image.h>
 #include <init.h>
 #include <net.h>
board/freescale/mx6slevk/mx6slevk.c +0 -1
index e9ac57118b01..d37d8a4136f6 100644
@@ -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>
board/freescale/mx6sllevk/mx6sllevk.c +0 -1
index 10a00095affb..7114444fc3e6 100644
@@ -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>
board/freescale/mx6sxsabreauto/mx6sxsabreauto.c +1 -1
index 84cc51e9cac7..6176f7382389 100644
@@ -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>
board/freescale/mx6sxsabresd/mx6sxsabresd.c +0 -1
index e7958df40243..e3353feec688 100644
@@ -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>
board/freescale/mx6ul_14x14_evk/mx6ul_14x14_evk.c +1 -1
index 534b16cec7ae..6b0665a1067f 100644
@@ -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>
board/freescale/mx6ullevk/mx6ullevk.c +1 -1
index de45f8b1d24b..189eddefea3f 100644
@@ -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>
board/freescale/mx7dsabresd/mx7dsabresd.c +0 -1
index 4fe23b51cd1b..3db167c0dad3 100644
@@ -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>
board/freescale/mx7ulp_evk/mx7ulp_evk.c +0 -1
index 01e32136532d..af68e57854e2 100644
@@ -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>
board/freescale/p1010rdb/ddr.c +0 -1
index b423ec8e218a..43a0936bc9af 100644
@@ -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>
board/freescale/p1010rdb/law.c +1 -1
index 13fc2fa2e38c..a7d80f285211 100644
@@ -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>
 
board/freescale/p1010rdb/p1010rdb.c +1 -1
index d32274b24812..ab0031440ae8 100644
@@ -4,7 +4,7 @@
  * Copyright 2020 NXP
  */
 
-#include <common.h>
+#include <config.h>
 #include <command.h>
 #include <image.h>
 #include <init.h>
board/freescale/p1010rdb/spl.c +1 -1
index e450f626e0ad..fc26cef2cc8e 100644
@@ -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>
board/freescale/p1010rdb/spl_minimal.c +1 -1
index 8f0dec4c0ab7..8cd79c6fb5f6 100644
@@ -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>
board/freescale/p1010rdb/tlb.c +2 -1
index 265cde81a3c2..44acebaa2bbd 100644
@@ -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 */
board/freescale/p1_p2_rdb_pc/ddr.c +3 -2
index 5f16779abaad..8622a5a610a5 100644
@@ -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>
board/freescale/p1_p2_rdb_pc/law.c +1 -1
index 6085984eab43..49594070b836 100644
@@ -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>
 
board/freescale/p1_p2_rdb_pc/p1_p2_rdb_pc.c +1 -1
index 602b7f0156ba..399ff7207229 100644
@@ -4,7 +4,7 @@
  * Copyright 2020 NXP
  */
 
-#include <common.h>
+#include <config.h>
 #include <command.h>
 #include <env.h>
 #include <hang.h>
board/freescale/p1_p2_rdb_pc/spl.c +1 -1
index 6c3f82849e3a..b07f481fbf9d 100644
@@ -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>
board/freescale/p1_p2_rdb_pc/spl_minimal.c +1 -1
index f9e0b5b25ab7..511bcf5506b4 100644
@@ -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>
board/freescale/p1_p2_rdb_pc/tlb.c +2 -1
index 94773969e9d8..ae0b7adbe544 100644
@@ -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 */
board/freescale/p2041rdb/cpld.c +0 -1
index a1908b8a5712..915a8b994d5c 100644
@@ -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>
 
board/freescale/p2041rdb/ddr.c +0 -1
index 910058cefe16..b8b765a85ef5 100644
@@ -3,7 +3,6 @@
  * Copyright 2011 Freescale Semiconductor, Inc.
  */
 
-#include <common.h>
 #include <i2c.h>
 #include <hwconfig.h>
 #include <init.h>
board/freescale/p2041rdb/eth.c +1 -1
index c0d05539c5c0..658508667776 100644
@@ -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>
board/freescale/p2041rdb/p2041rdb.c +1 -1
index 575259b19c03..d5b71f784303 100644
@@ -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>
board/freescale/t102xrdb/cpld.c +1 -1
index 17a6226cafc7..cc933ccd5440 100644
@@ -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"
board/freescale/t102xrdb/ddr.c +1 -1
index 1b4173989925..f8d504fb3c73 100644
@@ -3,7 +3,7 @@
  * Copyright 2014 Freescale Semiconductor, Inc.
  */
 
-#include <common.h>
+#include <config.h>
 #include <i2c.h>
 #include <hwconfig.h>
 #include <init.h>
board/freescale/t102xrdb/eth_t102xrdb.c +1 -1
index ad78f72f98c8..7185a0abd520 100644
@@ -5,7 +5,7 @@
  * Shengzhou Liu <[email protected]>
  */
 
-#include <common.h>
+#include <config.h>
 #include <command.h>
 #include <fdt_support.h>
 #include <net.h>
board/freescale/t102xrdb/law.c +1 -1
index d636bef325f0..81caa961897a 100644
@@ -3,7 +3,7 @@
  * Copyright 2014 Freescale Semiconductor, Inc.
  */
 
-#include <common.h>
+#include <config.h>
 #include <asm/fsl_law.h>
 #include <asm/mmu.h>
 
board/freescale/t102xrdb/spl.c +1 -1
index 9faf259af74d..de6cdda194e7 100644
@@ -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>
board/freescale/t102xrdb/t102xrdb.c +1 -1
index 73f9d3ac72e7..0a29e27b42cd 100644
@@ -4,7 +4,7 @@
  * Copyright 2020-2023 NXP
  */
 
-#include <common.h>
+#include <config.h>
 #include <command.h>
 #include <env.h>
 #include <fdt_support.h>
board/freescale/t102xrdb/tlb.c +2 -1
index 2519a9e4dbee..008bd6e72b7b 100644
@@ -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 */
board/freescale/t104xrdb/cpld.c +1 -1
index 9ac57bbd8300..c2d526ae15ac 100644
@@ -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>
 
board/freescale/t104xrdb/ddr.c +1 -1
index 02ddb6614158..bab684860dad 100644
@@ -4,7 +4,7 @@
  * Copyright 2021 NXP
  */
 
-#include <common.h>
+#include <config.h>
 #include <i2c.h>
 #include <hwconfig.h>
 #include <init.h>
board/freescale/t104xrdb/eth.c +1 -1
index 5eca9386f6eb..d5c084e319d4 100644
@@ -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>
board/freescale/t104xrdb/law.c +1 -1
index a0d6eb5b2707..d34641c23970 100644
@@ -3,7 +3,7 @@
  * Copyright 2013 Freescale Semiconductor, Inc.
  */
 
-#include <common.h>
+#include <config.h>
 #include <asm/fsl_law.h>
 #include <asm/mmu.h>
 
board/freescale/t104xrdb/spl.c +1 -1
index dd8283f3c60a..e02a1f95d4cb 100644
@@ -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>
board/freescale/t104xrdb/t104xrdb.c +1 -1
index b30804927167..ef4dfef4965c 100644
@@ -4,7 +4,7 @@
  * Copyright 2023 NXP
  */
 
-#include <common.h>
+#include <config.h>
 #include <command.h>
 #include <env.h>
 #include <fdt_support.h>
board/freescale/t104xrdb/tlb.c +2 -1
index 10be580b8136..24bc83f756bd 100644
@@ -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 */
board/freescale/t208xqds/ddr.c +0 -1
index 56471b3988b9..9076fbba10af 100644
@@ -3,7 +3,6 @@
  * Copyright 2013 Freescale Semiconductor, Inc.
  */
 
-#include <common.h>
 #include <i2c.h>
 #include <hwconfig.h>
 #include <init.h>
board/freescale/t208xqds/eth_t208xqds.c +1 -1
index 569b193eab78..9f299227e295 100644
@@ -6,7 +6,7 @@
  * Shengzhou Liu <[email protected]>
  */
 
-#include <common.h>
+#include <config.h>
 #include <command.h>
 #include <fdt_support.h>
 #include <log.h>
board/freescale/t208xqds/law.c +1 -1
index 3cdd4937684e..287f4650e058 100644
@@ -6,7 +6,7 @@
  * Wolfgang Denk, DENX Software Engineering, [email protected].
  */
 
-#include <common.h>
+#include <config.h>
 #include <asm/fsl_law.h>
 #include <asm/mmu.h>
 
board/freescale/t208xqds/spl.c +1 -1
index 8866be54a661..44ad4e68d9f6 100644
@@ -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>
board/freescale/t208xqds/t208xqds.c +1 -1
index 8be55e52e5f6..5e71da0e163f 100644
@@ -4,7 +4,7 @@
  * Copyright 2020 NXP
  */
 
-#include <common.h>
+#include <config.h>
 #include <clock_legacy.h>
 #include <command.h>
 #include <env.h>
board/freescale/t208xqds/tlb.c +2 -1
index 3d220afc16e6..f99d51c8cd76 100644
@@ -6,8 +6,9 @@
  * Wolfgang Denk, DENX Software Engineering, [email protected].
  */
 
-#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 */
board/freescale/t208xrdb/cpld.c +2 -1
index 933fa0decc31..d2226af62786 100644
@@ -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)
board/freescale/t208xrdb/ddr.c +0 -1
index 1fbab36e1a20..fe98f62668a7 100644
@@ -3,7 +3,6 @@
  * Copyright 2014 Freescale Semiconductor, Inc.
  */
 
-#include <common.h>
 #include <i2c.h>
 #include <hwconfig.h>
 #include <init.h>
board/freescale/t208xrdb/eth_t208xrdb.c +0 -1
index e4592eac1530..5223eccb2804 100644
@@ -6,7 +6,6 @@
  * Shengzhou Liu <[email protected]>
  */
 
-#include <common.h>
 #include <command.h>
 #include <fdt_support.h>
 #include <net.h>
board/freescale/t208xrdb/law.c +1 -1
index 53a13694506f..e1f570a89358 100644
@@ -6,7 +6,7 @@
  * Wolfgang Denk, DENX Software Engineering, [email protected].
  */
 
-#include <common.h>
+#include <config.h>
 #include <asm/fsl_law.h>
 #include <asm/mmu.h>
 
board/freescale/t208xrdb/spl.c +1 -1
index 130cb8847c0f..df3b9c6fe405 100644
@@ -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>
board/freescale/t208xrdb/t208xrdb.c +1 -1
index e33e5d082d80..d93edf007ad9 100644
@@ -4,7 +4,7 @@
  * Copyright 2021-2023 NXP
  */
 
-#include <common.h>
+#include <config.h>
 #include <command.h>
 #include <env.h>
 #include <fdt_support.h>
board/freescale/t208xrdb/tlb.c +2 -1
index 688a208c621f..df5831541f38 100644
@@ -6,8 +6,9 @@
  * Wolfgang Denk, DENX Software Engineering, [email protected].
  */
 
-#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 */
board/freescale/t4rdb/cpld.c +1 -1
index 8b1012086ec7..cd14d5895f50 100644
@@ -14,7 +14,7 @@
  *
  */
 
-#include <common.h>
+#include <config.h>
 #include <command.h>
 #include <asm/io.h>
 
board/freescale/t4rdb/ddr.c +0 -1
index 57cbde154f0e..5b60b50c672b 100644
@@ -3,7 +3,6 @@
  * Copyright 2014 Freescale Semiconductor, Inc.
  */
 
-#include <common.h>
 #include <i2c.h>
 #include <hwconfig.h>
 #include <init.h>
board/freescale/t4rdb/eth.c +1 -1
index 2e52543847bf..e7646365d7d4 100644
@@ -5,7 +5,7 @@
  * Chunhe Lan <[email protected]>
  */
 
-#include <common.h>
+#include <config.h>
 #include <command.h>
 #include <fdt_support.h>
 #include <net.h>
board/freescale/t4rdb/law.c +1 -1
index 43eeb884e2ff..c43ac0f30d74 100644
@@ -3,7 +3,7 @@
  * Copyright 2014 Freescale Semiconductor, Inc.
  */
 
-#include <common.h>
+#include <config.h>
 #include <asm/fsl_law.h>
 #include <asm/mmu.h>
 
board/freescale/t4rdb/spl.c +1 -1
index 779457d29640..9d2472dec250 100644
@@ -5,7 +5,7 @@
  * Author: Chunhe Lan <[email protected]>
  */
 
-#include <common.h>
+#include <config.h>
 #include <clock_legacy.h>
 #include <console.h>
 #include <env_internal.h>
board/freescale/t4rdb/t4240rdb.c +1 -1
index ab717769ed5c..5cacfd273803 100644
@@ -4,7 +4,7 @@
  * Copyright 2023 NXP
  */
 
-#include <common.h>
+#include <config.h>
 #include <command.h>
 #include <env.h>
 #include <fdt_support.h>
board/freescale/t4rdb/tlb.c +2 -1
index f5af893c2d9d..1fb9d41d52b1 100644
@@ -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 */
board/freescale/vf610twr/vf610twr.c +0 -1
index 98cb0140ad02..80a798af9cb6 100644
@@ -3,7 +3,6 @@
  * Copyright 2013 Freescale Semiconductor, Inc.
  */
 
-#include <common.h>
 #include <init.h>
 #include <asm/global_data.h>
 #include <asm/io.h>
Signature · 1 line
2.34.1
Acked-by on v1 61/149
#79 lore raw

RE: [PATCH 061/149] board: freescale: Remove <common.h> and add needed includes

Quoted 7 lines

Subject: [PATCH 061/149] board: freescale: Remove <common.h> and add needed includes

Remove <common.h> from this board vendor directory and when needed add missing include files directly.

Quoted 2,466 lines

---
Cc: Stefano Babic <[email protected]>
Cc: Fabio Estevam <[email protected]>
Cc: "NXP i.MX U-Boot Team" <[email protected]>
Cc: Peng Fan <[email protected]>
Cc: Giulio Benetti <[email protected]>
Cc: Jesse Taube <[email protected]>
Cc: Pramod Kumar <[email protected]>
Cc: Alison Wang <[email protected]>
Cc: Tang Yuantian <[email protected]>
Cc: Mingkai Hu <[email protected]>
Cc: Ashish Kumar <[email protected]>
Cc: Priyanka Jain <[email protected]>
Cc: Wasim Khan <[email protected]>
Cc: Meenakshi Aggarwal <[email protected]>
Cc: Angelo Dureghello <[email protected]>
Cc: TsiChung Liew <[email protected]>
Cc: Sinan Akman <[email protected]>
Cc: Otavio Salvador <[email protected]>
Cc: Jason Liu <[email protected]>
Cc: Eric Nelson <[email protected]>
Cc: Adrian Alonso <[email protected]>
Cc: Qiang Zhao <[email protected]>
Cc: Shengzhou Liu <[email protected]>

---
 arch/arm/include/asm/arch-imx8m/ddr.h             | 2 +-
 arch/arm/include/asm/mach-imx/gpio.h              | 2 ++
 board/freescale/common/cadmus.c                   | 3 ++-
 board/freescale/common/cds_pci_ft.c               | 1 -
 board/freescale/common/cds_via.c                  | 1 -
 board/freescale/common/cmd_esbc_validate.c        | 2 +-
 board/freescale/common/emc2305.c                  | 1 -
 board/freescale/common/fman.c                     | 1 -
 board/freescale/common/fsl_chain_of_trust.c       | 2 +-
 board/freescale/common/fsl_validate.c             | 2 +-
 board/freescale/common/i2c_common.c               | 2 +-
 board/freescale/common/i2c_mux.c                  | 3 ++-
 board/freescale/common/ics307_clk.c               | 2 +-
 board/freescale/common/ls102xa_stream_id.c        | 2 +-
 board/freescale/common/mc34vr500.c                | 1 -
 board/freescale/common/mmc.c                      | 2 +-
 board/freescale/common/ngpixis.c                  | 1 -
 board/freescale/common/ns_access.c                | 2 +-
 board/freescale/common/p_corenet/law.c            | 2 +-
 board/freescale/common/p_corenet/tlb.c            | 3 ++-
 board/freescale/common/pfuze.c                    | 1 -
 board/freescale/common/qixis.c                    | 2 +-
 board/freescale/common/sdhc_boot.c                | 1 -
 board/freescale/common/sys_eeprom.c               | 1 -
 board/freescale/common/vid.c                      | 3 ++-
 board/freescale/imx8mm_evk/imx8mm_evk.c           | 1 -
 board/freescale/imx8mm_evk/spl.c                  | 1 -
 board/freescale/imx8mn_evk/imx8mn_evk.c           | 1 -
 board/freescale/imx8mn_evk/spl.c                  | 1 -
 board/freescale/imx8mp_evk/spl.c                  | 1 -
 board/freescale/imx8mq_evk/imx8mq_evk.c           | 1 -
 board/freescale/imx8mq_evk/lpddr4_timing.c        | 1 -
 board/freescale/imx8mq_evk/lpddr4_timing_b0.c     | 1 -
 board/freescale/imx8mq_evk/spl.c                  | 2 +-
 board/freescale/imx8qm_mek/imx8qm_mek.c           | 1 -
 board/freescale/imx8qm_mek/spl.c                  | 1 -
 board/freescale/imx8qxp_mek/imx8qxp_mek.c         | 1 -
 board/freescale/imx8qxp_mek/spl.c                 | 1 -
 board/freescale/imx8ulp_evk/imx8ulp_evk.c         | 1 -
 board/freescale/imx8ulp_evk/spl.c                 | 1 -
 board/freescale/imx93_evk/imx93_evk.c             | 1 -
 board/freescale/imx93_evk/spl.c                   | 1 -
 board/freescale/imxrt1020-evk/imxrt1020-evk.c     | 1 -
 board/freescale/imxrt1050-evk/imxrt1050-evk.c     | 1 -
 board/freescale/imxrt1170-evk/imxrt1170-evk.c     | 1 -
 board/freescale/ls1012afrdm/eth.c                 | 1 -
 board/freescale/ls1012afrdm/ls1012afrdm.c         | 2 +-
 board/freescale/ls1012aqds/eth.c                  | 2 +-
 board/freescale/ls1012aqds/ls1012aqds.c           | 2 +-
 board/freescale/ls1012ardb/eth.c                  | 2 +-
 board/freescale/ls1012ardb/ls1012ardb.c           | 2 +-
 board/freescale/ls1021aiot/ls1021aiot.c           | 2 +-
 board/freescale/ls1021aqds/ddr.c                  | 2 +-
 board/freescale/ls1028a/ddr.c                     | 1 -
 board/freescale/ls1028a/ls1028a.c                 | 2 +-
 board/freescale/ls1043aqds/ddr.c                  | 1 -
 board/freescale/ls1043aqds/eth.c                  | 2 +-
 board/freescale/ls1043aqds/ls1043aqds.c           | 2 +-
 board/freescale/ls1043ardb/cpld.c                 | 2 +-
 board/freescale/ls1043ardb/ddr.c                  | 1 -
 board/freescale/ls1043ardb/eth.c                  | 2 +-
 board/freescale/ls1046afrwy/ddr.c                 | 1 -
 board/freescale/ls1046afrwy/eth.c                 | 2 +-
 board/freescale/ls1046afrwy/ls1046afrwy.c         | 2 +-
 board/freescale/ls1046aqds/ddr.c                  | 1 -
 board/freescale/ls1046aqds/eth.c                  | 2 +-
 board/freescale/ls1046aqds/ls1046aqds.c           | 2 +-
 board/freescale/ls1046ardb/cpld.c                 | 2 +-
 board/freescale/ls1046ardb/ddr.c                  | 1 -
 board/freescale/ls1046ardb/eth.c                  | 2 +-
 board/freescale/ls1046ardb/ls1046ardb.c           | 2 +-
 board/freescale/ls1088a/ddr.c                     | 1 -
 board/freescale/ls1088a/ls1088a.c                 | 2 +-
 board/freescale/ls2080aqds/ddr.c                  | 1 -
 board/freescale/ls2080aqds/ls2080aqds.c           | 2 +-
 board/freescale/ls2080ardb/ddr.c                  | 1 -
 board/freescale/ls2080ardb/ls2080ardb.c           | 2 +-
 board/freescale/lx2160a/ddr.c                     | 1 -
 board/freescale/lx2160a/eth_lx2160ardb.c          | 1 -
 board/freescale/lx2160a/lx2160a.c                 | 2 +-
 board/freescale/m5208evbe/m5208evbe.c             | 1 -
 board/freescale/m5235evb/m5235evb.c               | 1 -
 board/freescale/m5249evb/m5249evb.c               | 2 +-
 board/freescale/m5253demo/flash.c                 | 3 ++-
 board/freescale/m5253demo/m5253demo.c             | 2 +-
 board/freescale/m5272c3/m5272c3.c                 | 2 +-
 board/freescale/m5275evb/m5275evb.c               | 2 +-
 board/freescale/m5282evb/m5282evb.c               | 2 +-
 board/freescale/m53017evb/m53017evb.c             | 1 -
 board/freescale/m5329evb/m5329evb.c               | 1 -
 board/freescale/m5329evb/nand.c                   | 1 -
 board/freescale/m5373evb/m5373evb.c               | 1 -
 board/freescale/m5373evb/nand.c                   | 1 -
 board/freescale/mpc837xerdb/mpc837xerdb.c         | 2 +-
 board/freescale/mpc8548cds/ddr.c                  | 1 -
 board/freescale/mpc8548cds/law.c                  | 2 +-
 board/freescale/mpc8548cds/mpc8548cds.c           | 2 +-
 board/freescale/mpc8548cds/tlb.c                  | 3 ++-
 board/freescale/mx23evk/mx23evk.c                 | 1 -
 board/freescale/mx23evk/spl_boot.c                | 1 -
 board/freescale/mx28evk/iomux.c                   | 1 -
 board/freescale/mx28evk/mx28evk.c                 | 1 -
 board/freescale/mx51evk/mx51evk.c                 | 2 +-
 board/freescale/mx53loco/mx53loco.c               | 2 +-
 board/freescale/mx6memcal/mx6memcal.c             | 1 -
 board/freescale/mx6memcal/spl.c                   | 1 -
 board/freescale/mx6sabreauto/mx6sabreauto.c       | 1 -
 board/freescale/mx6slevk/mx6slevk.c               | 1 -
 board/freescale/mx6sllevk/mx6sllevk.c             | 1 -
 board/freescale/mx6sxsabreauto/mx6sxsabreauto.c   | 2 +-
 board/freescale/mx6sxsabresd/mx6sxsabresd.c       | 1 -
 board/freescale/mx6ul_14x14_evk/mx6ul_14x14_evk.c | 2 +-
 board/freescale/mx6ullevk/mx6ullevk.c             | 2 +-
 board/freescale/mx7dsabresd/mx7dsabresd.c         | 1 -
 board/freescale/mx7ulp_evk/mx7ulp_evk.c           | 1 -
 board/freescale/p1010rdb/ddr.c                    | 1 -
 board/freescale/p1010rdb/law.c                    | 2 +-
 board/freescale/p1010rdb/p1010rdb.c               | 2 +-
 board/freescale/p1010rdb/spl.c                    | 2 +-
 board/freescale/p1010rdb/spl_minimal.c            | 2 +-
 board/freescale/p1010rdb/tlb.c                    | 3 ++-
 board/freescale/p1_p2_rdb_pc/ddr.c                | 5 +++--
 board/freescale/p1_p2_rdb_pc/law.c                | 2 +-
 board/freescale/p1_p2_rdb_pc/p1_p2_rdb_pc.c       | 2 +-
 board/freescale/p1_p2_rdb_pc/spl.c                | 2 +-
 board/freescale/p1_p2_rdb_pc/spl_minimal.c        | 2 +-
 board/freescale/p1_p2_rdb_pc/tlb.c                | 3 ++-
 board/freescale/p2041rdb/cpld.c                   | 1 -
 board/freescale/p2041rdb/ddr.c                    | 1 -
 board/freescale/p2041rdb/eth.c                    | 2 +-
 board/freescale/p2041rdb/p2041rdb.c               | 2 +-
 board/freescale/t102xrdb/cpld.c                   | 2 +-
 board/freescale/t102xrdb/ddr.c                    | 2 +-
 board/freescale/t102xrdb/eth_t102xrdb.c           | 2 +-
 board/freescale/t102xrdb/law.c                    | 2 +-
 board/freescale/t102xrdb/spl.c                    | 2 +-
 board/freescale/t102xrdb/t102xrdb.c               | 2 +-
 board/freescale/t102xrdb/tlb.c                    | 3 ++-
 board/freescale/t104xrdb/cpld.c                   | 2 +-
 board/freescale/t104xrdb/ddr.c                    | 2 +-
 board/freescale/t104xrdb/eth.c                    | 2 +-
 board/freescale/t104xrdb/law.c                    | 2 +-
 board/freescale/t104xrdb/spl.c                    | 2 +-
 board/freescale/t104xrdb/t104xrdb.c               | 2 +-
 board/freescale/t104xrdb/tlb.c                    | 3 ++-
 board/freescale/t208xqds/ddr.c                    | 1 -
 board/freescale/t208xqds/eth_t208xqds.c           | 2 +-
 board/freescale/t208xqds/law.c                    | 2 +-
 board/freescale/t208xqds/spl.c                    | 2 +-
 board/freescale/t208xqds/t208xqds.c               | 2 +-
 board/freescale/t208xqds/tlb.c                    | 3 ++-
 board/freescale/t208xrdb/cpld.c                   | 3 ++-
 board/freescale/t208xrdb/ddr.c                    | 1 -
 board/freescale/t208xrdb/eth_t208xrdb.c           | 1 -
 board/freescale/t208xrdb/law.c                    | 2 +-
 board/freescale/t208xrdb/spl.c                    | 2 +-
 board/freescale/t208xrdb/t208xrdb.c               | 2 +-
 board/freescale/t208xrdb/tlb.c                    | 3 ++-
 board/freescale/t4rdb/cpld.c                      | 2 +-
 board/freescale/t4rdb/ddr.c                       | 1 -
 board/freescale/t4rdb/eth.c                       | 2 +-
 board/freescale/t4rdb/law.c                       | 2 +-
 board/freescale/t4rdb/spl.c                       | 2 +-
 board/freescale/t4rdb/t4240rdb.c                  | 2 +-
 board/freescale/t4rdb/tlb.c                       | 3 ++-
 board/freescale/vf610twr/vf610twr.c               | 1 -
 166 files changed, 115 insertions(+), 166 deletions(-)
arch/arm/include/asm/arch-imx8m/ddr.h +1 -1
index c14855d177ec..1f81d91977c8 100644
@@ -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
arch/arm/include/asm/mach-imx/gpio.h +2 -0
index 1b7c9cd52499..25763526f5f6 100644
@@ -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 */
board/freescale/common/cadmus.c +2 -1
index e7e07fff86c3..6f66ed6851d4 100644
@@ -4,8 +4,9 @@
  */
 
 
-#include <common.h>
+#include <config.h>
 #include <clock_legacy.h>
+#include <linux/types.h>
 
 /*
  * CADMUS Board System Registers
board/freescale/common/cds_pci_ft.c +0 -1
index dc2d62850d19..56b01e3f51f0 100644
@@ -3,7 +3,6 @@
  * Copyright 2004 Freescale Semiconductor.
  */
 
-#include <common.h>
 #include <linux/libfdt.h>
 #include <fdt_support.h>
 #include "cadmus.h"
board/freescale/common/cds_via.c +0 -1
index 6184472b1658..6fc3a21780f6 100644
@@ -3,7 +3,6 @@
  * Copyright 2006 Freescale Semiconductor.
  */
 
-#include <common.h>
 #include <pci.h>
 
 /* Config the VIA chip */
board/freescale/common/cmd_esbc_validate.c +1 -1
index 6c096266b484..d4192e5ab521 100644
@@ -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[])
board/freescale/common/emc2305.c +0 -1
index 9a75c5a09dd1..50252bb5007f 100644
@@ -4,7 +4,6 @@
  *
  */
 
-#include <common.h>
 #include <command.h>
 #include <i2c.h>
 #include <asm/global_data.h>
board/freescale/common/fman.c +0 -1
index 358303108d8d..650ecc7b4402 100644
@@ -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>
board/freescale/common/fsl_chain_of_trust.c +1 -1
index 87ed814d6a2a..27a33924c84d 100644
@@ -4,7 +4,7 @@
  * Copyright 2022 NXP
  */
 
-#include <common.h>
+#include <config.h>
 #include <dm.h>
 #include <env.h>
 #include <init.h>
board/freescale/common/fsl_validate.c +1 -1
index bfe6357b0d60..e03434dcdfed 100644
@@ -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>
board/freescale/common/i2c_common.c +1 -1
index 119ed3c6171b..20705ecc8e46 100644
@@ -5,7 +5,7 @@
  * Copyright 2021 Microsoft Corporation
  */
 
-#include <common.h>
+#include <stdio.h>
 #include <i2c.h>
 #include "i2c_common.h"
 
board/freescale/common/i2c_mux.c +2 -1
index d40b34f10397..89151ccaf060 100644
@@ -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"
 
board/freescale/common/ics307_clk.c +1 -1
index 5f95571d24cc..af30faa0c5fe 100644
@@ -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>
board/freescale/common/ls102xa_stream_id.c +1 -1
index f754cf42fd38..bf76274c43ca 100644
@@ -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>
 
board/freescale/common/mc34vr500.c +0 -1
index d6b4c65a3c08..cf14b29a3ec1 100644
@@ -4,7 +4,6 @@
  * Hou Zhiqiang <[email protected]>
  */
 
-#include <common.h>
 #include <errno.h>
 #include <i2c.h>
 #include <log.h>
board/freescale/common/mmc.c +1 -1
index 8cd5079f962d..00e4f3675fe4 100644
@@ -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>
board/freescale/common/ngpixis.c +0 -1
index 7be1ccee6383..74c345807e64 100644
@@ -29,7 +29,6 @@
  *    boot from the alternate bank.
  */
 
-#include <common.h>
 #include <command.h>
 #include <asm/io.h>
 
board/freescale/common/ns_access.c +1 -1
index a95d15c1ef39..c46e87f4ccee 100644
@@ -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>
board/freescale/common/p_corenet/law.c +1 -1
index 1a1e9343d23b..83818d6d8479 100644
@@ -6,7 +6,7 @@
  * Wolfgang Denk, DENX Software Engineering, [email protected].
  */
 
-#include <common.h>
+#include <config.h>
 #include <asm/fsl_law.h>
 #include <asm/mmu.h>
 
board/freescale/common/p_corenet/tlb.c +2 -1
index 1a2d9cbfc0ce..cebdedfa4a7a 100644
@@ -6,8 +6,9 @@
  * Wolfgang Denk, DENX Software Engineering, [email protected].
  */
 
-#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 */
board/freescale/common/pfuze.c +0 -1
index a9288820b2eb..0d7a94fd232f 100644
@@ -3,7 +3,6 @@
  * Copyright 2014 Freescale Semiconductor, Inc.
  */
 
-#include <common.h>
 #include <errno.h>
 #include <power/pmic.h>
 #include <power/pfuze100_pmic.h>
board/freescale/common/qixis.c +1 -1
index da2c1de078b7..6400ac052454 100644
@@ -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>
board/freescale/common/sdhc_boot.c +0 -1
index a1c7a94a90e3..5ee730cefd04 100644
@@ -3,7 +3,6 @@
  * Copyright 2011 Freescale Semiconductor, Inc.
  */
 
-#include <common.h>
 #include <mmc.h>
 #include <malloc.h>
 
board/freescale/common/sys_eeprom.c +0 -1
index 64139d4659f2..ec3c9e37222a 100644
@@ -6,7 +6,6 @@
  * Timur Tabi ([email protected])
  */
 
-#include <common.h>
 #include <command.h>
 #include <env.h>
 #include <i2c.h>
board/freescale/common/vid.c +2 -1
index fc5d400cfe18..84cb43fad56a 100644
@@ -5,12 +5,13 @@
  * Copyright 2020 Stephen Carlson <[email protected]>
  */
 
-#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>
board/freescale/imx8mm_evk/imx8mm_evk.c +0 -1
index e0975fcda705..4c4436af3b1d 100644
@@ -3,7 +3,6 @@
  * Copyright 2018 NXP
  */
 
-#include <common.h>
 #include <env.h>
 #include <init.h>
 #include <miiphy.h>
board/freescale/imx8mm_evk/spl.c +0 -1
index 35437811d9df..cd251d274ff6 100644
@@ -3,7 +3,6 @@
  * Copyright 2019, 2021 NXP
  */
 
-#include <common.h>
 #include <command.h>
 #include <cpu_func.h>
 #include <hang.h>
board/freescale/imx8mn_evk/imx8mn_evk.c +0 -1
index e35d505aea97..6b6fb0a7dd21 100644
@@ -3,7 +3,6 @@
  * Copyright 2019 NXP
  */
 
-#include <common.h>
 #include <env.h>
 #include <init.h>
 #include <asm/global_data.h>
board/freescale/imx8mn_evk/spl.c +0 -1
index dd54fa9b6085..231b9289eead 100644
@@ -4,7 +4,6 @@
  *
  */
 
-#include <common.h>
 #include <command.h>
 #include <cpu_func.h>
 #include <hang.h>
board/freescale/imx8mp_evk/spl.c +0 -1
index 9dd2cbc799c3..12da1b2abfbb 100644
@@ -4,7 +4,6 @@
  *
  */
 
-#include <common.h>
 #include <hang.h>
 #include <init.h>
 #include <log.h>
board/freescale/imx8mq_evk/imx8mq_evk.c +0 -1
index e577e4d9ccaa..ab920a4539cd 100644
@@ -3,7 +3,6 @@
  * Copyright 2018 NXP
  */
 
-#include <common.h>
 #include <env.h>
 #include <init.h>
 #include <malloc.h>
board/freescale/imx8mq_evk/lpddr4_timing.c +0 -1
index 46bc7f8591cb..e9559e3d843a 100644
@@ -4,7 +4,6 @@
  */
 
 #include <linux/kernel.h>
-#include <common.h>
 #include <asm/arch/ddr.h>
 #include <asm/arch/lpddr4_define.h>
 
board/freescale/imx8mq_evk/lpddr4_timing_b0.c +0 -1
index ec68edaf6905..5d8f2803be67 100644
@@ -4,7 +4,6 @@
  */
 
 #include <linux/kernel.h>
-#include <common.h>
 #include <asm/arch/ddr.h>
 #include <asm/arch/lpddr4_define.h>
 
board/freescale/imx8mq_evk/spl.c +1 -1
index 818cdd615eb9..a346305c8633 100644
@@ -4,7 +4,7 @@
  *
  */
 
-#include <common.h>
+#include <config.h>
 #include <hang.h>
 #include <image.h>
 #include <init.h>
board/freescale/imx8qm_mek/imx8qm_mek.c +0 -1
index 2b209c8886f2..72527f774ca9 100644
@@ -3,7 +3,6 @@
  * Copyright 2018 NXP
  */
 
-#include <common.h>
 #include <cpu_func.h>
 #include <env.h>
 #include <errno.h>
board/freescale/imx8qm_mek/spl.c +0 -1
index 17fd437116d3..ad7868333091 100644
@@ -4,7 +4,6 @@
  *
  */
 
-#include <common.h>
 #include <dm.h>
 #include <image.h>
 #include <init.h>
board/freescale/imx8qxp_mek/imx8qxp_mek.c +0 -1
index 833bee55462d..adb9556a021c 100644
@@ -3,7 +3,6 @@
  * Copyright 2018 NXP
  */
 
-#include <common.h>
 #include <cpu_func.h>
 #include <env.h>
 #include <errno.h>
board/freescale/imx8qxp_mek/spl.c +0 -1
index 462c43ceebc7..05e3c0a2ff26 100644
@@ -4,7 +4,6 @@
  *
  */
 
-#include <common.h>
 #include <dm.h>
 #include <image.h>
 #include <init.h>
board/freescale/imx8ulp_evk/imx8ulp_evk.c +0 -1
index dd04d5925a00..0af610672637 100644
@@ -3,7 +3,6 @@
  * Copyright 2020 NXP
  */
 
-#include <common.h>
 #include <miiphy.h>
 #include <netdev.h>
 #include <asm/arch/imx8ulp-pins.h>
board/freescale/imx8ulp_evk/spl.c +0 -1
index c49b5be47620..d123b21b7225 100644
@@ -3,7 +3,6 @@
  * Copyright 2021 NXP
  */
 
-#include <common.h>
 #include <init.h>
 #include <spl.h>
 #include <asm/io.h>
board/freescale/imx93_evk/imx93_evk.c +0 -1
index c54dc9d05c5c..341831a7d30d 100644
@@ -3,7 +3,6 @@
  * Copyright 2022 NXP
  */
 
-#include <common.h>
 #include <env.h>
 #include <init.h>
 #include <miiphy.h>
board/freescale/imx93_evk/spl.c +0 -1
index 6d5e110b2776..e5807134bb23 100644
@@ -3,7 +3,6 @@
  * Copyright 2022 NXP
  */
 
-#include <common.h>
 #include <command.h>
 #include <cpu_func.h>
 #include <hang.h>
board/freescale/imxrt1020-evk/imxrt1020-evk.c +0 -1
index 785da604b964..42a0a67ae933 100644
@@ -4,7 +4,6 @@
  * Author(s): Giulio Benetti <[email protected]>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <init.h>
 #include <log.h>
board/freescale/imxrt1050-evk/imxrt1050-evk.c +0 -1
index 4cc3defc8828..46a644908e9d 100644
@@ -4,7 +4,6 @@
  * Author(s): Giulio Benetti <[email protected]>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <init.h>
 #include <log.h>
board/freescale/imxrt1170-evk/imxrt1170-evk.c +0 -1
index 4b82ee5e9ce4..e10b8830ec6a 100644
@@ -4,7 +4,6 @@
  * Author(s): Giulio Benetti <[email protected]>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <init.h>
 #include <log.h>
board/freescale/ls1012afrdm/eth.c +0 -1
index d2df9351eacc..c431e5e611bb 100644
@@ -4,7 +4,6 @@
  * Copyright 2017 NXP
  */
 
-#include <common.h>
 #include <dm.h>
 #include <net.h>
 #include <asm/io.h>
board/freescale/ls1012afrdm/ls1012afrdm.c +1 -1
index 271072bf7a1c..dae2cf097bc0 100644
@@ -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>
board/freescale/ls1012aqds/eth.c +1 -1
index 38267acedde1..d5e87c5393b8 100644
@@ -4,7 +4,7 @@
  * Copyright 2017 NXP
  */
 
-#include <common.h>
+#include <config.h>
 #include <dm.h>
 #include <asm/io.h>
 #include <netdev.h>
board/freescale/ls1012aqds/ls1012aqds.c +1 -1
index a5ea8d634edc..7d56eb0117d4 100644
@@ -4,7 +4,7 @@
  * Copyright 2021 NXP
  */
 
-#include <common.h>
+#include <config.h>
 #include <i2c.h>
 #include <fdt_support.h>
 #include <asm/cache.h>
board/freescale/ls1012ardb/eth.c +1 -1
index 5c661274987c..71cb2988a56d 100644
@@ -4,7 +4,7 @@
  * Copyright 2017 NXP
  */
 
-#include <common.h>
+#include <config.h>
 #include <dm.h>
 #include <net.h>
 #include <asm/io.h>
board/freescale/ls1012ardb/ls1012ardb.c +1 -1
index 18f92089caef..7f8001b4981f 100644
@@ -4,7 +4,7 @@
  * Copyright 2021 NXP
  */
 
-#include <common.h>
+#include <config.h>
 #include <command.h>
 #include <fdt_support.h>
 #include <hang.h>
board/freescale/ls1021aiot/ls1021aiot.c +1 -1
index d6f22bd6a2a3..7abc41269330 100644
@@ -4,7 +4,7 @@
  * Copyright 2021 NXP
  */
 
-#include <common.h>
+#include <config.h>
 #include <clock_legacy.h>
 #include <fdt_support.h>
 #include <init.h>
board/freescale/ls1021aqds/ddr.c +1 -1
index 4e70acc5a0cc..5b0f23688f0b 100644
@@ -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>
board/freescale/ls1028a/ddr.c +0 -1
index 3e976da6b305..c406f2436d1a 100644
@@ -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>
board/freescale/ls1028a/ls1028a.c +1 -1
index 7f181ab3dfb7..e01b5a8c2eb0 100644
@@ -3,7 +3,7 @@
  * Copyright 2019-2022 NXP
  */
 
-#include <common.h>
+#include <config.h>
 #include <display_options.h>
 #include <init.h>
 #include <malloc.h>
board/freescale/ls1043aqds/ddr.c +0 -1
index 23947bdb84c9..2a9717df616c 100644
@@ -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
board/freescale/ls1043aqds/eth.c +1 -1
index cd1f83e3d068..5a8ca27b3278 100644
@@ -4,7 +4,7 @@
  * Copyright 2019 NXP
  */
 
-#include <common.h>
+#include <config.h>
 #include <log.h>
 #include <net.h>
 #include <asm/io.h>
board/freescale/ls1043aqds/ls1043aqds.c +1 -1
index b87da41e4083..fdf011efc5bd 100644
@@ -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>
board/freescale/ls1043ardb/cpld.c +1 -1
index 9db3aa586059..bda2f3ac3a69 100644
@@ -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"
board/freescale/ls1043ardb/ddr.c +0 -1
index 4d2fce384121..187925e981a5 100644
@@ -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>
board/freescale/ls1043ardb/eth.c +1 -1
index cc95214c4e3f..cacc49c0584d 100644
@@ -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>
board/freescale/ls1046afrwy/ddr.c +0 -1
index 256397b52b65..b08caee1d97d 100644
@@ -3,7 +3,6 @@
  * Copyright 2019 NXP
  */
 
-#include <common.h>
 #include <fsl_ddr_sdram.h>
 #include <asm/global_data.h>
 
board/freescale/ls1046afrwy/eth.c +1 -1
index d1a2bfe18855..8efc7f68424c 100644
@@ -2,7 +2,7 @@
 /*
  * Copyright 2019 NXP
  */
-#include <common.h>
+#include <config.h>
 #include <fdt_support.h>
 #include <net.h>
 #include <asm/io.h>
board/freescale/ls1046afrwy/ls1046afrwy.c +1 -1
index 899c22a367e6..8889c24f1f0c 100644
@@ -3,7 +3,7 @@
  * Copyright 2019, 2021 NXP
  */
 
-#include <common.h>
+#include <config.h>
 #include <i2c.h>
 #include <fdt_support.h>
 #include <init.h>
board/freescale/ls1046aqds/ddr.c +0 -1
index 9a96de271786..ac1b60497216 100644
@@ -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
board/freescale/ls1046aqds/eth.c +1 -1
index bbf8b8c2bee5..cd3500c2e960 100644
@@ -4,7 +4,7 @@
  * Copyright 2018-2020 NXP
  */
 
-#include <common.h>
+#include <config.h>
 #include <log.h>
 #include <net.h>
 #include <asm/io.h>
board/freescale/ls1046aqds/ls1046aqds.c +1 -1
index 2faac54a0e23..a83b21706519 100644
@@ -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>
board/freescale/ls1046ardb/cpld.c +1 -1
index ee19d4ff8aab..7f8ca2e857fd 100644
@@ -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"
board/freescale/ls1046ardb/ddr.c +0 -1
index befb556bd30b..68353022e7dd 100644
@@ -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>
board/freescale/ls1046ardb/eth.c +1 -1
index bbc22a3cdf4a..fee8e0e21d44 100644
@@ -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>
board/freescale/ls1046ardb/ls1046ardb.c +1 -1
index 26e69db55f74..0492f0a8c0ae 100644
@@ -4,7 +4,7 @@
  * Copyright 2021 NXP
  */
 
-#include <common.h>
+#include <config.h>
 #include <i2c.h>
 #include <fdt_support.h>
 #include <init.h>
board/freescale/ls1088a/ddr.c +0 -1
index 9e0941cc9d6e..d2e239c4d615 100644
@@ -3,7 +3,6 @@
  * Copyright 2017 NXP
  */
 
-#include <common.h>
 #include <fsl_ddr_sdram.h>
 #include <fsl_ddr_dimm_params.h>
 #include <log.h>
board/freescale/ls1088a/ls1088a.c +1 -1
index 98a91c48adb0..58951f2bb2aa 100644
@@ -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>
board/freescale/ls2080aqds/ddr.c +0 -1
index 2767d058cc96..2986ffb7a820 100644
@@ -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>
board/freescale/ls2080aqds/ls2080aqds.c +1 -1
index 5c94c83121b5..4c8d0706688f 100644
@@ -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>
board/freescale/ls2080ardb/ddr.c +0 -1
index 07fa84733324..ec34b42e619a 100644
@@ -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>
board/freescale/ls2080ardb/ls2080ardb.c +1 -1
index 5c30de83d841..6f824f57c478 100644
@@ -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>
board/freescale/lx2160a/ddr.c +0 -1
index 7ab7a9e6ca83..637e43a22bee 100644
@@ -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>
board/freescale/lx2160a/eth_lx2160ardb.c +0 -1
index c5dfefe1f342..90e7c9100e12 100644
@@ -4,7 +4,6 @@
  *
  */
 
-#include <common.h>
 #include <netdev.h>
 #include <exports.h>
 #include <fsl-mc/fsl_mc.h>
board/freescale/lx2160a/lx2160a.c +1 -1
index b3187a14214a..3aa984dab8e7 100644
@@ -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>
board/freescale/m5208evbe/m5208evbe.c +0 -1
index 6125c9e13aa3..b202b8094d92 100644
@@ -8,7 +8,6 @@
  */
 
 #include <config.h>
-#include <common.h>
 #include <init.h>
 #include <asm/global_data.h>
 #include <asm/immap.h>
board/freescale/m5235evb/m5235evb.c +0 -1
index 44161a0b0a1c..65cde56fb2d7 100644
@@ -8,7 +8,6 @@
  */
 
 #include <config.h>
-#include <common.h>
 #include <init.h>
 #include <asm/global_data.h>
 #include <asm/immap.h>
board/freescale/m5249evb/m5249evb.c +1 -1
index d67db24d5883..717dc087e02b 100644
@@ -4,7 +4,7 @@
  * Wolfgang Denk, DENX Software Engineering, [email protected].
  */
 
-#include <common.h>
+#include <config.h>
 #include <command.h>
 #include <init.h>
 #include <malloc.h>
board/freescale/m5253demo/flash.c +2 -1
index eeb9cfd31259..334518a4bc9d 100644
@@ -7,10 +7,11 @@
  * TsiChung Liew ([email protected])
  */
 
-#include <common.h>
+#include <config.h>
 #include <flash.h>
 #include <init.h>
 #include <irq_func.h>
+#include <time.h>
 
 #include <asm/immap.h>
 
board/freescale/m5253demo/m5253demo.c +1 -1
index c1cff52fb3db..d0b01f81745f 100644
@@ -7,7 +7,7 @@
  * Hayden Fraser ([email protected])
  */
 
-#include <common.h>
+#include <config.h>
 #include <init.h>
 #include <net.h>
 #include <asm/global_data.h>
board/freescale/m5272c3/m5272c3.c +1 -1
index 3c20a23385c5..d1286badc61c 100644
@@ -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>
board/freescale/m5275evb/m5275evb.c +1 -1
index 00fa35ca5f71..e1d94fc9a3e2 100644
@@ -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>
board/freescale/m5282evb/m5282evb.c +1 -1
index 53e0f202101c..81da6e2abd46 100644
@@ -4,7 +4,7 @@
  * Wolfgang Denk, DENX Software Engineering, [email protected].
  */
 
-#include <common.h>
+#include <config.h>
 #include <init.h>
 #include <asm/global_data.h>
 #include <asm/immap.h>
board/freescale/m53017evb/m53017evb.c +0 -1
index 76ebc0ab8dcd..196d56dc17d3 100644
@@ -8,7 +8,6 @@
  */
 
 #include <config.h>
-#include <common.h>
 #include <init.h>
 #include <asm/global_data.h>
 #include <asm/immap.h>
board/freescale/m5329evb/m5329evb.c +0 -1
index b278dbfb4852..26d5f3bf58ce 100644
@@ -8,7 +8,6 @@
  */
 
 #include <config.h>
-#include <common.h>
 #include <init.h>
 #include <asm/global_data.h>
 #include <asm/immap.h>
board/freescale/m5329evb/nand.c +0 -1
index d921eef8b675..a250d61ef368 100644
@@ -8,7 +8,6 @@
  */
 
 #include <config.h>
-#include <common.h>
 #include <asm/io.h>
 #include <asm/immap.h>
 
board/freescale/m5373evb/m5373evb.c +0 -1
index 0e9eec316c2f..d6fdf41bab47 100644
@@ -8,7 +8,6 @@
  */
 
 #include <config.h>
-#include <common.h>
 #include <init.h>
 #include <asm/global_data.h>
 #include <asm/immap.h>
board/freescale/m5373evb/nand.c +0 -1
index 6d825a66e33f..e7c08d22e6bb 100644
@@ -8,7 +8,6 @@
  */
 
 #include <config.h>
-#include <common.h>
 #include <asm/io.h>
 #include <asm/immap.h>
 
board/freescale/mpc837xerdb/mpc837xerdb.c +1 -1
index 97884a397964..55299745a3cb 100644
@@ -5,7 +5,7 @@
  * Joe D'Abbraccio <joe.d'[email protected]>
  */
 
-#include <common.h>
+#include <config.h>
 #include <env.h>
 #include <hwconfig.h>
 #include <i2c.h>
board/freescale/mpc8548cds/ddr.c +0 -1
index b6c1847b141b..14202cd5a788 100644
@@ -3,7 +3,6 @@
  * Copyright 2008 Freescale Semiconductor, Inc.
  */
 
-#include <common.h>
 
 #include <fsl_ddr_sdram.h>
 #include <fsl_ddr_dimm_params.h>
board/freescale/mpc8548cds/law.c +1 -1
index 7b6ef5b11c92..2334870fda08 100644
@@ -6,7 +6,7 @@
  * Wolfgang Denk, DENX Software Engineering, [email protected].
  */
 
-#include <common.h>
+#include <config.h>
 #include <asm/fsl_law.h>
 #include <asm/mmu.h>
 
board/freescale/mpc8548cds/mpc8548cds.c +1 -1
index ec6e3a2d0ab5..7810010fd042 100644
@@ -5,7 +5,7 @@
  * (C) Copyright 2002 Scott McNutt <[email protected]>
  */
 
-#include <common.h>
+#include <config.h>
 #include <display_options.h>
 #include <init.h>
 #include <net.h>
board/freescale/mpc8548cds/tlb.c +2 -1
index 994a32dd92ad..0b2afa8054d8 100644
@@ -6,8 +6,9 @@
  * Wolfgang Denk, DENX Software Engineering, [email protected].
  */
 
-#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 */
board/freescale/mx23evk/mx23evk.c +0 -1
index df4fb3912558..fbc8fbdbf593 100644
@@ -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>
board/freescale/mx23evk/spl_boot.c +0 -1
index 14e9b4a8634f..a4c39a352219 100644
@@ -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>
board/freescale/mx28evk/iomux.c +0 -1
index cc0c85885446..b84b045bd1f5 100644
@@ -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>
board/freescale/mx28evk/mx28evk.c +0 -1
index 88c3bf36089c..ada572912dad 100644
@@ -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>
board/freescale/mx51evk/mx51evk.c +1 -1
index 95edb3599443..694568423026 100644
@@ -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>
board/freescale/mx53loco/mx53loco.c +1 -1
index d418cd8f4c0d..2d8f5da9906f 100644
@@ -4,7 +4,7 @@
  * Jason Liu <[email protected]>
  */
 
-#include <common.h>
+#include <config.h>
 #include <init.h>
 #include <log.h>
 #include <asm/global_data.h>
board/freescale/mx6memcal/mx6memcal.c +0 -1
index 0dfd7dec9efb..17095c34e926 100644
@@ -7,7 +7,6 @@
  * Author: Eric Nelson <[email protected]>
  */
 
-#include <common.h>
 #include <init.h>
 #include <asm/arch/sys_proto.h>
 #include <asm/global_data.h>
board/freescale/mx6memcal/spl.c +0 -1
index 61d0ca3408f0..bc9c4259f07b 100644
@@ -4,7 +4,6 @@
  * Author: Eric Nelson <[email protected]>
  */
 
-#include <common.h>
 #include <cpu_func.h>
 #include <init.h>
 #include <asm/global_data.h>
board/freescale/mx6sabreauto/mx6sabreauto.c +0 -1
index 77e92006131a..e782543c0fae 100644
@@ -5,7 +5,6 @@
  * Author: Fabio Estevam <[email protected]>
  */
 
-#include <common.h>
 #include <image.h>
 #include <init.h>
 #include <net.h>
board/freescale/mx6slevk/mx6slevk.c +0 -1
index e9ac57118b01..d37d8a4136f6 100644
@@ -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>
board/freescale/mx6sllevk/mx6sllevk.c +0 -1
index 10a00095affb..7114444fc3e6 100644
@@ -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>
board/freescale/mx6sxsabreauto/mx6sxsabreauto.c +1 -1
index 84cc51e9cac7..6176f7382389 100644
@@ -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>
board/freescale/mx6sxsabresd/mx6sxsabresd.c +0 -1
index e7958df40243..e3353feec688 100644
@@ -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>
board/freescale/mx6ul_14x14_evk/mx6ul_14x14_evk.c +1 -1
index 534b16cec7ae..6b0665a1067f 100644
@@ -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>
board/freescale/mx6ullevk/mx6ullevk.c +1 -1
index de45f8b1d24b..189eddefea3f 100644
@@ -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>
board/freescale/mx7dsabresd/mx7dsabresd.c +0 -1
index 4fe23b51cd1b..3db167c0dad3 100644
@@ -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>
board/freescale/mx7ulp_evk/mx7ulp_evk.c +0 -1
index 01e32136532d..af68e57854e2 100644
@@ -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>
board/freescale/p1010rdb/ddr.c +0 -1
index b423ec8e218a..43a0936bc9af 100644
@@ -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>
board/freescale/p1010rdb/law.c +1 -1
index 13fc2fa2e38c..a7d80f285211 100644
@@ -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>
 
board/freescale/p1010rdb/p1010rdb.c +1 -1
index d32274b24812..ab0031440ae8 100644
@@ -4,7 +4,7 @@
  * Copyright 2020 NXP
  */
 
-#include <common.h>
+#include <config.h>
 #include <command.h>
 #include <image.h>
 #include <init.h>
board/freescale/p1010rdb/spl.c +1 -1
index e450f626e0ad..fc26cef2cc8e 100644
@@ -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>
board/freescale/p1010rdb/spl_minimal.c +1 -1
index 8f0dec4c0ab7..8cd79c6fb5f6 100644
@@ -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>
board/freescale/p1010rdb/tlb.c +2 -1
index 265cde81a3c2..44acebaa2bbd 100644
@@ -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 */
board/freescale/p1_p2_rdb_pc/ddr.c +3 -2
index 5f16779abaad..8622a5a610a5 100644
@@ -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>
board/freescale/p1_p2_rdb_pc/law.c +1 -1
index 6085984eab43..49594070b836 100644
@@ -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>
 
board/freescale/p1_p2_rdb_pc/p1_p2_rdb_pc.c +1 -1
index 602b7f0156ba..399ff7207229 100644
@@ -4,7 +4,7 @@
  * Copyright 2020 NXP
  */
 
-#include <common.h>
+#include <config.h>
 #include <command.h>
 #include <env.h>
 #include <hang.h>
board/freescale/p1_p2_rdb_pc/spl.c +1 -1
index 6c3f82849e3a..b07f481fbf9d 100644
@@ -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>
board/freescale/p1_p2_rdb_pc/spl_minimal.c +1 -1
index f9e0b5b25ab7..511bcf5506b4 100644
@@ -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>
board/freescale/p1_p2_rdb_pc/tlb.c +2 -1
index 94773969e9d8..ae0b7adbe544 100644
@@ -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 */
board/freescale/p2041rdb/cpld.c +0 -1
index a1908b8a5712..915a8b994d5c 100644
@@ -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>
 
board/freescale/p2041rdb/ddr.c +0 -1
index 910058cefe16..b8b765a85ef5 100644
@@ -3,7 +3,6 @@
  * Copyright 2011 Freescale Semiconductor, Inc.
  */
 
-#include <common.h>
 #include <i2c.h>
 #include <hwconfig.h>
 #include <init.h>
board/freescale/p2041rdb/eth.c +1 -1
index c0d05539c5c0..658508667776 100644
@@ -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>
board/freescale/p2041rdb/p2041rdb.c +1 -1
index 575259b19c03..d5b71f784303 100644
@@ -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>
board/freescale/t102xrdb/cpld.c +1 -1
index 17a6226cafc7..cc933ccd5440 100644
@@ -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"
board/freescale/t102xrdb/ddr.c +1 -1
index 1b4173989925..f8d504fb3c73 100644
@@ -3,7 +3,7 @@
  * Copyright 2014 Freescale Semiconductor, Inc.
  */
 
-#include <common.h>
+#include <config.h>
 #include <i2c.h>
 #include <hwconfig.h>
 #include <init.h>
board/freescale/t102xrdb/eth_t102xrdb.c +1 -1
index ad78f72f98c8..7185a0abd520 100644
@@ -5,7 +5,7 @@
  * Shengzhou Liu <[email protected]>
  */
 
-#include <common.h>
+#include <config.h>
 #include <command.h>
 #include <fdt_support.h>
 #include <net.h>
board/freescale/t102xrdb/law.c +1 -1
index d636bef325f0..81caa961897a 100644
@@ -3,7 +3,7 @@
  * Copyright 2014 Freescale Semiconductor, Inc.
  */
 
-#include <common.h>
+#include <config.h>
 #include <asm/fsl_law.h>
 #include <asm/mmu.h>
 
board/freescale/t102xrdb/spl.c +1 -1
index 9faf259af74d..de6cdda194e7 100644
@@ -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>
board/freescale/t102xrdb/t102xrdb.c +1 -1
index 73f9d3ac72e7..0a29e27b42cd 100644
@@ -4,7 +4,7 @@
  * Copyright 2020-2023 NXP
  */
 
-#include <common.h>
+#include <config.h>
 #include <command.h>
 #include <env.h>
 #include <fdt_support.h>
board/freescale/t102xrdb/tlb.c +2 -1
index 2519a9e4dbee..008bd6e72b7b 100644
@@ -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 */
board/freescale/t104xrdb/cpld.c +0 -0
index 9ac57bbd8300..c2d526ae15ac 100644
@@ -10,7 +10,7 @@
  * CFG_SYS_CPLD_BASE-The virtual address of the base of the CPLD register

map
*/

board/freescale/t104xrdb/cpld.c +1 -1
-#include <common.h>
+#include <config.h>
 #include <command.h>
 #include <asm/io.h>
board/freescale/t104xrdb/ddr.c +1 -1
index 02ddb6614158..bab684860dad 100644
@@ -4,7 +4,7 @@
  * Copyright 2021 NXP
  */
 
-#include <common.h>
+#include <config.h>
 #include <i2c.h>
 #include <hwconfig.h>
 #include <init.h>
board/freescale/t104xrdb/eth.c +1 -1
index 5eca9386f6eb..d5c084e319d4 100644
@@ -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>
board/freescale/t104xrdb/law.c +1 -1
index a0d6eb5b2707..d34641c23970 100644
@@ -3,7 +3,7 @@
  * Copyright 2013 Freescale Semiconductor, Inc.
  */
 
-#include <common.h>
+#include <config.h>
 #include <asm/fsl_law.h>
 #include <asm/mmu.h>
 
board/freescale/t104xrdb/spl.c +1 -1
index dd8283f3c60a..e02a1f95d4cb 100644
@@ -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>
board/freescale/t104xrdb/t104xrdb.c +1 -1
index b30804927167..ef4dfef4965c 100644
@@ -4,7 +4,7 @@
  * Copyright 2023 NXP
  */
 
-#include <common.h>
+#include <config.h>
 #include <command.h>
 #include <env.h>
 #include <fdt_support.h>
board/freescale/t104xrdb/tlb.c +2 -1
index 10be580b8136..24bc83f756bd 100644
@@ -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 */
board/freescale/t208xqds/ddr.c +0 -1
index 56471b3988b9..9076fbba10af 100644
@@ -3,7 +3,6 @@
  * Copyright 2013 Freescale Semiconductor, Inc.
  */
 
-#include <common.h>
 #include <i2c.h>
 #include <hwconfig.h>
 #include <init.h>
board/freescale/t208xqds/eth_t208xqds.c +1 -1
index 569b193eab78..9f299227e295 100644
@@ -6,7 +6,7 @@
  * Shengzhou Liu <[email protected]>
  */
 
-#include <common.h>
+#include <config.h>
 #include <command.h>
 #include <fdt_support.h>
 #include <log.h>
board/freescale/t208xqds/law.c +1 -1
index 3cdd4937684e..287f4650e058 100644
@@ -6,7 +6,7 @@
  * Wolfgang Denk, DENX Software Engineering, [email protected].
  */
 
-#include <common.h>
+#include <config.h>
 #include <asm/fsl_law.h>
 #include <asm/mmu.h>
 
board/freescale/t208xqds/spl.c +1 -1
index 8866be54a661..44ad4e68d9f6 100644
@@ -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>
board/freescale/t208xqds/t208xqds.c +1 -1
index 8be55e52e5f6..5e71da0e163f 100644
@@ -4,7 +4,7 @@
  * Copyright 2020 NXP
  */
 
-#include <common.h>
+#include <config.h>
 #include <clock_legacy.h>
 #include <command.h>
 #include <env.h>
board/freescale/t208xqds/tlb.c +2 -1
index 3d220afc16e6..f99d51c8cd76 100644
@@ -6,8 +6,9 @@
  * Wolfgang Denk, DENX Software Engineering, [email protected].
  */
 
-#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 */
board/freescale/t208xrdb/cpld.c +2 -1
index 933fa0decc31..d2226af62786 100644
@@ -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)
board/freescale/t208xrdb/ddr.c +0 -1
index 1fbab36e1a20..fe98f62668a7 100644
@@ -3,7 +3,6 @@
  * Copyright 2014 Freescale Semiconductor, Inc.
  */
 
-#include <common.h>
 #include <i2c.h>
 #include <hwconfig.h>
 #include <init.h>
board/freescale/t208xrdb/eth_t208xrdb.c +0 -1
index e4592eac1530..5223eccb2804 100644
@@ -6,7 +6,6 @@
  * Shengzhou Liu <[email protected]>
  */
 
-#include <common.h>
 #include <command.h>
 #include <fdt_support.h>
 #include <net.h>
board/freescale/t208xrdb/law.c +1 -1
index 53a13694506f..e1f570a89358 100644
@@ -6,7 +6,7 @@
  * Wolfgang Denk, DENX Software Engineering, [email protected].
  */
 
-#include <common.h>
+#include <config.h>
 #include <asm/fsl_law.h>
 #include <asm/mmu.h>
 
board/freescale/t208xrdb/spl.c +1 -1
index 130cb8847c0f..df3b9c6fe405 100644
@@ -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>
board/freescale/t208xrdb/t208xrdb.c +1 -1
index e33e5d082d80..d93edf007ad9 100644
@@ -4,7 +4,7 @@
  * Copyright 2021-2023 NXP
  */
 
-#include <common.h>
+#include <config.h>
 #include <command.h>
 #include <env.h>
 #include <fdt_support.h>
board/freescale/t208xrdb/tlb.c +2 -1
index 688a208c621f..df5831541f38 100644
@@ -6,8 +6,9 @@
  * Wolfgang Denk, DENX Software Engineering, [email protected].
  */
 
-#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 */
board/freescale/t4rdb/cpld.c +1 -1
index 8b1012086ec7..cd14d5895f50 100644
@@ -14,7 +14,7 @@
  *
  */
 
-#include <common.h>
+#include <config.h>
 #include <command.h>
 #include <asm/io.h>
 
board/freescale/t4rdb/ddr.c +0 -1
index 57cbde154f0e..5b60b50c672b 100644
@@ -3,7 +3,6 @@
  * Copyright 2014 Freescale Semiconductor, Inc.
  */
 
-#include <common.h>
 #include <i2c.h>
 #include <hwconfig.h>
 #include <init.h>
board/freescale/t4rdb/eth.c +1 -1
index 2e52543847bf..e7646365d7d4 100644
@@ -5,7 +5,7 @@
  * Chunhe Lan <[email protected]>
  */
 
-#include <common.h>
+#include <config.h>
 #include <command.h>
 #include <fdt_support.h>
 #include <net.h>
board/freescale/t4rdb/law.c +1 -1
index 43eeb884e2ff..c43ac0f30d74 100644
@@ -3,7 +3,7 @@
  * Copyright 2014 Freescale Semiconductor, Inc.
  */
 
-#include <common.h>
+#include <config.h>
 #include <asm/fsl_law.h>
 #include <asm/mmu.h>
 
board/freescale/t4rdb/spl.c +1 -1
index 779457d29640..9d2472dec250 100644
@@ -5,7 +5,7 @@
  * Author: Chunhe Lan <[email protected]>
  */
 
-#include <common.h>
+#include <config.h>
 #include <clock_legacy.h>
 #include <console.h>
 #include <env_internal.h>
board/freescale/t4rdb/t4240rdb.c +1 -1
index ab717769ed5c..5cacfd273803 100644
@@ -4,7 +4,7 @@
  * Copyright 2023 NXP
  */
 
-#include <common.h>
+#include <config.h>
 #include <command.h>
 #include <env.h>
 #include <fdt_support.h>
board/freescale/t4rdb/tlb.c +2 -1
index f5af893c2d9d..1fb9d41d52b1 100644
@@ -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 */
board/freescale/vf610twr/vf610twr.c +0 -2
index 98cb0140ad02..80a798af9cb6 100644
@@ -3,7 +3,6 @@
  * Copyright 2013 Freescale Semiconductor, Inc.
  */
 
-#include <common.h>
 #include <init.h>
 #include <asm/global_data.h>
 #include <asm/io.h>
--

2.34.1