xref: /openbmc/linux/drivers/nvmem/Makefile (revision 40ce9798)
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
3140ce9798SAnirudh Ghayalobj-$(CONFIG_NVMEM_SPMI_SDAM)	+= nvmem_qcom-spmi-sdam.o
3240ce9798SAnirudh Ghayalnvmem_qcom-spmi-sdam-y		+= qcom-spmi-sdam.o
3303a69568SZhengShunQianobj-$(CONFIG_ROCKCHIP_EFUSE)	+= nvmem_rockchip_efuse.o
3403a69568SZhengShunQiannvmem_rockchip_efuse-y		:= rockchip-efuse.o
35755864feSFinley Xiaoobj-$(CONFIG_ROCKCHIP_OTP)	+= nvmem-rockchip-otp.o
36755864feSFinley Xiaonvmem-rockchip-otp-y		:= rockchip-otp.o
373d0b16a6SMaxime Ripardobj-$(CONFIG_NVMEM_SUNXI_SID)	+= nvmem_sunxi_sid.o
38ded1b7fcSFabrice Gasniernvmem_stm32_romem-y 		:= stm32-romem.o
39ded1b7fcSFabrice Gasnierobj-$(CONFIG_NVMEM_STM32_ROMEM) += nvmem_stm32_romem.o
403d0b16a6SMaxime Ripardnvmem_sunxi_sid-y		:= sunxi_sid.o
4171c5dd50SKeiji Hayashibaraobj-$(CONFIG_UNIPHIER_EFUSE)	+= nvmem-uniphier-efuse.o
4271c5dd50SKeiji Hayashibaranvmem-uniphier-efuse-y		:= uniphier-efuse.o
4322dbdb7cSSanchayan Maityobj-$(CONFIG_NVMEM_VF610_OCOTP)	+= nvmem-vf610-ocotp.o
4422dbdb7cSSanchayan Maitynvmem-vf610-ocotp-y		:= vf610-ocotp.o
45ad855eaeSCarlo Caioneobj-$(CONFIG_MESON_EFUSE)	+= nvmem_meson_efuse.o
46ad855eaeSCarlo Caionenvmem_meson_efuse-y		:= meson-efuse.o
478caef1faSMartin Blumenstinglobj-$(CONFIG_MESON_MX_EFUSE)	+= nvmem_meson_mx_efuse.o
488caef1faSMartin Blumenstinglnvmem_meson_mx_efuse-y		:= meson-mx-efuse.o
49988437aeSOleksij Rempelobj-$(CONFIG_NVMEM_SNVS_LPGPR)	+= nvmem_snvs_lpgpr.o
50988437aeSOleksij Rempelnvmem_snvs_lpgpr-y		:= snvs_lpgpr.o
513b51f47bSAndrey Smirnovobj-$(CONFIG_RAVE_SP_EEPROM)	+= nvmem-rave-sp-eeprom.o
523b51f47bSAndrey Smirnovnvmem-rave-sp-eeprom-y		:= rave-sp-eeprom.o
5319c54468SFreeman Liuobj-$(CONFIG_SC27XX_EFUSE)	+= nvmem-sc27xx-efuse.o
5419c54468SFreeman Liunvmem-sc27xx-efuse-y		:= sc27xx-efuse.o
554640fa18SNava kishore Manneobj-$(CONFIG_NVMEM_ZYNQMP)	+= nvmem_zynqmp_nvmem.o
564640fa18SNava kishore Mannenvmem_zynqmp_nvmem-y		:= zynqmp_nvmem.o
57096030e7SFreeman Liuobj-$(CONFIG_SPRD_EFUSE)	+= nvmem_sprd_efuse.o
58096030e7SFreeman Liunvmem_sprd_efuse-y		:= sprd-efuse.o
59