blob: 9c5223f54dbd5254b02b7ea3ab2dcffbc32799e3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
/*
*
* Header for system
*
*/
#ifndef __HEAD_H__
#define __HEAD_H__
/******************************************************************************/
/* the control information stored in file head */
/******************************************************************************/
struct spare_boot_ctrl_head {
unsigned int jump_instruction; // one intruction jumping to real code
unsigned char magic[8]; // ="u-boot"
unsigned int check_sum; // generated by PC
unsigned int align_size; // align size in byte
unsigned int length; // the size of all file
unsigned int uboot_length; // the size of uboot
unsigned char version[8]; // uboot version
unsigned char platform[8]; // platform information
int reserved[1]; //stamp space, 16bytes align
} ;
#endif /* __HEAD_H__ */
|