From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from EUR05-AM6-obe.outbound.protection.outlook.com (EUR05-AM6-obe.outbound.protection.outlook.com [40.107.22.66]) by mx.groups.io with SMTP id smtpd.web12.6312.1597309731179922210 for ; Thu, 13 Aug 2020 02:08:51 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@armh.onmicrosoft.com header.s=selector2-armh-onmicrosoft-com header.b=zTvSbPBo; spf=pass (domain: arm.com, ip: 40.107.22.66, mailfrom: sami.mujawar@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=Jf1QsG6qeiPmNPDPq6+jh++ledHg/kbH2m41Cj2GM2s=; b=zTvSbPBovQADk9sfC6SIpoHUT09jq5KHyskEnUhNK/kYU9Upgu1+IkZjddOOYsEphGZ2i2Al2cSmcJGWafm/ekYpi2US4/5EtLlgsK6cYGJcEfsIQTQAlLV2Q6YJVIQRko0Ccm7Xk69w55PURhDk4xqwMwVJ2JGnmnWEdNESgp4= Received: from AM5PR0601CA0081.eurprd06.prod.outlook.com (2603:10a6:206::46) by DBAPR08MB5813.eurprd08.prod.outlook.com (2603:10a6:10:1a5::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3261.16; Thu, 13 Aug 2020 09:08:48 +0000 Received: from AM5EUR03FT012.eop-EUR03.prod.protection.outlook.com (2603:10a6:206:0:cafe::a8) by AM5PR0601CA0081.outlook.office365.com (2603:10a6:206::46) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3283.16 via Frontend Transport; Thu, 13 Aug 2020 09:08:48 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; edk2.groups.io; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;edk2.groups.io; dmarc=bestguesspass 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 AM5EUR03FT012.mail.protection.outlook.com (10.152.16.161) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3283.16 via Frontend Transport; Thu, 13 Aug 2020 09:08:48 +0000 Received: ("Tessian outbound e8cdb8c6f386:v64"); Thu, 13 Aug 2020 09:08:48 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 6a89be56b121c794 X-CR-MTA-TID: 64aa7808 Received: from b73b0b61d5f6.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 1F3C4E13-76BA-468C-9C4F-E3382EFAB160.1; Thu, 13 Aug 2020 09:08:38 +0000 Received: from EUR02-AM5-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id b73b0b61d5f6.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Thu, 13 Aug 2020 09:08:38 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ZC2WYIfdqYNx/ONJFCVCRPx859thzEYWMfx+7A7amm4ttigk15R0+RMODBWcdOY6Db8vuvYUnvghVWG8MMQXfHgVHgGbyT5IEtbUcPPZp1n3kmTdUDXk1Lv7PRK/bG3SpU+llX2pMLbVLXZXMpNfUeIH/G+ZXXntX9/7u6js8+VqLFJqOpG0qNuC+mDpllAp5Fp4hNZ3dNqtquMd8m/Yuo2if5tX0qWS0wkQvZRPbphHNYzCjSzWBTh/Kg6Ah8Mn5qzNhBqVcGazfndECzrsLjPSfJDoI27om79yo63uxpJGFfYqmabJK2gYo03Shh2IjCxQnGuC3yyInPB+F6BGVg== 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=Jf1QsG6qeiPmNPDPq6+jh++ledHg/kbH2m41Cj2GM2s=; b=hJdzbyRAjF2+0PtqNxSchrkQd6/MuZdMb33zP1xoBfRRNhDjeAzrvW+IgXTY6B0+0X5drfByd/z2sZqPF2bn1N0p59Qoz69QjYT/dfK1HhHQYV8NAykTCss+vOPJWEHBn1uEPun6w4phabsCVeYuW6GwGt4EhlNw0xhgLV9fanjnMKucQ7QvOuc2/RCjb9ATSfB4XxZ1I8yHgNYlZRi2LVgCit/OodwQpPQe/u4gaBvsVaMqUUPkkyNLcVBE+tgUrg8ldN4homPkd1B0LHF3x3WOBW+KsYRvOGnT00FSuVV++h89TUIIR0oKGNyei8BwKdzSa7vMya7g7Cs44hhV1g== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 40.67.248.234) smtp.rcpttodomain=edk2.groups.io smtp.mailfrom=arm.com; dmarc=bestguesspass action=none header.from=arm.com; dkim=none (message not signed); 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=Jf1QsG6qeiPmNPDPq6+jh++ledHg/kbH2m41Cj2GM2s=; b=zTvSbPBovQADk9sfC6SIpoHUT09jq5KHyskEnUhNK/kYU9Upgu1+IkZjddOOYsEphGZ2i2Al2cSmcJGWafm/ekYpi2US4/5EtLlgsK6cYGJcEfsIQTQAlLV2Q6YJVIQRko0Ccm7Xk69w55PURhDk4xqwMwVJ2JGnmnWEdNESgp4= Received: from DB8PR04CA0008.eurprd04.prod.outlook.com (2603:10a6:10:110::18) by HE1PR0802MB2265.eurprd08.prod.outlook.com (2603:10a6:3:c0::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3261.20; Thu, 13 Aug 2020 09:08:36 +0000 Received: from DB5EUR03FT037.eop-EUR03.prod.protection.outlook.com (2603:10a6:10:110:cafe::8c) by DB8PR04CA0008.outlook.office365.com (2603:10a6:10:110::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3283.15 via Frontend Transport; Thu, 13 Aug 2020 09:08:36 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 40.67.248.234) smtp.mailfrom=arm.com; edk2.groups.io; dkim=none (message not signed) header.d=none;edk2.groups.io; dmarc=bestguesspass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 40.67.248.234 as permitted sender) receiver=protection.outlook.com; client-ip=40.67.248.234; helo=nebula.arm.com; Received: from nebula.arm.com (40.67.248.234) by DB5EUR03FT037.mail.protection.outlook.com (10.152.20.215) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.3283.16 via Frontend Transport; Thu, 13 Aug 2020 09:08:36 +0000 Received: from AZ-NEU-EX03.Arm.com (10.251.24.31) by AZ-NEU-EX04.Arm.com (10.251.24.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2044.4; Thu, 13 Aug 2020 09:08:26 +0000 Received: from E107187.Arm.com (10.57.42.181) by mail.arm.com (10.251.24.31) with Microsoft SMTP Server id 15.1.2044.4 via Frontend Transport; Thu, 13 Aug 2020 09:08:25 +0000 From: "Sami Mujawar" To: CC: Sami Mujawar , , , , , , , , Subject: [PATCH edk2-platforms v1 1/7] Platform/ARM/Juno: Remove SSDT UART table Date: Thu, 13 Aug 2020 10:08:17 +0100 Message-ID: <20200813090823.69908-2-sami.mujawar@arm.com> X-Mailer: git-send-email 2.11.0.windows.3 In-Reply-To: <20200813090823.69908-1-sami.mujawar@arm.com> References: <20200813090823.69908-1-sami.mujawar@arm.com> MIME-Version: 1.0 X-EOPAttributedMessage: 1 X-MS-Office365-Filtering-HT: Tenant X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 1f383ab8-4ba4-4191-3cab-08d83f687d78 X-MS-TrafficTypeDiagnostic: HE1PR0802MB2265:|DBAPR08MB5813: X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true NoDisclaimer: true X-MS-Oob-TLC-OOBClassifiers: OLM:8882;OLM:8882; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: HvzgSkejzv5gaBnhVxBizHHCLssZSr+5M81kTwd++/92cCrsCT5eDMSQUOQdrEwaH/Mg8CZgc87WydPbC0fEp9bS/BLRE097oGupYVQoJQkAs6zybj7rBQMVNGaY4v/9UcyJJdQ4A7CunyzkaG7UOip/XPjE9AiqzlPvUP4Kn06vtbA7MioHvqIeR9ckyu2qaYEpUuGhNKYVBr8QiGTmIUVaWngl13qvkbOeWj251AbZSYlhHNFDywa4c6SxUGf71EGu/4fYMm0OyRg4XNt2FVPDk0UHp1kE1O/HzMnZHJa7lgIhueXD1jdVJBgUpH6SpNQmvJmiPw5ui+BD1UiWUwDCs+yn+1QkgoxSd17La2UnOHC57ErC/z7vplpbvPDrLXs9ROSuyde55r7Afbw6xA== X-Forefront-Antispam-Report-Untrusted: CIP:40.67.248.234;CTRY:IE;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:nebula.arm.com;PTR:InfoDomainNonexistent;CAT:NONE;SFTY:;SFS:(4636009)(136003)(396003)(376002)(346002)(39860400002)(46966005)(4326008)(478600001)(86362001)(83380400001)(44832011)(26005)(70586007)(54906003)(426003)(82740400003)(82310400002)(6666004)(2616005)(81166007)(8936002)(1076003)(47076004)(36756003)(2906002)(6916009)(5660300002)(316002)(8676002)(356005)(336012)(186003)(70206006)(7696005);DIR:OUT;SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR0802MB2265 Return-Path: Sami.Mujawar@arm.com X-MS-Exchange-Transport-CrossTenantHeadersStripped: AM5EUR03FT012.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: 018ba0e5-1389-42a8-a711-08d83f6875fb X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: BnAIXbCUyR3INaXpcLY8W3HkduacTrBdkA/9husXXdyYilEMi0QlLr/vnpF+b/jpWQ61GZk18QkpwvsLJRqoFlveMaHp63dKaNvYRImfOm+ScN+oQahvaUVYSn0ThyLU396XwTEAL+hP2U8k2FYZYKLp9saThDUmF8bJ6dZYr2E48PdSMrMaIGuGBoM3au/km0gSYGH7uP+UWPLzYCwAh8vpb21WUBBrktBWO3rW5AUaNeX+rKtlPi/k2mS3w09N0HYYxwW3l6wtvx8XHKvg6ONixd7H6gNmwWbYM212+UQlDlAFszWO79OsJ15XJSzkhXO/1+zSIbn8ag+XOkDApIe1vg1YzXVxl99PH5YdSbJEizq+lXm6XO5uVxhEwljnjSqsuwB7cBzoX9iCe+qs/A== 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;SFTY:;SFS:(4636009)(396003)(136003)(39860400002)(376002)(346002)(46966005)(426003)(2616005)(8676002)(8936002)(44832011)(82740400003)(1076003)(47076004)(7696005)(336012)(316002)(70586007)(5660300002)(81166007)(36756003)(36906005)(6916009)(54906003)(2906002)(86362001)(478600001)(70206006)(186003)(6666004)(82310400002)(4326008)(26005)(83380400001);DIR:OUT;SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Aug 2020 09:08:48.6476 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 1f383ab8-4ba4-4191-3cab-08d83f687d78 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: AM5EUR03FT012.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBAPR08MB5813 Content-Type: text/plain With the introduction of Dynamic AML the DBG2 and SPCR port generators have been updates to generate the AML code for describing the Serial ports. This makes the UART description in the SSDT table redundant. This patch removes the SsdtUart.asl and makes the corresponding changes to the configuration manager. Change-Id: I232108a809b6a69f322acd23f7d2abcd99e3dfc5 Signed-off-by: Sami Mujawar --- Platform/ARM/JunoPkg/ConfigurationManager/ConfigurationManagerDxe/AslTables/SsdtUart.asl | 42 -------------------- Platform/ARM/JunoPkg/ConfigurationManager/ConfigurationManagerDxe/ConfigurationManager.c | 7 ---- Platform/ARM/JunoPkg/ConfigurationManager/ConfigurationManagerDxe/ConfigurationManager.h | 3 +- Platform/ARM/JunoPkg/ConfigurationManager/ConfigurationManagerDxe/ConfigurationManagerDxe.inf | 1 - 4 files changed, 1 insertion(+), 52 deletions(-) diff --git a/Platform/ARM/JunoPkg/ConfigurationManager/ConfigurationManagerDxe/AslTables/SsdtUart.asl b/Platform/ARM/JunoPkg/ConfigurationManager/ConfigurationManagerDxe/AslTables/SsdtUart.asl deleted file mode 100644 index 55a7ffc83fd6bb44ed9b9ca8b0a53e757aa2dd58..0000000000000000000000000000000000000000 --- a/Platform/ARM/JunoPkg/ConfigurationManager/ConfigurationManagerDxe/AslTables/SsdtUart.asl +++ /dev/null @@ -1,42 +0,0 @@ -/** @file - SSDT for UART - - Copyright (c) 2014 - 2019, ARM Ltd. All rights reserved.
- SPDX-License-Identifier: BSD-2-Clause-Patent - -**/ -#include "ArmPlatform.h" - -DefinitionBlock("SsdtUart.aml", "SSDT", 1, "ARMLTD", "ARM-JUNO", EFI_ACPI_ARM_OEM_REVISION) { - Scope(_SB) { - // UART PL011 - Device(COM2) { - Name(_HID, "ARMH0011") - Name(_CID, "PL011") - Name(_UID, Zero) - - Method(_STA) { - Return (0xF) - } - - Method(_CRS, 0x0, NotSerialized) { - Name(RBUF, ResourceTemplate() { - Memory32Fixed( - ReadWrite, - FixedPcdGet64 (PcdSerialRegisterBase), - 0x1000 - ) - Interrupt( - ResourceConsumer, - Level, - ActiveHigh, - Exclusive - ) { - FixedPcdGet32 (PL011UartInterrupt) - } - }) - Return (RBUF) - } - } - } -} diff --git a/Platform/ARM/JunoPkg/ConfigurationManager/ConfigurationManagerDxe/ConfigurationManager.c b/Platform/ARM/JunoPkg/ConfigurationManager/ConfigurationManagerDxe/ConfigurationManager.c index 913cffc9b994319065b5292b0d28970a0a0d8320..1d0bcc20b325911d4f1079e8394b20bfb4492507 100644 --- a/Platform/ARM/JunoPkg/ConfigurationManager/ConfigurationManagerDxe/ConfigurationManager.c +++ b/Platform/ARM/JunoPkg/ConfigurationManager/ConfigurationManagerDxe/ConfigurationManager.c @@ -83,13 +83,6 @@ EDKII_PLATFORM_REPOSITORY_INFO ArmJunoPlatformRepositoryInfo = { CREATE_STD_ACPI_TABLE_GEN_ID (EStdAcpiTableIdSsdt), (EFI_ACPI_DESCRIPTION_HEADER*)ssdtjunousb_aml_code }, - // SSDT table describing the PL011 UART - { - EFI_ACPI_6_2_SECONDARY_SYSTEM_DESCRIPTION_TABLE_SIGNATURE, - 0, // Unused - CREATE_STD_ACPI_TABLE_GEN_ID (EStdAcpiTableIdSsdt), - (EFI_ACPI_DESCRIPTION_HEADER*)ssdtuart_aml_code - }, // PPTT Table { EFI_ACPI_6_3_PROCESSOR_PROPERTIES_TOPOLOGY_TABLE_STRUCTURE_SIGNATURE, diff --git a/Platform/ARM/JunoPkg/ConfigurationManager/ConfigurationManagerDxe/ConfigurationManager.h b/Platform/ARM/JunoPkg/ConfigurationManager/ConfigurationManagerDxe/ConfigurationManager.h index 2073ae4902e540de869612353bfaf0ebacaea50d..b6e15015b6edd65a53ea842ac05b5a2e63186b95 100644 --- a/Platform/ARM/JunoPkg/ConfigurationManager/ConfigurationManagerDxe/ConfigurationManager.h +++ b/Platform/ARM/JunoPkg/ConfigurationManager/ConfigurationManagerDxe/ConfigurationManager.h @@ -19,7 +19,6 @@ extern CHAR8 dsdt_aml_code[]; extern CHAR8 ssdtjunousb_aml_code[]; extern CHAR8 ssdtpci_aml_code[]; -extern CHAR8 ssdtuart_aml_code[]; /** The configuration manager version */ @@ -186,7 +185,7 @@ extern CHAR8 ssdtuart_aml_code[]; /** The number of ACPI tables to install */ -#define PLAT_ACPI_TABLE_COUNT 11 +#define PLAT_ACPI_TABLE_COUNT 10 /** The number of platform generic timer blocks */ diff --git a/Platform/ARM/JunoPkg/ConfigurationManager/ConfigurationManagerDxe/ConfigurationManagerDxe.inf b/Platform/ARM/JunoPkg/ConfigurationManager/ConfigurationManagerDxe/ConfigurationManagerDxe.inf index a3e7db12f8c913f7111b5ff4ad724a5bdcc35956..59e2410d255d71067319204575e9050b6e452427 100644 --- a/Platform/ARM/JunoPkg/ConfigurationManager/ConfigurationManagerDxe/ConfigurationManagerDxe.inf +++ b/Platform/ARM/JunoPkg/ConfigurationManager/ConfigurationManagerDxe/ConfigurationManagerDxe.inf @@ -25,7 +25,6 @@ [Sources] AslTables/Dsdt.asl AslTables/SsdtJunoUsb.asl AslTables/SsdtPci.asl - AslTables/SsdtUart.asl [Packages] ArmPkg/ArmPkg.dec -- 'Guid(CE165669-3EF3-493F-B85D-6190EE5B9759)'