diff options
author | Hans de Goede <hdegoede@redhat.com> | 2015-08-15 12:41:09 +0200 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2015-08-31 08:43:41 +0200 |
commit | 008ac1dfe0815476cca819c16e06616c12c303b7 (patch) | |
tree | 28aa28cf4e37f8f361f755c0aced74769838d17f /drivers/mtd/nand/lpc32xx_nand_slc.c | |
parent | 2a43973f64bce7dba1a5aabd18f2268f062aa0ef (diff) |
sunxi_nand_spl: Use kernel driver algorithm for determining ecc_mode / _off
Sync the code for figuring out the ecc_mode and ecc_offset with the linux
kernel v4.1. Keeping this in sync seems like a good idea in general, and
it fixes / adds support for ecc strengths of 56, 60 and 64 bits.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Ian Campbell <ijc@hellion.org.uk>
Diffstat (limited to 'drivers/mtd/nand/lpc32xx_nand_slc.c')
0 files changed, 0 insertions, 0 deletions