]> git.dujemihanovic.xyz Git - u-boot.git/commit
dm: Add support for all targets which requires MANUAL_RELOC
authorMichal Simek <michal.simek@xilinx.com>
Mon, 2 Feb 2015 15:31:59 +0000 (16:31 +0100)
committerSimon Glass <sjg@chromium.org>
Thu, 12 Feb 2015 22:17:29 +0000 (15:17 -0700)
commit484fdf5ba058b07be5ca82763aa2b72063540ef3
tree65f5743792dddb46f25e0d8440661197fcabdbc2
parent99c0ae16d8b2ebfb7381ba77d4e37e7bda734402
dm: Add support for all targets which requires MANUAL_RELOC

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@xilinx.com>
Acked-by: Simon Glass <sjg@chromium.org>
drivers/core/root.c
drivers/serial/serial-uclass.c