[PATCH] command function for nand flash through IDE

Thomas Gleixner tglx at linutronix.de
Fri Dec 31 04:18:13 EST 2004


On Fri, 2004-12-31 at 12:14 +0800, William J Beksi wrote:
> Thomas Gleixner wrote:
> 
> > Implement hwcontrol function
> >
> >case CLE: this->io_addr_w = IDE_IO_BASE+1; break;
> >case nCLE: this->io_addr_w = IDE_IO_BASE; break;
> >case ALE: this->io_addr_w = IDE_IO_BASE+2; break;
> >case nALE: this->io_addr_w = IDE_IO_BASE; break;
> >
> >There is also an example in the NAND API documentation.
> >  
> >
> Hi Thomas,
> I've implemented the hwcontrol function as per the NAND API 
> documentation. I did not use the ioremap because the i/o port addresses 
> 170-17F and 1F0-1FF are reserved for the IDE controller. I've spent the 
> last week testing this driver and I hope it can be commited to the cvs 
> if you find it useful.
> 

Hi William,

looks better now. Can you please provide patches for Makefile and
KConfig too ?

I still have a question. Did you modify nand_base.c ? What ARCH/Platform
are you using ?

tglx








More information about the linux-mtd mailing list