summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
Diffstat (limited to 'board')
-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;
}