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

Kever Yang kever.yang at rock-chips.com
Tue May 7 09:41:26 CEST 2024


On 2024/5/1 10:41, Tom Rini 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>
Reviewed-by: Kever Yang <kever.yang at rock-chips.com>

Thanks,
- Kever
> ---
> Cc: Simon Glass <sjg at chromium.org>
> Cc: Philipp Tomsich <philipp.tomsich at vrull.eu>
> Cc: Kever Yang <kever.yang at rock-chips.com>
> Cc: Andy Yan <andy.yan at rock-chips.com>
> Cc: Levin Du <djw at t-chip.com.cn>
> Cc: Suniel Mahesh <sunil at amarulasolutions.com>
> ---
>   board/firefly/firefly-rk3288/firefly-rk3288.c | 1 -
>   board/firefly/firefly-rk3308/roc_cc_rk3308.c  | 1 -
>   board/firefly/roc-pc-rk3399/roc-pc-rk3399.c   | 1 -
>   3 files changed, 3 deletions(-)
>
> diff --git a/board/firefly/firefly-rk3288/firefly-rk3288.c b/board/firefly/firefly-rk3288/firefly-rk3288.c
> index 95d8b00924d8..8e67ab4b1327 100644
> --- a/board/firefly/firefly-rk3288/firefly-rk3288.c
> +++ b/board/firefly/firefly-rk3288/firefly-rk3288.c
> @@ -3,7 +3,6 @@
>    * (C) Copyright 2015 Google, Inc
>    */
>   
> -#include <common.h>
>   #include <hang.h>
>   #include <led.h>
>   #include <log.h>
> diff --git a/board/firefly/firefly-rk3308/roc_cc_rk3308.c b/board/firefly/firefly-rk3308/roc_cc_rk3308.c
> index af00250e118d..404bdc632bbc 100644
> --- a/board/firefly/firefly-rk3308/roc_cc_rk3308.c
> +++ b/board/firefly/firefly-rk3308/roc_cc_rk3308.c
> @@ -3,7 +3,6 @@
>    * (C) Copyright 2019 Rockchip Electronics Co., Ltd
>    */
>   
> -#include <common.h>
>   #include <adc.h>
>   #include <asm/arch-rockchip/grf_rk3308.h>
>   #include <asm/arch-rockchip/hardware.h>
> diff --git a/board/firefly/roc-pc-rk3399/roc-pc-rk3399.c b/board/firefly/roc-pc-rk3399/roc-pc-rk3399.c
> index 590519b32af2..a149e4fe822e 100644
> --- a/board/firefly/roc-pc-rk3399/roc-pc-rk3399.c
> +++ b/board/firefly/roc-pc-rk3399/roc-pc-rk3399.c
> @@ -3,7 +3,6 @@
>    * (C) Copyright 2016 Rockchip Electronics Co., Ltd
>    */
>   
> -#include <common.h>
>   #include <dm.h>
>   #include <env.h>
>   #include <log.h>


More information about the U-Boot mailing list