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