From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michal Simek Date: Fri, 6 Nov 2015 10:01:21 +0100 Subject: [U-Boot] [PATCH v2 3/3] dm: sf: Add support for all targets which requires MANUAL_RELOC In-Reply-To: References: <44ff03ec36218e7f1b2ea746dab24aa36bcbd34d.1446216982.git.michal.simek@xilinx.com> Message-ID: <563C6C61.6020707@xilinx.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 11/06/2015 04:15 AM, Simon Glass wrote: > On 30 October 2015 at 08:56, Michal Simek wrote: >> 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 >> --- >> >> Changes in v2: >> - Add checking for MANUAL_RELOC code only >> >> drivers/mtd/spi/sf-uclass.c | 23 +++++++++++++++++++++++ >> 1 file changed, 23 insertions(+) > > The ugly continues... > > Reviewed-by: Simon Glass :-) When I have time I will look at changing microblaze not to use it. But on the other hand Microblaze is not only one arch which uses this. But probably only one arch which is using DM. Thanks, Michal