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 E2E68740039 for ; Thu, 4 Apr 2024 09:11:29 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=hsKZ2kz25/ls1vwO+mmBzQJCg/+R1wA26pkmaJ/nN/k=; 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=1712221888; v=1; b=Sy2n2EhJZwuH9+mJ0onN45hm2MWnXPuG+G+7P8Lwa/Fz9Q8ZwhSQFX0swIhEtQ73lzXm+503 RZO30F6EtlxPT2ru1OKuwjaTmquQEvCWaExwTOfa1fxWKYkqwttZypgwSD55DR8OSy6ftDAJW2Z YrBceG3bfe1MYBdtmxP+Axf51TReal++MTZdNd5R3CV82f5EKVxs88ifIJKdtwSXiE3MKn5GRn7 D9wGFcoJrYOdMhoVGyAfcjzk9IQH48y8UslLqu2AKZg1aFoCf3Ur5LWdulx1Gh8siquEQZYCgs9 5tpnZtTAhLZv+Gvrr8RGPYTcYmTdWE7TY3+6jwQ48EFYA== X-Received: by 127.0.0.2 with SMTP id Le5UYY7687511xbRbyShtWi1; Thu, 04 Apr 2024 02:11:28 -0700 X-Received: from NAM11-CO1-obe.outbound.protection.outlook.com (NAM11-CO1-obe.outbound.protection.outlook.com [40.107.220.44]) by mx.groups.io with SMTP id smtpd.web10.33813.1712221888085080110 for ; Thu, 04 Apr 2024 02:11:28 -0700 X-Received: from MN2PR19CA0034.namprd19.prod.outlook.com (2603:10b6:208:178::47) by MW6PR12MB8736.namprd12.prod.outlook.com (2603:10b6:303:244::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:26 +0000 X-Received: from BN2PEPF000044AC.namprd04.prod.outlook.com (2603:10b6:208:178:cafe::b3) by MN2PR19CA0034.outlook.office365.com (2603:10b6:208:178::47) 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:25 +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 BN2PEPF000044AC.mail.protection.outlook.com (10.167.243.107) 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:25 +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:24 -0500 From: "Chang, Abner via groups.io" To: CC: Andrew Fish , Leif Lindholm , Michael D Kinney Subject: [edk2-devel] [PATCH RESEND V4 6/6] Maintainers: AMD as SPI driver stack maintainer Date: Thu, 4 Apr 2024 17:10:52 +0800 Message-ID: <20240404091052.794-7-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: BN2PEPF000044AC:EE_|MW6PR12MB8736:EE_ X-MS-Office365-Filtering-Correlation-Id: 3f0273b6-59de-489e-68d5-08dc54873492 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Message-Info: NAuT466xjfit/daOZ7mSw/8Q1D7ArVQ0pEK1pFeqDAMxYVGG53ktEtPhAdjk+VasBkJJLc5cBlOtURvWAXhReXMpttLD50jGfWz69ehHu5O6rgqR3kpc+U8ffY1oAvXHguG9Qbac59J//65JCLNzN1ztdkEYVZ3A0WsK7qR4fPDuX3FRp/V/ZkM59LWPjRqHGZWv1xeTK7jzfVjVaH1LRABns8JNxLRKn+9Gug4M7WHJqDm6o+CnUmYAu9kMca2QuUCAZYAVD5JdKGYDgoJF3dgkLunVc97qHfTMdHnE9Yr0TyXRtJret73UNPaQRuXjKOzDjsuXFq+LRJYMffTw1aCQrIuSyNO4uSxyp+95qr7ZdbGj9+Uoa1UsrBqDJ0qIsTldqVEOGjgv3EJTg/TgLTgR9qzDhCd7d/U23kVTWU8Uj2D5+/IUq+k/H8kjMkvi1EXNJdimgO8vkjtK22MNECsJu8r/wMbcgW6e7JRNyNUfaMiTeYFnQGjFB5ooceBIaglgSHFvKF5008iStAMy6d5vNe2tvjEwTD3HG7Q205L6eY088nwdZZ3NOKmHIjVesGaE+Q1pMU22OVQc9D9x/PC1Glx1yZk/Qq0omnAY/Im7ZX3JdtOWj7EOLB3bp6qTaXtXwuVgimi9zvFu3Ki/96Q/aDdppbbORfP9cCxTwH0bo3u/4hcnVkQGSEbE2UmDB641vuFlRPnxdb599GJEEw== X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Apr 2024 09:11:25.6908 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 3f0273b6-59de-489e-68d5-08dc54873492 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: BN2PEPF000044AC.namprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW6PR12MB8736 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:28 -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: YJHQMrR4oQg5IwOK2CsNK8Czx7686176AA= 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=Sy2n2EhJ; 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 Signed-off-by: Abner Chang Cc: Andrew Fish Cc: Leif Lindholm Cc: Michael D Kinney --- .../Bus/Spi/SpiNorFlashJedecSfdp/SpiNorFlash.c | 12 ++++++------ .../Spi/SpiNorFlashJedecSfdp/SpiNorFlashJedecSfdp.c | 12 ++++++------ Maintainers.txt | 11 +++++++++++ 3 files changed, 23 insertions(+), 12 deletions(-) diff --git a/MdeModulePkg/Bus/Spi/SpiNorFlashJedecSfdp/SpiNorFlash.c b/MdeM= odulePkg/Bus/Spi/SpiNorFlashJedecSfdp/SpiNorFlash.c index 066a827bf49..3ac5420fbf6 100644 --- a/MdeModulePkg/Bus/Spi/SpiNorFlashJedecSfdp/SpiNorFlash.c +++ b/MdeModulePkg/Bus/Spi/SpiNorFlashJedecSfdp/SpiNorFlash.c @@ -18,7 +18,7 @@ #include "SpiNorFlash.h" =20 /** - Fill Write Buffer with Opcode, Address, Dummy Bytes, and Data + Fill Write Buffer with Opcode, Address, Dummy Bytes, and Data. =20 @param[in] Instance The instance of SPI_NOR_FLASH @param[in] Opcode Opcode for transaction @@ -187,7 +187,7 @@ InternalReadStatus ( } =20 /** - Set Write Enable Latch + Set Write Enable Latch. =20 @param[in] Instance SPI NOR instance with all protocols, etc. =20 @@ -233,7 +233,7 @@ SetWel ( } =20 /** - Check for not device write in progress + Check for not device write in progress. =20 @param[in] SpiNorFlashInstance SPI NOR instance with all protocols, et= c. @param[in] Timeout Timeout in microsecond @@ -287,7 +287,7 @@ WaitNotWip ( } =20 /** - Check for write enable latch set and not device write in progress + Check for write enable latch set and not device write in progress. =20 @param[in] SpiNorFlashInstance SPI NOR instance with all protocols, et= c. @param[in] Timeout Timeout in microsecond @@ -342,7 +342,7 @@ WaitWelNotWip ( } =20 /** - Check for not write enable latch set and not device write in progress + Check for not write enable latch set and not device write in progress. =20 @param[in] SpiNorFlashInstance SPI NOR instance with all protocols, et= c. @param[in] Timeout Timeout in microsecond @@ -462,7 +462,7 @@ GetFlashId ( } =20 /** - Read data from the SPI flash at not fast speed + Read data from the SPI flash at not fast speed. =20 This routine must be called at or below TPL_NOTIFY. This routine reads data from the SPI part in the buffer provided. diff --git a/MdeModulePkg/Bus/Spi/SpiNorFlashJedecSfdp/SpiNorFlashJedecSfdp= .c b/MdeModulePkg/Bus/Spi/SpiNorFlashJedecSfdp/SpiNorFlashJedecSfdp.c index 78327d37ff0..284567d1f4b 100644 --- a/MdeModulePkg/Bus/Spi/SpiNorFlashJedecSfdp/SpiNorFlashJedecSfdp.c +++ b/MdeModulePkg/Bus/Spi/SpiNorFlashJedecSfdp/SpiNorFlashJedecSfdp.c @@ -755,7 +755,7 @@ CreateSingleFlashSectorMap ( } =20 /** - Set EraseBlockBytes in SPI NOR Flash Protocol + Set EraseBlockBytes in SPI NOR Flash Protocol. =20 @param[in] Instance Spi Nor Flash Instance data with pointer to EFI_SPI_NOR_FLASH_PROTOCOL and EFI_SPI_IO_PROTOC= OL @@ -1173,7 +1173,7 @@ GetFastReadParameter ( } =20 /** - Return the flash device size from SFDP Basic Flash Parameter Table DWORD= 2 + Return the flash device size from SFDP Basic Flash Parameter Table DWORD= 2. =20 @param[in] Instance Spi Nor Flash Instance data with pointer to EFI_SPI_NOR_FLASH_PROTOCOL and @@ -1361,7 +1361,7 @@ ReadSfdp ( } =20 /** - Read SFDP Specific Parameter Header + Read SFDP Specific Parameter Header. =20 This routine reads the JEDEC SPI Flash Discoverable Parameter header fro= m the SPI chip. Fails if Major Revision is not =3D SFDP_SUPPORTED_MAJOR_REVIS= ION. @@ -1469,7 +1469,7 @@ ReadSfdpParameterHeader ( } =20 /** - Read from SFDP table pointer + Read from SFDP table pointer. =20 This routine sends SPI_FLASH_RDSFDP command and reads parameter from the given TablePointer. @@ -1556,7 +1556,7 @@ SpiReadSfdpPtp ( } =20 /** - Read SFDP Sector Map Parameter into buffer + Read SFDP Sector Map Parameter into buffer. =20 This routine reads the JEDEC SPI Flash Discoverable Parameters from the = SPI chip. @@ -1623,7 +1623,7 @@ ReadSfdpSectorMapParameterTable ( } =20 /** - Read SFDP Basic Parameters into buffer + Read SFDP Basic Parameters into buffer. =20 This routine reads the JEDEC SPI Flash Discoverable Parameters from the = SPI chip. diff --git a/Maintainers.txt b/Maintainers.txt index 799f27f914c..7d9cdca611f 100644 --- a/Maintainers.txt +++ b/Maintainers.txt @@ -417,6 +417,11 @@ M: Abner Chang [changab] R: Abdul Lateef Attar [abdattar] R: Nickle Wang [nicklela] =20 +MdeModulePkg: SPI driver stack +F: MdeModulePkg/Bus/Spi/ +M: Abner Chang [changab] +R: Brit Chesley [BritChesley] + MdePkg F: MdePkg/ W: https://github.com/tianocore/tianocore.github.io/wiki/MdePkg @@ -450,6 +455,12 @@ M: Abner Chang [changab] R: Abdul Lateef Attar [abdattar] R: Nickle Wang [nicklela] =20 +MdePkg: SPI related C header files +F: MdePkg/Include/Protocol/Spi*.h +F: MdePkg/Include/IndustryStandard/SpiNorFlashJedecSfdp.h +M: Abner Chang [changab] +R: Brit Chesley [BritChesley] + NetworkPkg F: NetworkPkg/ W: https://github.com/tianocore/tianocore.github.io/wiki/NetworkPkg --=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 (#117410): https://edk2.groups.io/g/devel/message/117410 Mute This Topic: https://groups.io/mt/105325629/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-