]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
cp/cmp: Add WATCHDOG_RESET in copy and compare loop
authorStefan Roese <sr@denx.de>
Mon, 13 Sep 2010 09:10:34 +0000 (11:10 +0200)
committerWolfgang Denk <wd@denx.de>
Tue, 12 Oct 2010 20:50:19 +0000 (22:50 +0200)
commiteaadb44edf6799099ee73d423bbfd5e33b8ee9ff
treea851cf95773934c3a9398673636719600489b969
parentc91d456c055237bdadb99a80e198748b8cf32595
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>
common/cmd_mem.c