[U-Boot] [PATCH] arm: Add option to disable code relocation
Graeme Russ
graeme.russ at gmail.com
Mon Feb 6 00:23:32 CET 2012
Hi Wolfgang, Simon,
On Mon, Feb 6, 2012 at 9:44 AM, Wolfgang Denk <wd at denx.de> wrote:
> Dear Simon Glass,
>
> In message <CAPnjgZ2Z0ojdLHz6yd5UuWru7pmJBLeogHzhK7rWGWk46xxqpA at mail.gmail.com> you wrote:
>>
>> This patch shows how to do this sort of thing on ARM. I would like to
>> see this feature in mainline, but it makes more sense to do it
>> properly if/when generic relocation is in. Then it will automatically
>> work for all archs. For now it is a useful patch.
>
> Sorry, as I see it your chances to get this in are epsilon.
I think the immediate focus should be on centralising the init sequence
processing into /common/init.c and then bringing the new'initcall'
architecture online
Once these have been done, any board can just specific:
SKIP_INIT(RELOC)
And this can be wrapped:
#ifdef CONFIG_SYS_SKIP_RELOC
SKIP_INIT(RELOC)
#endif
Done ;)
Regards,
Graeme
More information about the U-Boot
mailing list