[U-Boot] [PATCH] driver/mtd: Add MICRON manufacturer id in spi framework
Ashish Kumar
ashish.kumar at nxp.com
Wed Oct 10 10:53:28 UTC 2018
> -----Original Message-----
> From: Jagan Teki <jagan at amarulasolutions.com>
> Sent: Wednesday, October 10, 2018 11:51 AM
> To: Ashish Kumar <ashish.kumar at nxp.com>
> Cc: U-Boot-Denx <u-boot at lists.denx.de>; Jagan Teki <jagan at openedev.com>;
> Rajat Srivastava <rajat.srivastava at nxp.com>; Suresh Gupta
> <suresh.gupta at nxp.com>
> Subject: Re: [U-Boot] [PATCH] driver/mtd: Add MICRON manufacturer id in spi
> framework
>
> On Tue, Sep 25, 2018 at 2:13 PM Ashish Kumar <Ashish.Kumar at nxp.com>
> wrote:
> >
> > Signed-off-by: Suresh Gupta <suresh.gupta at nxp.com>
> > Signed-off-by: Yogesh Gaur <yogeshnarayan.gaur at nxp.com>
> > Signed-off-by: Ashish Kumar <Ashish.Kumar at nxp.com>
> > ---
> > drivers/mtd/spi/sf_internal.h | 1 +
> > drivers/mtd/spi/spi_flash.c | 2 ++
> > 2 files changed, 3 insertions(+)
> >
> > diff --git a/drivers/mtd/spi/sf_internal.h
> > b/drivers/mtd/spi/sf_internal.h index 4f63cacc64..26f5c7c995 100644
> > --- a/drivers/mtd/spi/sf_internal.h
> > +++ b/drivers/mtd/spi/sf_internal.h
> > @@ -32,6 +32,7 @@ enum spi_nor_option_flags {
> > /* CFI Manufacture ID's */
> > #define SPI_FLASH_CFI_MFR_SPANSION 0x01
> > #define SPI_FLASH_CFI_MFR_STMICRO 0x20
> > +#define SPI_FLASH_CFI_MFR_MICRON 0x2C
>
> Why we need this? is it to support old micron chips?
NOR flash name MT35X_QLKA and MT25Q_** used on NXP board has manufacturer id as 0x2C, which are rather for newer flashes after the split of Micron from ST.
Regards
Ashish
More information about the U-Boot
mailing list