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 []) by mx.groups.io with SMTP id smtpd.web11.1348.1581060233467145466 for ; Thu, 06 Feb 2020 23:23:57 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@nxp.com header.s=selector2 header.b=qk9x9Wad; spf=fail (domain: nxp.com, ip: , mailfrom: pankaj.bansal@nxp.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=DG3BWz7JQAzipfD7eAkhut8gYVtEvs0uKmMD8OhIeJK5nT/YcndFRsC9H+FFJUdzIgZFE+mOaovwkwIDys7jlZUemD17bNhsoj8ZcROls8Ni4Tzsul5q5nYgBQllJMEChd6BzNt6OVSbQhhTBuE+AesJxCp5WixjfELfMDw702tHD6xcgGcL5jnXn5Ijk+o7pz9z+VQGodkKA8gGb6uHx3jWRyJ/oMj/g6+q6oiNUE4uSrTGSvL3XRvMtpmpYEOp47T/RWfsABrjr8SWv1SAEpgbRt0XcK8jq8W38BhmuHQIrOA/RVAVVfo2OfL9T6Ud5Gd/JZ6RdLf3TaoE0Wvm3Q== 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=IDgg3Afd7apVJqlfinWnL9jWjSGxAGv7KNhIJ8Cfiek=; b=MrL2qXC7QBdusxqRXFy4p6+rB/ks1YaSf0HM+5LuKXMVpoGghWkSyt3B+T2fD9Ky61Rez/WX9CmiwFAoTPr6uyMYvk1AWI+uQI9Jw1khbuAXQhWGMEfvvNmJ+siI1oo+j9F2Za2YBLAMQdl3jzDLvQwV2I3zjwcPeVE1Hj46mEM5pKBdx5B5UwL3OjQQpLz3X/4HkcS9bMUXnt0pp1oBOzvDV02g8BSJNTPnOVMiAZ/QVUcwNIu2uWGB/RDJ75XH9j2qUT1M4l3WmGSrVZVy9TFizrwqIxNh8A3vqPR9+RLZAk5bZAFj/XCT9A92IaM41PmkzVNQ3HUS/AjVO0E01A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=IDgg3Afd7apVJqlfinWnL9jWjSGxAGv7KNhIJ8Cfiek=; b=qk9x9Wadl9D1BEvIrWAoYp3vyJ2sJUEEWWxDjWpYLk7RT7yJ19Bxr7779AQ2kcJCNExeJJI4eDFk9UvVe+/uUwAE9rWZLw/ht1/GRWwiJPQjyxWSpaPiZA3v8NbwBuaWspk1koYZDEON8DK+Qzjo9L+GkN4S1voTXRueRdY1u6s= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=pankaj.bansal@nxp.com; Received: from VI1PR0401MB2496.eurprd04.prod.outlook.com (10.168.65.10) by VI1PR0401MB2686.eurprd04.prod.outlook.com (10.168.67.146) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2707.21; Fri, 7 Feb 2020 07:23:55 +0000 Received: from VI1PR0401MB2496.eurprd04.prod.outlook.com ([fe80::8823:663d:c6ed:cbd6]) by VI1PR0401MB2496.eurprd04.prod.outlook.com ([fe80::8823:663d:c6ed:cbd6%12]) with mapi id 15.20.2686.036; Fri, 7 Feb 2020 07:23:55 +0000 From: "Pankaj Bansal" To: Leif Lindholm , Meenakshi Aggarwal , Michael D Kinney , Varun Sethi Cc: devel@edk2.groups.io, Pankaj Bansal Subject: [PATCH 03/19] NXP/LS1043aRdb: Move Soc specific components to soc files Date: Fri, 7 Feb 2020 18:13:12 +0530 Message-Id: <20200207124328.8723-4-pankaj.bansal@nxp.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200207124328.8723-1-pankaj.bansal@nxp.com> References: <20200207124328.8723-1-pankaj.bansal@nxp.com> X-ClientProxiedBy: PN1PR01CA0103.INDPRD01.PROD.OUTLOOK.COM (2603:1096:c00::19) To VI1PR0401MB2496.eurprd04.prod.outlook.com (2603:10a6:800:56::10) Return-Path: pankaj.bansal@nxp.com MIME-Version: 1.0 Received: from uefi-workstation.ap.freescale.net (92.120.1.69) by PN1PR01CA0103.INDPRD01.PROD.OUTLOOK.COM (2603:1096:c00::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2707.21 via Frontend Transport; Fri, 7 Feb 2020 07:23:53 +0000 X-Mailer: git-send-email 2.17.1 X-Originating-IP: [92.120.1.69] X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 9800b1e3-2ad3-4ce7-2300-08d7ab9eb096 X-MS-TrafficTypeDiagnostic: VI1PR0401MB2686:|VI1PR0401MB2686: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:2089; X-Forefront-PRVS: 0306EE2ED4 X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10009020)(4636009)(136003)(376002)(346002)(39860400002)(366004)(396003)(199004)(189003)(316002)(66556008)(66476007)(66946007)(5660300002)(44832011)(478600001)(2616005)(956004)(4326008)(52116002)(110136005)(26005)(6506007)(16526019)(186003)(1076003)(36756003)(8676002)(6512007)(6636002)(6666004)(19627235002)(81166006)(6486002)(81156014)(2906002)(86362001)(8936002);DIR:OUT;SFP:1101;SCL:1;SRVR:VI1PR0401MB2686;H:VI1PR0401MB2496.eurprd04.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; Received-SPF: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: DeLIq6yLQSFv7fD4JyNIu/ucey/qe/99SKmRccvuAwP53BpCeSVsFgXnnwzuHxbD1QH8ucL4NJ4CzvQ3sWGsvBwoo3QDBkr9aAV1/ytgtQ3UN2BfZCz+Hf65XGaZMoH1IKkVHsTENGyWDQQQoJsTqDxedMfKaSHkXhTflTo6A0glZ1PTG0HpCvlOywHKdt7Gpi5/KB/mjiOSxE1VYvvt/IxK225/yTK94z4uIUTgc9+ZNHkGcy+YOi1Wa8KQQqIEIfbBmGfxEhygj5Gyso0ulSTgrvVPz3BWUJvvLXzkdJeRHawjOVYmQI1QuhzYAiInHl79bjO025babQc7jX997aGZoiu+QOp/zB5fYDrgvKE1fpeQrUTRn46O+9/7IxWPJzActpSePYnq36Fy9xyAZm+EJBoAuweMc046wfUw/XQ4ABaEqeh9URk8vhp3Xvh+ X-MS-Exchange-AntiSpam-MessageData: DJa6gYrGgpzEPhrFvuY3i8COwJbdOHiVra7CNBiZKC06Op9TKw4AHh6Nn2ZeAivQtPHLgVyMTbZuWgH0sdVSWyaqvUGOA3UzUMtd8XhpgUQcSYLvINEAeQKPpagpCLcM+BO5ualL5cGFiApMuQIuZg== X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 9800b1e3-2ad3-4ce7-2300-08d7ab9eb096 X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Feb 2020 07:23:55.4345 (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: KZemDScQ1xD6Iyd71JxNBDNP34zSLS6N169i2dItnOWpxrxRiQtlseeVimq43bexWxTc0suzySwUtgA6Drq17g== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0401MB2686 Content-Type: text/plain 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 | 8 ++++++-- 3 files changed, 9 insertions(+), 8 deletions(-) diff --git a/Platform/NXP/LS1043aRdbPkg/LS1043aRdbPkg.dsc b/Platform/NXP/LS1043aRdbPkg/LS1043aRdbPkg.dsc index c810559353..802cccdce6 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 @@ !include Silicon/NXP/LS1043A/LS1043A.dsc.inc [LibraryClasses.common] - SocLib|Silicon/NXP/Library/SocLib/LS1043aSocLib.inf ArmPlatformLib|Platform/NXP/LS1043aRdbPkg/Library/PlatformLib/ArmPlatformLib.inf - ResetSystemLib|ArmPkg/Library/ArmSmcPsciResetSystemLib/ArmSmcPsciResetSystemLib.inf - SerialPortLib|Silicon/NXP/Library/DUartPortLib/DUartPortLib.inf - IoAccessLib|Silicon/NXP/Library/IoAccessLib/IoAccessLib.inf RealTimeClockLib|Silicon/Maxim/Library/Ds1307RtcLib/Ds1307RtcLib.inf [PcdsFixedAtBuild.common] @@ -46,7 +42,6 @@ # # Board Specific Pcds # - gEfiMdeModulePkgTokenSpaceGuid.PcdSerialRegisterBase|0x021c0500 gNxpQoriqLsTokenSpaceGuid.PcdSerdes2Enabled|FALSE gNxpQoriqLsTokenSpaceGuid.PcdPlatformFreqDiv|0x1 diff --git a/Platform/NXP/NxpQoriqLs.dsc.inc b/Platform/NXP/NxpQoriqLs.dsc.inc index b28e0615f7..94d3e53a04 100644 --- a/Platform/NXP/NxpQoriqLs.dsc.inc +++ b/Platform/NXP/NxpQoriqLs.dsc.inc @@ -95,6 +95,8 @@ ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf I2cLib|Silicon/NXP/Library/I2cLib/I2cLib.inf + ResetSystemLib|ArmPkg/Library/ArmSmcPsciResetSystemLib/ArmSmcPsciResetSystemLib.inf + IoAccessLib|Silicon/NXP/Library/IoAccessLib/IoAccessLib.inf [LibraryClasses.common.SEC] PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf diff --git a/Silicon/NXP/LS1043A/LS1043A.dsc.inc b/Silicon/NXP/LS1043A/LS1043A.dsc.inc index dbd680b0ad..8790db6ff8 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 # # +[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 @@ gArmTokenSpaceGuid.PcdGicInterruptInterfaceBase|0x01402000 [PcdsFixedAtBuild.common] + gEfiMdeModulePkgTokenSpaceGuid.PcdSerialRegisterBase|0x021c0500 # # CCSR Address Space and other attached Memories @@ -57,5 +62,4 @@ # gNxpQoriqLsTokenSpaceGuid.PcdGurBigEndian|TRUE gNxpQoriqLsTokenSpaceGuid.PcdWatchdogBigEndian|TRUE - ## -- 2.17.1