Skip to content

Commit 80bd33a

Browse files
Huang Shijiecomputersforpeace
authored andcommitted
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>
1 parent edaf4d4 commit 80bd33a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎drivers/mtd/nand/gpmi-nand/gpmi-nand.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1674,7 +1674,7 @@ static int gpmi_nfc_init(struct gpmi_nand_data *this)
16741674
if (ret)
16751675
goto err_out;
16761676

1677-
ret = nand_scan_ident(mtd, 2, NULL);
1677+
ret = nand_scan_ident(mtd, GPMI_IS_MX6Q(this) ? 2 : 1, NULL);
16781678
if (ret)
16791679
goto err_out;
16801680

0 commit comments

Comments
 (0)