summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/nand/sunxi_nand.c
diff options
context:
space:
mode:
authorBoris Brezillon <boris.brezillon@free-electrons.com>2015-08-26 16:08:12 +0200
committerBoris Brezillon <boris.brezillon@free-electrons.com>2016-04-19 22:05:38 +0200
commit9d02fc2a5129449581c3108c260e96377cf35f7e (patch)
treee9ff3f1081bcfdf33f166857c9ba8c2387bb99a9 /drivers/mtd/nand/sunxi_nand.c
parentmtd: nand: sunxi: adapt clk_rate to tWB, tADL, tWHR and tRHW timings (diff)
downloadlinux-9d02fc2a5129449581c3108c260e96377cf35f7e.tar.xz
linux-9d02fc2a5129449581c3108c260e96377cf35f7e.zip
mtd: nand: export default read/write oob functions
Export the default read/write oob functions (for the standard and syndrome scheme), so that drivers can use them for their raw implementation and implement their own functions for the normal oob operation. This is required if your ECC engine is capable of fixing some of the OOB data. In this case you have to overload the ->read_oob() and ->write_oob(), but if you don't specify the ->read/write_oob_raw() functions they are assigned to the ->read/write_oob() implementation, which is not what you want. Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Diffstat (limited to 'drivers/mtd/nand/sunxi_nand.c')
0 files changed, 0 insertions, 0 deletions