[U-Boot-Users] DS1374 watchdog capabilities

llandre r&d2 at dave-tech.it
Mon Aug 28 12:24:51 CEST 2006


Hi,

I'd like to use DS1374 watchdog capabilities. Is it correct to put the 
new stuff in the existing RTC driver (rtc/ds1374.c)? I was thinking 
about something like this:

#if (defined(CONFIG_RTC_DS1374)) &&

#if (CONFIG_COMMANDS & CFG_CMD_DATE)
	existing stuff
#endif

#if (CONFIG_WATCHDOG)
	new stuff
#endif

#endif

If it is not acceptable, where should I put the new stuff?


TIA,
llandre

DAVE Electronics System House - R&D Department
web:   http://www.dave-tech.it
email: r&d2 at dave-tech.it




More information about the U-Boot mailing list