diff options
author | Stefan Roese <sr@denx.de> | 2010-09-13 11:10:34 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2010-10-12 22:50:19 +0200 |
commit | eaadb44edf6799099ee73d423bbfd5e33b8ee9ff (patch) | |
tree | a851cf95773934c3a9398673636719600489b969 /common/hush.c | |
parent | c91d456c055237bdadb99a80e198748b8cf32595 (diff) | |
download | blackbird-obmc-uboot-eaadb44edf6799099ee73d423bbfd5e33b8ee9ff.tar.gz blackbird-obmc-uboot-eaadb44edf6799099ee73d423bbfd5e33b8ee9ff.zip |
cp/cmp: Add WATCHDOG_RESET in copy and compare loop
On some boards with a very short watchdog timeout, the "cp" and
"cmp" commands may reset the board. This patch adds some
watchdog resets inside the loops. Otherwise for example the lwmon5
board will reset while doing something like this:
=> cp.b fc000000 1000000 100000
Signed-off-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'common/hush.c')
0 files changed, 0 insertions, 0 deletions