[U-Boot] [PATCH 2/2] armv8/ls2085aqds: enable 32KHz rtc output

Priyanka Jain Priyanka.Jain at freescale.com
Mon Jun 29 12:09:40 CEST 2015


Signed-off-by: Priyanka Jain <Priyanka.Jain at freescale.com>
---
 Based on git://git.denx.de/u-boot-fsl-qoriq

 board/freescale/ls2085aqds/ls2085aqds.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/board/freescale/ls2085aqds/ls2085aqds.c b/board/freescale/ls2085aqds/ls2085aqds.c
index c492c7e..60cf480 100644
--- a/board/freescale/ls2085aqds/ls2085aqds.c
+++ b/board/freescale/ls2085aqds/ls2085aqds.c
@@ -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 "../common/qixis.h"
@@ -161,6 +162,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;
 }
-- 
1.7.4.1




More information about the U-Boot mailing list