Annotation of prex-old/boot/avr32/include/uboot.h, Revision 1.1
1.1 ! nbrk 1: #ifndef BOOT_AVR32_INCLUDE_UBOOT_H
! 2: #define BOOT_AVR32_INCLUDE_UBOOT_H
! 3:
! 4: #include <sys/types.h>
! 5:
! 6: /*
! 7: * Interface to U-Boot bootloader.
! 8: */
! 9:
! 10: #define UBOOT_CFRAMESIZE 0x40
! 11:
! 12: /* configuration frame that u-boot places into RAM */
! 13: struct uboot_cframe {
! 14: uint32_t ucf_unknown0[2];
! 15:
! 16: uint32_t ucf_baudrate;
! 17:
! 18: uint32_t ucf_unknown1[6];
! 19:
! 20: uint32_t ucf_bootparams;
! 21:
! 22: uint32_t ucf_memstart;
! 23: uint32_t ucf_memsize;
! 24:
! 25: uint32_t ucf_flashstart;
! 26: uint32_t ucf_flashsize;
! 27: uint32_t ucf_flashoffset;
! 28:
! 29: uint32_t ucf_crc32;
! 30: } __attribute__((packed));
! 31:
! 32:
! 33: struct uboot_cframe *uboot_map(uint32_t cframeaddr);
! 34:
! 35:
! 36: #endif /* !BOOT_AVR32_INCLUDE_UBOOT_H */
CVSweb