summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/nand/cmx270_nand.c
diff options
context:
space:
mode:
authorMike Rapoport <mike@compulab.co.il>2008-10-05 11:26:55 +0200
committerRussell King <rmk+kernel@arm.linux.org.uk>2008-10-07 13:05:07 +0200
commita7f3f0309b68d8d07a97a54c492802c294bccacd (patch)
tree1b1f04bcc09fd6cba966e39e3b005d080de4edcd /drivers/mtd/nand/cmx270_nand.c
parent[ARM] 5281/1: pxa: split cm-x2xx.c to cm-x2xx.c and cm-x270.c (diff)
downloadlinux-a7f3f0309b68d8d07a97a54c492802c294bccacd.tar.xz
linux-a7f3f0309b68d8d07a97a54c492802c294bccacd.zip
[ARM] 5282/1: pxa: add CM-X255 support
Signed-off-by: Russ Dill <russ.dill@gmail.com> Signed-off-by: Mike Rapoport <mike@compulab.co.il> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'drivers/mtd/nand/cmx270_nand.c')
-rw-r--r--drivers/mtd/nand/cmx270_nand.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/nand/cmx270_nand.c b/drivers/mtd/nand/cmx270_nand.c
index 9eba3f04783a..fa129c09bca8 100644
--- a/drivers/mtd/nand/cmx270_nand.c
+++ b/drivers/mtd/nand/cmx270_nand.c
@@ -156,7 +156,7 @@ static int cmx270_init(void)
int mtd_parts_nb = 0;
int ret;
- if (!machine_is_armcore())
+ if (!(machine_is_armcore() && cpu_is_pxa27x()))
return -ENODEV;
ret = gpio_request(GPIO_NAND_CS, "NAND CS");