summaryrefslogtreecommitdiffstats
path: root/drivers/nfc/pn544/pn544.c
diff options
context:
space:
mode:
authorEric Lapuyade2013-07-19 14:57:13 +0200
committerSamuel Ortiz2013-08-14 01:08:12 +0200
commiteab10b71a7d62d7cc6db631dba448f1d84df9b53 (patch)
tree96c4c697aaab1da7cce768945365e07bcf3fe63d /drivers/nfc/pn544/pn544.c
parentNFC: Move nfc_fw_download_done() definition from private to public (diff)
downloadkernel-qcow2-linux-eab10b71a7d62d7cc6db631dba448f1d84df9b53.tar.gz
kernel-qcow2-linux-eab10b71a7d62d7cc6db631dba448f1d84df9b53.tar.xz
kernel-qcow2-linux-eab10b71a7d62d7cc6db631dba448f1d84df9b53.zip
NFC: pn544: i2c: Add firmware download mode power-on support
This is in preparation for pn544-i2c firmware download feature, where we need to know if we're in regular or firmware upload mode. Signed-off-by: Eric Lapuyade <eric.lapuyade@intel.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/nfc/pn544/pn544.c')
-rw-r--r--drivers/nfc/pn544/pn544.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/nfc/pn544/pn544.c b/drivers/nfc/pn544/pn544.c
index 0d17da7675b7..1d4b38c036fb 100644
--- a/drivers/nfc/pn544/pn544.c
+++ b/drivers/nfc/pn544/pn544.c
@@ -31,9 +31,6 @@
/* Timing restrictions (ms) */
#define PN544_HCI_RESETVEN_TIME 30
-#define HCI_MODE 0
-#define FW_MODE 1
-
enum pn544_state {
PN544_ST_COLD,
PN544_ST_FW_READY,