]> git.sur5r.net Git - u-boot/commit
dm: sf: Add support for all targets which requires MANUAL_RELOC
authorMichal Simek <michal.simek@xilinx.com>
Tue, 27 Oct 2015 12:52:47 +0000 (13:52 +0100)
committerMichal Simek <michal.simek@xilinx.com>
Thu, 19 Nov 2015 12:10:32 +0000 (13:10 +0100)
commit2588f2ddfd60ac617c05def14e9a92fd329721fe
treeb4d72e490a70eaea010ce41f202304f8b2a5d6aa
parent31e1029a8ee13ab4b4a73e72ec7a730eb9c661b9
dm: sf: Add support for all targets which requires MANUAL_RELOC

It is follow up patch based on
"dm: Add support for all targets which requires MANUAL_RELOC"
(sha1: 484fdf5ba058b07be5ca82763aa2b72063540ef3)
to update function pointers for DM.

Using post_bind is not ideal but it is one on current option what can be
used. Variable reloc_done has to be used do not call relocation after
every bind. Maybe new core functions should be introduced for this case.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/mtd/spi/sf-uclass.c