From mboxrd@z Thu Jan 1 00:00:00 1970 From: Albert ARIBAUD Date: Wed, 07 Dec 2011 08:38:40 +0100 Subject: [U-Boot] [RFC PATCH 3/7] reboard: Add generic relocation feature In-Reply-To: <201111292158.12478.vapier@gentoo.org> References: <1321919880-10070-1-git-send-email-sjg@chromium.org> <201111292158.12478.vapier@gentoo.org> Message-ID: <4EDF1800.8060409@aribaud.net> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Le 30/11/2011 03:58, Mike Frysinger a ?crit : > On Tuesday 29 November 2011 18:49:58 Graeme Russ wrote: >> On Wed, Nov 30, 2011 at 10:41 AM, Simon Glass wrote: >>> On Tue, Nov 29, 2011 at 3:20 PM, Mike Frysinger wrote: >>>> 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 ;) >>> >>> Would you be happier with CONFIG_ARCH_NO_RELOCATION? >> >> CONFIG_SYS_NO_RELOC > > either is fine by me > -mike CONFIG_SYS_SKIP_RELOC clearly states there is some usual step we're skipping, plus we could homogeneize with other config settings that "SKIP" some step. Amicalement, -- Albert.