diff options
author | Miquel Raynal <miquel.raynal@bootlin.com> | 2020-05-26 21:56:15 +0200 |
---|---|---|
committer | Miquel Raynal <miquel.raynal@bootlin.com> | 2020-05-31 10:53:41 +0200 |
commit | 74e24cd2376d9cc4cfc6edad8610780b79fd5def (patch) | |
tree | 25e79ff2ca4e88d3de932ea9b5fdfa979f132894 /include/linux/reset-controller.h | |
parent | f66a6fd0dc7cc49c891a167937e161114f48a62e (diff) | |
download | linux-74e24cd2376d9cc4cfc6edad8610780b79fd5def.tar.gz linux-74e24cd2376d9cc4cfc6edad8610780b79fd5def.tar.bz2 linux-74e24cd2376d9cc4cfc6edad8610780b79fd5def.zip |
mtd: rawnand: Drop OOB_FIRST placement scheme
This scheme has been introduced for the Davinci controller and means
that the OOB area must be read *before* the rest of the data. This has
nothing to do with the ECC in OOB placement as it could be understood
and most importantly, there is no point in having this function out of
the Davinci NAND controller driver. A DT property for this scheme has
been added but never used, even by the Davinci driver which only uses
this scheme to change the default nand_read_page().
Move the main read_page() helper into the Davinci driver and remove
the remaining boilerplate.
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Link: https://lore.kernel.org/linux-mtd/20200526195633.11543-4-miquel.raynal@bootlin.com
Diffstat (limited to 'include/linux/reset-controller.h')
0 files changed, 0 insertions, 0 deletions