ARM1176 register writes are in reverse?

Ben Dooks ben-linux at fluff.org
Tue Oct 6 09:12:21 EDT 2009


On Tue, Oct 06, 2009 at 05:40:36PM +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?

No, works fine for all the Samsung ARM11 chips. Sounds like either you're
running the core big-endian, or part of your bus is big-endian?

-- 
Ben

Q:      What's a light-year?
A:      One-third less calories than a regular year.




More information about the linux-arm-kernel mailing list