On Thu, Feb 7, 2019 at 7:46 PM Masahiro Yamada <yamada.masahiro@xxxxxxxxxxxxx> wrote: > > On Thu, Feb 7, 2019 at 7:16 PM Miquel Raynal <miquel.raynal@xxxxxxxxxxx> wrote: > > > > Hi Masahiro, > > > > Masahiro Yamada <yamada.masahiro@xxxxxxxxxxxxx> wrote on Thu, 7 Feb > > 2019 18:57:56 +0900: > > > > > nand_scan_ident() calls onfi_fill_data_interface() at its entry > > > to set up the initial timing parameters. > > > > > > The timing parameters are needed not only for ->setup_data_interface(), > > > but also for giving the correct delay to NAND_OP_WAIT_RDY, for example. > > > > > > If the driver sets the NAND_KEEP_TIMINGS flag, or does not support > > > ->setup_data_interface() hook, those parameters will never updated. > > > > ^ be > > Will fix (if v2 is welcome) > > > > > > > > Before nand_detect(), we never know whether the chip is ONFi or not. > > > So, onfi_fill_data_interface() has to assume the worst case, i.e. > > > non-ONFi. > > > > s/ONFi/ONFI/? > > Will fix. > > Looks like I was misunderstanding > maybe because the letter 'I' in the logo > (http://www.onfi.org/) > looks like a lowercase... http://www.onfi.org/ says "Discover the advantages of an ONFi world" Perhaps, is ONFi also correct?? Anyway, I will align with the majority. There are only three instances in the kernel tree. $ git grep ONFi drivers/mtd/nand/raw/nand_legacy.c: * a byte. The ONFi spec (Revision 3.1; 2012-09-19, Section 2.16) reads: drivers/mtd/nand/raw/nand_legacy.c: /* EZ-NAND can take upto 250ms as per ONFi v4.0 */ drivers/mtd/nand/raw/nand_legacy.c: /* EZ-NAND can take upto 250ms as per ONFi v4.0 */ -- Best Regards Masahiro Yamada ______________________________________________________ Linux MTD discussion mailing list http://lists.infradead.org/mailman/listinfo/linux-mtd/