summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2014-10-22 12:13:12 +0200
committerTom Rini <trini@ti.com>2014-10-23 09:59:21 -0400
commit4fd7717e8edfd4235488fd79e33dde48417d9c87 (patch)
treeaf7dfeb0c901937eb3e3c33459cd853fc1bcd5b9 /drivers
parentd5c5132f878394b7487d3f6da0d469aa72737318 (diff)
downloadu-boot-imx-4fd7717e8edfd4235488fd79e33dde48417d9c87.zip
u-boot-imx-4fd7717e8edfd4235488fd79e33dde48417d9c87.tar.gz
u-boot-imx-4fd7717e8edfd4235488fd79e33dde48417d9c87.tar.bz2
spi: kirkwood_spi.c: Change KW_SPI_BASE to MVEBU_SPI_BASE
This makes is possible to use this SPI driver from other MVEBU SoC's as well. As the upcoming Armada XP support will do. 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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/spi/kirkwood_spi.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/spi/kirkwood_spi.c b/drivers/spi/kirkwood_spi.c
index ce2ba96..e7b0982 100644
--- a/drivers/spi/kirkwood_spi.c
+++ b/drivers/spi/kirkwood_spi.c
@@ -18,7 +18,8 @@
#endif
#include <asm/arch-mvebu/spi.h>
-static struct kwspi_registers *spireg = (struct kwspi_registers *)KW_SPI_BASE;
+static struct kwspi_registers *spireg =
+ (struct kwspi_registers *)MVEBU_SPI_BASE;
#ifdef CONFIG_KIRKWOOD
static u32 cs_spi_mpp_back[2];