[U-Boot] [PATCH v3 03/11] configs: ls2080aqds: disable IFC NOR & QIXIS when QSPI enable

Yuan Yao yao.yuan at freescale.com
Mon Jun 6 12:43:28 CEST 2016


From: Yuan Yao <yao.yuan at nxp.com>

When QSPI is enabled, NOR flash and QIXIS can't be accessed through IFC
due to pin mux.

Signed-off-by: Yuan Yao <yao.yuan at nxp.com>
---
 include/configs/ls2080aqds.h | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/include/configs/ls2080aqds.h b/include/configs/ls2080aqds.h
index 4b27114..a14b465 100644
--- a/include/configs/ls2080aqds.h
+++ b/include/configs/ls2080aqds.h
@@ -17,8 +17,18 @@ unsigned long get_board_ddr_clk(void);
 #endif
 
 #define CONFIG_SYS_FSL_CLK
+
+#ifdef CONFIG_FSL_QSPI
+#define CONFIG_SYS_NO_FLASH
+#undef CONFIG_CMD_IMLS
+#define CONFIG_SYS_CLK_FREQ		100000000
+#define CONFIG_DDR_CLK_FREQ		133333333
+#define CONFIG_QIXIS_I2C_ACCESS
+#define CONFIG_SYS_I2C_FPGA_ADDR	0x66
+#else
 #define CONFIG_SYS_CLK_FREQ		get_board_sys_clk()
 #define CONFIG_DDR_CLK_FREQ		get_board_ddr_clk()
+#endif
 #define COUNTER_FREQUENCY_REAL		(CONFIG_SYS_CLK_FREQ/4)
 
 #define CONFIG_DDR_SPD
-- 
2.1.0.27.g96db324



More information about the U-Boot mailing list