From patchwork Wed Feb 10 19:08:12 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 581566 X-Patchwork-Delegate: jagannadh.teki@gmail.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id DC6DE140325 for ; Thu, 11 Feb 2016 06:13:44 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 3690DA75F8; Wed, 10 Feb 2016 20:12:02 +0100 (CET) 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 2Hu1h8z2pTqg; Wed, 10 Feb 2016 20:12:02 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 13B85A74C3; Wed, 10 Feb 2016 20:11:45 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 8D52FA7601 for ; Wed, 10 Feb 2016 20:11:38 +0100 (CET) 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 N9XxV3QlBAYX for ; Wed, 10 Feb 2016 20:11:38 +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 mail-pf0-f196.google.com (mail-pf0-f196.google.com [209.85.192.196]) by theia.denx.de (Postfix) with ESMTPS id 19E88A75E4 for ; Wed, 10 Feb 2016 20:11:23 +0100 (CET) Received: by mail-pf0-f196.google.com with SMTP id e127so1380014pfe.3 for ; Wed, 10 Feb 2016 11:11:23 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=CAgGvRGL8/ybcMo/hsAqGUWdILMB7vna0fK6OIfekII=; b=JPGnoca7FamiiW5XpgxzRXdMN1tKn918mmNK6DqNossCHsayktiC7KFPvL1pBBPQcG AsJPusXR7utMIqCMaRALiudMQa436yRf1n7flv6c6OsurM0rwJnGmk3bHNU+CdQoDQbT D0Ajda02jIdby7P19ag1vFpaEt7Kl2Cj7y4/SrccFRxAQmRfuDGtdCGcgqa2BrFvhDez UoF8fNWmHExln09raFX2gBXSmfTIbCtgvpm1JiXvTgEOjComj2nZBDmFOcESKMzeil4t qidbYridtiLAhoe+3NoIX/lxv+Jl89IdQa3bY03qs/F62wc8J/Y33pkvdF0jENmM0haB 99Tw== X-Gm-Message-State: AG10YORyd8g2OV+S/OMMgj2kWgS2wLOpSDnBTh/nmfJ8XQJx9dpWARVmXcGX+2HceTxuGw== X-Received: by 10.98.73.149 with SMTP id r21mr61466488pfi.140.1455131481881; Wed, 10 Feb 2016 11:11:21 -0800 (PST) Received: from localhost.localdomain ([123.236.183.254]) by smtp.gmail.com with ESMTPSA id n78sm6915903pfb.53.2016.02.10.11.11.17 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 10 Feb 2016 11:11:20 -0800 (PST) From: Jagan Teki To: u-boot@lists.denx.de Date: Thu, 11 Feb 2016 00:38:12 +0530 Message-Id: <1455131307-25406-18-git-send-email-jteki@openedev.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1455131307-25406-1-git-send-email-jteki@openedev.com> References: <1455131307-25406-1-git-send-email-jteki@openedev.com> Cc: Tom Rini , Michal Simek , Siva Durga Prasad Paladugu , Jagan Teki Subject: [U-Boot] [PATCH v5 17/32] spi: Drop SPI_RX_FAST X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.15 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" SPI_RX_FAST at spi layer used for spi-nor core to find the fastest read mode, but this handling is taking care at m25p80 hence removed the same at spi layer level. Cc: Simon Glass Cc: Bin Meng Cc: Mugunthan V N Cc: Michal Simek Cc: Siva Durga Prasad Paladugu Signed-off-by: Jagan Teki --- include/spi.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/include/spi.h b/include/spi.h index 61fefa4..9af2fbb 100644 --- a/include/spi.h +++ b/include/spi.h @@ -27,9 +27,8 @@ #define SPI_TX_DUAL BIT(9) /* transmit with 2 wires */ #define SPI_TX_QUAD BIT(10) /* transmit with 4 wires */ #define SPI_RX_SLOW BIT(11) /* receive with 1 wire slow */ -#define SPI_RX_FAST BIT(12) /* receive with 1 wire fast */ -#define SPI_RX_DUAL BIT(13) /* receive with 2 wires */ -#define SPI_RX_QUAD BIT(14) /* receive with 4 wires */ +#define SPI_RX_DUAL BIT(12) /* receive with 2 wires */ +#define SPI_RX_QUAD BIT(13) /* receive with 4 wires */ /* SPI bus connection options - see enum spi_dual_flash */ #define SPI_CONN_DUAL_SHARED (1 << 0)