New driver
Hi.
Here is my first run at the TC6393XB NAND/Smartmedia controller driver.
Currently the chip init is nonexistant - its done by wince on my board and I have no way of booting without wince on it yet, so I have no plan to implement it until I can test it (this will be soon, probably).
Hardware ECC seems to be broken. the code is present but disabled, for educational purposes.
this driver requires the read_id override patch (which I will post shortly).
Quoted 3 lines · On Tue, 24 Aug 2004 01:09:27 +0100 Ian Molton <[email protected]> wrote:
Hi.
Here is my first run at the TC6393XB NAND/Smartmedia controller driver.
No comments ?
Quoted 8 lines · Ian Molton
Quoted 3 lines · On Tue, 24 Aug 2004 01:09:27 +0100 Ian Molton <[email protected]> wrote:
Hi.
Here is my first run at the TC6393XB NAND/Smartmedia controller driver.
No comments ?
You forgot to iounmap in your tmio_cleanup function.
Also, you could put:
if(len & 0x3)
BUG();
into a macro. Later, if you can ever guarantee that will never be true, you can just define the macro to be a no-op. Just a coding style thing though.
josh