With CONFIG_PARAMETER unset the driver never calls omap_gpmc_eccmode. Fix it. Signed-off-by: Sascha Hauer <s.hauer@xxxxxxxxxxxxxx> --- drivers/mtd/nand/nand_omap_gpmc.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/mtd/nand/nand_omap_gpmc.c b/drivers/mtd/nand/nand_omap_gpmc.c index 3bb6d79..740751b 100644 --- a/drivers/mtd/nand/nand_omap_gpmc.c +++ b/drivers/mtd/nand/nand_omap_gpmc.c @@ -958,6 +958,7 @@ static int gpmc_nand_probe(struct device_d *pdev) dev_add_param(pdev, "eccmode", omap_gpmc_eccmode_set, NULL, 0); dev_set_param(pdev, "eccmode", ecc_mode_strings[pdata->ecc_mode]); + omap_gpmc_eccmode(oinfo, pdata->ecc_mode); /* We are all set to register with the system now! */ err = add_mtd_device(minfo, "nand"); -- 1.7.8.3 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox