]>
Commit | Line | Data |
---|---|---|
d5e12da4 | 1 | /** @file\r |
2 | \r | |
68dda854 | 3 | Copyright (c) 2011-2012, ARM Ltd. All rights reserved.<BR>\r |
4 | \r | |
f4dfad05 | 5 | SPDX-License-Identifier: BSD-2-Clause-Patent\r |
d5e12da4 | 6 | \r |
7 | **/\r | |
8 | \r | |
9 | #ifndef _NORFLASHPLATFORMLIB_H_\r | |
10 | #define _NORFLASHPLATFORMLIB_H_\r | |
11 | \r | |
12 | typedef struct {\r | |
68dda854 | 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 | |
d5e12da4 | 17 | } NOR_FLASH_DESCRIPTION;\r |
18 | \r | |
19 | EFI_STATUS\r | |
20 | NorFlashPlatformInitialization (\r | |
21 | VOID\r | |
22 | );\r | |
23 | \r | |
24 | EFI_STATUS\r | |
25 | NorFlashPlatformGetDevices (\r | |
26 | OUT NOR_FLASH_DESCRIPTION **NorFlashDescriptions,\r | |
27 | OUT UINT32 *Count\r | |
28 | );\r | |
29 | \r | |
30 | #endif /* _NORFLASHPLATFORMLIB_H_ */\r |