[U-Boot] [PATCH v2 2/6] reboard: define CONFIG_SYS_SKIP_RELOC for all archs

Albert ARIBAUD albert.u.boot at aribaud.net
Sun Dec 11 15:57:39 CET 2011


Le 10/12/2011 20:16, Simon Glass a écrit :
> We are introducing a new generic relocation features and we want this to
> be the default. So we need to opt all architectures out first. Some may
> never have relocation, but those that do will eventually move over to
> this generic relocation framework.
>
> This is part of the unified board effort, but since we are only dealing
> with relocation in this series, CONFIG_SYS_SKIP_RELOC is more appropriate
> than CONFIG_SYS_LEGACY_BOARD.

I'm afraid I haven't made myself clear on CONFIG_SYS_SKIP_RELOC. I did 
not mean it to be an 'old vs new reloc' choice mechanism; I mean it to 
be the controlling option for whether relocation happens at all or not.

I want a relocation skip option, because it is useful for boards which, 
for any reason, know that they are already residing at the Right 
Address(tm).

As far as an option to switch from old to new relocation... If there is 
a consensus from all custodians that all arches should move to generic 
relocation, then I think we should avoid allowing the older mechanism to 
persist at all.

Amicalement,
-- 
Albert.


More information about the U-Boot mailing list