cfi_cmdset_0001 unaligned write problems.

David Given dg at tao-group.com
Thu Oct 19 11:26:45 EDT 2000


[...]
>However I suspect that there might be an issue with __u16 promoted to
>__u32 then back to __u16 on big endian CPUs.  What is the expected
>behavior?
>
>On LE, 0x1234 becomes 0x00001234 the back to 0x1234 which is fine...

Ditto on BE. Endianness only matters when you are reading and writing non-quad 
values to memory. The internal representations are identical.


-- 
David Given
dg at tao-group.com




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



More information about the linux-mtd mailing list