[U-Boot] [RFC PATCH 3/7] reboard: Add generic relocation feature

Mike Frysinger vapier at gentoo.org
Wed Nov 30 00:20:37 CET 2011


On Tuesday 29 November 2011 17:15:18 Simon Glass wrote:
> On Mon, Nov 28, 2011 at 7:07 PM, Mike Frysinger wrote:
> > On Monday 21 November 2011 18:57:56 Simon Glass wrote:
> >> --- /dev/null
> >> +++ b/board/Makefile
> >> 
> >> +ifndef CONFIG_SYS_LEGACY_BOARD
> >> +COBJS        += reloc.o
> >> +endif
> > 
> > i don't think relocation should be tied "legacy board".  not all arches
> > do relocation at all, which means they might never opt in to this
> > aspect.
> 
> If they don't do reloc then when we move them over we should add a
> CONFIG for this I think. But would prefer to wait until we have an
> arch moving over that requires no relocation, before addressing this.

Blackfin does no relocation, so i'd be annoyed to have to carry a define like 
"LEGACY_BOARD" forever ;)
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20111129/1ec49b07/attachment.pgp>


More information about the U-Boot mailing list