From nobody Sat Jul 12 05:10:04 2025 Delivered-To: importer@patchew.org Received-SPF: none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) client-ip=198.145.21.10; envelope-from=edk2-devel-bounces@lists.01.org; helo=ml01.01.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) smtp.mailfrom=edk2-devel-bounces@lists.01.org Return-Path: Received: from ml01.01.org (ml01.01.org [198.145.21.10]) by mx.zohomail.com with SMTPS id 149917468511250.3147621134932; Tue, 4 Jul 2017 06:24:45 -0700 (PDT) Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id 9F0B220945602; Tue, 4 Jul 2017 06:22:56 -0700 (PDT) Received: from mail-lf0-x236.google.com (mail-lf0-x236.google.com [IPv6:2a00:1450:4010:c07::236]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 4015E2094560B for ; Tue, 4 Jul 2017 06:22:54 -0700 (PDT) Received: by mail-lf0-x236.google.com with SMTP id b207so118828759lfg.2 for ; Tue, 04 Jul 2017 06:24:32 -0700 (PDT) Received: from mw-mint.semihalf.local (31-172-191-173.noc.fibertech.net.pl. [31.172.191.173]) by smtp.gmail.com with ESMTPSA id c185sm4980970lfc.43.2017.07.04.06.24.29 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 04 Jul 2017 06:24:29 -0700 (PDT) X-Original-To: edk2-devel@lists.01.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=semihalf-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=9A/+5/3LDZZAH81WJo0BfJR3X7BAWHqeoweCXUnWII8=; b=x1S2JrfCQ/2nIdF0EX6cF/l5YkOsYHtRj6CIsSBCzz9eMAedsKUkSDqCHjOS3v3nxu I7BxjBggEasNO+pchcws6DJmIqdGtMbDbA1vk2fJ3rebxVeJI5Qp0WfL6XSqBh2AkbvU mXEjkuZawvYN/TKpaUJFCpsfupD4HjP+f3Jy0BRErO8m6M+CUgMr9ZSzPMtPdoLjmwYB 2q99dOfi9LTGXd/AveEYBTUhY5ZKdCV7ubJl+tKkI8KRnRR35+zcBDC5hFuDPX3Bd+4O DaQp5gWgLDDnrAT38rfWSFnL0R+8N9g+ELSBoL+VVtolv51GxQPceIzUwPyrXgvia0v2 xVDA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=9A/+5/3LDZZAH81WJo0BfJR3X7BAWHqeoweCXUnWII8=; b=o6XdWQarT/M0J6d0Gjml5Ck8oehMZd3hGNgdacuvTAs6Zq8vlNIk055RUTjupdL5k7 jTQYAnGNs7rumO/s1fEu9KEoDB39mGHsZiHZ5H1ofGtZpTr2AB8tTmRySWFkAhuOg9YQ GGZ9l2RQEDOkiDp/OwSPTlQIvqfOvp7TibXVzTv8Wlg7DD+4ugJ3OKQvy/78oKHGD1/V 4MSbAy37zBYQs/guBtxeOono1HIaHerqW9/ZvwJlyKFzk1t/WlN4ZA+zwqd9EgR22b4+ VtZW7RTkapv9IrWymfTPr/XQhqt05WYzAEGVipKmOJHQc/u3E81BJFQbWMKEgSMtfcxr Ok/Q== X-Gm-Message-State: AKS2vOz+06K3Rs33Nz4hxpoa7maRPLHKncooREcKHckg/2s74MmS1KkI VbM4X8A4xsUuLIx+sYzsOg== X-Received: by 10.25.165.83 with SMTP id o80mr10493342lfe.115.1499174670618; Tue, 04 Jul 2017 06:24:30 -0700 (PDT) From: Marcin Wojtas To: edk2-devel@lists.01.org Date: Tue, 4 Jul 2017 15:24:07 +0200 Message-Id: <1499174653-330-5-git-send-email-mw@semihalf.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1499174653-330-1-git-send-email-mw@semihalf.com> References: <1499174653-330-1-git-send-email-mw@semihalf.com> Subject: [edk2] [platforms: PATCH 04/10] Platform/Marvell: ComPhyLib: Mark failing lane as unconnected X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: jinghua@marvell.com, leif.lindholm@linaro.org, ard.biesheuvel@linaro.org MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZohoMail: RDKM_2 RSF_4 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" In case of an error during initialization, setting PHY_TYPE_UNCONNECTED will allow to present proper information of the lane status. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Marcin Wojtas Reviewed-by: Leif Lindholm Reviewed-by: Ard Biesheuvel --- Platform/Marvell/Library/ComPhyLib/ComPhyCp110.c | 1 + 1 file changed, 1 insertion(+) diff --git a/Platform/Marvell/Library/ComPhyLib/ComPhyCp110.c b/Platform/Ma= rvell/Library/ComPhyLib/ComPhyCp110.c index cee7519..ee3ce99 100755 --- a/Platform/Marvell/Library/ComPhyLib/ComPhyCp110.c +++ b/Platform/Marvell/Library/ComPhyLib/ComPhyCp110.c @@ -1051,6 +1051,7 @@ ComPhyCp110Init ( } if (EFI_ERROR(Status)) { DEBUG ((DEBUG_ERROR, "Failed to initialize Lane %d\n with Status =3D= 0x%x", Lane, Status)); + PtrComPhyMap->Type =3D PHY_TYPE_UNCONNECTED; } } } --=20 2.7.4 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel