From 8c77ef85405dd319f0469d007630b548afb2d401 Mon Sep 17 00:00:00 2001 From: Yuan Yao Date: Wed, 8 Jun 2016 18:24:54 +0800 Subject: 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 Reviewed-by: York Sun --- board/freescale/ls2080aqds/ls2080aqds.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'board/freescale') 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 */ -- cgit v1.1