cfi_cmdset_0001 unaligned write problems.

David Woodhouse dwmw2 at infradead.org
Thu Oct 19 11:39:41 EDT 2000


dg at tao-group.com said:
>  Ditto on BE. Endianness only matters when you are reading and writing
> non-quad  values to memory. The internal representations are
> identical.

Yep, I was misunderstanding what do_write_oneword() does. In fact, it 
passes datum intact to cfi_write() which does the correct thing, rather 
than passing it by reference. That code does look OK.


--
dwmw2




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



More information about the linux-mtd mailing list