Integrating Freescale drop of corrected OTP driver
Corrects the otp_write() method, and adds an otp_lock() method.
Patch was merged manually due to conflicting bases (patch was against original
OTP algorithm, we have the updated version already.)
Changes made to patch:
* Made otp_smart_write_sequence(..) void rather than int as it has no returns.
* Split comment in otp_smart_write_sequence(..) due to line length.
* Split u32 declarations in otp_write(..), otp_lock(..) due to line length.
* Changed printf in otp_write(..) to be more useful.
* Whitespace changes to match existing code.
Original patch name: otp_driver_enhancement_2.patch
Change-Id: I16d0601c59d870d31d1610de0ab9f2fe11003e55
2 files changed