]> git.proxmox.com Git - mirror_edk2.git/blame_incremental - ArmPlatformPkg/Include/Library/NorFlashPlatformLib.h
ArmPlatformPkg: Apply uncrustify changes
[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 SPDX-License-Identifier: BSD-2-Clause-Patent\r
6\r
7 **/\r
8\r
9#ifndef _NORFLASHPLATFORMLIB_H_\r
10#define _NORFLASHPLATFORMLIB_H_\r
11\r
12typedef struct {\r
13 UINTN DeviceBaseAddress; // Start address of the Device Base Address (DBA)\r
14 UINTN RegionBaseAddress; // Start address of one single region\r
15 UINTN Size;\r
16 UINTN BlockSize;\r
17} NOR_FLASH_DESCRIPTION;\r
18\r
19EFI_STATUS\r
20NorFlashPlatformInitialization (\r
21 VOID\r
22 );\r
23\r
24EFI_STATUS\r
25NorFlashPlatformGetDevices (\r
26 OUT NOR_FLASH_DESCRIPTION **NorFlashDescriptions,\r
27 OUT UINT32 *Count\r
28 );\r
29\r
30#endif /* _NORFLASHPLATFORMLIB_H_ */\r