This function used to get details serial Flash connected to the Specific interface.
Prototype
u32 XSfl_FlashGetInfo(u8 SflHandler, u8 Option, u32 *DataPtr);
Parameters
The following table lists the XSfl_FlashGetInfo function arguments.
| Type | Name | Description |
|---|---|---|
| u8 | SflHandler | is a pointer to the Sfl interface driver component to use. |
| u8 | Option | is to get specific details of the flash. |
| u32 * | DataPtr | is the pointer to the flash info to be copied. |
Returns
- XST_SUCCESS if successful
- XST_FAILURE - In case of failure