[U-Boot] [PATCH v4 02/13] Add generic relocation feature

Simon Glass sjg at chromium.org
Tue Feb 21 21:03:47 CET 2012


Hi Albert,

On Tue, Feb 21, 2012 at 11:36 AM, Albert ARIBAUD
<albert.u.boot at aribaud.net> wrote:
> Hi Simon,
>
> Le 21/02/2012 02:32, Simon Glass a écrit :
>
>
>> The __relocate_code() function is what we expect all architectures which
>> support relocation will use eventually. For now, they all override this
>> with their own version.
>
>
> Why the double underscore?

It is a default implementation of relocate_code() - a weak function
alias. It seems that this is the naming convention used in U-Boot for
this, but I'm not sure why.

>
> Amicalement,
> --
> Albert.

Regards,
Simon


More information about the U-Boot mailing list