commit | c270b481f7d4edaf06e413525621153342e8a015 | [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 | 4de74a42cdbd4494e9945fc12d86cf8a95aded3a [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>