mbox series

[0/3,v2] fixing 1bit hamming

Message ID 20170502081323.3138-1-lynxis@fe80.eu
Headers show
Series fixing 1bit hamming | expand

Message

Alexander Couzens May 2, 2017, 8:13 a.m. UTC
v1:
Use the old layout for all drivers/chips which doesn't set it explicit.

v2:
Only use the old layout for 1bit hamming if the layout isn't set
by the driver or devicetree.

Alexander Couzens (3):
  mtd/nand: add ooblayout for old hamming layout
  nand_base: use nand_ooblayout_lp_hamming_ops for 1bit hamming as
    default
  mtd: nand: davinci: set ECC algorithm explicitly for HW based ECC

 drivers/mtd/nand/davinci_nand.c |  4 ++-
 drivers/mtd/nand/nand_base.c    | 77 ++++++++++++++++++++++++++++++++++++++++-
 include/linux/mtd/nand.h        |  1 +
 3 files changed, 80 insertions(+), 2 deletions(-)

-- 
2.12.2


______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/

Comments

Boris Brezillon May 2, 2017, 8:21 a.m. UTC | #1
Hi Alexander,

Please use the "mtd: nand: " prefix for all NAND related patches.

On Tue,  2 May 2017 10:13:20 +0200
Alexander Couzens <lynxis@fe80.eu> wrote:

A detailed explanation of what you're trying to do here would have been
useful. As is, your cover letter is just useless.

> v1:

> Use the old layout for all drivers/chips which doesn't set it explicit.

> 

> v2:

> Only use the old layout for 1bit hamming if the layout isn't set

> by the driver or devicetree.

> 

> Alexander Couzens (3):

>   mtd/nand: add ooblayout for old hamming layout

>   nand_base: use nand_ooblayout_lp_hamming_ops for 1bit hamming as

>     default

>   mtd: nand: davinci: set ECC algorithm explicitly for HW based ECC

> 

>  drivers/mtd/nand/davinci_nand.c |  4 ++-

>  drivers/mtd/nand/nand_base.c    | 77 ++++++++++++++++++++++++++++++++++++++++-

>  include/linux/mtd/nand.h        |  1 +

>  3 files changed, 80 insertions(+), 2 deletions(-)

> 



______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/