diff options
author | Mike Rapoport <mike@compulab.co.il> | 2008-10-05 13:26:55 +0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2008-10-07 15:05:07 +0400 |
commit | a7f3f0309b68d8d07a97a54c492802c294bccacd (patch) | |
tree | 1b1f04bcc09fd6cba966e39e3b005d080de4edcd /drivers/mtd | |
parent | 4adc5fb6733213ab68750f722630d1b9d5655bc1 (diff) | |
download | linux-a7f3f0309b68d8d07a97a54c492802c294bccacd.tar.xz |
[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')
-rw-r--r-- | drivers/mtd/nand/cmx270_nand.c | 2 |
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"); |