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

Michael Nazzareno Trimarchi michael at amarulasolutions.com
Wed May 1 15:58:35 CEST 2024


Hi

On Wed, May 1, 2024 at 4:43 AM Tom Rini <trini at 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 at konsulko.com>
> ---
> Cc: Michael Trimarchi <michael at amarulasolutions.com>
> ---
>  board/bsh/imx6ulz_smm_m2/imx6ulz_smm_m2.c | 1 -
>  board/bsh/imx6ulz_smm_m2/spl.c            | 1 -
>  board/bsh/imx8mn_smm_s2/imx8mn_smm_s2.c   | 1 -
>  3 files changed, 3 deletions(-)
>
> diff --git a/board/bsh/imx6ulz_smm_m2/imx6ulz_smm_m2.c b/board/bsh/imx6ulz_smm_m2/imx6ulz_smm_m2.c
> index c82eabbfbea1..c03e390762a9 100644
> --- a/board/bsh/imx6ulz_smm_m2/imx6ulz_smm_m2.c
> +++ b/board/bsh/imx6ulz_smm_m2/imx6ulz_smm_m2.c
> @@ -14,7 +14,6 @@
>  #include <asm/mach-imx/boot_mode.h>
>  #include <asm/global_data.h>
>  #include <asm/gpio.h>
> -#include <common.h>
>  #include <env.h>
>  #include <linux/sizes.h>
>
> diff --git a/board/bsh/imx6ulz_smm_m2/spl.c b/board/bsh/imx6ulz_smm_m2/spl.c
> index 5b4812e129e3..724841b57456 100644
> --- a/board/bsh/imx6ulz_smm_m2/spl.c
> +++ b/board/bsh/imx6ulz_smm_m2/spl.c
> @@ -1,6 +1,5 @@
>  // SPDX-License-Identifier: GPL-2.0+
>
> -#include <common.h>
>  #include <cpu_func.h>
>  #include <hang.h>
>  #include <init.h>
> diff --git a/board/bsh/imx8mn_smm_s2/imx8mn_smm_s2.c b/board/bsh/imx8mn_smm_s2/imx8mn_smm_s2.c
> index 0ebf208be82a..c99896873991 100644
> --- a/board/bsh/imx8mn_smm_s2/imx8mn_smm_s2.c
> +++ b/board/bsh/imx8mn_smm_s2/imx8mn_smm_s2.c
> @@ -3,7 +3,6 @@
>   * Copyright 2021 Collabora Ltd.
>   */
>
> -#include <common.h>
>  #include <asm/arch/sys_proto.h>
>  #include <env.h>
>
> --
> 2.34.1
>

Reviewed-by: Michael Trimarchi <michael at amarulasolutions.com>


-- 
Michael Nazzareno Trimarchi
Co-Founder & Chief Executive Officer
M. +39 347 913 2170
michael at amarulasolutions.com
__________________________________

Amarula Solutions BV
Joop Geesinkweg 125, 1114 AB, Amsterdam, NL
T. +31 (0)85 111 9172
info at amarulasolutions.com
www.amarulasolutions.com


More information about the U-Boot mailing list