Patchwork [U-Boot] sf: spansion: Add support for S25FL128S

login
register
mail settings
Submitter Xiaobo Xie
Date Feb. 5, 2013, 2:52 a.m.
Message ID <1360032773-27147-1-git-send-email-X.Xie@freescale.com>
Download mbox | patch
Permalink /patch/218145/
State Superseded
Delegated to: Jagannadha Sutradharudu Teki
Headers show

Comments

Xiaobo Xie - Feb. 5, 2013, 2:52 a.m.
SPANSION recommend S25FL128S supersedes S25FL129P, and the two flash
memory have the same device ID and Memory architecture. So they can
use the same config parameters.

Signed-off-by: Xie Xiaobo <X.Xie@freescale.com>
---
 drivers/mtd/spi/spansion.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
Jagannadha Sutradharudu Teki - May 25, 2013, 6:40 p.m.
On Tue, Feb 5, 2013 at 8:22 AM, Xie Xiaobo <X.Xie@freescale.com> wrote:
> SPANSION recommend S25FL128S supersedes S25FL129P, and the two flash
> memory have the same device ID and Memory architecture. So they can
> use the same config parameters.
>
> Signed-off-by: Xie Xiaobo <X.Xie@freescale.com>
> ---
>  drivers/mtd/spi/spansion.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/drivers/mtd/spi/spansion.c b/drivers/mtd/spi/spansion.c
> index 32b76e0..d617170 100644
> --- a/drivers/mtd/spi/spansion.c
> +++ b/drivers/mtd/spi/spansion.c
> @@ -94,7 +94,7 @@ static const struct spansion_spi_flash_params spansion_spi_flash_table[] = {
>                 .idcode2 = 0x4d01,
>                 .pages_per_sector = 256,
>                 .nr_sectors = 256,
> -               .name = "S25FL129P_64K",
> +               .name = "S25FL129P_64K/S25FL128S",

Update the name for S25FL128S as S25FL128S_64K has ext' id 0x4d01
indicates 64k-sector arch'.
Please send a v2 for this

--
Thanks,
Jagan.

Patch

diff --git a/drivers/mtd/spi/spansion.c b/drivers/mtd/spi/spansion.c
index 32b76e0..d617170 100644
--- a/drivers/mtd/spi/spansion.c
+++ b/drivers/mtd/spi/spansion.c
@@ -94,7 +94,7 @@  static const struct spansion_spi_flash_params spansion_spi_flash_table[] = {
 		.idcode2 = 0x4d01,
 		.pages_per_sector = 256,
 		.nr_sectors = 256,
-		.name = "S25FL129P_64K",
+		.name = "S25FL129P_64K/S25FL128S",
 	},
 	{
 		.idcode1 = 0x2019,