[U-Boot] ARM relocation, probably trivial mistake - back to original problem

Wolfgang Denk
2010-10-01T11:59:08Z

Dear Reinhard Meyer,

In message <4CA5C7DE.6010300@emk-elektronik.de> you wrote:
>
> For the fix, I see an ugly multiline
> #if defined(AT91SAM9260) || defined(AT91SAM9G20) || ...
> coming into arch/arm/asm/global_data.h.
>
> There is no common defined value for all AT91 SoCs that could be used.

If this is really for all AT91 SoCs, then please feel free to
introduce a common define (CONFIG_SYS_AT91 ?) and use that. Eventually
you can clean up some other such #if's on the way.

Probably there is a header file common to all AT91 SoCs when then can
use a single such construct to #define the new variable so you don;t
have to touch all the many board config files.

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
A wise person makes his own decisions, a weak one obeys public
opinion. -- Chinese proverb