From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bartlomiej Sieka Date: Wed, 12 Mar 2008 21:12:19 +0100 Subject: [U-Boot-Users] [PATCH 18/20] [new uImage] Fix build problems on trab board In-Reply-To: <20080312201023.6444.52806.stgit@pollux.denx.de> References: <20080312201023.6444.52806.stgit@pollux.denx.de> Message-ID: <20080312201219.6444.56306.stgit@pollux.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de From: Marian Balakowicz Signed-off-by: Marian Balakowicz --- 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; }