From: Thomas Chou <thomas@wytron.com.tw>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] spi_flash: support old STMicro parts with RES
Date: Wed, 21 Apr 2010 15:51:33 +0800 [thread overview]
Message-ID: <4BCEAE85.5040401@wytron.com.tw> (raw)
In-Reply-To: <201004210342.19832.vapier@gentoo.org>
On 04/21/2010 03:42 PM, Mike Frysinger wrote:
> please move this logic to stmicro's probe function to keep the common code
> clear of such cruft.
> -mike
>
Hi Mike,
Thanks. I can move them to stmicro.c. But I still need to sort 0xff to
stmicro. Is this OK?
Best regards,
Thomas
diff --git a/drivers/mtd/spi/spi_flash.c b/drivers/mtd/spi/spi_flash.c
index 8986879..d400639 100644
--- a/drivers/mtd/spi/spi_flash.c
+++ b/drivers/mtd/spi/spi_flash.c
@@ -159,6 +159,7 @@ struct spi_flash *spi_flash_probe(unsigned int bus,
unsigned int cs,
#endif
#ifdef CONFIG_SPI_FLASH_STMICRO
case 0x20:
+ case 0xff:
flash = spi_flash_probe_stmicro(spi, idcode);
break;
#endif
next prev parent reply other threads:[~2010-04-21 7:51 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-21 6:14 [U-Boot] [PATCH] spi_flash: support old STMicro parts with RES Thomas Chou
2010-04-21 7:42 ` Mike Frysinger
2010-04-21 7:51 ` Thomas Chou [this message]
2010-04-21 9:54 ` Mike Frysinger
2010-04-21 8:16 ` [U-Boot] [PATCH v2] " Thomas Chou
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=4BCEAE85.5040401@wytron.com.tw \
--to=thomas@wytron.com.tw \
--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.