* [PATCH] cmd_ctrl-callback is needed in plat_nand.c
@ 2007-09-06 7:41 Sergej Stepanov
0 siblings, 0 replies; only message in thread
From: Sergej Stepanov @ 2007-09-06 7:41 UTC (permalink / raw)
To: linuxppc-embedded, Vitaly Wool
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@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 */
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-09-06 7:41 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-06 7:41 [PATCH] cmd_ctrl-callback is needed in plat_nand.c Sergej Stepanov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox