xref: /openbmc/linux/drivers/nvmem/Makefile (revision c471245b)
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
8266570f4SMichael Walleobj-y				+= layouts/
94ab11996SSrinivas Kandagatla
104ab11996SSrinivas Kandagatla# Devices
11a06d9e5aSRafał Miłeckiobj-$(CONFIG_NVMEM_APPLE_EFUSES)	+= nvmem-apple-efuses.o
12a06d9e5aSRafał Miłeckinvmem-apple-efuses-y 			:= apple-efuses.o
139d59c6e8SJonathan Richardsonobj-$(CONFIG_NVMEM_BCM_OCOTP)		+= nvmem-bcm-ocotp.o
149d59c6e8SJonathan Richardsonnvmem-bcm-ocotp-y			:= bcm-ocotp.o
15a06d9e5aSRafał Miłeckiobj-$(CONFIG_NVMEM_BRCM_NVRAM)		+= nvmem_brcm_nvram.o
16a06d9e5aSRafał Miłeckinvmem_brcm_nvram-y			:= brcm_nvram.o
17c066c1c0SMichael Grzeschikobj-$(CONFIG_NVMEM_IMX_IIM)		+= nvmem-imx-iim.o
18c066c1c0SMichael Grzeschiknvmem-imx-iim-y				:= imx-iim.o
193edba6b4SPhilipp Zabelobj-$(CONFIG_NVMEM_IMX_OCOTP)		+= nvmem-imx-ocotp.o
203edba6b4SPhilipp Zabelnvmem-imx-ocotp-y			:= imx-ocotp.o
2122e9e6fcSPeng Fanobj-$(CONFIG_NVMEM_IMX_OCOTP_ELE)	+= nvmem-imx-ocotp-ele.o
2222e9e6fcSPeng Fannvmem-imx-ocotp-ele-y			:= imx-ocotp-ele.o
2367ff708bSPeng Fanobj-$(CONFIG_NVMEM_IMX_OCOTP_SCU)	+= nvmem-imx-ocotp-scu.o
2467ff708bSPeng Fannvmem-imx-ocotp-scu-y			:= imx-ocotp-scu.o
2528fc7c98SRafał Miłeckiobj-$(CONFIG_NVMEM_JZ4780_EFUSE)	+= nvmem_jz4780_efuse.o
264a2addc2SPrasannaKumar Muralidharannvmem_jz4780_efuse-y			:= jz4780-efuse.o
279e8f208aSHoratiu Vulturobj-$(CONFIG_NVMEM_LAN9662_OTPC)	+= nvmem-lan9662-otpc.o
289e8f208aSHoratiu Vulturnvmem-lan9662-otpc-y		:= lan9662-otpc.o
29a06d9e5aSRafał Miłeckiobj-$(CONFIG_NVMEM_LAYERSCAPE_SFP)	+= nvmem-layerscape-sfp.o
30a06d9e5aSRafał Miłeckinvmem-layerscape-sfp-y			:= layerscape-sfp.o
31f02f8aeeSAriel D'Alessandroobj-$(CONFIG_NVMEM_LPC18XX_EEPROM)	+= nvmem_lpc18xx_eeprom.o
32f02f8aeeSAriel D'Alessandronvmem_lpc18xx_eeprom-y			:= lpc18xx_eeprom.o
3388806dafSJoachim Eastwoodobj-$(CONFIG_NVMEM_LPC18XX_OTP)		+= nvmem_lpc18xx_otp.o
3488806dafSJoachim Eastwoodnvmem_lpc18xx_otp-y			:= lpc18xx_otp.o
3528fc7c98SRafał Miłeckiobj-$(CONFIG_NVMEM_MESON_EFUSE)		+= nvmem_meson_efuse.o
36ad855eaeSCarlo Caionenvmem_meson_efuse-y			:= meson-efuse.o
3728fc7c98SRafał Miłeckiobj-$(CONFIG_NVMEM_MESON_MX_EFUSE)	+= nvmem_meson_mx_efuse.o
388caef1faSMartin Blumenstinglnvmem_meson_mx_efuse-y			:= meson-mx-efuse.o
3928fc7c98SRafał Miłeckiobj-$(CONFIG_NVMEM_MICROCHIP_OTPC)	+= nvmem-microchip-otpc.o
4098830350SClaudiu Bezneanvmem-microchip-otpc-y			:= microchip-otpc.o
41a06d9e5aSRafał Miłeckiobj-$(CONFIG_NVMEM_MTK_EFUSE)		+= nvmem_mtk-efuse.o
42a06d9e5aSRafał Miłeckinvmem_mtk-efuse-y			:= mtk-efuse.o
43a06d9e5aSRafał Miłeckiobj-$(CONFIG_NVMEM_MXS_OCOTP)		+= nvmem-mxs-ocotp.o
44a06d9e5aSRafał Miłeckinvmem-mxs-ocotp-y			:= mxs-ocotp.o
45a06d9e5aSRafał Miłeckiobj-$(CONFIG_NVMEM_NINTENDO_OTP)	+= nvmem-nintendo-otp.o
46a06d9e5aSRafał Miłeckinvmem-nintendo-otp-y			:= nintendo-otp.o
47a06d9e5aSRafał Miłeckiobj-$(CONFIG_NVMEM_QCOM_QFPROM)		+= nvmem_qfprom.o
48a06d9e5aSRafał Miłeckinvmem_qfprom-y				:= qfprom.o
49*c471245bSKomal Bajajobj-$(CONFIG_NVMEM_QCOM_SEC_QFPROM)	+= nvmem_sec_qfprom.o
50*c471245bSKomal Bajajnvmem_sec_qfprom-y			:= sec-qfprom.o
51a06d9e5aSRafał Miłeckiobj-$(CONFIG_NVMEM_RAVE_SP_EEPROM)	+= nvmem-rave-sp-eeprom.o
52a06d9e5aSRafał Miłeckinvmem-rave-sp-eeprom-y			:= rave-sp-eeprom.o
53a06d9e5aSRafał Miłeckiobj-$(CONFIG_NVMEM_RMEM) 		+= nvmem-rmem.o
54a06d9e5aSRafał Miłeckinvmem-rmem-y				:= rmem.o
55a06d9e5aSRafał Miłeckiobj-$(CONFIG_NVMEM_ROCKCHIP_EFUSE)	+= nvmem_rockchip_efuse.o
56a06d9e5aSRafał Miłeckinvmem_rockchip_efuse-y			:= rockchip-efuse.o
57a06d9e5aSRafał Miłeckiobj-$(CONFIG_NVMEM_ROCKCHIP_OTP)	+= nvmem-rockchip-otp.o
58a06d9e5aSRafał Miłeckinvmem-rockchip-otp-y			:= rockchip-otp.o
59a06d9e5aSRafał Miłeckiobj-$(CONFIG_NVMEM_SC27XX_EFUSE)	+= nvmem-sc27xx-efuse.o
60a06d9e5aSRafał Miłeckinvmem-sc27xx-efuse-y			:= sc27xx-efuse.o
61a06d9e5aSRafał Miłeckiobj-$(CONFIG_NVMEM_SNVS_LPGPR)		+= nvmem_snvs_lpgpr.o
62a06d9e5aSRafał Miłeckinvmem_snvs_lpgpr-y			:= snvs_lpgpr.o
63a06d9e5aSRafał Miłeckiobj-$(CONFIG_NVMEM_SPMI_SDAM)		+= nvmem_qcom-spmi-sdam.o
64a06d9e5aSRafał Miłeckinvmem_qcom-spmi-sdam-y			+= qcom-spmi-sdam.o
65a06d9e5aSRafał Miłeckiobj-$(CONFIG_NVMEM_SPRD_EFUSE)		+= nvmem_sprd_efuse.o
66a06d9e5aSRafał Miłeckinvmem_sprd_efuse-y			:= sprd-efuse.o
67a06d9e5aSRafał Miłeckiobj-$(CONFIG_NVMEM_STM32_ROMEM)		+= nvmem_stm32_romem.o
68a06d9e5aSRafał Miłeckinvmem_stm32_romem-y 			:= stm32-romem.o
696a0bc352SPatrick Delaunaynvmem_stm32_romem-$(CONFIG_NVMEM_STM32_BSEC_OPTEE_TA) += stm32-bsec-optee-ta.o
70a06d9e5aSRafał Miłeckiobj-$(CONFIG_NVMEM_SUNPLUS_OCOTP)	+= nvmem_sunplus_ocotp.o
71a06d9e5aSRafał Miłeckinvmem_sunplus_ocotp-y			:= sunplus-ocotp.o
72a06d9e5aSRafał Miłeckiobj-$(CONFIG_NVMEM_SUNXI_SID)		+= nvmem_sunxi_sid.o
73a06d9e5aSRafał Miłeckinvmem_sunxi_sid-y			:= sunxi_sid.o
74d5542923SRafał Miłeckiobj-$(CONFIG_NVMEM_U_BOOT_ENV)		+= nvmem_u-boot-env.o
75d5542923SRafał Miłeckinvmem_u-boot-env-y			:= u-boot-env.o
76a06d9e5aSRafał Miłeckiobj-$(CONFIG_NVMEM_UNIPHIER_EFUSE)	+= nvmem-uniphier-efuse.o
77a06d9e5aSRafał Miłeckinvmem-uniphier-efuse-y			:= uniphier-efuse.o
78a06d9e5aSRafał Miłeckiobj-$(CONFIG_NVMEM_VF610_OCOTP)		+= nvmem-vf610-ocotp.o
79a06d9e5aSRafał Miłeckinvmem-vf610-ocotp-y			:= vf610-ocotp.o
80a06d9e5aSRafał Miłeckiobj-$(CONFIG_NVMEM_ZYNQMP)		+= nvmem_zynqmp_nvmem.o
81a06d9e5aSRafał Miłeckinvmem_zynqmp_nvmem-y			:= zynqmp_nvmem.o
820861110bSRichard Alpeobj-$(CONFIG_NVMEM_QORIQ_EFUSE)		+= nvmem-qoriq-efuse.o
830861110bSRichard Alpenvmem-qoriq-efuse-y			:= qoriq-efuse.o
84