]> git.proxmox.com Git - mirror_edk2.git/blame_incremental - ArmPlatformPkg/Include/Library/NorFlashPlatformLib.h
BaseTools/Capsule: Do not support -o with --dump-info
[mirror_edk2.git] / ArmPlatformPkg / Include / Library / NorFlashPlatformLib.h
... / ...
CommitLineData
1/** @file\r
2\r
3 Copyright (c) 2011-2012, ARM Ltd. All rights reserved.<BR>\r
4\r
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
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
23 EFI_GUID Guid;\r
24} NOR_FLASH_DESCRIPTION;\r
25\r
26EFI_STATUS\r
27NorFlashPlatformInitialization (\r
28 VOID\r
29 );\r
30\r
31EFI_STATUS\r
32NorFlashPlatformGetDevices (\r
33 OUT NOR_FLASH_DESCRIPTION **NorFlashDescriptions,\r
34 OUT UINT32 *Count\r
35 );\r
36\r
37#endif /* _NORFLASHPLATFORMLIB_H_ */\r