u-boot.h 1.1 KB

1234567891011121314151617181920212223242526272829
  1. /*
  2. * SPDX-License-Identifier: GPL-2.0+
  3. *
  4. ********************************************************************
  5. * NOTE: This header file defines an interface to U-Boot. Including
  6. * this (unmodified) header file in another file is considered normal
  7. * use of U-Boot, and does *not* fall under the heading of "derived
  8. * work".
  9. ********************************************************************
  10. */
  11. #ifndef __ASM_SH_U_BOOT_H_
  12. #define __ASM_SH_U_BOOT_H_
  13. typedef struct bd_info {
  14. unsigned long bi_memstart; /* start of DRAM memory */
  15. phys_size_t bi_memsize; /* size of DRAM memory in bytes */
  16. unsigned long bi_flashstart; /* start of FLASH memory */
  17. unsigned long bi_flashsize; /* size of FLASH memory */
  18. unsigned long bi_flashoffset; /* reserved area for startup monitor */
  19. unsigned long bi_sramstart; /* start of SRAM memory */
  20. unsigned long bi_sramsize; /* size of SRAM memory */
  21. unsigned long bi_boot_params; /* where this board expects params */
  22. } bd_t;
  23. /* For image.h:image_check_target_arch() */
  24. #define IH_ARCH_DEFAULT IH_ARCH_SH
  25. #endif