From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from EUR05-VI1-obe.outbound.protection.outlook.com (EUR05-VI1-obe.outbound.protection.outlook.com [40.107.21.43]) by mx.groups.io with SMTP id smtpd.web11.2064.1588225918728205469 for ; Wed, 29 Apr 2020 22:51:59 -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=AfkEpp7r; spf=pass (domain: oss.nxp.com, ip: 40.107.21.43, mailfrom: pankaj.bansal@oss.nxp.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=V11TqvOF8K7xSoLuClQtzZsP+OyZiOwmwIhJTiSByXb2N9R5AIgl11q765LEtTpTfLE/hXyxzTpEYF9Q+fCpnWaW6/YAjzwCFUJpB1R0YWbb+o/nb9XfDlo9m2Nbi/+x4xT0xnIS5yDV677kD5wh0fq4V63QYuMuo+uDd72DxHakM+T6OeSt19Ru3B6gD2xrRQmgweJJf8JF7/PqE32FlRa2We3mtD9qe7MJELdErHpaxFYYSkmSK4nA79omD+VSkQYoe1aVFCNLUKuq1Lv0e7wvqTerixU/SeoNwg8YehKyQ5DWh3mJyE2ih11QfH9SHVI4TPE1k0XN4HD9abl2rw== 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=RJiGW2shRTavcNcQEPOYcoLErrcv3pANbdupjIHdOzA=; b=Cu2k2HSzOKhBHJ2vB/W+T1/Q/Fb0x/TqsxdDKrouCjfG2V4OX6R+e/KmN+fkDfFWkhSNbagFb8hTpKX40jeDDP3Nmc0yWrzOGZ70WWXxN6kvOKvnEAMm9fTMVDLAsCrl4M7UCHU2Sb69J+kSQF7mCOWIx5LHGA7uiCAvhkoqCG4SwPRTstJZbR4xkl1MfqprDmWmG/IJ+LKy1SEICkYnhJOdQ/Tj4Qj6KEhKBL+q3rt1205sgw4fMsIEms4rV27GfidpILgGqBs1gbUZ5WpdDEwjVBfsG+AYsOnOsTVJDQ5WLVmEJ2cTFxcyhANxhKBSIweDh1TvaDn3KWEpTj71nA== 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=RJiGW2shRTavcNcQEPOYcoLErrcv3pANbdupjIHdOzA=; b=AfkEpp7r/FXTyYhuOqS8J7yMdd/qco9nPcf7MkYaaRwpZlMfwNjNzqsD67B/46fvhu2RWXm8TBt2DFRR2IBi6yqgVfXvRr+/PIrADTLUTMPJng7OBW0/9lOwJBsEA/PGvoMscijMRNmoyghlEcgoykwxcOxZTGkUkXdBXAOjuWA= Authentication-Results: nuviainc.com; dkim=none (message not signed) header.d=none;nuviainc.com; dmarc=none action=none header.from=oss.nxp.com; Received: from VI1PR04MB5933.eurprd04.prod.outlook.com (2603:10a6:803:ec::16) by VI1PR04MB4429.eurprd04.prod.outlook.com (2603:10a6:803:6e::29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2937.13; Thu, 30 Apr 2020 05:51:56 +0000 Received: from VI1PR04MB5933.eurprd04.prod.outlook.com ([fe80::45c4:8846:5327:9513]) by VI1PR04MB5933.eurprd04.prod.outlook.com ([fe80::45c4:8846:5327:9513%7]) with mapi id 15.20.2958.020; Thu, 30 Apr 2020 05:51:56 +0000 From: "Pankaj Bansal" To: Leif Lindholm , Meenakshi Aggarwal , Michael D Kinney , devel@edk2.groups.io, Varun Sethi , Samer El-Haj-Mahmoud , Jon Nettleton , Ard Biesheuvel Subject: [PATCH edk2-platforms v4 19/24] NXP/LS1043aRdbPkg/ArmPlatformLib: Remove extern SocInit Date: Fri, 1 May 2020 11:19:50 +0530 Message-ID: <20200501054955.13025-20-pankaj.bansal@oss.nxp.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200501054955.13025-1-pankaj.bansal@oss.nxp.com> References: <20200501054955.13025-1-pankaj.bansal@oss.nxp.com> X-ClientProxiedBy: SG2PR03CA0131.apcprd03.prod.outlook.com (2603:1096:4:91::35) To VI1PR04MB5933.eurprd04.prod.outlook.com (2603:10a6:803:ec::16) 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 SG2PR03CA0131.apcprd03.prod.outlook.com (2603:1096:4:91::35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2979.14 via Frontend Transport; Thu, 30 Apr 2020 05:51:53 +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: 386ddd8f-ea66-467f-486e-08d7ecca9746 X-MS-TrafficTypeDiagnostic: VI1PR04MB4429:|VI1PR04MB4429: X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:161; X-Forefront-PRVS: 0389EDA07F X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:VI1PR04MB5933.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFTY:;SFS:(4636009)(136003)(376002)(39860400002)(346002)(366004)(396003)(6512007)(26005)(16526019)(5660300002)(478600001)(186003)(2906002)(110136005)(52116002)(6486002)(316002)(8676002)(6506007)(66476007)(86362001)(2616005)(66946007)(44832011)(956004)(66556008)(1076003)(8936002);DIR:OUT;SFP:1101; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: an5Lc+U/Wdn4pWZ8lBp8Q1sBwo5cXCHKosAKGFsnn6d49KQxnS3GPQNpPa9GvA5WdIsBdBmPG/fkjb2MuhMoWSamMNBZ7SiUyUQmEIP3RewPiLizITrvjAx/1ODyBKhTf25g4f2Rv5W9kL5M2Pib7RJ1jAODdF+BEd4uAbDWM0IeoQGm4qrK47ek1T3Ys4wFF1cQ6/TEsqVuK7DAPae1VM6+wgI9BWwE0EoICfkYZsZ8Hm3kmAjXzjzkAow22AptmB8YOjfE3ShJJiC2Cz5rnF2MRtNHS2g59/LB5S/fyL4xjWZT62ko5M2CWL2C6OJMtHfGX40dOiDQWPCA5/jWFsduo29y/F/e7HRpNjc7uZYqw8/dlp8935z1yvex1S81R1Q4CDKjG4G808aaE6kgb0dVUulYJ1aaYM5YFa+6tI6RmRiubmj3txAFyKObsVFR X-MS-Exchange-AntiSpam-MessageData: Ju5qFR/ke4gQUuhvp2KX00PT9LsoNdQ1q6J4c8DPaHJh/yLYuzc0Nb5rbMW87mMCLJG6HiQ9RX0O8otwOSjVzuECiq9MLB5Arf8P5up8DwPt3D7mNbGPxq2qWgqibR02v7KNireusWU8lxeAPV8ZLsbszBkppfIKZTwoIaaTz/WOKMr2kktOWOTK6Ri/P+uIkD7QR/e+aqRVB5MtRTUdqumDwIhkNqdut3zWR+eyROgC9uK77Ta8obVzSYTVFJ+l462XU9XXV4NKzvFxVEbmzGLACzRY5ejbHUbgQ9sIxE0ExBSKJ68hNIhUsFySP8HnXkQdnh1YQ+xbj7mRnnaw/JqjoOG3NB4NSCRE/auQ05NhzCTZd3ieeXIzq8YS+rb4RsjorBCcVIfZ2nC5ZxttRLm/7b+dvfxHNBVIyU6jldEt23FJCzNK32V04lnnaQGyC9Q7H7CSpwevV/HPyTJM9AN4lNAqmY+V5K+K90diArw2WSKJW7t4xUoQCYXGwbpw+uL3kQANNJg40v4I4IFyHNLCd2/AAlk/1TkEElUIOt0uaTQGNS6ySvzxSoHFQ3FOSxv81fyMyn86TNUwVksHuAFMtpl8Pl/3oPRBgNO3EOdUA+3H6RGai3etFE1sHirfScpUFEZufcOGQiDYeR4pIkcFIeVvdD+16dQui86EcpG98a/5ZhZucPhHqLFyhLLvBClMzqckcJHp6lQtEJEa2J4FHfUMpUWbQTEf9KqiesPO4li1UWJDc/rDf+9vLCctjLNBBInvVRyu1MejsBIEf7oOA+sJph4rvw/xJLPvlD0= X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 386ddd8f-ea66-467f-486e-08d7ecca9746 X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 Apr 2020 05:51:56.4097 (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: Gou9kloFTwviz4Max+09I24o/T8th+N8OCZ4jtOV6P4eOE1uB8w95KYe4NeXBPlfUgDQAGkspQyLjqCJ/8nadw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB4429 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 Reviewed-by: Leif Lindholm --- Notes: V4: - No change =20 V3: - Moved commit three commits before in series Silicon/NXP/Include/Library/SocLib.h | 8 +++= +++++ Platform/NXP/LS1043aRdbPkg/Library/ArmPlatformLib/ArmPlatformLib.c | 2 -- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/Silicon/NXP/Include/Library/SocLib.h b/Silicon/NXP/Include/Lib= rary/SocLib.h index fc4d786c710b..7b25107e4746 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__ diff --git a/Platform/NXP/LS1043aRdbPkg/Library/ArmPlatformLib/ArmPlatformL= ib.c b/Platform/NXP/LS1043aRdbPkg/Library/ArmPlatformLib/ArmPlatformLib.c index 7f5872a78cfc..a554d1377484 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 --=20 2.17.1