From 2bbcccf552cbbd076ba8055fc693fc207cd60482 Mon Sep 17 00:00:00 2001 From: Marek Vasut Date: Thu, 6 Mar 2014 01:52:03 +0100 Subject: 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 Cc: Stefano Babic --- include/configs/mxs.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include/configs/mxs.h') diff --git a/include/configs/mxs.h b/include/configs/mxs.h index a9f4d894b8..ba55177e72 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 -- cgit v1.2.1