Patchwork [U-Boot,v1,08/25] arm: marvell: Move arch-kirkwood/spi.h to arch-mvebu/spi.h

login
register
mail settings
Submitter Stefan Roese
Date June 27, 2014, 9:54 a.m.
Message ID <1403862911-6138-9-git-send-email-sr@denx.de>
Download mbox | patch
Permalink /patch/364848/
State Superseded
Delegated to: Jagannadha Sutradharudu Teki
Headers show

Comments

Stefan Roese - June 27, 2014, 9:54 a.m.
This move makes it possible to use this kirkwood SPI driver from other
MVEBU platforms as well. This will be used by the upcoming Armada XP
support.

Signed-off-by: Stefan Roese <sr@denx.de>
---

 arch/arm/include/asm/{arch-kirkwood => arch-mvebu}/spi.h | 0
 drivers/spi/kirkwood_spi.c                               | 2 +-
 2 files changed, 1 insertion(+), 1 deletion(-)
 rename arch/arm/include/asm/{arch-kirkwood => arch-mvebu}/spi.h (100%)
Jagannadha Sutradharudu Teki - July 13, 2014, 4:16 p.m.
On Fri, Jun 27, 2014 at 3:24 PM, Stefan Roese <sr@denx.de> wrote:
> This move makes it possible to use this kirkwood SPI driver from other
> MVEBU platforms as well. This will be used by the upcoming Armada XP
> support.
>
> Signed-off-by: Stefan Roese <sr@denx.de>
> ---
>
>  arch/arm/include/asm/{arch-kirkwood => arch-mvebu}/spi.h | 0
>  drivers/spi/kirkwood_spi.c                               | 2 +-
>  2 files changed, 1 insertion(+), 1 deletion(-)
>  rename arch/arm/include/asm/{arch-kirkwood => arch-mvebu}/spi.h (100%)
>
> diff --git a/arch/arm/include/asm/arch-kirkwood/spi.h b/arch/arm/include/asm/arch-mvebu/spi.h
> similarity index 100%
> rename from arch/arm/include/asm/arch-kirkwood/spi.h
> rename to arch/arm/include/asm/arch-mvebu/spi.h
> diff --git a/drivers/spi/kirkwood_spi.c b/drivers/spi/kirkwood_spi.c
> index de0e914..9710f12 100644
> --- a/drivers/spi/kirkwood_spi.c
> +++ b/drivers/spi/kirkwood_spi.c
> @@ -13,8 +13,8 @@
>  #include <spi.h>
>  #include <asm/io.h>
>  #include <asm/arch/soc.h>
> -#include <asm/arch/spi.h>
>  #include <asm/arch/mpp.h>
> +#include <asm/arch-mvebu/spi.h>
>
>  static struct kwspi_registers *spireg = (struct kwspi_registers *)KW_SPI_BASE;
>

Reviewed-by: Jagannadha Sutradharudu Teki <jaganna@xilinx.com>

thanks!

Patch

diff --git a/arch/arm/include/asm/arch-kirkwood/spi.h b/arch/arm/include/asm/arch-mvebu/spi.h
similarity index 100%
rename from arch/arm/include/asm/arch-kirkwood/spi.h
rename to arch/arm/include/asm/arch-mvebu/spi.h
diff --git a/drivers/spi/kirkwood_spi.c b/drivers/spi/kirkwood_spi.c
index de0e914..9710f12 100644
--- a/drivers/spi/kirkwood_spi.c
+++ b/drivers/spi/kirkwood_spi.c
@@ -13,8 +13,8 @@ 
 #include <spi.h>
 #include <asm/io.h>
 #include <asm/arch/soc.h>
-#include <asm/arch/spi.h>
 #include <asm/arch/mpp.h>
+#include <asm/arch-mvebu/spi.h>
 
 static struct kwspi_registers *spireg = (struct kwspi_registers *)KW_SPI_BASE;