xref: /openbmc/linux/drivers/nvmem/Makefile (revision 28fc7c98)
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
94ab11996SSrinivas Kandagatla# Devices
109d59c6e8SJonathan Richardsonobj-$(CONFIG_NVMEM_BCM_OCOTP)	+= nvmem-bcm-ocotp.o
119d59c6e8SJonathan Richardsonnvmem-bcm-ocotp-y		:= bcm-ocotp.o
12c066c1c0SMichael Grzeschikobj-$(CONFIG_NVMEM_IMX_IIM)	+= nvmem-imx-iim.o
13c066c1c0SMichael Grzeschiknvmem-imx-iim-y			:= imx-iim.o
143edba6b4SPhilipp Zabelobj-$(CONFIG_NVMEM_IMX_OCOTP)	+= nvmem-imx-ocotp.o
153edba6b4SPhilipp Zabelnvmem-imx-ocotp-y		:= imx-ocotp.o
1667ff708bSPeng Fanobj-$(CONFIG_NVMEM_IMX_OCOTP_SCU)	+= nvmem-imx-ocotp-scu.o
1767ff708bSPeng Fannvmem-imx-ocotp-scu-y		:= imx-ocotp-scu.o
18*28fc7c98SRafał Miłeckiobj-$(CONFIG_NVMEM_JZ4780_EFUSE)		+= nvmem_jz4780_efuse.o
194a2addc2SPrasannaKumar Muralidharannvmem_jz4780_efuse-y		:= jz4780-efuse.o
20f02f8aeeSAriel D'Alessandroobj-$(CONFIG_NVMEM_LPC18XX_EEPROM)	+= nvmem_lpc18xx_eeprom.o
21f02f8aeeSAriel D'Alessandronvmem_lpc18xx_eeprom-y	:= lpc18xx_eeprom.o
2288806dafSJoachim Eastwoodobj-$(CONFIG_NVMEM_LPC18XX_OTP)	+= nvmem_lpc18xx_otp.o
2388806dafSJoachim Eastwoodnvmem_lpc18xx_otp-y		:= lpc18xx_otp.o
24c01e9a11SStefan Wahrenobj-$(CONFIG_NVMEM_MXS_OCOTP)	+= nvmem-mxs-ocotp.o
25c01e9a11SStefan Wahrennvmem-mxs-ocotp-y		:= mxs-ocotp.o
263683b761SEmmanuel Gil Peyrotobj-$(CONFIG_NVMEM_NINTENDO_OTP)	+= nvmem-nintendo-otp.o
273683b761SEmmanuel Gil Peyrotnvmem-nintendo-otp-y		:= nintendo-otp.o
28*28fc7c98SRafał Miłeckiobj-$(CONFIG_NVMEM_MTK_EFUSE)		+= nvmem_mtk-efuse.o
294c7e4fe3SAndrew-CT Chennvmem_mtk-efuse-y		:= mtk-efuse.o
30*28fc7c98SRafał Miłeckiobj-$(CONFIG_NVMEM_QCOM_QFPROM)	+= nvmem_qfprom.o
314ab11996SSrinivas Kandagatlanvmem_qfprom-y			:= qfprom.o
3240ce9798SAnirudh Ghayalobj-$(CONFIG_NVMEM_SPMI_SDAM)	+= nvmem_qcom-spmi-sdam.o
3340ce9798SAnirudh Ghayalnvmem_qcom-spmi-sdam-y		+= qcom-spmi-sdam.o
34*28fc7c98SRafał Miłeckiobj-$(CONFIG_NVMEM_ROCKCHIP_EFUSE)	+= nvmem_rockchip_efuse.o
3503a69568SZhengShunQiannvmem_rockchip_efuse-y		:= rockchip-efuse.o
36*28fc7c98SRafał Miłeckiobj-$(CONFIG_NVMEM_ROCKCHIP_OTP)	+= nvmem-rockchip-otp.o
37755864feSFinley Xiaonvmem-rockchip-otp-y		:= rockchip-otp.o
383d0b16a6SMaxime Ripardobj-$(CONFIG_NVMEM_SUNXI_SID)	+= nvmem_sunxi_sid.o
39ded1b7fcSFabrice Gasniernvmem_stm32_romem-y 		:= stm32-romem.o
40ded1b7fcSFabrice Gasnierobj-$(CONFIG_NVMEM_STM32_ROMEM) += nvmem_stm32_romem.o
413d0b16a6SMaxime Ripardnvmem_sunxi_sid-y		:= sunxi_sid.o
42*28fc7c98SRafał Miłeckiobj-$(CONFIG_NVMEM_UNIPHIER_EFUSE)	+= nvmem-uniphier-efuse.o
4371c5dd50SKeiji Hayashibaranvmem-uniphier-efuse-y		:= uniphier-efuse.o
4422dbdb7cSSanchayan Maityobj-$(CONFIG_NVMEM_VF610_OCOTP)	+= nvmem-vf610-ocotp.o
4522dbdb7cSSanchayan Maitynvmem-vf610-ocotp-y		:= vf610-ocotp.o
46*28fc7c98SRafał Miłeckiobj-$(CONFIG_NVMEM_MESON_EFUSE)	+= nvmem_meson_efuse.o
47ad855eaeSCarlo Caionenvmem_meson_efuse-y		:= meson-efuse.o
48*28fc7c98SRafał Miłeckiobj-$(CONFIG_NVMEM_MESON_MX_EFUSE)	+= nvmem_meson_mx_efuse.o
498caef1faSMartin Blumenstinglnvmem_meson_mx_efuse-y		:= meson-mx-efuse.o
50988437aeSOleksij Rempelobj-$(CONFIG_NVMEM_SNVS_LPGPR)	+= nvmem_snvs_lpgpr.o
51988437aeSOleksij Rempelnvmem_snvs_lpgpr-y		:= snvs_lpgpr.o
52*28fc7c98SRafał Miłeckiobj-$(CONFIG_NVMEM_RAVE_SP_EEPROM)	+= nvmem-rave-sp-eeprom.o
533b51f47bSAndrey Smirnovnvmem-rave-sp-eeprom-y		:= rave-sp-eeprom.o
54*28fc7c98SRafał Miłeckiobj-$(CONFIG_NVMEM_SC27XX_EFUSE)	+= nvmem-sc27xx-efuse.o
5519c54468SFreeman Liunvmem-sc27xx-efuse-y		:= sc27xx-efuse.o
564640fa18SNava kishore Manneobj-$(CONFIG_NVMEM_ZYNQMP)	+= nvmem_zynqmp_nvmem.o
574640fa18SNava kishore Mannenvmem_zynqmp_nvmem-y		:= zynqmp_nvmem.o
58*28fc7c98SRafał Miłeckiobj-$(CONFIG_NVMEM_SPRD_EFUSE)	+= nvmem_sprd_efuse.o
59096030e7SFreeman Liunvmem_sprd_efuse-y		:= sprd-efuse.o
605a3fa75aSNicolas Saenz Julienneobj-$(CONFIG_NVMEM_RMEM) 	+= nvmem-rmem.o
615a3fa75aSNicolas Saenz Juliennenvmem-rmem-y			:= rmem.o
623fef9ed0SRafał Miłeckiobj-$(CONFIG_NVMEM_BRCM_NVRAM)	+= nvmem_brcm_nvram.o
633fef9ed0SRafał Miłeckinvmem_brcm_nvram-y		:= brcm_nvram.o
64f7845101SMichael Walleobj-$(CONFIG_NVMEM_LAYERSCAPE_SFP)	+= nvmem-layerscape-sfp.o
65f7845101SMichael Wallenvmem-layerscape-sfp-y		:= layerscape-sfp.o
668747ec2eSVincent Shihobj-$(CONFIG_NVMEM_SUNPLUS_OCOTP)	+= nvmem_sunplus_ocotp.o
678747ec2eSVincent Shihnvmem_sunplus_ocotp-y		:= sunplus-ocotp.o
68b6b7ef93SSven Peterobj-$(CONFIG_NVMEM_APPLE_EFUSES)	+= nvmem-apple-efuses.o
69b6b7ef93SSven Peternvmem-apple-efuses-y 		:= apple-efuses.o
70*28fc7c98SRafał Miłeckiobj-$(CONFIG_NVMEM_MICROCHIP_OTPC)	+= nvmem-microchip-otpc.o
7198830350SClaudiu Bezneanvmem-microchip-otpc-y		:= microchip-otpc.o
72d5542923SRafał Miłeckiobj-$(CONFIG_NVMEM_U_BOOT_ENV)	+= nvmem_u-boot-env.o
73d5542923SRafał Miłeckinvmem_u-boot-env-y		:= u-boot-env.o
74