common.h 948 B

123456789101112131415161718192021222324252627282930313233343536
  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. #ifndef __COMMON_H_
  12. #define __COMMON_H_ 1
  13. #ifndef __ASSEMBLY__ /* put C only stuff in this section */
  14. #include <config.h>
  15. #include <errno.h>
  16. #include <time.h>
  17. #include <linux/types.h>
  18. #include <linux/printk.h>
  19. #include <linux/string.h>
  20. #include <stdarg.h>
  21. #include <stdio.h>
  22. #include <linux/kernel.h>
  23. #include <asm/u-boot.h> /* boot information for Linux kernel */
  24. #include <asm/global_data.h> /* global data used for startup functions */
  25. #include <display_options.h>
  26. #include <vsprintf.h>
  27. #endif /* __ASSEMBLY__ */
  28. /* Pull in stuff for the build system */
  29. #ifdef DO_DEPS_ONLY
  30. # include <env_internal.h>
  31. #endif
  32. #endif /* __COMMON_H_ */