]> git.baikalelectronics.ru Git - kernel.git/commit
[ARM] 3763/1: add both rtcs to csb337 defconfig
authorDavid Brownell <david-b@pacbell.net>
Thu, 31 Aug 2006 14:26:35 +0000 (15:26 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 31 Aug 2006 14:26:35 +0000 (15:26 +0100)
commit9b635b31d178b18c61d06cd56369f453a7e0464c
tree723496cee266d15c4004ad57ad9cd4aff2ae568b
parentbc8593a5a19792d3c864e446fec206490ba0d3d3
[ARM] 3763/1: add both rtcs to csb337 defconfig

Patch from David Brownell

This adds RTC support to the csb337 default config.  Both the AT91
and the ds1307 RTCs are enabled (rtc0 and rtc1 respectively).

The ds1307 is used to initialize the system time, since it's battery-backed.

From then on the AT91 RTC is used, since it's more capable (with both
alarm and update irqs, and system wakeup capability) even though it
needs manual initialization (symlink /dev/rtc to /dev/rtc0 for older
versions of hwclock, then "hwclock --systohc") in an rc script or
from inittab.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/configs/csb337_defconfig