common: Collect all the header files together
authorSimon Glass <sjg@chromium.org>
Sat, 28 Dec 2019 17:45:11 +0000 (10:45 -0700)
committerTom Rini <trini@konsulko.com>
Fri, 17 Jan 2020 22:53:52 +0000 (17:53 -0500)
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 32999f9..388d98a 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>