lantiq: backport kernel patch to pass of node to nand_dt_init
authorMathias Kresin <dev@kresin.me>
Tue, 31 May 2016 06:39:53 +0000 (08:39 +0200)
committerMathias Kresin <dev@kresin.me>
Tue, 29 Nov 2016 20:40:16 +0000 (21:40 +0100)
commit860210c3731f97eec507fd1c8d4554fd80394edb
tree74b7451da73d591768a7eeb8df1e4cf3ca755a8d
parent62a347b1d9061cd0b6e1c7de7044679cfce9b674
lantiq: backport kernel patch to pass of node to nand_dt_init

Backport upstream commit a61ae81a1907af1987ad4c77300508327bc48b23.

The actually purpose of the patch was to do some cleanup. As a side
effect of this cleanup, the device node is now passed to nand_dt_init.

This allows to use the common nand device tree properties

 - nand-bus-width
 - nand-on-flash-bbt
 - nand-ecc-mode
 - nand-ecc-step-size
 - nand-ecc-strength

for the plat_nand driver.

Signed-off-by: Mathias Kresin <dev@kresin.me>
target/linux/lantiq/dts/BTHOMEHUBV5A.dts
target/linux/lantiq/patches-4.4/0047-mtd-plat-nand-pass-of-node.patch [new file with mode: 0644]