[U-Boot] [PATCH 7/7] mtd: nand: Sync with Linux v4.6

Heiko Schocher hs at denx.de
Tue May 31 08:48:20 CEST 2016


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 at 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?

UBI Testcases (with first testing on nand) start at:
http://xeidos.ddns.net/tbot/id_41/html_log.html#212

So you can add my

Tested-by: Heiko Schocher <hs at denx.de>

to your series.

More tbot nand testcases appreciated ;-)

I am rebasing my patchseries for the siemens boards (am335x and at91
based boards) to current mainline and your patchset and test them on
this boards, and send the results soon.

bye,
Heiko
[1] tbot
https://github.com/hsdenx/tbot/commits/master
-- 
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany


More information about the U-Boot mailing list