From: Marian Balakowicz Date: Wed, 12 Mar 2008 09:35:51 +0000 (+0100) Subject: [new uImage] Fix build problems on trab board X-Git-Tag: v1.3.3-rc1~141^2^2~13 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=1d1cb4270edc6a99276834064069717f9782c491;p=u-boot [new uImage] Fix build problems on trab board Signed-off-by: Marian Balakowicz --- diff --git a/board/trab/auto_update.c b/board/trab/auto_update.c index fa08bffecd..5311e12447 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; }