aboutsummaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorWolfgang Denk2005-09-22 09:46:19 +0200
committerWolfgang Denk2005-09-22 09:46:19 +0200
commita6e6cf00367c0779eadb49915e40c55f0a787957 (patch)
tree9f24bd7dbdb90453300c0267200e4ea2b18194c1 /board
parent1caa70788c5a936197e3ecbbdc7c7c629fd44a7f (diff)
parent8b4c9e7c144397f483d23c002dcd9c59ff7c2395 (diff)
Merge with /home/wd/git/u-boot/work
Diffstat (limited to 'board')
-rw-r--r--board/trab/auto_update.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/trab/auto_update.c b/board/trab/auto_update.c
index 0399fe86ac7..b25928cf1fe 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 */