commit | 008ac1dfe0815476cca819c16e06616c12c303b7 | [log] [tgz] |
---|---|---|
author | Hans de Goede <hdegoede@redhat.com> | Sat Aug 15 12:41:09 2015 +0200 |
committer | Hans de Goede <hdegoede@redhat.com> | Mon Aug 31 08:43:41 2015 +0200 |
tree | 28aa28cf4e37f8f361f755c0aced74769838d17f | |
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>