From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jagan Teki Date: Fri, 11 Aug 2017 15:24:51 +0530 Subject: [U-Boot] [PATCH] mtd/spi: Add MT35XU512ABA1G12 NOR flash support In-Reply-To: <1501560784-27973-1-git-send-email-yogeshnarayan.gaur@nxp.com> References: <1501560784-27973-1-git-send-email-yogeshnarayan.gaur@nxp.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Tue, Aug 1, 2017 at 9:43 AM, Yogesh Gaur wrote: > Add MT35XU512ABA1G12 parameters to NOR flash parameters array. Since the > manufactory ID is changed to 0x2C, add it for micron and using it for > relevant settings. > > The MT35XU512ABA1G12 only supports 1 bit mode and 8 bits. It can't support > dual and quad. Supports subsector erase with 4KB granularity, have support > of FSR(flag status register) and flash size is 64MB. > --- > drivers/mtd/spi/sf_internal.h | 1 + > drivers/mtd/spi/spi_flash.c | 2 ++ > drivers/mtd/spi/spi_flash_ids.c | 1 + > 3 files changed, 4 insertions(+) > > diff --git a/drivers/mtd/spi/sf_internal.h b/drivers/mtd/spi/sf_internal.h > index 839cdbe..f46cb3a 100644 > --- a/drivers/mtd/spi/sf_internal.h > +++ b/drivers/mtd/spi/sf_internal.h > @@ -33,6 +33,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 Does this new mfr id from micro? so 0x20 still exists? thanks! -- Jagan Teki Free Software Engineer | www.openedev.com U-Boot, Linux | Upstream Maintainer Hyderabad, India.