[PATCH 34/35] common: Collect all the header files together

Simon Glass sjg at chromium.org
Thu Dec 12 01:47:53 CET 2019


There are many header files included here. Put them all together since the
blank lines are not useful.

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

 include/common.h | 24 ------------------------
 1 file changed, 24 deletions(-)

diff --git a/include/common.h b/include/common.h
index 32999f9cbf..388d98a1db 100644
--- a/include/common.h
+++ b/include/common.h
@@ -14,7 +14,6 @@
 #define __COMMON_H_	1
 
 #ifndef __ASSEMBLY__		/* put C only stuff in this section */
-
 #include <config.h>
 #include <errno.h>
 #include <time.h>
@@ -30,43 +29,20 @@
 #include <stdarg.h>
 #include <stdio.h>
 #include <linux/kernel.h>
-
 #include <part.h>
 #include <flash.h>
 #include <image.h>
-
 #include <log.h>
-
 #include <asm/u-boot.h> /* boot information for Linux kernel */
 #include <asm/global_data.h>	/* global data used for startup functions */
-
-/* startup functions, used in:
- * common/board_f.c
- * common/init/board_init.c
- * common/board_r.c
- * common/board_info.c
- */
 #include <init.h>
-
 #include <display_options.h>
-
-/* lib/uuid.c */
 #include <uuid.h>
-
-/* lib/vsprintf.c */
 #include <vsprintf.h>
-
-/* lib/net_utils.c */
 #include <net.h>
-
 #include <bootstage.h>
-
-#else	/* __ASSEMBLY__ */
-
 #endif	/* __ASSEMBLY__ */
 
-/* Put only stuff here that the assembler can digest */
-
 /* Pull in stuff for the build system */
 #ifdef DO_DEPS_ONLY
 # include <env_internal.h>
-- 
2.24.0.525.g8f36a354ae-goog



More information about the U-Boot mailing list