Implement power control and firmware download for UART.

Also clean up some UART and I2C DAL functions.

o Re-enable FW download
o Use /system/vendor/firmware for pn544 firmware now
o Clean up read() and write() paths for both I2C and UART
o Use new sysfs entry for power and FW control on I2C platforms
o Remove userspace sleep()'s on power control toggle. They are now
  done in the kernel as they should be.

Change-Id: I39956d36e02c1eb526a5c546bd3cb74edce4ff18
5 files changed
tree: e5cd2a7c2aaf788faac5af55a27ccc96dc559de9
  1. inc/
  2. Linux_x86/
  3. src/
  4. Android.mk