From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from EUR03-VE1-obe.outbound.protection.outlook.com (EUR03-VE1-obe.outbound.protection.outlook.com [40.107.5.83]) by mx.groups.io with SMTP id smtpd.web11.13823.1584628653619361211 for ; Thu, 19 Mar 2020 07:37:33 -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=KiFsXLhS; spf=pass (domain: oss.nxp.com, ip: 40.107.5.83, mailfrom: pankaj.bansal@oss.nxp.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=QvaRDMbki1k13ilPV0ZN0q4PbYLY6JiK8bFvsXrcsqSF4f0QBx0WRk2yLYHGtiZaQ95nhqbYTBKkOdvmxux8DlWwqkgpouEfWvlZ2tmrFmwqdoV1QPCQuxvY8Bk9CiOcU0SYGk0SR73lMlgtOmcC6RblOQZ/uaznGVUEZOpb3pyBGr/YtPL2Z99ZlLYxbkY9BC9HATmWfWQlHxwfZYm5NpNWfb3TQwxu8xEvKYjsTmTdp02+HtV4Y14V/iXHmiKdduL6QZ146u/+uUPoDJ8wvKh5CDYlkAJTRLssF93xoc05uwboV3jPxx9amiGUwR8cX/nrT4AhAmlpOLnmqwvTcw== 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=GCAKq8VjdKpc0fnTLhtarncXYEsxTc9q3BJu5ZrIgXc=; b=Y+CZZg6hzcHPFDqmZlmwtUwdOn5IfFiN4dDS0A/l74a0F9UKe6vkRPy7bkA2mR1kps3M3PfB2sWjtz/NgKTzQ4Ni9QqQzj3iWDtID3vL23ZO8zzN2wQF0nguco/6/YuHytuLRX8obHpCbZN2VbYoDZqyxDJT0UO1QWGAeeWhaNUM9R2s4XipWpsg5687kpKDJUvK3zGcFCfSWGTuWV+zNgimVRCXKv4fNS9Gfr6zi3mHDIXwSUNjUR5zVJfeRNbA/8pkdY13CcAOdCqrmdL2MbCMZGAhZQOQSLt8aj4xsGGasDOQsh1/Ch9nBfbMzvFrZk8+p7yiVtKH0ebBpRpwIA== 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=GCAKq8VjdKpc0fnTLhtarncXYEsxTc9q3BJu5ZrIgXc=; b=KiFsXLhSz4jI+jntED997a1YyF/d2UzFivNl5SeBhPn22xL8cOQ/QEXRHcMb65s5WXQv4jm/0Rt6Xbb910OUo09Fn7UvRE180Wa3rq1IlDyEhnDyy+i7AcuP+83xXRIF6U9vb0ByrqrvqJk2aKCEhz0j4zjxf1jWr97sFwJyD4g= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=pankaj.bansal@oss.nxp.com; Received: from VI1PR0401MB2496.eurprd04.prod.outlook.com (10.168.65.10) by VI1PR0401MB2269.eurprd04.prod.outlook.com (10.169.134.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2814.18; Thu, 19 Mar 2020 14:37:31 +0000 Received: from VI1PR0401MB2496.eurprd04.prod.outlook.com ([fe80::196a:28a9:bb9:2fae]) by VI1PR0401MB2496.eurprd04.prod.outlook.com ([fe80::196a:28a9:bb9:2fae%9]) with mapi id 15.20.2835.017; Thu, 19 Mar 2020 14:37:31 +0000 From: Pankaj Bansal To: Leif Lindholm , Meenakshi Aggarwal , Michael D Kinney , devel@edk2.groups.io, Varun Sethi , Samer El-Haj-Mahmoud , Jon Nettleton Subject: [PATCH v2 24/28] NXP/LS1043aRdbPkg/ArmPlatformLib: Remove extern SocInit Date: Fri, 20 Mar 2020 20:05:39 +0530 Message-ID: <20200320143543.18615-25-pankaj.bansal@oss.nxp.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200320143543.18615-1-pankaj.bansal@oss.nxp.com> References: <20200320143543.18615-1-pankaj.bansal@oss.nxp.com> X-ClientProxiedBy: SG2PR02CA0042.apcprd02.prod.outlook.com (2603:1096:3:18::30) To VI1PR0401MB2496.eurprd04.prod.outlook.com (2603:10a6:800:56::10) Return-Path: pankaj.bansal@oss.nxp.com MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from uefi-workstation.ap.freescale.net (92.120.0.69) by SG2PR02CA0042.apcprd02.prod.outlook.com (2603:1096:3:18::30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2835.19 via Frontend Transport; Thu, 19 Mar 2020 14:37:28 +0000 X-Mailer: git-send-email 2.17.1 X-Originating-IP: [92.120.0.69] X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: cf156ad5-0720-4fbf-3533-08d7cc130e0f X-MS-TrafficTypeDiagnostic: VI1PR0401MB2269:|VI1PR0401MB2269: X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:1227; X-Forefront-PRVS: 0347410860 X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10009020)(4636009)(376002)(136003)(366004)(346002)(396003)(39860400002)(199004)(2906002)(26005)(186003)(16526019)(6666004)(478600001)(81166006)(86362001)(44832011)(8676002)(5660300002)(81156014)(6486002)(66476007)(66946007)(316002)(1076003)(6512007)(66556008)(6506007)(956004)(8936002)(2616005)(52116002)(110136005);DIR:OUT;SFP:1101;SCL:1;SRVR:VI1PR0401MB2269;H:VI1PR0401MB2496.eurprd04.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:0; Received-SPF: None (protection.outlook.com: oss.nxp.com does not designate permitted sender hosts) X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: m8ttSqXALE1re0IEhA0MENKCh0hEQMYHLbynFke3jvvJV2qMVgg4p5Mo7umIWT4cYRnMAZNZnjre9kJOzj619PMzoaRbykOt1FLlCMvotIzbA3ax86GooBQmEiNUcS+ROrvqeeu3+oS7lD5WWZB9JNTW5NTKYDB0jM43Cwppe8A8/3J9ysgA4KsWJv7RM9hzMArXKCuUQPJJoJWBEsEB88bfdzyGLzs1FVo2tU8r2YygES2LOo2bAO08bRffNbIYbIDIvyHa6QFpN+dqfNDBaHLnxsDrsrVoIeMbhCAOeJBl7qo+FuH5nQy3GEIXNYgXl/Jn6NoAGBGo0rg4tJjksT9pFpqnsS9sfQHfGXZwX0c8L31aepcbXT4hUCDt3Q3cSc7GHNVHpOsj7Ztfx04xXCeE4efWLjVuXitPItMKKt/cPc5y7FkQyFQBNSngsxqZ X-MS-Exchange-AntiSpam-MessageData: 5ymqape2bPE0/QWT3kCb7Qtebp5TNmigv4eS/Msm5M5t6I5p28Zck8tk1Gyau3yOtwh2zHVKv64jWYIZsF4ECI9NeyP2hUboAKIA4nOGTVnK6BhBYQ/6pyGytHYGb6MEP/tQMIJ8dts3IDrb+Yu8FQ== X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: cf156ad5-0720-4fbf-3533-08d7cc130e0f X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Mar 2020 14:37:31.3055 (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: GieNi+w9Mh5KmY+ntaks9RKj2I4Xxa8XzWEFFhTbOxVO8f3fR5mU8h2ozUNudJr2et7i564ab9NJIKkJIQL6jQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0401MB2269 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain From: Pankaj Bansal SocInit can be defined in SocLib.h No need to make it extern in ArmPlatformLib Signed-off-by: Pankaj Bansal --- .../LS1043aRdbPkg/Library/ArmPlatformLib/ArmPlatformLib.c | 2 -- Silicon/NXP/Include/Library/SocLib.h | 8 ++++++++ 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/Platform/NXP/LS1043aRdbPkg/Library/ArmPlatformLib/ArmPlatformL= ib.c b/Platform/NXP/LS1043aRdbPkg/Library/ArmPlatformLib/ArmPlatformLib.c index 1e2e85f87dfe..dc81e7ba3101 100644 --- a/Platform/NXP/LS1043aRdbPkg/Library/ArmPlatformLib/ArmPlatformLib.c +++ b/Platform/NXP/LS1043aRdbPkg/Library/ArmPlatformLib/ArmPlatformLib.c @@ -16,8 +16,6 @@ #include #include =20 -extern VOID SocInit (VOID); - /** Get the clocks supplied by Platform(Board) to NXP Layerscape SOC IPs =20 diff --git a/Silicon/NXP/Include/Library/SocLib.h b/Silicon/NXP/Include/Lib= rary/SocLib.h index 749aa230dec5..0ca68602618d 100644 --- a/Silicon/NXP/Include/Library/SocLib.h +++ b/Silicon/NXP/Include/Library/SocLib.h @@ -41,4 +41,12 @@ SocGetClock ( IN VA_LIST Args ); =20 +/** + Function to initialize SoC specific constructs + **/ +VOID +SocInit ( + VOID + ); + #endif // SOC_LIB_H__ --=20 2.17.1