TianoCore EDK2 master
Loading...
Searching...
No Matches
VirtNorFlashPlatformLib.h File Reference

Go to the source code of this file.

Data Structures

struct  VIRT_NOR_FLASH_DESCRIPTION
 

Functions

EFI_STATUS VirtNorFlashPlatformInitialization (VOID)
 
EFI_STATUS VirtNorFlashPlatformGetDevices (OUT VIRT_NOR_FLASH_DESCRIPTION **NorFlashDescriptions, OUT UINT32 *Count)
 

Detailed Description

Copyright (c) 2011-2012, ARM Ltd. All rights reserved.

SPDX-License-Identifier: BSD-2-Clause-Patent

Definition in file VirtNorFlashPlatformLib.h.

Function Documentation

◆ VirtNorFlashPlatformGetDevices()

EFI_STATUS VirtNorFlashPlatformGetDevices ( OUT VIRT_NOR_FLASH_DESCRIPTION **  NorFlashDescriptions,
OUT UINT32 *  Count 
)

Return the Flash devices on the platform.

Parameters
[out]NorFlashDescriptionsPointer to the Flash device description.
[out]CountNumber of Flash devices.
Return values
EFI_SUCCESSSuccess.
EFI_NOT_FOUNDFlash device not found.

Definition at line 190 of file NorFlashKvmtool.c.

◆ VirtNorFlashPlatformInitialization()

EFI_STATUS VirtNorFlashPlatformInitialization ( VOID  )

This function performs platform specific actions to initialise the NOR flash, if required.

Return values
EFI_SUCCESSSuccess.

Definition at line 39 of file NorFlashKvmtool.c.