[PATCH v2 01/16] spl: Tidy up the header includes

Simon Glass sjg at chromium.org
Mon Jan 17 16:04:13 CET 2022


These are out of order. Fix them.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

(no changes since v1)

 common/spl/spl.c | 20 +++++++++-----------
 1 file changed, 9 insertions(+), 11 deletions(-)

diff --git a/common/spl/spl.c b/common/spl/spl.c
index f51d1f32052..932ad53614d 100644
--- a/common/spl/spl.c
+++ b/common/spl/spl.c
@@ -9,33 +9,31 @@
 #include <common.h>
 #include <bloblist.h>
 #include <binman_sym.h>
+#include <bootcount.h>
 #include <bootstage.h>
 #include <dm.h>
+#include <fdt_support.h>
 #include <handoff.h>
 #include <hang.h>
+#include <image.h>
 #include <init.h>
 #include <irq_func.h>
 #include <log.h>
+#include <malloc.h>
 #include <mapmem.h>
+#include <nand.h>
 #include <serial.h>
 #include <spl.h>
-#include <asm/global_data.h>
-#include <asm/u-boot.h>
-#include <nand.h>
-#include <fat.h>
-#include <u-boot/crc.h>
 #if CONFIG_IS_ENABLED(BANNER_PRINT)
 #include <timestamp.h>
 #endif
 #include <version.h>
-#include <image.h>
-#include <malloc.h>
-#include <mapmem.h>
+#include <wdt.h>
+#include <asm/global_data.h>
+#include <asm/u-boot.h>
 #include <dm/root.h>
 #include <linux/compiler.h>
-#include <fdt_support.h>
-#include <bootcount.h>
-#include <wdt.h>
+#include <u-boot/crc.h>
 
 DECLARE_GLOBAL_DATA_PTR;
 
-- 
2.34.1.703.g22d0c6ccf7-goog



More information about the U-Boot mailing list