From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail05.groups.io (mail05.groups.io [45.79.224.7]) by spool.mail.gandi.net (Postfix) with ESMTPS id 224387803CD for ; Wed, 29 May 2024 08:55:39 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=RCfciD69f8DBb2onSw5we/pgjp044evcxguccsA5lWw=; c=relaxed/simple; d=groups.io; h=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; s=20240206; t=1716972939; v=1; b=UwgBR4Vlkwne5wD0ZMTCPLZuv77pO53Fyf6geVzL5YHCj7XZvaDWGP2+GtfM06fmqNxPcJy1 EzqFBr4UlU9wgud/9Sv+Kobl4dOkldmzIIZHDIbFL8tbCk+2pF7b1mYA9kG/LcjeZYfDlPBR7c1 dHsKamT7WkJFoKPux46g/FwwMpnC2pt31HrowX7Q2Ny5OnUrNSnQd1xoaQ8gqyIUbRQ/u6fngO9 irdZi3OBAq2xrBiQb4VTv80I0c1zkp1OhSfSkZDKpszy7HQZX0Hvj6rkIMYKqxMxuMqHNV3rsUd qPHGYTeOK10ZO49pubQr17S9UvJQmFDBvDMpvAP+ky31A== X-Received: by 127.0.0.2 with SMTP id 1nihYY7687511xUZkFWz2aKx; Wed, 29 May 2024 01:55:38 -0700 X-Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web10.9244.1716972938025756998 for ; Wed, 29 May 2024 01:55:38 -0700 X-Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id F045915DB; Wed, 29 May 2024 01:56:01 -0700 (PDT) X-Received: from usa.arm.com (a077434.arm.com [10.162.46.143]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 17C923F762; Wed, 29 May 2024 01:55:35 -0700 (PDT) From: "Sahil Kaushal" To: devel@edk2.groups.io Cc: Ard Biesheuvel , =?UTF-8?q?Leif=20Lindholm=20=C2=A0?= , Sami Mujawar , =?UTF-8?q?sahil=20=C2=A0?= Subject: [edk2-devel] [edk2-platforms][PATCH V4 05/17] Platform/ARM/NorFlashDxe: Remove unimplemented functions from NorFlash.h Date: Wed, 29 May 2024 14:25:05 +0530 Message-Id: <20240529085517.1074417-6-Sahil.Kaushal@arm.com> In-Reply-To: <20240529085517.1074417-1-Sahil.Kaushal@arm.com> References: <20240529085517.1074417-1-Sahil.Kaushal@arm.com> MIME-Version: 1.0 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, 29 May 2024 01:55:38 -0700 Resent-From: sahil.kaushal@arm.com Reply-To: devel@edk2.groups.io,sahil.kaushal@arm.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: 44Pb5hWUcft8zyK7QL9Q70sHx7686176AA= Content-Transfer-Encoding: quoted-printable X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20240206 header.b=UwgBR4Vl; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=arm.com (policy=none); spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 45.79.224.7 as permitted sender) smtp.mailfrom=bounce@groups.io From: sahil This patch removes NorFlashReadCfiData() and NorFlashWrite() prototypes from NorFlash.h as these are not implemented or used anywhere in NorFlashDxe driver. Signed-off-by: sahil --- Platform/ARM/Drivers/NorFlashDxe/NorFlash.h | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/Platform/ARM/Drivers/NorFlashDxe/NorFlash.h b/Platform/ARM/D= rivers/NorFlashDxe/NorFlash.h index bd5c6a949cf0..3102c5e13bad 100644 --- a/Platform/ARM/Drivers/NorFlashDxe/NorFlash.h +++ b/Platform/ARM/Drivers/NorFlashDxe/NorFlash.h @@ -134,14 +134,6 @@ struct _NOR_FLASH_INSTANCE { NOR_FLASH_DEVICE_PATH DevicePath; }; =20 -EFI_STATUS -NorFlashReadCfiData ( - IN UINTN DeviceBaseAddress, - IN UINTN CFI_Offset, - IN UINT32 NumberOfBytes, - OUT UINT32 *Data - ); - EFI_STATUS NorFlashWriteBuffer ( IN NOR_FLASH_INSTANCE *Instance, @@ -187,15 +179,6 @@ NorFlashRead ( OUT VOID *Buffer ); =20 -EFI_STATUS -NorFlashWrite ( - IN NOR_FLASH_INSTANCE *Instance, - IN EFI_LBA Lba, - IN UINTN Offset, - IN OUT UINTN *NumBytes, - IN UINT8 *Buffer - ); - EFI_STATUS NorFlashReset ( IN NOR_FLASH_INSTANCE *Instance --=20 2.25.1 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#119320): https://edk2.groups.io/g/devel/message/119320 Mute This Topic: https://groups.io/mt/106365455/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-