* Re: patch/respin] generic nand driver for SoCs
[not found] <mailman.718.1178114330.2239.linux-mtd@lists.infradead.org>
@ 2007-05-03 9:08 ` Ruslan V. Sushko
0 siblings, 0 replies; only message in thread
From: Ruslan V. Sushko @ 2007-05-03 9:08 UTC (permalink / raw)
To: Vitaly Wool; +Cc: linux-mtd
>
> + data->chip.priv = &data;
> + data->mtd.priv = &data->chip;
> + data->mtd.owner = THIS_MODULE;
>
Seems it would be useful to pass the name of mtd driver (data->mtd.name)
here from platform dependent data. The name is used to created custom
mtd partitions from command line, if cmdlineprobe passed in probe list.
> +
> + data->chip.IO_ADDR_R = data->io_base;
> + data->chip.IO_ADDR_W = data->io_base;
> + data->chip.cmd_ctrl = pdata->ctrl.cmd_ctrl;
> + data->chip.dev_ready = pdata->ctrl.dev_ready;
> + data->chip.select_chip = pdata->ctrl.select_chip;
> +
>
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-05-03 9:08 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <mailman.718.1178114330.2239.linux-mtd@lists.infradead.org>
2007-05-03 9:08 ` patch/respin] generic nand driver for SoCs Ruslan V. Sushko
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.