summaryrefslogtreecommitdiff
path: root/board/trab/auto_update.c
diff options
context:
space:
mode:
authorwdenk <wdenk>2003-10-19 22:30:08 +0000
committerwdenk <wdenk>2003-10-19 22:30:08 +0000
commitd7281f41094bee59eca958de3c04995a2f79034a (patch)
tree74a95807299403fd74f7a58fa93de17963a9fde1 /board/trab/auto_update.c
parente7df029f1a24989532300c5e1bdfc83c77233594 (diff)
downloadu-boot-imx-d7281f41094bee59eca958de3c04995a2f79034a.zip
u-boot-imx-d7281f41094bee59eca958de3c04995a2f79034a.tar.gz
u-boot-imx-d7281f41094bee59eca958de3c04995a2f79034a.tar.bz2
* Fix PCI problems on PPChameleonEVB
* TRAB auto-update: image type patch by Martin Krause, 17 Oct 2003
Diffstat (limited to 'board/trab/auto_update.c')
-rw-r--r--board/trab/auto_update.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/board/trab/auto_update.c b/board/trab/auto_update.c
index dd62d09..33dece2 100644
--- a/board/trab/auto_update.c
+++ b/board/trab/auto_update.c
@@ -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;
}