From patchwork Fri Mar 21 20:51:38 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Murali Karicheri X-Patchwork-Id: 26872 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-qc0-f199.google.com (mail-qc0-f199.google.com [209.85.216.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id BD8C120143 for ; Fri, 21 Mar 2014 20:53:15 +0000 (UTC) Received: by mail-qc0-f199.google.com with SMTP id e16sf6703465qcx.10 for ; Fri, 21 Mar 2014 13:53: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=mKZ2yYCb5Yk3P5R1+j0sOljKPwlvu7udJ+2qU+uNtU8=; b=jUe7X3pMLzVy0LRmxEeJULV85jf5WkKCY8Z7Tg7TMn0RP96WJeMYcWbHz/cthzBfHP ZJVZRM92Iv9TqbFzZQO0g3EUmivexgfFgl9Wcicv3YUH1Ekv5P340mOawJacBiIaK9mQ X03vkNgUykRTJPLMsOBWPskDXEIeBbwN7HlJ3abjDq3j/WB32CAWFjuJ65hJlfu4cia+ Nv7gjZWieGHwkKTbCs8OqIs6Lj56bMkA4grTgItmqrdL4ybo4/En4UewC61hL5UKoVjp gosyem+ixSqqReznqo2NEGarX/YZw/UmqWiAXv6FFLcrs6OWZvw64U9e31mgLp2uimvX z7tA== X-Gm-Message-State: ALoCoQklW8SPFF+BFE6w0v8P/9pGQmpfGkHOjDYqplFyv902ALlfYoAzPf03TqT1Jzi3ZaTsqV7h X-Received: by 10.236.188.133 with SMTP id a5mr14956456yhn.24.1395435195521; Fri, 21 Mar 2014 13:53:15 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.32.181 with SMTP id h50ls812825qgh.15.gmail; Fri, 21 Mar 2014 13:53:15 -0700 (PDT) X-Received: by 10.58.190.99 with SMTP id gp3mr8859835vec.32.1395435195357; Fri, 21 Mar 2014 13:53:15 -0700 (PDT) Received: from mail-ve0-f177.google.com (mail-ve0-f177.google.com [209.85.128.177]) by mx.google.com with ESMTPS id ph6si1399109veb.161.2014.03.21.13.53.15 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 21 Mar 2014 13:53:15 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.128.177 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.177; Received: by mail-ve0-f177.google.com with SMTP id sa20so3109994veb.8 for ; Fri, 21 Mar 2014 13:53:15 -0700 (PDT) X-Received: by 10.52.128.231 with SMTP id nr7mr12739807vdb.17.1395435195278; Fri, 21 Mar 2014 13:53: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.78.9 with SMTP id i9csp58502vck; Fri, 21 Mar 2014 13:53:14 -0700 (PDT) X-Received: by 10.205.17.1 with SMTP id qa1mr2326523bkb.34.1395435194163; Fri, 21 Mar 2014 13:53:14 -0700 (PDT) Received: from theia.denx.de (theia.denx.de. [85.214.87.163]) by mx.google.com with ESMTP id t2si2844706bkh.97.2014.03.21.13.53.13 for ; Fri, 21 Mar 2014 13:53: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 2A3CE4B617; Fri, 21 Mar 2014 21:52:59 +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 g0PSrTf4gv4b; Fri, 21 Mar 2014 21:52:58 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 318414B61E; Fri, 21 Mar 2014 21:52:03 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 948484B604 for ; Fri, 21 Mar 2014 21:51:58 +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 oTXm01eyXYl0 for ; Fri, 21 Mar 2014 21:51:55 +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 bear.ext.ti.com (bear.ext.ti.com [192.94.94.41]) by theia.denx.de (Postfix) with ESMTPS id 15ABE4B5D2 for ; Fri, 21 Mar 2014 21:51:42 +0100 (CET) Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by bear.ext.ti.com (8.13.7/8.13.7) with ESMTP id s2LKpfnP031588 for ; Fri, 21 Mar 2014 15:51:41 -0500 Received: from DFLE73.ent.ti.com (dfle73.ent.ti.com [128.247.5.110]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id s2LKpeiO019242 for ; Fri, 21 Mar 2014 15:51:40 -0500 Received: from dlep32.itg.ti.com (157.170.170.100) by DFLE73.ent.ti.com (128.247.5.110) with Microsoft SMTP Server id 14.3.174.1; Fri, 21 Mar 2014 15:51:40 -0500 Received: from ares-ubuntu.am.dhcp.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep32.itg.ti.com (8.14.3/8.13.8) with ESMTP id s2LKpejl009256; Fri, 21 Mar 2014 15:51:40 -0500 Received: from a0868495 by ares-ubuntu.am.dhcp.ti.com with local (Exim 4.76) (envelope-from ) id 1WR6Pk-0007p3-FR; Fri, 21 Mar 2014 16:51:40 -0400 From: Murali Karicheri To: , Date: Fri, 21 Mar 2014 16:51:38 -0400 Message-ID: <1395435098-30003-10-git-send-email-m-karicheri2@ti.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1395435098-30003-1-git-send-email-m-karicheri2@ti.com> References: <1395435098-30003-1-git-send-email-m-karicheri2@ti.com> MIME-Version: 1.0 Subject: [U-Boot] [PATCH v3 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.177 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 8db134a..6bdeb90 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