sdm660: Enable build flag for NFC

Add HIDL HAL entries for NFC.

Enable build flag for NFC solution.

Change-Id: Ide9272104cf8f17a61fd5b3cbf1d6d7e16c5a11a
This commit is contained in:
Gaurav Singhal 2017-06-29 17:58:56 +05:30
parent 5c453c09fa
commit 6027676f86
2 changed files with 23 additions and 1 deletions

View file

@ -23,7 +23,7 @@ TARGET_DISABLE_DASH := true
TARGET_KERNEL_VERSION := 4.4 TARGET_KERNEL_VERSION := 4.4
BOARD_FRP_PARTITION_NAME := frp BOARD_FRP_PARTITION_NAME := frp
BOARD_HAVE_QCOM_FM := true BOARD_HAVE_QCOM_FM := true
TARGET_USES_NQ_NFC := false TARGET_USES_NQ_NFC := true
ifeq ($(TARGET_USES_NQ_NFC),true) ifeq ($(TARGET_USES_NQ_NFC),true)
# Flag to enable and support NQ3XX chipsets # Flag to enable and support NQ3XX chipsets

View file

@ -464,4 +464,26 @@ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
<instance>default</instance> <instance>default</instance>
</interface> </interface>
</hal> </hal>
<!-- nfc -->
<hal format="hidl">
<name>android.hardware.nfc</name>
<transport>hwbinder</transport>
<impl level="generic"></impl>
<version>1.0</version>
<interface>
<name>INfc</name>
<instance>default</instance>
</interface>
</hal>
<hal format="hidl">
<name>vendor.nxp.hardware.nfc</name>
<transport>hwbinder</transport>
<impl level="generic"></impl>
<version>1.0</version>
<interface>
<name>INqNfc</name>
<instance>default</instance>
</interface>
</hal>
</manifest> </manifest>