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 6B60F94156B for ; Thu, 23 May 2024 10:56:03 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=3dur7f8L6xMFg8HAt8ohO+9xW3nB763hy39TwILnbFg=; 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=1716461762; v=1; b=l/2lRY7qA4vegmJEjUdEmWC+6Ew5ZeSdeD+3LnAnIhyAI/PgZWhR8FU2LuDFL9xw5hQQWcvw G/EdipdTBpzjRvgVqz/B9LuwISFcswCwWjscLGF9sNoBEZvKSqRYQVKo2gK9JzwoyK66rLfgUFX s1hRWyH4SRByYSAQTc249Kv6zjCRZTm7vRHnNVE6CvYSj6S/AKeka41LTVjwYgS4LsMbP+1dJTC tZ4FD8qXPpoGpuCgGNSJVReota8vps4N4J8/juDqLTO5FQdJusIfzB0PHa/gg5n37l9XhKBIn7h eWaZiZalksd8wE5NIaVYLY+rnnsf3lCjLDx6F3T2/BbBQ== X-Received: by 127.0.0.2 with SMTP id uMUjYY7687511xylekV1YwZn; Thu, 23 May 2024 03:56:02 -0700 X-Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web11.14085.1716461761218459042 for ; Thu, 23 May 2024 03:56:01 -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 09614DA7; Thu, 23 May 2024 03:56:25 -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 466173F766; Thu, 23 May 2024 03:55:59 -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 V3 05/17] Platform/ARM/NorFlashDxe: Remove unimplemented functions from NorFlash.h Date: Thu, 23 May 2024 16:24:59 +0530 Message-Id: <20240523105511.13189-6-Sahil.Kaushal@arm.com> In-Reply-To: <20240523105511.13189-1-Sahil.Kaushal@arm.com> References: <20240523105511.13189-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: Thu, 23 May 2024 03:56:01 -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: wt9M2AwjjFqbbbawqkyRrtE4x7686176AA= 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="l/2lRY7q"; 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/Dri= vers/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;=0D };=0D =0D -EFI_STATUS=0D -NorFlashReadCfiData (=0D - IN UINTN DeviceBaseAddress,=0D - IN UINTN CFI_Offset,=0D - IN UINT32 NumberOfBytes,=0D - OUT UINT32 *Data=0D - );=0D -=0D EFI_STATUS=0D NorFlashWriteBuffer (=0D IN NOR_FLASH_INSTANCE *Instance,=0D @@ -187,15 +179,6 @@ NorFlashRead ( OUT VOID *Buffer=0D );=0D =0D -EFI_STATUS=0D -NorFlashWrite (=0D - IN NOR_FLASH_INSTANCE *Instance,=0D - IN EFI_LBA Lba,=0D - IN UINTN Offset,=0D - IN OUT UINTN *NumBytes,=0D - IN UINT8 *Buffer=0D - );=0D -=0D EFI_STATUS=0D NorFlashReset (=0D IN NOR_FLASH_INSTANCE *Instance=0D --=20 2.25.1 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#119147): https://edk2.groups.io/g/devel/message/119147 Mute This Topic: https://groups.io/mt/106260143/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-