Blame view

include/common.h 1.22 KB
83d290c56   Tom Rini   SPDX: Convert all...
1
  /* SPDX-License-Identifier: GPL-2.0+ */
e22117437   wdenk   Initial revision
2
  /*
ec1fa1856   Simon Glass   common: Add a not...
3
4
   * Common header file for U-Boot
   *
addc37631   Simon Glass   common: Update co...
5
6
   * This file still includes quite a few headers that should be included
   * individually as needed. Patches to remove things are welcome.
ec1fa1856   Simon Glass   common: Add a not...
7
   *
3b74e7ec5   Wolfgang Denk   MPC512x: remove i...
8
   * (C) Copyright 2000-2009
e22117437   wdenk   Initial revision
9
   * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
e22117437   wdenk   Initial revision
10
11
12
   */
  
  #ifndef __COMMON_H_
d0b8feef8   Wolfgang Denk   Revert "common.h:...
13
  #define __COMMON_H_	1
e22117437   wdenk   Initial revision
14

fcd3c87e4   Wolfgang Denk   Make include/comm...
15
  #ifndef __ASSEMBLY__		/* put C only stuff in this section */
e22117437   wdenk   Initial revision
16
  #include <config.h>
2307ea405   Joe Hershberger   common: Always in...
17
  #include <errno.h>
a7b817699   Masahiro Yamada   time: move timer ...
18
  #include <time.h>
25ddd1fb0   Wolfgang Denk   Replace CONFIG_SY...
19
  #include <asm-offsets.h>
e22117437   wdenk   Initial revision
20
  #include <linux/bitops.h>
0a70fb4c1   Masahiro Yamada   bug.h: move runti...
21
  #include <linux/bug.h>
5bc516ed6   Masahiro Yamada   delay: collect {m...
22
  #include <linux/delay.h>
e22117437   wdenk   Initial revision
23
  #include <linux/types.h>
b44b30260   Masahiro Yamada   printk: collect p...
24
  #include <linux/printk.h>
e22117437   wdenk   Initial revision
25
  #include <linux/string.h>
9aed50808   Marek Vasut   COMMON: Add __str...
26
  #include <linux/stringify.h>
e22117437   wdenk   Initial revision
27
28
  #include <asm/ptrace.h>
  #include <stdarg.h>
7fea7b1a3   Masahiro Yamada   stdio.h: move pri...
29
  #include <stdio.h>
cba1da495   Masahiro Yamada   include: move var...
30
  #include <linux/kernel.h>
e22117437   wdenk   Initial revision
31
32
33
  #include <part.h>
  #include <flash.h>
  #include <image.h>
0e98b0a65   Simon Glass   Move debug and lo...
34
  #include <log.h>
c83bf6a2d   wdenk   Add a common get_...
35
  #include <asm/u-boot.h> /* boot information for Linux kernel */
e22117437   wdenk   Initial revision
36
  #include <asm/global_data.h>	/* global data used for startup functions */
dafa84d27   Patrick Delaunay   common: add a pro...
37
  #include <init.h>
2ea09c836   Simon Glass   Move display_opti...
38
  #include <display_options.h>
d718ded05   Przemyslaw Marczak   lib: uuid: code r...
39
  #include <uuid.h>
9785c905c   Simon Glass   Move vsprintf fun...
40
  #include <vsprintf.h>
4ef8d53ca   Joe Hershberger   net: Allow filter...
41
  #include <net.h>
097e17836   Simon Glass   bootstage: Create...
42
  #include <bootstage.h>
2a6713b09   Andre Przywara   move UL() macro f...
43
  #endif	/* __ASSEMBLY__ */
fcd3c87e4   Wolfgang Denk   Make include/comm...
44

c3eb3fe49   Mike Frysinger   env: allow people...
45
46
  /* Pull in stuff for the build system */
  #ifdef DO_DEPS_ONLY
f3998fdc4   Simon Glass   env: Rename envir...
47
  # include <env_internal.h>
c3eb3fe49   Mike Frysinger   env: allow people...
48
  #endif
e22117437   wdenk   Initial revision
49
  #endif	/* __COMMON_H_ */