[PATCH v3 2/2] imx8mp_evk: Remove unneeded header files
Hugo Villeneuve
hugo at hugovil.com
Thu Oct 19 23:56:31 CEST 2023
On Thu, 19 Oct 2023 18:51:13 -0300
Fabio Estevam <festevam at gmail.com> wrote:
> From: Fabio Estevam <festevam at denx.de>
>
> Cleanup the file by removing unneeded header files.
>
> Signed-off-by: Fabio Estevam <festevam at denx.de>
Reviewed-by: Hugo Villeneuve <hvilleneuve at dimonoff.com>
> ---
> Changes since v2:
> - Also remove <asm/global_data.h> and DECLARE_GLOBAL_DATA_PTR. (Hugo)
>
> board/freescale/imx8mp_evk/imx8mp_evk.c | 13 -------------
> 1 file changed, 13 deletions(-)
>
> diff --git a/board/freescale/imx8mp_evk/imx8mp_evk.c b/board/freescale/imx8mp_evk/imx8mp_evk.c
> index 42291c958e39..024b46ef8bc2 100644
> --- a/board/freescale/imx8mp_evk/imx8mp_evk.c
> +++ b/board/freescale/imx8mp_evk/imx8mp_evk.c
> @@ -3,20 +3,7 @@
> * Copyright 2019 NXP
> */
>
> -#include <common.h>
> #include <env.h>
> -#include <errno.h>
> -#include <init.h>
> -#include <linux/delay.h>
> -#include <asm/global_data.h>
> -#include <asm/mach-imx/iomux-v3.h>
> -#include <asm-generic/gpio.h>
> -#include <asm/arch/imx8mp_pins.h>
> -#include <asm/arch/clock.h>
> -#include <asm/arch/sys_proto.h>
> -#include <asm/mach-imx/gpio.h>
> -
> -DECLARE_GLOBAL_DATA_PTR;
>
> int board_init(void)
> {
> --
> 2.34.1
>
>
More information about the U-Boot
mailing list