xref: /openbmc/linux/drivers/nvmem/Makefile (revision a06d9e5a)
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
10*a06d9e5aSRafał Miłeckiobj-$(CONFIG_NVMEM_APPLE_EFUSES)	+= nvmem-apple-efuses.o
11*a06d9e5aSRafał 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
14*a06d9e5aSRafał Miłeckiobj-$(CONFIG_NVMEM_BRCM_NVRAM)		+= nvmem_brcm_nvram.o
15*a06d9e5aSRafał 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*a06d9e5aSRafał Miłeckiobj-$(CONFIG_NVMEM_LAYERSCAPE_SFP)	+= nvmem-layerscape-sfp.o
25*a06d9e5aSRafał Miłeckinvmem-layerscape-sfp-y			:= layerscape-sfp.o
26f02f8aeeSAriel D'Alessandroobj-$(CONFIG_NVMEM_LPC18XX_EEPROM)	+= nvmem_lpc18xx_eeprom.o
27f02f8aeeSAriel D'Alessandronvmem_lpc18xx_eeprom-y			:= lpc18xx_eeprom.o
2888806dafSJoachim Eastwoodobj-$(CONFIG_NVMEM_LPC18XX_OTP)		+= nvmem_lpc18xx_otp.o
2988806dafSJoachim Eastwoodnvmem_lpc18xx_otp-y			:= lpc18xx_otp.o
3028fc7c98SRafał Miłeckiobj-$(CONFIG_NVMEM_MESON_EFUSE)		+= nvmem_meson_efuse.o
31ad855eaeSCarlo Caionenvmem_meson_efuse-y			:= meson-efuse.o
3228fc7c98SRafał Miłeckiobj-$(CONFIG_NVMEM_MESON_MX_EFUSE)	+= nvmem_meson_mx_efuse.o
338caef1faSMartin Blumenstinglnvmem_meson_mx_efuse-y			:= meson-mx-efuse.o
3428fc7c98SRafał Miłeckiobj-$(CONFIG_NVMEM_MICROCHIP_OTPC)	+= nvmem-microchip-otpc.o
3598830350SClaudiu Bezneanvmem-microchip-otpc-y			:= microchip-otpc.o
36*a06d9e5aSRafał Miłeckiobj-$(CONFIG_NVMEM_MTK_EFUSE)		+= nvmem_mtk-efuse.o
37*a06d9e5aSRafał Miłeckinvmem_mtk-efuse-y			:= mtk-efuse.o
38*a06d9e5aSRafał Miłeckiobj-$(CONFIG_NVMEM_MXS_OCOTP)		+= nvmem-mxs-ocotp.o
39*a06d9e5aSRafał Miłeckinvmem-mxs-ocotp-y			:= mxs-ocotp.o
40*a06d9e5aSRafał Miłeckiobj-$(CONFIG_NVMEM_NINTENDO_OTP)	+= nvmem-nintendo-otp.o
41*a06d9e5aSRafał Miłeckinvmem-nintendo-otp-y			:= nintendo-otp.o
42*a06d9e5aSRafał Miłeckiobj-$(CONFIG_NVMEM_QCOM_QFPROM)		+= nvmem_qfprom.o
43*a06d9e5aSRafał Miłeckinvmem_qfprom-y				:= qfprom.o
44*a06d9e5aSRafał Miłeckiobj-$(CONFIG_NVMEM_RAVE_SP_EEPROM)	+= nvmem-rave-sp-eeprom.o
45*a06d9e5aSRafał Miłeckinvmem-rave-sp-eeprom-y			:= rave-sp-eeprom.o
46*a06d9e5aSRafał Miłeckiobj-$(CONFIG_NVMEM_RMEM) 		+= nvmem-rmem.o
47*a06d9e5aSRafał Miłeckinvmem-rmem-y				:= rmem.o
48*a06d9e5aSRafał Miłeckiobj-$(CONFIG_NVMEM_ROCKCHIP_EFUSE)	+= nvmem_rockchip_efuse.o
49*a06d9e5aSRafał Miłeckinvmem_rockchip_efuse-y			:= rockchip-efuse.o
50*a06d9e5aSRafał Miłeckiobj-$(CONFIG_NVMEM_ROCKCHIP_OTP)	+= nvmem-rockchip-otp.o
51*a06d9e5aSRafał Miłeckinvmem-rockchip-otp-y			:= rockchip-otp.o
52*a06d9e5aSRafał Miłeckiobj-$(CONFIG_NVMEM_SC27XX_EFUSE)	+= nvmem-sc27xx-efuse.o
53*a06d9e5aSRafał Miłeckinvmem-sc27xx-efuse-y			:= sc27xx-efuse.o
54*a06d9e5aSRafał Miłeckiobj-$(CONFIG_NVMEM_SNVS_LPGPR)		+= nvmem_snvs_lpgpr.o
55*a06d9e5aSRafał Miłeckinvmem_snvs_lpgpr-y			:= snvs_lpgpr.o
56*a06d9e5aSRafał Miłeckiobj-$(CONFIG_NVMEM_SPMI_SDAM)		+= nvmem_qcom-spmi-sdam.o
57*a06d9e5aSRafał Miłeckinvmem_qcom-spmi-sdam-y			+= qcom-spmi-sdam.o
58*a06d9e5aSRafał Miłeckiobj-$(CONFIG_NVMEM_SPRD_EFUSE)		+= nvmem_sprd_efuse.o
59*a06d9e5aSRafał Miłeckinvmem_sprd_efuse-y			:= sprd-efuse.o
60*a06d9e5aSRafał Miłeckiobj-$(CONFIG_NVMEM_STM32_ROMEM)		+= nvmem_stm32_romem.o
61*a06d9e5aSRafał Miłeckinvmem_stm32_romem-y 			:= stm32-romem.o
62*a06d9e5aSRafał Miłeckiobj-$(CONFIG_NVMEM_SUNPLUS_OCOTP)	+= nvmem_sunplus_ocotp.o
63*a06d9e5aSRafał Miłeckinvmem_sunplus_ocotp-y			:= sunplus-ocotp.o
64*a06d9e5aSRafał Miłeckiobj-$(CONFIG_NVMEM_SUNXI_SID)		+= nvmem_sunxi_sid.o
65*a06d9e5aSRafał Miłeckinvmem_sunxi_sid-y			:= sunxi_sid.o
66d5542923SRafał Miłeckiobj-$(CONFIG_NVMEM_U_BOOT_ENV)		+= nvmem_u-boot-env.o
67d5542923SRafał Miłeckinvmem_u-boot-env-y			:= u-boot-env.o
68*a06d9e5aSRafał Miłeckiobj-$(CONFIG_NVMEM_UNIPHIER_EFUSE)	+= nvmem-uniphier-efuse.o
69*a06d9e5aSRafał Miłeckinvmem-uniphier-efuse-y			:= uniphier-efuse.o
70*a06d9e5aSRafał Miłeckiobj-$(CONFIG_NVMEM_VF610_OCOTP)		+= nvmem-vf610-ocotp.o
71*a06d9e5aSRafał Miłeckinvmem-vf610-ocotp-y			:= vf610-ocotp.o
72*a06d9e5aSRafał Miłeckiobj-$(CONFIG_NVMEM_ZYNQMP)		+= nvmem_zynqmp_nvmem.o
73*a06d9e5aSRafał Miłeckinvmem_zynqmp_nvmem-y			:= zynqmp_nvmem.o
74