Subject: Re: Read/write BCSR registers of PPC460EX

From: Benjamin Herrenschmidt <[email-masked]>
Date: Wed, 04 May 2011 15:37:00 +1000

On Mon, 2011-05-02 at 08:40 -0400, Josh Boyer wrote:
> Aside from minor things like using unsigned int instead of unsigned
> long, the code looks correct.  The thing to check is if you are
> ioremapping the right physical address, and making sure you're reading
> a
> proper location. 

Which is why he should obtain the location from the device-tree rather
than hard coding it !

Cheers,
Ben.