u-boot.h 966 B

123456789101112131415161718192021222324252627282930313233
  1. /* SPDX-License-Identifier: GPL-2.0+ */
  2. /*
  3. * (C) Copyright 2002
  4. * Sysgo Real-Time Solutions, GmbH <www.elinos.com>
  5. * Marius Groeger <mgroeger@sysgo.de>
  6. *
  7. * (C) Copyright 2002
  8. * Sysgo Real-Time Solutions, GmbH <www.elinos.com>
  9. * Alex Zuepke <azu@sysgo.de>
  10. *
  11. ********************************************************************
  12. * NOTE: This header file defines an interface to U-Boot. Including
  13. * this (unmodified) header file in another file is considered normal
  14. * use of U-Boot, and does *not* fall under the heading of "derived
  15. * work".
  16. ********************************************************************
  17. */
  18. #ifndef _U_BOOT_H_
  19. #define _U_BOOT_H_ 1
  20. /* Use the generic board which requires a unified bd_info */
  21. #include <asm-generic/u-boot.h>
  22. #include <asm/u-boot-arm.h>
  23. /* For image.h:image_check_target_arch() */
  24. #ifndef CONFIG_ARM64
  25. #define IH_ARCH_DEFAULT IH_ARCH_ARM
  26. #else
  27. #define IH_ARCH_DEFAULT IH_ARCH_ARM64
  28. #endif
  29. #endif /* _U_BOOT_H_ */