aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd/nand/omap2.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mtd/nand/omap2.c')
-rw-r--r--drivers/mtd/nand/omap2.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/mtd/nand/omap2.c b/drivers/mtd/nand/omap2.c
index 1ec0a1dbed3d..80250ad7d061 100644
--- a/drivers/mtd/nand/omap2.c
+++ b/drivers/mtd/nand/omap2.c
@@ -1742,13 +1742,6 @@ static int omap_nand_probe(struct platform_device *pdev)
1742 goto return_error; 1742 goto return_error;
1743 } 1743 }
1744 1744
1745 /* check for small page devices */
1746 if ((mtd->oobsize < 64) && (pdata->ecc_opt != OMAP_ECC_HAM1_CODE_HW)) {
1747 dev_err(&info->pdev->dev, "small page devices are not supported\n");
1748 err = -EINVAL;
1749 goto return_error;
1750 }
1751
1752 /* re-populate low-level callbacks based on xfer modes */ 1745 /* re-populate low-level callbacks based on xfer modes */
1753 switch (pdata->xfer_type) { 1746 switch (pdata->xfer_type) {
1754 case NAND_OMAP_PREFETCH_POLLED: 1747 case NAND_OMAP_PREFETCH_POLLED: