> -----Original Message----- > From: Jason Cooper [mailto:u-b...@lakedaemon.net] > Sent: Monday, August 01, 2011 7:39 PM > To: w...@denx.de; Prafulla Wadaskar > Cc: u-boot@lists.denx.de; cl...@debian.org; Prabhanjan Sarnaik; Ashish > Karkare; Siddarth Gore; bd...@gag.com; Jason Cooper > Subject: [PATCH v3] drivers/rtc: add Marvell Integrated RTC. > > This driver can be used for kirkwood SoCs by enabling CONFIG_RTC_MV. > Tested on > Global Scale Technologies Dreamplug. > > Signed-off-by: Jason Cooper <u-b...@lakedaemon.net> > --- > Changes from v1: > - renamed files to mvrtc.{c,h} > - used proper c-structs for register access > - used existing macros for register access > - removed RFC > > Changes from v2: > - use bin2bcd() and bcd2bin() to make code easier to read > - changed CONFIG_RTC_MVINTEG -> CONFIG_RTC_MV > - use 24 hour mode, detect if rtc went into 12 hour mode > - add check if ticking to rtc_reset() > > arch/arm/include/asm/arch-kirkwood/kirkwood.h | 1 + > drivers/rtc/Makefile | 1 + > drivers/rtc/mvrtc.c | 124 > +++++++++++++++++++++++++ > drivers/rtc/mvrtc.h | 65 +++++++++++++ > 4 files changed, 191 insertions(+), 0 deletions(-) > create mode 100644 drivers/rtc/mvrtc.c > create mode 100644 drivers/rtc/mvrtc.h >
Applied to u-boot-marvell.git master branch Regards.. Prafulla . . _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot