commit | 0642bac7da4240912c3e923a7d1c47af3dd89b9d | [log] [tgz] |
---|---|---|
author | Richard Leitner <richard.leitner@skidata.com> | Fri Mar 31 13:44:55 2017 +0100 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sat Apr 08 17:51:48 2017 +0200 |
tree | a3ae1b6494a562da42de72d982809d08a2d3acbd | |
parent | 9b66587ee259800d278e84af64755083ea09926b [diff] |
nvmem: imx-ocotp: add write support Implement write routine for OCOTP controller found in i.MX6 SoC's. Furthermore add locking to the read function to prevent race conditions. The write routine code is based on the fsl_otp driver from Freescale. Signed-off-by: Richard Leitner <richard.leitner@skidata.com> Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>