From: Wolfgang Denk Date: Tue, 10 Jul 2012 00:08:07 +0200 Subject: [U-Boot] [PATCH] Add support for DS1388. In-Reply-To: <1337006340-27331-1-git-send-email-kenth.eriksson@transmode.com> References: <1337006340-27331-1-git-send-email-kenth.eriksson@transmode.com> Message-ID: <20120709220807.1DB3B202262@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Kenth Eriksson, In message <1337006340-27331-1-git-send-email-kenth.eriksson@transmode.com> you wrote: > Support for DS1388 is added by extending the DS1337 driver. DS1388 is similar to DS1337. The time registers are offset by 1 (due to support for hundreds of seconds), and there is no century bit. The configuration and trickle charge registers are also di > fferent. Tested on hardware with Freescale P2010 and DS1388. > > Signed-off-by: Kenth Eriksson > --- > drivers/rtc/Makefile | 1 + > drivers/rtc/ds1337.c | 26 ++++++++++++++++++++++++++ > 2 files changed, 27 insertions(+), 0 deletions(-) > > diff --git a/drivers/rtc/Makefile b/drivers/rtc/Makefile > index faf4fcd..c3831b1 100644 > --- a/drivers/rtc/Makefile > +++ b/drivers/rtc/Makefile > @@ -37,6 +37,7 @@ COBJS-$(CONFIG_RTC_DS1306) += ds1306.o > COBJS-$(CONFIG_RTC_DS1307) += ds1307.o > COBJS-$(CONFIG_RTC_DS1338) += ds1307.o > COBJS-$(CONFIG_RTC_DS1337) += ds1337.o > +COBJS-$(CONFIG_RTC_DS1388) += ds1337.o > COBJS-$(CONFIG_RTC_DS1374) += ds1374.o > COBJS-$(CONFIG_RTC_DS1556) += ds1556.o > COBJS-$(CONFIG_RTC_DS164x) += ds164x.o Please keep list sorted. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de 2000 pounds of chinese soup = 1 Won Ton