[U-Boot] [PATCH 01/12] mtd: spi-nor: Copy sf_dataflash
york sun
york.sun at nxp.com
Fri Feb 12 20:12:52 CET 2016
On 02/12/2016 09:51 AM, Jagan Teki wrote:
> Hi York,
>
> On 12 February 2016 at 22:25, york sun <york.sun at nxp.com> wrote:
>> On 02/12/2016 12:36 AM, Jagan Teki wrote:
>>> Copy sf_dataflash.c from drivers/mtd/spi to spi-nor,
>>> more changes will see on future patches.
>>>
>>> Cc: Bin Meng <bmeng.cn at gmail.com>
>>> Cc: Simon Glass <sjg at chromium.org>
>>> Cc: York Sun <york.sun at nxp.com>
>>> Cc: Haikun Wang <haikun.wang at freescale.com>
>>> Signed-off-by: Jagan Teki <jteki at openedev.com>
>>> ---
>>> drivers/mtd/spi-nor/sf_dataflash.c | 701 +++++++++++++++++++++++++++++++++++++
>>> 1 file changed, 701 insertions(+)
>>> create mode 100644 drivers/mtd/spi-nor/sf_dataflash.c
>>
>> Jagan,
>>
>> Does it make sense to squash the dataflash patches? The file sf_dataflash.c is
>> copied, modified, renamed. Do we need to keep the detail of changes?
>
> I thought of doing all at once, but this shows the history how
> spi_flash uclass driver becomes mtd uclass driver that's my intention,
> did you find anything wrong with this approach?
>
No, I didn't find anything wrong. I was thinking the new file doesn't get
compiled until the Makefile is updated.
York
More information about the U-Boot
mailing list