Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1589245
| From | Masahiro Yamada <yamada.masahiro@socionext.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [NAND Question] When oob_required is used? |
| Date | 2017-02-28 08:30 +0100 |
| Message-ID | <tfKop-1dc-3@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
Hi. I am seeing the reference implementations for the callback in drivers/mtd/nand/nand_base.c I see only some of them use the argument "oob_required". - oob_required is used nand_read_page_raw() nand_write_page_raw() nand_write_subpage_hwecc() - oob_required is ignored nand_read_page_raw_syndrome() nand_read_page_swecc() nand_read_page_hwecc() nand_read_page_hwecc_oob_first() nand_read_page_syndrome() nand_write_page_raw_syndrome() nand_write_page_swecc() nand_write_page_hwecc() nand_write_page_syndrome() I could not get the logic when "oob_required" is used. When implementing drivers, the "oob_required" should be respected (i.e. oob_poi should be transferred as well), or is it OK to ignore it? -- Best Regards Masahiro Yamada
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
[NAND Question] When oob_required is used? Masahiro Yamada <yamada.masahiro@socionext.com> - 2017-02-28 08:30 +0100
Re: [NAND Question] When oob_required is used? Boris Brezillon <boris.brezillon@free-electrons.com> - 2017-02-28 09:20 +0100
Re: [NAND Question] When oob_required is used? Masahiro Yamada <yamada.masahiro@socionext.com> - 2017-02-28 09:40 +0100
csiph-web