From: Eric Nelson <eric.nelson@boundarydevices.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v3 09/28] sf: probe: Add support for SST25* flash parts
Date: Mon, 16 Sep 2013 16:00:27 -0700 [thread overview]
Message-ID: <52378D8B.5080306@boundarydevices.com> (raw)
In-Reply-To: <db160f72-d3e9-44ad-932b-628eceb025d3@VA3EHSMHS024.ehs.local>
On 09/15/2013 11:15 AM, Jagannadha Sutradharudu Teki wrote:
> Added SST25* parts are which are avilable in spi_flash_probe_legacy.c.
>
> Updated the sector_size attributes as per the flash parts.
> Looks fine for with this sector_size for computing the size
> of flash.
>
> Signed-off-by: Jagannadha Sutradharudu Teki <jaganna@xilinx.com>
> ---
> Changes for v3:
> - none
> Changes for v2:
> - Enable CONFIG_SPI_FLASH_SST
>
> drivers/mtd/spi/spi_flash_probe.c | 13 ++++++++++++-
> 1 file changed, 12 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/mtd/spi/spi_flash_probe.c b/drivers/mtd/spi/spi_flash_probe.c
> index 6f0dd84..62c9d0a 100644
> --- a/drivers/mtd/spi/spi_flash_probe.c
> +++ b/drivers/mtd/spi/spi_flash_probe.c
> @@ -88,6 +88,18 @@ static const struct spi_flash_params spi_flash_params_table[] = {
> {"N25Q1024", 0x20ba21, 0x0, 64 * 1024, 2048},
> {"N25Q1024A", 0x20bb21, 0x0, 64 * 1024, 2048},
> #endif
> +#ifdef CONFIG_SPI_FLASH_SST /* SST */
> + {"SST25VF040B", 0xbf258d, 0x0, 64 * 1024, 8},
> + {"SST25VF080B", 0xbf258e, 0x0, 64 * 1024, 16},
> + {"SST25VF016B", 0xbf2541, 0x0, 64 * 1024, 32},
> + {"SST25VF032B", 0xbf254a, 0x0, 64 * 1024, 64},
> + {"SST25VF064C", 0xbf254b, 0x0, 64 * 1024, 128},
> + {"SST25WF512", 0xbf2501, 0x0, 64 * 1024, 1},
> + {"SST25WF010", 0xbf2502, 0x0, 64 * 1024, 2},
> + {"SST25WF020", 0xbf2503, 0x0, 64 * 1024, 4},
> + {"SST25WF040", 0xbf2504, 0x0, 64 * 1024, 8},
> + {"SST25WF080", 0xbf2505, 0x0, 64 * 1024, 16},
> +#endif
> #ifdef CONFIG_SPI_FLASH_WINBOND /* WINBOND */
> {"W25P80", 0xef2014, 0x0, 64 * 1024, 16},
> {"W25P16", 0xef2015, 0x0, 64 * 1024, 32},
> @@ -125,7 +137,6 @@ static const struct spi_flash_params spi_flash_params_table[] = {
> * TODO:
> * ATMEL
> * RAMTRON
> - * SST
> */
> };
>
>
Tested-by: Eric Nelson <eric.nelson@boundarydevices.com>
Tested on i.MX6Q (nitrogen6q) and i.MX6S (nitrogen6s) with
p/n SST25VF016B.
next prev parent reply other threads:[~2013-09-16 23:00 UTC|newest]
Thread overview: 38+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1379268966-21745-1-git-send-email-jaganna@xilinx.com>
2013-09-15 18:15 ` [U-Boot] [PATCH v3 01/28] sf: Divide spi_flash into multiple parts Jagannadha Sutradharudu Teki
2013-09-15 18:15 ` [U-Boot] [PATCH v3 02/28] sf: probe: Add new spi_flash_probe support Jagannadha Sutradharudu Teki
2013-09-19 6:16 ` Simon Glass
2013-09-19 7:06 ` Jagan Teki
2013-09-19 15:58 ` Simon Glass
2013-09-21 18:51 ` Sascha Silbe
2013-09-24 10:29 ` Jagan Teki
2013-09-15 18:15 ` [U-Boot] [PATCH v3 03/28] sf: probe: Add support for M25P* flash parts Jagannadha Sutradharudu Teki
2013-09-15 18:15 ` [U-Boot] [PATCH v3 04/28] sf: probe: Add support for EN25Q* " Jagannadha Sutradharudu Teki
2013-09-15 18:15 ` [U-Boot] [PATCH v3 05/28] sf: probe: Add support for GD25* " Jagannadha Sutradharudu Teki
2013-09-15 18:15 ` [U-Boot] [PATCH v3 06/28] sf: probe: Add support for MX25L* " Jagannadha Sutradharudu Teki
2013-09-15 18:15 ` [U-Boot] [PATCH v3 07/28] sf: probe: Add support for W25* " Jagannadha Sutradharudu Teki
2013-09-21 18:54 ` Sascha Silbe
2013-09-24 6:53 ` Jagan Teki
2013-09-15 18:15 ` [U-Boot] [PATCH v3 08/28] sf: probe: Add support for S25FL* " Jagannadha Sutradharudu Teki
2013-09-15 18:15 ` [U-Boot] [PATCH v3 09/28] sf: probe: Add support for SST25* " Jagannadha Sutradharudu Teki
2013-09-16 23:00 ` Eric Nelson [this message]
2013-09-15 18:15 ` [U-Boot] [PATCH v3 10/28] sf: probe: Add support for AT45DB* " Jagannadha Sutradharudu Teki
2013-09-15 18:15 ` [U-Boot] [PATCH v3 11/28] sf: probe: Give proper spacing on flash table params Jagannadha Sutradharudu Teki
2013-09-15 18:15 ` [U-Boot] [PATCH v3 12/28] sf: probe: Add support for SST_WP Jagannadha Sutradharudu Teki
2013-09-15 18:15 ` [U-Boot] [PATCH v3 13/28] sf: probe: Add support to clear flash BP# bits Jagannadha Sutradharudu Teki
2013-09-15 18:15 ` [U-Boot] [PATCH v3 14/28] sf: probe: Add support for erase sector selection flag Jagannadha Sutradharudu Teki
2013-09-21 18:59 ` Sascha Silbe
2013-09-24 7:00 ` Jagan Teki
2013-09-15 18:15 ` [U-Boot] [PATCH v3 15/28] sf: probe: Add support for flag status polling Jagannadha Sutradharudu Teki
2013-09-15 18:15 ` [U-Boot] [PATCH v3 16/28] sf: probe: Move BAR config to spi_flash_validate_ids Jagannadha Sutradharudu Teki
2013-09-15 18:15 ` [U-Boot] [PATCH v3 17/28] sf: Add proper comment style on spi_flash structure Jagannadha Sutradharudu Teki
2013-09-15 18:15 ` [U-Boot] [PATCH v3 18/28] sf: ramtron: Add support for separate flash driver Jagannadha Sutradharudu Teki
2013-09-15 18:15 ` [U-Boot] [PATCH v3 19/28] sf: Remove unneeded flash drivers files Jagannadha Sutradharudu Teki
2013-09-15 18:15 ` [U-Boot] [PATCH v3 20/28] sf: probe: Add support for EN25Q64 Jagannadha Sutradharudu Teki
2013-09-15 18:15 ` [U-Boot] [PATCH v3 21/28] sf: probe: Add support for S25FL256S_256K Jagannadha Sutradharudu Teki
2013-09-15 18:16 ` [U-Boot] [PATCH v3 22/28] sf: probe: Add support for S25FL512S_256K Jagannadha Sutradharudu Teki
2013-09-15 18:16 ` [U-Boot] [PATCH v3 23/28] sf: probe: Use print_size arg as page_size Jagannadha Sutradharudu Teki
2013-09-15 18:16 ` [U-Boot] [PATCH v3 24/28] sf: probe: Print erase_size while printing flash details Jagannadha Sutradharudu Teki
2013-09-15 18:16 ` [U-Boot] [PATCH v3 25/28] sf: probe: Simply the BAR configuration logic Jagannadha Sutradharudu Teki
2013-09-15 18:16 ` [U-Boot] [PATCH v3 26/28] sf: ops: Add static qualifier to spi_flash_cmd_bankaddr_write Jagannadha Sutradharudu Teki
2013-09-15 18:16 ` [U-Boot] [PATCH v3 27/28] sf: probe: Add support for MX25L25635F Jagannadha Sutradharudu Teki
2013-09-15 18:16 ` [U-Boot] [PATCH v3 28/28] sf: probe: Add support for MX25L51235F Jagannadha Sutradharudu Teki
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=52378D8B.5080306@boundarydevices.com \
--to=eric.nelson@boundarydevices.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.