diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2013-01-05 16:28:32 -0500 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2013-01-28 17:24:36 -0500 |
commit | ba785205502f9a03d4ee31bdc3a1228ba5465f00 (patch) | |
tree | a532b81285c3004d8015f22cea7799bc1b82e3ef /drivers/mtd/nand | |
parent | 27bda036d246ae417af348d7868f96d2da208ecc (diff) |
ARM: nomadik: add FSMC NAND
This adds the FSMC NAND driver and flash partitions to the Nomadik
device tree.
The only compatible string accepted by this driver is currently
"st,spear600-fsmc-nand" which is inappropriate for this system, so
this patch adds the compatible value "stericsson,fsmc-nand" as
well.
Cc: linux-mtd@vger.kernel.org
Cc: David Woodhouse <dwmw2@infradead.org>
Cc: Artem Bityutskiy <dedekind1@gmail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/mtd/nand')
-rw-r--r-- | drivers/mtd/nand/fsmc_nand.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mtd/nand/fsmc_nand.c b/drivers/mtd/nand/fsmc_nand.c index 67e62d3d495c..61043a92c007 100644 --- a/drivers/mtd/nand/fsmc_nand.c +++ b/drivers/mtd/nand/fsmc_nand.c | |||
@@ -1218,6 +1218,7 @@ static SIMPLE_DEV_PM_OPS(fsmc_nand_pm_ops, fsmc_nand_suspend, fsmc_nand_resume); | |||
1218 | #ifdef CONFIG_OF | 1218 | #ifdef CONFIG_OF |
1219 | static const struct of_device_id fsmc_nand_id_table[] = { | 1219 | static const struct of_device_id fsmc_nand_id_table[] = { |
1220 | { .compatible = "st,spear600-fsmc-nand" }, | 1220 | { .compatible = "st,spear600-fsmc-nand" }, |
1221 | { .compatible = "stericsson,fsmc-nand" }, | ||
1221 | {} | 1222 | {} |
1222 | }; | 1223 | }; |
1223 | MODULE_DEVICE_TABLE(of, fsmc_nand_id_table); | 1224 | MODULE_DEVICE_TABLE(of, fsmc_nand_id_table); |