From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by spool.mail.gandi.net (Postfix) with ESMTPS id CCF1DD8118F for ; Thu, 4 Apr 2024 09:25:26 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=VEraN1Xtjmbl3r7VCGfiKFfgYjpG9nqKFwTE8L5mhvM=; c=relaxed/simple; d=groups.io; h=Received-SPF:From:To:CC:Subject:Date:Message-ID:In-Reply-To:References:MIME-Version:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Resent-Date:Resent-From:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Transfer-Encoding:Content-Type; s=20240206; t=1712222725; v=1; b=NXM8dV0xNyLEBDv7m0Si+zD8VIB4HPkxpqA4gbazX4ETxluM8r8hg+COfWjy7FZfJGI2iP5R XKwvvNSgi8moPuM1wl1FRKRpubjSTHzpcjjEFe4R11aEaJwhkhcH5zYcb5GCLIDFtdOiYEcMbFY 4TJOqgiRWXj+M7obg6Lf1QUpeFQ763NJJfvLe1Z9N7w6Z0YHgsOnkYu960bBQyWWp/0M4rAu5nB uZi/eKYxqOg4jxBCnVPuospmQ054ow+SoHAlSnOSc8VwsXIfcWKK9MrYq9jS2Dc/uctLbfD/JuS AArmVmYvmwM48eR2KM3dKP6tSp2OtPMsAl19zHE0gTU3A== X-Received: by 127.0.0.2 with SMTP id XAuuYY7687511xSLdcxihSGX; Thu, 04 Apr 2024 02:25:25 -0700 X-Received: from NAM10-BN7-obe.outbound.protection.outlook.com (NAM10-BN7-obe.outbound.protection.outlook.com [40.107.92.81]) by mx.groups.io with SMTP id smtpd.web10.33972.1712222724611410553 for ; Thu, 04 Apr 2024 02:25:24 -0700 X-Received: from CH0PR04CA0039.namprd04.prod.outlook.com (2603:10b6:610:77::14) by PH7PR12MB8827.namprd12.prod.outlook.com (2603:10b6:510:26b::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7409.46; Thu, 4 Apr 2024 09:25:22 +0000 X-Received: from DS1PEPF00017097.namprd05.prod.outlook.com (2603:10b6:610:77:cafe::14) by CH0PR04CA0039.outlook.office365.com (2603:10b6:610:77::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7409.46 via Frontend Transport; Thu, 4 Apr 2024 09:25:21 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 165.204.84.17) smtp.mailfrom=amd.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=amd.com; Received-SPF: Pass (protection.outlook.com: domain of amd.com designates 165.204.84.17 as permitted sender) receiver=protection.outlook.com; client-ip=165.204.84.17; helo=SATLEXMB04.amd.com; pr=C X-Received: from SATLEXMB04.amd.com (165.204.84.17) by DS1PEPF00017097.mail.protection.outlook.com (10.167.18.101) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.7452.22 via Frontend Transport; Thu, 4 Apr 2024 09:25:21 +0000 X-Received: from TPE-L1-ABNCHANG.amd.com (10.180.168.240) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Thu, 4 Apr 2024 04:25:19 -0500 From: "Chang, Abner via groups.io" To: CC: Liming Gao , Jian J Wang , Abdul Lateef Attar Subject: [edk2-devel] [PATCH V5 3/6] MdeModulePkg: Add definitions in DEC for SPI NOR Flash SFDP driver Date: Thu, 4 Apr 2024 17:24:51 +0800 Message-ID: <20240404092455.1903-4-abner.chang@amd.com> In-Reply-To: <20240404092455.1903-1-abner.chang@amd.com> References: <20240404092455.1903-1-abner.chang@amd.com> MIME-Version: 1.0 X-Originating-IP: [10.180.168.240] X-ClientProxiedBy: SATLEXMB04.amd.com (10.181.40.145) To SATLEXMB04.amd.com (10.181.40.145) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS1PEPF00017097:EE_|PH7PR12MB8827:EE_ X-MS-Office365-Filtering-Correlation-Id: 72bba66f-0d83-4cb1-b3f2-08dc548926bc X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Message-Info: CKluu3k6fwb5mlsQMEQ70bYLexzT/3wFgvKpp5LkfA4k2q1PxB4bmwlieYQDLLhbmOzy+M+c3JmYj8buke59upgQEZ/kmPsrho0qBq9rWu4ehjrXj3mdndGNtjAvHii4+ONUQQLKscpxtXOas6anhNKsFIvWURUvlgrFrhiZ16plBLfLnvVW+ak0jmRwUudYZ+LT+gfxgC7Z2aKtx7nSjR3e+GAiLPXrlAZEaIa1wUI9/YcWM/H6ZTrqh8bsiNuTg/N/G0bkuzwolCS/GzO7wypAvPQv96egD4cMorkUtN1rH6nJHRtyGhJ0jOdLxozuNeipBDhHcY9YO9l/F0h7b76d8TY+RtajUXpINTKjf0SPaHjQtmQmO4KjkPP9tgtHtIFeDzM+HOYDv49W4P6a8Kwu+h1hZBUB0WxuwBmxA9jhC2RXM8DN+PRG/zLq04H5JUpSCe1jHFLONxpc6GHqQtrMrSUj7/V3L3S0w6gfrKpgCdRjMnJsG3QgtYpLkE/oUYdDoAXEmKeyvXPn6z998d8I/a/qULUzXZp5TF87LXY5ZpTAR3P5mwLwER0Sl6d75FDkI6OVEwQG0lFVpkNf0kd8+1EFGqQUEuW9PjNaAAUl+jTakpM1D0OlxIUnWYwaCGu4ozrFMxyybUu55cPS675QxGvYQMLpuvNvYpSwqbZOdyyi4r43xsuRay0WRXopjocLQWmRc3EP49WDkWMyL/Kk0ZIim3eHAOMQCLsM5MyH0TF1oBNGgO66mjPNQTGM X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Apr 2024 09:25:21.3952 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 72bba66f-0d83-4cb1-b3f2-08dc548926bc X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d;Ip=[165.204.84.17];Helo=[SATLEXMB04.amd.com] X-MS-Exchange-CrossTenant-AuthSource: DS1PEPF00017097.namprd05.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH7PR12MB8827 Precedence: Bulk List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Resent-Date: Thu, 04 Apr 2024 02:25:24 -0700 Resent-From: abner.chang@amd.com Reply-To: devel@edk2.groups.io,abner.chang@amd.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: zWhzzECxseWKVN8C9WGNnC3Ix7686176AA= Content-Transfer-Encoding: quoted-printable Content-Type: text/plain X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20240206 header.b=NXM8dV0x; spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce@groups.io; dmarc=pass (policy=none) header.from=groups.io From: Abner Chang BZ#: 4473 Signed-off-by: Abner Chang Cc: Liming Gao Cc: Jian J Wang Cc: Abdul Lateef Attar --- MdeModulePkg/MdeModulePkg.dec | 28 +++++++++++++++++++++++++++- 1 file changed, 27 insertions(+), 1 deletion(-) diff --git a/MdeModulePkg/MdeModulePkg.dec b/MdeModulePkg/MdeModulePkg.dec index a82dedc070d..050871cdf6b 100644 --- a/MdeModulePkg/MdeModulePkg.dec +++ b/MdeModulePkg/MdeModulePkg.dec @@ -9,7 +9,7 @@ # (C) Copyright 2016 - 2019 Hewlett Packard Enterprise Development LP
# Copyright (c) 2017, AMD Incorporated. All rights reserved.
# Copyright (c) Microsoft Corporation.
-# Copyright (C) 2023 Advanced Micro Devices, Inc. All rights reserved.
+# Copyright (C) 2024 Advanced Micro Devices, Inc. All rights reserved.
# SPDX-License-Identifier: BSD-2-Clause-Patent # ## @@ -454,6 +454,12 @@ ## GUID used for Boot Discovery Policy FormSet guid and related variable= s. gBootDiscoveryPolicyMgrFormsetGuid =3D { 0x5b6f7107, 0xbb3c, 0x4660, { 0= x92, 0xcd, 0x54, 0x26, 0x90, 0x28, 0x0b, 0xbd } } =20 + # + # SPI NOR flash JEDEC Serial Flash Discoverable Parameters (SFDP) driver= GUID + # + gEdk2JedecSfdpSpiDxeDriverGuid =3D { 0xBE71701E, 0xB63C, 0x4574, { 0x9C= , 0x5C, 0x36, 0x29, 0xE8, 0xEA, 0xC4, 0x14 }} + gEdk2JedecSfdpSpiSmmDriverGuid =3D { 0x95A1E915, 0x195C, 0x477C, { 0x92= , 0x6F, 0x7E, 0x24, 0x67, 0xC1, 0xB3, 0x1F }} + [Ppis] ## Include/Ppi/FirmwareVolumeShadowPpi.h gEdkiiPeiFirmwareVolumeShadowPpiGuid =3D { 0x7dfe756c, 0xed8d, 0x4d77, {= 0x9e, 0xc4, 0x39, 0x9a, 0x8a, 0x81, 0x51, 0x16 } } @@ -1638,6 +1644,26 @@ # @Prompt The value of Retry Count, Default value is 5. gEfiMdeModulePkgTokenSpaceGuid.PcdAhciCommandRetryCount|5|UINT32|0x00000= 032 =20 + ## SPI NOR Flash operation retry counts + # 0x00000000: No retry + # 0xFFFFFFFF: Maximum retry value + # + # @Prompt SPI NOR Flash Operation Retry Value + gEfiMdeModulePkgTokenSpaceGuid.PcdSpiNorFlashOperationRetryCount|0x00000= 003|UINT32|0x00000033 + + ## SPI NOR Flash operation retry counts for the fixed timeout value + # 0x00000000: No retry + # 0xFFFFFFFF: Maximum retry value + # + # @Prompt SPI NOR Flash Operation Retry Value for the Fixed Timeout Valu= e + gEfiMdeModulePkgTokenSpaceGuid.PcdSpiNorFlashFixedTimeoutRetryCount|0x00= 00FFFF|UINT32|0x00000034 + + ## SPI NOR Flash operation delay in microseconds + # Deafult is set to 0x00000010 microseconds + # + # @Prompt SPI NOR Flash Operation Delay in Microseconds (16 us) + gEfiMdeModulePkgTokenSpaceGuid.PcdSpiNorFlashOperationDelayMicroseconds|= 0x00000010|UINT32|0x00000035 + [PcdsPatchableInModule, PcdsDynamic, PcdsDynamicEx] ## This PCD defines the Console output row. The default value is 25 acco= rding to UEFI spec. # This PCD could be set to 0 then console output would be at max column= and max row. --=20 2.37.1.windows.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#117416): https://edk2.groups.io/g/devel/message/117416 Mute This Topic: https://groups.io/mt/105325720/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-