CFI Devices in x8 mode

Alex Lennon ajlennon at arcom.co.uk
Mon Mar 26 07:07:31 EST 2001


>The 8-bit buswidth probe doesn't attempt to probe for a device type X16 any
>more. It should. Someone gave me a patch for that a few days ago, I think -
>but I can't find it. I've just committed what I think is the correct fix to
>CVS.

Sorry - I think I'm misunderstanding - I've got an eight bit device here but
the code
looks as though its accessing it as a 16-bit device from what I can see in
the spec.

For word addressing the query data structure starts at 0x10 and continues
'Q', 'R', Y', P_IDlo, P_IDhi etc.
For byte addressing the q.d.s. starts at 0x20 and continues 'Q', 'Q', 'R',
'R', 'Y', 'Y', P_IDlo, P_IDhi etc.

If I'm reading this stuff right then the cfi_cfi_probe() code doesn't seems
to be taking the base offset into account ?

Alex





To unsubscribe, send "unsubscribe mtd" to majordomo at infradead.org



More information about the linux-mtd mailing list