Dear Ilya, In message <4a0bf1cf.9030...@emcraft.com> you wrote: > > Another issue I've just faced: how we are going to access IO registers > from assembler code? I don't think we have that asm-offsets stuff in > U-Boot...
I faced the same problem with the recent MPC512x patches; I think it's time to introduce asm-offsets (or rather generalize - BF is already using this, though not really extendable) for U-Boot, too. For the MPC512x I created a new file cpu/mpc512x/asm-offsets.h which contains the needed definitions, with the intention to add auto-generation for this file as soon as possible. I recommend you do the same. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: w...@denx.de There's another way to survive. Mutual trust -- and help. -- Kirk, "Day of the Dove", stardate unknown _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot