[PATCH] cmd_ctrl-callback is needed in plat_nand.c

Sergej Stepanov Sergej.Stepanov at ids.de
Thu Sep 6 17:41:10 EST 2007


To get our board (IDS8247) to work with the driver the cmd_ctrl-callback is needed (controlling ALE/CLE/nCE).

Sigend-off-by: Sergej Stepanov <Sergej.Stepanov at ids.de>
---

diff -ruN linux-2.6.22.1-orig/drivers/mtd/nand/plat_nand.c linux-2.6.22.1_ids8247/drivers/mtd/nand/plat_nand.c
--- linux-2.6.22.1-orig/drivers/mtd/nand/plat_nand.c	2007-07-10 20:56:30.000000000 +0200
+++ linux-2.6.22.1_ids8247/drivers/mtd/nand/plat_nand.c	2007-08-02 10:54:34.000000000 +0200
@@ -66,7 +66,7 @@
 	data->chip.ecc.hwctl = pdata->ctrl.hwcontrol;
 	data->chip.ecc.layout = pdata->chip.ecclayout;
 	data->chip.ecc.mode = NAND_ECC_SOFT;
+	data->chip.cmd_ctrl = pdata->ctrl.cmd_ctrl;
 	platform_set_drvdata(pdev, data);
 
 	/* Scan to find existance of the device */



More information about the Linuxppc-embedded mailing list