summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartijn Coenen <maco@google.com>2015-11-03 13:52:47 +0000
committerandroid-build-merger <android-build-merger@google.com>2015-11-03 13:52:47 +0000
commit9dab75d79ee3faf8688dd8db3c735789a16111be (patch)
treef3be7fd993cf8823bc702570c79e6bfa5b94b7fd
parentb7ab9d4452d657349eb8dad46a155bc8b5e7905d (diff)
parent761cf10d8ad8aaa793d5d88de8e7f70de8bffbfa (diff)
downloadlibnfc-nci-9dab75d79ee3faf8688dd8db3c735789a16111be.tar.gz
Merge "add PN54x chip selection" am: 8c3bbf44cb am: f644e0182e
am: 761cf10d8a * commit '761cf10d8ad8aaa793d5d88de8e7f70de8bffbfa': add PN54x chip selection
-rw-r--r--halimpl/pn54x/Android.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/halimpl/pn54x/Android.mk b/halimpl/pn54x/Android.mk
index d75a654..4b8bc2a 100644
--- a/halimpl/pn54x/Android.mk
+++ b/halimpl/pn54x/Android.mk
@@ -41,7 +41,11 @@ LOCAL_CFLAGS += -DPN548C2=2
endif
#### Select the CHIP ####
+ifeq ($(NFC_NXP_CHIP_TYPE),PN547C2)
+LOCAL_CFLAGS += -DNFC_NXP_CHIP_TYPE=PN547C2
+else
LOCAL_CFLAGS += -DNFC_NXP_CHIP_TYPE=PN548C2
+endif
LOCAL_CFLAGS += -DANDROID \
-DNXP_UICC_ENABLE -DNXP_HW_SELF_TEST