blob: f0679ac70544fdf2f89812b8f2c9ff4d8334cf39 [file] [log] [blame]
Tom Rini83d290c2018-05-06 17:58:06 -04001/* SPDX-License-Identifier: GPL-2.0+ */
wdenke2211742002-11-02 23:30:20 +00002/*
Simon Glassec1fa182019-08-02 09:44:27 -06003 * Common header file for U-Boot
4 *
Simon Glassaddc3762019-12-28 10:45:12 -07005 * This file still includes quite a few headers that should be included
6 * individually as needed. Patches to remove things are welcome.
Simon Glassec1fa182019-08-02 09:44:27 -06007 *
Wolfgang Denk3b74e7e2009-05-16 10:47:45 +02008 * (C) Copyright 2000-2009
wdenke2211742002-11-02 23:30:20 +00009 * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
wdenke2211742002-11-02 23:30:20 +000010 */
11
12#ifndef __COMMON_H_
Wolfgang Denkd0b8fee2012-01-06 07:36:44 +010013#define __COMMON_H_ 1
wdenke2211742002-11-02 23:30:20 +000014
Wolfgang Denkfcd3c872009-07-24 00:17:48 +020015#ifndef __ASSEMBLY__ /* put C only stuff in this section */
wdenke2211742002-11-02 23:30:20 +000016#include <config.h>
Joe Hershberger2307ea42016-04-04 04:07:33 -050017#include <errno.h>
Masahiro Yamadaa7b81762016-12-28 00:36:00 +090018#include <time.h>
wdenke2211742002-11-02 23:30:20 +000019#include <linux/types.h>
Masahiro Yamadab44b3022017-09-16 14:10:40 +090020#include <linux/printk.h>
wdenke2211742002-11-02 23:30:20 +000021#include <linux/string.h>
wdenke2211742002-11-02 23:30:20 +000022#include <stdarg.h>
Masahiro Yamada7fea7b12017-09-16 14:10:39 +090023#include <stdio.h>
Masahiro Yamadacba1da42014-11-07 03:03:28 +090024#include <linux/kernel.h>
wdenkc83bf6a2004-01-06 22:38:14 +000025#include <asm/u-boot.h> /* boot information for Linux kernel */
wdenke2211742002-11-02 23:30:20 +000026#include <asm/global_data.h> /* global data used for startup functions */
Simon Glass2ea09c82015-04-28 20:25:07 -060027#include <display_options.h>
Simon Glass9785c902011-11-02 09:52:07 +000028#include <vsprintf.h>
Andre Przywara2a6713b2017-01-02 11:48:30 +000029#endif /* __ASSEMBLY__ */
Wolfgang Denkfcd3c872009-07-24 00:17:48 +020030
Mike Frysingerc3eb3fe2011-07-08 10:44:25 +000031/* Pull in stuff for the build system */
32#ifdef DO_DEPS_ONLY
Simon Glassf3998fd2019-08-02 09:44:25 -060033# include <env_internal.h>
Mike Frysingerc3eb3fe2011-07-08 10:44:25 +000034#endif
35
wdenke2211742002-11-02 23:30:20 +000036#endif /* __COMMON_H_ */