u-boot-2016/include
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
..
asm-arm The patch introduces the CRITICAL feature of POST tests. If the test 2008-03-18 21:59:23 +01:00
asm-avr32 The patch introduces the CRITICAL feature of POST tests. If the test 2008-03-18 21:59:23 +01:00
asm-blackfin The patch introduces the CRITICAL feature of POST tests. If the test 2008-03-18 21:59:23 +01:00
asm-i386 The patch introduces the CRITICAL feature of POST tests. If the test 2008-03-18 21:59:23 +01:00
asm-m68k The patch introduces the CRITICAL feature of POST tests. If the test 2008-03-18 21:59:23 +01:00
asm-microblaze The patch introduces the CRITICAL feature of POST tests. If the test 2008-03-18 21:59:23 +01:00
asm-mips The patch introduces the CRITICAL feature of POST tests. If the test 2008-03-18 21:59:23 +01:00
asm-nios The patch introduces the CRITICAL feature of POST tests. If the test 2008-03-18 21:59:23 +01:00
asm-nios2 The patch introduces the CRITICAL feature of POST tests. If the test 2008-03-18 21:59:23 +01:00
asm-ppc lwmon5 watchdog: limit trigger rate 2008-04-22 15:21:15 +02:00
asm-sh The patch introduces the CRITICAL feature of POST tests. If the test 2008-03-18 21:59:23 +01:00
bedbug
configs lwmon5 watchdog: limit trigger rate 2008-04-22 15:21:15 +02:00
cramfs Fix endianess problem in cramfs code (cramfs is always host-endian in Linux) 2008-03-03 22:08:08 +01:00
galileo More code cleanup 2006-07-21 15:24:56 +02:00
jffs2 Add common (with Linux) MTD partition scheme and "mtdparts" command 2005-08-08 01:03:24 +02:00
linux nand: FSL UPM NAND driver 2008-01-16 14:14:40 +01:00
pcmcia Fix IDE stability problems on CPC45 board. 2005-01-22 18:26:04 +00:00
.gitignore add gitignores for Blackfin pieces 2008-02-04 19:26:53 -05:00
4xx_i2c.h ppc4xx: Add basic support for AMCC 460EX/460GT (3/5) 2008-03-15 07:28:04 +01:00
74xx_7xx.h [ppc] Fix build breakage for all non-4xx PowerPC variants. 2007-06-22 14:58:04 +02:00
405_dimm.h
405_mal.h ppc4xx: Add basic support for AMCC 460EX/460GT (3/5) 2008-03-15 07:28:04 +01:00
_exports.h [ARM] TI DaVinci support, hopefully final 2007-08-10 20:26:18 +02:00
ACEX1K.h Add FPGA Altera Cyclone 2 support 2006-08-15 14:15:51 +02:00
ahci.h Add AHCI support to u-boot 2006-08-23 10:39:01 -05:00
altera.h Add FPGA Altera Cyclone 2 support 2006-08-15 14:15:51 +02:00
api_public.h API: Add (c) and licensing notice to the public API header. 2008-02-21 11:56:44 +01:00
arm920t.h
arm925t.h [PATCH] omap925.c: Remove unused functions 2006-10-28 17:13:12 +02:00
arm926ejs.h
arm946es.h Add ARM946E cpu and core module targets; remap memory to 0x00000000 2005-09-25 01:48:28 +02:00
armcoremodule.h Update ARM Integrator boards: 2005-10-04 23:10:28 +02:00
at45.h Coding style cleanup. Update CHANGELOG. 2007-08-14 18:42:36 +02:00
at91rm9200_i2c.h Code Cleanup 2004-10-10 18:03:33 +00:00
at91rm9200_net.h * Move dm9161.c and lxt972.c into cpu/arm920t/at91rm9200 2005-10-05 01:51:29 +02:00
ata.h Minor coding style cleanup. 2007-05-15 23:38:05 +02:00
bcd.h rtc: Add Xicor/Intersil X1205 RTC support 2007-10-31 21:20:50 +01:00
bcm5221.h Add support for Cogent csb637 2005-10-05 02:00:09 +02:00
bmp_layout.h
bzlib.h
circbuf.h
clps7111.h
command.h Remove references to the old cmd_confdefs.h include file. 2007-07-08 16:06:51 -05:00
common.h POST: move CONFIG_POST to Makefiles 2008-04-22 14:40:19 +02:00
commproc.h TK885D: fixes for bigger flash sector sizes on new modules; 2008-01-15 17:21:28 +01:00
config_cmd_all.h add 'terminal program' functionality 2008-01-09 13:26:38 +01:00
config_cmd_default.h include/ non-config: Augment CONFIG_COMMANDS tests with defined(CONFIG_CMD_*). 2007-07-04 00:35:14 +02:00
console.h
crc.h Some code cleanup 2006-04-16 10:51:58 +02:00
da9030.h This patch adds USB storage support for the delta board. This is the first 2006-05-22 16:33:54 +02:00
dataflash.h Coding style cleanup. Update CHANGELOG. 2007-08-14 18:42:36 +02:00
devices.h Add support for console over UDP (compatible to Ingo Molnar's 2004-08-02 21:11:11 +00:00
div64.h Move 64bit division from avr32 to generic lib 2007-08-10 10:33:34 +02:00
dm9161.h Add MACH_TYPE records for several AT91 boards. 2007-08-14 10:10:52 +01:00
dp83848.h [ARM] TI DaVinci support, hopefully final 2007-08-10 20:26:18 +02:00
dtt.h Add driver for National Semiconductor LM73 temperature sensor 2007-12-27 19:35:35 +01:00
e500.h Reworked FSL Book-E TLB macros to be more readable 2008-01-09 16:25:03 -06:00
elf.h
environment.h [PATCH] Select NAND embedded environment from board configuration 2006-11-27 17:34:10 +01:00
exports.h [ARM] TI DaVinci support, hopefully final 2007-08-10 20:26:18 +02:00
ext2fs.h ext2fs support added 2004-12-16 17:33:10 +00:00
fat.h Fix checking fat32 cluster size. 2008-03-03 00:40:42 +01:00
fdc.h
fdt.h Cleanup coding style; update CHANGELOG 2007-11-26 19:18:21 +01:00
fdt_support.h 85xx: add ability to upload QE firmware 2008-01-09 16:28:12 -06:00
flash.h CFI: synchronize command offsets with Linux CFI driver 2007-12-13 12:00:37 +01:00
fpga.h Cleanup for GCC-4.x 2005-10-13 16:45:02 +02:00
ft_build.h * Fix a bunch of compiler warnings for gcc 4.0 2006-10-19 11:33:52 -05:00
hush.h
i2c.h [PATCH] I2C: Add missing default CFG_SPD_BUS_NUM 2007-03-08 22:16:00 +01:00
i8042.h
ide.h IDE: - make ide_inb () and ide_outb () "weak", so boards can 2007-08-28 17:39:14 +02:00
image.h Allocate CPU Architecture Code for STMicroelectronics' ST200. 2007-09-10 22:24:23 +02:00
ioports.h Stop using immap_t for cpm offset on 85xx 2007-12-11 22:34:19 -06:00
keyboard.h
kgdb.h
lcd.h include/: Remove obsolete references to CONFIG_COMMANDS 2007-07-09 17:15:49 -05:00
lcdvideo.h
lh7a40x.h
lh7a400.h
lh7a404.h
libfdt.h libfdt: Add more documentation (patch the seventh) 2008-01-08 15:03:42 -05:00
libfdt_env.h Minor code clean up. 2007-08-10 19:21:35 -04:00
linux_logo.h
lists.h
logbuff.h Adapt log buffer code to support Linux 2.6 2007-06-22 23:25:25 +02:00
lpd7a400_cpld.h
lxt971a.h Patches by Lars Munch, 12 Jul 2004: 2004-08-02 23:39:03 +00:00
lynxkdi.h
malloc.h
mb862xx.h Add Fujitsu CoralP/Lime video driver 2008-01-11 16:05:36 +01:00
MCD_dma.h ColdFire: Add MCF547x_8x dma code and header files 2008-01-17 14:59:42 -06:00
MCD_progCheck.h ColdFire: Add MCF547x_8x dma code and header files 2008-01-17 14:59:42 -06:00
MCD_tasksInit.h ColdFire: Add MCF547x_8x dma code and header files 2008-01-17 14:59:42 -06:00
mii_phy.h
miiphy.h NET: Add Ethernet 1000BASE-X support for PPC4xx 2007-11-06 10:25:33 -05:00
mk48t59.h include/: Remove obsolete references to CONFIG_COMMANDS 2007-07-09 17:15:49 -05:00
mmc.h
mpc5xx.h Coding stylke cleanup; rebuild CHANGELOG 2007-06-22 23:59:00 +02:00
mpc5xxx.h [ppc] Fix build breakage for all non-4xx PowerPC variants. 2007-06-22 14:58:04 +02:00
mpc8xx.h Coding stylke cleanup; rebuild CHANGELOG 2007-06-22 23:59:00 +02:00
mpc8xx_irq.h
mpc83xx.h mpc83xx: Fix the fatal conflict of merge 2008-01-17 11:01:52 -06:00
mpc85xx.h 85xx start.S cleanup and exception support 2007-08-14 01:34:21 -05:00
mpc86xx.h [ppc] Fix build breakage for all non-4xx PowerPC variants. 2007-06-22 14:58:04 +02:00
mpc106.h
mpc512x.h MPC5121e ADS PCI support take 3 2008-03-02 21:44:59 +01:00
mpc824x.h Coding stylke cleanup; rebuild CHANGELOG 2007-06-22 23:59:00 +02:00
mpc8220.h [ppc] Fix build breakage for all non-4xx PowerPC variants. 2007-06-22 14:58:04 +02:00
mpc8260.h Coding stylke cleanup; rebuild CHANGELOG 2007-06-22 23:59:00 +02:00
mpc8260_irq.h
nand.h [patch] add nand_init() prototype to nand.h 2007-06-22 10:34:12 +02:00
net.h Introduce new eth_receive routine 2008-01-03 21:36:50 -05:00
nios-io.h
nios.h
nios2-epcs.h Nios II - Add EPCS Controller bootrom work-around 2006-06-08 12:08:12 -04:00
nios2-io.h * Patch by Scott McNutt, 21 Oct 2004: 2005-03-30 23:28:18 +00:00
nios2.h Patches by Scott McNutt, 24 Aug 2004: 2004-10-10 21:27:30 +00:00
ns7520_eth.h Add support for NetSilicon NS7520 processor. 2005-10-09 01:41:48 +02:00
ns9750_bbus.h
ns9750_eth.h Patches by Lars Munch, 12 Jul 2004: 2004-08-02 23:39:03 +00:00
ns9750_mem.h
ns9750_ser.h
ns9750_sys.h
ns16550.h Add support for TB5200 board 2006-07-19 13:50:38 +02:00
ns87308.h
onenand_uboot.h OneNAND support (take #2) 2007-09-17 08:19:08 +02:00
part.h MMC for PXA 27X (resubmit) 2008-02-03 23:58:21 +01:00
pc_keyb.h
pci.h Make MPC8641's PCI/PCI-E driver a common driver for many FSL parts. 2007-08-06 00:22:24 +02:00
pci_ids.h Change Id to symbolic name for RTL8139 2006-06-28 08:43:56 -05:00
pcmcia.h cpu/ rtc/ include/: Remove lingering references to CFG_CMD_* symbols. 2007-07-10 10:27:39 -05:00
post.h The patch introduces the CRITICAL feature of POST tests. If the test 2008-03-18 21:59:23 +01:00
ppc4xx.h ppc4xx: Consolidate some of the 405 and 440 macros/structs into 4xx 2007-10-31 21:20:50 +01:00
ppc4xx_enet.h ppc4xx: Add basic support for AMCC 460EX/460GT (4/5) 2008-03-15 07:28:04 +01:00
ppc405.h ppc4xx: Add basic support for AMCC 460EX/460GT (4/5) 2008-03-15 07:28:04 +01:00
ppc440.h The patch introduces the alternative configuration of the log buffer for 2008-03-18 21:59:24 +01:00
ppc_asm.tmpl e500 needs ppc_asm.tmp MCK_EXCEPTION 2007-08-14 01:21:22 -05:00
ppc_defs.h
ps2mult.h
radeon.h Extend ATI Radeon driver to support more video modes 2008-02-15 00:54:01 +01:00
reiserfs.h
rtc.h
s3c24x0.h
s3c2400.h Cleanup trab board for GCC-4.x 2006-06-26 10:54:52 +02:00
s3c2410.h Fix compiler warning in include/s3c2410.h 2007-08-29 02:05:53 +02:00
s_record.h
SA-1100.h
sa1100.h
sata.h Fix S-ATA support. 2007-06-30 18:50:48 +02:00
scsi.h
sed156x.h
sed13806.h
serial.h ARM: s3c24xx: Multiple serial port support 2008-02-04 23:52:49 +01:00
sha1.h Coding style cleanup; update CHANGELOG. 2007-07-10 00:01:28 +02:00
sm501.h Add SM501 support to HH405 board. 2005-09-22 09:04:17 +02:00
smiLynxEM.h
spartan2.h Add new Xilinx Spartan FPGA types 2008-01-09 13:36:28 +01:00
spartan3.h Add new Xilinx Spartan FPGA types 2008-01-09 13:36:28 +01:00
spd.h Fix style issues primarily in 85xx and 83xx boards. 2005-08-01 13:20:47 -05:00
spd_sdram.h Support for DDR with 32-data path. Addotional notes on injecting 2006-03-16 17:46:46 +01:00
spi.h
status_led.h Coding Style cleanup. 2007-10-13 21:15:39 +02:00
sym53c8xx.h
systemace.h
tsi108.h Clean up the code according to codestyle: 2006-12-01 11:47:36 +08:00
universe.h Code cleanup. 2004-12-16 21:44:03 +00:00
usb.h USB event poll support 2007-06-06 10:08:13 +02:00
usb_cdc_acm.h Code cleanup 2006-06-14 18:14:56 +02:00
usb_defs.h Remove unnecessary defines from usb_defs.h again. 2005-08-02 15:08:46 +02:00
usbdcore.h Various USB related patches 2006-06-14 17:45:53 +02:00
usbdcore_ep0.h
usbdcore_mpc8xx.h Code cleanup 2006-06-14 18:14:56 +02:00
usbdcore_omap1510.h Various USB related patches 2006-06-14 17:45:53 +02:00
usbdescriptors.h Code cleanup 2006-06-14 18:14:56 +02:00
version.h Add GIT version information (commid ID) to untagged U-Boot versions 2006-02-21 17:33:04 +01:00
vfd_logo.h
video.h
video_ad7176.h
video_ad7177.h
video_ad7179.h
video_easylogo.h
video_fb.h
video_font.h
video_logo.h
virtex2.h
w83c553f.h
watchdog.h Cleanup (PPC4xx is AMCC now) 2005-09-23 11:05:55 +02:00
xilinx.h Improve configuration of FPGA subsystem 2008-01-09 13:34:20 +01:00
xyzModem.h More code cleanup 2006-07-21 15:24:56 +02:00
zlib.h