Signed-off-by: Baruch Siach <baruch@xxxxxxxxxx> --- drivers/mtd/nand/nand_imx.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/mtd/nand/nand_imx.c b/drivers/mtd/nand/nand_imx.c index 48841dc..aff636a 100644 --- a/drivers/mtd/nand/nand_imx.c +++ b/drivers/mtd/nand/nand_imx.c @@ -1013,7 +1013,7 @@ static int __init imxnd_probe(struct device_d *dev) imx_nand_set_layout(mtd->writesize, pdata->width == 2 ? 16 : 8); - if (mtd->writesize == 2048) { + if (mtd->writesize >= 2048) { this->ecc.layout = oob_largepage; host->pagesize_2k = 1; if (nfc_is_v21()) { -- 1.7.2.3 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox