diff mbox

[U-Boot,25/31] M28: Enable the internal RTC instead of the M41T62

Message ID 1315514579-19215-26-git-send-email-marek.vasut@gmail.com
State Changes Requested
Headers show

Commit Message

Marek Vasut Sept. 8, 2011, 8:42 p.m. UTC
Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
Cc: Stefano Babic <sbabic@denx.de>
Cc: Wolfgang Denk <wd@denx.de>
Cc: Detlev Zundel <dzu@denx.de>
---
 include/configs/m28evk.h |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

Comments

Stefano Babic Sept. 9, 2011, 12:45 p.m. UTC | #1
On 09/08/2011 10:42 PM, Marek Vasut wrote:
> Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
> Cc: Stefano Babic <sbabic@denx.de>
> Cc: Wolfgang Denk <wd@denx.de>
> Cc: Detlev Zundel <dzu@denx.de>
> ---

Only to remember: we have already agree you will squash your patches
together regarding m28evk. I will only set this patch (and the other
similar patches) in state "Change requested" on patchwork.

Best regards,
Stefano Babic
Marek Vasut Sept. 9, 2011, 12:51 p.m. UTC | #2
On Friday, September 09, 2011 02:45:16 PM Stefano Babic wrote:
> On 09/08/2011 10:42 PM, Marek Vasut wrote:
> > Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
> > Cc: Stefano Babic <sbabic@denx.de>
> > Cc: Wolfgang Denk <wd@denx.de>
> > Cc: Detlev Zundel <dzu@denx.de>
> > ---
> 
> Only to remember: we have already agree you will squash your patches
> together regarding m28evk. I will only set this patch (and the other
> similar patches) in state "Change requested" on patchwork.

Yea sure, I'll squash them ... have it like:
* Add CPU support
* ... drivers ...
* M28EVK
* README.m28

> 
> Best regards,
> Stefano Babic
Stefano Babic Sept. 9, 2011, 12:55 p.m. UTC | #3
On 09/09/2011 02:51 PM, Marek Vasut wrote:
> On Friday, September 09, 2011 02:45:16 PM Stefano Babic wrote:
>> On 09/08/2011 10:42 PM, Marek Vasut wrote:
>>> Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
>>> Cc: Stefano Babic <sbabic@denx.de>
>>> Cc: Wolfgang Denk <wd@denx.de>
>>> Cc: Detlev Zundel <dzu@denx.de>
>>> ---
>>
>> Only to remember: we have already agree you will squash your patches
>> together regarding m28evk. I will only set this patch (and the other
>> similar patches) in state "Change requested" on patchwork.
> 
> Yea sure, I'll squash them ... have it like:
> * Add CPU support
> * ... drivers ...
> * M28EVK
> * README.m28

That's fine with me.

Best regards,
Stefano Babic
diff mbox

Patch

diff --git a/include/configs/m28evk.h b/include/configs/m28evk.h
index 5cf62a2..dbeb37e 100644
--- a/include/configs/m28evk.h
+++ b/include/configs/m28evk.h
@@ -166,10 +166,16 @@ 
  * RTC
  */
 #ifdef	CONFIG_CMD_DATE
+/* Use the internal RTC in the MXS chip */
+#define	CONFIG_RTC_INTERNAL
+#ifdef	CONFIG_RTC_INTERNAL
+#define	CONFIG_RTC_MXS
+#else
 #define	CONFIG_RTC_M41T62
 #define	CONFIG_SYS_I2C_RTC_ADDR		0x68
 #define	CONFIG_SYS_M41T11_BASE_YEAR	2000
 #endif
+#endif
 
 /*
  * SPI