All of lore.kernel.org
 help / color / mirror / Atom feed
From: Yuan Yao <yao.yuan@freescale.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v6 05/10] configs: ls2080aqds: Enable QSPI flash support
Date: Wed, 8 Jun 2016 18:24:55 +0800	[thread overview]
Message-ID: <1465381500-34476-6-git-send-email-yao.yuan@freescale.com> (raw)
In-Reply-To: <1465381500-34476-1-git-send-email-yao.yuan@freescale.com>

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

Enable QSPI flash related configure options.

Signed-off-by: Yuan Yao <yao.yuan@nxp.com>
---
Changed in v6:
	remove CONFIG_CMD_SF.
---
 include/configs/ls2080aqds.h | 15 ++++++++++++++-
 1 file changed, 14 insertions(+), 1 deletion(-)

diff --git a/include/configs/ls2080aqds.h b/include/configs/ls2080aqds.h
index ccc987c..8e193a6 100644
--- a/include/configs/ls2080aqds.h
+++ b/include/configs/ls2080aqds.h
@@ -289,8 +289,21 @@ unsigned long get_board_ddr_clk(void);
 #define I2C_MUX_CH_DEFAULT      0x8
 
 /* SPI */
-#ifdef CONFIG_FSL_DSPI
+#if defined(CONFIG_FSL_QSPI) || defined(CONFIG_FSL_DSPI)
 #define CONFIG_SPI_FLASH
+
+#ifdef CONFIG_FSL_DSPI
+#define CONFIG_SPI_FLASH_STMICRO
+#define CONFIG_SPI_FLASH_SST
+#define CONFIG_SPI_FLASH_EON
+#endif
+
+#ifdef CONFIG_FSL_QSPI
+#define CONFIG_SPI_FLASH_SPANSION
+#define FSL_QSPI_FLASH_SIZE		(1 << 26) /* 64MB */
+#define FSL_QSPI_FLASH_NUM		4
+#endif
+
 #endif
 
 /*
-- 
2.1.0.27.g96db324

  parent reply	other threads:[~2016-06-08 10:24 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-08 10:24 [U-Boot] [PATCH v6 00/10] armv8: ls2080aqds: Enable QSPI boot support Yuan Yao
2016-06-08 10:24 ` [U-Boot] [PATCH v6 01/10] drivers: i2c: mxc: Add early init Yuan Yao
2016-06-10 22:24   ` York Sun
2016-06-08 10:24 ` [U-Boot] [PATCH v6 02/10] armv8: ls2080aqds: Select QSPI CLK div via SCFG Yuan Yao
2016-06-08 10:24 ` [U-Boot] [PATCH v6 03/10] configs: ls2080a_common: Remove duplicate NOR configs Yuan Yao
2016-06-08 10:24 ` [U-Boot] [PATCH v6 04/10] armv8: ls2080aqds: disable IFC NOR & QIXIS when QSPI enable Yuan Yao
2016-06-08 10:24 ` Yuan Yao [this message]
2016-06-08 10:24 ` [U-Boot] [PATCH v6 06/10] dm: dts: ls2080aqds: Add QSPI dts node Yuan Yao
2016-06-08 10:24 ` [U-Boot] [PATCH v6 07/10] armv8: ls2080aqds: Config QSPI pin mux via FPGA in NAND boot Yuan Yao
2016-06-08 10:24 ` [U-Boot] [PATCH v6 08/10] configs: ls2080a: Increase load image len " Yuan Yao
2016-06-08 10:24 ` [U-Boot] [PATCH v6 09/10] ls2080aqds_nand_defconfig: Enable QSPI & its dependence Yuan Yao
2016-06-08 10:25 ` [U-Boot] [PATCH v6 10/10] armv8: ls2080aqds: Enable QSPI boot support Yuan Yao

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1465381500-34476-6-git-send-email-yao.yuan@freescale.com \
    --to=yao.yuan@freescale.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.