diff mbox

[U-Boot,1/3] mx28evk: add RTC support

Message ID 1326886389468-git-send-email-matthias.fuchs@esd.eu
State Accepted
Commit 9588d942198eeaa65a292d47a25bd1177ef2046b
Delegated to: Stefano Babic
Headers show

Commit Message

Matthias Fuchs Jan. 18, 2012, 11:33 a.m. UTC
This patch adds support for the MX28 internal RTC
and enables u-boot's date command.

Signed-off-by: Matthias Fuchs <matthias.fuchs@esd.eu>
---
 include/configs/mx28evk.h |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

Comments

Marek Vasut Jan. 18, 2012, 4:07 p.m. UTC | #1
> This patch adds support for the MX28 internal RTC
> and enables u-boot's date command.
> 
> Signed-off-by: Matthias Fuchs <matthias.fuchs@esd.eu>
> ---
>  include/configs/mx28evk.h |    8 ++++++++
>  1 files changed, 8 insertions(+), 0 deletions(-)
> 
> diff --git a/include/configs/mx28evk.h b/include/configs/mx28evk.h
> index bea46e7..8a752aa 100644
> --- a/include/configs/mx28evk.h
> +++ b/include/configs/mx28evk.h
> @@ -56,6 +56,7 @@
>  #define CONFIG_CMD_FAT
> 
>  #define CONFIG_CMD_CACHE
> +#define CONFIG_CMD_DATE
>  #define CONFIG_CMD_DHCP
>  #define CONFIG_CMD_GPIO
>  #define CONFIG_CMD_MII
> @@ -150,6 +151,13 @@
>  #endif
> 
>  /*
> + * RTC
> + */
> +#ifdef	CONFIG_CMD_DATE
> +#define	CONFIG_RTC_MXS
> +#endif
> +
> +/*
>   * Boot Linux
>   */
>  #define CONFIG_CMDLINE_TAG

Fabio, can you please test this and 2/3 ?
TIA
M
Fabio Estevam Jan. 20, 2012, 3:23 a.m. UTC | #2
On Wed, Jan 18, 2012 at 2:07 PM, Marek Vasut <marek.vasut@gmail.com> wrote:

> Fabio, can you please test this and 2/3 ?

Yes, will test them soon.

Regards,

Fabio Estevam
Marek Vasut Jan. 20, 2012, 3:55 a.m. UTC | #3
> On Wed, Jan 18, 2012 at 2:07 PM, Marek Vasut <marek.vasut@gmail.com> wrote:
> > Fabio, can you please test this and 2/3 ?
> 
> Yes, will test them soon.
> 
> Regards,
> 
> Fabio Estevam

Thanks a lot!
Fabio Estevam Jan. 23, 2012, 8:01 p.m. UTC | #4
On 1/18/12, Matthias Fuchs <matthias.fuchs@esd.eu> wrote:
> This patch adds support for the MX28 internal RTC
> and enables u-boot's date command.
>
> Signed-off-by: Matthias Fuchs <matthias.fuchs@esd.eu>

Tested-by: Fabio Estevam <fabio.estevam@freescale.com>
Fabio Estevam Feb. 6, 2012, 12:51 p.m. UTC | #5
Hi Stefano,

On 1/23/12, Fabio Estevam <festevam@gmail.com> wrote:
> On 1/18/12, Matthias Fuchs <matthias.fuchs@esd.eu> wrote:
>> This patch adds support for the MX28 internal RTC
>> and enables u-boot's date command.
>>
>> Signed-off-by: Matthias Fuchs <matthias.fuchs@esd.eu>
>
> Tested-by: Fabio Estevam <fabio.estevam@freescale.com>

Any issues with this patch series?

If not, is it possible to apply them?

Thanks,

Fabio Estevam
Stefano Babic Feb. 6, 2012, 1:11 p.m. UTC | #6
On 06/02/2012 13:51, Fabio Estevam wrote:
> Hi Stefano,
> 
> On 1/23/12, Fabio Estevam <festevam@gmail.com> wrote:
>> On 1/18/12, Matthias Fuchs <matthias.fuchs@esd.eu> wrote:
>>> This patch adds support for the MX28 internal RTC
>>> and enables u-boot's date command.
>>>
>>> Signed-off-by: Matthias Fuchs <matthias.fuchs@esd.eu>
>>
>> Tested-by: Fabio Estevam <fabio.estevam@freescale.com>
> 
> Any issues with this patch series?
> 
> If not, is it possible to apply them?

No issue, I am going to apply them.

Best regards,
Stefano Babic
Stefano Babic Feb. 7, 2012, 8:12 a.m. UTC | #7
On 18/01/2012 12:33, Matthias Fuchs wrote:
> This patch adds support for the MX28 internal RTC
> and enables u-boot's date command.
> 
> Signed-off-by: Matthias Fuchs <matthias.fuchs@esd.eu>
> ---

Applied to u-boot-imx, thanks.

Best regards,
Stefano Babic
diff mbox

Patch

diff --git a/include/configs/mx28evk.h b/include/configs/mx28evk.h
index bea46e7..8a752aa 100644
--- a/include/configs/mx28evk.h
+++ b/include/configs/mx28evk.h
@@ -56,6 +56,7 @@ 
 #define CONFIG_CMD_FAT
 
 #define CONFIG_CMD_CACHE
+#define CONFIG_CMD_DATE
 #define CONFIG_CMD_DHCP
 #define CONFIG_CMD_GPIO
 #define CONFIG_CMD_MII
@@ -150,6 +151,13 @@ 
 #endif
 
 /*
+ * RTC
+ */
+#ifdef	CONFIG_CMD_DATE
+#define	CONFIG_RTC_MXS
+#endif
+
+/*
  * Boot Linux
  */
 #define CONFIG_CMDLINE_TAG