[PATCH 2/4] nand base: Give drivers a chance to do late initialization.
Scott Wood
scottwood at freescale.com
Tue Jan 8 12:48:09 EST 2008
On Tue, Jan 08, 2008 at 07:57:49AM +0000, David Woodhouse wrote:
>
> On Thu, 2007-12-13 at 11:15 -0600, Scott Wood wrote:
> > Some nand controllers, such as the Freescale enhanced local bus controller,
> > need to do late initialization based on details of the chip that has been
> > probed, such as chip size, large/small pages, etc. A late_init() callback
> > method is added to allow this.
>
> Do you really need this so late? Can't it be done between
> nand_scan_ident() and nand_scan_tail()? That's why we split nand_scan()
> into two in the first place...
Yeah, that'd work. I'll send an updated driver soon.
-Scott
More information about the linux-mtd
mailing list