From patchwork Thu Feb 20 17:55:14 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Murali Karicheri X-Patchwork-Id: 25085 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 96728203C6 for ; Thu, 20 Feb 2014 17:58:38 +0000 (UTC) Received: by mail-ig0-f198.google.com with SMTP id h3sf3124306igd.1 for ; Thu, 20 Feb 2014 09:58:37 -0800 (PST) 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=uLUKZpDLGHX3EwcsdK9iKYhFr5icTKoMt5lrvq+mo7A=; b=NhktUErqwZth2Lhl90BdY4a9qRZfqx2CdQ3QIHB41mMTKs56WK9bB0T112wLKuIEMd LgQGlXvoKLjQiZGZ5NT9FqvT40LvmsmZhjwAsCzzJpeR6zwnBLNhhPI8+ZDnQi6N1/0E Jo49MdPjkrdzcN7eMtN/6kuUWVKldwgpzG+g00AzAltfoy4F6XP9kcZGxq7h8CeXvd/D MgSLXPODiT/K7hfU0jhhYYcQ+aqzWqQY9af8UN9wQmdiRMMVhX49k4TOYOa1rVPJtcPI H6nikpqS1RAY5u92uE2XrzxePX1OYrReJmmrgtWKfo/osNjWot9Jz/4eJEcjOHK4dG8t wIhQ== X-Gm-Message-State: ALoCoQmWVeIFzlGU/UJwkOQ+UXj0fzOhjMW7I707xGiMh3xQGHMYYWrhrUSatNv0CAvRYfNVuGTC X-Received: by 10.42.82.137 with SMTP id d9mr1170623icl.25.1392919117592; Thu, 20 Feb 2014 09:58:37 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.109.137 with SMTP id l9ls656019qgf.40.gmail; Thu, 20 Feb 2014 09:58:37 -0800 (PST) X-Received: by 10.220.139.198 with SMTP id f6mr1713727vcu.47.1392919117457; Thu, 20 Feb 2014 09:58:37 -0800 (PST) Received: from mail-ve0-f172.google.com (mail-ve0-f172.google.com [209.85.128.172]) by mx.google.com with ESMTPS id n17si1770751vcq.135.2014.02.20.09.58.37 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 20 Feb 2014 09:58:37 -0800 (PST) Received-SPF: neutral (google.com: 209.85.128.172 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.172; Received: by mail-ve0-f172.google.com with SMTP id jz11so324532veb.3 for ; Thu, 20 Feb 2014 09:58:37 -0800 (PST) X-Received: by 10.220.225.71 with SMTP id ir7mr1760437vcb.50.1392919117343; Thu, 20 Feb 2014 09:58:37 -0800 (PST) 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.174.196 with SMTP id u4csp77656vcz; Thu, 20 Feb 2014 09:58:36 -0800 (PST) X-Received: by 10.204.69.2 with SMTP id x2mr925176bki.140.1392919116271; Thu, 20 Feb 2014 09:58:36 -0800 (PST) Received: from theia.denx.de (theia.denx.de. [85.214.87.163]) by mx.google.com with ESMTP id qj10si2518104bkb.320.2014.02.20.09.58.35 for ; Thu, 20 Feb 2014 09:58:36 -0800 (PST) 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 014624B61E; Thu, 20 Feb 2014 18:58:06 +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 MMtA8gxmDYcg; Thu, 20 Feb 2014 18:58:05 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 5BD234B644; Thu, 20 Feb 2014 18:56:52 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id C4A2A4B615 for ; Thu, 20 Feb 2014 18:56: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 E87geUgOdfJJ for ; Thu, 20 Feb 2014 18:56:28 +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 devils.ext.ti.com (devils.ext.ti.com [198.47.26.153]) by theia.denx.de (Postfix) with ESMTPS id 6A08B4B634 for ; Thu, 20 Feb 2014 18:56:03 +0100 (CET) Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by devils.ext.ti.com (8.13.7/8.13.7) with ESMTP id s1KHu2uc007806 for ; Thu, 20 Feb 2014 11:56:02 -0600 Received: from DFLE72.ent.ti.com (dfle72.ent.ti.com [128.247.5.109]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id s1KHu1lL014463 for ; Thu, 20 Feb 2014 11:56:02 -0600 Received: from dlep33.itg.ti.com (157.170.170.75) by DFLE72.ent.ti.com (128.247.5.109) with Microsoft SMTP Server id 14.3.174.1; Thu, 20 Feb 2014 11:56:01 -0600 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 s1KHu1BM014160; Thu, 20 Feb 2014 11:56:01 -0600 Received: from a0868495 by ares-ubuntu.am.dhcp.ti.com with local (Exim 4.76) (envelope-from ) id 1WGXqr-00044T-J8; Thu, 20 Feb 2014 12:56:01 -0500 From: Murali Karicheri To: , Date: Thu, 20 Feb 2014 12:55:14 -0500 Message-ID: <1392918914-15564-13-git-send-email-m-karicheri2@ti.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1392918914-15564-1-git-send-email-m-karicheri2@ti.com> References: <1392918914-15564-1-git-send-email-m-karicheri2@ti.com> MIME-Version: 1.0 Subject: [U-Boot] [U-Boot PATCH v2 12/12] 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.172 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 --- 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 33c7551..861010a 100644 --- a/include/configs/k2hk_evm.h +++ b/include/configs/k2hk_evm.h @@ -85,7 +85,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