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 82C45AC0B48 for ; Wed, 3 Apr 2024 08:38:41 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=xRyFggoFySwPBAjthfRkUCVdQwXK6gPUYSziIoIbtto=; 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=1712133520; v=1; b=xuEO0EKDSuWw0dJqxHf0P6J+O0AoQkizbxIQH2u+exQiAHtsvXebccP4edbHWvzqtUmrnRfq EW6uX/5ahMhLdrgZ/PBMalFKqfDgz8uf+3gltAZQPDE3GYJdcjjqkvJmOh5Uhe21NXmbXh+Xa/+ GTBXtxRcgyqdinzdxmMJUZtmEkLsrA3/NFxcbE71mgaW0lTdPqml+2t8WfMZBuFXOWpl3V1vh0W XznfaCSSO+UQfD1ZUpkpwPhe2j8i1ryPqN6t1nX25Wwdu1BXhsN91THRUt2JUUoT7ecpayAm3lA hR5GZX3QL0t1c8F4hYB/ZP0aNYTJzpVT8lziRIVcoiDZw== X-Received: by 127.0.0.2 with SMTP id Vu6cYY7687511xC7MEVHUdTD; Wed, 03 Apr 2024 01:38:40 -0700 X-Received: from NAM12-DM6-obe.outbound.protection.outlook.com (NAM12-DM6-obe.outbound.protection.outlook.com [40.107.243.61]) by mx.groups.io with SMTP id smtpd.web11.6408.1712133519232535602 for ; Wed, 03 Apr 2024 01:38:39 -0700 X-Received: from MW4PR04CA0305.namprd04.prod.outlook.com (2603:10b6:303:82::10) by SA1PR12MB8096.namprd12.prod.outlook.com (2603:10b6:806:326::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7409.46; Wed, 3 Apr 2024 08:38:36 +0000 X-Received: from CO1PEPF000044FD.namprd21.prod.outlook.com (2603:10b6:303:82:cafe::e0) by MW4PR04CA0305.outlook.office365.com (2603:10b6:303:82::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7409.46 via Frontend Transport; Wed, 3 Apr 2024 08:38:36 +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 CO1PEPF000044FD.mail.protection.outlook.com (10.167.241.203) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.7472.0 via Frontend Transport; Wed, 3 Apr 2024 08:38:36 +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; Wed, 3 Apr 2024 03:38:31 -0500 From: "Chang, Abner via groups.io" To: CC: Liming Gao , Jian J Wang , Abdul Lateef Attar Subject: [edk2-devel] [PATCH V4 3/6] MdeModulePkg: Add definitions in DEC for SPI NOR Flash SFDP driver Date: Wed, 3 Apr 2024 16:38:03 +0800 Message-ID: <20240403083806.952-4-abner.chang@amd.com> In-Reply-To: <20240403083806.952-1-abner.chang@amd.com> References: <20240403083806.952-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: CO1PEPF000044FD:EE_|SA1PR12MB8096:EE_ X-MS-Office365-Filtering-Correlation-Id: 84455ac7-592d-4c90-2808-08dc53b97456 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Message-Info: xJToVtikh5yLbEpD0iUMUxTcF0PzEFCpJPpChKZc3IWJq3a21eXP6bAj3zwew/p9NQqkdtCdR5fosw4j/UZUs6HFBdXE+AjJC7rb9AQ7H2a22+QXVxt83/YLAEbasJB8JbmsfTXtmBiATY2am6jri+HHXNQEvGuh2X/4LCT6+5aA6hzEEMQEbLmDLXiCC9D6HQN/QW/Wvg1mHY37D2/LzVCi3g2VLdzX79A0OvrgSLH/KX61oKWjg+aV0QzWorT3+bRUx5J3JBW5I/WyQsXFLloda6ReQ66y+VleQqAZ1Tzw0E219kXcS3idB4/FqT//7y4LNuVuC/F5QYhD2Vnc2T2/rP3QhYP68KMBc9WTHd69N4pfCtqF7rdKf4+fuuhLibQ2jDYHA8UnIBCXs74UV3Hs4xekzrbEjVekBW/ZVqUhXoGIDqt7hKBCZRQdBBcaVDFEDD3yvxgwcOuZPXxSOTxiOwm96bJRm7WA35SNnfdBBYKCDkdehY6EPJJMfJY/AOrR2+Xuy9Tdwvpg/JHkUfQlo4Uagzwo0pZ67slBRNwCEg8WhRAuBb5XxvNoyB1T22ykiqSU8dus7uQB2aZLur+tkmpJqqUEhzfYG0DACQYFEq4rrcPD6vte+vix7cTuT+P0ZhFU8d5WROCCXuryOripK+9rPB9IhQJUZomZk3dbIP4mJCrDYdJp20zD8ImOOquH8W9Ri1j99YFMF66KV9gMBYi2EQWy8wVVViOnPzmMRyMOfa3xQEtqOSrvbfQL X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Apr 2024 08:38:36.2345 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 84455ac7-592d-4c90-2808-08dc53b97456 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: CO1PEPF000044FD.namprd21.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA1PR12MB8096 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: Wed, 03 Apr 2024 01:38:39 -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: XB6fEVObRLk5D42aPIiHpKtAx7686176AA= 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=xuEO0EKD; dmarc=pass (policy=none) header.from=groups.io; spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce@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 (#117361): https://edk2.groups.io/g/devel/message/117361 Mute This Topic: https://groups.io/mt/105304856/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-