From mboxrd@z Thu Jan 1 00:00:00 1970 From: York Sun Date: Tue, 7 Jun 2016 10:24:26 -0700 Subject: [U-Boot] [PATCH v4 04/10] configs: ls2080aqds: disable IFC NOR & QIXIS when QSPI enable In-Reply-To: <1465287329-984-5-git-send-email-yao.yuan@freescale.com> References: <1465287329-984-1-git-send-email-yao.yuan@freescale.com> <1465287329-984-5-git-send-email-yao.yuan@freescale.com> Message-ID: <5757034A.7010206@nxp.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 06/07/2016 01:26 AM, Yuan Yao wrote: > From: Yuan Yao > > When QSPI is enabled, NOR flash and QIXIS can't be accessed through IFC > due to pin mux. > > Signed-off-by: Yuan Yao > --- > 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 The whole point of using i2c early init is to remove the hard-coded clocks, isn't it? York