diff options
author | Wolfgang Denk <wd@denx.de> | 2008-04-22 17:21:24 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2008-04-22 17:21:24 +0200 |
commit | 58c5376ba67767ee684069d43e7f747a5d9ae8ed (patch) | |
tree | dfd19b2fb608c8ba238da53f3302c30d94a1e0ba /board/esd/common/auto_update.h | |
parent | dc7746d86d2a3dfe01ab9a70cb427f92adc303c7 (diff) | |
parent | 5d40d4430d9ebc8434c6f0798594836e1efa7a1e (diff) | |
download | u-boot-imx-58c5376ba67767ee684069d43e7f747a5d9ae8ed.zip u-boot-imx-58c5376ba67767ee684069d43e7f747a5d9ae8ed.tar.gz u-boot-imx-58c5376ba67767ee684069d43e7f747a5d9ae8ed.tar.bz2 |
Merge branch 'master' of git://www.denx.de/git/u-boot-ppc4xx
Diffstat (limited to 'board/esd/common/auto_update.h')
-rw-r--r-- | board/esd/common/auto_update.h | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/board/esd/common/auto_update.h b/board/esd/common/auto_update.h index e2af3c7..3ed0e16 100644 --- a/board/esd/common/auto_update.h +++ b/board/esd/common/auto_update.h @@ -29,16 +29,21 @@ #define AU_MAGIC_FILE "__auto_update" -#define AU_SCRIPT 1 -#define AU_FIRMWARE 2 -#define AU_NOR 3 -#define AU_NAND 4 +#define AU_TYPEMASK 0x000000ff +#define AU_FLAGMASK 0xffff0000 + +#define AU_PROTECT 0x80000000 + +#define AU_SCRIPT 0x01 +#define AU_FIRMWARE (0x02 | AU_PROTECT) +#define AU_NOR 0x03 +#define AU_NAND 0x04 struct au_image_s { char name[80]; ulong start; ulong size; - int type; + ulong type; }; typedef struct au_image_s au_image_t; |