mirror of
https://github.com/Stichting-MINIX-Research-Foundation/u-boot.git
synced 2025-09-10 04:26:19 -04:00
[new uImage] Fix build problems on trab board
Signed-off-by: Marian Balakowicz <m8@semihalf.com>
This commit is contained in:
parent
f773bea8e1
commit
1d1cb4270e
@ -224,7 +224,7 @@ au_check_cksum_valid(int idx, long nbytes)
|
|||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
/* check the data CRC */
|
/* check the data CRC */
|
||||||
if (!image_check_dcrc (hdr)) {
|
if (!image_check_dcrc (hdr))
|
||||||
{
|
{
|
||||||
printf ("Image %s bad data checksum\n", aufile[idx]);
|
printf ("Image %s bad data checksum\n", aufile[idx]);
|
||||||
return -1;
|
return -1;
|
||||||
@ -284,7 +284,7 @@ au_check_header_valid(int idx, long nbytes)
|
|||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
if ((idx == IDX_APP) && !image_check_type (hdr, IH_TYPE_RAMDISK)
|
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]);
|
printf ("Image %s wrong type\n", aufile[idx]);
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user