xref: /openbmc/linux/drivers/nvmem/Makefile (revision 20e2fc42)
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
9obj-$(CONFIG_NVMEM_SYSFS)	+= nvmem_sysfs.o
10nvmem_sysfs-y			:= nvmem-sysfs.o
11
12# Devices
13obj-$(CONFIG_NVMEM_BCM_OCOTP)	+= nvmem-bcm-ocotp.o
14nvmem-bcm-ocotp-y		:= bcm-ocotp.o
15obj-$(CONFIG_NVMEM_IMX_IIM)	+= nvmem-imx-iim.o
16nvmem-imx-iim-y			:= imx-iim.o
17obj-$(CONFIG_NVMEM_IMX_OCOTP)	+= nvmem-imx-ocotp.o
18nvmem-imx-ocotp-y		:= imx-ocotp.o
19obj-$(CONFIG_NVMEM_IMX_OCOTP_SCU)	+= nvmem-imx-ocotp-scu.o
20nvmem-imx-ocotp-scu-y		:= imx-ocotp-scu.o
21obj-$(CONFIG_NVMEM_LPC18XX_EEPROM)	+= nvmem_lpc18xx_eeprom.o
22nvmem_lpc18xx_eeprom-y	:= lpc18xx_eeprom.o
23obj-$(CONFIG_NVMEM_LPC18XX_OTP)	+= nvmem_lpc18xx_otp.o
24nvmem_lpc18xx_otp-y		:= lpc18xx_otp.o
25obj-$(CONFIG_NVMEM_MXS_OCOTP)	+= nvmem-mxs-ocotp.o
26nvmem-mxs-ocotp-y		:= mxs-ocotp.o
27obj-$(CONFIG_MTK_EFUSE)		+= nvmem_mtk-efuse.o
28nvmem_mtk-efuse-y		:= mtk-efuse.o
29obj-$(CONFIG_QCOM_QFPROM)	+= nvmem_qfprom.o
30nvmem_qfprom-y			:= qfprom.o
31obj-$(CONFIG_ROCKCHIP_EFUSE)	+= nvmem_rockchip_efuse.o
32nvmem_rockchip_efuse-y		:= rockchip-efuse.o
33obj-$(CONFIG_NVMEM_SUNXI_SID)	+= nvmem_sunxi_sid.o
34nvmem_stm32_romem-y 		:= stm32-romem.o
35obj-$(CONFIG_NVMEM_STM32_ROMEM) += nvmem_stm32_romem.o
36nvmem_sunxi_sid-y		:= sunxi_sid.o
37obj-$(CONFIG_UNIPHIER_EFUSE)	+= nvmem-uniphier-efuse.o
38nvmem-uniphier-efuse-y		:= uniphier-efuse.o
39obj-$(CONFIG_NVMEM_VF610_OCOTP)	+= nvmem-vf610-ocotp.o
40nvmem-vf610-ocotp-y		:= vf610-ocotp.o
41obj-$(CONFIG_MESON_EFUSE)	+= nvmem_meson_efuse.o
42nvmem_meson_efuse-y		:= meson-efuse.o
43obj-$(CONFIG_MESON_MX_EFUSE)	+= nvmem_meson_mx_efuse.o
44nvmem_meson_mx_efuse-y		:= meson-mx-efuse.o
45obj-$(CONFIG_NVMEM_SNVS_LPGPR)	+= nvmem_snvs_lpgpr.o
46nvmem_snvs_lpgpr-y		:= snvs_lpgpr.o
47obj-$(CONFIG_RAVE_SP_EEPROM)	+= nvmem-rave-sp-eeprom.o
48nvmem-rave-sp-eeprom-y		:= rave-sp-eeprom.o
49obj-$(CONFIG_SC27XX_EFUSE)	+= nvmem-sc27xx-efuse.o
50nvmem-sc27xx-efuse-y		:= sc27xx-efuse.o
51obj-$(CONFIG_NVMEM_ZYNQMP)	+= nvmem_zynqmp_nvmem.o
52nvmem_zynqmp_nvmem-y		:= zynqmp_nvmem.o
53