Patchwork [U-Boot] mx35pdk: Add RTC support

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

Comments

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

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
---
 include/configs/mx35pdk.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
Stefano Babic - Oct. 26, 2011, 8:26 a.m.
On 10/25/2011 01:35 PM, Fabio Estevam wrote:
> MX35PDK has an MC13892 PMIC. Add RTC support.
> 
> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
> ---
>  include/configs/mx35pdk.h |    2 ++
>  1 files changed, 2 insertions(+), 0 deletions(-)
> 
> diff --git a/include/configs/mx35pdk.h b/include/configs/mx35pdk.h
> index 1707b4d..d7d6f96 100644
> --- a/include/configs/mx35pdk.h
> +++ b/include/configs/mx35pdk.h
> @@ -73,6 +73,7 @@
>  #define CONFIG_PMIC_I2C
>  #define CONFIG_PMIC_FSL
>  #define CONFIG_SYS_FSL_PMIC_I2C_ADDR	0x08
> +#define CONFIG_RTC_MC13XXX
>  
>  /*
>   * MFD MC9SDZ60
> @@ -111,6 +112,7 @@
>  #define CONFIG_CMD_MII
>  #define CONFIG_CMD_NET
>  #define CONFIG_NET_RETRY_COUNT	100
> +#define CONFIG_CMD_DATE
>  
>  #define CONFIG_BOOTDELAY	3
>  

Acked-by: Stefano Babic <sbabic@denx.de>
Tested-by: Stefano Babic <sbabic@denx.de>

Best regards,
Stefano Babic

Patch

diff --git a/include/configs/mx35pdk.h b/include/configs/mx35pdk.h
index 1707b4d..d7d6f96 100644
--- a/include/configs/mx35pdk.h
+++ b/include/configs/mx35pdk.h
@@ -73,6 +73,7 @@ 
 #define CONFIG_PMIC_I2C
 #define CONFIG_PMIC_FSL
 #define CONFIG_SYS_FSL_PMIC_I2C_ADDR	0x08
+#define CONFIG_RTC_MC13XXX
 
 /*
  * MFD MC9SDZ60
@@ -111,6 +112,7 @@ 
 #define CONFIG_CMD_MII
 #define CONFIG_CMD_NET
 #define CONFIG_NET_RETRY_COUNT	100
+#define CONFIG_CMD_DATE
 
 #define CONFIG_BOOTDELAY	3