All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stefano Babic <sbabic@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 1/4] SPI:rewrite the Freescale DSPI driver.
Date: Mon, 18 Nov 2013 09:38:12 +0100	[thread overview]
Message-ID: <5289D1F4.7090609@denx.de> (raw)
In-Reply-To: <1384756480-18072-1-git-send-email-b44548@freescale.com>

Hi Chao,

On 18/11/2013 07:34, Chao Fu wrote:
> From: Chao Fu <B44548@freescale.com>
> 
> Freescale DSPI module is used on both the ColdFire platform and the ARM
> platform. The original DSPI driver is written for ColdFire platform only, this patch
> rewrite the driver to make it be used across the platforms. The rewrite including the 
> following changes:
> 
> Rename the file name :
> 	cf_spi.c -> fsl_dspi.c
> Move the file:
> 	arch/m68k/include/asm/coldfire/dspi.h -> include/fsl_dspi.h
> Rename the functions and variables:
> 	cfxxx -> dspixxx
> Keep the following functions for ColdFire: 
> 	cfspi_port_conf()
> 	cfspi_claim_bus()
> 	cfspi_release_bus()
> 
> Signed-off-by: Chao Fu <B44548@freescale.com>
> ---
>  arch/m68k/include/asm/coldfire/dspi.h | 142 --------------
>  drivers/spi/Makefile                  |   2 +-
>  drivers/spi/cf_spi.c                  | 347 ---------------------------------
>  drivers/spi/fsl_dspi.c                | 352 ++++++++++++++++++++++++++++++++++
>  include/fsl_dspi.h                    | 147 ++++++++++++++
>  5 files changed, 500 insertions(+), 490 deletions(-)
>  delete mode 100644 arch/m68k/include/asm/coldfire/dspi.h
>  delete mode 100644 drivers/spi/cf_spi.c
>  create mode 100644 drivers/spi/fsl_dspi.c
>  create mode 100644 include/fsl_dspi.h
> 

When you deal with renaming and moving, you should add the option -C to
git format-patch. This let git to recognize if a file is moved without
deleting and creating the same file.

Best regards,
Stefano Babic


-- 
=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================

      parent reply	other threads:[~2013-11-18  8:38 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-18  6:34 [U-Boot] [PATCH 1/4] SPI:rewrite the Freescale DSPI driver Chao Fu
2013-11-18  6:34 ` [U-Boot] [PATCH 2/4] arm:vf610:Enable the DSPI for Freescale vf610 platform Chao Fu
2013-11-18  8:47   ` Stefano Babic
2013-11-18  6:34 ` [U-Boot] [PATCH 3/4] mtd:vf610twr:add Flash at26df081a for vf610twr platform Chao Fu
2013-11-18  6:34 ` [U-Boot] [PATCH 4/4] M68k:Update the DSPI interface based on the new DSPI driver Chao Fu
2013-11-18  8:53   ` Stefano Babic
2013-11-18  9:26     ` Chao Fu
2013-11-18 10:03       ` Stefano Babic
2013-11-18  8:38 ` Stefano Babic [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5289D1F4.7090609@denx.de \
    --to=sbabic@denx.de \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.