common.h 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  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 <asm-offsets.h>
  18. #include <linux/bitops.h>
  19. #include <linux/bug.h>
  20. #include <linux/delay.h>
  21. #include <linux/types.h>
  22. #include <linux/printk.h>
  23. #include <linux/string.h>
  24. #include <linux/stringify.h>
  25. #include <asm/ptrace.h>
  26. #include <stdarg.h>
  27. #include <stdio.h>
  28. #include <linux/kernel.h>
  29. #include <part.h>
  30. #include <flash.h>
  31. #include <image.h>
  32. #include <log.h>
  33. #include <asm/u-boot.h> /* boot information for Linux kernel */
  34. #include <asm/global_data.h> /* global data used for startup functions */
  35. #include <init.h>
  36. #include <display_options.h>
  37. #include <uuid.h>
  38. #include <vsprintf.h>
  39. #include <net.h>
  40. #include <bootstage.h>
  41. #endif /* __ASSEMBLY__ */
  42. /* Pull in stuff for the build system */
  43. #ifdef DO_DEPS_ONLY
  44. # include <env_internal.h>
  45. #endif
  46. #endif /* __COMMON_H_ */