sdm710-common: Move FM support to common

Change-Id: I3f00beb299051ca2c72cce4a947cea01f04bcdc8
This commit is contained in:
Sebastiano Barezzi
2022-09-04 01:24:03 +02:00
parent 8cb0432295
commit 0c874f231f
4 changed files with 31 additions and 4 deletions

View File

@@ -60,6 +60,12 @@ ifeq ($(TARGET_HAS_UDFPS),true)
TARGET_SURFACEFLINGER_UDFPS_LIB := //hardware/xiaomi:libudfps_extension.xiaomi
endif
# FM
ifeq ($(TARGET_HAS_FM),true)
BOARD_HAS_QCA_FM_SOC := "cherokee"
BOARD_HAVE_QCOM_FM := true
endif
# Kernel
BOARD_BOOT_HEADER_VERSION := 2
BOARD_KERNEL_BASE := 0x00000000
@@ -139,6 +145,9 @@ BOARD_AVB_RECOVERY_ROLLBACK_INDEX_LOCATION := 1
# VINTF
DEVICE_MANIFEST_FILE += $(COMMON_PATH)/manifest.xml
ifeq ($(TARGET_HAS_FM),true)
DEVICE_MANIFEST_FILE += $(COMMON_PATH)/manifest_fm.xml
endif
ifeq ($(TARGET_HAS_NFC),true)
DEVICE_MANIFEST_FILE += $(COMMON_PATH)/manifest_nfc.xml
endif

7
manifest_fm.xml Normal file
View File

@@ -0,0 +1,7 @@
<manifest version="2.0" type="device">
<hal format="hidl">
<name>vendor.qti.hardware.fm</name>
<transport>hwbinder</transport>
<fqname>@1.0::IFmHci/default</fqname>
</hal>
</manifest>

View File

@@ -55,10 +55,6 @@ vendor/lib64/vendor.qti.hardware.bluetooth_sar@1.1.so
system_ext/lib64/libaptXHD_encoder.so|e13fa70c97caaa24d061678bdee608eb8850a69e
system_ext/lib64/libaptX_encoder.so|df1c89d7af1bb35808d5fe3496b04ba066c10cbc
# Bluetooth (FM) - from pyxis
vendor/lib64/hw/vendor.qti.hardware.fm@1.0-impl.so|1d191661a6aee776e3b2a851354dc2cbc819bfef
vendor/lib64/vendor.qti.hardware.fm@1.0.so|17e86e9a2054db733d955fcf1066f6e06a44fb21
# CDSP
vendor/bin/cdsprpcd
vendor/etc/init/vendor.qti.cdsprpc-service.rc
@@ -258,6 +254,13 @@ vendor/etc/seccomp_policy/vendor.qti.hardware.dsp.policy
vendor/lib/vendor.qti.hardware.dsp@1.0.so
vendor/lib64/vendor.qti.hardware.dsp@1.0.so
# FM - from pyxis
system_ext/lib64/fm_helium.so|55ef376cc802574df92025bebaba1cebcc74a918
system_ext/lib64/libfm-hci.so|0cfbf3d84724428721973cc7ad22f5d1e1368591
system_ext/lib64/vendor.qti.hardware.fm@1.0.so|4a2522113d6b737a87d3b43233f1afa94d9e45ad
vendor/lib64/hw/vendor.qti.hardware.fm@1.0-impl.so|1d191661a6aee776e3b2a851354dc2cbc819bfef
vendor/lib64/vendor.qti.hardware.fm@1.0.so|17e86e9a2054db733d955fcf1066f6e06a44fb21
# Graphics (Adreno)
vendor/lib/egl/eglSubDriverAndroid.so
vendor/lib/egl/libEGL_adreno.so

View File

@@ -163,6 +163,14 @@ PRODUCT_PACKAGES += \
vendor.goodix.hardware.biometrics.fingerprint@2.1.vendor
endif
# FM
ifeq ($(TARGET_HAS_FM),true)
PRODUCT_PACKAGES += \
FM2 \
libqcomfm_jni \
qcom.fmradio
endif
# Gatekeeper
PRODUCT_PACKAGES += \
android.hardware.gatekeeper@1.0.vendor