mtd: nand: pxa3xx: Introduce 'marvell,armada370-nand' compatible string
authorEzequiel Garcia <[email protected]>
Sat, 10 Aug 2013 19:34:52 +0000 (16:34 -0300)
committerDavid Woodhouse <[email protected]>
Fri, 30 Aug 2013 20:34:50 +0000 (21:34 +0100)
commitc0f3b8643a6fa2461d70760ec49d21d2b031d611
tree17dd9c855447efac07b73b483f9f9b93b27cf60f
parent2febcdf84b75aae627c61f0a5bf531a69299966c
mtd: nand: pxa3xx: Introduce 'marvell,armada370-nand' compatible string

This driver supports NFCv1 (as found in PXA SoC) and NFCv2 (as found in
Armada 370/XP SoC). As both controller has a few differences, a way of
distinguishing between the two is needed.

This commit introduces a new compatible string 'marvell,armada370-nand'
and assigns a compatible data of type enum pxa3xx_nand_variant to allow
such distinction.

Signed-off-by: Ezequiel Garcia <[email protected]>
Tested-by: Daniel Mack <[email protected]>
Cc: [email protected]
Signed-off-by: Brian Norris <[email protected]>
Signed-off-by: David Woodhouse <[email protected]>
drivers/mtd/nand/pxa3xx_nand.c