lib/sw_apps/zynqmp_pmufw/src/pm_reset.c
s32 PmResetSetConfig(const u32 resetId, const u32 permissions)
{
	s32 status = XST_SUCCESS;
	PmReset* rst = PmGetResetById(resetId);

	if (NULL == rst) {
		status = XST_INVALID_PARAM;
		goto done;
	}

	rst->access = permissions;

done:
	return status;
}
/**
 * PmResetSetConfig() - Set configuration for reset control
 * @resetId     ID of the reset whose permissions should be set
 * @permissions Permissions to set (ORed IPI masks of permissible masters)
 *
 * @return      XST_INVALID_PARAM if reset with given ID is not found,
 *              XST_SUCCESS if permissions are set
 */
Set configuration for reset control
@resetId     ID of the reset whose permissions should be set
@permissions Permissions to set (ORed IPI masks of permissible masters)

@return      XST_INVALID_PARAM if reset with given ID is not found,
XST_SUCCESS if permissions are set
Set configuration for reset control @resetId ID of the reset whose permissions should be set @permissions Permissions to set ( ORed IPI masks of permissible masters ) @return XST_INVALID_PARAM if reset with given ID is not found XST_SUCCESS if permissions are set
s32 PmResetSetConfig(const u32 resetId, const u32 permissions)
{
	s32 status = XST_SUCCESS;
	PmReset* rst = PmGetResetById(resetId);
	if (NULL == rst) {
		status = XST_INVALID_PARAM;
		goto done;
	}
	rst->access = permissions;
done:
	return status;
}
s32 PmResetSetConfig ( const u32 resetId , const u32 permissions ) { s32 status = XST_SUCCESS ; PmReset * rst = PmGetResetById ( resetId ) ; if ( NULL == rst ) { status = XST_INVALID_PARAM ; goto done ; } rst -> access = permissions ; done : return status ; }
PmResetSetConfig() - Set configuration for reset control
 @resetId     ID of the reset whose permissions should be set
 @permissions Permissions to set (ORed IPI masks of permissible masters)
PmResetSetConfig () - Set configuration for reset control @resetId ID of the reset whose permissions should be set @permissions Permissions to set ( ORed IPI masks of permissible masters )