From patchwork Tue Oct 26 09:42:32 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: caydinc@gmail.com X-Patchwork-Id: 71934 X-Patchwork-Delegate: galak@kernel.crashing.org 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 91186152452 for ; Tue, 26 Oct 2010 11:45:29 +0200 (CEST) Received: from diddl.denx.de (localhost.localdomain [127.0.0.1]) by diddl.denx.de (Postfix) with ESMTP id 7C73F3364F8D for ; Tue, 26 Oct 2010 11:45:29 +0200 (CEST) Received: from pop.mnet-online.de by diddl.denx.de with POP3 (fetchmail-6.3.17) for (single-drop); Tue, 26 Oct 2010 11:45:29 +0200 (CEST) Received: from murder ([192.168.8.180]) by backend2 (Cyrus v2.2.12) with LMTPA; Tue, 26 Oct 2010 11:44:30 +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; Tue, 26 Oct 2010 11:44:29 +0200 Received: from scanner-3.m-online.net (unknown [192.168.6.168]) by mail.m-online.net (Postfix) with ESMTP id AF0591C001DA; Tue, 26 Oct 2010 11:44:29 +0200 (CEST) Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by mxin-2.m-online.net (Postfix) with ESMTP id 2C4F4468D77; Tue, 26 Oct 2010 11:44:28 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id A192F28122; Tue, 26 Oct 2010 11:44: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 BcaHH4Sf0JdX; Tue, 26 Oct 2010 11:44:26 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 0AC36281BF; Tue, 26 Oct 2010 11:44:22 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 5432A280E8 for ; Tue, 26 Oct 2010 11:44:18 +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 gG7Hghd9g47X for ; Tue, 26 Oct 2010 11:44:16 +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 mail-pz0-f44.google.com (mail-pz0-f44.google.com [209.85.210.44]) by theia.denx.de (Postfix) with ESMTP id 627C428122 for ; Tue, 26 Oct 2010 11:44:13 +0200 (CEST) Received: by pzk32 with SMTP id 32so596436pzk.3 for ; Tue, 26 Oct 2010 02:44:13 -0700 (PDT) Received: by 10.142.116.13 with SMTP id o13mr7027522wfc.178.1288086253057; Tue, 26 Oct 2010 02:44:13 -0700 (PDT) Received: from localhost.localdomain (110-175-254-198.static.tpgi.com.au [110.175.254.198]) by mx.google.com with ESMTPS id e14sm12865604wfg.8.2010.10.26.02.44.11 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 26 Oct 2010 02:44:12 -0700 (PDT) From: Can Aydin To: u-boot@lists.denx.de Date: Tue, 26 Oct 2010 20:42:32 +1100 Message-Id: <1288086152-2480-1-git-send-email-can.aydin@locatacorp.com> X-Mailer: git-send-email 1.7.0.4 Subject: [U-Boot] [PATCH v3 2/2] Freescale 85xx/P1/P2 eSPI controller driver 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 Add support for Freescale eSPI driver in P1/P2 board configuration Signed-off-by: Can Aydin --- Changes for v2: - Coding style cleanup - Removed modifications to common code Changes for v3: - fixed whitespace between function calls and parameters - replaced unneeded byte copy test function with memcpy - removed dead code and C++ style comments - separated board configuration patch from driver patch include/configs/P1_P2_RDB.h | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/include/configs/P1_P2_RDB.h b/include/configs/P1_P2_RDB.h index cff0ed3..33f1b1e 100644 --- a/include/configs/P1_P2_RDB.h +++ b/include/configs/P1_P2_RDB.h @@ -172,6 +172,13 @@ extern unsigned long get_board_sys_clk(unsigned long dummy); */ /* + * eSPI - Enhanced SPI + */ +#define CONFIG_FSL_ESPI +#define CONFIG_HARD_SPI +#define CONFIG_CMD_SPI + +/* * Local Bus Definitions */ #define CONFIG_SYS_FLASH_BASE 0xef000000 /* start of FLASH 16M */