Integrating Freescale's drop of the new otp read/write APIs

The code is mostly unchanged from the drop, except to:

  * Fix whitespace issues.
  * Fix "implicit declaration of function 'HAL_get_axi_clk'"
  * Fix "control reaches end of non-void function (otp_smart_write_sequence)"
  * Improve warning message when read_data != prog_data[i] (in otp_write)

Change-Id: I28028d6ae31a830e6a613002f740ac99d66bbdef
1 file changed