mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Steffen Trumtrar <s.trumtrar@pengutronix.de>
To: barebox@lists.infradead.org
Cc: Steffen Trumtrar <s.trumtrar@pengutronix.de>
Subject: [PATCH 2/9] mtd: spi-nor: enable quadspi for n25q00/n25q256a
Date: Fri,  6 Mar 2015 17:25:16 +0100	[thread overview]
Message-ID: <1425659123-5365-3-git-send-email-s.trumtrar@pengutronix.de> (raw)
In-Reply-To: <1425659123-5365-1-git-send-email-s.trumtrar@pengutronix.de>

Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de>
---
 drivers/mtd/spi-nor/spi-nor.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/mtd/spi-nor/spi-nor.c b/drivers/mtd/spi-nor/spi-nor.c
index d914a5bac17e..69b1c7a3a840 100644
--- a/drivers/mtd/spi-nor/spi-nor.c
+++ b/drivers/mtd/spi-nor/spi-nor.c
@@ -558,10 +558,10 @@ static const struct spi_device_id spi_nor_ids[] = {
 	{ "n25q064",     INFO(0x20ba17, 0, 64 * 1024,  128, 0) },
 	{ "n25q128a11",  INFO(0x20bb18, 0, 64 * 1024,  256, 0) },
 	{ "n25q128a13",  INFO(0x20ba18, 0, 64 * 1024,  256, 0) },
-	{ "n25q256a",    INFO(0x20ba19, 0, 64 * 1024,  512, SECT_4K) },
+	{ "n25q256a",    INFO(0x20ba19, 0, 64 * 1024,  512, SECT_4K | SPI_NOR_QUAD_READ) },
 	{ "n25q512a",    INFO(0x20bb20, 0, 64 * 1024, 1024, SECT_4K) },
 	{ "n25q512ax3",  INFO(0x20ba20, 0, 64 * 1024, 1024, USE_FSR) },
-	{ "n25q00",      INFO(0x20ba21, 0, 64 * 1024, 2048, USE_FSR) },
+	{ "n25q00",      INFO(0x20ba21, 0, 64 * 1024, 2048, USE_FSR | SPI_NOR_QUAD_READ) },
 
 	/* PMC */
 	{ "pm25lv512",   INFO(0,        0, 32 * 1024,    2, SECT_4K_PMC) },
-- 
2.1.4


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

  parent reply	other threads:[~2015-03-06 16:25 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-06 16:25 [PATCH 0/9] Socfpga: QSPI support Steffen Trumtrar
2015-03-06 16:25 ` [PATCH 1/9] mtd: spi-nor: add SPI-NOR framework Steffen Trumtrar
2015-03-09 11:12   ` Sascha Hauer
2015-03-06 16:25 ` Steffen Trumtrar [this message]
2015-03-06 16:25 ` [PATCH 3/9] mtd: spi-nor: add cadence quadspi driver Steffen Trumtrar
2015-03-06 16:25 ` [PATCH 4/9] ARM: dts: socfpga: add qspi node Steffen Trumtrar
2015-03-09 11:13   ` Sascha Hauer
2015-03-06 16:25 ` [PATCH 5/9] ARM: socfpga: socdk add qspi flash Steffen Trumtrar
2015-03-06 16:25 ` [PATCH 6/9] ARM: socfpga: socrates: " Steffen Trumtrar
2015-03-06 16:25 ` [PATCH 7/9] ARM: socfpga: sockit: " Steffen Trumtrar
2015-03-06 16:25 ` [PATCH 8/9] ARM: socfpga: xload: support qspi bootsource Steffen Trumtrar
2015-03-06 16:25 ` [PATCH 9/9] ARM: socfpga: update defconfigs Steffen Trumtrar
2015-03-09 11:14 ` [PATCH 0/9] Socfpga: QSPI support Sascha Hauer

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=1425659123-5365-3-git-send-email-s.trumtrar@pengutronix.de \
    --to=s.trumtrar@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox