[U-Boot] [PATCH] Add support for DS1388.

Wolfgang Denk wd at denx.de
Tue Jul 10 00:08:07 CEST 2012


Dear Kenth Eriksson,

In message <1337006340-27331-1-git-send-email-kenth.eriksson at 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 <kenth.eriksson at transmode.com>
> ---
>  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


More information about the U-Boot mailing list