From patchwork Tue Apr 1 18:44:29 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Murali Karicheri X-Patchwork-Id: 27563 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ig0-f198.google.com (mail-ig0-f198.google.com [209.85.213.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id A8E6D20553 for ; Tue, 1 Apr 2014 18:45:16 +0000 (UTC) Received: by mail-ig0-f198.google.com with SMTP id ur14sf14276366igb.9 for ; Tue, 01 Apr 2014 11:45:15 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:date:message-id:in-reply-to :references:mime-version:subject:precedence:list-id:list-unsubscribe :list-archive:list-post:list-help:list-subscribe:sender:errors-to :x-original-sender:x-original-authentication-results:mailing-list :content-type:content-transfer-encoding; bh=hK772dh/KW8cypgfAMDkm8Bx2TFuh1NoAMJ+IVB9q28=; b=GSgX8gYYaykiOivFD9qDrqVaCNtSWeT2e89j8jea2MLC9JNJTP8vaCXX0FQptYYN5e +RLHjX79jWitvnzQtGaHgGf44Akwepr/xmSLGQ4HuTXYZH05ONH+tEkRe7JAvN/ElZNU AwTsbsZbXRxtr5hHE6anMUAEH2Ks9m2X/IhNoHrigqnsqdRzKpIx4sIGp+iASzKW/SiJ EF//h3dDRiY0CKL6krE5NWQZW/CdlDNbuk37Q8EouSbeaYBPAG59yKJx0yRPxs7wrl1x LB78hqF2bIw5jQauGvR+agiFa0zzKhwbf8Dqo/GU35QwJP4QFYyRsQt5yGYpWUo1/uhC rUVQ== X-Gm-Message-State: ALoCoQlaAdc1M+zECzNbjIhPlcHKUEZmtvWJXMAQCrG4N7QugIvyCgxLFVrlJaHM00PNkh/Hqbxq X-Received: by 10.42.85.142 with SMTP id q14mr1312467icl.11.1396377915954; Tue, 01 Apr 2014 11:45:15 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.107.198 with SMTP id h64ls92852qgf.84.gmail; Tue, 01 Apr 2014 11:45:15 -0700 (PDT) X-Received: by 10.52.6.162 with SMTP id c2mr25011235vda.6.1396377915859; Tue, 01 Apr 2014 11:45:15 -0700 (PDT) Received: from mail-vc0-f180.google.com (mail-vc0-f180.google.com [209.85.220.180]) by mx.google.com with ESMTPS id bw7si3756674vcb.159.2014.04.01.11.45.15 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 01 Apr 2014 11:45:15 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.220.180 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.220.180; Received: by mail-vc0-f180.google.com with SMTP id lf12so10062134vcb.39 for ; Tue, 01 Apr 2014 11:45:15 -0700 (PDT) X-Received: by 10.52.171.68 with SMTP id as4mr25096466vdc.0.1396377915751; Tue, 01 Apr 2014 11:45:15 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.220.12.8 with SMTP id v8csp261363vcv; Tue, 1 Apr 2014 11:45:15 -0700 (PDT) X-Received: by 10.205.39.2 with SMTP id tk2mr89953bkb.136.1396377914585; Tue, 01 Apr 2014 11:45:14 -0700 (PDT) Received: from theia.denx.de (theia.denx.de. [85.214.87.163]) by mx.google.com with ESMTP id u4si9588331bkh.279.2014.04.01.11.45.13 for ; Tue, 01 Apr 2014 11:45:14 -0700 (PDT) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.87.163 as permitted sender) client-ip=85.214.87.163; Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id A92A94B84E; Tue, 1 Apr 2014 20:45:13 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at theia.denx.de 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 NvzrhCRbxxdv; Tue, 1 Apr 2014 20:45:13 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 7142D4B861; Tue, 1 Apr 2014 20:44:47 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 56ADE4B829 for ; Tue, 1 Apr 2014 20:44:43 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at theia.denx.de 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 dC2tdlHWOedJ for ; Tue, 1 Apr 2014 20:44:40 +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 devils.ext.ti.com (devils.ext.ti.com [198.47.26.153]) by theia.denx.de (Postfix) with ESMTPS id B286C4B84E for ; Tue, 1 Apr 2014 20:44:34 +0200 (CEST) Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by devils.ext.ti.com (8.13.7/8.13.7) with ESMTP id s31IiXoY006978 for ; Tue, 1 Apr 2014 13:44:33 -0500 Received: from DLEE71.ent.ti.com (dlee71.ent.ti.com [157.170.170.114]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id s31IiXl8029189 for ; Tue, 1 Apr 2014 13:44:33 -0500 Received: from dflp32.itg.ti.com (10.64.6.15) by DLEE71.ent.ti.com (157.170.170.114) with Microsoft SMTP Server id 14.3.174.1; Tue, 1 Apr 2014 13:44:32 -0500 Received: from ares-ubuntu.am.dhcp.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by dflp32.itg.ti.com (8.14.3/8.13.8) with ESMTP id s31IiWwZ030341; Tue, 1 Apr 2014 13:44:32 -0500 Received: from a0868495 by ares-ubuntu.am.dhcp.ti.com with local (Exim 4.76) (envelope-from ) id 1WV3fk-00046w-Jq; Tue, 01 Apr 2014 14:44:32 -0400 From: Murali Karicheri To: , Date: Tue, 1 Apr 2014 14:44:29 -0400 Message-ID: <1396377869-15724-10-git-send-email-m-karicheri2@ti.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1396377869-15724-1-git-send-email-m-karicheri2@ti.com> References: <1396377869-15724-1-git-send-email-m-karicheri2@ti.com> MIME-Version: 1.0 Subject: [U-Boot] [PATCH v5 9/9] k2hk-evm: add configuration for spi1 and spi2 support X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: , List-Help: , List-Subscribe: , Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: m-karicheri2@ti.com X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.220.180 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 currently only spi0 is enabled on k2hk evm. This configuration update is needed to enable spi1 and spi2. Signed-off-by: Murali Karicheri Acked-by: Tom Rini --- include/configs/k2hk_evm.h | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/include/configs/k2hk_evm.h b/include/configs/k2hk_evm.h index 9d0ba24..28a6d72 100644 --- a/include/configs/k2hk_evm.h +++ b/include/configs/k2hk_evm.h @@ -81,7 +81,16 @@ #define CONFIG_SPI_FLASH #define CONFIG_SPI_FLASH_STMICRO #define CONFIG_DAVINCI_SPI +#define CONFIG_SYS_SPI0 #define CONFIG_SYS_SPI_BASE K2HK_SPI_BASE +#define CONFIG_SYS_SPI0_NUM_CS 4 +#define CONFIG_SYS_SPI1 +#define CONFIG_SYS_SPI1_BASE K2HK_SPI1_BASE +#define CONFIG_SYS_SPI1_NUM_CS 4 +#define CONFIG_SYS_SPI2 +#define CONFIG_SYS_SPI2_NUM_CS 4 +#define CONFIG_SYS_SPI2_BASE K2HK_SPI2_BASE +#define CONFIG_CMD_SPI #define CONFIG_SYS_SPI_CLK clk_get_rate(K2HK_LPSC_EMIF25_SPI) #define CONFIG_SF_DEFAULT_SPEED 30000000 #define CONFIG_ENV_SPI_MAX_HZ CONFIG_SF_DEFAULT_SPEED