Patchwork [U-Boot] mx25pdk: Enable imxdi RTC

login
register
mail settings
Submitter Benoît Thébaudeau
Date March 22, 2013, 7:30 p.m.
Message ID <1363980629-22244-1-git-send-email-benoit.thebaudeau@advansee.com>
Download mbox | patch
Permalink /patch/230245/
State Awaiting Upstream
Delegated to: Stefano Babic
Headers show

Comments

Benoît Thébaudeau - March 22, 2013, 7:30 p.m.
The mx25pdk board supports the i.MX25 DryIce RTC (imxdi), so enable it. This
allows to compile-test the imxdi driver in the mainline tree.

Signed-off-by: Benoît Thébaudeau <benoit.thebaudeau@advansee.com>
---
 include/configs/mx25pdk.h |    4 ++++
 1 file changed, 4 insertions(+)
Fabio Estevam - March 22, 2013, 7:57 p.m.
On Fri, Mar 22, 2013 at 4:30 PM, Benoît Thébaudeau
<benoit.thebaudeau@advansee.com> wrote:
> The mx25pdk board supports the i.MX25 DryIce RTC (imxdi), so enable it. This
> allows to compile-test the imxdi driver in the mainline tree.
>
> Signed-off-by: Benoît Thébaudeau <benoit.thebaudeau@advansee.com>

Thanks for the patch.

Acked-by: Fabio Estevam <fabio.estevam@freescale.com>
Stefano Babic - April 3, 2013, 9:14 a.m.
On 22/03/2013 20:30, Benoît Thébaudeau wrote:
> The mx25pdk board supports the i.MX25 DryIce RTC (imxdi), so enable it. This
> allows to compile-test the imxdi driver in the mainline tree.
> 
> Signed-off-by: Benoît Thébaudeau <benoit.thebaudeau@advansee.com>
> ---

Applied to u-boot-imx, thanks.

Best regards,
Stefano

Patch

diff --git a/include/configs/mx25pdk.h b/include/configs/mx25pdk.h
index c10e78b..4782f68 100644
--- a/include/configs/mx25pdk.h
+++ b/include/configs/mx25pdk.h
@@ -124,6 +124,10 @@ 
 #define CONFIG_SYS_I2C_BASE		IMX_I2C_BASE
 #define CONFIG_SYS_I2C_SPEED		100000
 
+/* RTC */
+#define CONFIG_RTC_IMXDI
+#define CONFIG_CMD_DATE
+
 /* Ethernet Configs */
 
 #define CONFIG_CMD_PING