u-boot.h 1015 B

123456789101112131415161718192021222324252627282930313233343536
  1. /*
  2. * U-Boot - u-boot.h Structure declarations for board specific data
  3. *
  4. * Copyright (c) 2005-2007 Analog Devices Inc.
  5. *
  6. * (C) Copyright 2000-2004
  7. * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  8. *
  9. * SPDX-License-Identifier: GPL-2.0+
  10. */
  11. #ifndef _U_BOOT_H_
  12. #define _U_BOOT_H_ 1
  13. typedef struct bd_info {
  14. unsigned long bi_boot_params; /* where this board expects params */
  15. unsigned long bi_memstart; /* start of DRAM memory */
  16. phys_size_t bi_memsize; /* size of DRAM memory in bytes */
  17. unsigned long bi_flashstart; /* start of FLASH memory */
  18. unsigned long bi_flashsize; /* size of FLASH memory */
  19. unsigned long bi_flashoffset; /* reserved area for startup monitor */
  20. const char *bi_r_version;
  21. const char *bi_cpu;
  22. const char *bi_board_name;
  23. unsigned long bi_vco;
  24. unsigned long bi_cclk;
  25. unsigned long bi_sclk;
  26. unsigned char bi_enetaddr[6];
  27. } bd_t;
  28. /* For image.h:image_check_target_arch() */
  29. #define IH_ARCH_DEFAULT IH_ARCH_BLACKFIN
  30. int arch_misc_init(void);
  31. #endif /* _U_BOOT_H_ */