diff options
author | Marian Balakowicz <m8@semihalf.com> | 2008-03-12 10:35:51 +0100 |
---|---|---|
committer | Marian Balakowicz <m8@semihalf.com> | 2008-03-12 10:35:51 +0100 |
commit | 1d1cb4270edc6a99276834064069717f9782c491 (patch) | |
tree | 8b7f295f362a4779f1aa4740a85e02a704852215 /board/trab/auto_update.c | |
parent | f773bea8e11f4a11c388dcee956b2444203e6b65 (diff) | |
download | u-boot-1d1cb4270edc6a99276834064069717f9782c491.zip u-boot-1d1cb4270edc6a99276834064069717f9782c491.tar.gz u-boot-1d1cb4270edc6a99276834064069717f9782c491.tar.bz2 |
[new uImage] Fix build problems on trab board
Signed-off-by: Marian Balakowicz <m8@semihalf.com>
Diffstat (limited to 'board/trab/auto_update.c')
-rw-r--r-- | board/trab/auto_update.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/board/trab/auto_update.c b/board/trab/auto_update.c index fa08bff..5311e12 100644 --- a/board/trab/auto_update.c +++ b/board/trab/auto_update.c @@ -224,7 +224,7 @@ au_check_cksum_valid(int idx, long nbytes) return -1; } /* check the data CRC */ - if (!image_check_dcrc (hdr)) { + if (!image_check_dcrc (hdr)) { printf ("Image %s bad data checksum\n", aufile[idx]); return -1; @@ -284,7 +284,7 @@ au_check_header_valid(int idx, long nbytes) return -1; } if ((idx == IDX_APP) && !image_check_type (hdr, IH_TYPE_RAMDISK) - && !image_check_type (hdr, FILESYSTEM)) { + && !image_check_type (hdr, IH_TYPE_FILESYSTEM)) { printf ("Image %s wrong type\n", aufile[idx]); return -1; } |