summaryrefslogtreecommitdiffstats
path: root/drivers/nvmem/Makefile
diff options
context:
space:
mode:
authorJoachim Eastwood <manabian@gmail.com>2016-10-31 14:45:16 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-11-10 15:34:55 +0100
commit88806daf10f4eeaf7d5b41f360e37592bd9a759c (patch)
tree916730f9c8b338144c2ba2ec08bd93a9cf1d3b45 /drivers/nvmem/Makefile
parent71aeebff2c1153037fb900e17e1accb0f7812f36 (diff)
downloadlinux-88806daf10f4eeaf7d5b41f360e37592bd9a759c.tar.bz2
nvmem: add NXP LPC18xx OTP driver
Add simple read only driver for the internal OTP (One Time Programmable) memory found on all NXP LPC18xx and LPC43xx devices. The OTP memory is split into 4 banks each with 4 32-bits word. Some of the banks contain predefined data while others are for general purpose and user programmable via the OTP API in ROM. Note that writing to the OTP memory is not yet supported. Signed-off-by: Joachim Eastwood <manabian@gmail.com> Tested-by: Vladimir Zapolskiy <vz@mleia.com> Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/nvmem/Makefile')
-rw-r--r--drivers/nvmem/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/nvmem/Makefile b/drivers/nvmem/Makefile
index 8f942a0cdaec..b2d31950ce58 100644
--- a/drivers/nvmem/Makefile
+++ b/drivers/nvmem/Makefile
@@ -10,6 +10,8 @@ obj-$(CONFIG_NVMEM_IMX_OCOTP) += nvmem-imx-ocotp.o
nvmem-imx-ocotp-y := imx-ocotp.o
obj-$(CONFIG_NVMEM_LPC18XX_EEPROM) += nvmem_lpc18xx_eeprom.o
nvmem_lpc18xx_eeprom-y := lpc18xx_eeprom.o
+obj-$(CONFIG_NVMEM_LPC18XX_OTP) += nvmem_lpc18xx_otp.o
+nvmem_lpc18xx_otp-y := lpc18xx_otp.o
obj-$(CONFIG_NVMEM_MXS_OCOTP) += nvmem-mxs-ocotp.o
nvmem-mxs-ocotp-y := mxs-ocotp.o
obj-$(CONFIG_MTK_EFUSE) += nvmem_mtk-efuse.o