aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2014-10-22 12:13:07 +0200
committerTom Rini <trini@ti.com>2014-10-23 09:59:20 -0400
commit3e972cb9bad534d0b1a7d2cd3d3f6ad15aa7a4fd (patch)
treeb77af1e3c15bf3dd1165110dd93cf1e359c8a555
parent3dc23f7852158fafde9eb736060f9e8131997f19 (diff)
downloadu-boot-3e972cb9bad534d0b1a7d2cd3d3f6ad15aa7a4fd.zip
u-boot-3e972cb9bad534d0b1a7d2cd3d3f6ad15aa7a4fd.tar.gz
u-boot-3e972cb9bad534d0b1a7d2cd3d3f6ad15aa7a4fd.tar.bz2
arm: marvell: Move arch-kirkwood/spi.h to arch-mvebu/spi.h
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> Reviewed-by: Jagannadha Sutradharudu Teki <jaganna@xilinx.com> Tested-by: Luka Perkov <luka@openwrt.org> Acked-by: Prafulla Wadaskar <prafulla@marvell.com>
-rw-r--r--arch/arm/include/asm/arch-mvebu/spi.h (renamed from arch/arm/include/asm/arch-kirkwood/spi.h)0
-rw-r--r--drivers/spi/kirkwood_spi.c2
2 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/include/asm/arch-kirkwood/spi.h b/arch/arm/include/asm/arch-mvebu/spi.h
index e512dce..e512dce 100644
--- a/arch/arm/include/asm/arch-kirkwood/spi.h
+++ b/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;