[PATCH v3 2/2] imx8mp_evk: Remove unneeded header files

Fabio Estevam festevam at gmail.com
Thu Oct 19 23:51:13 CEST 2023


From: Fabio Estevam <festevam at denx.de>

Cleanup the file by removing unneeded header files.

Signed-off-by: Fabio Estevam <festevam at denx.de>
---
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