]> git.proxmox.com Git - mirror_edk2.git/blame - ArmPlatformPkg/Include/Library/NorFlashPlatformLib.h
ArmPlatformPkg/NorFlashPlatformLib: remove unused Guid member from struct
[mirror_edk2.git] / ArmPlatformPkg / Include / Library / NorFlashPlatformLib.h
CommitLineData
d5e12da4 1/** @file\r
2\r
68dda854 3 Copyright (c) 2011-2012, ARM Ltd. All rights reserved.<BR>\r
4\r
d5e12da4 5 This program and the accompanying materials\r
6 are licensed and made available under the terms and conditions of the BSD License\r
7 which accompanies this distribution. The full text of the license may be found at\r
8 http://opensource.org/licenses/bsd-license.php\r
9\r
10 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
11 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
12\r
13 **/\r
14\r
15#ifndef _NORFLASHPLATFORMLIB_H_\r
16#define _NORFLASHPLATFORMLIB_H_\r
17\r
18typedef struct {\r
68dda854 19 UINTN DeviceBaseAddress; // Start address of the Device Base Address (DBA)\r
20 UINTN RegionBaseAddress; // Start address of one single region\r
21 UINTN Size;\r
22 UINTN BlockSize;\r
d5e12da4 23} NOR_FLASH_DESCRIPTION;\r
24\r
25EFI_STATUS\r
26NorFlashPlatformInitialization (\r
27 VOID\r
28 );\r
29\r
30EFI_STATUS\r
31NorFlashPlatformGetDevices (\r
32 OUT NOR_FLASH_DESCRIPTION **NorFlashDescriptions,\r
33 OUT UINT32 *Count\r
34 );\r
35\r
36#endif /* _NORFLASHPLATFORMLIB_H_ */\r