From d7281f41094bee59eca958de3c04995a2f79034a Mon Sep 17 00:00:00 2001 From: wdenk Date: Sun, 19 Oct 2003 22:30:08 +0000 Subject: * Fix PCI problems on PPChameleonEVB * TRAB auto-update: image type patch by Martin Krause, 17 Oct 2003 --- board/trab/auto_update.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'board/trab/auto_update.c') diff --git a/board/trab/auto_update.c b/board/trab/auto_update.c index dd62d09483..33dece26e8 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; } -- cgit v1.2.1