]> git.sur5r.net Git - u-boot/commit
ppc flush_cache: add watch-dog triggering into the loops.
authorYuri Tikhonov <yur@emcraft.com>
Tue, 29 Apr 2008 11:32:45 +0000 (13:32 +0200)
committerWolfgang Denk <wd@denx.de>
Tue, 29 Apr 2008 12:48:50 +0000 (14:48 +0200)
commit138105efe1d2b1a40a3a97b4c1f85c2111bea2d8
tree4e2459d4bb355cc9d997bd7b7bba6c75a0c3a0d8
parent18ec19e4aa1a045dfbf2c7c2e33963488e92d757
ppc flush_cache: add watch-dog triggering into the loops.

Some boards (e.g. lwmon5) need rather a frequent watch-dog
kicking. Since the time it takes for the flush_cache() function
to complete its job depends on the size of data being flushed, one
may encounter watch-dog resets on such boards when, for example,
download big files over ethernet.

Signed-off-by: Yuri Tikhonov <yur@emcraft.com>
lib_ppc/cache.c