[PATCH 04/12] imx8mp_evk: Cleanup headers
Peng Fan (OSS)
peng.fan at oss.nxp.com
Thu Jan 22 02:05:47 CET 2026
From: Peng Fan <peng.fan at nxp.com>
Drop unused headers and sort them.
Signed-off-by: Peng Fan <peng.fan at nxp.com>
---
board/freescale/imx8mp_evk/imx8mp_evk.c | 2 +-
board/freescale/imx8mp_evk/spl.c | 8 +++-----
2 files changed, 4 insertions(+), 6 deletions(-)
diff --git a/board/freescale/imx8mp_evk/imx8mp_evk.c b/board/freescale/imx8mp_evk/imx8mp_evk.c
index 732c0fa561d..489e5ad4d43 100644
--- a/board/freescale/imx8mp_evk/imx8mp_evk.c
+++ b/board/freescale/imx8mp_evk/imx8mp_evk.c
@@ -3,10 +3,10 @@
* Copyright 2019 NXP
*/
-#include <asm/arch/sys_proto.h>
#include <config.h>
#include <efi_loader.h>
#include <env.h>
+#include <asm/arch/sys_proto.h>
#if CONFIG_IS_ENABLED(EFI_HAVE_CAPSULE_SUPPORT)
#define IMX_BOOT_IMAGE_GUID \
diff --git a/board/freescale/imx8mp_evk/spl.c b/board/freescale/imx8mp_evk/spl.c
index 4e6a5830b07..5b4aac42830 100644
--- a/board/freescale/imx8mp_evk/spl.c
+++ b/board/freescale/imx8mp_evk/spl.c
@@ -7,15 +7,13 @@
#include <hang.h>
#include <init.h>
#include <log.h>
+#include <power/pmic.h>
+#include <power/pca9450.h>
#include <spl.h>
#include <asm/arch/clock.h>
+#include <asm/arch/ddr.h>
#include <asm/arch/sys_proto.h>
#include <asm/mach-imx/boot_mode.h>
-#include <asm/arch/ddr.h>
-#include <power/pmic.h>
-#include <power/pca9450.h>
-#include <dm/uclass.h>
-#include <dm/device.h>
int spl_board_boot_device(enum boot_device boot_dev_spl)
{
--
2.51.0
More information about the U-Boot
mailing list