-
int dfx_cfg_drivers_load(struct dfx_package_Id *package_Id)
/* This API is Responsible for the following things.
* -->Probe the Drivers which are relevant to the Bitstream as per
* DT overlay mentioned in dfx_package folder(With name: *_d.dtbo)
*
* package_id: Unique package_id value which was returned by dfx_cfg_init.
*
* Return: returns zero on success or Error code on failure.
*/
Usage example:
#include "libdfx.h"
/* More code */
ret = dfx_cfg_drivers_load(package_id);
if (ret)
return -1
/* More code */
|