/* To check the compatibility of an image with the current driver.  */
sint8 hif_check_compatibility(uint16 u16HifInfo)
/* To check the compatibility of an image with the current driver.  */
sint8 hif_check_compatibility(uint16 u16HifInfo)
{
	sint8 ret = M2M_ERR_FW_VER_MISMATCH;
	if((M2M_GET_HIF_BLOCK(u16HifInfo) == M2M_HIF_BLOCK_VALUE) && (M2M_GET_HIF_MAJOR(u16HifInfo) == M2M_HIF_MAJOR_VALUE))
	{
		ret = M2M_SUCCESS;
	}
	return ret;
}