Re: [PATCH 1/3] mtd: nand: davinci: reuse driver for Keystone arch

2013-11-25 Thread ivan.khoronzhuk
On 11/23/2013 08:15 PM, Arnd Bergmann wrote: On Wednesday 20 November 2013, Ivan Khoronzhuk wrote: --- a/drivers/mtd/nand/davinci_nand.c +++ b/drivers/mtd/nand/davinci_nand.c @@ -523,6 +523,7 @@ static struct nand_ecclayout hwecc4_2048 __initconst = { #if defined(CONFIG_OF) static const

Re: [PATCH 1/3] mtd: nand: davinci: reuse driver for Keystone arch

2013-11-25 Thread ivan.khoronzhuk
On 11/23/2013 08:15 PM, Arnd Bergmann wrote: On Wednesday 20 November 2013, Ivan Khoronzhuk wrote: --- a/drivers/mtd/nand/davinci_nand.c +++ b/drivers/mtd/nand/davinci_nand.c @@ -523,6 +523,7 @@ static struct nand_ecclayout hwecc4_2048 __initconst = { #if defined(CONFIG_OF) static const

Re: [PATCH 1/3] mtd: nand: davinci: reuse driver for Keystone arch

2013-11-23 Thread Arnd Bergmann
On Wednesday 20 November 2013, Ivan Khoronzhuk wrote: > --- a/drivers/mtd/nand/davinci_nand.c > +++ b/drivers/mtd/nand/davinci_nand.c > @@ -523,6 +523,7 @@ static struct nand_ecclayout hwecc4_2048 __initconst = { > #if defined(CONFIG_OF) > static const struct of_device_id davinci_nand_of_match[]

Re: [PATCH 1/3] mtd: nand: davinci: reuse driver for Keystone arch

2013-11-23 Thread Arnd Bergmann
On Wednesday 20 November 2013, Ivan Khoronzhuk wrote: --- a/drivers/mtd/nand/davinci_nand.c +++ b/drivers/mtd/nand/davinci_nand.c @@ -523,6 +523,7 @@ static struct nand_ecclayout hwecc4_2048 __initconst = { #if defined(CONFIG_OF) static const struct of_device_id davinci_nand_of_match[] = {

[PATCH 1/3] mtd: nand: davinci: reuse driver for Keystone arch

2013-11-20 Thread Ivan Khoronzhuk
The Keystone arch has compatible nand device, so reuse it. In case with Keystone it depends on TI_AEMIF because AEMIF driver is responsible to set timings. See http://www.ti.com/lit/ug/sprugz3a/sprugz3a.pdf Signed-off-by: Ivan Khoronzhuk --- .../devicetree/bindings/mtd/davinci-nand.txt |

[PATCH 1/3] mtd: nand: davinci: reuse driver for Keystone arch

2013-11-20 Thread Ivan Khoronzhuk
The Keystone arch has compatible nand device, so reuse it. In case with Keystone it depends on TI_AEMIF because AEMIF driver is responsible to set timings. See http://www.ti.com/lit/ug/sprugz3a/sprugz3a.pdf Signed-off-by: Ivan Khoronzhuk ivan.khoronz...@ti.com ---