diff options
author | Huang Shijie <b32955@freescale.com> | 2013-11-07 04:46:37 -0500 |
---|---|---|
committer | Brian Norris <computersforpeace@gmail.com> | 2013-11-11 14:18:15 -0500 |
commit | 80bd33acdaa21fafa8ff4391ccdf879d227111bb (patch) | |
tree | 1cd3ecb9ab668d3cfe6467db1d895e4c5c4214f4 /drivers/mtd/nand | |
parent | edaf4d4aad61134e820c0431cbe3d319794899f9 (diff) |
mtd: gpmi: only scan two chips for imx6
We cannot scan two chips for imx23 and imx28:
imx23: the Ready-Busy1 line is not connected for some board.
imx28: we do not set the pinctrl for Ready-Busy1
So we only scan two chips for imx6.
Signed-off-by: Huang Shijie <b32955@freescale.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Diffstat (limited to 'drivers/mtd/nand')
-rw-r--r-- | drivers/mtd/nand/gpmi-nand/gpmi-nand.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/nand/gpmi-nand/gpmi-nand.c b/drivers/mtd/nand/gpmi-nand/gpmi-nand.c index 4b6d802018fb..3d642b5c3a79 100644 --- a/drivers/mtd/nand/gpmi-nand/gpmi-nand.c +++ b/drivers/mtd/nand/gpmi-nand/gpmi-nand.c | |||
@@ -1674,7 +1674,7 @@ static int gpmi_nfc_init(struct gpmi_nand_data *this) | |||
1674 | if (ret) | 1674 | if (ret) |
1675 | goto err_out; | 1675 | goto err_out; |
1676 | 1676 | ||
1677 | ret = nand_scan_ident(mtd, 2, NULL); | 1677 | ret = nand_scan_ident(mtd, GPMI_IS_MX6Q(this) ? 2 : 1, NULL); |
1678 | if (ret) | 1678 | if (ret) |
1679 | goto err_out; | 1679 | goto err_out; |
1680 | 1680 | ||