> -----Original Message----- > From: Jagan Teki <ja...@amarulasolutions.com> > Sent: Wednesday, October 10, 2018 11:51 AM > To: Ashish Kumar <ashish.ku...@nxp.com> > Cc: U-Boot-Denx <u-boot@lists.denx.de>; Jagan Teki <ja...@openedev.com>; > Rajat Srivastava <rajat.srivast...@nxp.com>; Suresh Gupta > <suresh.gu...@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.ku...@nxp.com> > wrote: > > > > Signed-off-by: Suresh Gupta <suresh.gu...@nxp.com> > > Signed-off-by: Yogesh Gaur <yogeshnarayan.g...@nxp.com> > > Signed-off-by: Ashish Kumar <ashish.ku...@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 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot