Patchwork [U-Boot,v1,01/25] sf: Add M25PX64 SPI NOR flash ID

login
register
mail settings
Submitter Stefan Roese
Date June 27, 2014, 9:54 a.m.
Message ID <1403862911-6138-2-git-send-email-sr@denx.de>
Download mbox | patch
Permalink /patch/364844/
State Accepted
Delegated to: Jagannadha Sutradharudu Teki
Headers show

Comments

Stefan Roese - June 27, 2014, 9:54 a.m.
Add ID for this Numonix / STMicro chip.

Tested on Marvell DB-78460-BP board.

Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Jagannadha Sutradharudu Teki <jaganna@xilinx.com>
---

 drivers/mtd/spi/sf_params.c | 1 +
 1 file changed, 1 insertion(+)
Jagannadha Sutradharudu Teki - July 3, 2014, 8:14 p.m.
Reviewed-by: Jagannadha Sutradharudu Teki <jaganna@xilinx.com>

On Fri, Jun 27, 2014 at 3:24 PM, Stefan Roese <sr@denx.de> wrote:
> Add ID for this Numonix / STMicro chip.
>
> Tested on Marvell DB-78460-BP board.
>
> Signed-off-by: Stefan Roese <sr@denx.de>
> Cc: Jagannadha Sutradharudu Teki <jaganna@xilinx.com>
> ---
>
>  drivers/mtd/spi/sf_params.c | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/drivers/mtd/spi/sf_params.c b/drivers/mtd/spi/sf_params.c
> index ac886fd..b8186e9 100644
> --- a/drivers/mtd/spi/sf_params.c
> +++ b/drivers/mtd/spi/sf_params.c
> @@ -71,6 +71,7 @@ const struct spi_flash_params spi_flash_params_table[] = {
>         {"M25P32",         0x202016, 0x0,       64 * 1024,    64,       0,                        0},
>         {"M25P64",         0x202017, 0x0,       64 * 1024,   128,       0,                        0},
>         {"M25P128",        0x202018, 0x0,      256 * 1024,    64,       0,                        0},
> +       {"M25PX64",        0x207117, 0x0,       64 * 1024,   128,       0,                  SECT_4K},
>         {"N25Q32",         0x20ba16, 0x0,       64 * 1024,    64, RD_FULL,         WR_QPP | SECT_4K},
>         {"N25Q32A",        0x20bb16, 0x0,       64 * 1024,    64, RD_FULL,         WR_QPP | SECT_4K},
>         {"N25Q64",         0x20ba17, 0x0,       64 * 1024,   128, RD_FULL,         WR_QPP | SECT_4K},
> --
> 2.0.1
>
> _______________________________________________
> U-Boot mailing list
> U-Boot@lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot
Jagannadha Sutradharudu Teki - July 13, 2014, 4:20 p.m.
On Fri, Jul 4, 2014 at 1:44 AM, Jagan Teki <jagannadh.teki@gmail.com> wrote:
> Reviewed-by: Jagannadha Sutradharudu Teki <jaganna@xilinx.com>
>
> On Fri, Jun 27, 2014 at 3:24 PM, Stefan Roese <sr@denx.de> wrote:
>> Add ID for this Numonix / STMicro chip.
>>
>> Tested on Marvell DB-78460-BP board.
>>
>> Signed-off-by: Stefan Roese <sr@denx.de>
>> Cc: Jagannadha Sutradharudu Teki <jaganna@xilinx.com>
>> ---
>>
>>  drivers/mtd/spi/sf_params.c | 1 +
>>  1 file changed, 1 insertion(+)
>>
>> diff --git a/drivers/mtd/spi/sf_params.c b/drivers/mtd/spi/sf_params.c
>> index ac886fd..b8186e9 100644
>> --- a/drivers/mtd/spi/sf_params.c
>> +++ b/drivers/mtd/spi/sf_params.c
>> @@ -71,6 +71,7 @@ const struct spi_flash_params spi_flash_params_table[] = {
>>         {"M25P32",         0x202016, 0x0,       64 * 1024,    64,       0,                        0},
>>         {"M25P64",         0x202017, 0x0,       64 * 1024,   128,       0,                        0},
>>         {"M25P128",        0x202018, 0x0,      256 * 1024,    64,       0,                        0},
>> +       {"M25PX64",        0x207117, 0x0,       64 * 1024,   128,       0,                  SECT_4K},
>>         {"N25Q32",         0x20ba16, 0x0,       64 * 1024,    64, RD_FULL,         WR_QPP | SECT_4K},
>>         {"N25Q32A",        0x20bb16, 0x0,       64 * 1024,    64, RD_FULL,         WR_QPP | SECT_4K},
>>         {"N25Q64",         0x20ba17, 0x0,       64 * 1024,   128, RD_FULL,         WR_QPP | SECT_4K},
>> --
>> 2.0.1
>>

Applied 01/25 to 05/25 to u-boot-spi/master

thanks!

Patch

diff --git a/drivers/mtd/spi/sf_params.c b/drivers/mtd/spi/sf_params.c
index ac886fd..b8186e9 100644
--- a/drivers/mtd/spi/sf_params.c
+++ b/drivers/mtd/spi/sf_params.c
@@ -71,6 +71,7 @@  const struct spi_flash_params spi_flash_params_table[] = {
 	{"M25P32",	   0x202016, 0x0,       64 * 1024,    64,	0,			  0},
 	{"M25P64",	   0x202017, 0x0,       64 * 1024,   128,	0,			  0},
 	{"M25P128",	   0x202018, 0x0,      256 * 1024,    64,	0,			  0},
+	{"M25PX64",	   0x207117, 0x0,       64 * 1024,   128,	0,		    SECT_4K},
 	{"N25Q32",	   0x20ba16, 0x0,       64 * 1024,    64, RD_FULL,	   WR_QPP | SECT_4K},
 	{"N25Q32A",	   0x20bb16, 0x0,       64 * 1024,    64, RD_FULL,	   WR_QPP | SECT_4K},
 	{"N25Q64",	   0x20ba17, 0x0,       64 * 1024,   128, RD_FULL,	   WR_QPP | SECT_4K},