xref: /openbmc/linux/drivers/nvmem/Makefile (revision 2d091155)
1# SPDX-License-Identifier: GPL-2.0
2#
3# Makefile for nvmem drivers.
4#
5
6obj-$(CONFIG_NVMEM)		+= nvmem_core.o
7nvmem_core-y			:= core.o
8
9# Devices
10obj-$(CONFIG_NVMEM_BCM_OCOTP)	+= nvmem-bcm-ocotp.o
11nvmem-bcm-ocotp-y		:= bcm-ocotp.o
12obj-$(CONFIG_NVMEM_IMX_IIM)	+= nvmem-imx-iim.o
13nvmem-imx-iim-y			:= imx-iim.o
14obj-$(CONFIG_NVMEM_IMX_OCOTP)	+= nvmem-imx-ocotp.o
15nvmem-imx-ocotp-y		:= imx-ocotp.o
16obj-$(CONFIG_NVMEM_IMX_OCOTP_SCU)	+= nvmem-imx-ocotp-scu.o
17nvmem-imx-ocotp-scu-y		:= imx-ocotp-scu.o
18obj-$(CONFIG_JZ4780_EFUSE)		+= nvmem_jz4780_efuse.o
19nvmem_jz4780_efuse-y		:= jz4780-efuse.o
20obj-$(CONFIG_NVMEM_LPC18XX_EEPROM)	+= nvmem_lpc18xx_eeprom.o
21nvmem_lpc18xx_eeprom-y	:= lpc18xx_eeprom.o
22obj-$(CONFIG_NVMEM_LPC18XX_OTP)	+= nvmem_lpc18xx_otp.o
23nvmem_lpc18xx_otp-y		:= lpc18xx_otp.o
24obj-$(CONFIG_NVMEM_MXS_OCOTP)	+= nvmem-mxs-ocotp.o
25nvmem-mxs-ocotp-y		:= mxs-ocotp.o
26obj-$(CONFIG_NVMEM_NINTENDO_OTP)	+= nvmem-nintendo-otp.o
27nvmem-nintendo-otp-y		:= nintendo-otp.o
28obj-$(CONFIG_MTK_EFUSE)		+= nvmem_mtk-efuse.o
29nvmem_mtk-efuse-y		:= mtk-efuse.o
30obj-$(CONFIG_QCOM_QFPROM)	+= nvmem_qfprom.o
31nvmem_qfprom-y			:= qfprom.o
32obj-$(CONFIG_NVMEM_SPMI_SDAM)	+= nvmem_qcom-spmi-sdam.o
33nvmem_qcom-spmi-sdam-y		+= qcom-spmi-sdam.o
34obj-$(CONFIG_ROCKCHIP_EFUSE)	+= nvmem_rockchip_efuse.o
35nvmem_rockchip_efuse-y		:= rockchip-efuse.o
36obj-$(CONFIG_ROCKCHIP_OTP)	+= nvmem-rockchip-otp.o
37nvmem-rockchip-otp-y		:= rockchip-otp.o
38obj-$(CONFIG_NVMEM_SUNXI_SID)	+= nvmem_sunxi_sid.o
39nvmem_stm32_romem-y 		:= stm32-romem.o
40obj-$(CONFIG_NVMEM_STM32_ROMEM) += nvmem_stm32_romem.o
41nvmem_sunxi_sid-y		:= sunxi_sid.o
42obj-$(CONFIG_UNIPHIER_EFUSE)	+= nvmem-uniphier-efuse.o
43nvmem-uniphier-efuse-y		:= uniphier-efuse.o
44obj-$(CONFIG_NVMEM_VF610_OCOTP)	+= nvmem-vf610-ocotp.o
45nvmem-vf610-ocotp-y		:= vf610-ocotp.o
46obj-$(CONFIG_MESON_EFUSE)	+= nvmem_meson_efuse.o
47nvmem_meson_efuse-y		:= meson-efuse.o
48obj-$(CONFIG_MESON_MX_EFUSE)	+= nvmem_meson_mx_efuse.o
49nvmem_meson_mx_efuse-y		:= meson-mx-efuse.o
50obj-$(CONFIG_NVMEM_SNVS_LPGPR)	+= nvmem_snvs_lpgpr.o
51nvmem_snvs_lpgpr-y		:= snvs_lpgpr.o
52obj-$(CONFIG_RAVE_SP_EEPROM)	+= nvmem-rave-sp-eeprom.o
53nvmem-rave-sp-eeprom-y		:= rave-sp-eeprom.o
54obj-$(CONFIG_SC27XX_EFUSE)	+= nvmem-sc27xx-efuse.o
55nvmem-sc27xx-efuse-y		:= sc27xx-efuse.o
56obj-$(CONFIG_NVMEM_ZYNQMP)	+= nvmem_zynqmp_nvmem.o
57nvmem_zynqmp_nvmem-y		:= zynqmp_nvmem.o
58obj-$(CONFIG_SPRD_EFUSE)	+= nvmem_sprd_efuse.o
59nvmem_sprd_efuse-y		:= sprd-efuse.o
60obj-$(CONFIG_NVMEM_RMEM) 	+= nvmem-rmem.o
61nvmem-rmem-y			:= rmem.o
62obj-$(CONFIG_NVMEM_BRCM_NVRAM)	+= nvmem_brcm_nvram.o
63nvmem_brcm_nvram-y		:= brcm_nvram.o
64obj-$(CONFIG_NVMEM_LAYERSCAPE_SFP)	+= nvmem-layerscape-sfp.o
65nvmem-layerscape-sfp-y		:= layerscape-sfp.o
66obj-$(CONFIG_NVMEM_SUNPLUS_OCOTP)	+= nvmem_sunplus_ocotp.o
67nvmem_sunplus_ocotp-y		:= sunplus-ocotp.o
68