]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
board: compulab: Remove <common.h> and add needed includes
authorTom Rini <trini@konsulko.com>
Wed, 1 May 2024 02:41:28 +0000 (20:41 -0600)
committerTom Rini <trini@konsulko.com>
Mon, 6 May 2024 21:07:49 +0000 (15:07 -0600)
Remove <common.h> from this board vendor directory and when needed
add missing include files directly.

Signed-off-by: Tom Rini <trini@konsulko.com>
22 files changed:
board/compulab/cl-som-imx7/cl-som-imx7.c
board/compulab/cl-som-imx7/common.c
board/compulab/cl-som-imx7/mux.c
board/compulab/cl-som-imx7/spl.c
board/compulab/cm_fx6/cm_fx6.c
board/compulab/cm_fx6/common.c
board/compulab/cm_fx6/spl.c
board/compulab/cm_t43/cm_t43.c
board/compulab/cm_t43/mux.c
board/compulab/cm_t43/spl.c
board/compulab/common/common.c
board/compulab/common/eeprom.c
board/compulab/common/omap3_smc911x.c
board/compulab/imx8mm-cl-iot-gate/ddr/ddr.c
board/compulab/imx8mm-cl-iot-gate/ddr/lpddr4_timing_01061010.1_2.c
board/compulab/imx8mm-cl-iot-gate/ddr/lpddr4_timing_01061010.c
board/compulab/imx8mm-cl-iot-gate/ddr/lpddr4_timing_ff000110.c
board/compulab/imx8mm-cl-iot-gate/ddr/lpddr4_timing_ff020008.c
board/compulab/imx8mm-cl-iot-gate/eeprom_spl.c
board/compulab/imx8mm-cl-iot-gate/imx8mm-cl-iot-gate.c
board/compulab/imx8mm-cl-iot-gate/spl.c
board/compulab/trimslice/trimslice.c

index af19a658b542133054a3114940b6c38bd0cdf02b..7853c4d024a35fa17668518e02dcf9e108df6b05 100644 (file)
@@ -7,7 +7,7 @@
  * Author: Uri Mashiach <uri.mashiach@compulab.co.il>
  */
 
-#include <common.h>
+#include <config.h>
 #include <env.h>
 #include <init.h>
 #include <mmc.h>
index 40ba0f7a96056ee9f495457785e303b156920789..ae8e834662071e1c28e786f5d1d4709aca1d683a 100644 (file)
@@ -7,7 +7,6 @@
  * Author: Uri Mashiach <uri.mashiach@compulab.co.il>
  */
 
-#include <common.h>
 #include <fsl_esdhc_imx.h>
 #include <asm-generic/gpio.h>
 #include "common.h"
index 18f16a48738c39024f1acb2421c4247abcaafab5..25123ee145a647d0a99677cd60b7b10b4556d451 100644 (file)
@@ -7,7 +7,7 @@
  * Author: Uri Mashiach <uri.mashiach@compulab.co.il>
  */
 
-#include <common.h>
+#include <linux/kernel.h>
 #include <asm/mach-imx/iomux-v3.h>
 #include <asm/arch-mx7/mx7-pins.h>
 
index 98c3b831f1e1aca28d3968c8e790737dacef4c7d..9b6bbb974da743756429ca410add6673675e69cc 100644 (file)
@@ -7,7 +7,6 @@
  * Author: Uri Mashiach <uri.mashiach@compulab.co.il>
  */
 
-#include <common.h>
 #include <hang.h>
 #include <init.h>
 #include <spl.h>
index 7bce09e432c045f4950dc27c97d807ce444f7ceb..4a6cc3e56308693ce4d2204b1cdc97a9327f1e4c 100644 (file)
@@ -7,7 +7,7 @@
  * Author: Nikita Kiryanov <nikita@compulab.co.il>
  */
 
-#include <common.h>
+#include <config.h>
 #include <ahci.h>
 #include <dm.h>
 #include <dwc_ahsata.h>
index ed8c7a3bf5f870c13530f704d27e1f74995a0e99..a71861b1731b3efaf562e0d5b4dafe4fb95032b7 100644 (file)
@@ -7,7 +7,6 @@
  * Author: Nikita Kiryanov <nikita@compulab.co.il>
  */
 
-#include <common.h>
 #include <asm/arch/sys_proto.h>
 #include <asm/gpio.h>
 #include <asm/mach-imx/spi.h>
index 079f196200e585756e3fc1800699e2bdca9b62d4..b11bf2d28c68da5de9b29d1d1f77e10c20bd786b 100644 (file)
@@ -7,7 +7,6 @@
  * Author: Nikita Kiryanov <nikita@compulab.co.il>
  */
 
-#include <common.h>
 #include <clock_legacy.h>
 #include <hang.h>
 #include <init.h>
index 5df378a62e3c293e6d565c67fd33c8d679d36aa1..181581926c37f5cbec3444b21c304f7186839c4b 100644 (file)
@@ -3,7 +3,7 @@
  * Copyright (C) 2015 Compulab, Ltd.
  */
 
-#include <common.h>
+#include <config.h>
 #include <i2c.h>
 #include <miiphy.h>
 #include <cpsw.h>
index 778ea05e84cb699372bebaa3c7e9904cdfeb853e..f10910565d500a0c72e96cbf740a1ab825170634 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2015 Compulab, Ltd.
  */
 
-#include <common.h>
 #include <asm/arch/sys_proto.h>
 #include <asm/arch/mux.h>
 #include "board.h"
index a6223a477fef689f4dcecfae15f38f5190965102..212bfeb5c307b5ffe198e528ae7be7b9eb7289c5 100644 (file)
@@ -3,7 +3,7 @@
  * Copyright (C) 2016 Compulab, Ltd.
  */
 
-#include <common.h>
+#include <config.h>
 #include <hang.h>
 #include <init.h>
 #include <spl.h>
index 528c97df19a4cdf1c82adef340cf7394fdd5ad04..6ffebe6bdb413a6d863556907b9e682264e612ea 100644 (file)
@@ -5,7 +5,6 @@
  * Authors: Igor Grinberg <grinberg@compulab.co.il>
  */
 
-#include <common.h>
 #include <malloc.h>
 #include <asm/bootm.h>
 #include <asm/gpio.h>
index 4c752821d6cdddcb6bcd385e0f2e975f46758b9b..efdaf342d5c31be4ac2cdeb728615885946f31dc 100644 (file)
@@ -6,12 +6,13 @@
  *         Igor Grinberg <grinberg@compulab.co.il>
  */
 
-#include <common.h>
 #include <i2c.h>
+#include <vsprintf.h>
 #include <eeprom_layout.h>
 #include <eeprom_field.h>
 #include <asm/setup.h>
 #include <linux/kernel.h>
+#include <linux/string.h>
 #include "eeprom.h"
 
 #define EEPROM_LAYOUT_VER_OFFSET       44
index f0d365272c1bed56bae660a608528f12f908c4ca..411fc4943bacb579d538e859baf2fc6d8c3fafa3 100644 (file)
@@ -5,7 +5,6 @@
  * Authors: Igor Grinberg <grinberg@compulab.co.il>
  */
 
-#include <common.h>
 #include <netdev.h>
 #include <linux/delay.h>
 
index b230478b611aa52be346014befcc04af96c4b7de..99d3bf3af3bc88cc518a55864ea1e2337cd8ed55 100644 (file)
@@ -5,7 +5,6 @@
  *
  */
 
-#include <common.h>
 #include <spl.h>
 #include <asm/io.h>
 #include <errno.h>
index 9019a1f2035cd8dfd42a92b99edcbe0485aa9f3c..efcc95c739fd60354e446bb30584a81e3cab5559 100644 (file)
@@ -7,7 +7,6 @@
  */
 
 #include <linux/kernel.h>
-#include <common.h>
 #include <asm/arch/ddr.h>
 #include <asm/arch/lpddr4_define.h>
 
index 5141c04f12dc89bb24155934838072e8aa1e7d7b..67f59ed9407f98883156c2ae06656858a334e2f8 100644 (file)
@@ -7,7 +7,6 @@
  */
 
 #include <linux/kernel.h>
-#include <common.h>
 #include <asm/arch/ddr.h>
 #include <asm/arch/lpddr4_define.h>
 
index 2334722497db4df9a4104da5775e52cd129f9d7d..273ee89c0bc692e9d7802c51e02ab7153b749ad4 100644 (file)
@@ -7,7 +7,6 @@
  */
 
 #include <linux/kernel.h>
-#include <common.h>
 #include <asm/arch/ddr.h>
 #include <asm/arch/lpddr4_define.h>
 
index e65445e0155906b7772f7def3e90dd0ea83e253d..1243800b32414ba87bfad52866ad2d795e2f8618 100644 (file)
@@ -7,7 +7,6 @@
  */
 
 #include <linux/kernel.h>
-#include <common.h>
 #include <asm/arch/ddr.h>
 #include <asm/arch/lpddr4_define.h>
 
index 90cc33a6e4605f4f1eb9284feee1882a3acd3b08..1256848f9a982a40bf1fbc460eb3d3ec65a84c3a 100644 (file)
@@ -1,7 +1,7 @@
 // SPDX-License-Identifier: GPL-2.0+
 /* (C) Copyright 2019 CompuLab, Ltd. <www.compulab.co.il> */
 
-#include <common.h>
+#include <config.h>
 #include <i2c.h>
 #include <linux/kernel.h>
 #include <asm/arch/imx8mq_pins.h>
index af070ec315c4d1a342e99fa2bfda7b251aed8fcc..ba15873414283b4c334bb9bec5ff03a052706696 100644 (file)
@@ -4,7 +4,6 @@
  * Copyright 2020 Linaro
  */
 
-#include <common.h>
 #include <efi.h>
 #include <efi_loader.h>
 #include <env.h>
index 19c1acd8a5254da7bcd8348da2e7cec62cca574f..6d9af2538b630a0939d557ab35368b803dfe2fb9 100644 (file)
@@ -4,7 +4,6 @@
  * Copyright 2020 Linaro
  */
 
-#include <common.h>
 #include <command.h>
 #include <cpu_func.h>
 #include <hang.h>
index 21ff0cda7f70ac47ef85b1b99eeb9ea4dde89e3c..af05c0c0f059a75edcf59269f255b53a264f76ef 100644 (file)
@@ -4,7 +4,6 @@
  *  NVIDIA Corporation <www.nvidia.com>
  */
 
-#include <common.h>
 #include <asm/io.h>
 #include <asm/arch/tegra.h>
 #include <asm/arch/clock.h>