summaryrefslogtreecommitdiff
path: root/common/cmd_nvedit.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/cmd_nvedit.c')
-rw-r--r--common/cmd_nvedit.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/common/cmd_nvedit.c b/common/cmd_nvedit.c
index 08e888c..0a19ce4 100644
--- a/common/cmd_nvedit.c
+++ b/common/cmd_nvedit.c
@@ -42,6 +42,7 @@
#include <common.h>
#include <command.h>
#include <environment.h>
+#include <watchdog.h>
#include <cmd_nvedit.h>
#include <linux/stddef.h>
#include <asm/byteorder.h>
@@ -459,6 +460,8 @@ char *getenv (uchar *name)
{
int i, nxt;
+ WATCHDOG_RESET();
+
for (i=0; env_get_char(i) != '\0'; i=nxt+1) {
int val;