[PATCH 093/149] board: msc: Remove <common.h> and add needed includes
Ian Ray
ian.ray at gehealthcare.com
Thu May 2 10:57:45 CEST 2024
On Tue, Apr 30, 2024 at 08:42:20PM -0600, Tom Rini wrote:
>
> WARNING: This email originated from outside of GE HealthCare. Please validate the sender's email address before clicking on links or attachments as they may not be safe.
>
> 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>
Reviewed-by: Ian Ray <ian.ray at gehealthcare.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