[U-Boot] [PATCH 2/8 V2] SPI: Add W25Q32 to Winbond SPI flash table

Simon Glass sjg at chromium.org
Tue Oct 2 08:03:39 CEST 2012


+MikeF

On Tue, Jul 31, 2012 at 4:00 AM, Rajeshwari Shinde
<rajeshwari.s at samsung.com> wrote:
> SMDK EVT1  has a different Winbond part added its part details
> to the SPI flash table.
>
> Signed-off-by: Abhilash Kesavan <a.kesavan at samsung.com>
> Signed-off-by: Rajeshwari Shinde <rajeshwari.s at samsung.com>

Acked-by: Simon Glass <sjg at chromium.org>

> ---
> Changes in V2:
>         - Corrected the commit message.
>  drivers/mtd/spi/winbond.c |    8 ++++++++
>  1 files changed, 8 insertions(+), 0 deletions(-)
>
> diff --git a/drivers/mtd/spi/winbond.c b/drivers/mtd/spi/winbond.c
> index c20faa2..b345efc 100644
> --- a/drivers/mtd/spi/winbond.c
> +++ b/drivers/mtd/spi/winbond.c
> @@ -107,6 +107,14 @@ static const struct winbond_spi_flash_params winbond_spi_flash_table[] = {
>                 .nr_blocks              = 256,
>                 .name                   = "W25Q128",
>         },
> +       {
> +               .id                     = 0x5014,
> +               .l2_page_size           = 8,
> +               .pages_per_sector       = 16,
> +               .sectors_per_block      = 16,
> +               .nr_blocks              = 128,
> +               .name                   = "W25Q80",
> +       },
>  };
>
>  static int winbond_erase(struct spi_flash *flash, u32 offset, size_t len)
> --
> 1.7.4.4
>


More information about the U-Boot mailing list