[U-Boot] [Patch V3 2/3] fm: fdt: Move fman ucode fixup to Fman driver code

york sun york.sun at nxp.com
Mon Feb 1 17:31:32 CET 2016


On 01/25/2016 09:40 PM, Qianyu Gong wrote:
> 
>> -----Original Message-----
>> From: Scott Wood [mailto:oss at buserror.net]
>> Sent: Tuesday, January 26, 2016 1:17 AM
>> To: Qianyu Gong <qianyu.gong at nxp.com>; u-boot at lists.denx.de
>> Cc: B07421 at freescale.com; Shaohui Xie <shaohui.xie at nxp.com>
>> Subject: Re: [U-Boot] [Patch V3 2/3] fm: fdt: Move fman ucode fixup to Fman
>> driver code
>>
>> On Mon, 2016-01-25 at 19:37 +0800, Gong Qianyu wrote:
>>> Both Freescale Layerscape and powerpc/mpc85xx platforms are using
>>> fdt_fixup_fman_firmware() to insert Fman ucode blob into the device
>>> tree. So move the function to driver code.
>>>
>>> Signed-off-by: Gong Qianyu <Qianyu.Gong at nxp.com>
>>> ---
>>> V3:
>>>  - Remove file changes about "qe.h".
>>>    (Should be put in the first patch of this patchset)
>>> V2:
>>>  - New patch.
>>>
>>>  arch/powerpc/cpu/mpc85xx/fdt.c | 125
>>> ++------------------------------------
>>> -
>>>  drivers/net/fm/Makefile        |   1 +
>>>  drivers/net/fm/fdt.c           | 129
>>> +++++++++++++++++++++++++++++++++++++++++
>>>  include/fsl_fman.h             |   1 +
>>>  4 files changed, 136 insertions(+), 120 deletions(-)
>>
>> Again, pass -M -C to git format-patch.
>>
>> -Scott
> 
> I don't understand but I've already used "git format-patch -M -C --stat ...".
> 

Scott means using -M and -C, git should detect the moving instead of adding and
deleting the same code. Try to add --find-copies-harder to see if it generates a
smaller patch.

York




More information about the U-Boot mailing list