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

Igor Opaniuk igor.opaniuk at gmail.com
Thu May 2 02:45:01 CEST 2024


On Tue, Apr 30, 2024 at 7:44 PM 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: Peter Griffin <peter.griffin at linaro.org>
> Cc: Manivannan Sadhasivam <manivannan.sadhasivam at linaro.org>
> Cc: Jorge Ramirez-Ortiz <jorge.ramirez.ortiz at gmail.com>
> Cc: Shawn Guo <shawn.guo at linaro.org>
> Cc: Igor Opaniuk <igor.opaniuk at gmail.com>
> ---
>  board/hisilicon/hikey/hikey.c       | 1 -
>  board/hisilicon/hikey960/hikey960.c | 1 -
>  board/hisilicon/poplar/poplar.c     | 1 -
>  3 files changed, 3 deletions(-)
>
> diff --git a/board/hisilicon/hikey/hikey.c b/board/hisilicon/hikey/hikey.c
> index c9a2d60ee56c..95a831efcafd 100644
> --- a/board/hisilicon/hikey/hikey.c
> +++ b/board/hisilicon/hikey/hikey.c
> @@ -3,7 +3,6 @@
>   * (C) Copyright 2015 Linaro
>   * Peter Griffin <peter.griffin at linaro.org>
>   */
> -#include <common.h>
>  #include <cpu_func.h>
>  #include <dm.h>
>  #include <fdt_support.h>
> diff --git a/board/hisilicon/hikey960/hikey960.c b/board/hisilicon/hikey960/hikey960.c
> index f41fabbad099..5029f4edb2af 100644
> --- a/board/hisilicon/hikey960/hikey960.c
> +++ b/board/hisilicon/hikey960/hikey960.c
> @@ -4,7 +4,6 @@
>   * Author: Manivannan Sadhasivam <manivannan.sadhasivam at linaro.org>
>   */
>
> -#include <common.h>
>  #include <cpu_func.h>
>  #include <dm.h>
>  #include <errno.h>
> diff --git a/board/hisilicon/poplar/poplar.c b/board/hisilicon/poplar/poplar.c
> index b89e7e869766..c3ea080ff75a 100644
> --- a/board/hisilicon/poplar/poplar.c
> +++ b/board/hisilicon/poplar/poplar.c
> @@ -4,7 +4,6 @@
>   * Jorge Ramirez-Ortiz <jorge.ramirez-ortiz at linaro.org>
>   */
>
> -#include <common.h>
>  #include <cpu_func.h>
>  #include <dm.h>
>  #include <init.h>
> --
> 2.34.1
>

Reviewed-by: Igor Opaniuk <igor.opaniuk at gmail.com>
-- 
Best regards - Atentamente - Meilleures salutations

Igor Opaniuk

mailto: igor.opaniuk at gmail.com
skype: igor.opanyuk
https://www.linkedin.com/in/iopaniuk


More information about the U-Boot mailing list