From patchwork Wed Oct 22 10:13:07 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Roese X-Patchwork-Id: 402007 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id 39F1614003E for ; Wed, 22 Oct 2014 21:13:50 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id E8F6FA7483; Wed, 22 Oct 2014 12:13:45 +0200 (CEST) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id cQccgf1cv-IT; Wed, 22 Oct 2014 12:13:45 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 07577A7472; Wed, 22 Oct 2014 12:13:42 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 2C510A7407 for ; Wed, 22 Oct 2014 12:13:33 +0200 (CEST) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id fYmS5fNtKPSb for ; Wed, 22 Oct 2014 12:13:33 +0200 (CEST) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from mo4-p05-ob.smtp.rzone.de (mo4-p05-ob.smtp.rzone.de [81.169.146.182]) by theia.denx.de (Postfix) with ESMTPS id 115C9A73E7 for ; Wed, 22 Oct 2014 12:13:30 +0200 (CEST) X-RZG-AUTH: :IW0NeWC7b/q2i6W/qstXb1SBUuFnrGohfvxEndrDXKjzPMsB3oimjD61I4fPQhgcxm8a7w== X-RZG-CLASS-ID: mo05 Received: from stefan-work.domain_not_set.invalid (b9168f78.cgn.dg-w.de [185.22.143.120]) by post.strato.de (RZmta 35.10 AUTH) with ESMTPA id j05865q9MADPau6; Wed, 22 Oct 2014 12:13:25 +0200 (CEST) From: Stefan Roese To: u-boot@lists.denx.de Date: Wed, 22 Oct 2014 12:13:07 +0200 Message-Id: <1413972804-24250-4-git-send-email-sr@denx.de> X-Mailer: git-send-email 2.1.2 In-Reply-To: <1413972804-24250-1-git-send-email-sr@denx.de> References: <1413972804-24250-1-git-send-email-sr@denx.de> Cc: trini@ti.com Subject: [U-Boot] [PATCH v4 03/20] arm: marvell: Move arch-kirkwood/spi.h to arch-mvebu/spi.h X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.13 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de 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 Reviewed-by: Jagannadha Sutradharudu Teki Tested-by: Luka Perkov Acked-by: Prafulla Wadaskar --- Changes in v4: None Changes in v3: - Added Acked-by from Prafulla to all Kirkwood patches - Added Tested-by from Luka - Added Reviewed-by from Jagannadha Changes in v2: None 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 #include #include -#include #include +#include static struct kwspi_registers *spireg = (struct kwspi_registers *)KW_SPI_BASE;