mirror of
https://github.com/tianocore/edk2
synced 2026-08-27 00:23:19 -04:00
MdeModulePkg: SpiNorFlash update FillWriteBuffer headers.
The function headers for FillWriteBuffer have become out of date with the implementation. Update the function headers to more clearly define the interface for recent changes. Signed-off-by: Aaron Pop <aaronpop@microsoft.com>
This commit is contained in:
parent
783a92f1ea
commit
1aedb79e9b
2 changed files with 13 additions and 5 deletions
|
|
@ -20,6 +20,8 @@
|
|||
/**
|
||||
Fill Write Buffer with Opcode, Address, Dummy Bytes, and Data.
|
||||
|
||||
If WriteBytes is non-zero, WriteBuffer must be a valid buffer.
|
||||
|
||||
@param[in] Instance The instance of SPI_NOR_FLASH
|
||||
@param[in] Opcode Opcode for transaction
|
||||
@param[in] DummyBytes The dummy bytes send to SPI flash device
|
||||
|
|
|
|||
|
|
@ -16,12 +16,18 @@
|
|||
#include "SpiNorFlashJedecSfdpInternal.h"
|
||||
|
||||
/**
|
||||
Fill Write Buffer with Opcode, Address, Dummy Bytes, and Data
|
||||
Fill Write Buffer with Opcode, Address, Dummy Bytes, and Data.
|
||||
|
||||
@param[in] Opcode - Opcode for transaction
|
||||
@param[in] Address - SPI Offset Start Address
|
||||
@param[in] WriteBytes - Number of bytes to write to SPI device
|
||||
@param[in] WriteBuffer - Buffer containing bytes to write to SPI device
|
||||
If WriteBytes is non-zero, WriteBuffer must be a valid buffer.
|
||||
|
||||
@param[in] Instance The instance of SPI_NOR_FLASH
|
||||
@param[in] Opcode Opcode for transaction
|
||||
@param[in] DummyBytes The dummy bytes send to SPI flash device
|
||||
@param[in] AddressBytesSupported Bytes of address supported by SPI flash device
|
||||
@param[in] UseAddress Send the address for SPI flash command
|
||||
@param[in] Address SPI Offset Start Address
|
||||
@param[in] WriteBytes Number of bytes to write to SPI device
|
||||
@param[in] WriteBuffer Buffer containing bytes to write to SPI device
|
||||
|
||||
@retval Size of Data in Buffer
|
||||
**/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue