common.h 874 Bytes
Newer Older
1
/* SPDX-License-Identifier: GPL-2.0+ */
wdenk's avatar
wdenk committed
2
/*
3
4
 * Common header file for U-Boot
 *
5
6
 * This file still includes quite a few headers that should be included
 * individually as needed. Patches to remove things are welcome.
7
 *
8
 * (C) Copyright 2000-2009
wdenk's avatar
wdenk committed
9
10
11
12
 * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
 */

#ifndef __COMMON_H_
13
#define __COMMON_H_	1
wdenk's avatar
wdenk committed
14

15
#ifndef __ASSEMBLY__		/* put C only stuff in this section */
wdenk's avatar
wdenk committed
16
#include <config.h>
17
#include <errno.h>
18
#include <time.h>
wdenk's avatar
wdenk committed
19
#include <linux/types.h>
20
#include <linux/printk.h>
wdenk's avatar
wdenk committed
21
22
#include <linux/string.h>
#include <stdarg.h>
23
#include <stdio.h>
24
#include <linux/kernel.h>
25
#include <asm/u-boot.h> /* boot information for Linux kernel */
26
#include <display_options.h>
27
#include <vsprintf.h>
28
#endif	/* __ASSEMBLY__ */
29

30
31
/* Pull in stuff for the build system */
#ifdef DO_DEPS_ONLY
32
# include <env_internal.h>
33
34
#endif

wdenk's avatar
wdenk committed
35
#endif	/* __COMMON_H_ */