]> git.proxmox.com Git - mirror_edk2.git/blob - ArmPlatformPkg/Include/Library/NorFlashPlatformLib.h
ArmPlatformPkg: Apply uncrustify changes
[mirror_edk2.git] / ArmPlatformPkg / Include / Library / NorFlashPlatformLib.h
1 /** @file
2
3 Copyright (c) 2011-2012, ARM Ltd. All rights reserved.<BR>
4
5 SPDX-License-Identifier: BSD-2-Clause-Patent
6
7 **/
8
9 #ifndef _NORFLASHPLATFORMLIB_H_
10 #define _NORFLASHPLATFORMLIB_H_
11
12 typedef struct {
13 UINTN DeviceBaseAddress; // Start address of the Device Base Address (DBA)
14 UINTN RegionBaseAddress; // Start address of one single region
15 UINTN Size;
16 UINTN BlockSize;
17 } NOR_FLASH_DESCRIPTION;
18
19 EFI_STATUS
20 NorFlashPlatformInitialization (
21 VOID
22 );
23
24 EFI_STATUS
25 NorFlashPlatformGetDevices (
26 OUT NOR_FLASH_DESCRIPTION **NorFlashDescriptions,
27 OUT UINT32 *Count
28 );
29
30 #endif /* _NORFLASHPLATFORMLIB_H_ */