diff options
author | Wolfgang Denk <wd@pollux.(none)> | 2005-09-22 09:46:19 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@pollux.(none)> | 2005-09-22 09:46:19 +0200 |
commit | a6e6cf00367c0779eadb49915e40c55f0a787957 (patch) | |
tree | 9f24bd7dbdb90453300c0267200e4ea2b18194c1 /board | |
parent | 1caa70788c5a936197e3ecbbdc7c7c629fd44a7f (diff) | |
parent | 8b4c9e7c144397f483d23c002dcd9c59ff7c2395 (diff) | |
download | u-boot-imx-a6e6cf00367c0779eadb49915e40c55f0a787957.zip u-boot-imx-a6e6cf00367c0779eadb49915e40c55f0a787957.tar.gz u-boot-imx-a6e6cf00367c0779eadb49915e40c55f0a787957.tar.bz2 |
Merge with /home/wd/git/u-boot/work
Diffstat (limited to 'board')
-rw-r--r-- | board/trab/auto_update.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/board/trab/auto_update.c b/board/trab/auto_update.c index 0399fe8..b25928c 100644 --- a/board/trab/auto_update.c +++ b/board/trab/auto_update.c @@ -296,7 +296,7 @@ au_check_header_valid(int idx, long nbytes) /* recycle checksum */ checksum = ntohl(hdr->ih_size); /* for kernel and app the image header must also fit into flash */ - if (idx != IDX_DISK) + if ((idx != IDX_DISK) && (idx != IDX_FIRMWARE)) checksum += sizeof(*hdr); /* check the size does not exceed space in flash. HUSH scripts */ /* all have ausize[] set to 0 */ |