rtc: Add Xicor/Intersil X1205 RTC support
authorStefan Roese <sr@denx.de>
Sun, 21 Oct 2007 06:16:12 +0000 (08:16 +0200)
committerStefan Roese <sr@denx.de>
Wed, 31 Oct 2007 20:20:50 +0000 (21:20 +0100)
commit758c037aeead34b49631b8da3a90b1bba14c0410
tree1903eb3f89f7c58ca7331fe117a2c69770ea64f2
parent087dfdb79b5fd1ab99a26990c62a732c01a8c7f6
rtc: Add Xicor/Intersil X1205 RTC support

This patch adds support for the Xicor/Intersil X1205 RTC used on the
AMCC Makalu eval board. This driver is basically cloned from the Linux
driver version (2.6.23).

This patch also introduces the Linux bcd.h header for the BCD2BIN/
BIN2BCD conversions. In the future some of the other U-Boot RTC driver
should be converted to also use this header instead of implementing
their own local copy of these functions/macros.

Signed-off-by: Stefan Roese <sr@denx.de>
include/bcd.h [new file with mode: 0644]
rtc/Makefile
rtc/x1205.c [new file with mode: 0644]