Re: [U-Boot] [PATCH v6 04/31] mtd: Fallback to ->_read/write() when ->_read/write_oob() is missing

2018-08-16 Thread Boris Brezillon
On Thu, 16 Aug 2018 17:30:02 +0200 Miquel Raynal wrote: > Some MTD sublayers/drivers are implementing ->_read/write() and > not ->_read/write_oob(). > > While for NAND devices both are usually valid, for NOR devices, using > the _oob variant has no real meaning. But, as the MTD layer is

[U-Boot] [PATCH v6 04/31] mtd: Fallback to ->_read/write() when ->_read/write_oob() is missing

2018-08-16 Thread Miquel Raynal
Some MTD sublayers/drivers are implementing ->_read/write() and not ->_read/write_oob(). While for NAND devices both are usually valid, for NOR devices, using the _oob variant has no real meaning. But, as the MTD layer is supposed to hide as much as possible the flash complexity to the user,