From patchwork Wed Aug 25 12:48:21 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Reinhard Meyer X-Patchwork-Id: 71828 X-Patchwork-Delegate: info@emk-elektronik.de Return-Path: X-Original-To: wd@gemini.denx.de Delivered-To: wd@gemini.denx.de Received: from diddl.denx.de (diddl.denx.de [10.0.0.6]) by gemini.denx.de (Postfix) with ESMTP id 5FC31157D7D for ; Wed, 25 Aug 2010 13:39:34 +0200 (CEST) Received: from diddl.denx.de (localhost.localdomain [127.0.0.1]) by diddl.denx.de (Postfix) with ESMTP id 4ABB0316EC0A for ; Wed, 25 Aug 2010 13:39:34 +0200 (MEST) Received: from pop.mnet-online.de by diddl.denx.de with POP3 (fetchmail-6.3.17) for (single-drop); Wed, 25 Aug 2010 13:39:34 +0200 (MEST) Received: from murder ([192.168.8.180]) by backend2 (Cyrus v2.2.12) with LMTPA; Wed, 25 Aug 2010 13:38:44 +0200 X-Sieve: CMU Sieve 2.2 Received: from mail.m-online.net (localhost [127.0.0.1]) by frontend1.mail.m-online.net (Cyrus v2.2.12) with LMTPA; Wed, 25 Aug 2010 13:38:44 +0200 Received: from scanner-3.m-online.net (unknown [192.168.6.168]) by mail.m-online.net (Postfix) with ESMTP id 347091C0025B; Wed, 25 Aug 2010 13:38:44 +0200 (CEST) Received: from mxin-1.m-online.net ([192.168.6.164]) by scanner-3.m-online.net (scanner-3.m-online.net [192.168.6.168]) (amavisd-new, port 10026) with ESMTP id 03207-04-3; Wed, 25 Aug 2010 13:38:43 +0200 (CEST) Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by mxin-1.m-online.net (Postfix) with ESMTP id 5A26046C0A6; Wed, 25 Aug 2010 13:38:42 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 81FE8280B8; Wed, 25 Aug 2010 13:38:34 +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 Pl8a1FCgbCAd; Wed, 25 Aug 2010 13:38:34 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 3572A280CB; Wed, 25 Aug 2010 13:38:29 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id DD348280D1 for ; Wed, 25 Aug 2010 13:38:26 +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 qa2e+OZtZpbA for ; Wed, 25 Aug 2010 13:38:26 +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 moutng.kundenserver.de (moutng.kundenserver.de [212.227.17.10]) by theia.denx.de (Postfix) with ESMTP id 55B05280BE for ; Wed, 25 Aug 2010 13:38:26 +0200 (CEST) Received: from localhost.localdomain (p5B201AC8.dip0.t-ipconnect.de [91.32.26.200]) by mrelayeu.kundenserver.de (node=mrbap0) with ESMTP (Nemesis) id 0MSHd5-1OQQBu2HPf-00Tf40; Wed, 25 Aug 2010 13:38:25 +0200 From: Reinhard Meyer To: u-boot@lists.denx.de Date: Wed, 25 Aug 2010 14:48:21 +0200 Message-Id: <1282740501-8000-1-git-send-email-u-boot@emk-elektronik.de> X-Mailer: git-send-email 1.5.6.5 X-Provags-ID: V02:K0:IFvEfITdC8SJ7LzrU60ihLfjpHeUmF1VaZMbX7HxNVb TQx5ZGN7Xawtp3KOxw2hE9QKiA1c0EDXEXxZcGPJRqtmHrj3T3 DmTml0vELLt7Tfp4zcF0CaAR5YbilBtyoyGxhvJW4UtXMkCSXt 6F5GWQ/LF9wyKKvtZ5kzA8vu2EA86KtEK+l5IYHj6o25SXsEZV xeO9F7nOGbs6DAI9kgjAOlL1CY6QVydAZrF1zSbm/0= Subject: [U-Boot] [PATCH] AT91: add 2nd SPI to 9260/9XE/9G20 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.9 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 X-Virus-Scanned: by amavisd-new at m-online.net Signed-off-by: Reinhard Meyer --- arch/arm/include/asm/arch-at91/hardware.h | 1 + arch/arm/include/asm/arch-at91/memory-map.h | 1 + 2 files changed, 2 insertions(+), 0 deletions(-) diff --git a/arch/arm/include/asm/arch-at91/hardware.h b/arch/arm/include/asm/arch-at91/hardware.h index 9f732a7..348129c 100644 --- a/arch/arm/include/asm/arch-at91/hardware.h +++ b/arch/arm/include/asm/arch-at91/hardware.h @@ -22,6 +22,7 @@ #include #define AT91_BASE_MCI AT91SAM9260_BASE_MCI #define AT91_BASE_SPI AT91SAM9260_BASE_SPI0 +#define AT91_BASE_SPI1 AT91SAM9260_BASE_SPI1 #define AT91_ID_UHP AT91SAM9260_ID_UHP #define AT91_PMC_UHP AT91SAM926x_PMC_UHP #elif defined(CONFIG_AT91SAM9261) || defined(CONFIG_AT91SAM9G10) diff --git a/arch/arm/include/asm/arch-at91/memory-map.h b/arch/arm/include/asm/arch-at91/memory-map.h index f605f37..d489fa2 100644 --- a/arch/arm/include/asm/arch-at91/memory-map.h +++ b/arch/arm/include/asm/arch-at91/memory-map.h @@ -31,5 +31,6 @@ #define USART2_BASE AT91_USART2 #define USART3_BASE (AT91_BASE_SYS + AT91_DBGU) #define SPI0_BASE AT91_BASE_SPI +#define SPI1_BASE AT91_BASE_SPI1 #endif /* __ASM_ARM_ARCH_MEMORYMAP_H__ */