Skip to content
Snippets Groups Projects
Commit eaadb44e authored by Stefan Roese's avatar Stefan Roese Committed by Wolfgang Denk
Browse files

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: default avatarStefan Roese <sr@denx.de>
parent c91d456c
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment