diff mbox series

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

Message ID 20240501024316.1767971-103-trini@konsulko.com
State Accepted
Commit 9ac776b27c570de1d979199ac671e33457c7abe1
Delegated to: Tom Rini
Headers show
Series [001/149] global: Make <asm/global_data.h> include <asm/u-boot.h> | expand

Commit Message

Tom Rini May 1, 2024, 2:42 a.m. UTC
Remove <common.h> from this board vendor directory and when needed
add missing include files directly.

Signed-off-by: Tom Rini <trini@konsulko.com>
---
Cc: Martyn Welch <martyn.welch@collabora.com>
Cc: Parthiban Nallathambi <parthitce@gmail.com>
Cc: "Albert ARIBAUD (3ADEV)" <albert.aribaud@3adev.fr>
Cc: Niel Fourie <lusus@denx.de>
Cc: Teresa Remmet <t.remmet@phytec.de>
Cc: Wadim Egorov <w.egorov@phytec.de>
Cc: Simon Glass <sjg@chromium.org>
Cc: Philipp Tomsich <philipp.tomsich@vrull.eu>
Cc: Kever Yang <kever.yang@rock-chips.com>
Cc: Yannic Moog <y.moog@phytec.de>
Cc: Daniel Schultz <d.schultz@phytec.de>
Cc: Benjamin Hahn <B.Hahn@phytec.de>
Cc: Fabio Estevam <festevam@gmail.com>
---
 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(-)

Comments

Wadim Egorov May 3, 2024, 8:47 a.m. UTC | #1
Am 01.05.24 um 04:42 schrieb Tom Rini:
> Remove <common.h> from this board vendor directory and when needed
> add missing include files directly.
> 
> Signed-off-by: Tom Rini <trini@konsulko.com>

Acked-by: Wadim Egorov <w.egorov@phytec.de>

> ---
> Cc: Martyn Welch <martyn.welch@collabora.com>
> Cc: Parthiban Nallathambi <parthitce@gmail.com>
> Cc: "Albert ARIBAUD (3ADEV)" <albert.aribaud@3adev.fr>
> Cc: Niel Fourie <lusus@denx.de>
> Cc: Teresa Remmet <t.remmet@phytec.de>
> Cc: Wadim Egorov <w.egorov@phytec.de>
> Cc: Simon Glass <sjg@chromium.org>
> Cc: Philipp Tomsich <philipp.tomsich@vrull.eu>
> Cc: Kever Yang <kever.yang@rock-chips.com>
> Cc: Yannic Moog <y.moog@phytec.de>
> Cc: Daniel Schultz <d.schultz@phytec.de>
> Cc: Benjamin Hahn <B.Hahn@phytec.de>
> Cc: Fabio Estevam <festevam@gmail.com>
> ---
>   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(-)
> 
> diff --git a/board/phytec/common/imx8m_som_detection.c b/board/phytec/common/imx8m_som_detection.c
> index ee34a5b95791..bfd60ffb7773 100644
> --- a/board/phytec/common/imx8m_som_detection.c
> +++ b/board/phytec/common/imx8m_som_detection.c
> @@ -4,7 +4,6 @@
>    * Author: Teresa Remmet <t.remmet@phytec.de>
>    */
>   
> -#include <common.h>
>   #include <asm/arch/sys_proto.h>
>   #include <dm/device.h>
>   #include <dm/uclass.h>
> diff --git a/board/phytec/common/phytec_som_detection.c b/board/phytec/common/phytec_som_detection.c
> index 78c173df20d4..b14bb3dbb7fa 100644
> --- a/board/phytec/common/phytec_som_detection.c
> +++ b/board/phytec/common/phytec_som_detection.c
> @@ -4,7 +4,6 @@
>    * Author: Teresa Remmet <t.remmet@phytec.de>
>    */
>   
> -#include <common.h>
>   #include <dm/device.h>
>   #include <dm/uclass.h>
>   #include <i2c.h>
> diff --git a/board/phytec/pcl063/spl.c b/board/phytec/pcl063/spl.c
> index b6d459fdfce6..b98c46dbcbd4 100644
> --- a/board/phytec/pcl063/spl.c
> +++ b/board/phytec/pcl063/spl.c
> @@ -6,7 +6,7 @@
>    * Copyright (C) 2015-2016 Stefan Roese <sr@denx.de>
>    */
>   
> -#include <common.h>
> +#include <config.h>
>   #include <init.h>
>   #include <spl.h>
>   #include <asm/arch/clock.h>
> diff --git a/board/phytec/pcm052/pcm052.c b/board/phytec/pcm052/pcm052.c
> index 0f7235979b04..20f2aac332da 100644
> --- a/board/phytec/pcm052/pcm052.c
> +++ b/board/phytec/pcm052/pcm052.c
> @@ -6,7 +6,6 @@
>    * Copyright 2013 Freescale Semiconductor, Inc.
>    */
>   
> -#include <common.h>
>   #include <init.h>
>   #include <asm/global_data.h>
>   #include <asm/io.h>
> diff --git a/board/phytec/pcm058/pcm058.c b/board/phytec/pcm058/pcm058.c
> index b37c6fe218da..ecc5b75d8d42 100644
> --- a/board/phytec/pcm058/pcm058.c
> +++ b/board/phytec/pcm058/pcm058.c
> @@ -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>
> diff --git a/board/phytec/phycore_am335x_r2/board.c b/board/phytec/phycore_am335x_r2/board.c
> index 5700effbd3f6..2022525651dc 100644
> --- a/board/phytec/phycore_am335x_r2/board.c
> +++ b/board/phytec/phycore_am335x_r2/board.c
> @@ -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>
> diff --git a/board/phytec/phycore_am335x_r2/mux.c b/board/phytec/phycore_am335x_r2/mux.c
> index 7091c985ba12..bb1c48da0fe5 100644
> --- a/board/phytec/phycore_am335x_r2/mux.c
> +++ b/board/phytec/phycore_am335x_r2/mux.c
> @@ -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>
> diff --git a/board/phytec/phycore_imx8mm/phycore-imx8mm.c b/board/phytec/phycore_imx8mm/phycore-imx8mm.c
> index ef6472916903..06cffbca3a69 100644
> --- a/board/phytec/phycore_imx8mm/phycore-imx8mm.c
> +++ b/board/phytec/phycore_imx8mm/phycore-imx8mm.c
> @@ -4,7 +4,6 @@
>    * Author: Teresa Remmet <t.remmet@phytec.de>
>    */
>   
> -#include <common.h>
>   #include <asm/arch/sys_proto.h>
>   #include <asm/global_data.h>
>   #include <asm/io.h>
> diff --git a/board/phytec/phycore_imx8mm/spl.c b/board/phytec/phycore_imx8mm/spl.c
> index 690a51f7a72e..8d858590a39b 100644
> --- a/board/phytec/phycore_imx8mm/spl.c
> +++ b/board/phytec/phycore_imx8mm/spl.c
> @@ -4,7 +4,6 @@
>    * Author: Teresa Remmet <t.remmet@phytec.de>
>    */
>   
> -#include <common.h>
>   #include <asm/arch/clock.h>
>   #include <asm/arch/ddr.h>
>   #include <asm/arch/imx8mm_pins.h>
> diff --git a/board/phytec/phycore_imx8mp/phycore-imx8mp.c b/board/phytec/phycore_imx8mp/phycore-imx8mp.c
> index dbdd6bb79373..35683591433c 100644
> --- a/board/phytec/phycore_imx8mp/phycore-imx8mp.c
> +++ b/board/phytec/phycore_imx8mp/phycore-imx8mp.c
> @@ -4,7 +4,6 @@
>    * Author: Teresa Remmet <t.remmet@phytec.de>
>    */
>   
> -#include <common.h>
>   #include <asm/arch/sys_proto.h>
>   #include <asm/global_data.h>
>   #include <asm/io.h>
> diff --git a/board/phytec/phycore_imx8mp/spl.c b/board/phytec/phycore_imx8mp/spl.c
> index df158024654e..352f803e4541 100644
> --- a/board/phytec/phycore_imx8mp/spl.c
> +++ b/board/phytec/phycore_imx8mp/spl.c
> @@ -4,7 +4,6 @@
>    * Author: Teresa Remmet <t.remmet@phytec.de>
>    */
>   
> -#include <common.h>
>   #include <asm/arch/clock.h>
>   #include <asm/arch/ddr.h>
>   #include <asm/arch/imx8mp_pins.h>
> diff --git a/board/phytec/phycore_rk3288/phycore-rk3288.c b/board/phytec/phycore_rk3288/phycore-rk3288.c
> index 1ddb4a4f8085..a970634b4c33 100644
> --- a/board/phytec/phycore_rk3288/phycore-rk3288.c
> +++ b/board/phytec/phycore_rk3288/phycore-rk3288.c
> @@ -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>
Teresa Remmet May 7, 2024, 7:28 a.m. UTC | #2
Am Dienstag, dem 30.04.2024 um 20:42 -0600 schrieb Tom Rini:
> Remove <common.h> from this board vendor directory and when needed
> add missing include files directly.
> 
> Signed-off-by: Tom Rini <trini@konsulko.com>

Acked-by: Teresa Remmet <t.remmet@phytec.de>

> ---
> Cc: Martyn Welch <martyn.welch@collabora.com>
> Cc: Parthiban Nallathambi <parthitce@gmail.com>
> Cc: "Albert ARIBAUD (3ADEV)" <albert.aribaud@3adev.fr>
> Cc: Niel Fourie <lusus@denx.de>
> Cc: Teresa Remmet <t.remmet@phytec.de>
> Cc: Wadim Egorov <w.egorov@phytec.de>
> Cc: Simon Glass <sjg@chromium.org>
> Cc: Philipp Tomsich <philipp.tomsich@vrull.eu>
> Cc: Kever Yang <kever.yang@rock-chips.com>
> Cc: Yannic Moog <y.moog@phytec.de>
> Cc: Daniel Schultz <d.schultz@phytec.de>
> Cc: Benjamin Hahn <B.Hahn@phytec.de>
> Cc: Fabio Estevam <festevam@gmail.com>
> ---
>  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(-)
> 
> diff --git a/board/phytec/common/imx8m_som_detection.c
> b/board/phytec/common/imx8m_som_detection.c
> index ee34a5b95791..bfd60ffb7773 100644
> --- a/board/phytec/common/imx8m_som_detection.c
> +++ b/board/phytec/common/imx8m_som_detection.c
> @@ -4,7 +4,6 @@
>   * Author: Teresa Remmet <t.remmet@phytec.de>
>   */
>  
> -#include <common.h>
>  #include <asm/arch/sys_proto.h>
>  #include <dm/device.h>
>  #include <dm/uclass.h>
> diff --git a/board/phytec/common/phytec_som_detection.c
> b/board/phytec/common/phytec_som_detection.c
> index 78c173df20d4..b14bb3dbb7fa 100644
> --- a/board/phytec/common/phytec_som_detection.c
> +++ b/board/phytec/common/phytec_som_detection.c
> @@ -4,7 +4,6 @@
>   * Author: Teresa Remmet <t.remmet@phytec.de>
>   */
>  
> -#include <common.h>
>  #include <dm/device.h>
>  #include <dm/uclass.h>
>  #include <i2c.h>
> diff --git a/board/phytec/pcl063/spl.c b/board/phytec/pcl063/spl.c
> index b6d459fdfce6..b98c46dbcbd4 100644
> --- a/board/phytec/pcl063/spl.c
> +++ b/board/phytec/pcl063/spl.c
> @@ -6,7 +6,7 @@
>   * Copyright (C) 2015-2016 Stefan Roese <sr@denx.de>
>   */
>  
> -#include <common.h>
> +#include <config.h>
>  #include <init.h>
>  #include <spl.h>
>  #include <asm/arch/clock.h>
> diff --git a/board/phytec/pcm052/pcm052.c
> b/board/phytec/pcm052/pcm052.c
> index 0f7235979b04..20f2aac332da 100644
> --- a/board/phytec/pcm052/pcm052.c
> +++ b/board/phytec/pcm052/pcm052.c
> @@ -6,7 +6,6 @@
>   * Copyright 2013 Freescale Semiconductor, Inc.
>   */
>  
> -#include <common.h>
>  #include <init.h>
>  #include <asm/global_data.h>
>  #include <asm/io.h>
> diff --git a/board/phytec/pcm058/pcm058.c
> b/board/phytec/pcm058/pcm058.c
> index b37c6fe218da..ecc5b75d8d42 100644
> --- a/board/phytec/pcm058/pcm058.c
> +++ b/board/phytec/pcm058/pcm058.c
> @@ -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>
> diff --git a/board/phytec/phycore_am335x_r2/board.c
> b/board/phytec/phycore_am335x_r2/board.c
> index 5700effbd3f6..2022525651dc 100644
> --- a/board/phytec/phycore_am335x_r2/board.c
> +++ b/board/phytec/phycore_am335x_r2/board.c
> @@ -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>
> diff --git a/board/phytec/phycore_am335x_r2/mux.c
> b/board/phytec/phycore_am335x_r2/mux.c
> index 7091c985ba12..bb1c48da0fe5 100644
> --- a/board/phytec/phycore_am335x_r2/mux.c
> +++ b/board/phytec/phycore_am335x_r2/mux.c
> @@ -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>
> diff --git a/board/phytec/phycore_imx8mm/phycore-imx8mm.c
> b/board/phytec/phycore_imx8mm/phycore-imx8mm.c
> index ef6472916903..06cffbca3a69 100644
> --- a/board/phytec/phycore_imx8mm/phycore-imx8mm.c
> +++ b/board/phytec/phycore_imx8mm/phycore-imx8mm.c
> @@ -4,7 +4,6 @@
>   * Author: Teresa Remmet <t.remmet@phytec.de>
>   */
>  
> -#include <common.h>
>  #include <asm/arch/sys_proto.h>
>  #include <asm/global_data.h>
>  #include <asm/io.h>
> diff --git a/board/phytec/phycore_imx8mm/spl.c
> b/board/phytec/phycore_imx8mm/spl.c
> index 690a51f7a72e..8d858590a39b 100644
> --- a/board/phytec/phycore_imx8mm/spl.c
> +++ b/board/phytec/phycore_imx8mm/spl.c
> @@ -4,7 +4,6 @@
>   * Author: Teresa Remmet <t.remmet@phytec.de>
>   */
>  
> -#include <common.h>
>  #include <asm/arch/clock.h>
>  #include <asm/arch/ddr.h>
>  #include <asm/arch/imx8mm_pins.h>
> diff --git a/board/phytec/phycore_imx8mp/phycore-imx8mp.c
> b/board/phytec/phycore_imx8mp/phycore-imx8mp.c
> index dbdd6bb79373..35683591433c 100644
> --- a/board/phytec/phycore_imx8mp/phycore-imx8mp.c
> +++ b/board/phytec/phycore_imx8mp/phycore-imx8mp.c
> @@ -4,7 +4,6 @@
>   * Author: Teresa Remmet <t.remmet@phytec.de>
>   */
>  
> -#include <common.h>
>  #include <asm/arch/sys_proto.h>
>  #include <asm/global_data.h>
>  #include <asm/io.h>
> diff --git a/board/phytec/phycore_imx8mp/spl.c
> b/board/phytec/phycore_imx8mp/spl.c
> index df158024654e..352f803e4541 100644
> --- a/board/phytec/phycore_imx8mp/spl.c
> +++ b/board/phytec/phycore_imx8mp/spl.c
> @@ -4,7 +4,6 @@
>   * Author: Teresa Remmet <t.remmet@phytec.de>
>   */
>  
> -#include <common.h>
>  #include <asm/arch/clock.h>
>  #include <asm/arch/ddr.h>
>  #include <asm/arch/imx8mp_pins.h>
> diff --git a/board/phytec/phycore_rk3288/phycore-rk3288.c
> b/board/phytec/phycore_rk3288/phycore-rk3288.c
> index 1ddb4a4f8085..a970634b4c33 100644
> --- a/board/phytec/phycore_rk3288/phycore-rk3288.c
> +++ b/board/phytec/phycore_rk3288/phycore-rk3288.c
> @@ -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>
diff mbox series

Patch

diff --git a/board/phytec/common/imx8m_som_detection.c b/board/phytec/common/imx8m_som_detection.c
index ee34a5b95791..bfd60ffb7773 100644
--- a/board/phytec/common/imx8m_som_detection.c
+++ b/board/phytec/common/imx8m_som_detection.c
@@ -4,7 +4,6 @@ 
  * Author: Teresa Remmet <t.remmet@phytec.de>
  */
 
-#include <common.h>
 #include <asm/arch/sys_proto.h>
 #include <dm/device.h>
 #include <dm/uclass.h>
diff --git a/board/phytec/common/phytec_som_detection.c b/board/phytec/common/phytec_som_detection.c
index 78c173df20d4..b14bb3dbb7fa 100644
--- a/board/phytec/common/phytec_som_detection.c
+++ b/board/phytec/common/phytec_som_detection.c
@@ -4,7 +4,6 @@ 
  * Author: Teresa Remmet <t.remmet@phytec.de>
  */
 
-#include <common.h>
 #include <dm/device.h>
 #include <dm/uclass.h>
 #include <i2c.h>
diff --git a/board/phytec/pcl063/spl.c b/board/phytec/pcl063/spl.c
index b6d459fdfce6..b98c46dbcbd4 100644
--- a/board/phytec/pcl063/spl.c
+++ b/board/phytec/pcl063/spl.c
@@ -6,7 +6,7 @@ 
  * Copyright (C) 2015-2016 Stefan Roese <sr@denx.de>
  */
 
-#include <common.h>
+#include <config.h>
 #include <init.h>
 #include <spl.h>
 #include <asm/arch/clock.h>
diff --git a/board/phytec/pcm052/pcm052.c b/board/phytec/pcm052/pcm052.c
index 0f7235979b04..20f2aac332da 100644
--- a/board/phytec/pcm052/pcm052.c
+++ b/board/phytec/pcm052/pcm052.c
@@ -6,7 +6,6 @@ 
  * Copyright 2013 Freescale Semiconductor, Inc.
  */
 
-#include <common.h>
 #include <init.h>
 #include <asm/global_data.h>
 #include <asm/io.h>
diff --git a/board/phytec/pcm058/pcm058.c b/board/phytec/pcm058/pcm058.c
index b37c6fe218da..ecc5b75d8d42 100644
--- a/board/phytec/pcm058/pcm058.c
+++ b/board/phytec/pcm058/pcm058.c
@@ -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>
diff --git a/board/phytec/phycore_am335x_r2/board.c b/board/phytec/phycore_am335x_r2/board.c
index 5700effbd3f6..2022525651dc 100644
--- a/board/phytec/phycore_am335x_r2/board.c
+++ b/board/phytec/phycore_am335x_r2/board.c
@@ -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>
diff --git a/board/phytec/phycore_am335x_r2/mux.c b/board/phytec/phycore_am335x_r2/mux.c
index 7091c985ba12..bb1c48da0fe5 100644
--- a/board/phytec/phycore_am335x_r2/mux.c
+++ b/board/phytec/phycore_am335x_r2/mux.c
@@ -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>
diff --git a/board/phytec/phycore_imx8mm/phycore-imx8mm.c b/board/phytec/phycore_imx8mm/phycore-imx8mm.c
index ef6472916903..06cffbca3a69 100644
--- a/board/phytec/phycore_imx8mm/phycore-imx8mm.c
+++ b/board/phytec/phycore_imx8mm/phycore-imx8mm.c
@@ -4,7 +4,6 @@ 
  * Author: Teresa Remmet <t.remmet@phytec.de>
  */
 
-#include <common.h>
 #include <asm/arch/sys_proto.h>
 #include <asm/global_data.h>
 #include <asm/io.h>
diff --git a/board/phytec/phycore_imx8mm/spl.c b/board/phytec/phycore_imx8mm/spl.c
index 690a51f7a72e..8d858590a39b 100644
--- a/board/phytec/phycore_imx8mm/spl.c
+++ b/board/phytec/phycore_imx8mm/spl.c
@@ -4,7 +4,6 @@ 
  * Author: Teresa Remmet <t.remmet@phytec.de>
  */
 
-#include <common.h>
 #include <asm/arch/clock.h>
 #include <asm/arch/ddr.h>
 #include <asm/arch/imx8mm_pins.h>
diff --git a/board/phytec/phycore_imx8mp/phycore-imx8mp.c b/board/phytec/phycore_imx8mp/phycore-imx8mp.c
index dbdd6bb79373..35683591433c 100644
--- a/board/phytec/phycore_imx8mp/phycore-imx8mp.c
+++ b/board/phytec/phycore_imx8mp/phycore-imx8mp.c
@@ -4,7 +4,6 @@ 
  * Author: Teresa Remmet <t.remmet@phytec.de>
  */
 
-#include <common.h>
 #include <asm/arch/sys_proto.h>
 #include <asm/global_data.h>
 #include <asm/io.h>
diff --git a/board/phytec/phycore_imx8mp/spl.c b/board/phytec/phycore_imx8mp/spl.c
index df158024654e..352f803e4541 100644
--- a/board/phytec/phycore_imx8mp/spl.c
+++ b/board/phytec/phycore_imx8mp/spl.c
@@ -4,7 +4,6 @@ 
  * Author: Teresa Remmet <t.remmet@phytec.de>
  */
 
-#include <common.h>
 #include <asm/arch/clock.h>
 #include <asm/arch/ddr.h>
 #include <asm/arch/imx8mp_pins.h>
diff --git a/board/phytec/phycore_rk3288/phycore-rk3288.c b/board/phytec/phycore_rk3288/phycore-rk3288.c
index 1ddb4a4f8085..a970634b4c33 100644
--- a/board/phytec/phycore_rk3288/phycore-rk3288.c
+++ b/board/phytec/phycore_rk3288/phycore-rk3288.c
@@ -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>