diff options
author | Oza Pawandeep <oza.oza@broadcom.com> | 2017-06-09 10:59:06 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-06-09 12:08:27 +0200 |
commit | e827756d64773515fa7de5e7e942a6d1494bf64e (patch) | |
tree | e47ad0baf56539c641a7e5c35780fd9069e3d5ce /lib/locking-selftest-wsem.h | |
parent | de0d6dbdbdb23ddb85f10d54a516e794f9a873e0 (diff) | |
download | talos-obmc-linux-e827756d64773515fa7de5e7e942a6d1494bf64e.tar.gz talos-obmc-linux-e827756d64773515fa7de5e7e942a6d1494bf64e.zip |
nvmem: correct Broadcom OTP controller driver writes
- use data write offset to write otp data instead of read offset
- use OTP program command 0x8 to write otp with ECC rather than just
command 0xA without ECC
Fixes: 9d59c6e8ae27 ("nvmem: Add the Broadcom OTP controller driver")
Signed-off-by: Oza Pawandeep <oza.oza@broadcom.com>
Signed-off-by: Scott Branden <scott.branden@broadcom.com>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/locking-selftest-wsem.h')
0 files changed, 0 insertions, 0 deletions