NAND connected with address lines based example
Marcus Mikolaiczyk
m.mikolaiczyk at rac.de
Thu Mar 31 04:58:30 EST 2005
Thanks to all
I'll thought of Williams idea too but was not sure, and try to implement
it asap (next few hours) and give a feedback.
>
> You can write your hardware control function like this:
>
> switch(cmd) {
> case NAND_CTL_SETCLE: this->IO_ADDR_W = io_base_addr+1; break;
> case NAND_CTL_CLRCLE: this->IO_ADDR_W = io_base_addr; break;
> case NAND_CTL_SETALE: this->IO_ADDR_W = io_base_addr+2; break;
> case NAND_CTL_CLRALE: this->IO_ADDR_W = io_base_addr; break;
> }
>
> Where io_base_addr = A8000000, your base address.
>
> Hope this helps.
Thanks so far.
Marcus
More information about the linux-mtd
mailing list