common: Collect all the header files together
[oweals/u-boot.git] / include / common.h
1 /* SPDX-License-Identifier: GPL-2.0+ */
2 /*
3  * Common header file for U-Boot
4  *
5  * This file still includes quite a bit of stuff that should be in separate
6  * headers. Please think before adding more things.
7  * Patches to remove things are welcome.
8  *
9  * (C) Copyright 2000-2009
10  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
11  */
12
13 #ifndef __COMMON_H_
14 #define __COMMON_H_     1
15
16 #ifndef __ASSEMBLY__            /* put C only stuff in this section */
17 #include <config.h>
18 #include <errno.h>
19 #include <time.h>
20 #include <asm-offsets.h>
21 #include <linux/bitops.h>
22 #include <linux/bug.h>
23 #include <linux/delay.h>
24 #include <linux/types.h>
25 #include <linux/printk.h>
26 #include <linux/string.h>
27 #include <linux/stringify.h>
28 #include <asm/ptrace.h>
29 #include <stdarg.h>
30 #include <stdio.h>
31 #include <linux/kernel.h>
32 #include <part.h>
33 #include <flash.h>
34 #include <image.h>
35 #include <log.h>
36 #include <asm/u-boot.h> /* boot information for Linux kernel */
37 #include <asm/global_data.h>    /* global data used for startup functions */
38 #include <init.h>
39 #include <display_options.h>
40 #include <uuid.h>
41 #include <vsprintf.h>
42 #include <net.h>
43 #include <bootstage.h>
44 #endif  /* __ASSEMBLY__ */
45
46 /* Pull in stuff for the build system */
47 #ifdef DO_DEPS_ONLY
48 # include <env_internal.h>
49 #endif
50
51 #endif  /* __COMMON_H_ */