From nobody Sat Dec 28 10:52:02 2024 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 1499205779772781.4090064536524; Tue, 4 Jul 2017 15:02:59 -0700 (PDT) Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id 287D221B02BB0; Tue, 4 Jul 2017 15:01:15 -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 934E6209455E0 for ; Tue, 4 Jul 2017 15:01:13 -0700 (PDT) Received: by mail-lf0-x236.google.com with SMTP id t72so14998093lff.1 for ; Tue, 04 Jul 2017 15:02:52 -0700 (PDT) Received: from enkidu.local (31-172-191-173.noc.fibertech.net.pl. [31.172.191.173]) by smtp.gmail.com with ESMTPSA id q200sm1706348lfe.49.2017.07.04.15.02.49 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 04 Jul 2017 15:02:49 -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=+c4gIqk15X2nN3kKlD8PFAK9BpSzsoxkxXmnphKB0kY=; b=uuUNuui1snbb99jDBgS+0WrwHrT/ilUHgLdSaHfPMUoDUkqH68ZZgPZVyt6SRK5A4q oDY/PcY/BksnNb7qp2j6YMS7WDEJthO/BepOb0/qOwfvi1oThwc8D8H9wiTisQ/RlyM/ 1v+2iX+Y485BpZxUakzbxbhnIHEz2NBt0zBG8Fc3wXuQCEcdh5E2y8T8QSdiEBMeZWpa AT+JZ5L2yNSX5to6b47423Oi2jmpzZvZKomRKLEETSET/sCz8HmajS21qYVjylOy1lsz zyIdAfJBf2dw5ESFaEWIUXE4KpztAl/OYYdnJzPlJkzTQhcfcqrrMRTq51MLjD9REl5q 4f4Q== 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=+c4gIqk15X2nN3kKlD8PFAK9BpSzsoxkxXmnphKB0kY=; b=Qwfk2TS1EbeAHkEEOI0grwGVOjQTCFeeVx1p7uoOt9AtsCnDKtHKMCarHZkTl9FmBx BIXvO3zMvNC/LCpuOwGi99hOsQQRREap1Ux4K9+VKLG+xQmjhhgujKXEi675I2gnfgy/ JSpReUYUhLeZVjX0b0Dmk0/ynOxKGCXU3E5eN9KCbSE3cd5+QngfOS+VvbY1dyDOP7L5 k1tdjgMzSRIrpSCmyWjC1BNhhOp09CQSoyg6TBIaiO0l4MDD8wgpLEGjzXN+gmGsa1Xq pheGHKeWwasClaE6hVHQ7Vc3hW07GSP19KgYlgBqpawqgTllrXDKn9gw1MPXOh+xGSMs UohQ== X-Gm-Message-State: AKS2vOwsSb8QxhfdKF84WjsaelADVQk+N1aLGyVMDiHH4cX3KSLf7SX2 OOmt2ANbbdhgnFocK6rWvQ== X-Received: by 10.25.193.66 with SMTP id r63mr14064466lff.150.1499205770399; Tue, 04 Jul 2017 15:02:50 -0700 (PDT) From: Marcin Wojtas To: edk2-devel@lists.01.org Date: Wed, 5 Jul 2017 00:02:12 +0200 Message-Id: <1499205732-12445-3-git-send-email-mw@semihalf.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1499205732-12445-1-git-send-email-mw@semihalf.com> References: <1499205732-12445-1-git-send-email-mw@semihalf.com> Subject: [edk2] [platforms: PATCH v2 10/10] Platform/Marvell: ComPhyLib: Add support for SATA ports on CP110 slave 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" From: Ard Biesheuvel Add support for COMPHY_TYPE_SATA2 and COMPHY_TYPE_SATA3, which map to the SATA ports on the second CP110's AHCI controller. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ard Biesheuvel Signed-off-by: Marcin Wojtas Reviewed-by: Leif Lindholm --- Platform/Marvell/Library/ComPhyLib/ComPhyCp110.c | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/Platform/Marvell/Library/ComPhyLib/ComPhyCp110.c b/Platform/Ma= rvell/Library/ComPhyLib/ComPhyCp110.c index 6ef63a8..40a7b99 100755 --- a/Platform/Marvell/Library/ComPhyLib/ComPhyCp110.c +++ b/Platform/Marvell/Library/ComPhyLib/ComPhyCp110.c @@ -55,24 +55,26 @@ DECLARE_A7K8K_NONDISCOVERABLE_TEMPLATE; COMPHY_MUX_DATA Cp110ComPhyMuxData[] =3D { /* Lane 0 */ {4, {{COMPHY_TYPE_UNCONNECTED, 0x0}, {COMPHY_TYPE_SGMII1, 0x1}, - {COMPHY_TYPE_SATA1, 0x4}}}, + {COMPHY_TYPE_SATA1, 0x4}, {COMPHY_TYPE_SATA3, 0x4}}}, /* Lane 1 */ {4, {{COMPHY_TYPE_UNCONNECTED, 0x0}, {COMPHY_TYPE_SGMII2, 0x1}, - {COMPHY_TYPE_SATA0, 0x4}}}, + {COMPHY_TYPE_SATA0, 0x4}, {COMPHY_TYPE_SATA2, 0x4}}}, /* Lane 2 */ {6, {{COMPHY_TYPE_UNCONNECTED, 0x0}, {COMPHY_TYPE_SGMII0, 0x1}, {COMPHY_TYPE_RXAUI0, 0x1}, {COMPHY_TYPE_SFI, 0x1}, - {COMPHY_TYPE_SATA0, 0x4}}}, + {COMPHY_TYPE_SATA0, 0x4}, {COMPHY_TYPE_SATA2, 0x4}}}, /* Lane 3 */ {8, {{COMPHY_TYPE_UNCONNECTED, 0x0}, {COMPHY_TYPE_RXAUI1, 0x1}, - {COMPHY_TYPE_SGMII1, 0x2}, {COMPHY_TYPE_SATA1, 0x4}}}, + {COMPHY_TYPE_SGMII1, 0x2}, {COMPHY_TYPE_SATA1, 0x4}, + {COMPHY_TYPE_SATA3, 0x4}}}, /* Lane 4 */ {7, {{COMPHY_TYPE_UNCONNECTED, 0x0}, {COMPHY_TYPE_SGMII0, 0x2}, {COMPHY_TYPE_RXAUI0, 0x2}, {COMPHY_TYPE_SFI, 0x2}, {COMPHY_TYPE_SGMII1, 0x1}}}, /* Lane 5 */ {6, {{COMPHY_TYPE_UNCONNECTED, 0x0}, {COMPHY_TYPE_SGMII2, 0x1}, - {COMPHY_TYPE_RXAUI1, 0x2}, {COMPHY_TYPE_SATA1, 0x4}}}, + {COMPHY_TYPE_RXAUI1, 0x2}, {COMPHY_TYPE_SATA1, 0x4}, + {COMPHY_TYPE_SATA3, 0x4}}}, }; =20 COMPHY_MUX_DATA Cp110ComPhyPipeMuxData[] =3D { --=20 1.8.3.1 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel