xref: /openbmc/linux/drivers/nvmem/Makefile (revision 67ff708b)
1b2441318SGreg Kroah-Hartman# SPDX-License-Identifier: GPL-2.0
2eace75cfSSrinivas Kandagatla#
3eace75cfSSrinivas Kandagatla# Makefile for nvmem drivers.
4eace75cfSSrinivas Kandagatla#
5eace75cfSSrinivas Kandagatla
6eace75cfSSrinivas Kandagatlaobj-$(CONFIG_NVMEM)		+= nvmem_core.o
7eace75cfSSrinivas Kandagatlanvmem_core-y			:= core.o
84ab11996SSrinivas Kandagatla
9ae0c2d72SSrinivas Kandagatlaobj-$(CONFIG_NVMEM_SYSFS)	+= nvmem_sysfs.o
10ae0c2d72SSrinivas Kandagatlanvmem_sysfs-y			:= nvmem-sysfs.o
11ae0c2d72SSrinivas Kandagatla
124ab11996SSrinivas Kandagatla# Devices
139d59c6e8SJonathan Richardsonobj-$(CONFIG_NVMEM_BCM_OCOTP)	+= nvmem-bcm-ocotp.o
149d59c6e8SJonathan Richardsonnvmem-bcm-ocotp-y		:= bcm-ocotp.o
15c066c1c0SMichael Grzeschikobj-$(CONFIG_NVMEM_IMX_IIM)	+= nvmem-imx-iim.o
16c066c1c0SMichael Grzeschiknvmem-imx-iim-y			:= imx-iim.o
173edba6b4SPhilipp Zabelobj-$(CONFIG_NVMEM_IMX_OCOTP)	+= nvmem-imx-ocotp.o
183edba6b4SPhilipp Zabelnvmem-imx-ocotp-y		:= imx-ocotp.o
1967ff708bSPeng Fanobj-$(CONFIG_NVMEM_IMX_OCOTP_SCU)	+= nvmem-imx-ocotp-scu.o
2067ff708bSPeng Fannvmem-imx-ocotp-scu-y		:= imx-ocotp-scu.o
21f02f8aeeSAriel D'Alessandroobj-$(CONFIG_NVMEM_LPC18XX_EEPROM)	+= nvmem_lpc18xx_eeprom.o
22f02f8aeeSAriel D'Alessandronvmem_lpc18xx_eeprom-y	:= lpc18xx_eeprom.o
2388806dafSJoachim Eastwoodobj-$(CONFIG_NVMEM_LPC18XX_OTP)	+= nvmem_lpc18xx_otp.o
2488806dafSJoachim Eastwoodnvmem_lpc18xx_otp-y		:= lpc18xx_otp.o
25c01e9a11SStefan Wahrenobj-$(CONFIG_NVMEM_MXS_OCOTP)	+= nvmem-mxs-ocotp.o
26c01e9a11SStefan Wahrennvmem-mxs-ocotp-y		:= mxs-ocotp.o
274c7e4fe3SAndrew-CT Chenobj-$(CONFIG_MTK_EFUSE)		+= nvmem_mtk-efuse.o
284c7e4fe3SAndrew-CT Chennvmem_mtk-efuse-y		:= mtk-efuse.o
294ab11996SSrinivas Kandagatlaobj-$(CONFIG_QCOM_QFPROM)	+= nvmem_qfprom.o
304ab11996SSrinivas Kandagatlanvmem_qfprom-y			:= qfprom.o
3103a69568SZhengShunQianobj-$(CONFIG_ROCKCHIP_EFUSE)	+= nvmem_rockchip_efuse.o
3203a69568SZhengShunQiannvmem_rockchip_efuse-y		:= rockchip-efuse.o
333d0b16a6SMaxime Ripardobj-$(CONFIG_NVMEM_SUNXI_SID)	+= nvmem_sunxi_sid.o
34ded1b7fcSFabrice Gasniernvmem_stm32_romem-y 		:= stm32-romem.o
35ded1b7fcSFabrice Gasnierobj-$(CONFIG_NVMEM_STM32_ROMEM) += nvmem_stm32_romem.o
363d0b16a6SMaxime Ripardnvmem_sunxi_sid-y		:= sunxi_sid.o
3771c5dd50SKeiji Hayashibaraobj-$(CONFIG_UNIPHIER_EFUSE)	+= nvmem-uniphier-efuse.o
3871c5dd50SKeiji Hayashibaranvmem-uniphier-efuse-y		:= uniphier-efuse.o
3922dbdb7cSSanchayan Maityobj-$(CONFIG_NVMEM_VF610_OCOTP)	+= nvmem-vf610-ocotp.o
4022dbdb7cSSanchayan Maitynvmem-vf610-ocotp-y		:= vf610-ocotp.o
41ad855eaeSCarlo Caioneobj-$(CONFIG_MESON_EFUSE)	+= nvmem_meson_efuse.o
42ad855eaeSCarlo Caionenvmem_meson_efuse-y		:= meson-efuse.o
438caef1faSMartin Blumenstinglobj-$(CONFIG_MESON_MX_EFUSE)	+= nvmem_meson_mx_efuse.o
448caef1faSMartin Blumenstinglnvmem_meson_mx_efuse-y		:= meson-mx-efuse.o
45988437aeSOleksij Rempelobj-$(CONFIG_NVMEM_SNVS_LPGPR)	+= nvmem_snvs_lpgpr.o
46988437aeSOleksij Rempelnvmem_snvs_lpgpr-y		:= snvs_lpgpr.o
473b51f47bSAndrey Smirnovobj-$(CONFIG_RAVE_SP_EEPROM)	+= nvmem-rave-sp-eeprom.o
483b51f47bSAndrey Smirnovnvmem-rave-sp-eeprom-y		:= rave-sp-eeprom.o
4919c54468SFreeman Liuobj-$(CONFIG_SC27XX_EFUSE)	+= nvmem-sc27xx-efuse.o
5019c54468SFreeman Liunvmem-sc27xx-efuse-y		:= sc27xx-efuse.o
514640fa18SNava kishore Manneobj-$(CONFIG_NVMEM_ZYNQMP)	+= nvmem_zynqmp_nvmem.o
524640fa18SNava kishore Mannenvmem_zynqmp_nvmem-y		:= zynqmp_nvmem.o
53