From mboxrd@z Thu Jan 1 00:00:00 1970 From: llandre Date: Mon, 28 Aug 2006 12:24:51 +0200 Subject: [U-Boot-Users] DS1374 watchdog capabilities Message-ID: <44F2C473.5030000@dave-tech.it> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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