|
@@ -1742,13 +1742,6 @@ static int omap_nand_probe(struct platform_device *pdev)
|
|
|
goto return_error;
|
|
|
}
|
|
|
|
|
|
- /* check for small page devices */
|
|
|
- if ((mtd->oobsize < 64) && (pdata->ecc_opt != OMAP_ECC_HAM1_CODE_HW)) {
|
|
|
- dev_err(&info->pdev->dev, "small page devices are not supported\n");
|
|
|
- err = -EINVAL;
|
|
|
- goto return_error;
|
|
|
- }
|
|
|
-
|
|
|
/* re-populate low-level callbacks based on xfer modes */
|
|
|
switch (pdata->xfer_type) {
|
|
|
case NAND_OMAP_PREFETCH_POLLED:
|