Hi Efti, On Monday 02 May 2011 15:36:15 linuxppc-dev wrote: > Dear Stefan, > > I have changed CPLD/BCSR address with 0x4E1000000. > > static unsigned long mem_addr = 0x4E1000000;
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. Cheers, Stefan -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-0 Fax: (+49)-8142-66989-80 Email: [email protected] _______________________________________________ Linuxppc-dev mailing list [email protected] https://lists.ozlabs.org/listinfo/linuxppc-dev
