* Fix PCI problems on PPChameleonEVB

* TRAB auto-update: image type patch by Martin Krause, 17 Oct 2003
This commit is contained in:
wdenk
2003-10-19 22:30:08 +00:00
parent e7df029f1a
commit d7281f4109
3 changed files with 6 additions and 2 deletions

View File

@@ -260,7 +260,8 @@ au_check_valid(int idx, long nbytes)
printf ("Image %s wrong type\n", aufile[idx]);
return -1;
}
if ((idx == IDX_APP) && (hdr->ih_type != IH_TYPE_RAMDISK)) {
if ((idx == IDX_APP) && (hdr->ih_type != IH_TYPE_RAMDISK)
&& (hdr->ih_type != IH_TYPE_FILESYSTEM)) {
printf ("Image %s wrong type\n", aufile[idx]);
return -1;
}