[U-Boot] [PATCH v2 5/8] sf: winbond: Update the names for W25Q 0x40XX ID's flash parts

Jagan Teki jagannadh.teki at gmail.com
Sun Jun 2 21:23:12 CEST 2013


Hi,

On Thu, May 30, 2013 at 7:19 PM, Jagannadha Sutradharudu Teki
<jagannadha.sutradharudu-teki at xilinx.com> wrote:
> Use the exact names for W25Q 0x40XX ID's flash parts, as the same
> sizes of flashes comes with different ID's. so-that the distinguishes
> becomes easy with this change.
>
> Signed-off-by: Jagannadha Sutradharudu Teki <jaganna at xilinx.com>
> ---
> Changes for v2:
>         - none
>
>  drivers/mtd/spi/winbond.c | 10 +++++-----
>  1 file changed, 5 insertions(+), 5 deletions(-)
>
> diff --git a/drivers/mtd/spi/winbond.c b/drivers/mtd/spi/winbond.c
> index 8457808..3c0ca88 100644
> --- a/drivers/mtd/spi/winbond.c
> +++ b/drivers/mtd/spi/winbond.c
> @@ -55,27 +55,27 @@ static const struct winbond_spi_flash_params winbond_spi_flash_table[] = {
>         {
>                 .id                     = 0x4014,
>                 .nr_blocks              = 16,
> -               .name                   = "W25Q80BL",
> +               .name                   = "W25Q80BL/W25Q80BV",
>         },
>         {
>                 .id                     = 0x4015,
>                 .nr_blocks              = 32,
> -               .name                   = "W25Q16",
> +               .name                   = "W25Q16CL/W25Q16DV",

The id codes were same for these two parts, I think there is no way to
detect the separately.
Any idea?

Thanks,
Jagan.

>         },
>         {
>                 .id                     = 0x4016,
>                 .nr_blocks              = 64,
> -               .name                   = "W25Q32",
> +               .name                   = "W25Q32BV",
>         },
>         {
>                 .id                     = 0x4017,
>                 .nr_blocks              = 128,
> -               .name                   = "W25Q64",
> +               .name                   = "W25Q64CV",
>         },
>         {
>                 .id                     = 0x4018,
>                 .nr_blocks              = 256,
> -               .name                   = "W25Q128",
> +               .name                   = "W25Q128BV",
>         },
>         {
>                 .id                     = 0x4019,
> --
> 1.8.3
>
>


More information about the U-Boot mailing list