common: Collect all the header files together
authorSimon Glass <sjg@chromium.org>
Sat, 28 Dec 2019 17:45:11 +0000 (10:45 -0700)
committerJagan Teki <jagan@amarulasolutions.com>
Fri, 24 Jan 2020 17:36:49 +0000 (23:06 +0530)
There are many header files included here. Put them all together since the
blank lines are not useful.

Signed-off-by: Simon Glass <sjg@chromium.org>
include/common.h

index 32999f9cbf2c8399799a507cb6e0a4d3dbb03bca..388d98a1db69ed58097772a7e1b4e7c5af9fce13 100644 (file)
@@ -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>
 #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>