From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from EUR01-VE1-obe.outbound.protection.outlook.com (EUR01-VE1-obe.outbound.protection.outlook.com [40.107.14.87]) by mx.groups.io with SMTP id smtpd.web12.9851.1586866544850479434 for ; Tue, 14 Apr 2020 05:15:45 -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=JjRaDMvb; spf=pass (domain: oss.nxp.com, ip: 40.107.14.87, mailfrom: pankaj.bansal@oss.nxp.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=f0/0d33grEFBCkgzY1U94XrL6PQc4Y9LjglFeIaWZZwCEA5MfD4InOPW6xosEPtvq6D4ko6+VHarc/ZkWFzyZ6o/nil54OAOGcUO4Q2eKygUXfN0LEigCQp+cCUvt+5Om76ldmMzGOyeG//BSE/L/Pxf6oj+M+0JJ13+vEU5wyQBSplTXIpEah6iMIFZCyDZvaZzeTOJdA0Ep2xALecs/yDkwhT53nAsP8GLz18AGvdXHPybkCjQWspy3vURL4H19SVZ1pEv1bBIT2uQsw74RuVw/uyECXJABV3QJOJWCpXRKfeXhuWgTdwwy9ror87nwx8scSdIEroX417w8oSvCg== 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=l+XJ/QOo+8413zt1Sg2/iO3Y2UnMSKYhKGgXO9WwAJ4=; b=hyZb5j5oJueTRwG9rFl/lXtlWko1cZ/XKZQyAW9PDK6G/9TXfc5NIR4TfM8DJrQmCrTlkD8mWXRCU6DEQomUj6wl6AIANNIpGm/mVqwTA8RaSSVzgjs6UQiepp6RpPVd1jhTwkIECfu/Ggc57y6P9rhAcJ9XzXu8zg17QUbNZhOXnlkPkGbjZ3g69V0rGFo0Fdw44OAf0GME8nlFmnmzwf6X4anoGi5ZCS6beWfW2RCTSZ6P6jm89qIde6bDYFBST7uCZ3a+V9Ly9yBCVuPePnWsZ7y9kaPg5bjrtS8knMYFlKLK7Lp6HtW3ah3nAWD4gJP2GpTROKsj2hi+Mpr9ug== 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=l+XJ/QOo+8413zt1Sg2/iO3Y2UnMSKYhKGgXO9WwAJ4=; b=JjRaDMvbGgSFwZL5yjeSA2cvDTtHD3yNNRzoK1vRwb/RDsmEKaTQC2RQZP+ZCZFqEn7eswdlBTHa0/zkaimkknkhAwGVy0t/89+kVV9pMhLf0hnHl7N0ahdkNN9Boabjx7f+TL28wEoiK8z+C6lu8wPCx9I1WyWgQJW6ExcrbGk= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=pankaj.bansal@oss.nxp.com; Received: from VI1PR04MB5933.eurprd04.prod.outlook.com (2603:10a6:803:ec::16) by VI1PR04MB4461.eurprd04.prod.outlook.com (2603:10a6:803:70::33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2900.28; Tue, 14 Apr 2020 12:15:42 +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.2900.028; Tue, 14 Apr 2020 12:15:42 +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 v3 19/24] NXP/LS1043aRdbPkg/ArmPlatformLib: Remove extern SocInit Date: Wed, 15 Apr 2020 17:43:37 +0530 Message-ID: <20200415121342.9246-20-pankaj.bansal@oss.nxp.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200415121342.9246-1-pankaj.bansal@oss.nxp.com> References: <20200415121342.9246-1-pankaj.bansal@oss.nxp.com> X-ClientProxiedBy: SG2PR01CA0092.apcprd01.prod.exchangelabs.com (2603:1096:3:15::18) 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 SG2PR01CA0092.apcprd01.prod.exchangelabs.com (2603:1096:3:15::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2900.15 via Frontend Transport; Tue, 14 Apr 2020 12:15:39 +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: 56f4f26f-6795-4395-94e4-08d7e06d8d3f X-MS-TrafficTypeDiagnostic: VI1PR04MB4461:|VI1PR04MB4461: 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: 0373D94D15 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:(10009020)(4636009)(376002)(366004)(346002)(136003)(39850400004)(396003)(1076003)(186003)(8936002)(16526019)(86362001)(110136005)(26005)(478600001)(81156014)(8676002)(6512007)(66946007)(316002)(44832011)(66476007)(66556008)(52116002)(5660300002)(2906002)(6486002)(6506007)(956004)(2616005);DIR:OUT;SFP:1101; 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: 2hNea+pFZd46/wdxYzmiRlojEUbcYzXpHeck0Ws6tqGjGyzAayzicjzECYEpQ0Aq40RCtzGXw4z1LOXemrnpIC72Nr2CUJCIszmnMBAkKXhjE6NEhTlK8rAg8CzrA1Q5fe+YWHhobhdBAyWZvQ4c4+V3725QCPW9jmhU2yr8Ce4N0nZYpRzUMuFMAjMB7Q9SMusjgaRag9u8/CgS6WqIKZpX/c+oHB68Yvt5IC8YBENw64hqPVhMMGXxCWKvloK9f8b88NEjWwB+Xj4AVk2fcRDn0pPRF8TLvOIfsk9cPFLOyEDAq4UjCXpVMAq2zdkMj+7aHQ4kt4ld+H/bEcPjdO9QP3WN3Nagkgk1eWjZf/ffI4NqEAxS/tuSmm/a4bFTgVU7d7eM1REFCdSyU0+4w+3O6DimL+KPyazFwqYkJqxLQNlMPdD/aMPrhYVrtr3t X-MS-Exchange-AntiSpam-MessageData: LviHl0GibU+3MADX9zrE0hpxiD6taMc9/0o0h7RoItc5NMNqmOUXdEpdQsZQwoqgpxlMVpPIwNveq4ISaUMm0hXXXKdgmFJbiajTpjS8wfjnald2I2zNHr44bCpA782C7D4xRh57JpVMiPvX6booqg== X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 56f4f26f-6795-4395-94e4-08d7e06d8d3f X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Apr 2020 12:15:42.5124 (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: j3C7QtYJKGCx9Wq8XFPr7FYnWUAmW4BFA8sf/auU6c//euVaTmrUqzpgpzLzaKWWFNvKRkPVPkAkxb6/VFpi5A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB4461 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: - 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 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__ 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