ARM1176 register writes are in reverse?

Steve Chen schen at mvista.com
Tue Oct 6 08:56:14 EDT 2009


On Tue, 2009-10-06 at 17:40 +0530, Nicholas Van Orton wrote:
> Hi,
> 
> I noticed that register writes to ARM1176 need to be in the reverse
> order. That is, lets say I need to write 0xABCD to a register. But in
> the actual write using __raw_writel() the value needs to be changed to
> 0xCDAB. Why is this so? The Davinci or OMAP on the other hand for
> example, which is an ARM 926 does not need any such manipulation. Why
> is the ARM1176 an exception?
> 

Are you working with TI Puma5?  I suspect that reverse order is probably
due to specific hardware endianness implementation rather than generic
difference between ARM1176 and ARM926.

Regards,

Steve





More information about the linux-arm-kernel mailing list