From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from EUR01-DB5-obe.outbound.protection.outlook.com (EUR01-DB5-obe.outbound.protection.outlook.com [40.107.15.71]) by mx.groups.io with SMTP id smtpd.web12.499.1635270048923939261 for ; Tue, 26 Oct 2021 10:40:49 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@armh.onmicrosoft.com header.s=selector2-armh-onmicrosoft-com header.b=G7tRpVfo; spf=pass (domain: arm.com, ip: 40.107.15.71, mailfrom: khasim.mohammed@arm.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=NyHTINHH0r691K4ii7ogD5F/+1Ii4xd/gIv+vaJsIpg=; b=G7tRpVfoYBSg0inVZLpVGNVVuHlm9OqyYc2yBGvfHyrXLCPq5tSw5eiYQTM6Jj9gtSSiwYZLhmsoFYKRLmH8YK/IK/Ek2zVVBFhcDI6tjqWFMSi8gpxTr5Cg6jEWJ3eGIU0oef7+SRhiRTYdFq/5K+AR3kWwJ1TIFYYU2/OEfKQ= Received: from AM5PR0601CA0052.eurprd06.prod.outlook.com (2603:10a6:206::17) by VE1PR08MB5662.eurprd08.prod.outlook.com (2603:10a6:800:1a9::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4628.20; Tue, 26 Oct 2021 17:40:44 +0000 Received: from VE1EUR03FT021.eop-EUR03.prod.protection.outlook.com (2603:10a6:206:0:cafe::bd) by AM5PR0601CA0052.outlook.office365.com (2603:10a6:206::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4628.22 via Frontend Transport; Tue, 26 Oct 2021 17:40:43 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;dmarc=pass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 63.35.35.123 as permitted sender) receiver=protection.outlook.com; client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com; Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by VE1EUR03FT021.mail.protection.outlook.com (10.152.18.117) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4628.16 via Frontend Transport; Tue, 26 Oct 2021 17:40:43 +0000 Received: ("Tessian outbound e27daf245730:v103"); Tue, 26 Oct 2021 17:40:43 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 62d12e4feeb20c17 X-CR-MTA-TID: 64aa7808 Received: from 760989977a4b.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 04767A86-313C-467C-99B3-2D96CA939F4C.1; Tue, 26 Oct 2021 17:40:32 +0000 Received: from EUR05-AM6-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 760989977a4b.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Tue, 26 Oct 2021 17:40:32 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=hZn9QY2YRyBS35wAkTLJ43jy6GtSS2biY/tGJFjW1GMJr1jHc9x5m6mGWEBETW7g6hlpnJJajCpXtKQQ73HoIs7krLUakreqevfqwVAo1eEcdQSZschoh2lzy0SnIImSPGW9HOCwp7jKhVnruG9RNSRlwiEtgr+KnU2T8/mMsf380fcKdbEDWllgjGKGf7ZHgcwa6xcHh92Gp4g2RH1YCkL1cWdhjkGDhFHpfQCi4eNkHm+i20ZIPGw49/HmwCtpr+rBnvyYrlcIZDSK3c9bkbmqDKweek+BhAtIKhPt0o+XI+B/QgN7PUPQ/o4IcnPwco6nkeZ7pBQgF3bJy2oOnw== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=NyHTINHH0r691K4ii7ogD5F/+1Ii4xd/gIv+vaJsIpg=; b=KGl9W3UZ753YhUcDH+7AjU2DB4cAyEMbXiGfwoTEZsRNpXDsKmPsy8LFdP56MTffQOGGsNc74SA71DNGy+wCJJVAZnquwt8FX6OsGLvtcCNY3qrXU9/26zS0zFSEm157slywsYTOV1OvsC6nax6aOrAjXuQyC1zONQmI9Txt9qqqCdxjOJKfbVheN+N8P0/cflUNUkVen18TyKUM5HvppxS275BDmqXYkTL0RH0IvScV9iwmk1BDf7VL+9fMdQegkUzmBkkBO9frnjmhanDawUnjTerfnRsg9FdZ2opXDbS1FfZCvT6UCf5X+9rGmFuSaUIvjWPuavw4nfHB0mlUmw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=NyHTINHH0r691K4ii7ogD5F/+1Ii4xd/gIv+vaJsIpg=; b=G7tRpVfoYBSg0inVZLpVGNVVuHlm9OqyYc2yBGvfHyrXLCPq5tSw5eiYQTM6Jj9gtSSiwYZLhmsoFYKRLmH8YK/IK/Ek2zVVBFhcDI6tjqWFMSi8gpxTr5Cg6jEWJ3eGIU0oef7+SRhiRTYdFq/5K+AR3kWwJ1TIFYYU2/OEfKQ= Authentication-Results-Original: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com; Received: from PA4PR08MB5902.eurprd08.prod.outlook.com (2603:10a6:102:e0::10) by PAXPR08MB6864.eurprd08.prod.outlook.com (2603:10a6:102:132::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4628.18; Tue, 26 Oct 2021 17:40:29 +0000 Received: from PA4PR08MB5902.eurprd08.prod.outlook.com ([fe80::e5a7:9474:4463:d258]) by PA4PR08MB5902.eurprd08.prod.outlook.com ([fe80::e5a7:9474:4463:d258%2]) with mapi id 15.20.4628.020; Tue, 26 Oct 2021 17:40:29 +0000 From: "Khasim Mohammed" To: devel@edk2.groups.io Cc: nd@arm.com, Khasim Syed Mohammed , Deepak Pandey Subject: [PATCH v4 4/7] Platform/ARM/N1Sdp: Enable N1Sdp platform specific configurations Date: Tue, 26 Oct 2021 23:09:56 +0530 Message-Id: <20211026173959.15742-4-khasim.mohammed@arm.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20211026173959.15742-1-khasim.mohammed@arm.com> References: <20211026173959.15742-1-khasim.mohammed@arm.com> X-ClientProxiedBy: LNXP265CA0004.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:5e::16) To PA4PR08MB5902.eurprd08.prod.outlook.com (2603:10a6:102:e0::10) MIME-Version: 1.0 Received: from e116623.arm.com (217.140.99.251) by LNXP265CA0004.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:5e::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4628.22 via Frontend Transport; Tue, 26 Oct 2021 17:40:28 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 65b72cbe-e74c-4110-e125-08d998a7bc5c X-MS-TrafficTypeDiagnostic: PAXPR08MB6864:|VE1PR08MB5662: X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true NoDisclaimer: true X-MS-Oob-TLC-OOBClassifiers: OLM:1388;OLM:1388; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: 4q0IwI8dY+i89Jpp8eeS/V4x2N6byvy4huSreH0yFKx+tCMLyudAI1uN5P7Zh5Whtj+nZuyq2Q6j9ZqN63+S/It6ZjOZkNtahMUwDX+fNR4oCzXIu9KtVsFKLuGWDTx/20lPakok1gt4CamMkzRJvlJtJTOS1iYf1HA1vPCtW+DJF2KNKl384pjOENZUlGtgQuuq/Sem1p4DJ+LUC+GgFozZfxLC+4yemKQivcjsRZGTkVuXtyRUtYg9tB3cDWWBwIzK/ORAKtsONdTBkwDHO7LhpwGLnRk/tIV9Q0UT1pXpCMjHWv8ZzSjEBeCYnsOPhX9CZCNplahht9IbKf3MpeK0onfzU+MMEpTLA3YHlgirc9zObGoXiurlfeR/sXAQ3xe50otZ/ZLbkmPcCLRZ3v35tEboOZSX77hy6srpsdyn8C5o+EBDEiEdgoroSdUS28sjHFifGWxUAeguEeBv7sPZk6b/MB/JIY1guLltCSiApO+bZAesVFI6pgXmxFG0iTHP4l0gjXi0Jj8YCNGyFDpW7mFuLFRpq2Rfpiux2jWuHul3rbTy4KqXYFedVP0WMYuigdF0bBJ1KC+D+0UG57vJL6SN1AQQCK0hoHITWtY77mprynRNlMzjFYA2OgMfjn0B1mKIMvM+HAFDqZbmrCOJmZmt+CA1v7dU5Tg8VOqED+vQbv4/JnxUcgWruefD9y6J8vG2qnHUPE1AJSP4hWoWZnLpPpwPSAMtN8LMWHk= X-Forefront-Antispam-Report-Untrusted: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PA4PR08MB5902.eurprd08.prod.outlook.com;PTR:;CAT:NONE;SFS:(4636009)(366004)(19627235002)(508600001)(4326008)(956004)(26005)(2906002)(186003)(6486002)(5660300002)(8936002)(6916009)(83380400001)(1076003)(7696005)(52116002)(316002)(36756003)(6666004)(2616005)(8676002)(54906003)(86362001)(66556008)(66476007)(66946007)(38100700002)(38350700002)(32563001);DIR:OUT;SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR08MB6864 Original-Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com; Return-Path: Khasim.Mohammed@arm.com X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: VE1EUR03FT021.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: 0febfed7-2574-4b02-d8e3-08d998a7b3d0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: QDQF1G6GOxlsHjeryOdP80wDNUMP/p4QqI54cP1IsAU4jh63KrVsTTaPyIlYtpXRfyapF1qWVQxdcGMWrAiZAkxtATSCs7V3KnIwkLxg6jRiuqn0lM39oaPtEdmCHlWzBx4Cynu7v9m6nOdB4cdHv2MmBme/uIcfxcrDwKAfopjzb0D/Wm7vKrqiCPHoOYscQ8Wlr6wn+RM5jHwIBv7602HzkA468lSjZWkOvXZbsQk4mcPOrKj4sLVOqYhxOSH7aQhXSTs7pvlhcFM3tjdPHjSgonnUEeOd8t8JHwQjnel1Lb+eK7l5lmYjQqPXVnBogW48X6Ayjmmd/X8FxL2ANY13IDjOdPDlthPPHrdbL8Sm7p+QyA/PiDVwz/IwM7/M9tY+DfT7Srw3FItKbFsgCNRb3bpWh7TcTnLGwjXYuLAQW5QKQ2iwtLjUDRtjh9rrxdoMs5hQQJQUyTWAhWrmxvupuNyQaKDn9hZf2pqscQidti4q0ILkdZbhB2diWCf0mWLJig8UIPC7tuvTMiizuw3V2drslzjyoKnVVFI6nDy+i3ndB3dmFih4HQXp22HQCx05Kz+fz1+m+E4IC0atNtaxy99luetdfBbAKIpt5dWomRaIFFbiSzBZplrDsi1vyx5MVFyrZP8az2exl8e4MjUpUzGON5S7LD9uTYJwE9zxpDKryEe+uiTxHVp2HOqeTkfP7cU6rHve697HkNkXmZp2WGLepBzHrdvHipFbR0s= X-Forefront-Antispam-Report: CIP:63.35.35.123;CTRY:IE;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:64aa7808-outbound-1.mta.getcheckrecipient.com;PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com;CAT:NONE;SFS:(4636009)(36840700001)(46966006)(8676002)(86362001)(7696005)(6486002)(186003)(19627235002)(2616005)(36860700001)(26005)(336012)(8936002)(82310400003)(956004)(316002)(6666004)(83380400001)(47076005)(70206006)(6916009)(70586007)(356005)(1076003)(2906002)(508600001)(36756003)(4326008)(81166007)(54906003)(5660300002)(32563001);DIR:OUT;SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Oct 2021 17:40:43.5340 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 65b72cbe-e74c-4110-e125-08d998a7bc5c X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d;Ip=[63.35.35.123];Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com] X-MS-Exchange-CrossTenant-AuthSource: VE1EUR03FT021.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1PR08MB5662 Content-Type: text/plain This patch adds PCDs and updates the fdf file for N1Sdp platform specific configurations. Signed-off-by: Deepak Pandey Signed-off-by: Khasim Syed Mohammed --- Platform/ARM/N1Sdp/N1SdpPlatform.dec | 98 ++++++++++++++++++++++++++++ Platform/ARM/N1Sdp/N1SdpPlatform.dsc | 37 ++++++++++- Platform/ARM/N1Sdp/N1SdpPlatform.fdf | 13 +++- 3 files changed, 144 insertions(+), 4 deletions(-) create mode 100644 Platform/ARM/N1Sdp/N1SdpPlatform.dec diff --git a/Platform/ARM/N1Sdp/N1SdpPlatform.dec b/Platform/ARM/N1Sdp/N1SdpPlatform.dec new file mode 100644 index 0000000000..d56891b985 --- /dev/null +++ b/Platform/ARM/N1Sdp/N1SdpPlatform.dec @@ -0,0 +1,98 @@ +## @file +# Describes the N1Sdp configuration. +# +# Copyright (c) 2021, ARM Limited. All rights reserved.
+# +# SPDX-License-Identifier: BSD-2-Clause-Patent +## + +[Defines] + DEC_SPECIFICATION = 0x0001001A + PACKAGE_NAME = N1SdpPlatform + PACKAGE_GUID = 29aacb23-61e8-4fe2-8a06-793537cd26e9 + PACKAGE_VERSION = 0.1 + +################################################################################ +# +# Include Section - list of Include Paths that are provided by this package. +# Comments are used for Keywords and Module Types. +# +# Supported Module Types: +# BASE SEC PEI_CORE PEIM DXE_CORE DXE_DRIVER DXE_RUNTIME_DRIVER DXE_SMM_DRIVER DXE_SAL_DRIVER UEFI_DRIVER UEFI_APPLICATION +# +################################################################################ +[Includes.common] + +[LibraryClasses] + ArmPlatformLib|Silicon/ARM/NeoverseN1Soc/Library/PlatformLib/PlatformLib.inf + +[Guids.common] + gArmN1SdpTokenSpaceGuid = { 0xd8f1624a, 0x98c1, 0x4f64, { 0xa6, 0x41, 0x19, 0x5e, 0xb5, 0x3b, 0x26, 0x0f } } + +[PcdsFixedAtBuild] + gArmN1SdpTokenSpaceGuid.PcdRamDiskBase|0x88000000|UINT32|0x00000001 + gArmN1SdpTokenSpaceGuid.PcdRamDiskSize|0x18000000|UINT32|0x00000002 + + # PCIe + gArmN1SdpTokenSpaceGuid.PcdPcieExpressBaseAddress|0x70000000|UINT32|0x00000007 + + # External memory + gArmNeoverseN1SocTokenSpaceGuid.PcdExtMemorySpace|0|UINT64|0x00000029 + +[PcdsFeatureFlag.common] + gArmN1SdpTokenSpaceGuid.PcdRamDiskSupported|FALSE|BOOLEAN|0x00000003 + +[PcdsFixedAtBuild.common] + # CoreSight Debug and Trace components + # CoreSight ETMs + gArmN1SdpTokenSpaceGuid.PcdCsEtm0Base|0x402040000|UINT64|0x0000002D + gArmN1SdpTokenSpaceGuid.PcdCsEtm0MaxBase|0x402040FFF|UINT64|0x0000002E + gArmN1SdpTokenSpaceGuid.PcdCsEtm1Base|0x402140000|UINT64|0x0000002F + gArmN1SdpTokenSpaceGuid.PcdCsEtm1MaxBase|0x402140FFF|UINT64|0x00000030 + gArmN1SdpTokenSpaceGuid.PcdCsEtm2Base|0x403040000|UINT64|0x00000031 + gArmN1SdpTokenSpaceGuid.PcdCsEtm2MaxBase|0x403040FFF|UINT64|0x00000032 + gArmN1SdpTokenSpaceGuid.PcdCsEtm3Base|0x403140000|UINT64|0x00000033 + gArmN1SdpTokenSpaceGuid.PcdCsEtm3MaxBase|0x403140FFF|UINT64|0x00000034 + + # CoreSight TMC (ETRs/ETFs/ETBs) + gArmN1SdpTokenSpaceGuid.PcdCsEtf0Base|0x400410000|UINT64|0x00000035 + gArmN1SdpTokenSpaceGuid.PcdCsEtf0MaxBase|0x400410FFF|UINT64|0x00000036 + gArmN1SdpTokenSpaceGuid.PcdCsEtf1Base|0x400420000|UINT64|0x00000037 + gArmN1SdpTokenSpaceGuid.PcdCsEtf1MaxBase|0x400420FFF|UINT64|0x00000038 + gArmN1SdpTokenSpaceGuid.PcdCsEtf2Base|0x400010000|UINT64|0x00000039 + gArmN1SdpTokenSpaceGuid.PcdCsEtf2MaxBase|0x400010FFF|UINT64|0x0000003A + gArmN1SdpTokenSpaceGuid.PcdCsEtrBase|0x400120000|UINT64|0x00000043 + gArmN1SdpTokenSpaceGuid.PcdCsEtrMaxBase|0x400120FFF|UINT64|0x00000044 + + # CoreSight Dynamic Funnel(s) + gArmN1SdpTokenSpaceGuid.PcdCsFunnel0Base|0x4000B0000|UINT64|0x0000003B + gArmN1SdpTokenSpaceGuid.PcdCsFunnel0MaxBase|0x4000B0FFF|UINT64|0x0000003C + gArmN1SdpTokenSpaceGuid.PcdCsFunnel1Base|0x4000A0000|UINT64|0x0000003D + gArmN1SdpTokenSpaceGuid.PcdCsFunnel1MaxBase|0x4000A0FFF|UINT64|0x0000003E + + # CoreSight Dynamic Replicator(s) + gArmN1SdpTokenSpaceGuid.PcdCsReplicatorBase|0x400110000|UINT64|0x0000003F + gArmN1SdpTokenSpaceGuid.PcdCsReplicatorMaxBase|0x400110FFF|UINT64|0x00000040 + + # CoreSight TPIU + gArmN1SdpTokenSpaceGuid.PcdCsTpiuBase|0x400130000|UINT64|0x00000041 + gArmN1SdpTokenSpaceGuid.PcdCsTpiuMaxBase|0x400130FFF|UINT64|0x00000042 + + # CoreSight STM and STM Stimulus + gArmN1SdpTokenSpaceGuid.PcdCsStmBase|0x400800000|UINT64|0x00000045 + gArmN1SdpTokenSpaceGuid.PcdCsStmMaxBase|0x400800FFF|UINT64|0x00000046 + gArmN1SdpTokenSpaceGuid.PcdCsStmStimulusBase|0x4D000000|UINT32|0x00000047 + gArmN1SdpTokenSpaceGuid.PcdCsStmStimulusSize|0x1000000|UINT32|0x00000048 + + # CoreSight Components' Size + # + # Newton TRMs specify the size for these coresight components as 64K. + # The actual size is just 4K though 64K is reserved. Access to the + # unmapped reserved region results in a DECERR response. + # + gArmN1SdpTokenSpaceGuid.PcdCsComponentSize|0x1000|UINT32|0x00000049 + + # Remote Chip PCIe + gArmN1SdpTokenSpaceGuid.PcdRemotePcieIoTranslation|0x40075200000|UINT64|0x0000004A + gArmN1SdpTokenSpaceGuid.PcdRemotePcieMmio32Translation|0x40000000000|UINT64|0x0000004B + gArmN1SdpTokenSpaceGuid.PcdRemotePcieMmio64Translation|0x40000000000|UINT64|0x0000004C diff --git a/Platform/ARM/N1Sdp/N1SdpPlatform.dsc b/Platform/ARM/N1Sdp/N1SdpPlatform.dsc index 61e7a909f8..0bc3fa6dfe 100644 --- a/Platform/ARM/N1Sdp/N1SdpPlatform.dsc +++ b/Platform/ARM/N1Sdp/N1SdpPlatform.dsc @@ -1,8 +1,18 @@ +## @file +# Component Description File for N1Sdp # -# Copyright (c) 2018 - 2020, ARM Limited. All rights reserved. +# This provides platform specific component descriptions and libraries that +# conform to EFI/Framework standards. # -# SPDX-License-Identifier: BSD-2-Clause-Patent +# Copyright (c) 2018 - 2021, ARM Limited. All rights reserved.
# +# SPDX-License-Identifier: BSD-2-Clause-Patent +# +# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, +# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR +# IMPLIED. +# +## ################################################################################ # @@ -33,6 +43,9 @@ TimerLib|ArmPkg/Library/ArmArchTimerLib/ArmArchTimerLib.inf UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf + # file explorer library support + FileExplorerLib|MdeModulePkg/Library/FileExplorerLib/FileExplorerLib.inf + [LibraryClasses.common.SEC] HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf @@ -71,6 +84,9 @@ [LibraryClasses.common.DXE_RUNTIME_DRIVER] BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf +!if $(TARGET) != RELEASE + DebugLib|MdePkg/Library/DxeRuntimeDebugLibSerialPort/DxeRuntimeDebugLibSerialPort.inf +!endif [LibraryClasses.common.UEFI_DRIVER, LibraryClasses.common.UEFI_APPLICATION, LibraryClasses.common.DXE_RUNTIME_DRIVER, LibraryClasses.common.DXE_DRIVER] PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf @@ -82,11 +98,16 @@ ################################################################################ [PcdsFeatureFlag.common] + gArmN1SdpTokenSpaceGuid.PcdRamDiskSupported|TRUE gEfiMdeModulePkgTokenSpaceGuid.PcdTurnOffUsbLegacySupport|TRUE [PcdsFixedAtBuild.common] gArmTokenSpaceGuid.PcdVFPEnabled|1 + # RAM Disk + gArmN1SdpTokenSpaceGuid.PcdRamDiskBase|0x88000000 + gArmN1SdpTokenSpaceGuid.PcdRamDiskSize|0x18000000 + # Stacks for MPCores in Normal World gArmPlatformTokenSpaceGuid.PcdCPUCoresStackBase|0x80000000 gArmPlatformTokenSpaceGuid.PcdCPUCorePrimaryStackSize|0x40000 @@ -99,6 +120,9 @@ # Secondary DDR memory gArmNeoverseN1SocTokenSpaceGuid.PcdDramBlock2Base|0x8080000000 + # External memory + gArmNeoverseN1SocTokenSpaceGuid.PcdExtMemorySpace|0x40000000000 + # GIC Base Addresses gArmTokenSpaceGuid.PcdGicInterruptInterfaceBase|0x2C000000 gArmTokenSpaceGuid.PcdGicDistributorBase|0x30000000 @@ -198,6 +222,9 @@ BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf } + # Platform driver + Platform/ARM/N1Sdp/Drivers/PlatformDxe/PlatformDxe.inf + # Human Interface Support MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf @@ -236,6 +263,9 @@ # SATA Controller MdeModulePkg/Bus/Pci/SataControllerDxe/SataControllerDxe.inf + # NVMe boot devices + MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf + # Usb Support MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf @@ -244,3 +274,6 @@ MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf MdeModulePkg/Bus/Pci/NonDiscoverablePciDeviceDxe/NonDiscoverablePciDeviceDxe.inf + + # RAM Disk + MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskDxe.inf diff --git a/Platform/ARM/N1Sdp/N1SdpPlatform.fdf b/Platform/ARM/N1Sdp/N1SdpPlatform.fdf index c4e1f7b4b8..6b097438ad 100644 --- a/Platform/ARM/N1Sdp/N1SdpPlatform.fdf +++ b/Platform/ARM/N1Sdp/N1SdpPlatform.fdf @@ -1,8 +1,10 @@ +## @file +# FDF file of N1Sdp # -# Copyright (c) 2018 - 2020, ARM Limited. All rights reserved. +# Copyright (c) 2018 - 2021, ARM Limited. All rights reserved.
# # SPDX-License-Identifier: BSD-2-Clause-Patent -# +## ################################################################################ # @@ -109,6 +111,9 @@ READ_LOCK_STATUS = TRUE # SATA Controller INF MdeModulePkg/Bus/Pci/SataControllerDxe/SataControllerDxe.inf + # NVMe boot devices + INF MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf + # Usb Support INF MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf INF MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf @@ -137,10 +142,14 @@ READ_LOCK_STATUS = TRUE # FV FileSystem INF MdeModulePkg/Universal/FvSimpleFileSystemDxe/FvSimpleFileSystemDxe.inf + INF MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskDxe.inf # UEFI applications INF ShellPkg/Application/Shell/Shell.inf + # Platform driver + INF Platform/ARM/N1Sdp/Drivers/PlatformDxe/PlatformDxe.inf + # Bds INF MdeModulePkg/Application/UiApp/UiApp.inf INF MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf -- 2.17.1