u-boot/board/lwmon5
Yuri Tikhonov d32a874b9b lwmon5 watchdog: limit trigger rate
Limit the rate of h/w watch-dog triggering on the LWMON5 board by
the CONFIG_WD_MAX_RATE value.

Note that an earlier version of this patch which used microseconds
instead of ticks dis not work. The problem was that we used
usec2ticks() to convert microseconds into ticks. usec2ticks() uses
get_tbclk(), which in turn calls get_sys_info(). It turns out that
this function does a lot of prolonged operations (like divisions)
which take too much time so we do not trigger the watchdog in time,
and it resets the system.

Signed-off-by: Yuri Tikhonov <yur@emcraft.com>
2008-04-22 15:21:15 +02:00
..
config.mk [ppc4xx] Add initial lwmon5 board support 2007-06-15 08:18:01 +02:00
init.S ppc4xx: Change LWMON5 to not use OCM for init-ram and POST anymore 2008-01-09 10:28:20 +01:00
kbd.c ppc4xx: Add matrix kbd support to lwmon5 board (440EPx based) 2007-08-21 16:27:57 +02:00
lwmon5.c lwmon5 watchdog: limit trigger rate 2008-04-22 15:21:15 +02:00
Makefile ppc4xx: Add matrix kbd support to lwmon5 board (440EPx based) 2007-08-21 16:27:57 +02:00
sdram.c PPC4xx: Use common code for LWMON5 board SDRAM support 2008-01-04 11:37:43 +01:00
u-boot.lds Fix linker scripts: add NOLOAD atribute to .bss/.sbss sections 2008-01-12 20:31:39 +01:00