xref: /linux/drivers/nvmem/Makefile (revision 06d07429858317ded2db7986113a9e0129cd599b)
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
8*fc29fd82SMiquel Raynalobj-$(CONFIG_NVMEM_LAYOUTS)	+= nvmem_layouts.o
9*fc29fd82SMiquel Raynalnvmem_layouts-y			:= layouts.o
10266570f4SMichael Walleobj-y				+= layouts/
114ab11996SSrinivas Kandagatla
124ab11996SSrinivas Kandagatla# Devices
13a06d9e5aSRafał Miłeckiobj-$(CONFIG_NVMEM_APPLE_EFUSES)	+= nvmem-apple-efuses.o
14a06d9e5aSRafał Miłeckinvmem-apple-efuses-y 			:= apple-efuses.o
159d59c6e8SJonathan Richardsonobj-$(CONFIG_NVMEM_BCM_OCOTP)		+= nvmem-bcm-ocotp.o
169d59c6e8SJonathan Richardsonnvmem-bcm-ocotp-y			:= bcm-ocotp.o
17a06d9e5aSRafał Miłeckiobj-$(CONFIG_NVMEM_BRCM_NVRAM)		+= nvmem_brcm_nvram.o
18a06d9e5aSRafał Miłeckinvmem_brcm_nvram-y			:= brcm_nvram.o
19c066c1c0SMichael Grzeschikobj-$(CONFIG_NVMEM_IMX_IIM)		+= nvmem-imx-iim.o
20c066c1c0SMichael Grzeschiknvmem-imx-iim-y				:= imx-iim.o
213edba6b4SPhilipp Zabelobj-$(CONFIG_NVMEM_IMX_OCOTP)		+= nvmem-imx-ocotp.o
223edba6b4SPhilipp Zabelnvmem-imx-ocotp-y			:= imx-ocotp.o
2322e9e6fcSPeng Fanobj-$(CONFIG_NVMEM_IMX_OCOTP_ELE)	+= nvmem-imx-ocotp-ele.o
2422e9e6fcSPeng Fannvmem-imx-ocotp-ele-y			:= imx-ocotp-ele.o
2567ff708bSPeng Fanobj-$(CONFIG_NVMEM_IMX_OCOTP_SCU)	+= nvmem-imx-ocotp-scu.o
2667ff708bSPeng Fannvmem-imx-ocotp-scu-y			:= imx-ocotp-scu.o
2728fc7c98SRafał Miłeckiobj-$(CONFIG_NVMEM_JZ4780_EFUSE)	+= nvmem_jz4780_efuse.o
284a2addc2SPrasannaKumar Muralidharannvmem_jz4780_efuse-y			:= jz4780-efuse.o
299e8f208aSHoratiu Vulturobj-$(CONFIG_NVMEM_LAN9662_OTPC)	+= nvmem-lan9662-otpc.o
309e8f208aSHoratiu Vulturnvmem-lan9662-otpc-y		:= lan9662-otpc.o
31a06d9e5aSRafał Miłeckiobj-$(CONFIG_NVMEM_LAYERSCAPE_SFP)	+= nvmem-layerscape-sfp.o
32a06d9e5aSRafał Miłeckinvmem-layerscape-sfp-y			:= layerscape-sfp.o
33f02f8aeeSAriel D'Alessandroobj-$(CONFIG_NVMEM_LPC18XX_EEPROM)	+= nvmem_lpc18xx_eeprom.o
34f02f8aeeSAriel D'Alessandronvmem_lpc18xx_eeprom-y			:= lpc18xx_eeprom.o
3588806dafSJoachim Eastwoodobj-$(CONFIG_NVMEM_LPC18XX_OTP)		+= nvmem_lpc18xx_otp.o
3688806dafSJoachim Eastwoodnvmem_lpc18xx_otp-y			:= lpc18xx_otp.o
3728fc7c98SRafał Miłeckiobj-$(CONFIG_NVMEM_MESON_EFUSE)		+= nvmem_meson_efuse.o
38ad855eaeSCarlo Caionenvmem_meson_efuse-y			:= meson-efuse.o
3928fc7c98SRafał Miłeckiobj-$(CONFIG_NVMEM_MESON_MX_EFUSE)	+= nvmem_meson_mx_efuse.o
408caef1faSMartin Blumenstinglnvmem_meson_mx_efuse-y			:= meson-mx-efuse.o
4128fc7c98SRafał Miłeckiobj-$(CONFIG_NVMEM_MICROCHIP_OTPC)	+= nvmem-microchip-otpc.o
4298830350SClaudiu Bezneanvmem-microchip-otpc-y			:= microchip-otpc.o
43a06d9e5aSRafał Miłeckiobj-$(CONFIG_NVMEM_MTK_EFUSE)		+= nvmem_mtk-efuse.o
44a06d9e5aSRafał Miłeckinvmem_mtk-efuse-y			:= mtk-efuse.o
45a06d9e5aSRafał Miłeckiobj-$(CONFIG_NVMEM_MXS_OCOTP)		+= nvmem-mxs-ocotp.o
46a06d9e5aSRafał Miłeckinvmem-mxs-ocotp-y			:= mxs-ocotp.o
47a06d9e5aSRafał Miłeckiobj-$(CONFIG_NVMEM_NINTENDO_OTP)	+= nvmem-nintendo-otp.o
48a06d9e5aSRafał Miłeckinvmem-nintendo-otp-y			:= nintendo-otp.o
49a06d9e5aSRafał Miłeckiobj-$(CONFIG_NVMEM_QCOM_QFPROM)		+= nvmem_qfprom.o
50a06d9e5aSRafał Miłeckinvmem_qfprom-y				:= qfprom.o
51c471245bSKomal Bajajobj-$(CONFIG_NVMEM_QCOM_SEC_QFPROM)	+= nvmem_sec_qfprom.o
52c471245bSKomal Bajajnvmem_sec_qfprom-y			:= sec-qfprom.o
53a06d9e5aSRafał Miłeckiobj-$(CONFIG_NVMEM_RAVE_SP_EEPROM)	+= nvmem-rave-sp-eeprom.o
54a06d9e5aSRafał Miłeckinvmem-rave-sp-eeprom-y			:= rave-sp-eeprom.o
55a06d9e5aSRafał Miłeckiobj-$(CONFIG_NVMEM_RMEM) 		+= nvmem-rmem.o
56a06d9e5aSRafał Miłeckinvmem-rmem-y				:= rmem.o
57a06d9e5aSRafał Miłeckiobj-$(CONFIG_NVMEM_ROCKCHIP_EFUSE)	+= nvmem_rockchip_efuse.o
58a06d9e5aSRafał Miłeckinvmem_rockchip_efuse-y			:= rockchip-efuse.o
59a06d9e5aSRafał Miłeckiobj-$(CONFIG_NVMEM_ROCKCHIP_OTP)	+= nvmem-rockchip-otp.o
60a06d9e5aSRafał Miłeckinvmem-rockchip-otp-y			:= rockchip-otp.o
61a06d9e5aSRafał Miłeckiobj-$(CONFIG_NVMEM_SC27XX_EFUSE)	+= nvmem-sc27xx-efuse.o
62a06d9e5aSRafał Miłeckinvmem-sc27xx-efuse-y			:= sc27xx-efuse.o
63a06d9e5aSRafał Miłeckiobj-$(CONFIG_NVMEM_SNVS_LPGPR)		+= nvmem_snvs_lpgpr.o
64a06d9e5aSRafał Miłeckinvmem_snvs_lpgpr-y			:= snvs_lpgpr.o
65a06d9e5aSRafał Miłeckiobj-$(CONFIG_NVMEM_SPMI_SDAM)		+= nvmem_qcom-spmi-sdam.o
66a06d9e5aSRafał Miłeckinvmem_qcom-spmi-sdam-y			+= qcom-spmi-sdam.o
67a06d9e5aSRafał Miłeckiobj-$(CONFIG_NVMEM_SPRD_EFUSE)		+= nvmem_sprd_efuse.o
68a06d9e5aSRafał Miłeckinvmem_sprd_efuse-y			:= sprd-efuse.o
69a06d9e5aSRafał Miłeckiobj-$(CONFIG_NVMEM_STM32_ROMEM)		+= nvmem_stm32_romem.o
70a06d9e5aSRafał Miłeckinvmem_stm32_romem-y 			:= stm32-romem.o
716a0bc352SPatrick Delaunaynvmem_stm32_romem-$(CONFIG_NVMEM_STM32_BSEC_OPTEE_TA) += stm32-bsec-optee-ta.o
72a06d9e5aSRafał Miłeckiobj-$(CONFIG_NVMEM_SUNPLUS_OCOTP)	+= nvmem_sunplus_ocotp.o
73a06d9e5aSRafał Miłeckinvmem_sunplus_ocotp-y			:= sunplus-ocotp.o
74a06d9e5aSRafał Miłeckiobj-$(CONFIG_NVMEM_SUNXI_SID)		+= nvmem_sunxi_sid.o
75a06d9e5aSRafał Miłeckinvmem_sunxi_sid-y			:= sunxi_sid.o
76d5542923SRafał Miłeckiobj-$(CONFIG_NVMEM_U_BOOT_ENV)		+= nvmem_u-boot-env.o
77d5542923SRafał Miłeckinvmem_u-boot-env-y			:= u-boot-env.o
78a06d9e5aSRafał Miłeckiobj-$(CONFIG_NVMEM_UNIPHIER_EFUSE)	+= nvmem-uniphier-efuse.o
79a06d9e5aSRafał Miłeckinvmem-uniphier-efuse-y			:= uniphier-efuse.o
80a06d9e5aSRafał Miłeckiobj-$(CONFIG_NVMEM_VF610_OCOTP)		+= nvmem-vf610-ocotp.o
81a06d9e5aSRafał Miłeckinvmem-vf610-ocotp-y			:= vf610-ocotp.o
82a06d9e5aSRafał Miłeckiobj-$(CONFIG_NVMEM_ZYNQMP)		+= nvmem_zynqmp_nvmem.o
83a06d9e5aSRafał Miłeckinvmem_zynqmp_nvmem-y			:= zynqmp_nvmem.o
840861110bSRichard Alpeobj-$(CONFIG_NVMEM_QORIQ_EFUSE)		+= nvmem-qoriq-efuse.o
850861110bSRichard Alpenvmem-qoriq-efuse-y			:= qoriq-efuse.o
86