summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeng Fan <[email protected]>2026-01-08 19:06:52 +0800
committerFabio Estevam <[email protected]>2026-01-17 15:00:23 -0300
commit270b8f1418a2ee981149fb6fb5effd6a57b86838 (patch)
treeaa05c346f9b2635c5501acf04e60618bee3d7963
parent550680a29fae210790467e3f7175733a8bc345ca (diff)
imx91_evk: Cleanup headers
Drop unused headers and sort them. Signed-off-by: Peng Fan <[email protected]>
-rw-r--r--board/freescale/imx91_evk/imx91_evk.c2
-rw-r--r--board/freescale/imx91_evk/spl.c28
2 files changed, 6 insertions, 24 deletions
diff --git a/board/freescale/imx91_evk/imx91_evk.c b/board/freescale/imx91_evk/imx91_evk.c
index cbd0a72bf4b..fca2521081b 100644
--- a/board/freescale/imx91_evk/imx91_evk.c
+++ b/board/freescale/imx91_evk/imx91_evk.c
@@ -5,8 +5,6 @@
#include <env.h>
#include <init.h>
-#include <miiphy.h>
-#include <netdev.h>
#include <asm/arch/sys_proto.h>
int board_late_init(void)
diff --git a/board/freescale/imx91_evk/spl.c b/board/freescale/imx91_evk/spl.c
index 46bde93fe3b..2aa63a61b74 100644
--- a/board/freescale/imx91_evk/spl.c
+++ b/board/freescale/imx91_evk/spl.c
@@ -3,35 +3,19 @@
* Copyright 2024 NXP
*/
-#include <command.h>
-#include <cpu_func.h>
-#include <hang.h>
-#include <image.h>
#include <init.h>
-#include <log.h>
+#include <power/pmic.h>
+#include <power/pca9450.h>
#include <spl.h>
#include <asm/global_data.h>
-#include <asm/io.h>
-#include <asm/arch/mu.h>
-#include <asm/arch/clock.h>
-#include <asm/arch/sys_proto.h>
-#include <asm/mach-imx/boot_mode.h>
-#include <asm/mach-imx/mxc_i2c.h>
-#include <asm/arch-mx7ulp/gpio.h>
-#include <asm/mach-imx/ele_api.h>
-#include <asm/mach-imx/syscounter.h>
#include <asm/sections.h>
-#include <dm/uclass.h>
-#include <dm/device.h>
-#include <dm/uclass-internal.h>
-#include <dm/device-internal.h>
-#include <linux/delay.h>
#include <asm/arch/clock.h>
-#include <asm/arch/ccm_regs.h>
#include <asm/arch/ddr.h>
-#include <power/pmic.h>
-#include <power/pca9450.h>
+#include <asm/arch/mu.h>
+#include <asm/arch/sys_proto.h>
#include <asm/arch/trdc.h>
+#include <asm/mach-imx/boot_mode.h>
+#include <asm/mach-imx/ele_api.h>
DECLARE_GLOBAL_DATA_PTR;