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