[PATCH] arch/powerpc/lib/copy_32.S: Use alternate memcpy for MPC512x and MPC52xx

Albrecht Dreß albrecht.dress at arcor.de
Fri Jul 9 06:09:51 EST 2010


Am 08.07.10 21:30 schrieb(en) Segher Boessenkool:
>> Actually, this is something which might need closer attention - and maybe some support in the device tree indicating which read or write width a device can accept?
> 
> There already is "device-width"; the drivers never should use any other access width unless they *know* that will work.

Hmm, unfortunately, it's usage is not clearly documented in mtd-physmap.txt, so I never thought of this parameter.  And IMHO the problem goes further - basically *any* chip which is attached to the LPB can be affected by this problem, so it might be better to have a more general approach like a "chip select property".

Cheers, Albrecht.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20100708/eb4190e0/attachment.pgp>


More information about the Linuxppc-dev mailing list