From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from EUR04-DB3-obe.outbound.protection.outlook.com (EUR04-DB3-obe.outbound.protection.outlook.com [40.107.6.87]) by mx.groups.io with SMTP id smtpd.web10.258.1592334128112421219 for ; Tue, 16 Jun 2020 12:02:08 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="body hash did not verify" header.i=@nxp1.onmicrosoft.com header.s=selector2-nxp1-onmicrosoft-com header.b=fNX0FAsk; spf=pass (domain: oss.nxp.com, ip: 40.107.6.87, mailfrom: wasim.khan@oss.nxp.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ASkkqcIAQ4zf6AetC/srH4/hNtsEs4pU2fcx4xrGsb9aBsv+Bs+Ng0dT71XJrOZzx4LiDzvs+VxggKxrFacb7IbtnhAa9oraneAdm6yQ1LU4O6H4kWJrOTsDLJZzwM4O2hAUrjzWLT1IILEV6ie59HgAhLwG3ZZKkd8px5Of1JqG5qnK8H3pRIoANZ6dmWT6gVmruLQ2G3Km0j8gpW1Xb8HAlDG3fbRwyuXEJOMszuh/LSjw+fSmE58P4KQvO76UEH/YpTuYmgpofpFMVJEjwY+gs+wcsIB3IigCgltUXxFf5GyYXk95qvlLQbCOU4qVvEtr2U2sfJkBvZdmifAGmw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=+D4Crh5ZOh2XIKMUwnn9rZW75jXfxEP87lnUjfBLJco=; b=ZBZfdhVo6ZqU7PcN9sGIjfDLjb2dCQrquqvDck+utx57xZhBmbOc1YfirppVbt4EKoZZTU39uECTLjcXH8+Vc5OCgrXqGPt21ys3c/Yu4u9r9rLG/hgWa7hZ1TnfIbibaCHhIX0ka+eG4aNKveCrUlyl3ttlYVSNBospAc+wdqYuZM+S1FUe2Uzm2B1UWfxQc/UluIcnqGdApv77UpfPXPXE7BAVC3iG4PA6jTN6wO1cjEeFl+w7QOhGIya37CbvLVTshmaxzI6LtbrN/p25vTRyjVyYfpxNbtsgBiu+vvTA7E/hVi2PYPu/QP+Zs4/tfdDXw46l03FVOeRRBatQxg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oss.nxp.com; dmarc=pass action=none header.from=oss.nxp.com; dkim=pass header.d=oss.nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=NXP1.onmicrosoft.com; s=selector2-NXP1-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=+D4Crh5ZOh2XIKMUwnn9rZW75jXfxEP87lnUjfBLJco=; b=fNX0FAskPV2fIvfTu3iyloLZpfZFMhL3cxuE94FZ8hIcOjIfsnS8rG5VIqnAlyujU8RmvJgUlVqXr1Zz0hK/tDaB3vEj547Ue2ncQfZalZupxQ1nX25F15g3SBg5i66Qgw+P0/liJb4eYISm5C13mq62PI2o08L54KD+IbgvJuE= Authentication-Results: edk2.groups.io; dkim=none (message not signed) header.d=none;edk2.groups.io; dmarc=none action=none header.from=oss.nxp.com; Received: from VE1PR04MB6702.eurprd04.prod.outlook.com (2603:10a6:803:123::13) by VE1PR04MB6621.eurprd04.prod.outlook.com (2603:10a6:803:124::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3088.24; Tue, 16 Jun 2020 19:02:06 +0000 Received: from VE1PR04MB6702.eurprd04.prod.outlook.com ([fe80::81c4:97a6:7592:f225]) by VE1PR04MB6702.eurprd04.prod.outlook.com ([fe80::81c4:97a6:7592:f225%7]) with mapi id 15.20.3088.029; Tue, 16 Jun 2020 19:02:06 +0000 From: Wasim Khan To: devel@edk2.groups.io, meenakshi.aggarwal@nxp.com, V.Sethi@nxp.com, leif@nuviainc.com CC: Wasim Khan Subject: [PATCH edk2-platforms v2 2/3] Silicon/NXP: LS1043A: Change SerDes ConfigTable to STATIC Date: Wed, 17 Jun 2020 00:31:45 +0530 Message-ID: <1592334106-3226-3-git-send-email-wasim.khan@oss.nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1592334106-3226-1-git-send-email-wasim.khan@oss.nxp.com> References: <1592334106-3226-1-git-send-email-wasim.khan@oss.nxp.com> X-ClientProxiedBy: PN1PR01CA0102.INDPRD01.PROD.OUTLOOK.COM (2603:1096:c00::18) To VE1PR04MB6702.eurprd04.prod.outlook.com (2603:10a6:803:123::13) Return-Path: wasim.khan@oss.nxp.com MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from localhost.localdomain (157.37.209.63) by PN1PR01CA0102.INDPRD01.PROD.OUTLOOK.COM (2603:1096:c00::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.20.3088.20 via Frontend Transport; Tue, 16 Jun 2020 19:02:03 +0000 X-Mailer: git-send-email 2.7.4 X-Originating-IP: [157.37.209.63] X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 8c7370ec-c13c-40ca-04e7-08d81227c2e5 X-MS-TrafficTypeDiagnostic: VE1PR04MB6621: X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:632; X-Forefront-PRVS: 04362AC73B X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: xwHBB1YWZFIcoIwSDXfWPlf1B7ThupgjQJIbXH7IbQqDcl5Q1+8yfmkEdGXUy+772UvXkC1QJsZKF5la8luI1kY2jgu4fcgxHQ2rhDRMvxxkPfYbfunUujajRSFSUoub4lfldMRY2w/JGKnjj7tSL61wsoE5RzjYwtqXmyrQ3q6xGzIsQcCCVtRi7cZ7iV4CIFW6VMbTqhiBwEfo10Lj6r8/YCYp99fWwPG8yn7ZkHyvSedljp43jfNjaPoRdV+MSODNCL9gYAlT49NaFybViKEr6pjnZb5un8HWyV98I+o2N9LVhD1HpB08ScO6DBka7o/gaK9KmEF8jsCRZM/Li5K+m/QH64/WfTFxdAVMXHknJKQVqUg+yfJqafT2AO+4 X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:VE1PR04MB6702.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFTY:;SFS:(4636009)(366004)(66556008)(6486002)(69590400007)(66946007)(66476007)(44832011)(86362001)(5660300002)(956004)(2616005)(6506007)(186003)(16526019)(2906002)(26005)(52116002)(498600001)(19627235002)(6512007)(8936002)(8676002)(4326008)(6666004)(83380400001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData: Weza5OkdZzAqZuU7rBcMSV/SVWr4zkBQYGdb6vm+lli5kSwcrlkzJHdyn8E7XE1KyHyBcWL+45TGTrMpW/t74c+DX9Fts8qS9M7H2cqhfuJByYYgvuej4aMsv6VtX8yhFlZc1IT6WsqnbSxRrBvk3hiNLyVLBTXbr97giuqkd7JAyIIxtN76WZ/azP9Zljjh2/b+kiQnD8U4yO+9rMslaCas9E6J/xKKB8gDBA47bLnJXqSA+ZWumiZC3zFkuMbch7UBsPlhpm6y20o1RmhMrd4FkDwEdhCF649IGlvN2GC+dDxkB8HkLGGYjBW7YHdFTeUN8qMacL7nbA7a/FpABNQqjF8xzFBg7tXbzeT4g5fv42Z8OXhW69D5dabiTo3ljaeA87FoGx7VulNnsQJdIIVh7hvlIaDVP+N5AexqA6Fn7BjnrLytpZ55el4gCGS8NNJdm5QLDceGber6ZBMifMfPV+vwvVVs+uovNQJ3VdmVyJtyhV+8ZwENuRW7CPqp X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 8c7370ec-c13c-40ca-04e7-08d81227c2e5 X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Jun 2020 19:02:06.2524 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: d7brzVOsdE+SKEMa9X4tFbXsvV7qullmBzfWzPMnmoIQAYTFm1JXjDcpCMh9WSC1Qms9U8W50hV7OBnq8nOQmQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1PR04MB6621 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain From: Wasim Khan Change SerDes1ConfigTable type to STATIC and add module prefix. Signed-off-by: Wasim Khan --- Changes in V2: - New Commit Silicon/NXP/LS1043A/Library/SocLib/SerDes.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Silicon/NXP/LS1043A/Library/SocLib/SerDes.c b/Silicon/NXP/LS10= 43A/Library/SocLib/SerDes.c index b34da76eeac9..640e1ee4e392 100644 --- a/Silicon/NXP/LS1043A/Library/SocLib/SerDes.c +++ b/Silicon/NXP/LS1043A/Library/SocLib/SerDes.c @@ -19,7 +19,7 @@ // SerDes1 Protocol Shift in Reset Configuration Word (RCW) Status Registe= r #define SERDES1_PROTOCOL_SHIFT 16 =20 -SERDES_CONFIG gSerDes1ConfigTable[] =3D { +STATIC SERDES_CONFIG mSerDes1ConfigTable[] =3D { {0x1555, {XFI_FM1_MAC9, PCIE1, PCIE2, PCIE3 } }, {0x2555, {SGMII_2500_FM1_DTSEC9, PCIE1, PCIE2, PCIE3 } }, {0x4555, {QSGMII_FM1_A, PCIE1, PCIE2, PCIE3 } }, @@ -49,7 +49,7 @@ SERDES_CONFIG gSerDes1ConfigTable[] =3D { }; =20 SERDES_CONFIG *gSerDesConfig[] =3D { - gSerDes1ConfigTable + mSerDes1ConfigTable }; =20 /** --=20 2.7.4