[U-Boot-Users] DS1374 watchdog capabilities

Liu Dave-r63238 DaveLiu at freescale.com
Mon Aug 28 12:30:26 CEST 2006


> 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?

I remember the u-boot of git support DS1374 RTC function.

-DAve





More information about the U-Boot mailing list