commit | ea0760244d235688b5fae4e5cdd9412c1fb1c2fe | [log] [tgz] |
---|---|---|
author | Pekon Gupta <pekon@ti.com> | Thu Mar 20 18:48:35 2014 +0530 |
committer | Brian Norris <computersforpeace@gmail.com> | Tue Mar 25 23:08:57 2014 -0700 |
tree | f5f0a7b83f316d0ba400450e9073c7f45e14907d | |
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>