From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from EUR04-VI1-obe.outbound.protection.outlook.com (EUR04-VI1-obe.outbound.protection.outlook.com [40.107.8.88]) by mx.groups.io with SMTP id smtpd.web10.13800.1584628601339815556 for ; Thu, 19 Mar 2020 07:36:41 -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=G+4dUdOb; spf=pass (domain: oss.nxp.com, ip: 40.107.8.88, mailfrom: pankaj.bansal@oss.nxp.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=lQgxKhtl93ZT39Xzwi00Wed4fnnGOsmph46Rd4aswb8UsuMLRM4t/ua2pOn5coYJzU46J4KhZNcWSBCkairsY5+2HrZDqkKPMFcFH1BaiL8FEm9b1gTrnpHrA1rfhyaBt+jZ4qidWuPOiVkkt0bz9QkDKTuaJayOQVO4ZbYOCW80/5uKyEZKqoEPyXw4dg8NL1+LIW9dIQ24bI6ropYZjUvazLq9ElFgGo7S6exQyrpd3C5KE/iAtliaGIFaJqZLG/twnSSSHsYQ+5qhp3c5D20Qp6SgwMjXumrIAqdn11IUXYUnfDlrWSW6IY/qkrlE1eeAVCbWJSEASh1TQ8FZCg== 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=AI6Wyr3Ap2myWXvind9fzsvF7irBTIFM8TB3diwj4AM=; b=V3TPhUI7QrkPwB4nD1PjE7yr06suidqPnpHIDKWVZGQ6Ljx6Unp7sZ6rwKGIK8OB/6hkG5KqkK4TnaJ2vyt+JllSfXyMJJevCfEiRkRONVgZJRDfPej2DeMK16NYCFIrpq53TUcidKzQSsaS29MKcqTaBWNnNtqojGMfHU08O7dxCcoxvl6tKQTbldTw0Ir5RhaCrdqd6S7doGh0kgbCDGJaUoxRp91zhXmzledRwKp0JGHCA5hazMH5M2iqKn9ChLUKXza+mIMreohqTKga51W0eJurXy/3vVCLJAxWa26wFfrXjz4aK7QkflTtZiCdxPCvO5ycIrFYlzUa0FrfYw== 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=AI6Wyr3Ap2myWXvind9fzsvF7irBTIFM8TB3diwj4AM=; b=G+4dUdObyD+56cDR4icNjmBY7TJOQ627T2VgYu8qdOSLwAv61kknYgD9RRRnjRLhU0ojwwO7YazAXf7p3ND9kwfzzmrnEEqBjziPVWN07bLivoIKzjO3P2wRFPt+9c0xDhx28leVFv+HNwNmlfHogj1Nf7BFV9nLp9tN1se6dTI= 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 VI1PR0401MB2382.eurprd04.prod.outlook.com (10.169.130.151) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2814.21; Thu, 19 Mar 2020 14:36:39 +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:36:39 +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 06/28] NXP/LS1043aRdb: Move Soc specific components to soc files Date: Fri, 20 Mar 2020 20:05:21 +0530 Message-ID: <20200320143543.18615-7-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:36:36 +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: dcd1b43f-80ea-4208-4e73-08d7cc12ef11 X-MS-TrafficTypeDiagnostic: VI1PR0401MB2382:|VI1PR0401MB2382: X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:2089; X-Forefront-PRVS: 0347410860 X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10009020)(4636009)(376002)(396003)(346002)(136003)(366004)(39860400002)(199004)(6666004)(316002)(186003)(16526019)(6506007)(8676002)(81166006)(81156014)(478600001)(86362001)(44832011)(19627235002)(26005)(8936002)(6486002)(5660300002)(52116002)(6512007)(956004)(66946007)(110136005)(66476007)(2616005)(2906002)(66556008)(1076003);DIR:OUT;SFP:1101;SCL:1;SRVR:VI1PR0401MB2382;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: r2C2IqYIoT3GGTsAYGDHFzlnP+5OAdL/3pilkmhkO9f7I7k9aN0CyZL/CQVrEx4QA5G6QLMqVRPH3qISk67usSZZbI/23mUaFLCeYF+OfZ+3H+nKARbPukLvy3wYA5zkLm4OxRyBzvFtYNUxRJkk9wFB8GnmNMO2l/tFF0HuGyr13+HBfTXrENiDiFrlp4MF868Bhq+jX6t7hQ0GTDWf/OL6UgfdkPlByETXbGp/EutBna3blkYcJxbkUDad0ukayumlPGpr1y2bUhDbooOxrKpctfsm1JrTvf/LuDJRsvYcug/OOIwwzp0g6XfeUn9JJ0Bfk8Ij3R4C7mRnsS8STFy256Wu8BVKUJJMgaJDxuTNES6aBV7sHkWmW4x9NEIg3yxbtrQcjideBywJMW3y2RX0kZL0fPm60ai5mKVAMgbev3/1wntF8B+zXVoFu5P0 X-MS-Exchange-AntiSpam-MessageData: 3o9cSg2Usb26Acaj6evjVhwu1W4iVFPfTsMwe5iduzxGoFeWtMIYdW1U+VI0F725QAvNQVeriaKhiElfJnrXYKqAwOn3dvWDidgwDyyqQL0kGvdRyZ7zHiGtluVZHwmNF+3xK+YJI9AToPZhPJPH5A== X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: dcd1b43f-80ea-4208-4e73-08d7cc12ef11 X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Mar 2020 14:36:39.1569 (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: H/EWrLKcm7HrmURXS2FonywLFYZIuQEhqRZrWWOruFloZLf3qUL8QafsOfk/Wc11jgC1v9PW/EaEn3HcY4rGww== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0401MB2382 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain From: Pankaj Bansal Soc specific components ought to be part of Soc files and not platform files. move the same to SOC files Signed-off-by: Pankaj Bansal --- Platform/NXP/LS1043aRdbPkg/LS1043aRdbPkg.dsc | 7 +------ Platform/NXP/NxpQoriqLs.dsc.inc | 2 ++ Silicon/NXP/LS1043A/LS1043A.dsc.inc | 7 ++++++- 3 files changed, 9 insertions(+), 7 deletions(-) diff --git a/Platform/NXP/LS1043aRdbPkg/LS1043aRdbPkg.dsc b/Platform/NXP/LS= 1043aRdbPkg/LS1043aRdbPkg.dsc index c8105593533f..802cccdce63b 100644 --- a/Platform/NXP/LS1043aRdbPkg/LS1043aRdbPkg.dsc +++ b/Platform/NXP/LS1043aRdbPkg/LS1043aRdbPkg.dsc @@ -2,7 +2,7 @@ # # LS1043ARDB Board package. # -# Copyright 2017-2019 NXP +# Copyright 2017-2020 NXP # # SPDX-License-Identifier: BSD-2-Clause-Patent # @@ -26,11 +26,7 @@ [Defines] !include Silicon/NXP/LS1043A/LS1043A.dsc.inc =20 [LibraryClasses.common] - SocLib|Silicon/NXP/Library/SocLib/LS1043aSocLib.inf ArmPlatformLib|Platform/NXP/LS1043aRdbPkg/Library/PlatformLib/ArmPlatfor= mLib.inf - ResetSystemLib|ArmPkg/Library/ArmSmcPsciResetSystemLib/ArmSmcPsciResetSy= stemLib.inf - SerialPortLib|Silicon/NXP/Library/DUartPortLib/DUartPortLib.inf - IoAccessLib|Silicon/NXP/Library/IoAccessLib/IoAccessLib.inf RealTimeClockLib|Silicon/Maxim/Library/Ds1307RtcLib/Ds1307RtcLib.inf =20 [PcdsFixedAtBuild.common] @@ -46,7 +42,6 @@ [PcdsFixedAtBuild.common] # # Board Specific Pcds # - gEfiMdeModulePkgTokenSpaceGuid.PcdSerialRegisterBase|0x021c0500 gNxpQoriqLsTokenSpaceGuid.PcdSerdes2Enabled|FALSE gNxpQoriqLsTokenSpaceGuid.PcdPlatformFreqDiv|0x1 =20 diff --git a/Platform/NXP/NxpQoriqLs.dsc.inc b/Platform/NXP/NxpQoriqLs.dsc.= inc index b28e0615f7ca..94d3e53a046b 100644 --- a/Platform/NXP/NxpQoriqLs.dsc.inc +++ b/Platform/NXP/NxpQoriqLs.dsc.inc @@ -95,6 +95,8 @@ [LibraryClasses.common] ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeRepor= tStatusCodeLib.inf =20 I2cLib|Silicon/NXP/Library/I2cLib/I2cLib.inf + ResetSystemLib|ArmPkg/Library/ArmSmcPsciResetSystemLib/ArmSmcPsciResetSy= stemLib.inf + IoAccessLib|Silicon/NXP/Library/IoAccessLib/IoAccessLib.inf =20 [LibraryClasses.common.SEC] PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf diff --git a/Silicon/NXP/LS1043A/LS1043A.dsc.inc b/Silicon/NXP/LS1043A/LS10= 43A.dsc.inc index dbd680b0ad28..d2d4133428c3 100644 --- a/Silicon/NXP/LS1043A/LS1043A.dsc.inc +++ b/Silicon/NXP/LS1043A/LS1043A.dsc.inc @@ -1,12 +1,16 @@ # LS1043A.dsc # LS1043A Soc package. # -# Copyright 2017-2019 NXP +# Copyright 2017-2020 NXP # # SPDX-License-Identifier: BSD-2-Clause-Patent # # =20 +[LibraryClasses.common] + SocLib|Silicon/NXP/Library/SocLib/LS1043aSocLib.inf + SerialPortLib|Silicon/NXP/Library/DUartPortLib/DUartPortLib.inf + ##########################################################################= ###### # # Pcd Section - list of all EDK II PCD Entries defined by this Platform @@ -20,6 +24,7 @@ [PcdsDynamicDefault.common] gArmTokenSpaceGuid.PcdGicInterruptInterfaceBase|0x01402000 =20 [PcdsFixedAtBuild.common] + gEfiMdeModulePkgTokenSpaceGuid.PcdSerialRegisterBase|0x021c0500 =20 # # CCSR Address Space and other attached Memories --=20 2.17.1