/* Get Hif info of images in both partitions (Firmware and Ota).  */
nm_get_hif_info(uint16 *pu16FwHifInfo, uint16 *pu16OtaHifInfo)
/* Get Hif info of images in both partitions (Firmware and Ota).  */
nm_get_hif_info(uint16 *pu16FwHifInfo, uint16 *pu16OtaHifInfo)
{
	sint8 ret = M2M_SUCCESS;
	uint32 reg = 0;
	ret = nm_read_reg_with_ret(NMI_REV_REG, &reg);
	if(ret == M2M_SUCCESS)
	{
		if(pu16FwHifInfo != NULL)
		{
			*pu16FwHifInfo = (uint16)reg;
		}
		if(pu16OtaHifInfo)
		{
			*pu16OtaHifInfo = (uint16)(reg>>16);
		}
	}
	return ret;
}