--- /dev/null
+/** @file\r
+\r
+ Copyright (c) 2011-2012, ARM Ltd. All rights reserved.<BR>\r
+\r
+ SPDX-License-Identifier: BSD-2-Clause-Patent\r
+\r
+ **/\r
+\r
+#ifndef __VIRT_NOR_FLASH_PLATFORM_LIB__\r
+#define __VIRT_NOR_FLASH_PLATFORM_LIB__\r
+\r
+typedef struct {\r
+ UINTN DeviceBaseAddress; // Start address of the Device Base Address (DBA)\r
+ UINTN RegionBaseAddress; // Start address of one single region\r
+ UINTN Size;\r
+ UINTN BlockSize;\r
+} VIRT_NOR_FLASH_DESCRIPTION;\r
+\r
+EFI_STATUS\r
+VirtNorFlashPlatformInitialization (\r
+ VOID\r
+ );\r
+\r
+EFI_STATUS\r
+VirtNorFlashPlatformGetDevices (\r
+ OUT VIRT_NOR_FLASH_DESCRIPTION **NorFlashDescriptions,\r
+ OUT UINT32 *Count\r
+ );\r
+\r
+#endif /* __VIRT_NOR_FLASH_PLATFORM_LIB__ */\r