mtd: nand: pxa3xx: Add "armada370-nand" compatible

Linux-MTD Mailing List linux-mtd at lists.infradead.org
Tue Jan 28 00:59:06 EST 2014


Gitweb:     http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=1963ff97ca461fed4d9212e7e7b9c29715251342
Commit:     1963ff97ca461fed4d9212e7e7b9c29715251342
Parent:     e07caa3687317e1c5a9efa0d315a2d7ca57f3df5
Author:     Ezequiel Garcia <ezequiel.garcia at free-electrons.com>
AuthorDate: Tue Dec 24 12:40:07 2013 -0300
Committer:  Brian Norris <computersforpeace at gmail.com>
CommitDate: Sun Jan 12 23:47:36 2014 -0800

    mtd: nand: pxa3xx: Add "armada370-nand" compatible
    
    Now that the driver can support the Armada 370/XP SoC NAND controller,
    add the devicetree compatible string, enabling its use.
    
    Signed-off-by: Ezequiel Garcia <ezequiel.garcia at free-electrons.com>
    Acked-by: Jason Cooper <jason at lakedaemon.net>
    Signed-off-by: Brian Norris <computersforpeace at gmail.com>
---
 drivers/mtd/nand/pxa3xx_nand.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/drivers/mtd/nand/pxa3xx_nand.c b/drivers/mtd/nand/pxa3xx_nand.c
index 0599a88..31aae53 100644
--- a/drivers/mtd/nand/pxa3xx_nand.c
+++ b/drivers/mtd/nand/pxa3xx_nand.c
@@ -333,6 +333,10 @@ static struct of_device_id pxa3xx_nand_dt_ids[] = {
 		.compatible = "marvell,pxa3xx-nand",
 		.data       = (void *)PXA3XX_NAND_VARIANT_PXA,
 	},
+	{
+		.compatible = "marvell,armada370-nand",
+		.data       = (void *)PXA3XX_NAND_VARIANT_ARMADA370,
+	},
 	{}
 };
 MODULE_DEVICE_TABLE(of, pxa3xx_nand_dt_ids);



More information about the linux-mtd-cvs mailing list