[U-Boot] [UBOOT][PATCH 3/5] sf: macronix: Add support for MX66L51235F

Jagan Teki jagannadh.teki at gmail.com
Wed Dec 18 19:51:14 CET 2013


On Thu, Nov 14, 2013 at 9:09 PM, Sourav Poddar <sourav.poddar at ti.com> wrote:
> From: Jagannadha Sutradharudu Teki <jagannadha.sutradharudu-teki at xilinx.com>
>
> Signed-off-by: Jagannadha Sutradharudu Teki <jaganna at xilinx.com>
> Signed-off-by: Sourav Poddar <sourav.poddar at ti.com>
> ---
>  drivers/mtd/spi/sf_probe.c |    2 ++
>  1 files changed, 2 insertions(+), 0 deletions(-)
>
> diff --git a/drivers/mtd/spi/sf_probe.c b/drivers/mtd/spi/sf_probe.c
> index 5eb8ffe..874ef8c 100644
> --- a/drivers/mtd/spi/sf_probe.c
> +++ b/drivers/mtd/spi/sf_probe.c
> @@ -68,6 +68,7 @@ static const struct spi_flash_params spi_flash_params_table[] = {
>         {"MX25L25635F",    0xc22019, 0x0,       64 * 1024,   512,                    0},
>         {"MX25L51235F",    0xc2201A, 0x0,       64 * 1024,  1024,                    0},
>         {"MX25L12855E",    0xc22618, 0x0,       64 * 1024,   256,                    0},
> +       {"MX66L51235F",    0xc2201a, 0x0,       64 * 1024,  1024,                    0},
What is this - this part is already available is int it?

>  #endif
>  #ifdef CONFIG_SPI_FLASH_SPANSION       /* SPANSION */
>         {"S25FL008A",      0x010213, 0x0,       64 * 1024,    16,                    0},
> @@ -207,6 +208,7 @@ static struct spi_flash *spi_flash_validate_params(struct spi_slave *spi,
>         flash->page_size = (ext_jedec == 0x4d00) ? 512 : 256;
>         flash->sector_size = params->sector_size;
>         flash->size = flash->sector_size * params->nr_sectors;
> +       flash->memory_map = spi->memory_map;
This change is also there - please check.

-- 
Thanks,
Jagan.
--------
Jagannadha Sutradharudu Teki,
E: jagannadh.teki at gmail.com, P: +91-9676773388
Engineer - System Software Hacker
U-boot - SPI Custodian and Zynq APSOC
Ln: http://www.linkedin.com/in/jaganteki


More information about the U-Boot mailing list