[U-Boot] [PATCH] arm: Add option to disable code relocation

Simon Glass sjg at chromium.org
Sun Feb 5 22:40:21 CET 2012


Hi Mike, Wolfgang,

On Sun, Feb 5, 2012 at 12:38 PM, Mike Frysinger <vapier at gentoo.org> wrote:
> On Sunday 05 February 2012 07:05:13 Marek Vasut wrote:
>> > On Sunday 05 February 2012 01:44:19 Simon Glass wrote:
>> > > This permits disabling the code relation in U-Boot which is useful when
>> > > debugging with an ICE.
>> > >
>> > > To use it define CONFIG_SYS_SKIP_ARM_RELOCATION in your board.
>> >
>> > any reason for "ARM" in there ?
>>
>> Because this is only for ARM?
>
> yes, *this* patch only touches arm code, but that doesn't mean it needs to be
> scoped that way from the start

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.

Regards,
Simon

> -mike
>
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot
>


More information about the U-Boot mailing list