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

Tom Rini trini at konsulko.com
Wed May 1 04:42:20 CEST 2024


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

Signed-off-by: Tom Rini <trini at konsulko.com>
---
Cc: Martyn Welch <martyn.welch at collabora.com>
Cc: Ian Ray <ian.ray at gehealthcare.com>
---
 board/msc/sm2s_imx8mp/sm2s_imx8mp.c | 1 -
 board/msc/sm2s_imx8mp/spl.c         | 2 +-
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/board/msc/sm2s_imx8mp/sm2s_imx8mp.c b/board/msc/sm2s_imx8mp/sm2s_imx8mp.c
index 6ccbf02db06e..b1ce014bd55d 100644
--- a/board/msc/sm2s_imx8mp/sm2s_imx8mp.c
+++ b/board/msc/sm2s_imx8mp/sm2s_imx8mp.c
@@ -7,7 +7,6 @@
  * Copyright 2021 Collabora Ltd.
  */
 
-#include <common.h>
 #include <errno.h>
 #include <miiphy.h>
 #include <netdev.h>
diff --git a/board/msc/sm2s_imx8mp/spl.c b/board/msc/sm2s_imx8mp/spl.c
index ed7a1b7d3d00..b1b5561838dc 100644
--- a/board/msc/sm2s_imx8mp/spl.c
+++ b/board/msc/sm2s_imx8mp/spl.c
@@ -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



More information about the U-Boot mailing list