From: Stuart Wood Date: Mon, 2 Jun 2008 20:40:08 +0000 (-0400) Subject: jffs2_1pass.c: add watchdog support X-Git-Tag: v1.3.4-rc1~90^2~25 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=86d3273e2b7be3fffb45e20c08535d6ad3aded6b;p=u-boot jffs2_1pass.c: add watchdog support Signed-off-by: Stuart Wood --- diff --git a/fs/jffs2/jffs2_1pass.c b/fs/jffs2/jffs2_1pass.c index 7e27ee18a2..d1423c1cda 100644 --- a/fs/jffs2/jffs2_1pass.c +++ b/fs/jffs2/jffs2_1pass.c @@ -116,6 +116,7 @@ #include #include #include +#include #if defined(CONFIG_CMD_JFFS2) @@ -1185,6 +1186,8 @@ jffs2_1pass_build_lists(struct part_info * part) oldoffset = offset; } + WATCHDOG_RESET(); + node = (struct jffs2_unknown_node *) get_node_mem((u32)part->offset + offset); if (node->magic == JFFS2_MAGIC_BITMASK && hdr_crc(node)) { /* if its a fragment add it */