From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vignesh Raghavendra Date: Wed, 23 Oct 2019 10:48:47 +0530 Subject: [U-Boot] [PATCH v3 3/3] spi-nor: spi-nor-ids: Add USE_FSR flag for mt25q* and n25q* entry In-Reply-To: References: <20191011075820.6596-1-vigneshr@ti.com> <20191011075820.6596-4-vigneshr@ti.com> Message-ID: <9d35dd56-98f4-159c-0446-3ef2143260e3@ti.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Jagan, On 23/10/19 12:00 AM, Jagan Teki wrote: > Hi Vignesh, > > On Fri, Oct 11, 2019 at 1:28 PM Vignesh Raghavendra wrote: >> >> n25q* and mt25q* (both 256Mb and 512Mb) flashes support Flag status >> register that indicates various errors that may be encountered during >> erase/write operations. Therefore add USE_FSR flag wherever missing. > > Does 256Mb require FSR? I remember Micron die is created after 512Mb > where it creates die between two 256Mb on 512Mb flash. Indeed die > switching would require FSR. > Flag Status Register(FSR) is not for switching die but for looking up and printing out reason for write/erase failure. And yes 256Mb part does support FSR. See datasheet at: https://www.micron.com/-/media/client/global/documents/products/data-sheet/nor-flash/serial-nor/n25q/n25q_256mb_1_8v.pdf Table 17: Flag Status Register Bit Definition https://www.mouser.com/datasheet/2/671/MT25Q_QLJS_U_256_ABA_0-1387271.pdf Table 5: Flag Status Register -- Regards Vignesh