X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=ArmPlatformPkg%2FDrivers%2FNorFlashDxe%2FNorFlashDxe.h;h=5c07694fbfaa18140730a60171e60b4df43d635e;hp=d0b5c5b12f9e4ef5cc490af855db4a22fd3e6c21;hb=0f87c53d0d0eb7e7c003e209705ec79264e0852b;hpb=6cf1269d9577a50834683f9b0a90197c0dfa1a78 diff --git a/ArmPlatformPkg/Drivers/NorFlashDxe/NorFlashDxe.h b/ArmPlatformPkg/Drivers/NorFlashDxe/NorFlashDxe.h index d0b5c5b12f..5c07694fbf 100644 --- a/ArmPlatformPkg/Drivers/NorFlashDxe/NorFlashDxe.h +++ b/ArmPlatformPkg/Drivers/NorFlashDxe/NorFlashDxe.h @@ -122,8 +122,6 @@ typedef struct _NOR_FLASH_INSTANCE NOR_FLASH_INSTANCE; -typedef EFI_STATUS (*NOR_FLASH_INITIALIZE) (NOR_FLASH_INSTANCE* Instance); - typedef struct { VENDOR_DEVICE_PATH Vendor; EFI_DEVICE_PATH_PROTOCOL End; @@ -133,9 +131,6 @@ struct _NOR_FLASH_INSTANCE { UINT32 Signature; EFI_HANDLE Handle; - BOOLEAN Initialized; - NOR_FLASH_INITIALIZE Initialize; - UINTN DeviceBaseAddress; UINTN RegionBaseAddress; UINTN Size; @@ -145,15 +140,12 @@ struct _NOR_FLASH_INSTANCE { EFI_BLOCK_IO_MEDIA Media; EFI_DISK_IO_PROTOCOL DiskIoProtocol; - BOOLEAN SupportFvb; EFI_FIRMWARE_VOLUME_BLOCK2_PROTOCOL FvbProtocol; VOID* ShadowBuffer; NOR_FLASH_DEVICE_PATH DevicePath; }; -extern CONST EFI_GUID* CONST mNorFlashVariableGuid; - EFI_STATUS NorFlashReadCfiData ( IN UINTN DeviceBaseAddress,