summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorYuan Yao <yao.yuan@nxp.com>2016-06-08 18:24:54 +0800
committerYork Sun <york.sun@nxp.com>2016-06-10 13:44:59 -0700
commit8c77ef85405dd319f0469d007630b548afb2d401 (patch)
treeb421f6c70c11fbc08d593bf299e051f234ca96f8 /board
parent82d13340e9d051f193d46596343aa692b0acd92c (diff)
downloadu-boot-imx-8c77ef85405dd319f0469d007630b548afb2d401.zip
u-boot-imx-8c77ef85405dd319f0469d007630b548afb2d401.tar.gz
u-boot-imx-8c77ef85405dd319f0469d007630b548afb2d401.tar.bz2
armv8: ls2080aqds: disable IFC NOR & QIXIS when QSPI enable
When QSPI is enabled, NOR flash and QIXIS can't be accessed through IFC due to pin mux. Enable I2C QIXIS access and I2C early init to read the sysclk and ddrclk. Signed-off-by: Yuan Yao <yao.yuan@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com>
Diffstat (limited to 'board')
-rw-r--r--board/freescale/ls2080aqds/ls2080aqds.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/board/freescale/ls2080aqds/ls2080aqds.c b/board/freescale/ls2080aqds/ls2080aqds.c
index b60206b..a07cd0a 100644
--- a/board/freescale/ls2080aqds/ls2080aqds.c
+++ b/board/freescale/ls2080aqds/ls2080aqds.c
@@ -219,6 +219,9 @@ int board_init(void)
int board_early_init_f(void)
{
+#ifdef CONFIG_SYS_I2C_EARLY_INIT
+ i2c_early_init_f();
+#endif
fsl_lsch3_early_init_f();
#ifdef CONFIG_FSL_QSPI
/* input clk: 1/2 platform clk, output: input/20 */