Tom Rini | abb9a04 | 2024-05-18 20:20:43 -0600 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
| 2 | /* |
| 3 | * Common header file for U-Boot |
| 4 | * |
| 5 | * This file still includes quite a few headers that should be included |
| 6 | * individually as needed. Patches to remove things are welcome. |
| 7 | * |
| 8 | * (C) Copyright 2000-2009 |
| 9 | * Wolfgang Denk, DENX Software Engineering, wd@denx.de. |
| 10 | */ |
| 11 | |
| 12 | #ifndef __COMMON_H_ |
| 13 | #define __COMMON_H_ 1 |
| 14 | |
| 15 | #ifndef __ASSEMBLY__ /* put C only stuff in this section */ |
| 16 | #include <config.h> |
| 17 | #include <errno.h> |
| 18 | #include <time.h> |
| 19 | #include <linux/types.h> |
| 20 | #include <linux/string.h> |
| 21 | #include <stdarg.h> |
| 22 | #include <stdio.h> |
| 23 | #include <linux/kernel.h> |
| 24 | #include <asm/u-boot.h> /* boot information for Linux kernel */ |
| 25 | #include <vsprintf.h> |
| 26 | #endif /* __ASSEMBLY__ */ |
| 27 | |
| 28 | /* Pull in stuff for the build system */ |
| 29 | #ifdef DO_DEPS_ONLY |
| 30 | # include <env_internal.h> |
| 31 | #endif |
| 32 | |
| 33 | #endif /* __COMMON_H_ */ |