
On Tue, 2016-05-31 at 08:48 +0200, Heiko Schocher wrote:
Hello Scott,
Am 30.05.2016 um 20:57 schrieb Scott Wood:
Updates the NAND code to match Linux v4.6. The previous sync was from Linux v4.1 in commit d3963721d93fafa.
Note that none of the individual NAND drivers tracked Linux closely enough to be synced themselves, other than manually applying a few cross-tree changes.
Signed-off-by: Scott Wood oss@buserror.net
drivers/mtd/nand/atmel_nand.c | 6 +- drivers/mtd/nand/davinci_nand.c | 6 +- drivers/mtd/nand/denali.c | 39 +++-- drivers/mtd/nand/denali.h | 1 - drivers/mtd/nand/denali_spl.c | 2 +- drivers/mtd/nand/mpc5121_nfc.c | 1 - drivers/mtd/nand/mxc_nand.c | 5 +- drivers/mtd/nand/mxc_nand_spl.c | 2 +- drivers/mtd/nand/mxs_nand.c | 2 +- drivers/mtd/nand/nand_base.c | 329 ++++++++++++++++++++++++++++------
drivers/mtd/nand/nand_bbt.c | 30 ++-- drivers/mtd/nand/nand_bch.c | 29 ++-- drivers/mtd/nand/nand_ids.c | 10 +- drivers/mtd/nand/ndfc.c | 2 +- drivers/mtd/nand/omap_gpmc.c | 2 +- drivers/mtd/nand/s3c2410_nand.c | 2 +- drivers/mtd/nand/vf610_nfc.c | 1 - include/linux/mtd/mtd.h | 5 + include/linux/mtd/nand.h | 65 +++++--- include/linux/mtd/nand_bch.h | 10 +- 20 files changed, 347 insertions(+), 202 deletions(-)
Thanks for your work!
I tested this series on the imx6 based aristainetos board incl. some basic UBI/UBIFS tests with tbot[1] without errors:
http://xeidos.ddns.net/tests/test_db_auslesen.php#41
beside some checkpatchwarnings: (you must press on the "[+] control" link, block does not yet unblock automagically ...) http://xeidos.ddns.net/tbot/id_41/html_log.html#96 http://xeidos.ddns.net/tbot/id_41/html_log.html#116 http://xeidos.ddns.net/tbot/id_41/html_log.html#136
I currently disable failing tbot on checkpatch warnings/errors, as I think this warnings are from linux... or?
The warnings are from (mostly minor) style problems in the existing U-Boot code, that weren't fixed when a (largely automatically generated with Coccinelle) patch did some search and replace.
-Scott