[U-Boot] [PATCH 1/2] rtc: Make mc13783-rtc driver generic
Stefano Babic
sbabic at denx.de
Tue Oct 25 10:03:07 CEST 2011
On 10/24/2011 06:37 PM, Fabio Estevam wrote:
> 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 at freescale.com>
> ---
> README | 2 +-
> drivers/rtc/Makefile | 2 +-
> include/configs/efikamx.h | 2 +-
> include/configs/imx31_litekit.h | 2 +-
> include/configs/mx31ads.h | 2 +-
> include/configs/mx31pdk.h | 2 +-
> include/configs/qong.h | 2 +-
> include/configs/vision2.h | 2 +-
> 8 files changed, 8 insertions(+), 8 deletions(-)
Well, I do not see that drivers/rtc/mc13783-rtc.c becomes
drivers/rtc/mc13xxx-rtc.c. You patch misses something, I suppose.
Best regards,
Stefano Babic
--
=====================================================================
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de
=====================================================================
More information about the U-Boot
mailing list