
14 May
2009
14 May
'09
2:33 p.m.
Dear Ilya,
In message 4A0BF1CF.9030907@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: wd@denx.de
There's another way to survive. Mutual trust -- and help.
-- Kirk, "Day of the Dove", stardate unknown