[U-Boot] [PATCH] sf:stmicro: Add support for N25Q512A

Jagan Teki jagannadh.teki at gmail.com
Tue Jun 25 15:41:13 CEST 2013


On Tue, Jun 25, 2013 at 3:36 PM, Priyanka Jain
<Priyanka.Jain at freescale.com> wrote:
> Add support for Micron N25Q512A serial flash memory
> Features: 64MB size, 1.8V, Multiple I/O, 4KB Sector erase
> Memory is organised a 1024(64KB) main sectors.
> Each sector is divided into 256 pages
>
> Register set/Opcodes is similar to other N25Q family products
>
> Signed-off-by: Priyanka Jain <Priyanka.Jain at freescale.com>
> ---
>  drivers/mtd/spi/stmicro.c |    6 ++++++
>  1 files changed, 6 insertions(+), 0 deletions(-)
>
> diff --git a/drivers/mtd/spi/stmicro.c b/drivers/mtd/spi/stmicro.c
> index 2a9972b..3ad20d3 100644
> --- a/drivers/mtd/spi/stmicro.c
> +++ b/drivers/mtd/spi/stmicro.c
> @@ -140,6 +140,12 @@ static const struct stmicro_spi_flash_params stmicro_spi_flash_table[] = {
>                 .nr_sectors = 512,
>                 .name = "N25Q256A",
>         },
> +       {
> +               .id = 0xbb20,
> +               .pages_per_sector = 256,
> +               .nr_sectors = 1024,
> +               .name = "N25Q512A",
> +       },
>  };
>

Thanks for your commit.

Please check with the same commit on u-boot-spi
http://git.denx.de/?p=u-boot/u-boot-spi.git;a=commitdiff;h=fd60c0ac31cbd9c76744cb34562f32d2a13fbe44

--
Thanks,
Jagan.


More information about the U-Boot mailing list