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

2011-09-09 Thread Stefano Babic
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 
>>> Cc: Stefano Babic 
>>> Cc: Wolfgang Denk 
>>> Cc: Detlev Zundel 
>>> ---
>>
>> 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

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


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

2011-09-09 Thread Marek Vasut
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 
> > Cc: Stefano Babic 
> > Cc: Wolfgang Denk 
> > Cc: Detlev Zundel 
> > ---
> 
> 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
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


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

2011-09-09 Thread Stefano Babic
On 09/08/2011 10:42 PM, Marek Vasut wrote:
> Signed-off-by: Marek Vasut 
> Cc: Stefano Babic 
> Cc: Wolfgang Denk 
> Cc: Detlev Zundel 
> ---

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

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


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

2011-09-08 Thread Marek Vasut
Signed-off-by: Marek Vasut 
Cc: Stefano Babic 
Cc: Wolfgang Denk 
Cc: Detlev Zundel 
---
 include/configs/m28evk.h |6 ++
 1 files changed, 6 insertions(+), 0 deletions(-)

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 */
+#defineCONFIG_RTC_INTERNAL
+#ifdef CONFIG_RTC_INTERNAL
+#defineCONFIG_RTC_MXS
+#else
 #defineCONFIG_RTC_M41T62
 #defineCONFIG_SYS_I2C_RTC_ADDR 0x68
 #defineCONFIG_SYS_M41T11_BASE_YEAR 2000
 #endif
+#endif
 
 /*
  * SPI
-- 
1.7.5.4

___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot