[U-Boot] [PATCH v2 3/3] dm: sf: Add support for all targets which requires MANUAL_RELOC

Michal Simek michal.simek at xilinx.com
Fri Nov 6 10:01:21 CET 2015


On 11/06/2015 04:15 AM, Simon Glass wrote:
> On 30 October 2015 at 08:56, Michal Simek <michal.simek at xilinx.com> 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 <michal.simek at xilinx.com>
>> ---
>>
>> 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 <sjg at chromium.org>

:-) 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




More information about the U-Boot mailing list