]>
Commit | Line | Data |
---|---|---|
83d290c5 | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
e2211743 | 2 | /* |
ec1fa185 SG |
3 | * Common header file for U-Boot |
4 | * | |
addc3763 SG |
5 | * This file still includes quite a few headers that should be included |
6 | * individually as needed. Patches to remove things are welcome. | |
ec1fa185 | 7 | * |
3b74e7ec | 8 | * (C) Copyright 2000-2009 |
e2211743 | 9 | * Wolfgang Denk, DENX Software Engineering, [email protected]. |
e2211743 WD |
10 | */ |
11 | ||
12 | #ifndef __COMMON_H_ | |
d0b8feef | 13 | #define __COMMON_H_ 1 |
e2211743 | 14 | |
fcd3c87e | 15 | #ifndef __ASSEMBLY__ /* put C only stuff in this section */ |
e2211743 | 16 | #include <config.h> |
2307ea40 | 17 | #include <errno.h> |
a7b81769 | 18 | #include <time.h> |
25ddd1fb | 19 | #include <asm-offsets.h> |
e2211743 | 20 | #include <linux/bitops.h> |
0a70fb4c | 21 | #include <linux/bug.h> |
5bc516ed | 22 | #include <linux/delay.h> |
e2211743 | 23 | #include <linux/types.h> |
b44b3026 | 24 | #include <linux/printk.h> |
e2211743 | 25 | #include <linux/string.h> |
9aed5080 | 26 | #include <linux/stringify.h> |
e2211743 WD |
27 | #include <asm/ptrace.h> |
28 | #include <stdarg.h> | |
7fea7b1a | 29 | #include <stdio.h> |
cba1da49 | 30 | #include <linux/kernel.h> |
e2211743 | 31 | #include <part.h> |
e2211743 | 32 | #include <image.h> |
0e98b0a6 | 33 | #include <log.h> |
c83bf6a2 | 34 | #include <asm/u-boot.h> /* boot information for Linux kernel */ |
e2211743 | 35 | #include <asm/global_data.h> /* global data used for startup functions */ |
dafa84d2 | 36 | #include <init.h> |
2ea09c83 | 37 | #include <display_options.h> |
9785c905 | 38 | #include <vsprintf.h> |
097e1783 | 39 | #include <bootstage.h> |
2a6713b0 | 40 | #endif /* __ASSEMBLY__ */ |
fcd3c87e | 41 | |
c3eb3fe4 MF |
42 | /* Pull in stuff for the build system */ |
43 | #ifdef DO_DEPS_ONLY | |
f3998fdc | 44 | # include <env_internal.h> |
c3eb3fe4 MF |
45 | #endif |
46 | ||
e2211743 | 47 | #endif /* __COMMON_H_ */ |