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