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