diff options
author | Boris BREZILLON <boris.brezillon@free-electrons.com> | 2015-10-01 00:45:24 +0300 |
---|---|---|
committer | Brian Norris <computersforpeace@gmail.com> | 2015-10-02 21:09:51 +0300 |
commit | 913821bdd2110b4569540c532ec50f3e61a7c9ba (patch) | |
tree | cc9ddbccc6ba1718474d124ab28d377b3c120b40 /mm/kasan/kasan.h | |
parent | c9118ecebe1d694b463777ec33e397e226d4b149 (diff) | |
download | linux-913821bdd2110b4569540c532ec50f3e61a7c9ba.tar.xz |
mtd: nand: sunxi: introduce sunxi_nfc_hw_ecc_read/write_chunk()
The logic behind normal and syndrome ECC handling is pretty much the same,
the only difference is the ECC bytes placement.
Create two functions to read/write ECC chunks. Those functions will later
be used by the sunxi_nfc_hw_ecc_read/write_page() and
sunxi_nfc_hw_syndrome_ecc_read/write_page() functions.
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Diffstat (limited to 'mm/kasan/kasan.h')
0 files changed, 0 insertions, 0 deletions