u-boot.h 663 B

123456789101112131415161718192021222324252627282930
  1. /*
  2. * Copyright (C) 2004-2006 Atmel Corporation
  3. *
  4. * SPDX-License-Identifier: GPL-2.0+
  5. */
  6. #ifndef __ASM_U_BOOT_H__
  7. #define __ASM_U_BOOT_H__ 1
  8. typedef struct bd_info {
  9. unsigned char bi_phy_id[4];
  10. unsigned long bi_board_number;
  11. void *bi_boot_params;
  12. struct {
  13. unsigned long start;
  14. unsigned long size;
  15. } bi_dram[CONFIG_NR_DRAM_BANKS];
  16. unsigned long bi_flashstart;
  17. unsigned long bi_flashsize;
  18. unsigned long bi_flashoffset;
  19. } bd_t;
  20. #define bi_memstart bi_dram[0].start
  21. #define bi_memsize bi_dram[0].size
  22. /* For image.h:image_check_target_arch() */
  23. #define IH_ARCH_DEFAULT IH_ARCH_AVR32
  24. int arch_cpu_init(void);
  25. #endif /* __ASM_U_BOOT_H__ */