[U-Boot] [RFC PATCH] dm: Add support for all targets which requires MANUAL_RELOC

Simon Glass sjg at chromium.org
Tue Feb 3 00:57:15 CET 2015


Hi Michal,

On 2 February 2015 at 08:31, Michal Simek <michal.simek at xilinx.com> wrote:
> Targets with CONFIG_NEEDS_MANUAL_RELOC do not use REL/RELA
> relocation (mostly only GOT) where functions aray are not
> updated. This patch is fixing function pointers for DM core
> and serial-uclass to ensure that relocated functions are called.
>
> Signed-off-by: Michal Simek <michal.simek at xilinx.com>
> ---
>
>  drivers/core/root.c            | 64 ++++++++++++++++++++++++++++++++++++++++++
>  drivers/serial/serial-uclass.c | 16 +++++++++++
>  2 files changed, 80 insertions(+)

How long will we have to carry this patch? It seems that if we add any
new driver we will have to add more code like this?

Regards,
Simon


More information about the U-Boot mailing list