diff mbox series

[edk2,v2,5/5] ArmPlatformPkg/NorFlashPlatformLib: remove unused Guid member from struct

Message ID 20181121115828.3026-6-ard.biesheuvel@linaro.org
State Accepted
Commit 13d5d0a56e486be39f95c5e0883e64698ed02714
Headers show
Series ArmPlatformPkg, ArmVirtPkg: discover NOR flash banks from DTB | expand

Commit Message

Ard Biesheuvel Nov. 21, 2018, 11:58 a.m. UTC
We no longer use per-instance GUIDs to identify NOR flash banks so
there is no longer a need to define them. Drop the Guid member from
the NOR_FLASH_DESCRIPTION type.

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>

---
This patch should not be merged before users in edk2-platforms have been
updated.

 ArmPlatformPkg/Include/Library/NorFlashPlatformLib.h | 1 -
 1 file changed, 1 deletion(-)

-- 
2.17.1

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel

Comments

Laszlo Ersek Nov. 21, 2018, 5:22 p.m. UTC | #1
On 11/21/18 12:58, Ard Biesheuvel wrote:
> We no longer use per-instance GUIDs to identify NOR flash banks so

> there is no longer a need to define them. Drop the Guid member from

> the NOR_FLASH_DESCRIPTION type.

> 

> Contributed-under: TianoCore Contribution Agreement 1.1

> Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>

> ---

> This patch should not be merged before users in edk2-platforms have been

> updated.

> 

>  ArmPlatformPkg/Include/Library/NorFlashPlatformLib.h | 1 -

>  1 file changed, 1 deletion(-)

> 

> diff --git a/ArmPlatformPkg/Include/Library/NorFlashPlatformLib.h b/ArmPlatformPkg/Include/Library/NorFlashPlatformLib.h

> index e9e1c060787d..e99a217c3a51 100644

> --- a/ArmPlatformPkg/Include/Library/NorFlashPlatformLib.h

> +++ b/ArmPlatformPkg/Include/Library/NorFlashPlatformLib.h

> @@ -20,7 +20,6 @@ typedef struct {

>    UINTN       RegionBaseAddress;    // Start address of one single region

>    UINTN       Size;

>    UINTN       BlockSize;

> -  EFI_GUID    Guid;

>  } NOR_FLASH_DESCRIPTION;

>  

>  EFI_STATUS

> 


Reviewed-by: Laszlo Ersek <lersek@redhat.com>

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel
diff mbox series

Patch

diff --git a/ArmPlatformPkg/Include/Library/NorFlashPlatformLib.h b/ArmPlatformPkg/Include/Library/NorFlashPlatformLib.h
index e9e1c060787d..e99a217c3a51 100644
--- a/ArmPlatformPkg/Include/Library/NorFlashPlatformLib.h
+++ b/ArmPlatformPkg/Include/Library/NorFlashPlatformLib.h
@@ -20,7 +20,6 @@  typedef struct {
   UINTN       RegionBaseAddress;    // Start address of one single region
   UINTN       Size;
   UINTN       BlockSize;
-  EFI_GUID    Guid;
 } NOR_FLASH_DESCRIPTION;
 
 EFI_STATUS