qcacmn: Implement run-time check for 8074 target for emulation

Target 8074 changes for emulation platform (VP/M2M/SOC) are under
compilation switch which does not allow single meta to run for
legacy platforms and Hawkeye emulation platform.
Change compile time switch to run time check for target.
Keep all emulation related changes under QCA8074_VP switch which
needs to be always enabled. It helps to identify emulation specific
changes. All emulation changes are enabled for target type 8074.

CRs-Fixed: 1082545
Change-Id: Id0bab52735154db086b56ecd751578dba75a311a
diff --git a/hif/src/hif_main.c b/hif/src/hif_main.c
index 728740a..766f910 100644
--- a/hif/src/hif_main.c
+++ b/hif/src/hif_main.c
@@ -745,7 +745,14 @@
 bool hif_needs_bmi(struct hif_opaque_softc *hif_ctx)
 {
 	struct hif_softc *hif_sc = HIF_GET_SOFTC(hif_ctx);
-	return hif_sc->bus_type != QDF_BUS_TYPE_SNOC;
+
+	if (hif_sc->bus_type == QDF_BUS_TYPE_SNOC)
+		return false;
+
+	if (hif_sc->target_info.target_type == TARGET_TYPE_QCA8074)
+		return false;
+
+	return true;
 }
 
 /**