Read/write BCSR registers of PPC460EX

Benjamin Herrenschmidt benh at kernel.crashing.org
Wed May 4 15:37:26 EST 2011


On Mon, 2011-05-02 at 15:42 +0200, Stefan Roese wrote:
> 
> Thats a 64bit address, so you need this:
> 
> static unsigned long long mem_addr =  0x4E1000000ULL;
> 
> You should have seen a compilation warning about this too. 

No, he should use the device-tree :-)

Cheers,
Ben.




More information about the Linuxppc-dev mailing list