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 C68B3D80A07 for ; Thu, 4 Apr 2024 09:11:25 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=sm/n5dnsWzRWMwBhOV9RoecvxS5vRWIY8txnzj0Ul8E=; 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=1712221884; v=1; b=hgt7+SfJGvm/Eo7mNLGao42SGGsJxaGgcESAmCrh5ttZQN4bVMMAWIQf9UMvrYNHZZCKwJly dNkqGyFo9DcvUm8uOUFSlim/39dXUM7lYZPEN8w7n/ZRonK5+ua6zG4SPiezuJpw+/J7WBeM7Ii E1PhaiptrMEAdsFVUcXIenQDrQvg7A0b9oF+szcfq4vY8cCjXR7TjCPUWi9GbLmTab9U5/ZlbxK EJFLbAkDajsh/I7r4LNq/k1pNmClPiKGyTK/GJ6cCpTii2T/F09AO2/kcqB0ApgQ7rlN/m4cT7v VBf885ywCmEmv/VT3a0sNsod+GqLcRTEfenzlnpglS/wg== X-Received: by 127.0.0.2 with SMTP id R36rYY7687511xxAkfxWRr5J; Thu, 04 Apr 2024 02:11:24 -0700 X-Received: from NAM04-BN8-obe.outbound.protection.outlook.com (NAM04-BN8-obe.outbound.protection.outlook.com [40.107.100.85]) by mx.groups.io with SMTP id smtpd.web10.33809.1712221883631059458 for ; Thu, 04 Apr 2024 02:11:23 -0700 X-Received: from MN2PR17CA0015.namprd17.prod.outlook.com (2603:10b6:208:15e::28) by IA0PR12MB7555.namprd12.prod.outlook.com (2603:10b6:208:43d::5) 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:11:20 +0000 X-Received: from BN2PEPF000044AA.namprd04.prod.outlook.com (2603:10b6:208:15e:cafe::72) by MN2PR17CA0015.outlook.office365.com (2603:10b6:208:15e::28) 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:11:20 +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 BN2PEPF000044AA.mail.protection.outlook.com (10.167.243.105) 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:11:20 +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:11:17 -0500 From: "Chang, Abner via groups.io" To: CC: Liming Gao , Jian J Wang , Abdul Lateef Attar Subject: [edk2-devel] [PATCH RESEND V4 3/6] MdeModulePkg: Add definitions in DEC for SPI NOR Flash SFDP driver Date: Thu, 4 Apr 2024 17:10:49 +0800 Message-ID: <20240404091052.794-4-abner.chang@amd.com> In-Reply-To: <20240404091052.794-1-abner.chang@amd.com> References: <20240404091052.794-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: BN2PEPF000044AA:EE_|IA0PR12MB7555:EE_ X-MS-Office365-Filtering-Correlation-Id: 1bf5919c-ee00-4025-be1a-08dc54873136 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Message-Info: 4wBeLMuQiNGOtdLm8RpLMULy6AlR9LOCBzWbMDrov6YhsIQsRNFtEpFM/2SNjlRm1MIw/xpC2JX/EKq5Lc1h7HW35r2z81pRsjWU1HpcdgNAkhmA/383buIHqO34d6hk3RGTZgB2J3ss5cucYs9Hue/62Aav9DbINyqCClp7WuT40vRIIEhIcEysb5j/jsp09hwiutpoVJDoT1kG+HFD6bFS7DMHV6EQOoBWpKdd8tCXx9VneYTD1felQgJBiLnV7Uad7YZt2bM6VyG6B+lSnEcpp4eD3M/udeOYl0NIDTs2JG089HOQvOvV8k+nZUCnvp2vJqTFIQsuVD90sDsKzGgU9F5+KZz8NrehX95I142Yv2N4FGpItaNeSP7LYaKHQfwN3lbC/Y//9DAF4hpNTwHevI2WsrovXAEVgWUs0c0qCeRXOqpug5sIX/aJTP5U8tb/iiy14AJoykvGD/lRJY0ZSuOz3y9eQrcrdG3W1iC3RWoknDdPds69BzLTNDvRMY6NqYSevBD78Fv3sxU5AqeAajKwM4w4fOtCo3wjJc8HYNsjuUFEUJw+o4WXlaYSTrhwyzkAl9VQEglL5wDLheP3FEuskC+JkW42CXUispycpm8TmTVWBExuiKPjbiBw20byKR12cdIz/Yopord5wYc0rn2NziF+LSaBl77iKntehWfk38r0fwl3+u0/YhG/EHStSMdfA39fdzVjZ31Wg3vbk73DZKUNnfbw2QwbSa6nceTf851z888+rzSXEvLE X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Apr 2024 09:11:20.0413 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 1bf5919c-ee00-4025-be1a-08dc54873136 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: BN2PEPF000044AA.namprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: IA0PR12MB7555 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:11:23 -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: DTeuT3Nr7cb7KBYnTJv9nMkRx7686176AA= 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=hgt7+SfJ; 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 (#117409): https://edk2.groups.io/g/devel/message/117409 Mute This Topic: https://groups.io/mt/105325628/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-