diff options
author | Pekon Gupta <pekon@ti.com> | 2014-03-20 18:48:35 +0530 |
---|---|---|
committer | Brian Norris <computersforpeace@gmail.com> | 2014-03-25 23:08:57 -0700 |
commit | ea0760244d235688b5fae4e5cdd9412c1fb1c2fe (patch) | |
tree | f5f0a7b83f316d0ba400450e9073c7f45e14907d /drivers/mtd/mtdswap.c | |
parent | 3f4eb14bdbe148fcc3a8e02f506ccc9b8c955ad4 (diff) |
mtd: devices: elm: clean elm_load_syndrome
This patch refactors elm_load_syndrome() to make it scalable for newer
ECC schemes by removing scheme specific macros (like ECC_BYTES*xx),
and instead using ECC control information passed during elm_config.
Signed-off-by: Pekon Gupta <pekon@ti.com>
Reviewed-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Diffstat (limited to 'drivers/mtd/mtdswap.c')
0 files changed, 0 insertions, 0 deletions