ARM: imx: add rtc support to mx35_3ds
authorBenoît Thébaudeau <benoit.thebaudeau@advansee.com>
Wed, 4 Jul 2012 14:36:28 +0000 (16:36 +0200)
committerSascha Hauer <s.hauer@pengutronix.de>
Mon, 9 Jul 2012 08:30:18 +0000 (10:30 +0200)
Now that RTC support has been enabled for i.MX35, add RTC to the mx35_3ds board.

Cc: Sascha Hauer <kernel@pengutronix.de>
Cc: <linux-arm-kernel@lists.infradead.org>
Signed-off-by: Benoît Thébaudeau <benoit.thebaudeau@advansee.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
arch/arm/mach-imx/Kconfig
arch/arm/mach-imx/mach-mx35_3ds.c

index 0345e85..5a7d235 100644 (file)
@@ -589,6 +589,7 @@ config MACH_MX35_3DS
        select IMX_HAVE_PLATFORM_IPU_CORE
        select IMX_HAVE_PLATFORM_MXC_EHCI
        select IMX_HAVE_PLATFORM_MXC_NAND
+       select IMX_HAVE_PLATFORM_MXC_RTC
        select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
        help
          Include support for MX35PDK platform. This includes specific
index 28aa194..85568ba 100644 (file)
@@ -572,6 +572,7 @@ static void __init mx35_3ds_init(void)
 
        imx35_add_fec(NULL);
        imx35_add_imx2_wdt(NULL);
+       imx35_add_mxc_rtc();
        platform_add_devices(devices, ARRAY_SIZE(devices));
 
        imx35_add_imx_uart0(&uart_pdata);