]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
board: dhelectronics: Remove <common.h> and add needed includes
authorTom Rini <trini@konsulko.com>
Wed, 1 May 2024 02:41:37 +0000 (20:41 -0600)
committerTom Rini <trini@konsulko.com>
Mon, 6 May 2024 21:07:50 +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>
board/dhelectronics/common/dh_common.c
board/dhelectronics/common/dh_imx.c
board/dhelectronics/dh_imx6/dh_imx6.c
board/dhelectronics/dh_imx6/dh_imx6_spl.c
board/dhelectronics/dh_imx8mp/common.c
board/dhelectronics/dh_imx8mp/imx8mp_dhcom_pdk2.c
board/dhelectronics/dh_imx8mp/spl.c
board/dhelectronics/dh_stm32mp1/board.c

index 34094a020b0754ffef1340a34f3991b5fbdca6d6..32c50b4f0f59c53e430dc648bc7cdd6e272c67e9 100644 (file)
@@ -4,7 +4,6 @@
  * Copyright 2022 DENX Software Engineering GmbH, Philip Oberfichtner <pro@denx.de>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <i2c_eeprom.h>
 #include <net.h>
index 7f451bad59c7f8b6cd0ee5b194b60e1acadbaccd..3d6487dd0d8c7d8757490c274c063268083bcb1f 100644 (file)
@@ -4,9 +4,9 @@
  * Copyright 2022 DENX Software Engineering GmbH, Philip Oberfichtner <pro@denx.de>
  */
 
+#include <linux/errno.h>
 #include <asm/arch/imx-regs.h>
 #include <asm/arch/sys_proto.h>
-#include <common.h>
 #include <net.h>
 #include "dh_imx.h"
 
index 9dcfcec9e9e6ce512884af6a3f9165eb23dd101c..c8dd30dfeaf532e32cb9f0cadd2b12a44625b4b7 100644 (file)
@@ -5,7 +5,6 @@
  * Copyright (C) 2017 Marek Vasut <marex@denx.de>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <image.h>
 #include <init.h>
index e6d5657c62d00f52a00cae34b207bab851f61bed..3a5495ea18e3a66448166b66616bb07c881b24c1 100644 (file)
@@ -5,7 +5,6 @@
  * Copyright (C) 2017 Marek Vasut <marex@denx.de>
  */
 
-#include <common.h>
 #include <cpu_func.h>
 #include <init.h>
 #include <asm/arch/clock.h>
index 44456da681ce56183cdeac0c65b729e82b5b387a..f6db9f678042f100f2401ae077f5a426736a297b 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright 2022 Marek Vasut <marex@denx.de>
  */
 
-#include <common.h>
 #include <asm/io.h>
 #include <asm-generic/gpio.h>
 
index ff2c0e872151902372a7a3cc3238e318d4cd925e..c635735d89cb92d748014a39c974290ebd28d1b3 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright 2022 Marek Vasut <marex@denx.de>
  */
 
-#include <common.h>
 #include <asm/arch/clock.h>
 #include <asm/arch/ddr.h>
 #include <asm/arch/sys_proto.h>
index 7d228da8e5b73181adf28754e0cc2f0b6a14844a..714f846521e0b9308c9fbacc039df36f773c3409 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright 2022 Marek Vasut <marex@denx.de>
  */
 
-#include <common.h>
 #include <hang.h>
 #include <image.h>
 #include <init.h>
index 22af423536d5a016ca5642d099ff2eaef9c57208..20c9d70737ec6d54d756560a2492bf8ac0395f99 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2018, STMicroelectronics - All Rights Reserved
  */
 
-#include <common.h>
 #include <adc.h>
 #include <log.h>
 #include <net.h>