]> git.sur5r.net Git - u-boot/commit
rtc: Make mc13783-rtc driver generic
authorFabio Estevam <fabio.estevam@freescale.com>
Mon, 24 Oct 2011 06:44:15 +0000 (06:44 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Thu, 3 Nov 2011 21:56:19 +0000 (22:56 +0100)
commit4e8b7544b796c4a8d4513b4070716ce42bfba840
treea3241d07010b0c64be2a0fa5f7787b25c72a66b8
parent199222fcd280dc7abde193e0ba4a649c5cc32fbb
rtc: Make mc13783-rtc driver generic

Rename mc13783-rtc so that it can be used for both MC13783 and MC13892 PMICs.

efikamx board, for example, does use a MC13892 PMIC, but the RTC selection is currently made as:

#define CONFIG_RTC_MC13783

,which is not very obvious.

Let the MC13783 and MC13892 RTC be selected by:

#define CONFIG_RTC_MC13XXX

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Acked-by: Stefano Babic <sbabic@denx.de>
README
drivers/rtc/Makefile
drivers/rtc/mc13783-rtc.c [deleted file]
drivers/rtc/mc13xxx-rtc.c [new file with mode: 0644]
include/configs/efikamx.h
include/configs/imx31_litekit.h
include/configs/mx31ads.h
include/configs/mx31pdk.h
include/configs/qong.h
include/configs/vision2.h