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 2 of 2

Subsystems (35)
lore
Share & tools
lore
Acked-by on v1 61/149
#80 lore raw

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

In reply to Tom Rini
Quoted 24 lines · 在 2024年5月1日,10:44,Tom Rini <[email protected]> 写道:

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]>

Quoted 8 lines

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]>

Quoted 2,305 lines

---

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

author
#81 lore raw

PATCH 62/149 board: friendlyarm: 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 Bosch <[email protected]>
Cc: Caleb Connolly <[email protected]>
Cc: Eugen Hristev <[email protected]>
Cc: Igor Prusov <[email protected]>
Cc: Patrice Chotard <[email protected]>

---
 board/friendlyarm/nanopi2/board.c   | 1 -
 board/friendlyarm/nanopi2/hwrev.c   | 1 -
 board/friendlyarm/nanopi2/lcds.c    | 1 -
 board/friendlyarm/nanopi2/onewire.c | 1 -
 4 files changed, 4 deletions(-)
board/friendlyarm/nanopi2/board.c +0 -1
index 393c5a447d6f..c8cbc5a15fa8 100644
@@ -5,7 +5,6 @@
  */
 
 #include <config.h>
-#include <common.h>
 #include <command.h>
 #include <fdt_support.h>
 #include <log.h>
board/friendlyarm/nanopi2/hwrev.c +0 -1
index 585e08c944f9..cd9c2414a320 100644
@@ -5,7 +5,6 @@
  */
 
 #include <config.h>
-#include <common.h>
 #include <i2c.h>
 #include <asm/io.h>
 
board/friendlyarm/nanopi2/lcds.c +0 -1
index 7303e53af925..b37367300cf0 100644
@@ -4,7 +4,6 @@
  */
 
 #include <config.h>
-#include <common.h>
 #include <errno.h>
 #include <fdtdec.h>
 #include <fdt_support.h>
board/friendlyarm/nanopi2/onewire.c +0 -1
index 4f0b1e33c2df..31cc871330ca 100644
@@ -5,7 +5,6 @@
  */
 
 #include <config.h>
-#include <common.h>
 #include <errno.h>
 #include <asm/io.h>
 #include <asm/arch/clk.h>
Signature · 1 line
2.34.1
Reviewed-by Tested-by on v1 62/149
#82 lore raw

Re: [PATCH 062/149] board: friendlyarm: 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.

Looks good, tested on FriendlyElec-Board NanoPC-T2.

Thanks a lot!

Quoted 61 lines

---
Cc: Stefan Bosch <[email protected]>
Cc: Caleb Connolly <[email protected]>
Cc: Eugen Hristev <[email protected]>
Cc: Igor Prusov <[email protected]>
Cc: Patrice Chotard <[email protected]>

---
  board/friendlyarm/nanopi2/board.c   | 1 -
  board/friendlyarm/nanopi2/hwrev.c   | 1 -
  board/friendlyarm/nanopi2/lcds.c    | 1 -
  board/friendlyarm/nanopi2/onewire.c | 1 -
  4 files changed, 4 deletions(-)
board/friendlyarm/nanopi2/board.c +0 -1
index 393c5a447d6f..c8cbc5a15fa8 100644
@@ -5,7 +5,6 @@
   */
 
  #include <config.h>
-#include <common.h>
  #include <command.h>
  #include <fdt_support.h>
  #include <log.h>
board/friendlyarm/nanopi2/hwrev.c +0 -1
index 585e08c944f9..cd9c2414a320 100644
@@ -5,7 +5,6 @@
   */
 
  #include <config.h>
-#include <common.h>
  #include <i2c.h>
  #include <asm/io.h>
 
board/friendlyarm/nanopi2/lcds.c +0 -1
index 7303e53af925..b37367300cf0 100644
@@ -4,7 +4,6 @@
   */
 
  #include <config.h>
-#include <common.h>
  #include <errno.h>
  #include <fdtdec.h>
  #include <fdt_support.h>
board/friendlyarm/nanopi2/onewire.c +0 -1
index 4f0b1e33c2df..31cc871330ca 100644
@@ -5,7 +5,6 @@
   */
 
  #include <config.h>
-#include <common.h>
  #include <errno.h>
  #include <asm/io.h>
  #include <asm/arch/clk.h>
author
#83 lore raw

PATCH 63/149 board: gardena: 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/gardena/smart-gateway-at91sam/board.c | 2 +-
 board/gardena/smart-gateway-at91sam/spl.c   | 2 +-
 board/gardena/smart-gateway-mt7688/board.c  | 1 -
 3 files changed, 2 insertions(+), 3 deletions(-)
board/gardena/smart-gateway-at91sam/board.c +1 -1
index d9dfb256b32a..2b5b2844fbd2 100644
@@ -4,7 +4,7 @@
  * Copyright (C) 2019 Stefan Roese <[email protected]>
  */
 
-#include <common.h>
+#include <config.h>
 #include <debug_uart.h>
 #include <env.h>
 #include <init.h>
board/gardena/smart-gateway-at91sam/spl.c +1 -1
index 2807c4e31141..fb3ec48f9c52 100644
@@ -4,7 +4,7 @@
  * Copyright (C) 2019 Stefan Roese <[email protected]>
  */
 
-#include <common.h>
+#include <config.h>
 #include <nand.h>
 #include <spl.h>
 #include <asm/arch/at91sam9x5_matrix.h>
board/gardena/smart-gateway-mt7688/board.c +0 -1
index 0cfde91c94c6..c6b14bed41fb 100644
@@ -3,7 +3,6 @@
  * Copyright (C) 2018 Stefan Roese <[email protected]>
  */
 
-#include <common.h>
 #include <command.h>
 #include <env.h>
 #include <env_internal.h>
Signature · 1 line
2.34.1
author
#84 lore raw

PATCH 64/149 board: gateworks: 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: Tim Harvey <[email protected]>

---
 board/gateworks/gw_ventana/common.c           | 1 -
 board/gateworks/gw_ventana/eeprom.c           | 1 -
 board/gateworks/gw_ventana/gw_ventana.c       | 1 -
 board/gateworks/gw_ventana/gw_ventana_spl.c   | 2 +-
 board/gateworks/venice/eeprom.c               | 1 -
 board/gateworks/venice/lpddr4_timing_imx8mm.c | 1 -
 board/gateworks/venice/spl.c                  | 1 -
 7 files changed, 1 insertion(+), 7 deletions(-)
board/gateworks/gw_ventana/common.c +0 -1
index 74328b2e1b31..891d1b5ddcaa 100644
@@ -5,7 +5,6 @@
  * Author: Tim Harvey <[email protected]>
  */
 
-#include <common.h>
 #include <env.h>
 #include <fsl_esdhc_imx.h>
 #include <hwconfig.h>
board/gateworks/gw_ventana/eeprom.c +0 -1
index e622a9ba9e4d..b37f19722491 100644
@@ -5,7 +5,6 @@
  */
 
 #include <command.h>
-#include <common.h>
 #include <gsc.h>
 #include <hexdump.h>
 #include <i2c.h>
board/gateworks/gw_ventana/gw_ventana.c +0 -1
index 683def7e9f71..21a908c20dd5 100644
@@ -6,7 +6,6 @@
  */
 
 #include <command.h>
-#include <common.h>
 #include <fdt_support.h>
 #include <gsc.h>
 #include <hwconfig.h>
board/gateworks/gw_ventana/gw_ventana_spl.c +1 -1
index 2f046c9c0b3e..3de4727b2edf 100644
@@ -4,7 +4,7 @@
  * Author: Tim Harvey <[email protected]>
  */
 
-#include <common.h>
+#include <config.h>
 #include <env.h>
 #include <gsc.h>
 #include <hang.h>
board/gateworks/venice/eeprom.c +0 -1
index 241be4ee630b..afaabf348793 100644
@@ -3,7 +3,6 @@
  * Copyright 2021 Gateworks Corporation
  */
 
-#include <common.h>
 #include <gsc.h>
 #include <hexdump.h>
 #include <i2c.h>
board/gateworks/venice/lpddr4_timing_imx8mm.c +0 -1
index 78b431dc2844..3f2c090a94fc 100644
@@ -6,7 +6,6 @@
  */
 
 #include <linux/kernel.h>
-#include <common.h>
 #include <asm/arch/ddr.h>
 #include <asm/arch/lpddr4_define.h>
 
board/gateworks/venice/spl.c +0 -1
index b0a315ba9531..f10d310a46d4 100644
@@ -3,7 +3,6 @@
  * Copyright 2021 Gateworks Corporation
  */
 
-#include <common.h>
 #include <cpu_func.h>
 #include <hang.h>
 #include <i2c.h>
Signature · 1 line
2.34.1
Acked-by on v1 64/149
#85 lore raw

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

Quoted 103 lines · Tom Rini

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

---
Cc: Tim Harvey <[email protected]>

---
 board/gateworks/gw_ventana/common.c           | 1 -
 board/gateworks/gw_ventana/eeprom.c           | 1 -
 board/gateworks/gw_ventana/gw_ventana.c       | 1 -
 board/gateworks/gw_ventana/gw_ventana_spl.c   | 2 +-
 board/gateworks/venice/eeprom.c               | 1 -
 board/gateworks/venice/lpddr4_timing_imx8mm.c | 1 -
 board/gateworks/venice/spl.c                  | 1 -
 7 files changed, 1 insertion(+), 7 deletions(-)
board/gateworks/gw_ventana/common.c +0 -1
index 74328b2e1b31..891d1b5ddcaa 100644
@@ -5,7 +5,6 @@
  * Author: Tim Harvey <[email protected]>
  */
 
-#include <common.h>
 #include <env.h>
 #include <fsl_esdhc_imx.h>
 #include <hwconfig.h>
board/gateworks/gw_ventana/eeprom.c +0 -1
index e622a9ba9e4d..b37f19722491 100644
@@ -5,7 +5,6 @@
  */
 
 #include <command.h>
-#include <common.h>
 #include <gsc.h>
 #include <hexdump.h>
 #include <i2c.h>
board/gateworks/gw_ventana/gw_ventana.c +0 -1
index 683def7e9f71..21a908c20dd5 100644
@@ -6,7 +6,6 @@
  */
 
 #include <command.h>
-#include <common.h>
 #include <fdt_support.h>
 #include <gsc.h>
 #include <hwconfig.h>
board/gateworks/gw_ventana/gw_ventana_spl.c +1 -1
index 2f046c9c0b3e..3de4727b2edf 100644
@@ -4,7 +4,7 @@
  * Author: Tim Harvey <[email protected]>
  */
 
-#include <common.h>
+#include <config.h>
 #include <env.h>
 #include <gsc.h>
 #include <hang.h>
board/gateworks/venice/eeprom.c +0 -1
index 241be4ee630b..afaabf348793 100644
@@ -3,7 +3,6 @@
  * Copyright 2021 Gateworks Corporation
  */
 
-#include <common.h>
 #include <gsc.h>
 #include <hexdump.h>
 #include <i2c.h>
board/gateworks/venice/lpddr4_timing_imx8mm.c +0 -1
index 78b431dc2844..3f2c090a94fc 100644
@@ -6,7 +6,6 @@
  */
 
 #include <linux/kernel.h>
-#include <common.h>
 #include <asm/arch/ddr.h>
 #include <asm/arch/lpddr4_define.h>
 
board/gateworks/venice/spl.c +0 -2
index b0a315ba9531..f10d310a46d4 100644
@@ -3,7 +3,6 @@
  * Copyright 2021 Gateworks Corporation
  */
 
-#include <common.h>
 #include <cpu_func.h>
 #include <hang.h>
 #include <i2c.h>
--
Quoted 2 lines

2.34.1

Tim

author
#86 lore raw

PATCH 65/149 board: gdsys: 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: Mario Six <[email protected]>

---
 board/gdsys/a38x/controlcenterdc.c | 2 +-
 board/gdsys/a38x/dt_helpers.c      | 1 -
 board/gdsys/a38x/hre.c             | 1 -
 board/gdsys/a38x/hydra.c           | 2 +-
 board/gdsys/a38x/ihs_phys.c        | 1 -
 board/gdsys/a38x/keyprogram.c      | 1 -
 board/gdsys/common/cmd_ioloop.c    | 1 -
 board/gdsys/common/dp501.c         | 1 -
 board/gdsys/common/ihs_mdio.c      | 1 -
 board/gdsys/common/ioep-fpga.c     | 1 -
 board/gdsys/common/osd.c           | 1 -
 board/gdsys/common/osd_cmd.c       | 1 -
 board/gdsys/mpc8308/gazerbeam.c    | 1 -
 board/gdsys/mpc8308/mpc8308.c      | 1 -
 board/gdsys/mpc8308/sdram.c        | 2 +-
 15 files changed, 3 insertions(+), 15 deletions(-)
board/gdsys/a38x/controlcenterdc.c +1 -1
index 0f620c2d9172..4abb3e451285 100644
@@ -4,7 +4,7 @@
  * Copyright (C) 2016 Mario Six <[email protected]>
  */
 
-#include <common.h>
+#include <config.h>
 #include <command.h>
 #include <dm.h>
 #include <event.h>
board/gdsys/a38x/dt_helpers.c +0 -1
index 61d30c2e6373..a12e115c72cb 100644
@@ -4,7 +4,6 @@
  * Mario Six, Guntermann & Drunck GmbH, [email protected]
  */
 
-#include <common.h>
 #include <i2c.h>
 #include <fdt_support.h>
 #include <asm-generic/gpio.h>
board/gdsys/a38x/hre.c +0 -1
index d16233ed78ee..f303793b63b7 100644
@@ -4,7 +4,6 @@
  * Reinhard Pfau, Guntermann & Drunck GmbH, [email protected]
  */
 
-#include <common.h>
 #include <log.h>
 #include <malloc.h>
 #include <fs.h>
board/gdsys/a38x/hydra.c +1 -1
index 495a97691881..970d508ff328 100644
@@ -1,8 +1,8 @@
-#include <common.h>
 #include <command.h>
 #include <console.h> /* ctrlc */
 #include <pci.h>
 #include <asm/io.h>
+#include <mach/soc.h>
 
 #include "hydra.h"
 
board/gdsys/a38x/ihs_phys.c +0 -1
index 60a5c37aeffb..690a29690b9c 100644
@@ -1,4 +1,3 @@
-#include <common.h>
 #include <dm.h>
 #include <miiphy.h>
 #include <asm-generic/gpio.h>
board/gdsys/a38x/keyprogram.c +0 -1
index 7020fae18941..15c36e22684f 100644
@@ -4,7 +4,6 @@
  * Mario Six, Guntermann & Drunck GmbH, [email protected]
  */
 
-#include <common.h>
 #include <command.h>
 #include <env.h>
 #include <tpm-v1.h>
board/gdsys/common/cmd_ioloop.c +0 -1
index 1412421a0218..fb6313f01975 100644
@@ -4,7 +4,6 @@
  * Dirk Eibach, Guntermann & Drunck GmbH, [email protected]
  */
 
-#include <common.h>
 #include <command.h>
 #include <console.h>
 #include <linux/bitops.h>
board/gdsys/common/dp501.c +0 -1
index 9ca69ebcbbe7..7698e76b5248 100644
@@ -8,7 +8,6 @@
 
 #ifdef CONFIG_GDSYS_LEGACY_DRIVERS
 
-#include <common.h>
 #include <asm/io.h>
 #include <errno.h>
 #include <i2c.h>
board/gdsys/common/ihs_mdio.c +0 -1
index 5f1215e9e8a6..a814566beaf0 100644
@@ -4,7 +4,6 @@
  * Dirk Eibach,  Guntermann & Drunck GmbH, [email protected]
  */
 
-#include <common.h>
 #include <linux/delay.h>
 
 #include <miiphy.h>
board/gdsys/common/ioep-fpga.c +0 -1
index 7292d7ab5a41..f01b48b5c8e9 100644
@@ -6,7 +6,6 @@
 
 #ifdef CONFIG_GDSYS_LEGACY_DRIVERS
 
-#include <common.h>
 
 #include <gdsys_fpga.h>
 #include <linux/bitops.h>
board/gdsys/common/osd.c +0 -1
index dc548efbc7a4..bd9c5ca99698 100644
@@ -6,7 +6,6 @@
 
 #ifdef CONFIG_GDSYS_LEGACY_DRIVERS
 
-#include <common.h>
 #include <command.h>
 #include <i2c.h>
 #include <malloc.h>
board/gdsys/common/osd_cmd.c +0 -1
index 6a9c0b4c24f0..39e64f5f2eb3 100644
@@ -9,7 +9,6 @@
  * Dirk Eibach,  Guntermann & Drunck GmbH, [email protected]
  */
 
-#include <common.h>
 #include <command.h>
 #include <dm.h>
 #include <hexdump.h>
board/gdsys/mpc8308/gazerbeam.c +0 -1
index cc608c4ac434..05e4d84460ae 100644
@@ -5,7 +5,6 @@
  * SPDX-License-Identifier:	GPL-2.0+
  */
 
-#include <common.h>
 #include <command.h>
 #include <dm.h>
 #include <env.h>
board/gdsys/mpc8308/mpc8308.c +0 -1
index 0f90f8ad327b..42c45ecedcea 100644
@@ -4,7 +4,6 @@
  * Dirk Eibach,  Guntermann & Drunck GmbH, [email protected]
  */
 
-#include <common.h>
 #include <command.h>
 #include <init.h>
 #include <asm/processor.h>
board/gdsys/mpc8308/sdram.c +1 -1
index 4fac146353da..2933de0f3048 100644
@@ -13,7 +13,7 @@
 
 #ifndef CONFIG_MPC83XX_SDRAM
 
-#include <common.h>
+#include <config.h>
 #include <init.h>
 #include <mpc83xx.h>
 #include <spd_sdram.h>
Signature · 1 line
2.34.1
author
#87 lore raw

PATCH 66/149 board: ge: 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: "Huan 'Kitty' Wang" <[email protected]>
Cc: Ian Ray <[email protected]>
Cc: Martyn Welch <[email protected]>

---
 board/ge/b1x5v2/b1x5v2.c         | 1 -
 board/ge/common/ge_rtc.c         | 1 -
 board/ge/mx53ppd/mx53ppd.c       | 1 -
 board/ge/mx53ppd/mx53ppd_video.c | 1 -
 4 files changed, 4 deletions(-)
board/ge/b1x5v2/b1x5v2.c +0 -1
index a2cbd1512e92..031773bc5ef3 100644
@@ -17,7 +17,6 @@
 #include <asm/io.h>
 #include <asm/mach-imx/video.h>
 #include <command.h>
-#include <common.h>
 #include <i2c.h>
 #include <input.h>
 #include <ipu_pixfmt.h>
board/ge/common/ge_rtc.c +0 -1
index 6437afc7bd0a..5c62ecca8c89 100644
@@ -3,7 +3,6 @@
  * Copyright 2017 General Electric Company
  */
 
-#include <common.h>
 #include <env.h>
 #include <dm/uclass.h>
 #include <rtc.h>
board/ge/mx53ppd/mx53ppd.c +0 -1
index cc462d53da6a..9396d43f8add 100644
@@ -8,7 +8,6 @@
  * Jason Liu <[email protected]>
  */
 
-#include <common.h>
 #include <init.h>
 #include <asm/global_data.h>
 #include <asm/io.h>
board/ge/mx53ppd/mx53ppd_video.c +0 -1
index 4e2c6ebde73c..eb4dd758b3b5 100644
@@ -8,7 +8,6 @@
  * Fabio Estevam <[email protected]>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <linux/list.h>
 #include <asm/arch/iomux-mx53.h>
Signature · 1 line
2.34.1
author
#88 lore raw

PATCH v2 66/149 board: ge: Remove <common.h> and add needed includes

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

---
Changes in v2:
- Remove "common.h" include as well.

Cc "Huan 'Kitty' Wang" <[email protected]>
Cc Ian Ray <[email protected]>
Cc Martyn Welch <[email protected]>
 board/ge/b1x5v2/b1x5v2.c         | 1 -
 board/ge/common/ge_rtc.c         | 1 -
 board/ge/common/vpd_reader.h     | 2 +-
 board/ge/mx53ppd/mx53ppd.c       | 1 -
 board/ge/mx53ppd/mx53ppd_video.c | 1 -
 5 files changed, 1 insertion(+), 5 deletions(-)
board/ge/b1x5v2/b1x5v2.c +0 -1
index a2cbd1512e92..031773bc5ef3 100644
@@ -17,7 +17,6 @@
 #include <asm/io.h>
 #include <asm/mach-imx/video.h>
 #include <command.h>
-#include <common.h>
 #include <i2c.h>
 #include <input.h>
 #include <ipu_pixfmt.h>
board/ge/common/ge_rtc.c +0 -1
index 6437afc7bd0a..5c62ecca8c89 100644
@@ -3,7 +3,6 @@
  * Copyright 2017 General Electric Company
  */
 
-#include <common.h>
 #include <env.h>
 #include <dm/uclass.h>
 #include <rtc.h>
board/ge/common/vpd_reader.h +1 -1
index 0c51dc57e902..d32c18da351c 100644
@@ -3,7 +3,7 @@
  * Copyright 2016 General Electric Company
  */
 
-#include "common.h"
+#include <linux/types.h>
 
 struct vpd_cache;
 
board/ge/mx53ppd/mx53ppd.c +0 -1
index cc462d53da6a..9396d43f8add 100644
@@ -8,7 +8,6 @@
  * Jason Liu <[email protected]>
  */
 
-#include <common.h>
 #include <init.h>
 #include <asm/global_data.h>
 #include <asm/io.h>
board/ge/mx53ppd/mx53ppd_video.c +0 -1
index 4e2c6ebde73c..eb4dd758b3b5 100644
@@ -8,7 +8,6 @@
  * Fabio Estevam <[email protected]>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <linux/list.h>
 #include <asm/arch/iomux-mx53.h>
Signature · 1 line
2.34.1
Reviewed-by on v2 66/149
#89 lore raw

Re: [PATCHv2 066/149] board: ge: Remove <common.h> and add needed includes

Quoted 7 lines · Tom Rini

WARNING: This email originated from outside of GE HealthCare. Please validate the sender's email address before clicking on links or attachments as they may not be safe.

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

Quoted 80 lines

---
Changes in v2:
- Remove "common.h" include as well.

Cc "Huan 'Kitty' Wang" <[email protected]>
Cc Ian Ray <[email protected]>
Cc Martyn Welch <[email protected]>
 board/ge/b1x5v2/b1x5v2.c         | 1 -
 board/ge/common/ge_rtc.c         | 1 -
 board/ge/common/vpd_reader.h     | 2 +-
 board/ge/mx53ppd/mx53ppd.c       | 1 -
 board/ge/mx53ppd/mx53ppd_video.c | 1 -
 5 files changed, 1 insertion(+), 5 deletions(-)
board/ge/b1x5v2/b1x5v2.c +0 -1
index a2cbd1512e92..031773bc5ef3 100644
@@ -17,7 +17,6 @@
 #include <asm/io.h>
 #include <asm/mach-imx/video.h>
 #include <command.h>
-#include <common.h>
 #include <i2c.h>
 #include <input.h>
 #include <ipu_pixfmt.h>
board/ge/common/ge_rtc.c +0 -1
index 6437afc7bd0a..5c62ecca8c89 100644
@@ -3,7 +3,6 @@
  * Copyright 2017 General Electric Company
  */
 
-#include <common.h>
 #include <env.h>
 #include <dm/uclass.h>
 #include <rtc.h>
board/ge/common/vpd_reader.h +1 -1
index 0c51dc57e902..d32c18da351c 100644
@@ -3,7 +3,7 @@
  * Copyright 2016 General Electric Company
  */
 
-#include "common.h"
+#include <linux/types.h>
 
 struct vpd_cache;
 
board/ge/mx53ppd/mx53ppd.c +0 -1
index cc462d53da6a..9396d43f8add 100644
@@ -8,7 +8,6 @@
  * Jason Liu <[email protected]>
  */
 
-#include <common.h>
 #include <init.h>
 #include <asm/global_data.h>
 #include <asm/io.h>
board/ge/mx53ppd/mx53ppd_video.c +0 -2
index 4e2c6ebde73c..eb4dd758b3b5 100644
@@ -8,7 +8,6 @@
  * Fabio Estevam <[email protected]>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <linux/list.h>
 #include <asm/arch/iomux-mx53.h>
--

2.34.1

author
#90 lore raw

PATCH 67/149 board: google: 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: Fabio Estevam <[email protected]>
Cc: Marco Franchi <[email protected]>
Cc: Alifer Moraes <[email protected]>

---
 board/google/chromebook_coral/coral.c          | 1 -
 board/google/imx8mq_phanbell/imx8mq_phanbell.c | 1 -
 board/google/imx8mq_phanbell/spl.c             | 2 +-
 board/google/veyron/veyron.c                   | 1 -
 4 files changed, 1 insertion(+), 4 deletions(-)
board/google/chromebook_coral/coral.c +0 -1
index 9d9168d608a1..7b2724c01d04 100644
@@ -5,7 +5,6 @@
 
 #define LOG_CATEGORY	UCLASS_SYSINFO
 
-#include <common.h>
 #include <bloblist.h>
 #include <command.h>
 #include <cros_ec.h>
board/google/imx8mq_phanbell/imx8mq_phanbell.c +0 -1
index d0a740dd3f40..9544d6dd19a8 100644
@@ -3,7 +3,6 @@
  * Copyright 2020 NXP
  */
 
-#include <common.h>
 #include <env.h>
 #include <init.h>
 #include <malloc.h>
board/google/imx8mq_phanbell/spl.c +1 -1
index 83de5bfd75fa..cfba9300dcbf 100644
@@ -4,7 +4,7 @@
  *
  */
 
-#include <common.h>
+#include <config.h>
 #include <hang.h>
 #include <asm/global_data.h>
 #include <asm/io.h>
board/google/veyron/veyron.c +0 -1
index 32dbcdc4d10a..53c3435c92fc 100644
@@ -4,7 +4,6 @@
  */
 
 #include <clk.h>
-#include <common.h>
 #include <dm.h>
 #include <init.h>
 #include <log.h>
Signature · 1 line
2.34.1
author
#91 lore raw

PATCH 68/149 board: grinn: 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: Marcin Niestroj <[email protected]>

---
 board/grinn/chiliboard/board.c | 2 +-
 board/grinn/liteboard/board.c  | 1 -
 2 files changed, 1 insertion(+), 2 deletions(-)
board/grinn/chiliboard/board.c +1 -1
index 64b32ca96df3..8313b37655fb 100644
@@ -4,7 +4,7 @@
  * Copyright (C) 2017, Grinn - http://grinn-global.com/
  */
 
-#include <common.h>
+#include <config.h>
 #include <init.h>
 #include <net.h>
 #include <asm/arch/chilisom.h>
board/grinn/liteboard/board.c +0 -1
index cf1d7cee9252..07bb5b7d7974 100644
@@ -4,7 +4,6 @@
  * Copyright (C) 2016 Grinn
  */
 
-#include <common.h>
 #include <command.h>
 #include <init.h>
 #include <asm/arch/clock.h>
Signature · 1 line
2.34.1
author
#92 lore raw

PATCH 69/149 board: highbank: 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: Andre Przywara <[email protected]>

---
 board/highbank/ahci.c     | 1 -
 board/highbank/hb_sregs.c | 1 -
 board/highbank/highbank.c | 1 -
 3 files changed, 3 deletions(-)
board/highbank/ahci.c +0 -1
index 9c057278ace1..899c502dfbc8 100644
@@ -3,7 +3,6 @@
  * Copyright 2012 Calxeda, Inc.
  */
 
-#include <common.h>
 #include <ahci.h>
 #include <asm/io.h>
 #include <linux/delay.h>
board/highbank/hb_sregs.c +0 -1
index d9dd2c2bf67f..94052f7a3f9a 100644
@@ -10,7 +10,6 @@
  * Copyright (C) 2019 Arm Ltd.
  */
 
-#include <common.h>
 #include <dm.h>
 #include <dm/lists.h>
 
board/highbank/highbank.c +0 -1
index 7f67d1e45308..f3df83ed6c9b 100644
@@ -3,7 +3,6 @@
  * Copyright 2010-2011 Calxeda, Inc.
  */
 
-#include <common.h>
 #include <ahci.h>
 #include <cpu_func.h>
 #include <env.h>
Signature · 1 line
2.34.1
author
#93 lore raw

PATCH 70/149 board: hisilicon: 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: Peter Griffin <[email protected]>
Cc: Manivannan Sadhasivam <[email protected]>
Cc: Jorge Ramirez-Ortiz <[email protected]>
Cc: Shawn Guo <[email protected]>
Cc: Igor Opaniuk <[email protected]>

---
 board/hisilicon/hikey/hikey.c       | 1 -
 board/hisilicon/hikey960/hikey960.c | 1 -
 board/hisilicon/poplar/poplar.c     | 1 -
 3 files changed, 3 deletions(-)
board/hisilicon/hikey/hikey.c +0 -1
index c9a2d60ee56c..95a831efcafd 100644
@@ -3,7 +3,6 @@
  * (C) Copyright 2015 Linaro
  * Peter Griffin <[email protected]>
  */
-#include <common.h>
 #include <cpu_func.h>
 #include <dm.h>
 #include <fdt_support.h>
board/hisilicon/hikey960/hikey960.c +0 -1
index f41fabbad099..5029f4edb2af 100644
@@ -4,7 +4,6 @@
  * Author: Manivannan Sadhasivam <[email protected]>
  */
 
-#include <common.h>
 #include <cpu_func.h>
 #include <dm.h>
 #include <errno.h>
board/hisilicon/poplar/poplar.c +0 -1
index b89e7e869766..c3ea080ff75a 100644
@@ -4,7 +4,6 @@
  * Jorge Ramirez-Ortiz <[email protected]>
  */
 
-#include <common.h>
 #include <cpu_func.h>
 #include <dm.h>
 #include <init.h>
Signature · 1 line
2.34.1
Reviewed-by on v1 70/149
#94 lore raw

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

Quoted 54 lines · Tom Rini

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

---
Cc: Peter Griffin <[email protected]>
Cc: Manivannan Sadhasivam <[email protected]>
Cc: Jorge Ramirez-Ortiz <[email protected]>
Cc: Shawn Guo <[email protected]>
Cc: Igor Opaniuk <[email protected]>

---
 board/hisilicon/hikey/hikey.c       | 1 -
 board/hisilicon/hikey960/hikey960.c | 1 -
 board/hisilicon/poplar/poplar.c     | 1 -
 3 files changed, 3 deletions(-)
board/hisilicon/hikey/hikey.c +0 -1
index c9a2d60ee56c..95a831efcafd 100644
@@ -3,7 +3,6 @@
  * (C) Copyright 2015 Linaro
  * Peter Griffin <[email protected]>
  */
-#include <common.h>
 #include <cpu_func.h>
 #include <dm.h>
 #include <fdt_support.h>
board/hisilicon/hikey960/hikey960.c +0 -1
index f41fabbad099..5029f4edb2af 100644
@@ -4,7 +4,6 @@
  * Author: Manivannan Sadhasivam <[email protected]>
  */
 
-#include <common.h>
 #include <cpu_func.h>
 #include <dm.h>
 #include <errno.h>
board/hisilicon/poplar/poplar.c +0 -2
index b89e7e869766..c3ea080ff75a 100644
@@ -4,7 +4,6 @@
  * Jorge Ramirez-Ortiz <[email protected]>
  */
 
-#include <common.h>
 #include <cpu_func.h>
 #include <dm.h>
 #include <init.h>
--
Quoted 2 lines

2.34.1

Signature · 7 lines
Best regards - Atentamente - Meilleures salutations

Igor Opaniuk

mailto: [email protected]
skype: igor.opanyuk
https://www.linkedin.com/in/iopaniuk
author
#95 lore raw

PATCH 71/149 board: hoperun: 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: Biju Das <[email protected]>

---
 board/hoperun/hihope-rzg2/hihope-rzg2.c | 1 -
 1 file changed, 1 deletion(-)
board/hoperun/hihope-rzg2/hihope-rzg2.c +0 -1
index 68d3d300dc40..0966e257464a 100644
@@ -6,7 +6,6 @@
  * Copyright (C) 2021 Renesas Electronics Corporation
  */
 
-#include <common.h>
 #include <asm/global_data.h>
 #include <asm/io.h>
 #include <asm/processor.h>
Signature · 1 line
2.34.1
Reviewed-by on v1 71/149
#96 lore raw

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

Hi Tom,

Quoted 6 lines

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

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

Quoted 20 lines

---
Cc: Biju Das <[email protected]>

---
 board/hoperun/hihope-rzg2/hihope-rzg2.c | 1 -
 1 file changed, 1 deletion(-)
board/hoperun/hihope-rzg2/hihope-rzg2.c +0 -2
index 68d3d300dc40..0966e257464a 100644
@@ -6,7 +6,6 @@
  * Copyright (C) 2021 Renesas Electronics Corporation
  */
 
-#include <common.h>
 #include <asm/global_data.h>
 #include <asm/io.h>
 #include <asm/processor.h>
--

2.34.1

author
#97 lore raw

PATCH 72/149 board: imgtec: 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: Paul Burton <[email protected]>
Cc: Ezequiel Garcia <[email protected]>
Cc: Zubair Lutfullah Kakakhel <[email protected]>

---
 board/imgtec/boston/checkboard.c | 1 -
 board/imgtec/boston/ddr.c        | 2 +-
 board/imgtec/boston/dt.c         | 1 -
 board/imgtec/ci20/ci20.c         | 1 -
 board/imgtec/malta/superio.c     | 1 -
 board/imgtec/xilfpga/xilfpga.c   | 2 +-
 6 files changed, 2 insertions(+), 6 deletions(-)
board/imgtec/boston/checkboard.c +0 -1
index c246a7b9d455..b0f7d3243c5e 100644
@@ -3,7 +3,6 @@
  * Copyright (C) 2016 Imagination Technologies
  */
 
-#include <common.h>
 #include <init.h>
 
 #include <asm/io.h>
board/imgtec/boston/ddr.c +1 -1
index cecf454011cc..55356d1175de 100644
@@ -3,7 +3,7 @@
  * Copyright (C) 2016 Imagination Technologies
  */
 
-#include <common.h>
+#include <config.h>
 #include <init.h>
 #include <asm/global_data.h>
 
board/imgtec/boston/dt.c +0 -1
index bf772ff5dec4..874a21cec61e 100644
@@ -3,7 +3,6 @@
  * Copyright (C) 2016 Imagination Technologies
  */
 
-#include <common.h>
 #include <fdt_support.h>
 #include <asm/global_data.h>
 
board/imgtec/ci20/ci20.c +0 -1
index 89f5e7ad792c..4e268381d3c5 100644
@@ -6,7 +6,6 @@
  * Author: Paul Burton <[email protected]>
  */
 
-#include <common.h>
 #include <env.h>
 #include <init.h>
 #include <net.h>
board/imgtec/malta/superio.c +0 -1
index aba11e25be31..edd5c203b16d 100644
@@ -6,7 +6,6 @@
  * Setup code for the FDC37M817 super I/O controller
  */
 
-#include <common.h>
 #include <asm/io.h>
 
 #define SIO_CONF_PORT		0x3f0
board/imgtec/xilfpga/xilfpga.c +1 -1
index 712269272114..e50ee8efe558 100644
@@ -8,7 +8,7 @@
  *
  */
 
-#include <common.h>
+#include <config.h>
 #include <init.h>
 #include <asm/global_data.h>
 
Signature · 1 line
2.34.1
author
#98 lore raw

PATCH 73/149 board: intel: 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: Andy Shevchenko <[email protected]>
Cc: Simon Glass <[email protected]>
Cc: Aiden Park <[email protected]>

---
 board/intel/cherryhill/cherryhill.c         | 1 -
 board/intel/cougarcanyon2/cougarcanyon2.c   | 1 -
 board/intel/crownbay/crownbay.c             | 1 -
 board/intel/edison/edison.c                 | 1 -
 board/intel/galileo/galileo.c               | 1 -
 board/intel/minnowmax/minnowmax.c           | 1 -
 board/intel/slimbootloader/slimbootloader.c | 1 -
 7 files changed, 7 deletions(-)
board/intel/cherryhill/cherryhill.c +0 -1
index c037d5b14cd7..b4378afee152 100644
@@ -3,7 +3,6 @@
  * Copyright (C) 2017, Bin Meng <[email protected]>
  */
 
-#include <common.h>
 #include <asm/arch/gpio.h>
 #include <asm/fsp1/fsp_support.h>
 
board/intel/cougarcanyon2/cougarcanyon2.c +0 -1
index 7f61ef8b366b..e5cda068e17d 100644
@@ -3,7 +3,6 @@
  * Copyright (C) 2016, Bin Meng <[email protected]>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <init.h>
board/intel/crownbay/crownbay.c +0 -1
index 55095deeadd7..036beb1146dc 100644
@@ -3,7 +3,6 @@
  * Copyright (C) 2014, Bin Meng <[email protected]>
  */
 
-#include <common.h>
 #include <init.h>
 #include <asm/ibmpc.h>
 #include <asm/pnp_def.h>
board/intel/edison/edison.c +0 -1
index 11e7f74e47cc..911ffda2fc78 100644
@@ -2,7 +2,6 @@
 /*
  * Copyright (c) 2017 Intel Corporation
  */
-#include <common.h>
 #include <env.h>
 #include <init.h>
 #include <mmc.h>
board/intel/galileo/galileo.c +0 -1
index 341b627a65f5..19e5d0952fb8 100644
@@ -3,7 +3,6 @@
  * Copyright (C) 2015, Bin Meng <[email protected]>
  */
 
-#include <common.h>
 #include <asm/io.h>
 #include <asm/arch/device.h>
 #include <asm/arch/quark.h>
board/intel/minnowmax/minnowmax.c +0 -1
index b02e3f0d4e5c..cdc2e0b75d81 100644
@@ -3,7 +3,6 @@
  * Copyright (C) 2015, Google, Inc
  */
 
-#include <common.h>
 #include <dm.h>
 #include <init.h>
 #include <log.h>
board/intel/slimbootloader/slimbootloader.c +0 -1
index b20ddf0c682e..f92c0b5112f0 100644
@@ -3,7 +3,6 @@
  * Copyright (C) 2019 Intel Corporation <www.intel.com>
  */
 
-#include <common.h>
 #include <init.h>
 
 int board_early_init_r(void)
Signature · 1 line
2.34.1
Acked-by on v1 73/149
#99 lore raw

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

Quoted 2 lines · Tom Rini

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

Signature · 2 lines
With Best Regards,
Andy Shevchenko
author
#100 lore raw

PATCH 74/149 board: inversepath: 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: Andrej Rosano <[email protected]>

---
 board/inversepath/usbarmory/usbarmory.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
board/inversepath/usbarmory/usbarmory.c +1 -1
index f3a0de3967bb..fbed8abcecfb 100644
@@ -7,7 +7,7 @@
  * Andrej Rosano <[email protected]>
  */
 
-#include <common.h>
+#include <config.h>
 #include <command.h>
 #include <fs.h>
 #include <init.h>
Signature · 1 line
2.34.1
author
#101 lore raw

PATCH 75/149 board: iomega: 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: Luka Perkov <[email protected]>

---
 board/iomega/iconnect/iconnect.c | 1 -
 1 file changed, 1 deletion(-)
board/iomega/iconnect/iconnect.c +0 -1
index 038716020019..00b08987e9e8 100644
@@ -6,7 +6,6 @@
  * Luka Perkov <[email protected]>
  */
 
-#include <common.h>
 #include <init.h>
 #include <netdev.h>
 #include <asm/arch/cpu.h>
Signature · 1 line
2.34.1
Reviewed-by on v1 75/149
#102 lore raw

Re: [PATCH 075/149] board: iomega: 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: Luka Perkov <[email protected]>

Quoted 19 lines
---
 board/iomega/iconnect/iconnect.c | 1 -
 1 file changed, 1 deletion(-)
board/iomega/iconnect/iconnect.c +0 -2
index 038716020019..00b08987e9e8 100644
@@ -6,7 +6,6 @@
  * Luka Perkov <[email protected]>
  */
 
-#include <common.h>
 #include <init.h>
 #include <netdev.h>
 #include <asm/arch/cpu.h>
--

2.34.1

author
#103 lore raw

PATCH 76/149 board: isee: 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: "Javier Martínez Canillas" <[email protected]>
Cc: Enric Balletbo i Serra <[email protected]>

---
 board/isee/igep003x/board.c    | 2 +-
 board/isee/igep003x/mux.c      | 1 -
 board/isee/igep00x0/common.c   | 1 -
 board/isee/igep00x0/igep00x0.c | 2 +-
 4 files changed, 2 insertions(+), 4 deletions(-)
board/isee/igep003x/board.c +1 -1
index 7dbb08008927..7cd26ce3c34b 100644
@@ -5,7 +5,7 @@
  * Copyright (C) 2013-2017, ISEE 2007 SL - http://www.isee.biz/
  */
 
-#include <common.h>
+#include <config.h>
 #include <env.h>
 #include <errno.h>
 #include <init.h>
board/isee/igep003x/mux.c +0 -1
index 550e3b3197dd..1a40c0077627 100644
@@ -11,7 +11,6 @@
  * GNU General Public License for more details.
  */
 
-#include <common.h>
 #include <asm/arch/sys_proto.h>
 #include <asm/arch/hardware.h>
 #include <asm/arch/mux.h>
board/isee/igep00x0/common.c +0 -1
index 3fdf83e845c9..2584d2e5ddfd 100644
@@ -1,6 +1,5 @@
 // SPDX-License-Identifier: GPL-2.0+
 
-#include <common.h>
 #include <twl4030.h>
 #include <asm/global_data.h>
 #include <asm/io.h>
board/isee/igep00x0/igep00x0.c +1 -1
index 0f0a9c592fcc..8a3f290f678f 100644
@@ -3,7 +3,7 @@
  * (C) Copyright 2010
  * ISEE 2007 SL, <www.iseebcn.com>
  */
-#include <common.h>
+#include <config.h>
 #include <env.h>
 #include <init.h>
 #include <malloc.h>
Signature · 1 line
2.34.1
author
#104 lore raw

PATCH 77/149 board: k+p: 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: Lukasz Majewski <[email protected]>

---
 board/k+p/kp_imx53/kp_id_rev.c            | 2 +-
 board/k+p/kp_imx53/kp_imx53.c             | 1 -
 board/k+p/kp_imx6q_tpc/kp_imx6q_tpc.c     | 1 -
 board/k+p/kp_imx6q_tpc/kp_imx6q_tpc_spl.c | 1 -
 4 files changed, 1 insertion(+), 4 deletions(-)
board/k+p/kp_imx53/kp_id_rev.c +1 -1
index 9f93cf008ce8..cbfe94e25a28 100644
@@ -9,11 +9,11 @@
  * Daniel Gericke <[email protected]>
  */
 
-#include <common.h>
 #include <env.h>
 #include <i2c.h>
 #include "kp_id_rev.h"
 #include <net.h>
+#include <vsprintf.h>
 
 static int eeprom_has_been_read;
 static struct id_eeprom eeprom;
board/k+p/kp_imx53/kp_imx53.c +0 -1
index 7c3a695cb258..efb7b49cbe08 100644
@@ -4,7 +4,6 @@
  * Lukasz Majewski, DENX Software Engineering, [email protected]
  */
 
-#include <common.h>
 #include <init.h>
 #include <asm/global_data.h>
 #include <asm/io.h>
board/k+p/kp_imx6q_tpc/kp_imx6q_tpc.c +0 -1
index e6877e4c0703..e0895194300a 100644
@@ -5,7 +5,6 @@
  * Copyright (C) 2018 Lukasz Majewski <[email protected]>
  */
 
-#include <common.h>
 #include <init.h>
 #include <asm/arch/clock.h>
 #include <asm/arch/crm_regs.h>
board/k+p/kp_imx6q_tpc/kp_imx6q_tpc_spl.c +0 -1
index 54902437940b..6a5e252751d4 100644
@@ -5,7 +5,6 @@
  * Copyright (C) 2018 Lukasz Majewski <[email protected]>
  */
 
-#include <common.h>
 #include <init.h>
 #include <log.h>
 #include <asm/arch/clock.h>
Signature · 1 line
2.34.1
author
#105 lore raw

PATCH 78/149 board: keymile: 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: Holger Brunck <[email protected]>
Cc: Heiko Schocher <[email protected]>
Cc: Niel Fourie <[email protected]>
Cc: Aleksandar Gerasimovski <[email protected]>
Cc: Rainer Boschung <[email protected]>

---
 board/keymile/common/common.c       | 2 +-
 board/keymile/common/ivm.c          | 3 ++-
 board/keymile/common/qrio.c         | 2 +-
 board/keymile/km83xx/km83xx.c       | 2 +-
 board/keymile/pg-wcom-ls102xa/ddr.c | 2 +-
 board/keymile/secu1/socfpga.c       | 1 -
 6 files changed, 6 insertions(+), 6 deletions(-)
board/keymile/common/common.c +1 -1
index 991022ac833a..9358c25dcb05 100644
@@ -7,7 +7,7 @@
  * Holger Brunck, Keymile GmbH Hannover, [email protected]
  */
 
-#include <common.h>
+#include <config.h>
 #include <env.h>
 #include <ioports.h>
 #include <command.h>
board/keymile/common/ivm.c +2 -1
index 67db0c50f47c..f01fe44303c9 100644
@@ -4,10 +4,11 @@
  * Holger Brunck, Keymile GmbH Hannover, [email protected]
  */
 
-#include <common.h>
 #include <cli_hush.h>
 #include <env.h>
 #include <i2c.h>
+#include <stdio.h>
+#include <vsprintf.h>
 #include "common.h"
 
 #define MAC_STR_SZ	20
board/keymile/common/qrio.c +1 -1
index b433f69675ab..c8299483299d 100644
@@ -4,7 +4,7 @@
  * Valentin Longchamp <[email protected]>
  */
 
-#include <common.h>
+#include <config.h>
 #include <asm/io.h>
 #include <linux/bitops.h>
 
board/keymile/km83xx/km83xx.c +1 -1
index acd13105dd55..40718aa58a7b 100644
@@ -13,7 +13,7 @@
  * Heiko Schocher, DENX Software Engineering, [email protected].
  */
 
-#include <common.h>
+#include <config.h>
 #include <env.h>
 #include <event.h>
 #include <fdt_support.h>
board/keymile/pg-wcom-ls102xa/ddr.c +1 -1
index 556d39d4d4e3..51938a1b4d88 100644
@@ -4,7 +4,7 @@
  * Copyright 2020 Hitachi Power Grids. All rights reserved.
  */
 
-#include <common.h>
+#include <config.h>
 #include <fsl_ddr_sdram.h>
 #include <fsl_ddr_dimm_params.h>
 #include <asm/io.h>
board/keymile/secu1/socfpga.c +0 -1
index 6a4cb21786ac..1a626c520680 100644
@@ -2,7 +2,6 @@
 /*
  * Copyright (C) 2017-2020 Hitachi Power Grids
  */
-#include <common.h>
 #include <i2c.h>
 #include <asm/gpio.h>
 
Signature · 1 line
2.34.1
Reviewed-by on v1 78/149
#106 lore raw

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

Hello Tom,

Quoted 10 lines · Tom Rini

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

---
Cc: Holger Brunck <[email protected]>
Cc: Heiko Schocher <[email protected]>
Cc: Niel Fourie <[email protected]>
Cc: Aleksandar Gerasimovski <[email protected]>
Cc: Rainer Boschung <[email protected]>

Quoted 8 lines
---
  board/keymile/common/common.c       | 2 +-
  board/keymile/common/ivm.c          | 3 ++-
  board/keymile/common/qrio.c         | 2 +-
  board/keymile/km83xx/km83xx.c       | 2 +-
  board/keymile/pg-wcom-ls102xa/ddr.c | 2 +-
  board/keymile/secu1/socfpga.c       | 1 -
  6 files changed, 6 insertions(+), 6 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]
Reviewed-by on v1 78/149
#107 lore raw

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

In reply to Tom Rini

Hi Tom,

Quoted 11 lines

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

---
Cc: Holger Brunck <[email protected]>
Cc: Heiko Schocher <[email protected]>
Cc: Niel Fourie <[email protected]>
Cc: Aleksandar Gerasimovski <[email protected]>
Cc: Rainer Boschung <[email protected]>

Quoted 9 lines
---
 board/keymile/common/common.c       | 2 +-
 board/keymile/common/ivm.c          | 3 ++-
 board/keymile/common/qrio.c         | 2 +-
 board/keymile/km83xx/km83xx.c       | 2 +-
 board/keymile/pg-wcom-ls102xa/ddr.c | 2 +-
 board/keymile/secu1/socfpga.c       | 1 -
 6 files changed, 6 insertions(+), 6 deletions(-)

Best regards
Holger

author
#108 lore raw

PATCH 79/149 board: kobol: 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: Dennis Gilmore <[email protected]>

---
 board/kobol/helios4/helios4.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
board/kobol/helios4/helios4.c +1 -1
index 9c5b687b3e8b..4c8407bb6768 100644
@@ -4,7 +4,7 @@
  *  based on board/solidrun/clearfog/clearfog.c
  */
 
-#include <common.h>
+#include <config.h>
 #include <i2c.h>
 #include <init.h>
 #include <miiphy.h>
Signature · 1 line
2.34.1
author
#109 lore raw

PATCH 80/149 board: kontron: 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 Thiery <[email protected]>
Cc: Frieder Schrempf <[email protected]>
Cc: Michael Walle <[email protected]>

---
 board/kontron/pitx_imx8m/pitx_imx8m.c  | 1 -
 board/kontron/pitx_imx8m/spl.c         | 2 +-
 board/kontron/sl-mx8mm/lpddr4_timing.c | 1 -
 board/kontron/sl28/cmds.c              | 3 ++-
 board/kontron/sl28/common.c            | 2 +-
 board/kontron/sl28/ddr.c               | 2 +-
 board/kontron/sl28/sl28.c              | 1 -
 board/kontron/sl28/spl.c               | 2 +-
 board/kontron/sl28/spl_atf.c           | 2 +-
 9 files changed, 7 insertions(+), 9 deletions(-)
board/kontron/pitx_imx8m/pitx_imx8m.c +0 -1
index 4548e7c1dff9..a908aee9eccf 100644
@@ -1,7 +1,6 @@
 // SPDX-License-Identifier: GPL-2.0+
 
 #include "pitx_misc.h"
-#include <common.h>
 #include <efi.h>
 #include <efi_loader.h>
 #include <init.h>
board/kontron/pitx_imx8m/spl.c +1 -1
index a247803a4b46..475e52f62314 100644
@@ -1,6 +1,6 @@
 // SPDX-License-Identifier: GPL-2.0+
 
-#include <common.h>
+#include <config.h>
 #include <errno.h>
 #include <fsl_esdhc_imx.h>
 #include <hang.h>
board/kontron/sl-mx8mm/lpddr4_timing.c +0 -1
index 74b79c7a009f..851aeef8f8c2 100644
@@ -4,7 +4,6 @@
  */
 
 #include <linux/kernel.h>
-#include <common.h>
 #include <asm/arch/ddr.h>
 #include <asm/arch/lpddr4_define.h>
 
board/kontron/sl28/cmds.c +2 -1
index 08a22b5d01e0..7851361c48cc 100644
@@ -5,10 +5,11 @@
  * Copyright (c) 2020 Kontron Europe GmbH
  */
 
-#include <common.h>
 #include <command.h>
 #include <i2c.h>
+#include <vsprintf.h>
 #include <linux/delay.h>
+#include <linux/errno.h>
 
 #define CPLD_I2C_ADDR 0x4a
 #define REG_UFM_CTRL 0x02
board/kontron/sl28/common.c +1 -1
index 331de29baee6..d8d0172a21b7 100644
@@ -1,6 +1,6 @@
 // SPDX-License-Identifier: GPL-2.0+
 
-#include <common.h>
+#include <config.h>
 #include <asm/global_data.h>
 #include <asm/io.h>
 
board/kontron/sl28/ddr.c +1 -1
index 315d9f99c71d..9b881fdc265e 100644
@@ -1,6 +1,6 @@
 // SPDX-License-Identifier: GPL-2.0+
 
-#include <common.h>
+#include <config.h>
 #include <asm/global_data.h>
 #include <asm/io.h>
 #include <fsl_ddr_sdram.h>
board/kontron/sl28/sl28.c +0 -1
index 4ab221c12bf6..adfec8ba2379 100644
@@ -1,6 +1,5 @@
 // SPDX-License-Identifier: GPL-2.0+
 
-#include <common.h>
 #include <dm.h>
 #include <malloc.h>
 #include <efi.h>
board/kontron/sl28/spl.c +1 -1
index 80acde74956d..45a4fc65120e 100644
@@ -1,6 +1,6 @@
 // SPDX-License-Identifier: GPL-2.0+
 
-#include <common.h>
+#include <config.h>
 #include <asm/io.h>
 #include <asm/spl.h>
 #include <asm/arch-fsl-layerscape/fsl_serdes.h>
board/kontron/sl28/spl_atf.c +1 -1
index a9cd6850e983..0710316a48bc 100644
@@ -5,7 +5,7 @@
  * Copyright (c) 2020 Michael Walle <[email protected]>
  */
 
-#include <common.h>
+#include <config.h>
 #include <asm/global_data.h>
 #include <asm/io.h>
 #include <atf_common.h>
Signature · 1 line
2.34.1
author
#112 lore raw

PATCH 81/149 board: kosagi: 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]>

---
 board/kosagi/novena/novena.c     | 1 -
 board/kosagi/novena/novena_spl.c | 2 +-
 board/kosagi/novena/video.c      | 1 -
 3 files changed, 1 insertion(+), 3 deletions(-)
board/kosagi/novena/novena.c +0 -1
index f009a8afd48c..3220727f2366 100644
@@ -5,7 +5,6 @@
  * Copyright (C) 2014 Marek Vasut <[email protected]>
  */
 
-#include <common.h>
 #include <display_options.h>
 #include <dm.h>
 #include <eeprom.h>
board/kosagi/novena/novena_spl.c +1 -1
index 24c0fb22268f..008418b01846 100644
@@ -5,7 +5,7 @@
  * Copyright (C) 2014 Marek Vasut <[email protected]>
  */
 
-#include <common.h>
+#include <config.h>
 #include <clock_legacy.h>
 #include <init.h>
 #include <asm/io.h>
board/kosagi/novena/video.c +0 -1
index a96a877f5f21..be5a737a31dd 100644
@@ -9,7 +9,6 @@
  * Copyright (C) 2014 Marek Vasut <[email protected]>
  */
 
-#include <common.h>
 #include <log.h>
 #include <linux/delay.h>
 #include <linux/errno.h>
Signature · 1 line
2.34.1
author
#113 lore raw

PATCH 82/149 board: l+g: 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: Gregory CLEMENT <[email protected]>

---
 board/l+g/vinco/vinco.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
board/l+g/vinco/vinco.c +1 -1
index b3c176dd59a0..066d315baa22 100644
@@ -9,7 +9,7 @@
  *		      Gregory CLEMENT <[email protected]>
  */
 
-#include <common.h>
+#include <config.h>
 #include <init.h>
 #include <asm/global_data.h>
 #include <asm/io.h>
Signature · 1 line
2.34.1
author
#114 lore raw

PATCH 83/149 board: lego: 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: David Lechner <[email protected]>

---
 board/lego/ev3/legoev3.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
board/lego/ev3/legoev3.c +1 -1
index 43afe593c78b..1a153668a43c 100644
@@ -12,7 +12,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
author
#116 lore raw

PATCH 84/149 board: lg: 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: Paul Kocialkowski <[email protected]>

---
 board/lg/sniper/sniper.c | 1 -
 1 file changed, 1 deletion(-)
board/lg/sniper/sniper.c +0 -1
index 86032d7fcdf7..88d5d0881433 100644
@@ -6,7 +6,6 @@
  */
 
 #include <config.h>
-#include <common.h>
 #include <dm.h>
 #include <env.h>
 #include <fastboot.h>
Signature · 1 line
2.34.1
author
#117 lore raw

PATCH 85/149 board: liebherr: 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: Lukasz Majewski <[email protected]>

---
 board/liebherr/display5/display5.c | 1 -
 board/liebherr/display5/spl.c      | 1 -
 board/liebherr/mccmon6/mccmon6.c   | 1 -
 board/liebherr/xea/spl_xea.c       | 1 -
 board/liebherr/xea/xea.c           | 1 -
 5 files changed, 5 deletions(-)
board/liebherr/display5/display5.c +0 -1
index e3a59dbec009..a0bbd03e8d19 100644
@@ -4,7 +4,6 @@
  * Lukasz Majewski, DENX Software Engineering, [email protected]
  */
 
-#include <common.h>
 #include <dm.h>
 #include <fdt_support.h>
 #include <init.h>
board/liebherr/display5/spl.c +0 -1
index 97928e92215c..819d3acbe560 100644
@@ -4,7 +4,6 @@
  * Lukasz Majewski, DENX Software Engineering, [email protected]
  */
 
-#include <common.h>
 #include <cpu_func.h>
 #include <env.h>
 #include <image.h>
board/liebherr/mccmon6/mccmon6.c +0 -1
index 1b49526fba4f..fef915b2acaa 100644
@@ -4,7 +4,6 @@
  * Lukasz Majewski, DENX Software Engineering, [email protected]
  */
 
-#include <common.h>
 #include <env.h>
 #include <init.h>
 #include <serial.h>
board/liebherr/xea/spl_xea.c +0 -1
index 6cf8f8390e8b..88c157eca45a 100644
@@ -12,7 +12,6 @@
  * on behalf of DENX Software Engineering GmbH
  */
 
-#include <common.h>
 #include <config.h>
 #include <asm/io.h>
 #include <asm/arch/iomux-mx28.h>
board/liebherr/xea/xea.c +0 -1
index 0a6fd7f1437e..9ade3563b255 100644
@@ -13,7 +13,6 @@
  *
  */
 
-#include <common.h>
 #include <fdt_support.h>
 #include <init.h>
 #include <log.h>
Signature · 1 line
2.34.1
author
#118 lore raw

PATCH 86/149 board: logicpd: 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/logicpd/am3517evm/am3517evm.c | 1 -
 board/logicpd/imx6/imx6logic.c      | 1 -
 board/logicpd/omap3som/omap3logic.c | 2 +-
 3 files changed, 1 insertion(+), 3 deletions(-)
board/logicpd/am3517evm/am3517evm.c +0 -1
index e69a73f2af6f..e6ca31016b7c 100644
@@ -10,7 +10,6 @@
  * Texas Instruments Incorporated - https://www.ti.com/
  */
 
-#include <common.h>
 #include <dm.h>
 #include <init.h>
 #include <net.h>
board/logicpd/imx6/imx6logic.c +0 -1
index 0d53548dcb4b..589136fd64aa 100644
@@ -8,7 +8,6 @@
  * and updates by Jagan Teki <[email protected]>
  */
 
-#include <common.h>
 #include <env.h>
 #include <init.h>
 #include <miiphy.h>
board/logicpd/omap3som/omap3logic.c +1 -1
index 86992829caf4..a9fe61918b6a 100644
@@ -10,7 +10,7 @@
  *	Richard Woodruff <[email protected]>
  *	Syed Mohammed Khasim <[email protected]>
  */
-#include <common.h>
+#include <config.h>
 #include <dm.h>
 #include <init.h>
 #include <net.h>
Signature · 1 line
2.34.1
Acked-by on v1 86/149
#119 lore raw

Re: [PATCH 086/149] board: logicpd: 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 48 lines

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

---
 board/logicpd/am3517evm/am3517evm.c | 1 -
 board/logicpd/imx6/imx6logic.c      | 1 -
 board/logicpd/omap3som/omap3logic.c | 2 +-
 3 files changed, 1 insertion(+), 3 deletions(-)
board/logicpd/am3517evm/am3517evm.c +0 -1
index e69a73f2af6f..e6ca31016b7c 100644
@@ -10,7 +10,6 @@
  * Texas Instruments Incorporated - https://www.ti.com/
  */
 
-#include <common.h>
 #include <dm.h>
 #include <init.h>
 #include <net.h>
board/logicpd/imx6/imx6logic.c +0 -1
index 0d53548dcb4b..589136fd64aa 100644
@@ -8,7 +8,6 @@
  * and updates by Jagan Teki <[email protected]>
  */
 
-#include <common.h>
 #include <env.h>
 #include <init.h>
 #include <miiphy.h>
board/logicpd/omap3som/omap3logic.c +1 -2
index 86992829caf4..a9fe61918b6a 100644
@@ -10,7 +10,7 @@
  *     Richard Woodruff <[email protected]>
  *     Syed Mohammed Khasim <[email protected]>
  */
-#include <common.h>
+#include <config.h>
 #include <dm.h>
 #include <init.h>
 #include <net.h>
--

2.34.1

author
#120 lore raw

PATCH 87/149 board: maxbcm: 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/maxbcm/maxbcm.c | 1 -
 1 file changed, 1 deletion(-)
board/maxbcm/maxbcm.c +0 -1
index aad3dc864295..e011520f2ec2 100644
@@ -3,7 +3,6 @@
  * Copyright (C) 2014 Stefan Roese <[email protected]>
  */
 
-#include <common.h>
 #include <init.h>
 #include <miiphy.h>
 #include <asm/global_data.h>
Signature · 1 line
2.34.1
author
#121 lore raw

PATCH 88/149 board: mediatek: 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: Sam Shih <[email protected]>
Cc: Ryder Lee <[email protected]>
Cc: Weijie Gao <[email protected]>
Cc: Chunfeng Yun <[email protected]>
Cc: GSS_MTK_Uboot_upstream <[email protected]>
Cc: Fabien Parent <[email protected]>
Cc: Mingming lee <[email protected]>

---
 board/mediatek/mt7622/mt7622_rfb.c     | 1 -
 board/mediatek/mt7623/mt7623_rfb.c     | 2 +-
 board/mediatek/mt7629/mt7629_rfb.c     | 2 +-
 board/mediatek/mt8183/mt8183_pumpkin.c | 1 -
 board/mediatek/mt8512/mt8512.c         | 1 -
 board/mediatek/mt8516/mt8516_pumpkin.c | 1 -
 board/mediatek/mt8518/mt8518_ap1.c     | 2 +-
 7 files changed, 3 insertions(+), 7 deletions(-)
board/mediatek/mt7622/mt7622_rfb.c +0 -1
index 2cc73bc35dca..e7f492a13bc3 100644
@@ -4,7 +4,6 @@
  * Author: Sam Shih <[email protected]>
  */
 
-#include <common.h>
 #include <config.h>
 #include <env.h>
 #include <init.h>
board/mediatek/mt7623/mt7623_rfb.c +1 -1
index ec10f77c51e4..c78eaa072439 100644
@@ -3,7 +3,7 @@
  * Copyright (C) 2018 MediaTek Inc.
  */
 
-#include <common.h>
+#include <config.h>
 #include <mmc.h>
 #include <asm/global_data.h>
 
board/mediatek/mt7629/mt7629_rfb.c +1 -1
index 55f7696c5107..02719181624c 100644
@@ -3,7 +3,7 @@
  * Copyright (C) 2018 MediaTek Inc.
  */
 
-#include <common.h>
+#include <config.h>
 #include <asm/global_data.h>
 
 DECLARE_GLOBAL_DATA_PTR;
board/mediatek/mt8183/mt8183_pumpkin.c +0 -1
index db613ebdc4f4..1b8736966f61 100644
@@ -4,7 +4,6 @@
  * Author: Fabien Parent <[email protected]>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <net.h>
 
board/mediatek/mt8512/mt8512.c +0 -1
index ac3adb801222..d2f557ffee5f 100644
@@ -3,7 +3,6 @@
  * Copyright (C) 2019 MediaTek Inc.
  */
 
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <wdt.h>
board/mediatek/mt8516/mt8516_pumpkin.c +0 -1
index 42f3863b92c3..930bfec34836 100644
@@ -3,7 +3,6 @@
  * Copyright (C) 2019 BayLibre SAS
  */
 
-#include <common.h>
 #include <dm.h>
 #include <net.h>
 
board/mediatek/mt8518/mt8518_ap1.c +1 -1
index e03da63b1d92..745cfda2ddf0 100644
@@ -3,7 +3,7 @@
  * Copyright (C) 2019 MediaTek Inc.
  */
 
-#include <common.h>
+#include <config.h>
 #include <dm.h>
 #include <init.h>
 #include <log.h>
Signature · 1 line
2.34.1
author
#122 lore raw

PATCH 89/149 board: menlo: 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: Olaf Mandel <[email protected]>

---
 board/menlo/m53menlo/m53menlo.c | 1 -
 board/menlo/mx8menlo/mx8menlo.c | 1 -
 2 files changed, 2 deletions(-)
board/menlo/m53menlo/m53menlo.c +0 -1
index b8dffb0e4858..79351f472731 100644
@@ -6,7 +6,6 @@
  * Copyright (C) 2014-2017 Olaf Mandel <[email protected]>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <init.h>
 #include <malloc.h>
board/menlo/mx8menlo/mx8menlo.c +0 -1
index 18f5fd5c5ee9..f47b45c1d560 100644
@@ -3,7 +3,6 @@
  * Copyright 2021-2022 Marek Vasut <[email protected]>
  */
 
-#include <common.h>
 #include <asm/arch/clock.h>
 #include <asm/arch/imx8mm_pins.h>
 #include <asm/arch/sys_proto.h>
Signature · 1 line
2.34.1
author
#123 lore raw

PATCH 90/149 board: microchip: 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: Padmarao Begari <[email protected]>
Cc: Cyril Jean <[email protected]>
Cc: Purna Chandra Mandal <[email protected]>

---
 board/microchip/mpfs_icicle/mpfs_icicle.c | 1 -
 board/microchip/pic32mzda/pic32mzda.c     | 1 -
 2 files changed, 2 deletions(-)
board/microchip/mpfs_icicle/mpfs_icicle.c +0 -1
index 0f5f82924e77..7beac33cfbd3 100644
@@ -4,7 +4,6 @@
  * Padmarao Begari <[email protected]>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <env.h>
 #include <init.h>
board/microchip/pic32mzda/pic32mzda.c +0 -1
index 3c2203d22025..848a1aee4000 100644
@@ -7,7 +7,6 @@
  *
  */
 
-#include <common.h>
 #include <dm.h>
 #include <clk.h>
 #include <init.h>
Signature · 1 line
2.34.1
author
#124 lore raw

PATCH 91/149 board: mikrotik: 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: Luka Kovacic <[email protected]>
Cc: Luka Perkov <[email protected]>

---
 board/mikrotik/crs3xx-98dx3236/crs3xx-98dx3236.c | 1 -
 1 file changed, 1 deletion(-)
board/mikrotik/crs3xx-98dx3236/crs3xx-98dx3236.c +0 -1
index 315169ba661d..ae1c586277f9 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>
Signature · 1 line
2.34.1
author
#125 lore raw

PATCH 92/149 board: mntre: 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: "Lukas F. Hartmann" <[email protected]>
Cc: Patrick Wildt <[email protected]>

---
 board/mntre/imx8mq_reform2/imx8mq_reform2.c | 1 -
 board/mntre/imx8mq_reform2/spl.c            | 2 +-
 2 files changed, 1 insertion(+), 2 deletions(-)
board/mntre/imx8mq_reform2/imx8mq_reform2.c +0 -1
index be5c5060a2a0..ebc490e24b1c 100644
@@ -4,7 +4,6 @@
  * Copyright (C) 2018, Boundary Devices <[email protected]>
  */
 
-#include <common.h>
 #include <env.h>
 #include <init.h>
 #include <malloc.h>
board/mntre/imx8mq_reform2/spl.c +1 -1
index 5120c628b91a..48a783593b6e 100644
@@ -5,7 +5,7 @@
  * SPDX-License-Identifier:	GPL-2.0+
  */
 
-#include <common.h>
+#include <config.h>
 #include <hang.h>
 #include <image.h>
 #include <init.h>
Signature · 1 line
2.34.1
author
#126 lore raw

PATCH 93/149 board: msc: 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: Martyn Welch <[email protected]>
Cc: Ian Ray <[email protected]>

---
 board/msc/sm2s_imx8mp/sm2s_imx8mp.c | 1 -
 board/msc/sm2s_imx8mp/spl.c         | 2 +-
 2 files changed, 1 insertion(+), 2 deletions(-)
board/msc/sm2s_imx8mp/sm2s_imx8mp.c +0 -1
index 6ccbf02db06e..b1ce014bd55d 100644
@@ -7,7 +7,6 @@
  * Copyright 2021 Collabora Ltd.
  */
 
-#include <common.h>
 #include <errno.h>
 #include <miiphy.h>
 #include <netdev.h>
board/msc/sm2s_imx8mp/spl.c +1 -1
index ed7a1b7d3d00..b1b5561838dc 100644
@@ -7,7 +7,7 @@
  * Copyright 2021 Collabora Ltd.
  */
 
-#include <common.h>
+#include <config.h>
 #include <cpu_func.h>
 #include <fsl_esdhc_imx.h>
 #include <hang.h>
Signature · 1 line
2.34.1
Reviewed-by on v1 93/149
#127 lore raw

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

Quoted 7 lines · Tom Rini

WARNING: This email originated from outside of GE HealthCare. Please validate the sender's email address before clicking on links or attachments as they may not be safe.

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

Quoted 37 lines

---
Cc: Martyn Welch <[email protected]>
Cc: Ian Ray <[email protected]>

---
 board/msc/sm2s_imx8mp/sm2s_imx8mp.c | 1 -
 board/msc/sm2s_imx8mp/spl.c         | 2 +-
 2 files changed, 1 insertion(+), 2 deletions(-)
board/msc/sm2s_imx8mp/sm2s_imx8mp.c +0 -1
index 6ccbf02db06e..b1ce014bd55d 100644
@@ -7,7 +7,6 @@
  * Copyright 2021 Collabora Ltd.
  */
 
-#include <common.h>
 #include <errno.h>
 #include <miiphy.h>
 #include <netdev.h>
board/msc/sm2s_imx8mp/spl.c +1 -2
index ed7a1b7d3d00..b1b5561838dc 100644
@@ -7,7 +7,7 @@
  * Copyright 2021 Collabora Ltd.
  */
 
-#include <common.h>
+#include <config.h>
 #include <cpu_func.h>
 #include <fsl_esdhc_imx.h>
 #include <hang.h>
--

2.34.1

author
#128 lore raw

PATCH 94/149 board: mscc: 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: Gregory CLEMENT <[email protected]>
Cc: Lars Povlsen <[email protected]>
Cc: Horatiu Vultur <[email protected]>
Cc: Simon Glass <[email protected]>

---
 board/mscc/common/spi.c      | 1 -
 board/mscc/jr2/jr2.c         | 2 +-
 board/mscc/luton/luton.c     | 2 +-
 board/mscc/ocelot/ocelot.c   | 2 +-
 board/mscc/serval/serval.c   | 2 +-
 board/mscc/servalt/servalt.c | 2 +-
 6 files changed, 5 insertions(+), 6 deletions(-)
board/mscc/common/spi.c +0 -1
index 45b9649336db..cb43ad6811e7 100644
@@ -3,7 +3,6 @@
  * Copyright (c) 2018 Microsemi Coprporation
  */
 
-#include <common.h>
 #include <asm/io.h>
 #include <spi.h>
 #include <linux/bitops.h>
board/mscc/jr2/jr2.c +1 -1
index 84b95be648d7..acaeb4680223 100644
@@ -3,7 +3,7 @@
  * Copyright (c) 2018 Microsemi Corporation
  */
 
-#include <common.h>
+#include <config.h>
 #include <image.h>
 #include <init.h>
 #include <asm/io.h>
board/mscc/luton/luton.c +1 -1
index 48170b3aa12d..f9ea26ebc5c6 100644
@@ -3,7 +3,7 @@
  * Copyright (c) 2018 Microsemi Corporation
  */
 
-#include <common.h>
+#include <config.h>
 #include <image.h>
 #include <init.h>
 #include <asm/global_data.h>
board/mscc/ocelot/ocelot.c +1 -1
index d69db04de664..4cec25b3976c 100644
@@ -3,7 +3,7 @@
  * Copyright (c) 2018 Microsemi Corporation
  */
 
-#include <common.h>
+#include <config.h>
 #include <image.h>
 #include <init.h>
 #include <log.h>
board/mscc/serval/serval.c +1 -1
index 99d5f5be657e..951c24dd286b 100644
@@ -3,7 +3,7 @@
  * Copyright (c) 2018 Microsemi Corporation
  */
 
-#include <common.h>
+#include <config.h>
 #include <image.h>
 #include <init.h>
 #include <asm/global_data.h>
board/mscc/servalt/servalt.c +1 -1
index 49993168c237..9055b73ada27 100644
@@ -3,7 +3,7 @@
  * Copyright (c) 2018 Microsemi Corporation
  */
 
-#include <common.h>
+#include <config.h>
 #include <image.h>
 #include <init.h>
 #include <asm/global_data.h>
Signature · 1 line
2.34.1
author
#129 lore raw

PATCH 95/149 board: myir: 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: Parthiban Nallathambi <[email protected]>

---
 board/myir/mys_6ulx/spl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
board/myir/mys_6ulx/spl.c +1 -1
index 3cf14e2bc660..4414487eff24 100644
@@ -4,7 +4,7 @@
  * Author: Parthiban Nallathambi <[email protected]>
  */
 
-#include <common.h>
+#include <config.h>
 #include <init.h>
 #include <spl.h>
 #include <asm/arch/clock.h>
Signature · 1 line
2.34.1
author
#130 lore raw

PATCH 96/149 board: netgear: 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: "Álvaro Fernández Rojas" <[email protected]>

---
 board/netgear/dgnd3700v2/dgnd3700v2.c | 1 -
 1 file changed, 1 deletion(-)
board/netgear/dgnd3700v2/dgnd3700v2.c +0 -1
index cfc3529c3488..9cf3a2fe60a2 100644
@@ -3,7 +3,6 @@
  * Copyright (C) 2018 Álvaro Fernández Rojas <[email protected]>
  */
 
-#include <common.h>
 #include <init.h>
 #include <asm/io.h>
 #include <linux/bitops.h>
Signature · 1 line
2.34.1
author
#131 lore raw

PATCH 97/149 board: novtech: 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: Shawn Guo <[email protected]>

---
 board/novtech/meerkat96/meerkat96.c | 1 -
 1 file changed, 1 deletion(-)
board/novtech/meerkat96/meerkat96.c +0 -1
index 1edebe5db9be..ca3b0698f5a8 100644
@@ -12,7 +12,6 @@
 #include <asm/global_data.h>
 #include <asm/mach-imx/iomux-v3.h>
 #include <asm/io.h>
-#include <common.h>
 #include <linux/sizes.h>
 
 DECLARE_GLOBAL_DATA_PTR;
Signature · 1 line
2.34.1
author
#132 lore raw

PATCH 98/149 board: nuvoton: 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: Stanley Chu <[email protected]>
Cc: Jim Liu <[email protected]>

---
 board/nuvoton/arbel_evb/arbel_evb.c | 1 -
 board/nuvoton/poleg_evb/poleg_evb.c | 1 -
 2 files changed, 2 deletions(-)
board/nuvoton/arbel_evb/arbel_evb.c +0 -1
index 8fc56c183976..44e0cc9ae7cb 100644
@@ -3,7 +3,6 @@
  * Copyright (c) 2022 Nuvoton Technology Corp.
  */
 
-#include <common.h>
 #include <dm.h>
 #include <asm/io.h>
 #include <asm/arch/gcr.h>
board/nuvoton/poleg_evb/poleg_evb.c +0 -1
index 7421911a416b..093ea292ac02 100644
@@ -4,7 +4,6 @@
  * Copyright (c) 2021 Nuvoton Technology Corp.
  */
 
-#include <common.h>
 #include <dm.h>
 #include <env.h>
 #include <asm/io.h>
Signature · 1 line
2.34.1
author
#133 lore raw

PATCH 99/149 board: nvidia: 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 Warren <[email protected]>
Cc: Stephen Warren <[email protected]>
Cc: Allen Martin <[email protected]>

---
 arch/arm/include/asm/arch-tegra/gpio.h      | 1 +
 arch/arm/include/asm/arch-tegra/tegra_i2c.h | 1 +
 board/nvidia/beaver/beaver-spl.c            | 1 -
 board/nvidia/cardhu/cardhu-spl.c            | 1 -
 board/nvidia/cardhu/cardhu.c                | 1 -
 board/nvidia/dalmore/dalmore.c              | 1 -
 board/nvidia/harmony/harmony.c              | 1 -
 board/nvidia/jetson-tk1/jetson-tk1.c        | 1 -
 board/nvidia/nyan-big/nyan-big.c            | 1 -
 board/nvidia/p2371-0000/p2371-0000.c        | 1 -
 board/nvidia/p2371-2180/p2371-2180.c        | 1 -
 board/nvidia/p2571/p2571.c                  | 1 -
 board/nvidia/p2771-0000/p2771-0000.c        | 1 -
 board/nvidia/p3450-0000/p3450-0000.c        | 1 -
 board/nvidia/seaboard/seaboard.c            | 1 -
 board/nvidia/venice2/as3722_init.c          | 1 -
 board/nvidia/venice2/venice2.c              | 2 +-
 17 files changed, 3 insertions(+), 15 deletions(-)
arch/arm/include/asm/arch-tegra/gpio.h +1 -0
index fe7b3a50e0d9..3c1838cf1372 100644
@@ -6,6 +6,7 @@
 #ifndef _TEGRA_GPIO_H_
 #define _TEGRA_GPIO_H_
 
+#include <linux/types.h>
 #include <dt-bindings/gpio/tegra-gpio.h>
 
 #define TEGRA_GPIOS_PER_PORT	8
arch/arm/include/asm/arch-tegra/tegra_i2c.h +1 -0
index afec6bbdda33..dc8db3912219 100644
@@ -10,6 +10,7 @@
 
 #include <asm/io.h>
 #include <asm/types.h>
+#include <asm/arch/tegra.h>
 
 struct udevice;
 
board/nvidia/beaver/beaver-spl.c +0 -1
index b5d0c14854dd..c6956ff9f582 100644
@@ -7,7 +7,6 @@
  *  Svyatoslav Ryhel <[email protected]>
  */
 
-#include <common.h>
 #include <asm/arch-tegra/tegra_i2c.h>
 #include <linux/delay.h>
 
board/nvidia/cardhu/cardhu-spl.c +0 -1
index de2fa300f1c8..80912a65a194 100644
@@ -7,7 +7,6 @@
  *  Svyatoslav Ryhel <[email protected]>
  */
 
-#include <common.h>
 #include <asm/arch-tegra/tegra_i2c.h>
 #include <linux/delay.h>
 
board/nvidia/cardhu/cardhu.c +0 -1
index 6848e3400466..ab0dc61ebe54 100644
@@ -4,7 +4,6 @@
  *  NVIDIA Corporation <www.nvidia.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <asm/arch/pinmux.h>
board/nvidia/dalmore/dalmore.c +0 -1
index 72511e401e3c..c00c6343eaa0 100644
@@ -3,7 +3,6 @@
  * Copyright (c) 2010-2013, NVIDIA CORPORATION.  All rights reserved.
  */
 
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <asm/arch/pinmux.h>
board/nvidia/harmony/harmony.c +0 -1
index 52236792e24d..da14e09c40cc 100644
@@ -4,7 +4,6 @@
  *  NVIDIA Corporation <www.nvidia.com>
  */
 
-#include <common.h>
 #include <asm/io.h>
 #include <asm/arch/clock.h>
 #include <asm/arch/funcmux.h>
board/nvidia/jetson-tk1/jetson-tk1.c +0 -1
index 7f3cdd70fe77..da6edb42c1eb 100644
@@ -4,7 +4,6 @@
  * NVIDIA Corporation <www.nvidia.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <linux/printk.h>
board/nvidia/nyan-big/nyan-big.c +0 -1
index 06a36f8ed387..e15f31dcfd7f 100644
@@ -4,7 +4,6 @@
  * NVIDIA Corporation <www.nvidia.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <log.h>
board/nvidia/p2371-0000/p2371-0000.c +0 -1
index b819b049f4b4..edf2b1adb7c6 100644
@@ -4,7 +4,6 @@
  * NVIDIA Corporation <www.nvidia.com>
  */
 
-#include <common.h>
 #include <i2c.h>
 #include <log.h>
 #include <asm/arch/gpio.h>
board/nvidia/p2371-2180/p2371-2180.c +0 -1
index 816c7bec6ae4..5f203d8ffaa8 100644
@@ -4,7 +4,6 @@
  * NVIDIA Corporation <www.nvidia.com>
  */
 
-#include <common.h>
 #include <env.h>
 #include <fdtdec.h>
 #include <i2c.h>
board/nvidia/p2571/p2571.c +0 -1
index a4c4259eeaee..4056f986483b 100644
@@ -4,7 +4,6 @@
  * NVIDIA Corporation <www.nvidia.com>
  */
 
-#include <common.h>
 #include <i2c.h>
 #include <log.h>
 #include <asm/arch/gpio.h>
board/nvidia/p2771-0000/p2771-0000.c +0 -1
index 5ff89c45423e..12eaa7a1e53d 100644
@@ -3,7 +3,6 @@
  * Copyright (c) 2016, NVIDIA CORPORATION
  */
 
-#include <common.h>
 #include <env.h>
 #include <fdtdec.h>
 #include <i2c.h>
board/nvidia/p3450-0000/p3450-0000.c +0 -1
index fb1a224daa72..530c438a2e30 100644
@@ -5,7 +5,6 @@
  *
  */
 
-#include <common.h>
 #include <fdtdec.h>
 #include <i2c.h>
 #include <linux/bitops.h>
board/nvidia/seaboard/seaboard.c +0 -1
index 829751112f1c..a646dcc96b52 100644
@@ -4,7 +4,6 @@
  *  NVIDIA Corporation <www.nvidia.com>
  */
 
-#include <common.h>
 #include <asm/io.h>
 #include <asm/mach-types.h>
 #include <asm/arch/tegra.h>
board/nvidia/venice2/as3722_init.c +0 -1
index 395bdd99c789..b89e03703b21 100644
@@ -4,7 +4,6 @@
  * NVIDIA Corporation <www.nvidia.com>
  */
 
-#include <common.h>
 #include <log.h>
 #include <asm/io.h>
 #include <asm/arch-tegra/tegra_i2c.h>
board/nvidia/venice2/venice2.c +1 -1
index d89bbe5ecce2..fa10cda4870e 100644
@@ -4,7 +4,7 @@
  * NVIDIA Corporation <www.nvidia.com>
  */
 
-#include <common.h>
+#include <linux/kernel.h>
 #include <asm/arch/gpio.h>
 #include <asm/arch/pinmux.h>
 #include "pinmux-config-venice2.h"
Signature · 1 line
2.34.1
author
#134 lore raw

PATCH 100/149 board: olimex: 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]>

---
 board/olimex/mx23_olinuxino/mx23_olinuxino.c | 1 -
 board/olimex/mx23_olinuxino/spl_boot.c       | 1 -
 2 files changed, 2 deletions(-)
board/olimex/mx23_olinuxino/mx23_olinuxino.c +0 -1
index bdd5fcd76ae8..b2bb6678c23f 100644
@@ -5,7 +5,6 @@
  * Copyright (C) 2013 Marek Vasut <[email protected]>
  */
 
-#include <common.h>
 #include <init.h>
 #include <asm/global_data.h>
 #include <asm/gpio.h>
board/olimex/mx23_olinuxino/spl_boot.c +0 -1
index 248176c23cdc..eb85ce9643d8 100644
@@ -5,7 +5,6 @@
  * Copyright (C) 2013 Marek Vasut <[email protected]>
  */
 
-#include <common.h>
 #include <config.h>
 #include <asm/io.h>
 #include <asm/arch/iomux-mx23.h>
Signature · 1 line
2.34.1
author
#135 lore raw

PATCH 101/149 board: openpiton: 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: Tianrui Wei <[email protected]>

---
 board/openpiton/riscv64/openpiton-riscv64.c | 1 -
 1 file changed, 1 deletion(-)
board/openpiton/riscv64/openpiton-riscv64.c +0 -1
index f2282d154888..4c957e889921 100644
@@ -8,7 +8,6 @@
  *   Pragnesh Patel <[email protected]>
  *   Tianrui Wei <[email protected]>
  */
-#include <common.h>
 #include <init.h>
 #include <configs/openpiton-riscv64.h>
 #include <dm.h>
Signature · 1 line
2.34.1
author
#136 lore raw

PATCH 102/149 board: out4: 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: Oleh Kravchenko <[email protected]>

---
 board/out4/o4-imx6ull-nano/o4-imx6ull-nano.c | 1 -
 1 file changed, 1 deletion(-)
board/out4/o4-imx6ull-nano/o4-imx6ull-nano.c +0 -1
index edb200e9e55b..10469aecd0bb 100644
@@ -5,7 +5,6 @@
 #include <asm/arch/sys_proto.h>
 #include <asm/global_data.h>
 #include <asm/mach-imx/boot_mode.h>
-#include <common.h>
 #include <env.h>
 
 DECLARE_GLOBAL_DATA_PTR;
Signature · 1 line
2.34.1
#137 lore raw

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

ACK

01.05.24 05:42, Tom Rini:

Quoted 22 lines

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

---
Cc: Oleh Kravchenko <[email protected]>

---
  board/out4/o4-imx6ull-nano/o4-imx6ull-nano.c | 1 -
  1 file changed, 1 deletion(-)
board/out4/o4-imx6ull-nano/o4-imx6ull-nano.c +0 -1
index edb200e9e55b..10469aecd0bb 100644
@@ -5,7 +5,6 @@
  #include <asm/arch/sys_proto.h>
  #include <asm/global_data.h>
  #include <asm/mach-imx/boot_mode.h>
-#include <common.h>
  #include <env.h>
 
  DECLARE_GLOBAL_DATA_PTR;
author
#138 lore raw

PATCH 103/149 board: phytec: 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: Martyn Welch <[email protected]>
Cc: Parthiban Nallathambi <[email protected]>
Cc: "Albert ARIBAUD (3ADEV)" <[email protected]>
Cc: Niel Fourie <[email protected]>
Cc: Teresa Remmet <[email protected]>
Cc: Wadim Egorov <[email protected]>
Cc: Simon Glass <[email protected]>
Cc: Philipp Tomsich <[email protected]>
Cc: Kever Yang <[email protected]>
Cc: Yannic Moog <[email protected]>
Cc: Daniel Schultz <[email protected]>
Cc: Benjamin Hahn <[email protected]>
Cc: Fabio Estevam <[email protected]>

---
 board/phytec/common/imx8m_som_detection.c    | 1 -
 board/phytec/common/phytec_som_detection.c   | 1 -
 board/phytec/pcl063/spl.c                    | 2 +-
 board/phytec/pcm052/pcm052.c                 | 1 -
 board/phytec/pcm058/pcm058.c                 | 1 -
 board/phytec/phycore_am335x_r2/board.c       | 2 +-
 board/phytec/phycore_am335x_r2/mux.c         | 1 -
 board/phytec/phycore_imx8mm/phycore-imx8mm.c | 1 -
 board/phytec/phycore_imx8mm/spl.c            | 1 -
 board/phytec/phycore_imx8mp/phycore-imx8mp.c | 1 -
 board/phytec/phycore_imx8mp/spl.c            | 1 -
 board/phytec/phycore_rk3288/phycore-rk3288.c | 1 -
 12 files changed, 2 insertions(+), 12 deletions(-)
board/phytec/common/imx8m_som_detection.c +0 -1
index ee34a5b95791..bfd60ffb7773 100644
@@ -4,7 +4,6 @@
  * Author: Teresa Remmet <[email protected]>
  */
 
-#include <common.h>
 #include <asm/arch/sys_proto.h>
 #include <dm/device.h>
 #include <dm/uclass.h>
board/phytec/common/phytec_som_detection.c +0 -1
index 78c173df20d4..b14bb3dbb7fa 100644
@@ -4,7 +4,6 @@
  * Author: Teresa Remmet <[email protected]>
  */
 
-#include <common.h>
 #include <dm/device.h>
 #include <dm/uclass.h>
 #include <i2c.h>
board/phytec/pcl063/spl.c +1 -1
index b6d459fdfce6..b98c46dbcbd4 100644
@@ -6,7 +6,7 @@
  * Copyright (C) 2015-2016 Stefan Roese <[email protected]>
  */
 
-#include <common.h>
+#include <config.h>
 #include <init.h>
 #include <spl.h>
 #include <asm/arch/clock.h>
board/phytec/pcm052/pcm052.c +0 -1
index 0f7235979b04..20f2aac332da 100644
@@ -6,7 +6,6 @@
  * Copyright 2013 Freescale Semiconductor, Inc.
  */
 
-#include <common.h>
 #include <init.h>
 #include <asm/global_data.h>
 #include <asm/io.h>
board/phytec/pcm058/pcm058.c +0 -1
index b37c6fe218da..ecc5b75d8d42 100644
@@ -9,7 +9,6 @@
  * Both NAND and eMMC cannot be set because they share the
  * same pins (SD4)
  */
-#include <common.h>
 #include <init.h>
 #include <net.h>
 #include <asm/arch/crm_regs.h>
board/phytec/phycore_am335x_r2/board.c +1 -1
index 5700effbd3f6..2022525651dc 100644
@@ -10,7 +10,7 @@
  * Copyright (C) 2019 DENX Software Engineering GmbH
  */
 
-#include <common.h>
+#include <config.h>
 #include <init.h>
 #include <spl.h>
 #include <asm/arch/cpu.h>
board/phytec/phycore_am335x_r2/mux.c +0 -1
index 7091c985ba12..bb1c48da0fe5 100644
@@ -6,7 +6,6 @@
  * Copyright (C) 2019 DENX Software Engineering GmbH
  */
 
-#include <common.h>
 #include <asm/arch/sys_proto.h>
 #include <asm/arch/hardware.h>
 #include <asm/arch/mux.h>
board/phytec/phycore_imx8mm/phycore-imx8mm.c +0 -1
index ef6472916903..06cffbca3a69 100644
@@ -4,7 +4,6 @@
  * Author: Teresa Remmet <[email protected]>
  */
 
-#include <common.h>
 #include <asm/arch/sys_proto.h>
 #include <asm/global_data.h>
 #include <asm/io.h>
board/phytec/phycore_imx8mm/spl.c +0 -1
index 690a51f7a72e..8d858590a39b 100644
@@ -4,7 +4,6 @@
  * Author: Teresa Remmet <[email protected]>
  */
 
-#include <common.h>
 #include <asm/arch/clock.h>
 #include <asm/arch/ddr.h>
 #include <asm/arch/imx8mm_pins.h>
board/phytec/phycore_imx8mp/phycore-imx8mp.c +0 -1
index dbdd6bb79373..35683591433c 100644
@@ -4,7 +4,6 @@
  * Author: Teresa Remmet <[email protected]>
  */
 
-#include <common.h>
 #include <asm/arch/sys_proto.h>
 #include <asm/global_data.h>
 #include <asm/io.h>
board/phytec/phycore_imx8mp/spl.c +0 -1
index df158024654e..352f803e4541 100644
@@ -4,7 +4,6 @@
  * Author: Teresa Remmet <[email protected]>
  */
 
-#include <common.h>
 #include <asm/arch/clock.h>
 #include <asm/arch/ddr.h>
 #include <asm/arch/imx8mp_pins.h>
board/phytec/phycore_rk3288/phycore-rk3288.c +0 -1
index 1ddb4a4f8085..a970634b4c33 100644
@@ -9,7 +9,6 @@
 #include <net.h>
 #include <asm/global_data.h>
 #include <asm/io.h>
-#include <common.h>
 #include <dm.h>
 #include <env.h>
 #include <env_internal.h>
Signature · 1 line
2.34.1
Acked-by on v1 103/149
#139 lore raw

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

Am 01.05.24 um 04:42 schrieb Tom Rini:

Quoted 4 lines

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

Quoted 175 lines

---
Cc: Martyn Welch <[email protected]>
Cc: Parthiban Nallathambi <[email protected]>
Cc: "Albert ARIBAUD (3ADEV)" <[email protected]>
Cc: Niel Fourie <[email protected]>
Cc: Teresa Remmet <[email protected]>
Cc: Wadim Egorov <[email protected]>
Cc: Simon Glass <[email protected]>
Cc: Philipp Tomsich <[email protected]>
Cc: Kever Yang <[email protected]>
Cc: Yannic Moog <[email protected]>
Cc: Daniel Schultz <[email protected]>
Cc: Benjamin Hahn <[email protected]>
Cc: Fabio Estevam <[email protected]>

---
  board/phytec/common/imx8m_som_detection.c    | 1 -
  board/phytec/common/phytec_som_detection.c   | 1 -
  board/phytec/pcl063/spl.c                    | 2 +-
  board/phytec/pcm052/pcm052.c                 | 1 -
  board/phytec/pcm058/pcm058.c                 | 1 -
  board/phytec/phycore_am335x_r2/board.c       | 2 +-
  board/phytec/phycore_am335x_r2/mux.c         | 1 -
  board/phytec/phycore_imx8mm/phycore-imx8mm.c | 1 -
  board/phytec/phycore_imx8mm/spl.c            | 1 -
  board/phytec/phycore_imx8mp/phycore-imx8mp.c | 1 -
  board/phytec/phycore_imx8mp/spl.c            | 1 -
  board/phytec/phycore_rk3288/phycore-rk3288.c | 1 -
  12 files changed, 2 insertions(+), 12 deletions(-)
board/phytec/common/imx8m_som_detection.c +0 -1
index ee34a5b95791..bfd60ffb7773 100644
@@ -4,7 +4,6 @@
   * Author: Teresa Remmet <[email protected]>
   */
 
-#include <common.h>
  #include <asm/arch/sys_proto.h>
  #include <dm/device.h>
  #include <dm/uclass.h>
board/phytec/common/phytec_som_detection.c +0 -1
index 78c173df20d4..b14bb3dbb7fa 100644
@@ -4,7 +4,6 @@
   * Author: Teresa Remmet <[email protected]>
   */
 
-#include <common.h>
  #include <dm/device.h>
  #include <dm/uclass.h>
  #include <i2c.h>
board/phytec/pcl063/spl.c +1 -1
index b6d459fdfce6..b98c46dbcbd4 100644
@@ -6,7 +6,7 @@
   * Copyright (C) 2015-2016 Stefan Roese <[email protected]>
   */
 
-#include <common.h>
+#include <config.h>
  #include <init.h>
  #include <spl.h>
  #include <asm/arch/clock.h>
board/phytec/pcm052/pcm052.c +0 -1
index 0f7235979b04..20f2aac332da 100644
@@ -6,7 +6,6 @@
   * Copyright 2013 Freescale Semiconductor, Inc.
   */
 
-#include <common.h>
  #include <init.h>
  #include <asm/global_data.h>
  #include <asm/io.h>
board/phytec/pcm058/pcm058.c +0 -1
index b37c6fe218da..ecc5b75d8d42 100644
@@ -9,7 +9,6 @@
   * Both NAND and eMMC cannot be set because they share the
   * same pins (SD4)
   */
-#include <common.h>
  #include <init.h>
  #include <net.h>
  #include <asm/arch/crm_regs.h>
board/phytec/phycore_am335x_r2/board.c +1 -1
index 5700effbd3f6..2022525651dc 100644
@@ -10,7 +10,7 @@
   * Copyright (C) 2019 DENX Software Engineering GmbH
   */
 
-#include <common.h>
+#include <config.h>
  #include <init.h>
  #include <spl.h>
  #include <asm/arch/cpu.h>
board/phytec/phycore_am335x_r2/mux.c +0 -1
index 7091c985ba12..bb1c48da0fe5 100644
@@ -6,7 +6,6 @@
   * Copyright (C) 2019 DENX Software Engineering GmbH
   */
 
-#include <common.h>
  #include <asm/arch/sys_proto.h>
  #include <asm/arch/hardware.h>
  #include <asm/arch/mux.h>
board/phytec/phycore_imx8mm/phycore-imx8mm.c +0 -1
index ef6472916903..06cffbca3a69 100644
@@ -4,7 +4,6 @@
   * Author: Teresa Remmet <[email protected]>
   */
 
-#include <common.h>
  #include <asm/arch/sys_proto.h>
  #include <asm/global_data.h>
  #include <asm/io.h>
board/phytec/phycore_imx8mm/spl.c +0 -1
index 690a51f7a72e..8d858590a39b 100644
@@ -4,7 +4,6 @@
   * Author: Teresa Remmet <[email protected]>
   */
 
-#include <common.h>
  #include <asm/arch/clock.h>
  #include <asm/arch/ddr.h>
  #include <asm/arch/imx8mm_pins.h>
board/phytec/phycore_imx8mp/phycore-imx8mp.c +0 -1
index dbdd6bb79373..35683591433c 100644
@@ -4,7 +4,6 @@
   * Author: Teresa Remmet <[email protected]>
   */
 
-#include <common.h>
  #include <asm/arch/sys_proto.h>
  #include <asm/global_data.h>
  #include <asm/io.h>
board/phytec/phycore_imx8mp/spl.c +0 -1
index df158024654e..352f803e4541 100644
@@ -4,7 +4,6 @@
   * Author: Teresa Remmet <[email protected]>
   */
 
-#include <common.h>
  #include <asm/arch/clock.h>
  #include <asm/arch/ddr.h>
  #include <asm/arch/imx8mp_pins.h>
board/phytec/phycore_rk3288/phycore-rk3288.c +0 -1
index 1ddb4a4f8085..a970634b4c33 100644
@@ -9,7 +9,6 @@
  #include <net.h>
  #include <asm/global_data.h>
  #include <asm/io.h>
-#include <common.h>
  #include <dm.h>
  #include <env.h>
  #include <env_internal.h>
Acked-by on v1 103/149
#140 lore raw

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

In reply to Tom Rini

Am Dienstag, dem 30.04.2024 um 20:42 -0600 schrieb Tom Rini:

Quoted 4 lines

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

Quoted 186 lines

---
Cc: Martyn Welch <[email protected]>
Cc: Parthiban Nallathambi <[email protected]>
Cc: "Albert ARIBAUD (3ADEV)" <[email protected]>
Cc: Niel Fourie <[email protected]>
Cc: Teresa Remmet <[email protected]>
Cc: Wadim Egorov <[email protected]>
Cc: Simon Glass <[email protected]>
Cc: Philipp Tomsich <[email protected]>
Cc: Kever Yang <[email protected]>
Cc: Yannic Moog <[email protected]>
Cc: Daniel Schultz <[email protected]>
Cc: Benjamin Hahn <[email protected]>
Cc: Fabio Estevam <[email protected]>
---
 board/phytec/common/imx8m_som_detection.c    | 1 - board/phytec/common/phytec_som_detection.c   | 1 - board/phytec/pcl063/spl.c                    | 2 +- board/phytec/pcm052/pcm052.c                 | 1 - board/phytec/pcm058/pcm058.c                 | 1 - board/phytec/phycore_am335x_r2/board.c       | 2 +- board/phytec/phycore_am335x_r2/mux.c         | 1 - board/phytec/phycore_imx8mm/phycore-imx8mm.c | 1 - board/phytec/phycore_imx8mm/spl.c            | 1 - board/phytec/phycore_imx8mp/phycore-imx8mp.c | 1 - board/phytec/phycore_imx8mp/spl.c            | 1 - board/phytec/phycore_rk3288/phycore-rk3288.c | 1 -

 12 files changed, 2 insertions(+), 12 deletions(-)
board/phytec/common/imx8m_som_detection.c +0 -0
index ee34a5b95791..bfd60ffb7773 100644
@@ -4,7 +4,6 @@
   * Author: Teresa Remmet <[email protected]>
   */


-#include <common.h>
 #include <asm/arch/sys_proto.h>
 #include <dm/device.h>
 #include <dm/uclass.h>

board/phytec/common/phytec_som_detection.c +0 -0
index 78c173df20d4..b14bb3dbb7fa 100644
@@ -4,7 +4,6 @@
   * Author: Teresa Remmet <[email protected]>
   */


-#include <common.h>
 #include <dm/device.h>
 #include <dm/uclass.h>
 #include <i2c.h>

board/phytec/pcl063/spl.c +0 -0
index b6d459fdfce6..b98c46dbcbd4 100644
@@ -6,7 +6,7 @@
   * Copyright (C) 2015-2016 Stefan Roese <[email protected]>
   */

board/phytec/pcl063/spl.c +1 -1
-#include <common.h>
+#include <config.h>

 #include <init.h>
 #include <spl.h>
 #include <asm/arch/clock.h>

board/phytec/pcm052/pcm052.c +0 -0
index 0f7235979b04..20f2aac332da 100644
@@ -6,7 +6,6 @@
   * Copyright 2013 Freescale Semiconductor, Inc.
   */


-#include <common.h>
 #include <init.h>
 #include <asm/global_data.h>
 #include <asm/io.h>

board/phytec/pcm058/pcm058.c +0 -1
index b37c6fe218da..ecc5b75d8d42 100644
@@ -9,7 +9,6 @@
   * Both NAND and eMMC cannot be set because they share the
   * same pins (SD4)
   */
-#include <common.h>
  #include <init.h>
  #include <net.h>
  #include <asm/arch/crm_regs.h>
board/phytec/phycore_am335x_r2/board.c +0 -0
index 5700effbd3f6..2022525651dc 100644
@@ -10,7 +10,7 @@
   * Copyright (C) 2019 DENX Software Engineering GmbH
   */

board/phytec/phycore_am335x_r2/board.c +1 -1
-#include <common.h>
+#include <config.h>

 #include <init.h>
 #include <spl.h>
 #include <asm/arch/cpu.h>

board/phytec/phycore_am335x_r2/mux.c +0 -0
index 7091c985ba12..bb1c48da0fe5 100644
@@ -6,7 +6,6 @@
   * Copyright (C) 2019 DENX Software Engineering GmbH
   */


-#include <common.h>
 #include <asm/arch/sys_proto.h>
 #include <asm/arch/hardware.h>
 #include <asm/arch/mux.h>

board/phytec/phycore_imx8mm/phycore-imx8mm.c +0 -0
index ef6472916903..06cffbca3a69 100644
@@ -4,7 +4,6 @@
   * Author: Teresa Remmet <[email protected]>
   */


-#include <common.h>
 #include <asm/arch/sys_proto.h>
 #include <asm/global_data.h>
 #include <asm/io.h>

board/phytec/phycore_imx8mm/spl.c +0 -0
index 690a51f7a72e..8d858590a39b 100644
@@ -4,7 +4,6 @@
   * Author: Teresa Remmet <[email protected]>
   */


-#include <common.h>
 #include <asm/arch/clock.h>
 #include <asm/arch/ddr.h>
 #include <asm/arch/imx8mm_pins.h>

board/phytec/phycore_imx8mp/phycore-imx8mp.c +0 -0
index dbdd6bb79373..35683591433c 100644
@@ -4,7 +4,6 @@
   * Author: Teresa Remmet <[email protected]>
   */


-#include <common.h>
 #include <asm/arch/sys_proto.h>
 #include <asm/global_data.h>
 #include <asm/io.h>

board/phytec/phycore_imx8mp/spl.c +0 -0
index df158024654e..352f803e4541 100644
@@ -4,7 +4,6 @@
   * Author: Teresa Remmet <[email protected]>
   */


-#include <common.h>
 #include <asm/arch/clock.h>
 #include <asm/arch/ddr.h>
 #include <asm/arch/imx8mp_pins.h>

board/phytec/phycore_rk3288/phycore-rk3288.c +0 -1
index 1ddb4a4f8085..a970634b4c33 100644
@@ -9,7 +9,6 @@
  #include <net.h>
  #include <asm/global_data.h>
  #include <asm/io.h>
-#include <common.h>
  #include <dm.h>
  #include <env.h>
  #include <env_internal.h>
Signature · 5 lines
PHYTEC Messtechnik GmbH | Barcelona-Allee 1 | 55129 Mainz, Germany

Geschäftsführer: Dipl.-Ing. Michael Mitezki, Dipl.-Ing. Bodo Huber,
Dipl.-Ing. (FH) Markus Lickes | Handelsregister Mainz HRB 4656 |
Finanzamt Mainz | St.Nr. 266500608, DE 149059855
author
#141 lore raw

PATCH 104/149 board: phytium: 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: liuhao <[email protected]>
Cc: shuyiqi <[email protected]>

---
 board/phytium/durian/durian.c | 1 -
 1 file changed, 1 deletion(-)
board/phytium/durian/durian.c +0 -1
index 0a4048d4982f..01e210fcdd15 100644
@@ -5,7 +5,6 @@
  * liuhao  <[email protected]>
  */
 
-#include <common.h>
 #include <command.h>
 #include <cpu_func.h>
 #include <event.h>
Signature · 1 line
2.34.1
author
#142 lore raw

PATCH 105/149 board: polyhex: 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: Gilles Talis <[email protected]>

---
 board/polyhex/imx8mp_debix_model_a/imx8mp_debix_model_a.c | 1 -
 board/polyhex/imx8mp_debix_model_a/spl.c                  | 1 -
 2 files changed, 2 deletions(-)
board/polyhex/imx8mp_debix_model_a/imx8mp_debix_model_a.c +0 -1
index 14b94c9e33ce..112770ba4931 100644
@@ -11,7 +11,6 @@
 #include <asm/global_data.h>
 #include <asm/mach-imx/gpio.h>
 #include <asm/mach-imx/iomux-v3.h>
-#include <common.h>
 #include <env.h>
 #include <errno.h>
 #include <init.h>
board/polyhex/imx8mp_debix_model_a/spl.c +0 -1
index eb904e116b11..6cbd1815cad5 100644
@@ -11,7 +11,6 @@
 #include <asm/global_data.h>
 #include <asm/mach-imx/boot_mode.h>
 #include <asm/sections.h>
-#include <common.h>
 #include <dm/device.h>
 #include <dm/uclass.h>
 #include <hang.h>
Signature · 1 line
2.34.1
author
#143 lore raw

PATCH 106/149 board: purism: 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: Angus Ainslie <[email protected]>
Cc: [email protected]

---
 board/purism/librem5/librem5.c          | 1 -
 board/purism/librem5/lpddr4_timing.c    | 1 -
 board/purism/librem5/lpddr4_timing_b0.c | 1 -
 board/purism/librem5/spl.c              | 2 +-
 4 files changed, 1 insertion(+), 4 deletions(-)
board/purism/librem5/librem5.c +0 -1
index d0249e71f09a..a3c421572afb 100644
@@ -4,7 +4,6 @@
  * Copyright 2021 Purism
  */
 
-#include <common.h>
 #include <malloc.h>
 #include <errno.h>
 #include <asm/io.h>
board/purism/librem5/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/purism/librem5/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/purism/librem5/spl.c +1 -1
index 9aadc553302e..ed57554a2bc3 100644
@@ -4,7 +4,7 @@
  * Copyright 2021 Purism
  */
 
-#include <common.h>
+#include <config.h>
 #include <asm/io.h>
 #include <errno.h>
 #include <asm/io.h>
Signature · 1 line
2.34.1
author
#144 lore raw

PATCH 107/149 board: qca: 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: Wills Wang <[email protected]>
Cc: Rosy Song <[email protected]>

---
 board/qca/ap121/ap121.c | 1 -
 board/qca/ap143/ap143.c | 1 -
 board/qca/ap152/ap152.c | 1 -
 3 files changed, 3 deletions(-)
board/qca/ap121/ap121.c +0 -1
index 60a2e19143db..6bb12602193a 100644
@@ -3,7 +3,6 @@
  * Copyright (C) 2015-2016 Wills Wang <[email protected]>
  */
 
-#include <common.h>
 #include <init.h>
 #include <asm/io.h>
 #include <asm/addrspace.h>
board/qca/ap143/ap143.c +0 -1
index ac65054136ca..b88de9c4ec85 100644
@@ -3,7 +3,6 @@
  * Copyright (C) 2015-2016 Wills Wang <[email protected]>
  */
 
-#include <common.h>
 #include <init.h>
 #include <asm/io.h>
 #include <asm/addrspace.h>
board/qca/ap152/ap152.c +0 -1
index 82458c3af421..53587288c939 100644
@@ -3,7 +3,6 @@
  * Copyright (C) 2018 Rosy Song <[email protected]>
  */
 
-#include <common.h>
 #include <init.h>
 #include <asm/io.h>
 #include <asm/addrspace.h>
Signature · 1 line
2.34.1
author
#145 lore raw

PATCH 108/149 board: qualcomm: 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: Ramon Fried <[email protected]>
Cc: Caleb Connolly <[email protected]>
Cc: Neil Armstrong <[email protected]>
Cc: Sumit Garg <[email protected]>
Cc: Jorge Ramirez-Ortiz <[email protected]>

---
 board/qualcomm/dragonboard410c/dragonboard410c.c | 1 -
 board/qualcomm/dragonboard820c/dragonboard820c.c | 1 -
 2 files changed, 2 deletions(-)
board/qualcomm/dragonboard410c/dragonboard410c.c +0 -1
index fbbfc0e65e24..bd2e213b3bca 100644
@@ -6,7 +6,6 @@
  */
 
 #include <button.h>
-#include <common.h>
 #include <cpu_func.h>
 #include <dm.h>
 #include <dm/pinctrl.h>
board/qualcomm/dragonboard820c/dragonboard820c.c +0 -1
index ac7de711c588..d3333a59db01 100644
@@ -13,7 +13,6 @@
 #include <asm/global_data.h>
 #include <linux/arm-smccc.h>
 #include <linux/psci.h>
-#include <common.h>
 #include <dm.h>
 #include <asm/io.h>
 #include <linux/bitops.h>
Signature · 1 line
2.34.1
Reviewed-by on v1 108/149
#146 lore raw

Re: [PATCH 108/149] board: qualcomm: 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: Ramon Fried <[email protected]>
Cc: Caleb Connolly <[email protected]>
Cc: Neil Armstrong <[email protected]>
Cc: Sumit Garg <[email protected]>
Cc: Jorge Ramirez-Ortiz <[email protected]>

Quoted 5 lines
---
 board/qualcomm/dragonboard410c/dragonboard410c.c | 1 -
 board/qualcomm/dragonboard820c/dragonboard820c.c | 1 -
 2 files changed, 2 deletions(-)

-Sumit

Quoted 27 lines
board/qualcomm/dragonboard410c/dragonboard410c.c +0 -1
index fbbfc0e65e24..bd2e213b3bca 100644
@@ -6,7 +6,6 @@
  */
 
 #include <button.h>
-#include <common.h>
 #include <cpu_func.h>
 #include <dm.h>
 #include <dm/pinctrl.h>
board/qualcomm/dragonboard820c/dragonboard820c.c +0 -2
index ac7de711c588..d3333a59db01 100644
@@ -13,7 +13,6 @@
 #include <asm/global_data.h>
 #include <linux/arm-smccc.h>
 #include <linux/psci.h>
-#include <common.h>
 #include <dm.h>
 #include <asm/io.h>
 #include <linux/bitops.h>
--

2.34.1

author
#147 lore raw

PATCH 109/149 board: raidsonic: 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: Luka Perkov <[email protected]>

---
 board/raidsonic/ib62x0/ib62x0.c | 1 -
 1 file changed, 1 deletion(-)
board/raidsonic/ib62x0/ib62x0.c +0 -1
index f9bc07649e0a..8d1d549a217c 100644
@@ -6,7 +6,6 @@
  * Simon Baatz <[email protected]>
  */
 
-#include <common.h>
 #include <init.h>
 #include <miiphy.h>
 #include <asm/global_data.h>
Signature · 1 line
2.34.1
author
#148 lore raw

PATCH 110/149 board: raspberrypi: 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 Brugger <[email protected]>
Cc: Peter Robinson <[email protected]>

---
 board/raspberrypi/rpi/rpi.c | 1 -
 1 file changed, 1 deletion(-)
board/raspberrypi/rpi/rpi.c +0 -1
index 2851ebc98535..d996eb0cf695 100644
@@ -3,7 +3,6 @@
  * (C) Copyright 2012-2016 Stephen Warren
  */
 
-#include <common.h>
 #include <config.h>
 #include <dm.h>
 #include <env.h>
Signature · 1 line
2.34.1
author
#149 lore raw

PATCH 111/149 board: rockchip: 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: huang lin <[email protected]>
Cc: Simon Glass <[email protected]>
Cc: Philipp Tomsich <[email protected]>
Cc: Kever Yang <[email protected]>
Cc: Andy Yan <[email protected]>
Cc: Michael Trimarchi <[email protected]>

---
 arch/arm/include/asm/arch-rockchip/grf_rk3308.h | 2 ++
 board/rockchip/evb_rk3036/evb_rk3036.c          | 1 -
 board/rockchip/evb_rk3308/evb_rk3308.c          | 1 -
 board/rockchip/evb_rv1108/evb_rv1108.c          | 1 -
 board/rockchip/kylin_rk3036/kylin_rk3036.c      | 1 -
 board/rockchip/tinker_rk3288/tinker-rk3288.c    | 1 -
 6 files changed, 2 insertions(+), 5 deletions(-)
arch/arm/include/asm/arch-rockchip/grf_rk3308.h +2 -0
index a995bb950d97..f4bbc2401310 100644
@@ -5,6 +5,8 @@
 #ifndef _ASM_ARCH_GRF_rk3308_H
 #define _ASM_ARCH_GRF_rk3308_H
 
+#include <linux/kernel.h>
+
 struct rk3308_grf {
 	unsigned int gpio0a_iomux;
 	unsigned int reserved0;
board/rockchip/evb_rk3036/evb_rk3036.c +0 -1
index 8c606463e455..a0805030ea46 100644
@@ -3,7 +3,6 @@
  * (C) Copyright 2015 Rockchip Electronics Co., Ltd
  */
 
-#include <common.h>
 #include <dm.h>
 #include <asm/io.h>
 #include <asm/arch-rockchip/uart.h>
board/rockchip/evb_rk3308/evb_rk3308.c +0 -1
index e0c96fd70a28..c895da934a99 100644
@@ -3,7 +3,6 @@
  * (C) Copyright 2018 Rockchip Electronics Co., Ltd
  */
 
-#include <common.h>
 #include <adc.h>
 #include <asm/global_data.h>
 
board/rockchip/evb_rv1108/evb_rv1108.c +0 -1
index 0d7a486bed74..48b9d8f80c4b 100644
@@ -4,7 +4,6 @@
  * Authors: Andy Yan <[email protected]>
  */
 
-#include <common.h>
 #include <init.h>
 #include <syscon.h>
 #include <asm/global_data.h>
board/rockchip/kylin_rk3036/kylin_rk3036.c +0 -1
index 0ca91cdeb014..c452b131208d 100644
@@ -3,7 +3,6 @@
  * (C) Copyright 2015 Rockchip Electronics Co., Ltd
  */
 
-#include <common.h>
 #include <dm.h>
 #include <env.h>
 #include <init.h>
board/rockchip/tinker_rk3288/tinker-rk3288.c +0 -1
index e6e75981c2d1..e966e9f201ab 100644
@@ -3,7 +3,6 @@
  * (C) Copyright 2016 Rockchip Electronics Co., Ltd
  */
 
-#include <common.h>
 #include <dm.h>
 #include <env.h>
 #include <i2c_eeprom.h>
Signature · 1 line
2.34.1
Reviewed-by on v1 111/149
#150 lore raw

Re: [PATCH 111/149] board: rockchip: 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 89 lines

---
Cc: huang lin <[email protected]>
Cc: Simon Glass <[email protected]>
Cc: Philipp Tomsich <[email protected]>
Cc: Kever Yang <[email protected]>
Cc: Andy Yan <[email protected]>
Cc: Michael Trimarchi <[email protected]>

---
  arch/arm/include/asm/arch-rockchip/grf_rk3308.h | 2 ++
  board/rockchip/evb_rk3036/evb_rk3036.c          | 1 -
  board/rockchip/evb_rk3308/evb_rk3308.c          | 1 -
  board/rockchip/evb_rv1108/evb_rv1108.c          | 1 -
  board/rockchip/kylin_rk3036/kylin_rk3036.c      | 1 -
  board/rockchip/tinker_rk3288/tinker-rk3288.c    | 1 -
  6 files changed, 2 insertions(+), 5 deletions(-)
arch/arm/include/asm/arch-rockchip/grf_rk3308.h +2 -0
index a995bb950d97..f4bbc2401310 100644
@@ -5,6 +5,8 @@
  #ifndef _ASM_ARCH_GRF_rk3308_H
  #define _ASM_ARCH_GRF_rk3308_H
 
+#include <linux/kernel.h>
+
  struct rk3308_grf {
  	unsigned int gpio0a_iomux;
  	unsigned int reserved0;
board/rockchip/evb_rk3036/evb_rk3036.c +0 -1
index 8c606463e455..a0805030ea46 100644
@@ -3,7 +3,6 @@
   * (C) Copyright 2015 Rockchip Electronics Co., Ltd
   */
 
-#include <common.h>
  #include <dm.h>
  #include <asm/io.h>
  #include <asm/arch-rockchip/uart.h>
board/rockchip/evb_rk3308/evb_rk3308.c +0 -1
index e0c96fd70a28..c895da934a99 100644
@@ -3,7 +3,6 @@
   * (C) Copyright 2018 Rockchip Electronics Co., Ltd
   */
 
-#include <common.h>
  #include <adc.h>
  #include <asm/global_data.h>
 
board/rockchip/evb_rv1108/evb_rv1108.c +0 -1
index 0d7a486bed74..48b9d8f80c4b 100644
@@ -4,7 +4,6 @@
   * Authors: Andy Yan <[email protected]>
   */
 
-#include <common.h>
  #include <init.h>
  #include <syscon.h>
  #include <asm/global_data.h>
board/rockchip/kylin_rk3036/kylin_rk3036.c +0 -1
index 0ca91cdeb014..c452b131208d 100644
@@ -3,7 +3,6 @@
   * (C) Copyright 2015 Rockchip Electronics Co., Ltd
   */
 
-#include <common.h>
  #include <dm.h>
  #include <env.h>
  #include <init.h>
board/rockchip/tinker_rk3288/tinker-rk3288.c +0 -1
index e6e75981c2d1..e966e9f201ab 100644
@@ -3,7 +3,6 @@
   * (C) Copyright 2016 Rockchip Electronics Co., Ltd
   */
 
-#include <common.h>
  #include <dm.h>
  #include <env.h>
  #include <i2c_eeprom.h>
author
#151 lore raw

PATCH 112/149 board: ronetix: 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: Ilko Iliev <[email protected]>

---
 board/ronetix/imx7-cm/imx7-cm.c         | 1 -
 board/ronetix/imx7-cm/spl.c             | 1 -
 board/ronetix/imx8mq-cm/imx8mq_cm.c     | 1 -
 board/ronetix/imx8mq-cm/lpddr4_timing.c | 1 -
 board/ronetix/imx8mq-cm/spl.c           | 2 +-
 board/ronetix/pm9261/pm9261.c           | 2 +-
 board/ronetix/pm9263/pm9263.c           | 2 +-
 board/ronetix/pm9g45/pm9g45.c           | 2 +-
 8 files changed, 4 insertions(+), 8 deletions(-)
board/ronetix/imx7-cm/imx7-cm.c +0 -1
index c23097f04769..a1f3f3cd7972 100644
@@ -15,7 +15,6 @@
 #include <asm/mach-imx/iomux-v3.h>
 #include <asm/mach-imx/mxc_i2c.h>
 #include <asm/io.h>
-#include <common.h>
 #include <i2c.h>
 #include <miiphy.h>
 #include <power/pmic.h>
board/ronetix/imx7-cm/spl.c +0 -1
index b94cfd6ffc67..136de3cf3ef2 100644
@@ -5,7 +5,6 @@
  * Author: Ilko Iliev <[email protected]>
  */
 
-#include <common.h>
 #include <cpu_func.h>
 #include <init.h>
 #include <asm/arch/clock.h>
board/ronetix/imx8mq-cm/imx8mq_cm.c +0 -1
index 9805a3a7da8c..fbee2c39771e 100644
@@ -3,7 +3,6 @@
  * Copyright 2018 NXP
  */
 
-#include <common.h>
 #include <miiphy.h>
 #include <asm-generic/gpio.h>
 #include <asm/arch/imx8mq_pins.h>
board/ronetix/imx8mq-cm/lpddr4_timing.c +0 -1
index 685600ee62f5..a7ad9375ce37 100644
@@ -4,7 +4,6 @@
  */
 
 #include <linux/kernel.h>
-#include <common.h>
 #include <asm/arch/ddr.h>
 #include <asm/arch/lpddr4_define.h>
 
board/ronetix/imx8mq-cm/spl.c +1 -1
index 1c675bcab25a..ee0ad20ced4f 100644
@@ -4,7 +4,7 @@
  *
  */
 
-#include <common.h>
+#include <config.h>
 #include <hang.h>
 #include <init.h>
 #include <asm/arch/ddr.h>
board/ronetix/pm9261/pm9261.c +1 -1
index 07febe69dc7c..ee578749bce7 100644
@@ -7,7 +7,7 @@
  * Copyright (C) 2009 Jean-Christopher PLAGNIOL-VILLARD <[email protected]>
  */
 
-#include <common.h>
+#include <config.h>
 #include <init.h>
 #include <vsprintf.h>
 #include <asm/global_data.h>
board/ronetix/pm9263/pm9263.c +1 -1
index 76f62ddde912..1de1bd687016 100644
@@ -7,7 +7,7 @@
  * Copyright (C) 2009 Jean-Christophe PLAGNIOL-VILLARD <[email protected]>
  */
 
-#include <common.h>
+#include <config.h>
 #include <init.h>
 #include <asm/global_data.h>
 #include <linux/sizes.h>
board/ronetix/pm9g45/pm9g45.c +1 -1
index aa5c80ac6417..5d5edd9f2530 100644
@@ -10,7 +10,7 @@
  * Lead Tech Design <www.leadtechdesign.com>
  */
 
-#include <common.h>
+#include <config.h>
 #include <init.h>
 #include <asm/global_data.h>
 #include <linux/sizes.h>
Signature · 1 line
2.34.1
author
#152 lore raw

PATCH 113/149 board: samsung: 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: Krzysztof Kozlowski <[email protected]>
Cc: Jaehoon Chung <[email protected]>
Cc: Minkyu Kang <[email protected]>
Cc: Lukasz Majewski <[email protected]>
Cc: Simon Glass <[email protected]>
Cc: Henrik Grimler <[email protected]>
Cc: Tom Rini <[email protected]>
Cc: Mattijs Korpershoek <[email protected]>
Cc: Marek Vasut <[email protected]>
Cc: Caleb Connolly <[email protected]>

---
 board/samsung/arndale/arndale.c          | 2 +-
 board/samsung/arndale/arndale_spl.c      | 1 -
 board/samsung/common/board.c             | 2 +-
 board/samsung/common/exynos5-dt-types.c  | 2 +-
 board/samsung/common/exynos5-dt.c        | 2 +-
 board/samsung/common/gadget.c            | 2 +-
 board/samsung/common/misc.c              | 2 +-
 board/samsung/common/sromc.c             | 1 -
 board/samsung/goni/goni.c                | 1 -
 board/samsung/goni/onenand.c             | 2 +-
 board/samsung/odroid/odroid.c            | 2 +-
 board/samsung/origen/origen.c            | 1 -
 board/samsung/smdk5250/smdk5250_spl.c    | 1 -
 board/samsung/smdk5420/smdk5420_spl.c    | 1 -
 board/samsung/smdkc100/onenand.c         | 1 -
 board/samsung/smdkc100/smdkc100.c        | 2 +-
 board/samsung/smdkv310/smdkv310.c        | 2 +-
 board/samsung/trats/trats.c              | 1 -
 board/samsung/trats2/trats2.c            | 1 -
 board/samsung/universal_c210/onenand.c   | 2 +-
 board/samsung/universal_c210/universal.c | 1 -
 21 files changed, 11 insertions(+), 21 deletions(-)
board/samsung/arndale/arndale.c +1 -1
index 3ebf600e1d7c..e70b4a82687c 100644
@@ -3,7 +3,7 @@
  * Copyright (C) 2013 Samsung Electronics
  */
 
-#include <common.h>
+#include <config.h>
 #include <cpu_func.h>
 #include <init.h>
 #include <log.h>
board/samsung/arndale/arndale_spl.c +0 -1
index 6ad0273e0495..c40ca7fa749c 100644
@@ -3,7 +3,6 @@
  * Copyright (c) 2012 The Chromium OS Authors.
  */
 
-#include <common.h>
 #include <asm/arch/spl.h>
 
 #define SIGNATURE	0xdeadbeef
board/samsung/common/board.c +1 -1
index 5a71982775d0..eed1c2450fa6 100644
@@ -4,7 +4,7 @@
  * Rajeshwari Shinde <[email protected]>
  */
 
-#include <common.h>
+#include <config.h>
 #include <cros_ec.h>
 #include <env.h>
 #include <errno.h>
board/samsung/common/exynos5-dt-types.c +1 -1
index 9294d36ba358..8328bf427cce 100644
@@ -4,7 +4,7 @@
  * Przemyslaw Marczak <[email protected]>
  */
 
-#include <common.h>
+#include <config.h>
 #include <adc.h>
 #include <dm.h>
 #include <errno.h>
board/samsung/common/exynos5-dt.c +1 -1
index b3e87c937513..56862bcb34da 100644
@@ -3,7 +3,7 @@
  * Copyright (C) 2012 Samsung Electronics
  */
 
-#include <common.h>
+#include <config.h>
 #include <dm.h>
 #include <dwc3-uboot.h>
 #include <env.h>
board/samsung/common/gadget.c +1 -1
index 9487f9ec4e0c..c1b4342f4e22 100644
@@ -4,7 +4,7 @@
  *  Lukasz Majewski <[email protected]>
  */
 
-#include <common.h>
+#include <linux/string.h>
 #include <linux/usb/ch9.h>
 
 #define EXYNOS_G_DNL_THOR_VENDOR_NUM	0x04E8
board/samsung/common/misc.c +1 -1
index cc114aaaa6d3..c134a9d70e24 100644
@@ -4,7 +4,7 @@
  * Przemyslaw Marczak <[email protected]>
  */
 
-#include <common.h>
+#include <config.h>
 #include <command.h>
 #include <env.h>
 #include <libtizen.h>
board/samsung/common/sromc.c +0 -1
index 76e37dfe262a..689ac8f8c6f7 100644
@@ -5,7 +5,6 @@
 
 #define LOG_CATEGORY	UCLASS_ETH
 
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <asm/arch/pinmux.h>
board/samsung/goni/goni.c +0 -1
index c8f5a153bb47..a1047f3fd2a2 100644
@@ -5,7 +5,6 @@
  *  Kyungmin Park <[email protected]>
  */
 
-#include <common.h>
 #include <init.h>
 #include <log.h>
 #include <asm/global_data.h>
board/samsung/goni/onenand.c +1 -1
index c67c107b16c2..6c7a03624b0a 100644
@@ -4,7 +4,7 @@
  * Kyungmin Park <[email protected]>
  */
 
-#include <common.h>
+#include <config.h>
 #include <linux/mtd/mtd.h>
 #include <linux/mtd/onenand.h>
 #include <linux/mtd/samsung_onenand.h>
board/samsung/odroid/odroid.c +1 -1
index 99e5613ced92..84d6d919f07f 100644
@@ -4,7 +4,7 @@
  * Przemyslaw Marczak <[email protected]>
  */
 
-#include <common.h>
+#include <config.h>
 #include <log.h>
 #include <asm/arch/pinmux.h>
 #include <asm/arch/power.h>
board/samsung/origen/origen.c +0 -1
index ddf6a2b72fa5..c474a7e54fa3 100644
@@ -3,7 +3,6 @@
  * Copyright (C) 2011 Samsung Electronics
  */
 
-#include <common.h>
 #include <asm/io.h>
 #include <asm/gpio.h>
 #include <asm/arch/cpu.h>
board/samsung/smdk5250/smdk5250_spl.c +0 -1
index b0ef34dd6aa9..1c78cb6dda4f 100644
@@ -3,7 +3,6 @@
  * Copyright (c) 2012 The Chromium OS Authors.
  */
 
-#include <common.h>
 #include <asm/arch/cpu.h>
 #include <asm/arch/spl.h>
 #include <asm/arch/clk.h>
board/samsung/smdk5420/smdk5420_spl.c +0 -1
index 84126f5608c7..ccf8b257ec26 100644
@@ -3,7 +3,6 @@
  * Copyright (C) 2013 The Chromium OS Authors.
  */
 
-#include <common.h>
 #include <asm/arch/cpu.h>
 #include <asm/arch/spl.h>
 #include <asm/arch/clk.h>
board/samsung/smdkc100/onenand.c +0 -1
index 04dc04a1a4a1..86ec550aaca9 100644
@@ -4,7 +4,6 @@
  * Kyungmin Park <[email protected]>
  */
 
-#include <common.h>
 #include <linux/compat.h>
 #include <linux/mtd/mtd.h>
 #include <linux/mtd/onenand.h>
board/samsung/smdkc100/smdkc100.c +1 -1
index 4f46911b0b4d..7d0b0fcb0ae1 100644
@@ -5,7 +5,7 @@
  *  Kyungmin Park <[email protected]>
  */
 
-#include <common.h>
+#include <config.h>
 #include <init.h>
 #include <net.h>
 #include <asm/global_data.h>
board/samsung/smdkv310/smdkv310.c +1 -1
index 47483a26a622..5a4874b29cdf 100644
@@ -3,7 +3,7 @@
  * Copyright (C) 2011 Samsung Electronics
  */
 
-#include <common.h>
+#include <config.h>
 #include <init.h>
 #include <log.h>
 #include <net.h>
board/samsung/trats/trats.c +0 -1
index 6a3e5b29b989..6efc6f3831df 100644
@@ -6,7 +6,6 @@
  * Donghwa Lee <[email protected]>
  */
 
-#include <common.h>
 #include <env.h>
 #include <log.h>
 #include <asm/io.h>
board/samsung/trats2/trats2.c +0 -1
index 81ccc124c809..612575a50941 100644
@@ -5,7 +5,6 @@
  * Piotr Wilczek <[email protected]>
  */
 
-#include <common.h>
 #include <log.h>
 #include <asm/gpio.h>
 #include <asm/arch/pinmux.h>
board/samsung/universal_c210/onenand.c +1 -1
index 265a2cde4b48..ba56e86df465 100644
@@ -4,7 +4,7 @@
  * Kyungmin Park <[email protected]>
  */
 
-#include <common.h>
+#include <config.h>
 #include <linux/mtd/mtd.h>
 #include <linux/mtd/onenand.h>
 #include <linux/mtd/samsung_onenand.h>
board/samsung/universal_c210/universal.c +0 -1
index 2d61dff89c2c..6bed724153ed 100644
@@ -5,7 +5,6 @@
  *  Kyungmin Park <[email protected]>
  */
 
-#include <common.h>
 #include <env.h>
 #include <log.h>
 #include <spi.h>
Signature · 1 line
2.34.1
author
#153 lore raw

PATCH 114/149 board: schneider: 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: Ralph Siemsen <[email protected]>

---
 board/schneider/rzn1-snarc/rzn1.c | 1 -
 1 file changed, 1 deletion(-)
board/schneider/rzn1-snarc/rzn1.c +0 -1
index 09241c3a9545..e1d5b5b0497b 100644
@@ -1,6 +1,5 @@
 // SPDX-License-Identifier: GPL-2.0+
 
-#include <common.h>
 #include <dm.h>
 #include <ram.h>
 #include <asm/global_data.h>
Signature · 1 line
2.34.1
author
#154 lore raw

PATCH 115/149 board: seeed: 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: Navin Sankar Velliangiri <[email protected]>

---
 board/seeed/linkit-smart-7688/board.c | 1 -
 board/seeed/npi_imx6ull/spl.c         | 2 +-
 2 files changed, 1 insertion(+), 2 deletions(-)
board/seeed/linkit-smart-7688/board.c +0 -1
index bf7c69ea8389..91fa08fd9ec2 100644
@@ -3,7 +3,6 @@
  * Copyright (C) 2018 Stefan Roese <[email protected]>
  */
 
-#include <common.h>
 #include <init.h>
 #include <asm/io.h>
 #include <linux/bitops.h>
board/seeed/npi_imx6ull/spl.c +1 -1
index b29da2c1fc1e..2312d8fac693 100644
@@ -4,7 +4,7 @@
  * Author: Navin Sankar Velliangiri <[email protected]>
  */
 
-#include <common.h>
+#include <config.h>
 #include <init.h>
 #include <spl.h>
 #include <asm/arch/clock.h>
Signature · 1 line
2.34.1
author
#155 lore raw

PATCH 116/149 board: siemens: 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: Anatolij Gustschin <[email protected]>
Cc: Heiko Schocher <[email protected]>
Cc: Le Jin <[email protected]>
Cc: Jan Kiszka <[email protected]>

---
 board/siemens/capricorn/board.c   | 1 -
 board/siemens/capricorn/spl.c     | 1 -
 board/siemens/corvus/board.c      | 2 +-
 board/siemens/iot2050/board.c     | 2 +-
 board/siemens/smartweb/smartweb.c | 2 +-
 board/siemens/taurus/taurus.c     | 2 +-
 6 files changed, 4 insertions(+), 6 deletions(-)
board/siemens/capricorn/board.c +0 -1
index b1d7e3b1c05a..53dac8bfe1be 100644
@@ -5,7 +5,6 @@
  * Copyright 2019 Siemens AG
  *
  */
-#include <common.h>
 #include <command.h>
 #include <dm.h>
 #include <env.h>
board/siemens/capricorn/spl.c +0 -1
index e160c611a962..696b5ebd340b 100644
@@ -5,7 +5,6 @@
  * Copyright 2019 Siemens AG
  *
  */
-#include <common.h>
 #include <init.h>
 #include <spl.h>
 #include <dm.h>
board/siemens/corvus/board.c +1 -1
index 569b86db00ac..7d73d1f2b361 100644
@@ -10,7 +10,7 @@
  * Lead Tech Design <www.leadtechdesign.com>
  */
 
-#include <common.h>
+#include <config.h>
 #include <dm.h>
 #include <init.h>
 #include <log.h>
board/siemens/iot2050/board.c +1 -1
index 0b0686e2628b..ed292c364a5f 100644
@@ -8,7 +8,7 @@
  *   Jan Kiszka <[email protected]>
  */
 
-#include <common.h>
+#include <config.h>
 #include <bootstage.h>
 #include <dm.h>
 #include <fdt_support.h>
board/siemens/smartweb/smartweb.c +1 -1
index 15044c7d0edf..946fbc3f2299 100644
@@ -15,7 +15,7 @@
  * DENX Software Engineering GmbH
  */
 
-#include <common.h>
+#include <config.h>
 #include <dm.h>
 #include <init.h>
 #include <net.h>
board/siemens/taurus/taurus.c +1 -1
index ad44a7c0d28b..bda12a977088 100644
@@ -12,7 +12,7 @@
  */
 
 #include <command.h>
-#include <common.h>
+#include <config.h>
 #include <dm.h>
 #include <env.h>
 #include <init.h>
Signature · 1 line
2.34.1
Reviewed-by on v1 116/149
#156 lore raw

Re: [PATCH 116/149] board: siemens: 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: Anatolij Gustschin <[email protected]>
Cc: Heiko Schocher <[email protected]>
Cc: Le Jin <[email protected]>
Cc: Jan Kiszka <[email protected]>

Quoted 8 lines
---
  board/siemens/capricorn/board.c   | 1 -
  board/siemens/capricorn/spl.c     | 1 -
  board/siemens/corvus/board.c      | 2 +-
  board/siemens/iot2050/board.c     | 2 +-
  board/siemens/smartweb/smartweb.c | 2 +-
  board/siemens/taurus/taurus.c     | 2 +-
  6 files changed, 4 insertions(+), 6 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
#157 lore raw

PATCH 117/149 board: silinux: 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: Lad Prabhakar <[email protected]>

---
 board/silinux/ek874/ek874.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
board/silinux/ek874/ek874.c +1 -1
index 6dc804a0c06e..a3fe6f96d091 100644
@@ -6,8 +6,8 @@
  * Copyright (C) 2021 Renesas Electronics Corporation
  */
 
-#include <common.h>
 #include <asm/global_data.h>
+#include <asm/u-boot.h>
 #include <asm/io.h>
 
 #define RST_BASE	0xE6160000
Signature · 1 line
2.34.1
author
#158 lore raw

PATCH 118/149 board: sipeed: 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: Sean Anderson <[email protected]>

---
 board/sipeed/maix/maix.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
board/sipeed/maix/maix.c +1 -1
index 06653b5a8765..08077a1f9e13 100644
@@ -3,7 +3,7 @@
  * Copyright (C) 2019-20 Sean Anderson <[email protected]>
  */
 
-#include <common.h>
+#include <config.h>
 #include <clk.h>
 #include <dm.h>
 #include <fdt_support.h>
Signature · 1 line
2.34.1
Reviewed-by on v1 118/149
#159 lore raw

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

Quoted 15 lines · Tom Rini

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

---
Cc: Sean Anderson <[email protected]>

---
  board/sipeed/maix/maix.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
board/sipeed/maix/maix.c +0 -0
index 06653b5a8765..08077a1f9e13 100644

board/sipeed/maix/maix.c line 9

Quoted 8 lines
board/sipeed/maix/maix.c +1 -1
@@ -3,7 +3,7 @@
   * Copyright (C) 2019-20 Sean Anderson <[email protected]>
   */
 
-#include <common.h>
+#include <config.h>
  #include <clk.h>
  #include <dm.h>
  #include <fdt_support.h>
author
#160 lore raw

PATCH 119/149 board: skyworth: 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: Yang Xiwen <[email protected]>

---
 board/skyworth/hc2910-2aghd05/hc2910-2aghd05.c | 1 -
 1 file changed, 1 deletion(-)
board/skyworth/hc2910-2aghd05/hc2910-2aghd05.c +0 -1
index abad5efdafb4..22be10d70a73 100644
@@ -3,7 +3,6 @@
  * Board init file for Skyworth HC2910 2AGHD05
  */
 
-#include <common.h>
 #include <fdtdec.h>
 #include <init.h>
 #include <asm/system.h>
Signature · 1 line
2.34.1
author
#161 lore raw

PATCH 120/149 board: socionext: 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: Masahisa Kojima <[email protected]>

---
 board/socionext/developerbox/developerbox.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
board/socionext/developerbox/developerbox.c +1 -1
index 062e4a7b79fa..556a9ed527e7 100644
@@ -9,7 +9,7 @@
 #include <asm/armv8/mmu.h>
 #include <asm/global_data.h>
 #include <asm/io.h>
-#include <common.h>
+#include <config.h>
 #include <efi.h>
 #include <efi_loader.h>
 #include <env_internal.h>
Signature · 1 line
2.34.1
author
#162 lore raw

PATCH 121/149 board: socrates: 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/socrates/ddr.c      | 1 -
 board/socrates/law.c      | 2 +-
 board/socrates/nand.c     | 2 +-
 board/socrates/sdram.c    | 2 +-
 board/socrates/socrates.c | 2 +-
 board/socrates/tlb.c      | 3 ++-
 6 files changed, 6 insertions(+), 6 deletions(-)
board/socrates/ddr.c +0 -1
index 3a94f7beccd3..bf4894eff671 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/socrates/law.c +1 -1
index e4427ecff1bc..446fdbcaba31 100644
@@ -9,7 +9,7 @@
  * Wolfgang Denk, DENX Software Engineering, [email protected].
  */
 
-#include <common.h>
+#include <config.h>
 #include <asm/fsl_law.h>
 #include <asm/mmu.h>
 
board/socrates/nand.c +1 -1
index b1e38c511e5f..517a4a0af6ab 100644
@@ -4,7 +4,7 @@
  * Sergei Poselenov, Emcraft Systems, [email protected].
  */
 
-#include <common.h>
+#include <config.h>
 
 #if defined(CFG_SYS_NAND_BASE)
 #include <nand.h>
board/socrates/sdram.c +1 -1
index 61402a554b78..d0415d26ce72 100644
@@ -4,7 +4,7 @@
  * Sergei Poselenov, Emcraft Systems, [email protected].
  */
 
-#include <common.h>
+#include <config.h>
 #include <init.h>
 #include <asm/processor.h>
 #include <asm/immap_85xx.h>
board/socrates/socrates.c +1 -1
index 1d63c81a9c81..6e6e276cc741 100644
@@ -10,7 +10,7 @@
  * (C) Copyright 2002 Scott McNutt <[email protected]>
  */
 
-#include <common.h>
+#include <config.h>
 #include <clock_legacy.h>
 #include <env.h>
 #include <init.h>
board/socrates/tlb.c +2 -1
index 631f6c340755..0cc675781d16 100644
@@ -9,8 +9,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 */
Signature · 1 line
2.34.1
Reviewed-by on v1 121/149
#163 lore raw

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

Hello Tom,

Quoted 6 lines · Tom Rini

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

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

Quoted 8 lines
---
  board/socrates/ddr.c      | 1 -
  board/socrates/law.c      | 2 +-
  board/socrates/nand.c     | 2 +-
  board/socrates/sdram.c    | 2 +-
  board/socrates/socrates.c | 2 +-
  board/socrates/tlb.c      | 3 ++-
  6 files changed, 6 insertions(+), 6 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
#164 lore raw

PATCH 122/149 board: softing: 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: Silvio Fricke <[email protected]>
Cc: Marek Vasut <[email protected]>

---
 board/softing/vining_2000/vining_2000.c | 2 +-
 board/softing/vining_fpga/socfpga.c     | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
board/softing/vining_2000/vining_2000.c +1 -1
index 4483bd7f7a38..a0dbf97524bd 100644
@@ -24,7 +24,7 @@
 #include <linux/bitops.h>
 #include <linux/delay.h>
 #include <linux/sizes.h>
-#include <common.h>
+#include <config.h>
 #include <fsl_esdhc_imx.h>
 #include <mmc.h>
 #include <i2c.h>
board/softing/vining_fpga/socfpga.c +1 -1
index b3f9550742ec..2483fbcf2631 100644
@@ -3,7 +3,7 @@
  *  Copyright (C) 2012 Altera Corporation <www.altera.com>
  */
 
-#include <common.h>
+#include <config.h>
 #include <eeprom.h>
 #include <env.h>
 #include <init.h>
Signature · 1 line
2.34.1
author
#165 lore raw

PATCH 123/149 board: solidrun: 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: Baruch Siach <[email protected]>
Cc: Fabio Estevam <[email protected]>
Cc: Josua Mayer <[email protected]>

---
 board/solidrun/clearfog/clearfog.c   | 2 +-
 board/solidrun/common/tlv_data.c     | 2 +-
 board/solidrun/mx6cuboxi/mx6cuboxi.c | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
board/solidrun/clearfog/clearfog.c +1 -1
index 6977db0a9e28..2dbd071abd9f 100644
@@ -3,7 +3,7 @@
  * Copyright (C) 2015 Stefan Roese <[email protected]>
  */
 
-#include <common.h>
+#include <config.h>
 #include <env.h>
 #include <i2c.h>
 #include <init.h>
board/solidrun/common/tlv_data.c +1 -1
index cf5824886c37..b8086605c3ae 100644
@@ -3,9 +3,9 @@
  * Copyright 2020 SolidRun
  */
 
-#include <common.h>
 #include <compiler.h>
 #include <tlv_eeprom.h>
+#include <linux/kernel.h>
 #include "tlv_data.h"
 
 #define SR_TLV_CODE_RAM_SIZE	0x81
board/solidrun/mx6cuboxi/mx6cuboxi.c +1 -1
index 7f4811d88794..3406ba8616e0 100644
@@ -15,7 +15,7 @@
  * Ported to SolidRun microSOM by Rabeeh Khoury <[email protected]>
  */
 
-#include <common.h>
+#include <config.h>
 #include <image.h>
 #include <init.h>
 #include <log.h>
Signature · 1 line
2.34.1
author
#166 lore raw

PATCH 124/149 board: somlabs: 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: Arkadiusz Karas <[email protected]>

---
 board/somlabs/visionsom-6ull/visionsom-6ull.c | 1 -
 1 file changed, 1 deletion(-)
board/somlabs/visionsom-6ull/visionsom-6ull.c +0 -1
index 38d14f6bc268..0ecb5c3b4930 100644
@@ -17,7 +17,6 @@
 #include <asm/mach-imx/iomux-v3.h>
 #include <asm/mach-imx/mxc_i2c.h>
 #include <asm/io.h>
-#include <common.h>
 #include <env.h>
 #include <fsl_esdhc_imx.h>
 #include <i2c.h>
Signature · 1 line
2.34.1
author
#167 lore raw

PATCH 125/149 board: sr1500: 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/sr1500/socfpga.c | 1 -
 1 file changed, 1 deletion(-)
board/sr1500/socfpga.c +0 -1
index d9125a76bf7f..5603ef24da80 100644
@@ -3,7 +3,6 @@
  * Copyright (C) 2015 Stefan Roese <[email protected]>
  */
 
-#include <common.h>
 #include <init.h>
 #include <asm/arch/reset_manager.h>
 #include <asm/gpio.h>
Signature · 1 line
2.34.1
author
#168 lore raw

PATCH 126/149 board: st: 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 Delaunay <[email protected]>
Cc: Patrice Chotard <[email protected]>
Cc: Kamil Lulko <[email protected]>
Cc: Vikas Manocha <[email protected]>
Cc: Dillon Min <[email protected]>

---
 board/st/common/cmd_stboard.c                        | 1 -
 board/st/common/stm32mp_dfu.c                        | 1 -
 board/st/common/stm32mp_dfu_virt.c                   | 1 -
 board/st/common/stpmic1.c                            | 1 -
 board/st/common/stusb160x.c                          | 1 -
 board/st/stih410-b2260/board.c                       | 1 -
 board/st/stm32f429-discovery/led.c                   | 1 -
 board/st/stm32f429-discovery/stm32f429-discovery.c   | 1 -
 board/st/stm32f429-evaluation/stm32f429-evaluation.c | 1 -
 board/st/stm32f469-discovery/stm32f469-discovery.c   | 1 -
 board/st/stm32f746-disco/stm32f746-disco.c           | 2 +-
 board/st/stm32h743-disco/stm32h743-disco.c           | 1 -
 board/st/stm32h743-eval/stm32h743-eval.c             | 1 -
 board/st/stm32h750-art-pi/stm32h750-art-pi.c         | 1 -
 board/st/stm32mp1/spl.c                              | 1 -
 board/st/stm32mp1/stm32mp1.c                         | 1 -
 16 files changed, 1 insertion(+), 16 deletions(-)
board/st/common/cmd_stboard.c +0 -1
index c8c0bad5da16..50da063051b8 100644
@@ -30,7 +30,6 @@
  */
 
 #ifndef CONFIG_SPL_BUILD
-#include <common.h>
 #include <command.h>
 #include <console.h>
 #include <misc.h>
board/st/common/stm32mp_dfu.c +0 -1
index 77edb86e78c1..1db8e45480e1 100644
@@ -3,7 +3,6 @@
  * Copyright (C) 2020, STMicroelectronics - All Rights Reserved
  */
 
-#include <common.h>
 #include <blk.h>
 #include <dm.h>
 #include <dfu.h>
board/st/common/stm32mp_dfu_virt.c +0 -1
index f0f99605796a..4049d72bf9d5 100644
@@ -3,7 +3,6 @@
  * Copyright (C) 2023, STMicroelectronics - All Rights Reserved
  */
 
-#include <common.h>
 #include <dfu.h>
 #include <dm.h>
 #include <misc.h>
board/st/common/stpmic1.c +0 -1
index 969ad484864d..45c2bb5bceac 100644
@@ -5,7 +5,6 @@
 
 #define LOG_CATEGORY LOGC_BOARD
 
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <asm/io.h>
board/st/common/stusb160x.c +0 -1
index f0385e5e3830..e1ad8b00717a 100644
@@ -8,7 +8,6 @@
 
 #define LOG_CATEGORY UCLASS_I2C_GENERIC
 
-#include <common.h>
 #include <dm.h>
 #include <i2c.h>
 
board/st/stih410-b2260/board.c +0 -1
index 82817571ae3d..a912712c9dd9 100644
@@ -4,7 +4,6 @@
  * Author(s): Patrice Chotard, <[email protected]> for STMicroelectronics.
  */
 
-#include <common.h>
 #include <cpu_func.h>
 #include <init.h>
 #include <asm/cache.h>
board/st/stm32f429-discovery/led.c +0 -1
index 8dda6a97bd1c..4b8038341b9e 100644
@@ -4,7 +4,6 @@
  * Kamil Lulko, <[email protected]>
  */
 
-#include <common.h>
 #include <status_led.h>
 #include <asm-generic/gpio.h>
 
board/st/stm32f429-discovery/stm32f429-discovery.c +0 -1
index 55e464cc7cf1..22d751b44d3d 100644
@@ -10,7 +10,6 @@
  * Kamil Lulko, <[email protected]>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <env.h>
 #include <init.h>
board/st/stm32f429-evaluation/stm32f429-evaluation.c +0 -1
index 25472f041fef..db59ebb838e7 100644
@@ -4,7 +4,6 @@
  * Author(s): Patrice Chotard, <[email protected]> for STMicroelectronics.
  */
 
-#include <common.h>
 #include <dm.h>
 #include <env.h>
 #include <init.h>
board/st/stm32f469-discovery/stm32f469-discovery.c +0 -1
index 9ed6c1e67680..134d207d95d8 100644
@@ -4,7 +4,6 @@
  * Author(s): Patrice CHOTARD, <[email protected]> for STMicroelectronics.
  */
 
-#include <common.h>
 #include <dm.h>
 #include <env.h>
 #include <init.h>
board/st/stm32f746-disco/stm32f746-disco.c +1 -1
index 0f9666008430..6d86e4fe7aab 100644
@@ -4,7 +4,7 @@
  * Author(s): Vikas Manocha, <[email protected]> for STMicroelectronics.
  */
 
-#include <common.h>
+#include <config.h>
 #include <dm.h>
 #include <init.h>
 #include <log.h>
board/st/stm32h743-disco/stm32h743-disco.c +0 -1
index 4ca5e847212e..35ef9ff9e288 100644
@@ -4,7 +4,6 @@
  * Author(s): Patrice Chotard, <[email protected]> for STMicroelectronics.
  */
 
-#include <common.h>
 #include <dm.h>
 #include <init.h>
 #include <log.h>
board/st/stm32h743-eval/stm32h743-eval.c +0 -1
index 4ca5e847212e..35ef9ff9e288 100644
@@ -4,7 +4,6 @@
  * Author(s): Patrice Chotard, <[email protected]> for STMicroelectronics.
  */
 
-#include <common.h>
 #include <dm.h>
 #include <init.h>
 #include <log.h>
board/st/stm32h750-art-pi/stm32h750-art-pi.c +0 -1
index 0d39ce849a62..75aa4d139fb4 100644
@@ -4,7 +4,6 @@
  * Author(s): Dillon Min <[email protected]>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <init.h>
 #include <log.h>
board/st/stm32mp1/spl.c +0 -1
index 8b4a529f759a..d63dffd97e87 100644
@@ -4,7 +4,6 @@
  */
 
 #include <config.h>
-#include <common.h>
 #include <power/pmic.h>
 #include <power/stpmic1.h>
 #include <asm/arch/sys_proto.h>
board/st/stm32mp1/stm32mp1.c +0 -1
index db15d78237ea..97532a8156ff 100644
@@ -5,7 +5,6 @@
 
 #define LOG_CATEGORY LOGC_BOARD
 
-#include <common.h>
 #include <adc.h>
 #include <bootm.h>
 #include <button.h>
Signature · 1 line
2.34.1
Reviewed-by on v1 126/149
#169 lore raw

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

Quoted 215 lines · Tom Rini

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

---
Cc: Patrick Delaunay <[email protected]>
Cc: Patrice Chotard <[email protected]>
Cc: Kamil Lulko <[email protected]>
Cc: Vikas Manocha <[email protected]>
Cc: Dillon Min <[email protected]>

---
 board/st/common/cmd_stboard.c                        | 1 -
 board/st/common/stm32mp_dfu.c                        | 1 -
 board/st/common/stm32mp_dfu_virt.c                   | 1 -
 board/st/common/stpmic1.c                            | 1 -
 board/st/common/stusb160x.c                          | 1 -
 board/st/stih410-b2260/board.c                       | 1 -
 board/st/stm32f429-discovery/led.c                   | 1 -
 board/st/stm32f429-discovery/stm32f429-discovery.c   | 1 -
 board/st/stm32f429-evaluation/stm32f429-evaluation.c | 1 -
 board/st/stm32f469-discovery/stm32f469-discovery.c   | 1 -
 board/st/stm32f746-disco/stm32f746-disco.c           | 2 +-
 board/st/stm32h743-disco/stm32h743-disco.c           | 1 -
 board/st/stm32h743-eval/stm32h743-eval.c             | 1 -
 board/st/stm32h750-art-pi/stm32h750-art-pi.c         | 1 -
 board/st/stm32mp1/spl.c                              | 1 -
 board/st/stm32mp1/stm32mp1.c                         | 1 -
 16 files changed, 1 insertion(+), 16 deletions(-)
board/st/common/cmd_stboard.c +0 -1
index c8c0bad5da16..50da063051b8 100644
@@ -30,7 +30,6 @@
  */
 
 #ifndef CONFIG_SPL_BUILD
-#include <common.h>
 #include <command.h>
 #include <console.h>
 #include <misc.h>
board/st/common/stm32mp_dfu.c +0 -1
index 77edb86e78c1..1db8e45480e1 100644
@@ -3,7 +3,6 @@
  * Copyright (C) 2020, STMicroelectronics - All Rights Reserved
  */
 
-#include <common.h>
 #include <blk.h>
 #include <dm.h>
 #include <dfu.h>
board/st/common/stm32mp_dfu_virt.c +0 -1
index f0f99605796a..4049d72bf9d5 100644
@@ -3,7 +3,6 @@
  * Copyright (C) 2023, STMicroelectronics - All Rights Reserved
  */
 
-#include <common.h>
 #include <dfu.h>
 #include <dm.h>
 #include <misc.h>
board/st/common/stpmic1.c +0 -1
index 969ad484864d..45c2bb5bceac 100644
@@ -5,7 +5,6 @@
 
 #define LOG_CATEGORY LOGC_BOARD
 
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <asm/io.h>
board/st/common/stusb160x.c +0 -1
index f0385e5e3830..e1ad8b00717a 100644
@@ -8,7 +8,6 @@
 
 #define LOG_CATEGORY UCLASS_I2C_GENERIC
 
-#include <common.h>
 #include <dm.h>
 #include <i2c.h>
 
board/st/stih410-b2260/board.c +0 -1
index 82817571ae3d..a912712c9dd9 100644
@@ -4,7 +4,6 @@
  * Author(s): Patrice Chotard, <[email protected]> for STMicroelectronics.
  */
 
-#include <common.h>
 #include <cpu_func.h>
 #include <init.h>
 #include <asm/cache.h>
board/st/stm32f429-discovery/led.c +0 -1
index 8dda6a97bd1c..4b8038341b9e 100644
@@ -4,7 +4,6 @@
  * Kamil Lulko, <[email protected]>
  */
 
-#include <common.h>
 #include <status_led.h>
 #include <asm-generic/gpio.h>
 
board/st/stm32f429-discovery/stm32f429-discovery.c +0 -1
index 55e464cc7cf1..22d751b44d3d 100644
@@ -10,7 +10,6 @@
  * Kamil Lulko, <[email protected]>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <env.h>
 #include <init.h>
board/st/stm32f429-evaluation/stm32f429-evaluation.c +0 -1
index 25472f041fef..db59ebb838e7 100644
@@ -4,7 +4,6 @@
  * Author(s): Patrice Chotard, <[email protected]> for STMicroelectronics.
  */
 
-#include <common.h>
 #include <dm.h>
 #include <env.h>
 #include <init.h>
board/st/stm32f469-discovery/stm32f469-discovery.c +0 -1
index 9ed6c1e67680..134d207d95d8 100644
@@ -4,7 +4,6 @@
  * Author(s): Patrice CHOTARD, <[email protected]> for STMicroelectronics.
  */
 
-#include <common.h>
 #include <dm.h>
 #include <env.h>
 #include <init.h>
board/st/stm32f746-disco/stm32f746-disco.c +1 -1
index 0f9666008430..6d86e4fe7aab 100644
@@ -4,7 +4,7 @@
  * Author(s): Vikas Manocha, <[email protected]> for STMicroelectronics.
  */
 
-#include <common.h>
+#include <config.h>
 #include <dm.h>
 #include <init.h>
 #include <log.h>
board/st/stm32h743-disco/stm32h743-disco.c +0 -1
index 4ca5e847212e..35ef9ff9e288 100644
@@ -4,7 +4,6 @@
  * Author(s): Patrice Chotard, <[email protected]> for STMicroelectronics.
  */
 
-#include <common.h>
 #include <dm.h>
 #include <init.h>
 #include <log.h>
board/st/stm32h743-eval/stm32h743-eval.c +0 -1
index 4ca5e847212e..35ef9ff9e288 100644
@@ -4,7 +4,6 @@
  * Author(s): Patrice Chotard, <[email protected]> for STMicroelectronics.
  */
 
-#include <common.h>
 #include <dm.h>
 #include <init.h>
 #include <log.h>
board/st/stm32h750-art-pi/stm32h750-art-pi.c +0 -1
index 0d39ce849a62..75aa4d139fb4 100644
@@ -4,7 +4,6 @@
  * Author(s): Dillon Min <[email protected]>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <init.h>
 #include <log.h>
board/st/stm32mp1/spl.c +0 -1
index 8b4a529f759a..d63dffd97e87 100644
@@ -4,7 +4,6 @@
  */
 
 #include <config.h>
-#include <common.h>
 #include <power/pmic.h>
 #include <power/stpmic1.h>
 #include <asm/arch/sys_proto.h>
board/st/stm32mp1/stm32mp1.c +0 -0
index db15d78237ea..97532a8156ff 100644

board/st/stm32mp1/stm32mp1.c line 10

Quoted 7 lines
board/st/stm32mp1/stm32mp1.c +0 -1
@@ -5,7 +5,6 @@
 
 #define LOG_CATEGORY LOGC_BOARD
 
-#include <common.h>
 #include <adc.h>
 #include <bootm.h>
 #include <button.h>

Hi Tom

Thanks
Patrice

author
#170 lore raw

PATCH 127/149 board: ste: 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: Stephan Gerhold <[email protected]>

---
 board/ste/stemmy/stemmy.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
board/ste/stemmy/stemmy.c +1 -1
index 060d562cbc90..826c002907d6 100644
@@ -2,12 +2,12 @@
 /*
  * Copyright (C) 2019 Stephan Gerhold <[email protected]>
  */
-#include <common.h>
 #include <env.h>
 #include <fdt_support.h>
 #include <init.h>
 #include <log.h>
 #include <stdlib.h>
+#include <linux/errno.h>
 #include <asm/global_data.h>
 #include <asm/setup.h>
 #include <asm/system.h>
Signature · 1 line
2.34.1
author
#171 lore raw

PATCH 128/149 board: storopack: 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]>
Cc: Eduard Strehlau <[email protected]>

---
 board/storopack/smegw01/smegw01.c | 1 -
 1 file changed, 1 deletion(-)
board/storopack/smegw01/smegw01.c +0 -1
index 345191b31c29..910feeda31f5 100644
@@ -12,7 +12,6 @@
 #include <asm/mach-imx/hab.h>
 #include <asm/mach-imx/iomux-v3.h>
 #include <asm/io.h>
-#include <common.h>
 #include <env.h>
 #include <env_internal.h>
 #include <asm/arch/crm_regs.h>
Signature · 1 line
2.34.1
author
#172 lore raw

PATCH 129/149 board: sysam: 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]>
Cc: Patrick Delaunay <[email protected]>
Cc: Patrice Chotard <[email protected]>

---
 board/sysam/amcore/amcore.c   | 2 +-
 board/sysam/stmark2/stmark2.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
board/sysam/amcore/amcore.c +1 -1
index 086421d9265d..d5aa1f0776fd 100644
@@ -7,7 +7,7 @@
  * This file copies memory testdram() from sandburst/common/sb_common.c
  */
 
-#include <common.h>
+#include <config.h>
 #include <init.h>
 #include <asm/global_data.h>
 #include <asm/immap.h>
board/sysam/stmark2/stmark2.c +1 -1
index 475e3edfa62e..7818f2671d5a 100644
@@ -5,7 +5,7 @@
  * (C) Copyright 2017 Angelo Dureghello <[email protected]>
  */
 
-#include <common.h>
+#include <config.h>
 #include <init.h>
 #include <spi.h>
 #include <asm/global_data.h>
Signature · 1 line
2.34.1
author
#173 lore raw

PATCH 130/149 board: tcl: 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: Enric Balletbo i Serra <[email protected]>

---
 board/tcl/sl50/board.c | 2 +-
 board/tcl/sl50/mux.c   | 1 -
 2 files changed, 1 insertion(+), 2 deletions(-)
board/tcl/sl50/board.c +1 -1
index 3f7d42f3eb8d..2e54ede62d6f 100644
@@ -7,7 +7,7 @@
  * Copyright (C) 2011, Texas Instruments, Incorporated - https://www.ti.com/
  */
 
-#include <common.h>
+#include <config.h>
 #include <env.h>
 #include <errno.h>
 #include <init.h>
board/tcl/sl50/mux.c +0 -1
index ab9088145aba..6d89c4a3998d 100644
@@ -5,7 +5,6 @@
  * Copyright (C) 2011, Texas Instruments, Incorporated - https://www.ti.com/
  */
 
-#include <common.h>
 #include <asm/arch/sys_proto.h>
 #include <asm/arch/hardware.h>
 #include <asm/arch/mux.h>
Signature · 1 line
2.34.1
author
#174 lore raw

PATCH 131/149 board: technexion: 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]>
Cc: Richard Hu <[email protected]>
Cc: Otavio Salvador <[email protected]>
Cc: Marek Vasut <[email protected]>

---
 board/technexion/pico-imx6/pico-imx6.c           | 1 -
 board/technexion/pico-imx6/spl.c                 | 1 -
 board/technexion/pico-imx6ul/pico-imx6ul.c       | 1 -
 board/technexion/pico-imx6ul/spl.c               | 1 -
 board/technexion/pico-imx7d/pico-imx7d.c         | 1 -
 board/technexion/pico-imx7d/spl.c                | 2 +-
 board/technexion/pico-imx8mq/lpddr4_timing_1gb.c | 1 -
 board/technexion/pico-imx8mq/lpddr4_timing_2gb.c | 1 -
 board/technexion/pico-imx8mq/lpddr4_timing_3gb.c | 1 -
 board/technexion/pico-imx8mq/lpddr4_timing_4gb.c | 1 -
 board/technexion/pico-imx8mq/pico-imx8mq.c       | 1 -
 board/technexion/pico-imx8mq/spl.c               | 1 -
 12 files changed, 1 insertion(+), 12 deletions(-)
board/technexion/pico-imx6/pico-imx6.c +0 -1
index 6b9c4f4373cc..03170b148c52 100644
@@ -6,7 +6,6 @@
  * Author: Fabio Estevam <[email protected]>
  */
 
-#include <common.h>
 #include <env.h>
 #include <init.h>
 #include <net.h>
board/technexion/pico-imx6/spl.c +0 -1
index 3b36bb8df131..50f517742647 100644
@@ -6,7 +6,6 @@
  *	   Fabio Estevam <[email protected]>
  */
 
-#include <common.h>
 #include <image.h>
 #include <init.h>
 #include <asm/arch/clock.h>
board/technexion/pico-imx6ul/pico-imx6ul.c +0 -1
index 682c88dee78d..10dcf8077e20 100644
@@ -17,7 +17,6 @@
 #include <asm/gpio.h>
 #include <asm/mach-imx/iomux-v3.h>
 #include <asm/io.h>
-#include <common.h>
 #include <miiphy.h>
 #include <linux/delay.h>
 #include <linux/sizes.h>
board/technexion/pico-imx6ul/spl.c +0 -1
index ff56fd88d68e..67484e62dad6 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/technexion/pico-imx7d/pico-imx7d.c +0 -1
index b12941ccf82d..d0f739c624a1 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 <miiphy.h>
 #include <power/pmic.h>
 #include <power/pfuze3000_pmic.h>
board/technexion/pico-imx7d/spl.c +1 -1
index 0192eafbaa14..8f219f76c603 100644
@@ -5,7 +5,7 @@
  * Author: Richard Hu <[email protected]>
  */
 
-#include <common.h>
+#include <config.h>
 #include <cpu_func.h>
 #include <init.h>
 #include <asm/arch/clock.h>
board/technexion/pico-imx8mq/lpddr4_timing_1gb.c +0 -1
index 97b9ee27527a..cd8ba59f6454 100644
@@ -7,7 +7,6 @@
  */
 
 #include <linux/kernel.h>
-#include <common.h>
 #include <asm/arch/ddr.h>
 #include <asm/arch/lpddr4_define.h>
 
board/technexion/pico-imx8mq/lpddr4_timing_2gb.c +0 -1
index 1572a50a05f8..3f66238a5044 100644
@@ -7,7 +7,6 @@
  */
 
 #include <linux/kernel.h>
-#include <common.h>
 #include <asm/arch/ddr.h>
 #include <asm/arch/lpddr4_define.h>
 
board/technexion/pico-imx8mq/lpddr4_timing_3gb.c +0 -1
index 3fc60a3eeb98..2f037abc97dd 100644
@@ -7,7 +7,6 @@
  */
 
 #include <linux/kernel.h>
-#include <common.h>
 #include <asm/arch/ddr.h>
 #include <asm/arch/lpddr4_define.h>
 
board/technexion/pico-imx8mq/lpddr4_timing_4gb.c +0 -1
index 93b342351628..336ac4c2f548 100644
@@ -7,7 +7,6 @@
  */
 
 #include <linux/kernel.h>
-#include <common.h>
 #include <asm/arch/ddr.h>
 #include <asm/arch/lpddr4_define.h>
 
board/technexion/pico-imx8mq/pico-imx8mq.c +0 -1
index 2be3206f78a3..1659db112fa1 100644
@@ -3,7 +3,6 @@
  * Copyright 2018 NXP
  */
 
-#include <common.h>
 #include <env.h>
 #include <init.h>
 #include <malloc.h>
board/technexion/pico-imx8mq/spl.c +0 -1
index 1a9c7996cb2a..c9d68b402aeb 100644
@@ -3,7 +3,6 @@
  * Copyright 2018 NXP
  */
 
-#include <common.h>
 #include <hang.h>
 #include <init.h>
 #include <log.h>
Signature · 1 line
2.34.1
author
#175 lore raw

PATCH 132/149 board: terasic: 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: Anatolij Gustschin <[email protected]>

---
 board/terasic/de1-soc/socfpga.c | 1 -
 1 file changed, 1 deletion(-)
board/terasic/de1-soc/socfpga.c +0 -1
index 22fbee40aba9..8d17f44fd373 100644
@@ -2,7 +2,6 @@
 /*
  *  Copyright (C) 2012 Altera Corporation <www.altera.com>
  */
-#include <common.h>
 #include <spl.h>
 
 void board_boot_order(u32 *spl_boot_list)
Signature · 1 line
2.34.1
author
#176 lore raw

PATCH 133/149 board: thead: 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: Wei Fu <[email protected]>
Cc: Yixun Lan <[email protected]>

---
 board/thead/th1520_lpi4a/board.c | 1 -
 1 file changed, 1 deletion(-)
board/thead/th1520_lpi4a/board.c +0 -1
index 16c3e456b3e5..bb83e7561f4e 100644
@@ -4,7 +4,6 @@
  *
  */
 
-#include <common.h>
 #include <cpu_func.h>
 
 int board_init(void)
Signature · 1 line
2.34.1
author
#177 lore raw

PATCH 134/149 board: theadorable: 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/theadorable/fpga.c        | 2 +-
 board/theadorable/theadorable.c | 1 -
 2 files changed, 1 insertion(+), 2 deletions(-)
board/theadorable/fpga.c +1 -1
index bc8379cccf6d..56d3647227bb 100644
@@ -3,10 +3,10 @@
  * Copyright (C) 2016 Stefan Roese <[email protected]>
  */
 
-#include <common.h>
 #include <altera.h>
 #include <errno.h>
 #include <log.h>
+#include <time.h>
 #include <asm/gpio.h>
 #include <asm/io.h>
 #include <asm/arch/cpu.h>
board/theadorable/theadorable.c +0 -1
index 144f122bb206..cca5c3d33b5e 100644
@@ -3,7 +3,6 @@
  * Copyright (C) 2015-2019 Stefan Roese <[email protected]>
  */
 
-#include <common.h>
 #include <command.h>
 #include <console.h>
 #include <dm.h>
Signature · 1 line
2.34.1
author
#178 lore raw

PATCH 135/149 board: ti: 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]>
Cc: Andrew Davis <[email protected]>
Cc: "Derald D. Woods" <[email protected]>
Cc: Nishanth Menon <[email protected]>
Cc: Neha Malcom Francis <[email protected]>
Cc: Prasanth Babu Mantena <[email protected]>
Cc: Simon Glass <[email protected]>

---
 board/ti/am335x/board.c        | 2 +-
 board/ti/am335x/board.h        | 2 ++
 board/ti/am335x/mux.c          | 2 +-
 board/ti/am43xx/board.c        | 2 +-
 board/ti/am43xx/board.h        | 1 +
 board/ti/am43xx/mux.c          | 1 -
 board/ti/am57xx/board.c        | 2 +-
 board/ti/common/board_detect.c | 2 +-
 board/ti/common/cape_detect.c  | 3 ++-
 board/ti/dra7xx/evm.c          | 2 +-
 board/ti/ks2_evm/board.c       | 2 +-
 board/ti/ks2_evm/board_k2e.c   | 1 -
 board/ti/ks2_evm/board_k2g.c   | 2 +-
 board/ti/ks2_evm/board_k2hk.c  | 1 -
 board/ti/ks2_evm/board_k2l.c   | 1 -
 board/ti/ks2_evm/ddr3_cfg.c    | 1 -
 board/ti/ks2_evm/ddr3_k2e.c    | 1 -
 board/ti/ks2_evm/ddr3_k2g.c    | 1 -
 board/ti/ks2_evm/ddr3_k2hk.c   | 1 -
 board/ti/ks2_evm/ddr3_k2l.c    | 1 -
 board/ti/omap3evm/evm.c        | 2 +-
 board/ti/panda/panda.c         | 1 -
 board/ti/sdp4430/cmd_bat.c     | 1 -
 board/ti/sdp4430/sdp.c         | 1 -
 include/linux/mtd/omap_gpmc.h  | 2 ++
 25 files changed, 16 insertions(+), 22 deletions(-)
board/ti/am335x/board.c +1 -1
index 34f987c2b728..34f4a919656e 100644
@@ -7,7 +7,7 @@
  * Copyright (C) 2011, Texas Instruments, Incorporated - https://www.ti.com/
  */
 
-#include <common.h>
+#include <config.h>
 #include <dm.h>
 #include <env.h>
 #include <errno.h>
board/ti/am335x/board.h +2 -0
index 1284c160d811..b0a3842423fb 100644
@@ -10,6 +10,8 @@
 #ifndef _BOARD_H_
 #define _BOARD_H_
 
+#include <linux/string.h>
+
 /**
  * AM335X (EMIF_4D) EMIF REG_COS_COUNT_1, REG_COS_COUNT_2, and
  * REG_PR_OLD_COUNT values to avoid LCDC DMA FIFO underflows and Frame
board/ti/am335x/mux.c +1 -1
index 0bad154f86ed..960de15398f8 100644
@@ -13,7 +13,7 @@
  * GNU General Public License for more details.
  */
 
-#include <common.h>
+#include <config.h>
 #include <asm/arch/sys_proto.h>
 #include <asm/arch/hardware.h>
 #include <asm/arch/mux.h>
board/ti/am43xx/board.c +1 -1
index fdeb63d47900..40b7fcfc3876 100644
@@ -7,7 +7,7 @@
  * Copyright (C) 2013, Texas Instruments, Incorporated - https://www.ti.com/
  */
 
-#include <common.h>
+#include <config.h>
 #include <asm/global_data.h>
 #include <dm/uclass.h>
 #include <env.h>
board/ti/am43xx/board.h +1 -0
index 37a169aaf758..b1025bdda1e1 100644
@@ -11,6 +11,7 @@
 #ifndef _BOARD_H_
 #define _BOARD_H_
 
+#include <linux/string.h>
 #include <asm/arch/omap.h>
 
 #define DEV_ATTR_MAX_OFFSET    5
board/ti/am43xx/mux.c +0 -1
index 463f1cc71784..2fcccbd1f043 100644
@@ -5,7 +5,6 @@
  * Copyright (C) 2013 Texas Instruments Incorporated - https://www.ti.com/
  */
 
-#include <common.h>
 #include <asm/arch/sys_proto.h>
 #include <asm/arch/mux.h>
 #include "../common/board_detect.h"
board/ti/am57xx/board.c +1 -1
index b004a89bb324..48668884bdd5 100644
@@ -7,7 +7,7 @@
  * Based on board/ti/dra7xx/evm.c
  */
 
-#include <common.h>
+#include <config.h>
 #include <env.h>
 #include <fastboot.h>
 #include <fdt_support.h>
board/ti/common/board_detect.c +1 -1
index 644df3b0b6ab..ea21d48bbc01 100644
@@ -7,9 +7,9 @@
  *	Steve Kipisz
  */
 
-#include <common.h>
 #include <log.h>
 #include <net.h>
+#include <linux/types.h>
 #include <asm/arch/hardware.h>
 #include <asm/omap_common.h>
 #include <dm/uclass.h>
board/ti/common/cape_detect.c +2 -1
index 2e6105cfbf15..da805befabcb 100644
@@ -4,10 +4,11 @@
  * Köry Maincent, Bootlin, <[email protected]>
  */
 
-#include <common.h>
+#include <stdio.h>
 #include <malloc.h>
 #include <i2c.h>
 #include <extension_board.h>
+#include <vsprintf.h>
 
 #include "cape_detect.h"
 
board/ti/dra7xx/evm.c +1 -1
index a8a216d034a4..2b1db2541b0b 100644
@@ -9,7 +9,7 @@
  * Aneesh V       <[email protected]>
  * Steve Sakoman  <[email protected]>
  */
-#include <common.h>
+#include <config.h>
 #include <env.h>
 #include <fdt_support.h>
 #include <fastboot.h>
board/ti/ks2_evm/board.c +1 -1
index 5dcda12105b9..c6735d37dda7 100644
@@ -6,7 +6,7 @@
  *     Texas Instruments Incorporated, <www.ti.com>
  */
 
-#include <common.h>
+#include <config.h>
 #include <asm/global_data.h>
 #include "board.h"
 #include <env.h>
board/ti/ks2_evm/board_k2e.c +0 -1
index 39abb24e1560..4385be4221b7 100644
@@ -6,7 +6,6 @@
  *     Texas Instruments Incorporated, <www.ti.com>
  */
 
-#include <common.h>
 #include <image.h>
 #include <init.h>
 #include <asm/arch/ddr3.h>
board/ti/ks2_evm/board_k2g.c +1 -1
index 4fed42ec1244..d07b77d23e27 100644
@@ -5,7 +5,7 @@
  * (C) Copyright 2015
  *     Texas Instruments Incorporated, <www.ti.com>
  */
-#include <common.h>
+#include <config.h>
 #include <env.h>
 #include <hang.h>
 #include <image.h>
board/ti/ks2_evm/board_k2hk.c +0 -1
index 12c4649c3c4c..2b5d2d756649 100644
@@ -6,7 +6,6 @@
  *     Texas Instruments Incorporated, <www.ti.com>
  */
 
-#include <common.h>
 #include <image.h>
 #include <init.h>
 #include <asm/arch/clock.h>
board/ti/ks2_evm/board_k2l.c +0 -1
index f759ee364666..1971bc94f7d3 100644
@@ -6,7 +6,6 @@
  *     Texas Instruments Incorporated, <www.ti.com>
  */
 
-#include <common.h>
 #include <image.h>
 #include <init.h>
 #include <asm/arch/ddr3.h>
board/ti/ks2_evm/ddr3_cfg.c +0 -1
index 0ade75263f8d..fe350fee795e 100644
@@ -6,7 +6,6 @@
  *     Texas Instruments Incorporated, <www.ti.com>
  */
 
-#include <common.h>
 
 #include <asm/arch/ddr3.h>
 #include "ddr3_cfg.h"
board/ti/ks2_evm/ddr3_k2e.c +0 -1
index 95fe3a9021e2..28305326e6a1 100644
@@ -6,7 +6,6 @@
  *     Texas Instruments Incorporated, <www.ti.com>
  */
 
-#include <common.h>
 #include "ddr3_cfg.h"
 #include <asm/arch/ddr3.h>
 
board/ti/ks2_evm/ddr3_k2g.c +0 -1
index 3000d7245eb2..ef39e0781521 100644
@@ -6,7 +6,6 @@
  *     Texas Instruments Incorporated, <www.ti.com>
  */
 
-#include <common.h>
 #include "ddr3_cfg.h"
 #include <asm/arch/ddr3.h>
 #include <asm/arch/hardware.h>
board/ti/ks2_evm/ddr3_k2hk.c +0 -1
index 198c5da0e622..05c050cee440 100644
@@ -6,7 +6,6 @@
  *     Texas Instruments Incorporated, <www.ti.com>
  */
 
-#include <common.h>
 #include "ddr3_cfg.h"
 #include <asm/arch/ddr3.h>
 #include <asm/arch/hardware.h>
board/ti/ks2_evm/ddr3_k2l.c +0 -1
index 805bf81f6bdf..aa6d45f0f8af 100644
@@ -6,7 +6,6 @@
  *     Texas Instruments Incorporated, <www.ti.com>
  */
 
-#include <common.h>
 #include "ddr3_cfg.h"
 #include <asm/arch/ddr3.h>
 
board/ti/omap3evm/evm.c +1 -1
index a4d6a0138d9b..4eb08add2564 100644
@@ -10,7 +10,7 @@
  *	Richard Woodruff <[email protected]>
  *	Syed Mohammed Khasim <[email protected]>
  */
-#include <common.h>
+#include <config.h>
 #include <dm.h>
 #include <env.h>
 #include <init.h>
board/ti/panda/panda.c +0 -1
index 220931860190..e47d3a952d5c 100644
@@ -4,7 +4,6 @@
  * Texas Instruments Incorporated, <www.ti.com>
  * Steve Sakoman  <[email protected]>
  */
-#include <common.h>
 #include <init.h>
 #include <log.h>
 #include <net.h>
board/ti/sdp4430/cmd_bat.c +0 -1
index 6c1e6ca393c6..6bf44d926550 100644
@@ -3,7 +3,6 @@
  * Copyright (C) 2010 Texas Instruments
  */
 
-#include <common.h>
 #include <command.h>
 
 #ifdef CONFIG_CMD_BAT
board/ti/sdp4430/sdp.c +0 -1
index 2c9ae794fd4b..1a71390f543b 100644
@@ -5,7 +5,6 @@
  * Aneesh V       <[email protected]>
  * Steve Sakoman  <[email protected]>
  */
-#include <common.h>
 #include <init.h>
 #include <net.h>
 #include <twl6030.h>
include/linux/mtd/omap_gpmc.h +2 -0
index f08e700a1daf..2dbf988863f9 100644
@@ -8,6 +8,8 @@
 #ifndef __ASM_OMAP_GPMC_H
 #define __ASM_OMAP_GPMC_H
 
+#include <linux/types.h>
+
 /* Maximum Number of Chip Selects */
 #define GPMC_CS_NUM	8
 
Signature · 1 line
2.34.1
author
#179 lore raw

PATCH 136/149 board: timll: 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: Vladimir Zapolskiy <[email protected]>
Cc: Thomas Weber <[email protected]>

---
 board/timll/devkit3250/devkit3250.c     | 2 +-
 board/timll/devkit3250/devkit3250_spl.c | 1 -
 board/timll/devkit8000/devkit8000.c     | 2 +-
 3 files changed, 2 insertions(+), 3 deletions(-)
board/timll/devkit3250/devkit3250.c +1 -1
index efef855b3d06..f0c0f03deeb8 100644
@@ -5,7 +5,7 @@
  * Copyright (C) 2011-2015 Vladimir Zapolskiy <[email protected]>
  */
 
-#include <common.h>
+#include <config.h>
 #include <init.h>
 #include <asm/arch/sys_proto.h>
 #include <asm/arch/clk.h>
board/timll/devkit3250/devkit3250_spl.c +0 -1
index 12e8ae9c39cb..07a367c3ad15 100644
@@ -5,7 +5,6 @@
  * (C) Copyright 2015 Vladimir Zapolskiy <[email protected]>
  */
 
-#include <common.h>
 #include <asm/io.h>
 #include <asm/arch/sys_proto.h>
 #include <asm/arch/cpu.h>
board/timll/devkit8000/devkit8000.c +1 -1
index 06009d8ad54c..ad404f7e9c4c 100644
@@ -15,7 +15,7 @@
  *	Syed Mohammed Khasim <[email protected]>
  *
  */
-#include <common.h>
+#include <config.h>
 #include <dm.h>
 #include <env.h>
 #include <init.h>
Signature · 1 line
2.34.1
author
#180 lore raw

PATCH 137/149 board: toradex: 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: Marcel Ziswiler <[email protected]>

---
 board/toradex/apalis-imx8/apalis-imx8.c         | 1 -
 board/toradex/apalis-tk1/apalis-tk1.c           | 1 -
 board/toradex/apalis-tk1/as3722_init.c          | 1 -
 board/toradex/apalis_imx6/apalis_imx6.c         | 2 +-
 board/toradex/apalis_imx6/do_fuse.c             | 1 -
 board/toradex/apalis_imx6/pf0100.c              | 1 -
 board/toradex/apalis_t30/apalis_t30-spl.c       | 1 -
 board/toradex/apalis_t30/apalis_t30.c           | 1 -
 board/toradex/colibri-imx6ull/colibri-imx6ull.c | 2 +-
 board/toradex/colibri-imx8x/colibri-imx8x.c     | 1 -
 board/toradex/colibri_imx6/colibri_imx6.c       | 2 +-
 board/toradex/colibri_imx6/do_fuse.c            | 1 -
 board/toradex/colibri_imx6/pf0100.c             | 1 -
 board/toradex/colibri_imx7/colibri_imx7.c       | 1 -
 board/toradex/colibri_t20/colibri_t20.c         | 1 -
 board/toradex/colibri_t30/colibri_t30-spl.c     | 1 -
 board/toradex/colibri_t30/colibri_t30.c         | 1 -
 board/toradex/colibri_vf/colibri_vf.c           | 1 -
 board/toradex/common/tdx-cfg-block.c            | 2 +-
 board/toradex/common/tdx-common.c               | 2 +-
 board/toradex/verdin-imx8mm/spl.c               | 1 -
 board/toradex/verdin-imx8mm/verdin-imx8mm.c     | 2 +-
 board/toradex/verdin-imx8mp/spl.c               | 1 -
 board/toradex/verdin-imx8mp/verdin-imx8mp.c     | 2 +-
 24 files changed, 7 insertions(+), 24 deletions(-)
board/toradex/apalis-imx8/apalis-imx8.c +0 -1
index 0f993e644d71..72d67d90d418 100644
@@ -3,7 +3,6 @@
  * Copyright 2019 Toradex
  */
 
-#include <common.h>
 #include <cpu_func.h>
 #include <init.h>
 #include <asm/global_data.h>
board/toradex/apalis-tk1/apalis-tk1.c +0 -1
index ee87d9f4145f..4557ed1f1f2f 100644
@@ -3,7 +3,6 @@
  * Copyright (c) 2016-2018 Toradex, Inc.
  */
 
-#include <common.h>
 #include <dm.h>
 #include <env.h>
 #include <init.h>
board/toradex/apalis-tk1/as3722_init.c +0 -1
index e9bd1028bed5..8971f7aa16a1 100644
@@ -3,7 +3,6 @@
  * Copyright (c) 2012-2016 Toradex, Inc.
  */
 
-#include <common.h>
 #include <log.h>
 #include <asm/io.h>
 #include <asm/arch-tegra/tegra_i2c.h>
board/toradex/apalis_imx6/apalis_imx6.c +1 -1
index 0da245374a0d..2dcc042ab266 100644
@@ -6,7 +6,7 @@
  * copied from nitrogen6x
  */
 
-#include <common.h>
+#include <config.h>
 #include <cpu_func.h>
 #include <dm.h>
 #include <image.h>
board/toradex/apalis_imx6/do_fuse.c +0 -1
index 6991b1bc136e..b404b01e032e 100644
@@ -7,7 +7,6 @@
  * Helpers for i.MX OTP fusing during module production
 */
 
-#include <common.h>
 #ifndef CONFIG_SPL_BUILD
 #include <command.h>
 #include <console.h>
board/toradex/apalis_imx6/pf0100.c +0 -1
index c89052ff5daa..157aaec6fe08 100644
@@ -7,7 +7,6 @@
  * Helpers for Freescale PMIC PF0100
 */
 
-#include <common.h>
 #include <command.h>
 #include <i2c.h>
 #include <asm/arch/imx-regs.h>
board/toradex/apalis_t30/apalis_t30-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>
 
board/toradex/apalis_t30/apalis_t30.c +0 -1
index b10beb447965..02e8f8eb1fed 100644
@@ -4,7 +4,6 @@
  *  Marcel Ziswiler <[email protected]>
  */
 
-#include <common.h>
 #include <env.h>
 #include <init.h>
 #include <log.h>
board/toradex/colibri-imx6ull/colibri-imx6ull.c +1 -1
index 9b9fb342c9d9..7bfe200d6e4c 100644
@@ -2,7 +2,7 @@
 /*
  * Copyright (C) 2018-2019 Toradex AG
  */
-#include <common.h>
+#include <config.h>
 #include <init.h>
 #include <asm/global_data.h>
 #include <linux/delay.h>
board/toradex/colibri-imx8x/colibri-imx8x.c +0 -1
index 356578525951..2a71e7b92de4 100644
@@ -3,7 +3,6 @@
  * Copyright 2019 Toradex
  */
 
-#include <common.h>
 #include <cpu_func.h>
 #include <init.h>
 #include <asm/global_data.h>
board/toradex/colibri_imx6/colibri_imx6.c +1 -1
index ce19a9c79752..34e82c2b0780 100644
@@ -6,7 +6,7 @@
  * copied from nitrogen6x
  */
 
-#include <common.h>
+#include <config.h>
 #include <cpu_func.h>
 #include <dm.h>
 #include <env.h>
board/toradex/colibri_imx6/do_fuse.c +0 -1
index 6991b1bc136e..b404b01e032e 100644
@@ -7,7 +7,6 @@
  * Helpers for i.MX OTP fusing during module production
 */
 
-#include <common.h>
 #ifndef CONFIG_SPL_BUILD
 #include <command.h>
 #include <console.h>
board/toradex/colibri_imx6/pf0100.c +0 -1
index 8f08d8c7337c..58b7bc3bb9ae 100644
@@ -7,7 +7,6 @@
  * Helpers for Freescale PMIC PF0100
 */
 
-#include <common.h>
 #include <command.h>
 #include <i2c.h>
 #include <asm/arch/imx-regs.h>
board/toradex/colibri_imx7/colibri_imx7.c +0 -1
index c37c5e0af6d9..e966ffbf7818 100644
@@ -3,7 +3,6 @@
  * Copyright (C) 2016-2018 Toradex AG
  */
 
-#include <common.h>
 #include <cpu_func.h>
 #include <init.h>
 #include <net.h>
board/toradex/colibri_t20/colibri_t20.c +0 -1
index 97e33d00f0d6..6425fa881ea6 100644
@@ -3,7 +3,6 @@
  *  Copyright (C) 2012 Lucas Stach
  */
 
-#include <common.h>
 #include <env.h>
 #include <fdt_support.h>
 #include <init.h>
board/toradex/colibri_t30/colibri_t30-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>
 
board/toradex/colibri_t30/colibri_t30.c +0 -1
index 0da247de98f9..342673ac506c 100644
@@ -4,7 +4,6 @@
  *  Stefan Agner <[email protected]>
  */
 
-#include <common.h>
 #include <env.h>
 #include <init.h>
 #include <asm/arch/gp_padctrl.h>
board/toradex/colibri_vf/colibri_vf.c +0 -1
index 35920008805f..87f82396d63a 100644
@@ -6,7 +6,6 @@
  * Copyright 2013 Freescale Semiconductor, Inc.
  */
 
-#include <common.h>
 #include <init.h>
 #include <asm/global_data.h>
 
board/toradex/common/tdx-cfg-block.c +1 -1
index dcf00d2b6325..2225cefec167 100644
@@ -3,7 +3,7 @@
  * Copyright (c) 2016-2020 Toradex
  */
 
-#include <common.h>
+#include <config.h>
 #include <asm/global_data.h>
 #include "tdx-cfg-block.h"
 #include "tdx-eeprom.h"
board/toradex/common/tdx-common.c +1 -1
index 9f09788137d5..a6b45cdab810 100644
@@ -4,7 +4,7 @@
  */
 
 #include <dm.h>
-#include <common.h>
+#include <config.h>
 #include <env.h>
 #include <g_dnl.h>
 #include <init.h>
board/toradex/verdin-imx8mm/spl.c +0 -1
index afa3686083a4..1020078afea2 100644
@@ -3,7 +3,6 @@
  * Copyright 2020 Toradex
  */
 
-#include <common.h>
 #include <command.h>
 #include <image.h>
 #include <init.h>
board/toradex/verdin-imx8mm/verdin-imx8mm.c +1 -1
index 55c02653da68..020ee6774807 100644
@@ -3,7 +3,7 @@
  * Copyright 2020-2021 Toradex
  */
 
-#include <common.h>
+#include <config.h>
 #include <init.h>
 #include <asm/arch/clock.h>
 #include <asm/arch/sys_proto.h>
board/toradex/verdin-imx8mp/spl.c +0 -1
index 73729a42b458..8628112a7825 100644
@@ -3,7 +3,6 @@
  * Copyright 2022 Toradex
  */
 
-#include <common.h>
 #include <hang.h>
 #include <init.h>
 #include <log.h>
board/toradex/verdin-imx8mp/verdin-imx8mp.c +1 -1
index e16a771e3ec1..e57ec3b68967 100644
@@ -3,7 +3,7 @@
  * Copyright 2022 Toradex
  */
 
-#include <common.h>
+#include <config.h>
 #include <asm/arch/clock.h>
 #include <asm/arch/imx8mp_pins.h>
 #include <asm/arch/sys_proto.h>
Signature · 1 line
2.34.1
author
#181 lore raw

PATCH 138/149 board: tplink: 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]>

---
 board/tplink/wdr4300/wdr4300.c | 1 -
 1 file changed, 1 deletion(-)
board/tplink/wdr4300/wdr4300.c +0 -1
index f2de039b6b47..3ae0dc4ecd73 100644
@@ -3,7 +3,6 @@
  * Copyright (C) 2016 Marek Vasut <[email protected]>
  */
 
-#include <common.h>
 #include <init.h>
 #include <asm/io.h>
 #include <asm/addrspace.h>
Signature · 1 line
2.34.1
author
#182 lore raw

PATCH 139/149 board: tq: 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: Markus Niebel <[email protected]>

---
 board/tq/tqma6/tqma6.c      | 1 -
 board/tq/tqma6/tqma6_mba6.c | 1 -
 board/tq/tqma6/tqma6_wru4.c | 1 -
 3 files changed, 3 deletions(-)
board/tq/tqma6/tqma6.c +0 -1
index 1c2228c77ad0..92142c10ae5a 100644
@@ -21,7 +21,6 @@
 #include <asm/io.h>
 #include <asm/mach-imx/mxc_i2c.h>
 #include <asm/mach-imx/spi.h>
-#include <common.h>
 #include <fsl_esdhc_imx.h>
 #include <linux/libfdt.h>
 #include <i2c.h>
board/tq/tqma6/tqma6_mba6.c +0 -1
index 52851dd5b55e..877539e359e2 100644
@@ -20,7 +20,6 @@
 #include <asm/gpio.h>
 #include <asm/mach-imx/mxc_i2c.h>
 
-#include <common.h>
 #include <fsl_esdhc_imx.h>
 #include <linux/libfdt.h>
 #include <malloc.h>
board/tq/tqma6/tqma6_wru4.c +0 -1
index 5d239913fc5b..21c710188e09 100644
@@ -23,7 +23,6 @@
 #include <asm/mach-imx/boot_mode.h>
 #include <asm/mach-imx/mxc_i2c.h>
 
-#include <common.h>
 #include <fsl_esdhc_imx.h>
 #include <linux/libfdt.h>
 #include <malloc.h>
Signature · 1 line
2.34.1
author
#183 lore raw

PATCH 140/149 board: traverse: 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: Mathew McBride <[email protected]>

---
 board/traverse/common/ten64_controller.c | 1 -
 board/traverse/ten64/eth_ten64.c         | 1 -
 board/traverse/ten64/ten64.c             | 2 +-
 3 files changed, 1 insertion(+), 3 deletions(-)
board/traverse/common/ten64_controller.c +0 -1
index d6ef8a8d0df9..63b72c4df7b9 100644
@@ -5,7 +5,6 @@
  *
  */
 
-#include <common.h>
 #include <dm.h>
 #include <misc.h>
 #include <i2c.h>
board/traverse/ten64/eth_ten64.c +0 -1
index 3f96e572b75a..c5f7acecc146 100644
@@ -3,7 +3,6 @@
  * Copyright 2017 NXP
  * Copyright 2019-2021 Traverse Technologies Australia
  */
-#include <common.h>
 #include <command.h>
 #include <netdev.h>
 #include <malloc.h>
board/traverse/ten64/ten64.c +1 -1
index 6ff5312d6d79..d41bd2e9deeb 100644
@@ -4,7 +4,7 @@
  * Copyright 2017-2018 NXP
  * Copyright 2019-2021 Traverse Technologies
  */
-#include <common.h>
+#include <config.h>
 #include <display_options.h>
 #include <dm/uclass.h>
 #include <env.h>
Signature · 1 line
2.34.1
author
#184 lore raw

PATCH 141/149 board: udoo: 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: Breno Lima <[email protected]>
Cc: Francesco Montefoschi <[email protected]>
Cc: Fabio Estevam <[email protected]>

---
 board/udoo/neo/neo.c  | 1 -
 board/udoo/udoo_spl.c | 1 -
 2 files changed, 2 deletions(-)
board/udoo/neo/neo.c +0 -1
index d99d93b44ae5..b435b721e53c 100644
@@ -29,7 +29,6 @@
 #include <spl.h>
 #include <linux/delay.h>
 #include <linux/sizes.h>
-#include <common.h>
 #include <i2c.h>
 #include <power/pmic.h>
 #include <power/pfuze3000_pmic.h>
board/udoo/udoo_spl.c +0 -1
index 647380e1db63..6c477530055c 100644
@@ -6,7 +6,6 @@
  * Based on board/wandboard/spl.c
  */
 
-#include <common.h>
 #include <init.h>
 #include <asm/arch/clock.h>
 #include <asm/arch/imx-regs.h>
Signature · 1 line
2.34.1
author
#185 lore raw

PATCH 142/149 board: variscite: 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: Parthiban Nallathambi <[email protected]>
Cc: Hugo Villeneuve <[email protected]>

---
 board/variscite/dart_6ul/spl.c                  | 2 +-
 board/variscite/imx8mn_var_som/imx8mn_var_som.c | 1 -
 2 files changed, 1 insertion(+), 2 deletions(-)
board/variscite/dart_6ul/spl.c +1 -1
index 1dff69c82771..6d17563d32c0 100644
@@ -4,7 +4,7 @@
  * Copyright (C) 2019 Parthiban Nallathambi <[email protected]>
  */
 
-#include <common.h>
+#include <config.h>
 #include <init.h>
 #include <spl.h>
 #include <asm/arch/clock.h>
board/variscite/imx8mn_var_som/imx8mn_var_som.c +0 -1
index 994fd4f70582..532d8d60a762 100644
@@ -5,7 +5,6 @@
  * Copyright 2023 DimOnOff Inc.
  */
 
-#include <common.h>
 #include <dm.h>
 #include <env.h>
 #include <fdtdec.h>
Signature · 1 line
2.34.1
author
#186 lore raw

PATCH 143/149 board: vscom: 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: Yegor Yefremov <[email protected]>

---
 board/vscom/baltos/board.c | 2 +-
 board/vscom/baltos/mux.c   | 1 -
 2 files changed, 1 insertion(+), 2 deletions(-)
board/vscom/baltos/board.c +1 -1
index bc7dc5888f2d..2c91e9fac43d 100644
@@ -7,7 +7,7 @@
  * Copyright (C) 2011, Texas Instruments, Incorporated - https://www.ti.com/
  */
 
-#include <common.h>
+#include <config.h>
 #include <env.h>
 #include <errno.h>
 #include <init.h>
board/vscom/baltos/mux.c +0 -1
index 7b99cf0e182f..77b142f08f0a 100644
@@ -13,7 +13,6 @@
  * GNU General Public License for more details.
  */
 
-#include <common.h>
 #include <asm/arch/sys_proto.h>
 #include <asm/arch/hardware.h>
 #include <asm/arch/mux.h>
Signature · 1 line
2.34.1
author
#187 lore raw

PATCH 144/149 board: wandboard: 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/wandboard/spl.c       | 2 +-
 board/wandboard/wandboard.c | 1 -
 2 files changed, 1 insertion(+), 2 deletions(-)
board/wandboard/spl.c +1 -1
index 717e02a039b7..9ce2785a4f04 100644
@@ -5,7 +5,7 @@
  *         Richard Hu <[email protected]>
  */
 
-#include <common.h>
+#include <config.h>
 #include <init.h>
 #include <asm/arch/clock.h>
 #include <asm/arch/imx-regs.h>
board/wandboard/wandboard.c +0 -1
index 8be62c86695d..a48ef33ffdec 100644
@@ -6,7 +6,6 @@
  * Author: Fabio Estevam <[email protected]>
  */
 
-#include <common.h>
 #include <image.h>
 #include <init.h>
 #include <log.h>
Signature · 1 line
2.34.1
author
#188 lore raw

PATCH 145/149 board: warp7: 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/warp7/warp7.c | 1 -
 1 file changed, 1 deletion(-)
board/warp7/warp7.c +0 -1
index ead52d5a490c..4cd3ff0051b7 100644
@@ -15,7 +15,6 @@
 #include <asm/mach-imx/hab.h>
 #include <asm/mach-imx/iomux-v3.h>
 #include <asm/io.h>
-#include <common.h>
 #include <env.h>
 #include <asm/arch/crm_regs.h>
 #include <netdev.h>
Signature · 1 line
2.34.1
author
#189 lore raw

PATCH 146/149 board: work-microwave: 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: Albert ARIBAUD <[email protected]>

---
 board/work-microwave/work_92105/work_92105.c         | 2 +-
 board/work-microwave/work_92105/work_92105_display.c | 1 -
 board/work-microwave/work_92105/work_92105_spl.c     | 1 -
 3 files changed, 1 insertion(+), 3 deletions(-)
board/work-microwave/work_92105/work_92105.c +1 -1
index c8e791a4da8a..9a236880e3cc 100644
@@ -6,7 +6,7 @@
  * Written-by: Albert ARIBAUD <[email protected]>
  */
 
-#include <common.h>
+#include <config.h>
 #include <init.h>
 #include <asm/global_data.h>
 #include <asm/io.h>
board/work-microwave/work_92105/work_92105_display.c +0 -1
index 64dd5d4072a6..d4ab2299895d 100644
@@ -10,7 +10,6 @@
  * MAX518 I2C DACs and native LPC32xx GPO 15.
  */
 
-#include <common.h>
 #include <command.h>
 #include <log.h>
 #include <asm/arch/sys_proto.h>
board/work-microwave/work_92105/work_92105_spl.c +0 -1
index d9401145f27d..3f91221ce8b1 100644
@@ -6,7 +6,6 @@
  * Written-by: Albert ARIBAUD <[email protected]>
  */
 
-#include <common.h>
 #include <asm/io.h>
 #include <asm/arch/sys_proto.h>
 #include <asm/arch/cpu.h>
Signature · 1 line
2.34.1
author
#190 lore raw

PATCH 147/149 board: xen: 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: Anastasiia Lukianenko <[email protected]>
Cc: Oleksandr Andrushchenko <[email protected]>

---
 board/xen/xenguest_arm64/xenguest_arm64.c | 1 -
 1 file changed, 1 deletion(-)
board/xen/xenguest_arm64/xenguest_arm64.c +0 -1
index 1d2946f4fde8..4c3b9c9e2780 100644
@@ -7,7 +7,6 @@
  * (C) 2020 EPAM Systems Inc
  */
 
-#include <common.h>
 #include <log.h>
 #include <cpu_func.h>
 #include <dm.h>
Signature · 1 line
2.34.1
author
#191 lore raw

PATCH 148/149 board: xilinx: 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: Michal Simek <[email protected]>

---
 board/xilinx/common/board.c     | 1 -
 board/xilinx/common/cpu-info.c  | 1 -
 board/xilinx/common/fru.c       | 1 -
 board/xilinx/common/fru_ops.c   | 2 +-
 board/xilinx/versal-net/board.c | 1 -
 board/xilinx/versal-net/cmds.c  | 2 +-
 board/xilinx/versal/board.c     | 1 -
 board/xilinx/versal/cmds.c      | 2 +-
 board/xilinx/zynq/board.c       | 2 +-
 board/xilinx/zynq/bootimg.c     | 1 -
 board/xilinx/zynq/cmds.c        | 1 -
 board/xilinx/zynqmp/cmds.c      | 3 ++-
 board/xilinx/zynqmp/zynqmp.c    | 2 +-
 board/xilinx/zynqmp_r5/board.c  | 2 +-
 14 files changed, 8 insertions(+), 14 deletions(-)
board/xilinx/common/board.c +0 -1
index b47d2d23f913..30a81376ac41 100644
@@ -6,7 +6,6 @@
  * Michal Simek <[email protected]>
  */
 
-#include <common.h>
 #include <efi.h>
 #include <efi_loader.h>
 #include <env.h>
board/xilinx/common/cpu-info.c +0 -1
index bfe7f5b7e385..765bb24d9376 100644
@@ -4,7 +4,6 @@
  * Michal Simek <[email protected]>
  */
 
-#include <common.h>
 #include <init.h>
 #include <soc.h>
 
board/xilinx/common/fru.c +0 -1
index 12b21317496a..8cf307e33f20 100644
@@ -3,7 +3,6 @@
  * (C) Copyright 2019 - 2020 Xilinx, Inc.
  */
 
-#include <common.h>
 #include <command.h>
 #include <fdtdec.h>
 #include <malloc.h>
board/xilinx/common/fru_ops.c +1 -1
index 167252c240cd..610293bccf78 100644
@@ -4,13 +4,13 @@
  * (C) Copyright 2022 - 2023, Advanced Micro Devices, Inc.
  */
 
-#include <common.h>
 #include <cpu_func.h>
 #include <env.h>
 #include <fdtdec.h>
 #include <log.h>
 #include <malloc.h>
 #include <net.h>
+#include <linux/errno.h>
 #include <asm/io.h>
 #include <asm/arch/hardware.h>
 
board/xilinx/versal-net/board.c +0 -1
index da03024e162f..88e10fa7a7fa 100644
@@ -6,7 +6,6 @@
  * Michal Simek <[email protected]>
  */
 
-#include <common.h>
 #include <cpu_func.h>
 #include <fdtdec.h>
 #include <init.h>
board/xilinx/versal-net/cmds.c +1 -1
index b18a71fe52c0..4d52084846b7 100644
@@ -7,10 +7,10 @@
 
 #include <cpu_func.h>
 #include <command.h>
-#include <common.h>
 #include <log.h>
 #include <memalign.h>
 #include <versalpl.h>
+#include <vsprintf.h>
 #include <zynqmp_firmware.h>
 
 /**
board/xilinx/versal/board.c +0 -1
index 4f6d56119db1..77ba783501eb 100644
@@ -5,7 +5,6 @@
  */
 
 #include <command.h>
-#include <common.h>
 #include <cpu_func.h>
 #include <env.h>
 #include <fdtdec.h>
board/xilinx/versal/cmds.c +1 -1
index 2a74e49aedec..c78793573e86 100644
@@ -6,10 +6,10 @@
 
 #include <cpu_func.h>
 #include <command.h>
-#include <common.h>
 #include <log.h>
 #include <memalign.h>
 #include <versalpl.h>
+#include <vsprintf.h>
 #include <zynqmp_firmware.h>
 
 static int do_versal_load_pdi(struct cmd_tbl *cmdtp, int flag, int argc,
board/xilinx/zynq/board.c +1 -1
index 6c365910011d..b9a91110ff79 100644
@@ -4,7 +4,7 @@
  * (C) Copyright 2013 - 2018 Xilinx, Inc.
  */
 
-#include <common.h>
+#include <config.h>
 #include <debug_uart.h>
 #include <dfu.h>
 #include <init.h>
board/xilinx/zynq/bootimg.c +0 -1
index 2f55078dd768..79bec3a4cfbc 100644
@@ -3,7 +3,6 @@
  * Copyright (C) 2018 Xilinx, Inc.
  */
 
-#include <common.h>
 #include <log.h>
 #include <part.h>
 #include <asm/global_data.h>
board/xilinx/zynq/cmds.c +0 -1
index d7c7b2f22955..05ecb75406b4 100644
@@ -3,7 +3,6 @@
  * Copyright (C) 2018 Xilinx, Inc.
  */
 
-#include <common.h>
 #include <command.h>
 #include <log.h>
 #include <asm/global_data.h>
board/xilinx/zynqmp/cmds.c +2 -1
index 9524688f27d9..bf39c5472ea9 100644
@@ -4,13 +4,14 @@
  * Siva Durga Prasad Paladugu <[email protected]>>
  */
 
-#include <common.h>
 #include <command.h>
 #include <cpu_func.h>
 #include <env.h>
 #include <malloc.h>
 #include <memalign.h>
+#include <vsprintf.h>
 #include <zynqmp_firmware.h>
+#include <linux/errno.h>
 #include <asm/arch/hardware.h>
 #include <asm/arch/sys_proto.h>
 #include <asm/io.h>
board/xilinx/zynqmp/zynqmp.c +1 -1
index f370fb7347a5..c4050af2a5a5 100644
@@ -4,7 +4,7 @@
  * Michal Simek <[email protected]>
  */
 
-#include <common.h>
+#include <config.h>
 #include <command.h>
 #include <cpu_func.h>
 #include <debug_uart.h>
board/xilinx/zynqmp_r5/board.c +1 -1
index 5c5a2e93863f..0c62b0013c46 100644
@@ -3,9 +3,9 @@
  * (C) Copyright 2018 Xilinx, Inc. (Michal Simek)
  */
 
-#include <common.h>
 #include <fdtdec.h>
 #include <init.h>
+#include <linux/errno.h>
 
 int board_init(void)
 {
Signature · 1 line
2.34.1
author
#192 lore raw

PATCH 149/149 board: zyxel: 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: Luka Perkov <[email protected]>

---
 board/zyxel/nsa310s/nsa310s.c | 1 -
 board/zyxel/nsa325/nsa325.c   | 1 -
 2 files changed, 2 deletions(-)
board/zyxel/nsa310s/nsa310s.c +0 -1
index b3ea6608914a..d018b5738242 100644
@@ -4,7 +4,6 @@
  * Copyright (C) 2015 Gerald Kerma <[email protected]>
  */
 
-#include <common.h>
 #include <init.h>
 #include <netdev.h>
 #include <asm/arch/cpu.h>
board/zyxel/nsa325/nsa325.c +0 -1
index f5f63ee5d3b0..38340b33c8bf 100644
@@ -14,7 +14,6 @@
  * Marvell Semiconductor <www.marvell.com>
  */
 
-#include <common.h>
 #include <asm/arch/soc.h>
 #include <asm/arch/mpp.h>
 #include <netdev.h>
Signature · 1 line
2.34.1
Reviewed-by Tested-by on v1 149/149
#193 lore raw

Re: [PATCH 149/149] board: zyxel: 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: Luka Perkov <[email protected]>

Quoted 32 lines
---
 board/zyxel/nsa310s/nsa310s.c | 1 -
 board/zyxel/nsa325/nsa325.c   | 1 -
 2 files changed, 2 deletions(-)
board/zyxel/nsa310s/nsa310s.c +0 -1
index b3ea6608914a..d018b5738242 100644
@@ -4,7 +4,6 @@
  * Copyright (C) 2015 Gerald Kerma <[email protected]>
  */
 
-#include <common.h>
 #include <init.h>
 #include <netdev.h>
 #include <asm/arch/cpu.h>
board/zyxel/nsa325/nsa325.c +0 -2
index f5f63ee5d3b0..38340b33c8bf 100644
@@ -14,7 +14,6 @@
  * Marvell Semiconductor <www.marvell.com>
  */
 
-#include <common.h>
 #include <asm/arch/soc.h>
 #include <asm/arch/mpp.h>
 #include <netdev.h>
--

2.34.1

#194 lore raw
In reply to Tom Rini

Hi Tom,

This patch does not apply cleanly on the master branch. Perhaps this patch series has a dependency on another previous patch? Please see below at arch/arm/lib/bdinfo.c.

Quoted 181 lines · Tom Rini

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 -0
index 40255ace4051..7c49462c8eb4 100644

arch/arm/lib/bdinfo.c line 14

Quoted 7 lines
arch/arm/lib/bdinfo.c +0 -1
@@ -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;

Applying the patch spits out error right here, since currently on master branch, arch/arm/lib/bdinfo.c include statements are:

#include <common.h>
#include <init.h>
#include <asm/global_data.h>
#include <asm/mach-types.h>

All the best,
Tony

author
#196 lore raw
In reply to Tom Rini
Quoted 8 lines · Tom Rini

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.

[...]

Applied to u-boot/next, thanks!

Signature · 1 line
Tom