xref: /openbmc/linux/drivers/nvmem/Makefile (revision 9e8f208a)
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
10a06d9e5aSRafał Miłeckiobj-$(CONFIG_NVMEM_APPLE_EFUSES)	+= nvmem-apple-efuses.o
11a06d9e5aSRafał Miłeckinvmem-apple-efuses-y 			:= apple-efuses.o
129d59c6e8SJonathan Richardsonobj-$(CONFIG_NVMEM_BCM_OCOTP)		+= nvmem-bcm-ocotp.o
139d59c6e8SJonathan Richardsonnvmem-bcm-ocotp-y			:= bcm-ocotp.o
14a06d9e5aSRafał Miłeckiobj-$(CONFIG_NVMEM_BRCM_NVRAM)		+= nvmem_brcm_nvram.o
15a06d9e5aSRafał Miłeckinvmem_brcm_nvram-y			:= brcm_nvram.o
16c066c1c0SMichael Grzeschikobj-$(CONFIG_NVMEM_IMX_IIM)		+= nvmem-imx-iim.o
17c066c1c0SMichael Grzeschiknvmem-imx-iim-y				:= imx-iim.o
183edba6b4SPhilipp Zabelobj-$(CONFIG_NVMEM_IMX_OCOTP)		+= nvmem-imx-ocotp.o
193edba6b4SPhilipp Zabelnvmem-imx-ocotp-y			:= imx-ocotp.o
2067ff708bSPeng Fanobj-$(CONFIG_NVMEM_IMX_OCOTP_SCU)	+= nvmem-imx-ocotp-scu.o
2167ff708bSPeng Fannvmem-imx-ocotp-scu-y			:= imx-ocotp-scu.o
2228fc7c98SRafał Miłeckiobj-$(CONFIG_NVMEM_JZ4780_EFUSE)	+= nvmem_jz4780_efuse.o
234a2addc2SPrasannaKumar Muralidharannvmem_jz4780_efuse-y			:= jz4780-efuse.o
24*9e8f208aSHoratiu Vulturobj-$(CONFIG_NVMEM_LAN9662_OTPC)	+= nvmem-lan9662-otpc.o
25*9e8f208aSHoratiu Vulturnvmem-lan9662-otpc-y		:= lan9662-otpc.o
26a06d9e5aSRafał Miłeckiobj-$(CONFIG_NVMEM_LAYERSCAPE_SFP)	+= nvmem-layerscape-sfp.o
27a06d9e5aSRafał Miłeckinvmem-layerscape-sfp-y			:= layerscape-sfp.o
28f02f8aeeSAriel D'Alessandroobj-$(CONFIG_NVMEM_LPC18XX_EEPROM)	+= nvmem_lpc18xx_eeprom.o
29f02f8aeeSAriel D'Alessandronvmem_lpc18xx_eeprom-y			:= lpc18xx_eeprom.o
3088806dafSJoachim Eastwoodobj-$(CONFIG_NVMEM_LPC18XX_OTP)		+= nvmem_lpc18xx_otp.o
3188806dafSJoachim Eastwoodnvmem_lpc18xx_otp-y			:= lpc18xx_otp.o
3228fc7c98SRafał Miłeckiobj-$(CONFIG_NVMEM_MESON_EFUSE)		+= nvmem_meson_efuse.o
33ad855eaeSCarlo Caionenvmem_meson_efuse-y			:= meson-efuse.o
3428fc7c98SRafał Miłeckiobj-$(CONFIG_NVMEM_MESON_MX_EFUSE)	+= nvmem_meson_mx_efuse.o
358caef1faSMartin Blumenstinglnvmem_meson_mx_efuse-y			:= meson-mx-efuse.o
3628fc7c98SRafał Miłeckiobj-$(CONFIG_NVMEM_MICROCHIP_OTPC)	+= nvmem-microchip-otpc.o
3798830350SClaudiu Bezneanvmem-microchip-otpc-y			:= microchip-otpc.o
38a06d9e5aSRafał Miłeckiobj-$(CONFIG_NVMEM_MTK_EFUSE)		+= nvmem_mtk-efuse.o
39a06d9e5aSRafał Miłeckinvmem_mtk-efuse-y			:= mtk-efuse.o
40a06d9e5aSRafał Miłeckiobj-$(CONFIG_NVMEM_MXS_OCOTP)		+= nvmem-mxs-ocotp.o
41a06d9e5aSRafał Miłeckinvmem-mxs-ocotp-y			:= mxs-ocotp.o
42a06d9e5aSRafał Miłeckiobj-$(CONFIG_NVMEM_NINTENDO_OTP)	+= nvmem-nintendo-otp.o
43a06d9e5aSRafał Miłeckinvmem-nintendo-otp-y			:= nintendo-otp.o
44a06d9e5aSRafał Miłeckiobj-$(CONFIG_NVMEM_QCOM_QFPROM)		+= nvmem_qfprom.o
45a06d9e5aSRafał Miłeckinvmem_qfprom-y				:= qfprom.o
46a06d9e5aSRafał Miłeckiobj-$(CONFIG_NVMEM_RAVE_SP_EEPROM)	+= nvmem-rave-sp-eeprom.o
47a06d9e5aSRafał Miłeckinvmem-rave-sp-eeprom-y			:= rave-sp-eeprom.o
48a06d9e5aSRafał Miłeckiobj-$(CONFIG_NVMEM_RMEM) 		+= nvmem-rmem.o
49a06d9e5aSRafał Miłeckinvmem-rmem-y				:= rmem.o
50a06d9e5aSRafał Miłeckiobj-$(CONFIG_NVMEM_ROCKCHIP_EFUSE)	+= nvmem_rockchip_efuse.o
51a06d9e5aSRafał Miłeckinvmem_rockchip_efuse-y			:= rockchip-efuse.o
52a06d9e5aSRafał Miłeckiobj-$(CONFIG_NVMEM_ROCKCHIP_OTP)	+= nvmem-rockchip-otp.o
53a06d9e5aSRafał Miłeckinvmem-rockchip-otp-y			:= rockchip-otp.o
54a06d9e5aSRafał Miłeckiobj-$(CONFIG_NVMEM_SC27XX_EFUSE)	+= nvmem-sc27xx-efuse.o
55a06d9e5aSRafał Miłeckinvmem-sc27xx-efuse-y			:= sc27xx-efuse.o
56a06d9e5aSRafał Miłeckiobj-$(CONFIG_NVMEM_SNVS_LPGPR)		+= nvmem_snvs_lpgpr.o
57a06d9e5aSRafał Miłeckinvmem_snvs_lpgpr-y			:= snvs_lpgpr.o
58a06d9e5aSRafał Miłeckiobj-$(CONFIG_NVMEM_SPMI_SDAM)		+= nvmem_qcom-spmi-sdam.o
59a06d9e5aSRafał Miłeckinvmem_qcom-spmi-sdam-y			+= qcom-spmi-sdam.o
60a06d9e5aSRafał Miłeckiobj-$(CONFIG_NVMEM_SPRD_EFUSE)		+= nvmem_sprd_efuse.o
61a06d9e5aSRafał Miłeckinvmem_sprd_efuse-y			:= sprd-efuse.o
62a06d9e5aSRafał Miłeckiobj-$(CONFIG_NVMEM_STM32_ROMEM)		+= nvmem_stm32_romem.o
63a06d9e5aSRafał Miłeckinvmem_stm32_romem-y 			:= stm32-romem.o
64a06d9e5aSRafał Miłeckiobj-$(CONFIG_NVMEM_SUNPLUS_OCOTP)	+= nvmem_sunplus_ocotp.o
65a06d9e5aSRafał Miłeckinvmem_sunplus_ocotp-y			:= sunplus-ocotp.o
66a06d9e5aSRafał Miłeckiobj-$(CONFIG_NVMEM_SUNXI_SID)		+= nvmem_sunxi_sid.o
67a06d9e5aSRafał Miłeckinvmem_sunxi_sid-y			:= sunxi_sid.o
68d5542923SRafał Miłeckiobj-$(CONFIG_NVMEM_U_BOOT_ENV)		+= nvmem_u-boot-env.o
69d5542923SRafał Miłeckinvmem_u-boot-env-y			:= u-boot-env.o
70a06d9e5aSRafał Miłeckiobj-$(CONFIG_NVMEM_UNIPHIER_EFUSE)	+= nvmem-uniphier-efuse.o
71a06d9e5aSRafał Miłeckinvmem-uniphier-efuse-y			:= uniphier-efuse.o
72a06d9e5aSRafał Miłeckiobj-$(CONFIG_NVMEM_VF610_OCOTP)		+= nvmem-vf610-ocotp.o
73a06d9e5aSRafał Miłeckinvmem-vf610-ocotp-y			:= vf610-ocotp.o
74a06d9e5aSRafał Miłeckiobj-$(CONFIG_NVMEM_ZYNQMP)		+= nvmem_zynqmp_nvmem.o
75a06d9e5aSRafał Miłeckinvmem_zynqmp_nvmem-y			:= zynqmp_nvmem.o
76