[U-Boot] [PATCH 01/10] mx27: basic cpu support

Wolfgang Denk wd at denx.de
Thu May 14 14:33:43 CEST 2009


Dear Ilya,

In message <4A0BF1CF.9030907 at 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 at denx.de
There's another way to survive.  Mutual trust -- and help.
	-- Kirk, "Day of the Dove", stardate unknown


More information about the U-Boot mailing list