Patchwork [U-Boot] mx53evk: Add RTC support

login
register
mail settings
Submitter Fabio Estevam
Date Oct. 25, 2011, 11:44 a.m.
Message ID <1319543059-29794-1-git-send-email-fabio.estevam@freescale.com>
Download mbox | patch
Permalink /patch/121624/
State Accepted
Commit 4f97c88ea183f8aee27dfeb0bec1bc97375895c7
Delegated to: Stefano Babic
Headers show

Comments

Fabio Estevam - Oct. 25, 2011, 11:44 a.m.
MX53EVK has an MC13892 PMIC. Add RTC support.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
---
 include/configs/mx53evk.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
Stefano Babic - Oct. 25, 2011, 12:08 p.m.
On 10/25/2011 01:44 PM, Fabio Estevam wrote:
> MX53EVK has an MC13892 PMIC. Add RTC support.
> 
> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
> ---
>  include/configs/mx53evk.h |    2 ++
>  1 files changed, 2 insertions(+), 0 deletions(-)
> 
> diff --git a/include/configs/mx53evk.h b/include/configs/mx53evk.h
> index c1941e3..6c4d34f 100644
> --- a/include/configs/mx53evk.h
> +++ b/include/configs/mx53evk.h
> @@ -63,6 +63,7 @@
>  #define CONFIG_PMIC_I2C
>  #define CONFIG_PMIC_FSL
>  #define CONFIG_SYS_FSL_PMIC_I2C_ADDR    8
> +#define CONFIG_RTC_MC13XXX
>  
>  /* MMC Configs */
>  #define CONFIG_FSL_ESDHC
> @@ -88,6 +89,7 @@
>  #define CONFIG_CMD_DHCP
>  #define CONFIG_CMD_MII
>  #define CONFIG_CMD_NET
> +#define CONFIG_CMD_DATE
>  
>  /* allow to overwrite serial and ethaddr */
>  #define CONFIG_ENV_OVERWRITE

Jason is not sent in CC as board maintainer - I have added him now.

Stefano
Jason Liu - Oct. 31, 2011, 3:15 a.m.
2011/10/25 Stefano Babic <sbabic@denx.de>:
> On 10/25/2011 01:44 PM, Fabio Estevam wrote:
>> MX53EVK has an MC13892 PMIC. Add RTC support.
>>
>> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
>> ---
>>  include/configs/mx53evk.h |    2 ++
>>  1 files changed, 2 insertions(+), 0 deletions(-)
>>
>> diff --git a/include/configs/mx53evk.h b/include/configs/mx53evk.h
>> index c1941e3..6c4d34f 100644
>> --- a/include/configs/mx53evk.h
>> +++ b/include/configs/mx53evk.h
>> @@ -63,6 +63,7 @@
>>  #define CONFIG_PMIC_I2C
>>  #define CONFIG_PMIC_FSL
>>  #define CONFIG_SYS_FSL_PMIC_I2C_ADDR    8
>> +#define CONFIG_RTC_MC13XXX
>>
>>  /* MMC Configs */
>>  #define CONFIG_FSL_ESDHC
>> @@ -88,6 +89,7 @@
>>  #define CONFIG_CMD_DHCP
>>  #define CONFIG_CMD_MII
>>  #define CONFIG_CMD_NET
>> +#define CONFIG_CMD_DATE
>>
>>  /* allow to overwrite serial and ethaddr */
>>  #define CONFIG_ENV_OVERWRITE
>
> Jason is not sent in CC as board maintainer - I have added him now.

Thanks Stefano. :)

Acked-by: Jason Liu < jason.hui@linaro.org>


BR,
Jason

>
> Stefano
>
> --
> =====================================================================
> 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@denx.de
> =====================================================================
> _______________________________________________
> U-Boot mailing list
> U-Boot@lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot
>

Patch

diff --git a/include/configs/mx53evk.h b/include/configs/mx53evk.h
index c1941e3..6c4d34f 100644
--- a/include/configs/mx53evk.h
+++ b/include/configs/mx53evk.h
@@ -63,6 +63,7 @@ 
 #define CONFIG_PMIC_I2C
 #define CONFIG_PMIC_FSL
 #define CONFIG_SYS_FSL_PMIC_I2C_ADDR    8
+#define CONFIG_RTC_MC13XXX
 
 /* MMC Configs */
 #define CONFIG_FSL_ESDHC
@@ -88,6 +89,7 @@ 
 #define CONFIG_CMD_DHCP
 #define CONFIG_CMD_MII
 #define CONFIG_CMD_NET
+#define CONFIG_CMD_DATE
 
 /* allow to overwrite serial and ethaddr */
 #define CONFIG_ENV_OVERWRITE