From patchwork Thu Mar 27 15:59:12 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Murali Karicheri X-Patchwork-Id: 27221 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ve0-f198.google.com (mail-ve0-f198.google.com [209.85.128.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 3DCE0202FA for ; Thu, 27 Mar 2014 16:00:57 +0000 (UTC) Received: by mail-ve0-f198.google.com with SMTP id oz11sf8321147veb.1 for ; Thu, 27 Mar 2014 09:00:57 -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=Ot3Retx9JyamKqmiQUvByKMN7sItd2PPE8OHJAIszGSyvw7TcgnTIUy9HTGaMXCLbq Gqikx+IhFBB7EgAzQebAjXJUfLvjDDx1qX2FLh5JnHnes4Y2E0vFPsGOavMiZFKr7ScA XT6u51Dc8PjAGnp2fW07NTxALE+0sh+IYeswE6ZtrO0Ub2q1Y/dPFd7BCuvacuDW+6pj mCuBiMrnYlUtf3snCX/TAACWDCERnw+c4xIG/eqcZxt3mXmEMXX101INq+KXnlhFZ6ru vGbD3tw0tfklUT9rOzHffHz07T19kw0VxiXq4/t8Hnns6h5Qf8ruzQeEmWZcQvmwJGER 5xWQ== X-Gm-Message-State: ALoCoQkM5JnCYkrqdc729Ei1PTtYz4sc3/y0UxIrRiSzO75OUeEYxNgImT78zHr3cYp1hN3LmYsB X-Received: by 10.58.112.97 with SMTP id ip1mr25269060veb.32.1395936057005; Thu, 27 Mar 2014 09:00:57 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.23.106 with SMTP id 97ls1179041qgo.34.gmail; Thu, 27 Mar 2014 09:00:56 -0700 (PDT) X-Received: by 10.58.202.106 with SMTP id kh10mr1529773vec.31.1395936056931; Thu, 27 Mar 2014 09:00:56 -0700 (PDT) Received: from mail-ve0-f182.google.com (mail-ve0-f182.google.com [209.85.128.182]) by mx.google.com with ESMTPS id at8si642053vec.145.2014.03.27.09.00.56 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 27 Mar 2014 09:00:56 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.128.182 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.128.182; Received: by mail-ve0-f182.google.com with SMTP id jw12so4427944veb.27 for ; Thu, 27 Mar 2014 09:00:56 -0700 (PDT) X-Received: by 10.58.201.5 with SMTP id jw5mr2075007vec.6.1395936056861; Thu, 27 Mar 2014 09:00:56 -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.78.9 with SMTP id i9csp39650vck; Thu, 27 Mar 2014 09:00:56 -0700 (PDT) X-Received: by 10.205.34.2 with SMTP id sq2mr3226562bkb.18.1395936055887; Thu, 27 Mar 2014 09:00:55 -0700 (PDT) Received: from theia.denx.de (theia.denx.de. [85.214.87.163]) by mx.google.com with ESMTP id db6si1879197bkc.144.2014.03.27.09.00.55 for ; Thu, 27 Mar 2014 09:00:55 -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 284234B628; Thu, 27 Mar 2014 17:00:37 +0100 (CET) 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 RoBm22Frzb12; Thu, 27 Mar 2014 17:00:36 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 6EEFB4B62A; Thu, 27 Mar 2014 16:59:39 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 80F284B609 for ; Thu, 27 Mar 2014 16:59:33 +0100 (CET) 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 6XFprq69b0GI for ; Thu, 27 Mar 2014 16:59:30 +0100 (CET) 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 arroyo.ext.ti.com (arroyo.ext.ti.com [192.94.94.40]) by theia.denx.de (Postfix) with ESMTPS id 280DD4B5FB for ; Thu, 27 Mar 2014 16:59:18 +0100 (CET) Received: from dflxv15.itg.ti.com ([128.247.5.124]) by arroyo.ext.ti.com (8.13.7/8.13.7) with ESMTP id s2RFxG3P017246 for ; Thu, 27 Mar 2014 10:59:16 -0500 Received: from DLEE70.ent.ti.com (dlemailx.itg.ti.com [157.170.170.113]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id s2RFxGhO007247 for ; Thu, 27 Mar 2014 10:59:16 -0500 Received: from dlep33.itg.ti.com (157.170.170.75) by DLEE70.ent.ti.com (157.170.170.113) with Microsoft SMTP Server id 14.3.174.1; Thu, 27 Mar 2014 10:59:16 -0500 Received: from ares-ubuntu.am.dhcp.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep33.itg.ti.com (8.14.3/8.13.8) with ESMTP id s2RFxFuJ010902; Thu, 27 Mar 2014 10:59:16 -0500 Received: from a0868495 by ares-ubuntu.am.dhcp.ti.com with local (Exim 4.76) (envelope-from ) id 1WTCi3-00031I-52; Thu, 27 Mar 2014 11:59:15 -0400 From: Murali Karicheri To: , Date: Thu, 27 Mar 2014 11:59:12 -0400 Message-ID: <1395935952-11542-10-git-send-email-m-karicheri2@ti.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1395935952-11542-1-git-send-email-m-karicheri2@ti.com> References: <1395935952-11542-1-git-send-email-m-karicheri2@ti.com> MIME-Version: 1.0 Subject: [U-Boot] [PATCH v4 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.128.182 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