1 # SPDX-License-Identifier: GPL-2.0
3 # Makefile for nvmem drivers.
6 obj-
$(CONFIG_NVMEM
) += nvmem_core.o
8 obj-
$(CONFIG_NVMEM_LAYOUTS
) += nvmem_layouts.o
9 nvmem_layouts-y
:= layouts.o
13 obj-
$(CONFIG_NVMEM_APPLE_EFUSES
) += nvmem-apple-efuses.o
14 nvmem-apple-efuses-y
:= apple-efuses.o
15 obj-
$(CONFIG_NVMEM_BCM_OCOTP
) += nvmem-bcm-ocotp.o
16 nvmem-bcm-ocotp-y
:= bcm-ocotp.o
17 obj-
$(CONFIG_NVMEM_BRCM_NVRAM
) += nvmem_brcm_nvram.o
18 nvmem_brcm_nvram-y
:= brcm_nvram.o
19 obj-
$(CONFIG_NVMEM_IMX_IIM
) += nvmem-imx-iim.o
20 nvmem-imx-iim-y
:= imx-iim.o
21 obj-
$(CONFIG_NVMEM_IMX_OCOTP
) += nvmem-imx-ocotp.o
22 nvmem-imx-ocotp-y
:= imx-ocotp.o
23 obj-
$(CONFIG_NVMEM_IMX_OCOTP_ELE
) += nvmem-imx-ocotp-ele.o
24 nvmem-imx-ocotp-ele-y
:= imx-ocotp-ele.o
25 obj-
$(CONFIG_NVMEM_IMX_OCOTP_SCU
) += nvmem-imx-ocotp-scu.o
26 nvmem-imx-ocotp-scu-y
:= imx-ocotp-scu.o
27 obj-
$(CONFIG_NVMEM_JZ4780_EFUSE
) += nvmem_jz4780_efuse.o
28 nvmem_jz4780_efuse-y
:= jz4780-efuse.o
29 obj-
$(CONFIG_NVMEM_LAN9662_OTPC
) += nvmem-lan9662-otpc.o
30 nvmem-lan9662-otpc-y
:= lan9662-otpc.o
31 obj-
$(CONFIG_NVMEM_LAYERSCAPE_SFP
) += nvmem-layerscape-sfp.o
32 nvmem-layerscape-sfp-y
:= layerscape-sfp.o
33 obj-
$(CONFIG_NVMEM_LPC18XX_EEPROM
) += nvmem_lpc18xx_eeprom.o
34 nvmem_lpc18xx_eeprom-y
:= lpc18xx_eeprom.o
35 obj-
$(CONFIG_NVMEM_LPC18XX_OTP
) += nvmem_lpc18xx_otp.o
36 nvmem_lpc18xx_otp-y
:= lpc18xx_otp.o
37 obj-
$(CONFIG_NVMEM_MESON_EFUSE
) += nvmem_meson_efuse.o
38 nvmem_meson_efuse-y
:= meson-efuse.o
39 obj-
$(CONFIG_NVMEM_MESON_MX_EFUSE
) += nvmem_meson_mx_efuse.o
40 nvmem_meson_mx_efuse-y
:= meson-mx-efuse.o
41 obj-
$(CONFIG_NVMEM_MICROCHIP_OTPC
) += nvmem-microchip-otpc.o
42 nvmem-microchip-otpc-y
:= microchip-otpc.o
43 obj-
$(CONFIG_NVMEM_MTK_EFUSE
) += nvmem_mtk-efuse.o
44 nvmem_mtk-efuse-y
:= mtk-efuse.o
45 obj-
$(CONFIG_NVMEM_MXS_OCOTP
) += nvmem-mxs-ocotp.o
46 nvmem-mxs-ocotp-y
:= mxs-ocotp.o
47 obj-
$(CONFIG_NVMEM_NINTENDO_OTP
) += nvmem-nintendo-otp.o
48 nvmem-nintendo-otp-y
:= nintendo-otp.o
49 obj-
$(CONFIG_NVMEM_QCOM_QFPROM
) += nvmem_qfprom.o
50 nvmem_qfprom-y
:= qfprom.o
51 obj-
$(CONFIG_NVMEM_QCOM_SEC_QFPROM
) += nvmem_sec_qfprom.o
52 nvmem_sec_qfprom-y
:= sec-qfprom.o
53 obj-
$(CONFIG_NVMEM_RAVE_SP_EEPROM
) += nvmem-rave-sp-eeprom.o
54 nvmem-rave-sp-eeprom-y
:= rave-sp-eeprom.o
55 obj-
$(CONFIG_NVMEM_RCAR_EFUSE
) += nvmem-rcar-efuse.o
56 nvmem-rcar-efuse-y
:= rcar-efuse.o
57 obj-
$(CONFIG_NVMEM_RMEM
) += nvmem-rmem.o
58 nvmem-rmem-y
:= rmem.o
59 obj-
$(CONFIG_NVMEM_ROCKCHIP_EFUSE
) += nvmem_rockchip_efuse.o
60 nvmem_rockchip_efuse-y
:= rockchip-efuse.o
61 obj-
$(CONFIG_NVMEM_ROCKCHIP_OTP
) += nvmem-rockchip-otp.o
62 nvmem-rockchip-otp-y
:= rockchip-otp.o
63 obj-
$(CONFIG_NVMEM_SC27XX_EFUSE
) += nvmem-sc27xx-efuse.o
64 nvmem-sc27xx-efuse-y
:= sc27xx-efuse.o
65 obj-
$(CONFIG_NVMEM_SNVS_LPGPR
) += nvmem_snvs_lpgpr.o
66 nvmem_snvs_lpgpr-y
:= snvs_lpgpr.o
67 obj-
$(CONFIG_NVMEM_SPMI_SDAM
) += nvmem_qcom-spmi-sdam.o
68 nvmem_qcom-spmi-sdam-y
+= qcom-spmi-sdam.o
69 obj-
$(CONFIG_NVMEM_SPRD_EFUSE
) += nvmem_sprd_efuse.o
70 nvmem_sprd_efuse-y
:= sprd-efuse.o
71 obj-
$(CONFIG_NVMEM_STM32_ROMEM
) += nvmem_stm32_romem.o
72 nvmem_stm32_romem-y
:= stm32-romem.o
73 nvmem_stm32_romem-
$(CONFIG_NVMEM_STM32_BSEC_OPTEE_TA
) += stm32-bsec-optee-ta.o
74 obj-
$(CONFIG_NVMEM_SUNPLUS_OCOTP
) += nvmem_sunplus_ocotp.o
75 nvmem_sunplus_ocotp-y
:= sunplus-ocotp.o
76 obj-
$(CONFIG_NVMEM_SUNXI_SID
) += nvmem_sunxi_sid.o
77 nvmem_sunxi_sid-y
:= sunxi_sid.o
78 obj-
$(CONFIG_NVMEM_U_BOOT_ENV
) += nvmem_u-boot-env.o
79 nvmem_u-boot-env-y
:= u-boot-env.o
80 obj-
$(CONFIG_NVMEM_UNIPHIER_EFUSE
) += nvmem-uniphier-efuse.o
81 nvmem-uniphier-efuse-y
:= uniphier-efuse.o
82 obj-
$(CONFIG_NVMEM_VF610_OCOTP
) += nvmem-vf610-ocotp.o
83 nvmem-vf610-ocotp-y
:= vf610-ocotp.o
84 obj-
$(CONFIG_NVMEM_ZYNQMP
) += nvmem_zynqmp_nvmem.o
85 nvmem_zynqmp_nvmem-y
:= zynqmp_nvmem.o
86 obj-
$(CONFIG_NVMEM_QORIQ_EFUSE
) += nvmem-qoriq-efuse.o
87 nvmem-qoriq-efuse-y
:= qoriq-efuse.o