Add lock_otp method to Barebox

This command locks the OTP against future writes.

Also make otp_lock(..) return an integer indicating the success status.

Change-Id: I3ce263e6175bbf8af591c6367fcf73af4c0019b6
3 files changed