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 <vigne...@ti.com> 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 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot