summaryrefslogtreecommitdiffstats
path: root/drivers/nvmem/Kconfig
diff options
context:
space:
mode:
authorStefan Wahren2015-09-30 14:56:27 +0200
committerGreg Kroah-Hartman2015-10-04 13:06:13 +0200
commitc01e9a11ab6f3096a54574c3224d8732a374f135 (patch)
treeaac8f37859f835c6d341796e516a09d79b7ad238 /drivers/nvmem/Kconfig
parentnvmem: add binding for mxs-ocotp (diff)
downloadkernel-qcow2-linux-c01e9a11ab6f3096a54574c3224d8732a374f135.tar.gz
kernel-qcow2-linux-c01e9a11ab6f3096a54574c3224d8732a374f135.tar.xz
kernel-qcow2-linux-c01e9a11ab6f3096a54574c3224d8732a374f135.zip
nvmem: add driver for ocotp in i.MX23 and i.MX28
This patch brings read-only support for the On-Chip OTP cells in the i.MX23 and i.MX28 processor. The driver implements the new NVMEM provider API. Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com> Reviewed-by: Marek Vasut <marex@denx.de> Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/nvmem/Kconfig')
-rw-r--r--drivers/nvmem/Kconfig11
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/nvmem/Kconfig b/drivers/nvmem/Kconfig
index 208a1cb6e4bf..a6d80536fd58 100644
--- a/drivers/nvmem/Kconfig
+++ b/drivers/nvmem/Kconfig
@@ -25,6 +25,17 @@ config NVMEM_IMX_OCOTP
This driver can also be built as a module. If so, the module
will be called nvmem-imx-ocotp.
+config NVMEM_MXS_OCOTP
+ tristate "Freescale MXS On-Chip OTP Memory Support"
+ depends on ARCH_MXS || COMPILE_TEST
+ help
+ If you say Y here, you will get readonly access to the
+ One Time Programmable memory pages that are stored
+ on the Freescale i.MX23/i.MX28 processor.
+
+ This driver can also be built as a module. If so, the module
+ will be called nvmem-mxs-ocotp.
+
config QCOM_QFPROM
tristate "QCOM QFPROM Support"
depends on ARCH_QCOM || COMPILE_TEST