[U-Boot] [PATCH RFC 0/3] ARM Relocation Config Cleanup

Wolfgang Denk wd at denx.de
Fri Oct 29 13:44:09 CEST 2010


Dear Albert ARIBAUD,

In message <4CCAAE5D.3040000 at free.fr> you wrote:
>
> > OK, renamed into CONFIG_NEEDS_MANUAL_RELOC.
> 
> Wait... This is the other way around, isn't it? When a board defines 
> CONFIG_RELOC_FIXUP_WORKS, it means "no need to do manual fixups", I think.

Yes, that was the case with CONFIG_RELOC_FIXUP_WORKS. but this is what
we consider standard today, so we don't define this normally.

Instead, for the few architectures that need it, we define now
CONFIG_NEEDS_MANUAL_RELOC.

Of course the logic of the conditions needed to be inverted, i. e. I
changed

	#if !defined(CONFIG_RELOC_FIXUP_WORKS)
into
	#if defined(CONFIG_NEEDS_MANUAL_RELOC)

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
"The question of whether a computer can think is no more  interesting
than the question of whether a submarine can swim"
                                                - Edsgar W.  Dijkstra


More information about the U-Boot mailing list