public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] DS1374 watchdog capabilities
@ 2006-08-28 10:24 llandre
  2006-08-28 10:30 ` Liu Dave-r63238
  2006-08-28 11:02 ` Wolfgang Denk
  0 siblings, 2 replies; 6+ messages in thread
From: llandre @ 2006-08-28 10:24 UTC (permalink / raw)
  To: u-boot

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2006-08-31 12:27 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-28 10:24 [U-Boot-Users] DS1374 watchdog capabilities llandre
2006-08-28 10:30 ` Liu Dave-r63238
2006-08-28 11:02 ` Wolfgang Denk
2006-08-28 11:13   ` llandre
2006-08-31 11:21     ` llandre
2006-08-31 12:27       ` Wolfgang Denk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox