mtd: nand: pxa3xx: Use ECC strength and step size devicetree binding
authorEzequiel Garcia <ezequiel.garcia@free-electrons.com>
Wed, 14 May 2014 17:58:08 +0000 (14:58 -0300)
committerBrian Norris <computersforpeace@gmail.com>
Wed, 21 May 2014 19:55:09 +0000 (12:55 -0700)
commit5b3e507820c6e120bc2680c0d35f9d9d81fcb98d
tree77cbc581cbdf88e0d91bb16e477718a5dce2b3d5
parenteee0166d8ead9d719d794df3e66acd8f83630e05
mtd: nand: pxa3xx: Use ECC strength and step size devicetree binding

This commit adds support for the user to specify the ECC strength
and step size through the devicetree. We keep the previous behavior,
when there is no DT parameter provided.

Signed-off-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
drivers/mtd/nand/pxa3xx_nand.c
include/linux/platform_data/mtd-nand-pxa3xx.h