From patchwork Thu Oct 13 02:00:12 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: gary guo X-Patchwork-Id: 77599 Delivered-To: patch@linaro.org Received: by 10.140.97.247 with SMTP id m110csp14981qge; Wed, 12 Oct 2016 19:01:35 -0700 (PDT) X-Received: by 10.55.104.209 with SMTP id d200mr4708145qkc.163.1476324095078; Wed, 12 Oct 2016 19:01:35 -0700 (PDT) Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id o128si5226749qkf.325.2016.10.12.19.01.34; Wed, 12 Oct 2016 19:01:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linaro-uefi-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) client-ip=54.225.227.206; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linaro-uefi-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) smtp.mailfrom=linaro-uefi-bounces@lists.linaro.org; dmarc=pass (p=NONE dis=NONE) header.from=linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id C92E360DC1; Thu, 13 Oct 2016 02:01:34 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ip-10-142-244-252 X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2 autolearn=disabled version=3.4.0 Received: from [127.0.0.1] (localhost [127.0.0.1]) by lists.linaro.org (Postfix) with ESMTP id 4F32C61746; Thu, 13 Oct 2016 02:01:04 +0000 (UTC) X-Original-To: linaro-uefi@lists.linaro.org Delivered-To: linaro-uefi@lists.linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id B31FB61747; Thu, 13 Oct 2016 02:01:00 +0000 (UTC) Received: from mail-pf0-f174.google.com (mail-pf0-f174.google.com [209.85.192.174]) by lists.linaro.org (Postfix) with ESMTPS id 0DE1F61747 for ; Thu, 13 Oct 2016 02:00:42 +0000 (UTC) Received: by mail-pf0-f174.google.com with SMTP id 128so27406172pfz.0 for ; Wed, 12 Oct 2016 19:00:42 -0700 (PDT) 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=e4pKqyNv5sKjmqVvbwvJLYhnxdFq4fl9TB6M4v8tzKU=; b=SRDRPex99+ILFdKvPeI1yBbg96uPDroJCx060+iENGTDazBSbIl/ZxYNTOVCrt8Pcv sHbHghtBUuF6w3KFtvzalRGeaeE/l2SPPYUHVTog4dBde4neyOgKqtdDndnz2ZqYv2bm EXn7whlooU5KRoHH73mL7CGxjJ8qrlYLGu9qXG4dJw0cRmkj4tuyIBb00a6EPTCzQRRm oJPzHiJMXvM6b4NsuK2/Bl7mw0j1bz24+3osB4QcWTHVK4gw6npAlxyEuERbRA7xw1I3 tZ4PpFvVn81C4JdTpdCpxEyQEXMk0628chRxp+y89XM8/xM2EognVf68xTkFoznOJ4Gd Ax/w== X-Gm-Message-State: AA6/9RlevuFS92NTekQ9PdJC8ixmGT8UeKxH1SYOdAF7axnbMTwbDMN7Gd9wqCsIzuDYQpWcVZE= X-Received: by 10.98.59.153 with SMTP id w25mr6231083pfj.112.1476324041402; Wed, 12 Oct 2016 19:00:41 -0700 (PDT) Received: from localhost.localdomain ([119.145.15.121]) by smtp.gmail.com with ESMTPSA id sv8sm14732756pab.18.2016.10.12.19.00.39 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 12 Oct 2016 19:00:41 -0700 (PDT) From: Heyi Guo To: linaro-uefi@lists.linaro.org Date: Thu, 13 Oct 2016 10:00:12 +0800 Message-Id: <1476324020-57155-3-git-send-email-heyi.guo@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1476324020-57155-1-git-send-email-heyi.guo@linaro.org> References: <1476324020-57155-1-git-send-email-heyi.guo@linaro.org> Cc: hensonwang Subject: [Linaro-uefi] [PATCH 03/11] Hisilicon/Hi1610/PCIe: Remove lane reversal code X-BeenThere: linaro-uefi@lists.linaro.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: linaro-uefi-bounces@lists.linaro.org Sender: "Linaro-uefi" Lane reversal has been done by chip and it is unnecessary for software to do that. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: hensonwang Signed-off-by: Heyi Guo --- Chips/Hisilicon/Hi1610/Drivers/PcieInit1610/PcieInitLib.c | 1 - 1 file changed, 1 deletion(-) diff --git a/Chips/Hisilicon/Hi1610/Drivers/PcieInit1610/PcieInitLib.c b/Chips/Hisilicon/Hi1610/Drivers/PcieInit1610/PcieInitLib.c index d2928ee..a8dd9df 100755 --- a/Chips/Hisilicon/Hi1610/Drivers/PcieInit1610/PcieInitLib.c +++ b/Chips/Hisilicon/Hi1610/Drivers/PcieInit1610/PcieInitLib.c @@ -990,7 +990,6 @@ PciePortInit ( (VOID)PciePcsInit(soctype, HostBridgeNum, PortIndex); (VOID)PcieModeSet(soctype, HostBridgeNum, PortIndex,PcieCfg->PortInfo.PortType); - (VOID)PcieLaneReversalSet(soctype, HostBridgeNum, PortIndex); (VOID)PcieSpdSet(soctype, HostBridgeNum, PortIndex, 3); (VOID)PciePortNumSet(soctype, HostBridgeNum, PortIndex, 0); /* setup root complex */