diff options
author | Marek Vasut | 2014-03-06 01:52:03 +0100 |
---|---|---|
committer | Stefano Babic | 2014-03-31 18:28:50 +0200 |
commit | 2bbcccf552cbbd076ba8055fc693fc207cd60482 (patch) | |
tree | 82810d1a7380880edb9f63740d03ca58b550fba2 /include | |
parent | 53e6b14e037c9f72e6d03244c32d8d597e2e0234 (diff) |
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>
Diffstat (limited to 'include')
-rw-r--r-- | include/configs/mxs.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/configs/mxs.h b/include/configs/mxs.h index a9f4d894b8b..ba55177e72b 100644 --- a/include/configs/mxs.h +++ b/include/configs/mxs.h @@ -182,6 +182,11 @@ #define CONFIG_SYS_NAND_5_ADDR_CYCLE #endif +/* OCOTP */ +#ifdef CONFIG_CMD_FUSE +#define CONFIG_MXS_OCOTP +#endif + /* SPI */ #ifdef CONFIG_CMD_SPI #define CONFIG_HARD_SPI |