]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mtd: nand: pxa3xx: Introduce 'marvell,armada370-nand' compatible string
authorEzequiel Garcia <ezequiel.garcia@free-electrons.com>
Sat, 10 Aug 2013 19:34:52 +0000 (16:34 -0300)
committerBrian Norris <computersforpeace@gmail.com>
Mon, 12 Aug 2013 22:12:27 +0000 (15:12 -0700)
commitde608e8da35be125c3fbd345baa5ea71eba60b61
tree787b8958deae8a52bc453422d6dff5dd48333ced
parent6d2ce746f6239219a3fdf9e6a46089565fa6df9d
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 <ezequiel.garcia@free-electrons.com>
Tested-by: Daniel Mack <zonque@gmail.com>
Cc: devicetree@vger.kernel.org
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
drivers/mtd/nand/pxa3xx_nand.c