> -----Original Message----- > From: Jason Cooper [mailto:[email protected]] > Sent: Monday, August 01, 2011 7:39 PM > To: [email protected]; Prafulla Wadaskar > Cc: [email protected]; [email protected]; Prabhanjan Sarnaik; Ashish > Karkare; Siddarth Gore; [email protected]; 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 <[email protected]> > --- > 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 [email protected] http://lists.denx.de/mailman/listinfo/u-boot

