]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
armv8/ls2085aqds: enable 32KHz rtc output
authorPriyanka Jain <Priyanka.Jain@freescale.com>
Mon, 29 Jun 2015 10:09:40 +0000 (15:39 +0530)
committerYork Sun <yorksun@freescale.com>
Wed, 2 Sep 2015 02:37:42 +0000 (21:37 -0500)
Signed-off-by: Priyanka Jain <Priyanka.Jain@freescale.com>
Reviewed-by: York Sun <yorksun@freescale.com>
board/freescale/ls2085aqds/ls2085aqds.c

index 08906a6255fcaa706de7a6bdd9ca547683dcb6d8..2315bdb1304623a16833ca760788253d3fdcbe96 100644 (file)
@@ -16,6 +16,7 @@
 #include <fsl-mc/fsl_mc.h>
 #include <environment.h>
 #include <i2c.h>
+#include <rtc.h>
 #include <asm/arch-fsl-lsch3/soc.h>
 #include <hwconfig.h>
 
@@ -209,6 +210,7 @@ int board_init(void)
        gd->env_addr = (ulong)&default_environment[0];
 #endif
        select_i2c_ch_pca9547(I2C_MUX_CH_DEFAULT);
+       rtc_enable_32khz_output();
 
        return 0;
 }