ARM: mxs: Add OCOTP driver
authorMarek Vasut <marex@denx.de>
Thu, 6 Mar 2014 00:52:03 +0000 (01:52 +0100)
committerStefano Babic <sbabic@denx.de>
Mon, 31 Mar 2014 16:28:50 +0000 (18:28 +0200)
commit2bbcccf552cbbd076ba8055fc693fc207cd60482
tree82810d1a7380880edb9f63740d03ca58b550fba2
parent53e6b14e037c9f72e6d03244c32d8d597e2e0234
ARM: mxs: Add OCOTP driver

Add yet another OCOTP driver for this i.MX family. This time, it's a driver for
the OCOTP variant found in the i.MX23 and i.MX28. This version of OCOTP is too
different from the i.MX6 one that I could not use the mxc_ocotp.c driver without
making it into a big pile of #ifdef . This driver implements the regular fuse
command interface, but due to the IP blocks' limitation, we support only READ
and PROG functions.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Stefano Babic <sbabic@denx.de>
drivers/misc/Makefile
drivers/misc/mxs_ocotp.c [new file with mode: 0644]
include/configs/mxs.h