Blame view
include/common.h
1.22 KB
83d290c56
|
1 |
/* SPDX-License-Identifier: GPL-2.0+ */ |
e22117437
|
2 |
/* |
ec1fa1856
|
3 4 |
* Common header file for U-Boot * |
addc37631
|
5 6 |
* This file still includes quite a few headers that should be included * individually as needed. Patches to remove things are welcome. |
ec1fa1856
|
7 |
* |
3b74e7ec5
|
8 |
* (C) Copyright 2000-2009 |
e22117437
|
9 |
* Wolfgang Denk, DENX Software Engineering, wd@denx.de. |
e22117437
|
10 11 12 |
*/ #ifndef __COMMON_H_ |
d0b8feef8
|
13 |
#define __COMMON_H_ 1 |
e22117437
|
14 |
|
fcd3c87e4
|
15 |
#ifndef __ASSEMBLY__ /* put C only stuff in this section */ |
e22117437
|
16 |
#include <config.h> |
2307ea405
|
17 |
#include <errno.h> |
a7b817699
|
18 |
#include <time.h> |
25ddd1fb0
|
19 |
#include <asm-offsets.h> |
e22117437
|
20 |
#include <linux/bitops.h> |
0a70fb4c1
|
21 |
#include <linux/bug.h> |
5bc516ed6
|
22 |
#include <linux/delay.h> |
e22117437
|
23 |
#include <linux/types.h> |
b44b30260
|
24 |
#include <linux/printk.h> |
e22117437
|
25 |
#include <linux/string.h> |
9aed50808
|
26 |
#include <linux/stringify.h> |
e22117437
|
27 28 |
#include <asm/ptrace.h> #include <stdarg.h> |
7fea7b1a3
|
29 |
#include <stdio.h> |
cba1da495
|
30 |
#include <linux/kernel.h> |
e22117437
|
31 32 33 |
#include <part.h> #include <flash.h> #include <image.h> |
0e98b0a65
|
34 |
#include <log.h> |
c83bf6a2d
|
35 |
#include <asm/u-boot.h> /* boot information for Linux kernel */ |
e22117437
|
36 |
#include <asm/global_data.h> /* global data used for startup functions */ |
dafa84d27
|
37 |
#include <init.h> |
2ea09c836
|
38 |
#include <display_options.h> |
d718ded05
|
39 |
#include <uuid.h> |
9785c905c
|
40 |
#include <vsprintf.h> |
4ef8d53ca
|
41 |
#include <net.h> |
097e17836
|
42 |
#include <bootstage.h> |
2a6713b09
|
43 |
#endif /* __ASSEMBLY__ */ |
fcd3c87e4
|
44 |
|
c3eb3fe49
|
45 46 |
/* Pull in stuff for the build system */ #ifdef DO_DEPS_ONLY |
f3998fdc4
|
47 |
# include <env_internal.h> |
c3eb3fe49
|
48 |
#endif |
e22117437
|
49 |
#endif /* __COMMON_H_ */ |