Whoops, I think I missed the list on this one. Daniel Mack wrote: > Yes, absolutely - to me. I'm sitting on this at this very moment :) > > I was also thinking about implementing this as a PXA3xx generic layer > for small pages, large pages, 8bit and 16bit so the same code does not > need to be copied to all the board implementations over and over again. > > But I'm not sure whether there are any plans to do this as I didn't > follow the development of this project for a long time. > > Anyways, I'd appreciate if you could send over what you got. > Ok, I've currently got it inside my board code directory but it wouldn't be much to generalise.
There's a copy here: http://www.oliford.co.uk/hpipaq214/public/u-boot/board/ipaq214/nand.c http://www.oliford.co.uk/hpipaq214/public/u-boot/board/ipaq214/pxa3xx-nand.h Mostly it's the same as the linux one except that I've written a function called pxa3xx_nand_no_irq_wait_completion_timeout() which mimics the call to wait_for_completion_timeout() that would be made with IRQs avaliable. Oliver _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot