qcacmn: Add target type for adrastea chip
Add adrastea target type definitions to hif.h. Change-Id: Id3183287ecd749577cfc1b71a0cfd96210073612 CRs-Fixed: 2066361
This commit is contained in:

committed by
snandini

parent
7ddb964c75
commit
817ff7fc72
@@ -97,9 +97,9 @@ typedef void *hif_handle_t;
|
|||||||
/* For Tufello1.0 target_reg_tbl ID*/
|
/* For Tufello1.0 target_reg_tbl ID*/
|
||||||
#define TARGET_TYPE_QCA9377V1 17
|
#define TARGET_TYPE_QCA9377V1 17
|
||||||
#endif /* ENABLE_10_4_FW_HDR */
|
#endif /* ENABLE_10_4_FW_HDR */
|
||||||
|
#endif /* CONFIG_WIN */
|
||||||
/* For Adrastea target */
|
/* For Adrastea target */
|
||||||
#define TARGET_TYPE_ADRASTEA 19
|
#define TARGET_TYPE_ADRASTEA 19
|
||||||
#endif /* CONFIG_WIN */
|
|
||||||
#ifndef TARGET_TYPE_QCA8074
|
#ifndef TARGET_TYPE_QCA8074
|
||||||
#define TARGET_TYPE_QCA8074 20
|
#define TARGET_TYPE_QCA8074 20
|
||||||
#endif
|
#endif
|
||||||
|
@@ -799,6 +799,11 @@ int hif_get_device_type(uint32_t device_id,
|
|||||||
ret = -ENODEV;
|
ret = -ENODEV;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (*target_type == TARGET_TYPE_UNKNOWN) {
|
||||||
|
HIF_ERROR("%s: Unsupported target_type!", __func__);
|
||||||
|
ret = -ENODEV;
|
||||||
|
}
|
||||||
end:
|
end:
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user