diff mbox series

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

Message ID 20240501024316.1767971-86-trini@konsulko.com
State Accepted
Commit 5a93c60cd4706a558d60bd690fb5056c10326a19
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: Adam Ford <aford173@gmail.com>
---
 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(-)

Comments

Adam Ford May 1, 2024, 9:23 a.m. UTC | #1
On Tue, Apr 30, 2024 at 9:44 PM Tom Rini <trini@konsulko.com> wrote:
>
> 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:  Adam Ford <aford173@gmail.com>

> ---
> Cc: Adam Ford <aford173@gmail.com>
> ---
>  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(-)
>
> diff --git a/board/logicpd/am3517evm/am3517evm.c b/board/logicpd/am3517evm/am3517evm.c
> index e69a73f2af6f..e6ca31016b7c 100644
> --- a/board/logicpd/am3517evm/am3517evm.c
> +++ b/board/logicpd/am3517evm/am3517evm.c
> @@ -10,7 +10,6 @@
>   * Texas Instruments Incorporated - https://www.ti.com/
>   */
>
> -#include <common.h>
>  #include <dm.h>
>  #include <init.h>
>  #include <net.h>
> diff --git a/board/logicpd/imx6/imx6logic.c b/board/logicpd/imx6/imx6logic.c
> index 0d53548dcb4b..589136fd64aa 100644
> --- a/board/logicpd/imx6/imx6logic.c
> +++ b/board/logicpd/imx6/imx6logic.c
> @@ -8,7 +8,6 @@
>   * and updates by Jagan Teki <jagan@amarulasolutions.com>
>   */
>
> -#include <common.h>
>  #include <env.h>
>  #include <init.h>
>  #include <miiphy.h>
> diff --git a/board/logicpd/omap3som/omap3logic.c b/board/logicpd/omap3som/omap3logic.c
> index 86992829caf4..a9fe61918b6a 100644
> --- a/board/logicpd/omap3som/omap3logic.c
> +++ b/board/logicpd/omap3som/omap3logic.c
> @@ -10,7 +10,7 @@
>   *     Richard Woodruff <r-woodruff2@ti.com>
>   *     Syed Mohammed Khasim <khasim@ti.com>
>   */
> -#include <common.h>
> +#include <config.h>
>  #include <dm.h>
>  #include <init.h>
>  #include <net.h>
> --
> 2.34.1
>
diff mbox series

Patch

diff --git a/board/logicpd/am3517evm/am3517evm.c b/board/logicpd/am3517evm/am3517evm.c
index e69a73f2af6f..e6ca31016b7c 100644
--- a/board/logicpd/am3517evm/am3517evm.c
+++ b/board/logicpd/am3517evm/am3517evm.c
@@ -10,7 +10,6 @@ 
  * Texas Instruments Incorporated - https://www.ti.com/
  */
 
-#include <common.h>
 #include <dm.h>
 #include <init.h>
 #include <net.h>
diff --git a/board/logicpd/imx6/imx6logic.c b/board/logicpd/imx6/imx6logic.c
index 0d53548dcb4b..589136fd64aa 100644
--- a/board/logicpd/imx6/imx6logic.c
+++ b/board/logicpd/imx6/imx6logic.c
@@ -8,7 +8,6 @@ 
  * and updates by Jagan Teki <jagan@amarulasolutions.com>
  */
 
-#include <common.h>
 #include <env.h>
 #include <init.h>
 #include <miiphy.h>
diff --git a/board/logicpd/omap3som/omap3logic.c b/board/logicpd/omap3som/omap3logic.c
index 86992829caf4..a9fe61918b6a 100644
--- a/board/logicpd/omap3som/omap3logic.c
+++ b/board/logicpd/omap3som/omap3logic.c
@@ -10,7 +10,7 @@ 
  *	Richard Woodruff <r-woodruff2@ti.com>
  *	Syed Mohammed Khasim <khasim@ti.com>
  */
-#include <common.h>
+#include <config.h>
 #include <dm.h>
 #include <init.h>
 #include <net.h>