Message ID | 1413972804-24250-4-git-send-email-sr@denx.de |
---|---|
State | Accepted |
Delegated to: | Tom Rini |
Headers | show |
On Wed, Oct 22, 2014 at 12:13:07PM +0200, Stefan Roese 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> > Reviewed-by: Jagannadha Sutradharudu Teki <jaganna@xilinx.com> > Tested-by: Luka Perkov <luka@openwrt.org> > Acked-by: Prafulla Wadaskar <prafulla@marvell.com> Applied to u-boot/master, thanks!
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;