807-v6.1-0006-nvmem-sort-config-symbols-alphabetically.patch 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535
  1. From a06d9e5a63b7c2f622c908cd9600ce735e70f7c6 Mon Sep 17 00:00:00 2001
  2. From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <[email protected]>
  3. Date: Fri, 16 Sep 2022 13:20:55 +0100
  4. Subject: [PATCH] nvmem: sort config symbols alphabetically
  5. MIME-Version: 1.0
  6. Content-Type: text/plain; charset=UTF-8
  7. Content-Transfer-Encoding: 8bit
  8. 1. Match what most subsystems do
  9. 2. Simplify maintenance a bit
  10. 3. Reduce amount of conflicts for new drivers patches
  11. While at it unify indent level in Makefile.
  12. Signed-off-by: Rafał Miłecki <[email protected]>
  13. Signed-off-by: Srinivas Kandagatla <[email protected]>
  14. Link: https://lore.kernel.org/r/[email protected]
  15. Signed-off-by: Greg Kroah-Hartman <[email protected]>
  16. ---
  17. drivers/nvmem/Kconfig | 300 +++++++++++++++++++++--------------------
  18. drivers/nvmem/Makefile | 114 ++++++++--------
  19. 2 files changed, 208 insertions(+), 206 deletions(-)
  20. --- a/drivers/nvmem/Kconfig
  21. +++ b/drivers/nvmem/Kconfig
  22. @@ -21,6 +21,40 @@ config NVMEM_SYSFS
  23. This interface is mostly used by userspace applications to
  24. read/write directly into nvmem.
  25. +# Devices
  26. +
  27. +config NVMEM_APPLE_EFUSES
  28. + tristate "Apple eFuse support"
  29. + depends on ARCH_APPLE || COMPILE_TEST
  30. + default ARCH_APPLE
  31. + help
  32. + Say y here to enable support for reading eFuses on Apple SoCs
  33. + such as the M1. These are e.g. used to store factory programmed
  34. + calibration data required for the PCIe or the USB-C PHY.
  35. +
  36. + This driver can also be built as a module. If so, the module will
  37. + be called nvmem-apple-efuses.
  38. +
  39. +config NVMEM_BCM_OCOTP
  40. + tristate "Broadcom On-Chip OTP Controller support"
  41. + depends on ARCH_BCM_IPROC || COMPILE_TEST
  42. + depends on HAS_IOMEM
  43. + default ARCH_BCM_IPROC
  44. + help
  45. + Say y here to enable read/write access to the Broadcom OTP
  46. + controller.
  47. +
  48. + This driver can also be built as a module. If so, the module
  49. + will be called nvmem-bcm-ocotp.
  50. +
  51. +config NVMEM_BRCM_NVRAM
  52. + tristate "Broadcom's NVRAM support"
  53. + depends on ARCH_BCM_5301X || COMPILE_TEST
  54. + depends on HAS_IOMEM
  55. + help
  56. + This driver provides support for Broadcom's NVRAM that can be accessed
  57. + using I/O mapping.
  58. +
  59. config NVMEM_IMX_IIM
  60. tristate "i.MX IC Identification Module support"
  61. depends on ARCH_MXC || COMPILE_TEST
  62. @@ -64,6 +98,19 @@ config NVMEM_JZ4780_EFUSE
  63. To compile this driver as a module, choose M here: the module
  64. will be called nvmem_jz4780_efuse.
  65. +config NVMEM_LAYERSCAPE_SFP
  66. + tristate "Layerscape SFP (Security Fuse Processor) support"
  67. + depends on ARCH_LAYERSCAPE || COMPILE_TEST
  68. + depends on HAS_IOMEM
  69. + select REGMAP_MMIO
  70. + help
  71. + This driver provides support to read the eFuses on Freescale
  72. + Layerscape SoC's. For example, the vendor provides a per part
  73. + unique ID there.
  74. +
  75. + This driver can also be built as a module. If so, the module
  76. + will be called layerscape-sfp.
  77. +
  78. config NVMEM_LPC18XX_EEPROM
  79. tristate "NXP LPC18XX EEPROM Memory Support"
  80. depends on ARCH_LPC18XX || COMPILE_TEST
  81. @@ -84,17 +131,32 @@ config NVMEM_LPC18XX_OTP
  82. To compile this driver as a module, choose M here: the module
  83. will be called nvmem_lpc18xx_otp.
  84. -config NVMEM_MXS_OCOTP
  85. - tristate "Freescale MXS On-Chip OTP Memory Support"
  86. - depends on ARCH_MXS || COMPILE_TEST
  87. - depends on HAS_IOMEM
  88. +config NVMEM_MESON_EFUSE
  89. + tristate "Amlogic Meson GX eFuse Support"
  90. + depends on (ARCH_MESON || COMPILE_TEST) && MESON_SM
  91. help
  92. - If you say Y here, you will get readonly access to the
  93. - One Time Programmable memory pages that are stored
  94. - on the Freescale i.MX23/i.MX28 processor.
  95. + This is a driver to retrieve specific values from the eFuse found on
  96. + the Amlogic Meson GX SoCs.
  97. This driver can also be built as a module. If so, the module
  98. - will be called nvmem-mxs-ocotp.
  99. + will be called nvmem_meson_efuse.
  100. +
  101. +config NVMEM_MESON_MX_EFUSE
  102. + tristate "Amlogic Meson6/Meson8/Meson8b eFuse Support"
  103. + depends on ARCH_MESON || COMPILE_TEST
  104. + help
  105. + This is a driver to retrieve specific values from the eFuse found on
  106. + the Amlogic Meson6, Meson8 and Meson8b SoCs.
  107. +
  108. + This driver can also be built as a module. If so, the module
  109. + will be called nvmem_meson_mx_efuse.
  110. +
  111. +config NVMEM_MICROCHIP_OTPC
  112. + tristate "Microchip OTPC support"
  113. + depends on ARCH_AT91 || COMPILE_TEST
  114. + help
  115. + This driver enable the OTP controller available on Microchip SAMA7G5
  116. + SoCs. It controlls the access to the OTP memory connected to it.
  117. config NVMEM_MTK_EFUSE
  118. tristate "Mediatek SoCs EFUSE support"
  119. @@ -107,12 +169,17 @@ config NVMEM_MTK_EFUSE
  120. This driver can also be built as a module. If so, the module
  121. will be called efuse-mtk.
  122. -config NVMEM_MICROCHIP_OTPC
  123. - tristate "Microchip OTPC support"
  124. - depends on ARCH_AT91 || COMPILE_TEST
  125. +config NVMEM_MXS_OCOTP
  126. + tristate "Freescale MXS On-Chip OTP Memory Support"
  127. + depends on ARCH_MXS || COMPILE_TEST
  128. + depends on HAS_IOMEM
  129. help
  130. - This driver enable the OTP controller available on Microchip SAMA7G5
  131. - SoCs. It controlls the access to the OTP memory connected to it.
  132. + If you say Y here, you will get readonly access to the
  133. + One Time Programmable memory pages that are stored
  134. + on the Freescale i.MX23/i.MX28 processor.
  135. +
  136. + This driver can also be built as a module. If so, the module
  137. + will be called nvmem-mxs-ocotp.
  138. config NVMEM_NINTENDO_OTP
  139. tristate "Nintendo Wii and Wii U OTP Support"
  140. @@ -137,13 +204,21 @@ config NVMEM_QCOM_QFPROM
  141. This driver can also be built as a module. If so, the module
  142. will be called nvmem_qfprom.
  143. -config NVMEM_SPMI_SDAM
  144. - tristate "SPMI SDAM Support"
  145. - depends on SPMI
  146. +config NVMEM_RAVE_SP_EEPROM
  147. + tristate "Rave SP EEPROM Support"
  148. + depends on RAVE_SP_CORE
  149. help
  150. - This driver supports the Shared Direct Access Memory Module on
  151. - Qualcomm Technologies, Inc. PMICs. It provides the clients
  152. - an interface to read/write to the SDAM module's shared memory.
  153. + Say y here to enable Rave SP EEPROM support.
  154. +
  155. +config NVMEM_RMEM
  156. + tristate "Reserved Memory Based Driver Support"
  157. + depends on HAS_IOMEM
  158. + help
  159. + This driver maps reserved memory into an nvmem device. It might be
  160. + useful to expose information left by firmware in memory.
  161. +
  162. + This driver can also be built as a module. If so, the module
  163. + will be called nvmem-rmem.
  164. config NVMEM_ROCKCHIP_EFUSE
  165. tristate "Rockchip eFuse Support"
  166. @@ -167,79 +242,16 @@ config NVMEM_ROCKCHIP_OTP
  167. This driver can also be built as a module. If so, the module
  168. will be called nvmem_rockchip_otp.
  169. -config NVMEM_BCM_OCOTP
  170. - tristate "Broadcom On-Chip OTP Controller support"
  171. - depends on ARCH_BCM_IPROC || COMPILE_TEST
  172. - depends on HAS_IOMEM
  173. - default ARCH_BCM_IPROC
  174. - help
  175. - Say y here to enable read/write access to the Broadcom OTP
  176. - controller.
  177. -
  178. - This driver can also be built as a module. If so, the module
  179. - will be called nvmem-bcm-ocotp.
  180. -
  181. -config NVMEM_STM32_ROMEM
  182. - tristate "STMicroelectronics STM32 factory-programmed memory support"
  183. - depends on ARCH_STM32 || COMPILE_TEST
  184. - help
  185. - Say y here to enable read-only access for STMicroelectronics STM32
  186. - factory-programmed memory area.
  187. -
  188. - This driver can also be built as a module. If so, the module
  189. - will be called nvmem-stm32-romem.
  190. -
  191. -config NVMEM_SUNXI_SID
  192. - tristate "Allwinner SoCs SID support"
  193. - depends on ARCH_SUNXI
  194. - help
  195. - This is a driver for the 'security ID' available on various Allwinner
  196. - devices.
  197. -
  198. - This driver can also be built as a module. If so, the module
  199. - will be called nvmem_sunxi_sid.
  200. -
  201. -config NVMEM_UNIPHIER_EFUSE
  202. - tristate "UniPhier SoCs eFuse support"
  203. - depends on ARCH_UNIPHIER || COMPILE_TEST
  204. - depends on HAS_IOMEM
  205. - help
  206. - This is a simple driver to dump specified values of UniPhier SoC
  207. - from eFuse.
  208. -
  209. - This driver can also be built as a module. If so, the module
  210. - will be called nvmem-uniphier-efuse.
  211. -
  212. -config NVMEM_VF610_OCOTP
  213. - tristate "VF610 SoC OCOTP support"
  214. - depends on SOC_VF610 || COMPILE_TEST
  215. +config NVMEM_SC27XX_EFUSE
  216. + tristate "Spreadtrum SC27XX eFuse Support"
  217. + depends on MFD_SC27XX_PMIC || COMPILE_TEST
  218. depends on HAS_IOMEM
  219. help
  220. - This is a driver for the 'OCOTP' peripheral available on Vybrid
  221. - devices like VF5xx and VF6xx.
  222. -
  223. - This driver can also be build as a module. If so, the module will
  224. - be called nvmem-vf610-ocotp.
  225. -
  226. -config NVMEM_MESON_EFUSE
  227. - tristate "Amlogic Meson GX eFuse Support"
  228. - depends on (ARCH_MESON || COMPILE_TEST) && MESON_SM
  229. - help
  230. - This is a driver to retrieve specific values from the eFuse found on
  231. - the Amlogic Meson GX SoCs.
  232. -
  233. - This driver can also be built as a module. If so, the module
  234. - will be called nvmem_meson_efuse.
  235. -
  236. -config NVMEM_MESON_MX_EFUSE
  237. - tristate "Amlogic Meson6/Meson8/Meson8b eFuse Support"
  238. - depends on ARCH_MESON || COMPILE_TEST
  239. - help
  240. - This is a driver to retrieve specific values from the eFuse found on
  241. - the Amlogic Meson6, Meson8 and Meson8b SoCs.
  242. + This is a simple driver to dump specified values of Spreadtrum
  243. + SC27XX PMICs from eFuse.
  244. This driver can also be built as a module. If so, the module
  245. - will be called nvmem_meson_mx_efuse.
  246. + will be called nvmem-sc27xx-efuse.
  247. config NVMEM_SNVS_LPGPR
  248. tristate "Support for Low Power General Purpose Register"
  249. @@ -251,32 +263,13 @@ config NVMEM_SNVS_LPGPR
  250. This driver can also be built as a module. If so, the module
  251. will be called nvmem-snvs-lpgpr.
  252. -config NVMEM_RAVE_SP_EEPROM
  253. - tristate "Rave SP EEPROM Support"
  254. - depends on RAVE_SP_CORE
  255. - help
  256. - Say y here to enable Rave SP EEPROM support.
  257. -
  258. -config NVMEM_SC27XX_EFUSE
  259. - tristate "Spreadtrum SC27XX eFuse Support"
  260. - depends on MFD_SC27XX_PMIC || COMPILE_TEST
  261. - depends on HAS_IOMEM
  262. - help
  263. - This is a simple driver to dump specified values of Spreadtrum
  264. - SC27XX PMICs from eFuse.
  265. -
  266. - This driver can also be built as a module. If so, the module
  267. - will be called nvmem-sc27xx-efuse.
  268. -
  269. -config NVMEM_ZYNQMP
  270. - bool "Xilinx ZYNQMP SoC nvmem firmware support"
  271. - depends on ARCH_ZYNQMP
  272. +config NVMEM_SPMI_SDAM
  273. + tristate "SPMI SDAM Support"
  274. + depends on SPMI
  275. help
  276. - This is a driver to access hardware related data like
  277. - soc revision, IDCODE... etc by using the firmware
  278. - interface.
  279. -
  280. - If sure, say yes. If unsure, say no.
  281. + This driver supports the Shared Direct Access Memory Module on
  282. + Qualcomm Technologies, Inc. PMICs. It provides the clients
  283. + an interface to read/write to the SDAM module's shared memory.
  284. config NVMEM_SPRD_EFUSE
  285. tristate "Spreadtrum SoC eFuse Support"
  286. @@ -289,36 +282,15 @@ config NVMEM_SPRD_EFUSE
  287. This driver can also be built as a module. If so, the module
  288. will be called nvmem-sprd-efuse.
  289. -config NVMEM_RMEM
  290. - tristate "Reserved Memory Based Driver Support"
  291. - depends on HAS_IOMEM
  292. - help
  293. - This driver maps reserved memory into an nvmem device. It might be
  294. - useful to expose information left by firmware in memory.
  295. -
  296. - This driver can also be built as a module. If so, the module
  297. - will be called nvmem-rmem.
  298. -
  299. -config NVMEM_BRCM_NVRAM
  300. - tristate "Broadcom's NVRAM support"
  301. - depends on ARCH_BCM_5301X || COMPILE_TEST
  302. - depends on HAS_IOMEM
  303. - help
  304. - This driver provides support for Broadcom's NVRAM that can be accessed
  305. - using I/O mapping.
  306. -
  307. -config NVMEM_LAYERSCAPE_SFP
  308. - tristate "Layerscape SFP (Security Fuse Processor) support"
  309. - depends on ARCH_LAYERSCAPE || COMPILE_TEST
  310. - depends on HAS_IOMEM
  311. - select REGMAP_MMIO
  312. +config NVMEM_STM32_ROMEM
  313. + tristate "STMicroelectronics STM32 factory-programmed memory support"
  314. + depends on ARCH_STM32 || COMPILE_TEST
  315. help
  316. - This driver provides support to read the eFuses on Freescale
  317. - Layerscape SoC's. For example, the vendor provides a per part
  318. - unique ID there.
  319. + Say y here to enable read-only access for STMicroelectronics STM32
  320. + factory-programmed memory area.
  321. This driver can also be built as a module. If so, the module
  322. - will be called layerscape-sfp.
  323. + will be called nvmem-stm32-romem.
  324. config NVMEM_SUNPLUS_OCOTP
  325. tristate "Sunplus SoC OTP support"
  326. @@ -332,17 +304,15 @@ config NVMEM_SUNPLUS_OCOTP
  327. This driver can also be built as a module. If so, the module
  328. will be called nvmem-sunplus-ocotp.
  329. -config NVMEM_APPLE_EFUSES
  330. - tristate "Apple eFuse support"
  331. - depends on ARCH_APPLE || COMPILE_TEST
  332. - default ARCH_APPLE
  333. +config NVMEM_SUNXI_SID
  334. + tristate "Allwinner SoCs SID support"
  335. + depends on ARCH_SUNXI
  336. help
  337. - Say y here to enable support for reading eFuses on Apple SoCs
  338. - such as the M1. These are e.g. used to store factory programmed
  339. - calibration data required for the PCIe or the USB-C PHY.
  340. + This is a driver for the 'security ID' available on various Allwinner
  341. + devices.
  342. - This driver can also be built as a module. If so, the module will
  343. - be called nvmem-apple-efuses.
  344. + This driver can also be built as a module. If so, the module
  345. + will be called nvmem_sunxi_sid.
  346. config NVMEM_U_BOOT_ENV
  347. tristate "U-Boot environment variables support"
  348. @@ -357,4 +327,36 @@ config NVMEM_U_BOOT_ENV
  349. If compiled as module it will be called nvmem_u-boot-env.
  350. +config NVMEM_UNIPHIER_EFUSE
  351. + tristate "UniPhier SoCs eFuse support"
  352. + depends on ARCH_UNIPHIER || COMPILE_TEST
  353. + depends on HAS_IOMEM
  354. + help
  355. + This is a simple driver to dump specified values of UniPhier SoC
  356. + from eFuse.
  357. +
  358. + This driver can also be built as a module. If so, the module
  359. + will be called nvmem-uniphier-efuse.
  360. +
  361. +config NVMEM_VF610_OCOTP
  362. + tristate "VF610 SoC OCOTP support"
  363. + depends on SOC_VF610 || COMPILE_TEST
  364. + depends on HAS_IOMEM
  365. + help
  366. + This is a driver for the 'OCOTP' peripheral available on Vybrid
  367. + devices like VF5xx and VF6xx.
  368. +
  369. + This driver can also be build as a module. If so, the module will
  370. + be called nvmem-vf610-ocotp.
  371. +
  372. +config NVMEM_ZYNQMP
  373. + bool "Xilinx ZYNQMP SoC nvmem firmware support"
  374. + depends on ARCH_ZYNQMP
  375. + help
  376. + This is a driver to access hardware related data like
  377. + soc revision, IDCODE... etc by using the firmware
  378. + interface.
  379. +
  380. + If sure, say yes. If unsure, say no.
  381. +
  382. endif
  383. --- a/drivers/nvmem/Makefile
  384. +++ b/drivers/nvmem/Makefile
  385. @@ -7,67 +7,67 @@ obj-$(CONFIG_NVMEM) += nvmem_core.o
  386. nvmem_core-y := core.o
  387. # Devices
  388. -obj-$(CONFIG_NVMEM_BCM_OCOTP) += nvmem-bcm-ocotp.o
  389. -nvmem-bcm-ocotp-y := bcm-ocotp.o
  390. -obj-$(CONFIG_NVMEM_IMX_IIM) += nvmem-imx-iim.o
  391. -nvmem-imx-iim-y := imx-iim.o
  392. -obj-$(CONFIG_NVMEM_IMX_OCOTP) += nvmem-imx-ocotp.o
  393. -nvmem-imx-ocotp-y := imx-ocotp.o
  394. +obj-$(CONFIG_NVMEM_APPLE_EFUSES) += nvmem-apple-efuses.o
  395. +nvmem-apple-efuses-y := apple-efuses.o
  396. +obj-$(CONFIG_NVMEM_BCM_OCOTP) += nvmem-bcm-ocotp.o
  397. +nvmem-bcm-ocotp-y := bcm-ocotp.o
  398. +obj-$(CONFIG_NVMEM_BRCM_NVRAM) += nvmem_brcm_nvram.o
  399. +nvmem_brcm_nvram-y := brcm_nvram.o
  400. +obj-$(CONFIG_NVMEM_IMX_IIM) += nvmem-imx-iim.o
  401. +nvmem-imx-iim-y := imx-iim.o
  402. +obj-$(CONFIG_NVMEM_IMX_OCOTP) += nvmem-imx-ocotp.o
  403. +nvmem-imx-ocotp-y := imx-ocotp.o
  404. obj-$(CONFIG_NVMEM_IMX_OCOTP_SCU) += nvmem-imx-ocotp-scu.o
  405. -nvmem-imx-ocotp-scu-y := imx-ocotp-scu.o
  406. -obj-$(CONFIG_NVMEM_JZ4780_EFUSE) += nvmem_jz4780_efuse.o
  407. -nvmem_jz4780_efuse-y := jz4780-efuse.o
  408. +nvmem-imx-ocotp-scu-y := imx-ocotp-scu.o
  409. +obj-$(CONFIG_NVMEM_JZ4780_EFUSE) += nvmem_jz4780_efuse.o
  410. +nvmem_jz4780_efuse-y := jz4780-efuse.o
  411. +obj-$(CONFIG_NVMEM_LAYERSCAPE_SFP) += nvmem-layerscape-sfp.o
  412. +nvmem-layerscape-sfp-y := layerscape-sfp.o
  413. obj-$(CONFIG_NVMEM_LPC18XX_EEPROM) += nvmem_lpc18xx_eeprom.o
  414. -nvmem_lpc18xx_eeprom-y := lpc18xx_eeprom.o
  415. -obj-$(CONFIG_NVMEM_LPC18XX_OTP) += nvmem_lpc18xx_otp.o
  416. -nvmem_lpc18xx_otp-y := lpc18xx_otp.o
  417. -obj-$(CONFIG_NVMEM_MXS_OCOTP) += nvmem-mxs-ocotp.o
  418. -nvmem-mxs-ocotp-y := mxs-ocotp.o
  419. -obj-$(CONFIG_NVMEM_NINTENDO_OTP) += nvmem-nintendo-otp.o
  420. -nvmem-nintendo-otp-y := nintendo-otp.o
  421. +nvmem_lpc18xx_eeprom-y := lpc18xx_eeprom.o
  422. +obj-$(CONFIG_NVMEM_LPC18XX_OTP) += nvmem_lpc18xx_otp.o
  423. +nvmem_lpc18xx_otp-y := lpc18xx_otp.o
  424. +obj-$(CONFIG_NVMEM_MESON_EFUSE) += nvmem_meson_efuse.o
  425. +nvmem_meson_efuse-y := meson-efuse.o
  426. +obj-$(CONFIG_NVMEM_MESON_MX_EFUSE) += nvmem_meson_mx_efuse.o
  427. +nvmem_meson_mx_efuse-y := meson-mx-efuse.o
  428. +obj-$(CONFIG_NVMEM_MICROCHIP_OTPC) += nvmem-microchip-otpc.o
  429. +nvmem-microchip-otpc-y := microchip-otpc.o
  430. obj-$(CONFIG_NVMEM_MTK_EFUSE) += nvmem_mtk-efuse.o
  431. -nvmem_mtk-efuse-y := mtk-efuse.o
  432. -obj-$(CONFIG_NVMEM_QCOM_QFPROM) += nvmem_qfprom.o
  433. -nvmem_qfprom-y := qfprom.o
  434. -obj-$(CONFIG_NVMEM_SPMI_SDAM) += nvmem_qcom-spmi-sdam.o
  435. -nvmem_qcom-spmi-sdam-y += qcom-spmi-sdam.o
  436. +nvmem_mtk-efuse-y := mtk-efuse.o
  437. +obj-$(CONFIG_NVMEM_MXS_OCOTP) += nvmem-mxs-ocotp.o
  438. +nvmem-mxs-ocotp-y := mxs-ocotp.o
  439. +obj-$(CONFIG_NVMEM_NINTENDO_OTP) += nvmem-nintendo-otp.o
  440. +nvmem-nintendo-otp-y := nintendo-otp.o
  441. +obj-$(CONFIG_NVMEM_QCOM_QFPROM) += nvmem_qfprom.o
  442. +nvmem_qfprom-y := qfprom.o
  443. +obj-$(CONFIG_NVMEM_RAVE_SP_EEPROM) += nvmem-rave-sp-eeprom.o
  444. +nvmem-rave-sp-eeprom-y := rave-sp-eeprom.o
  445. +obj-$(CONFIG_NVMEM_RMEM) += nvmem-rmem.o
  446. +nvmem-rmem-y := rmem.o
  447. obj-$(CONFIG_NVMEM_ROCKCHIP_EFUSE) += nvmem_rockchip_efuse.o
  448. -nvmem_rockchip_efuse-y := rockchip-efuse.o
  449. +nvmem_rockchip_efuse-y := rockchip-efuse.o
  450. obj-$(CONFIG_NVMEM_ROCKCHIP_OTP) += nvmem-rockchip-otp.o
  451. -nvmem-rockchip-otp-y := rockchip-otp.o
  452. -obj-$(CONFIG_NVMEM_SUNXI_SID) += nvmem_sunxi_sid.o
  453. -nvmem_stm32_romem-y := stm32-romem.o
  454. -obj-$(CONFIG_NVMEM_STM32_ROMEM) += nvmem_stm32_romem.o
  455. -nvmem_sunxi_sid-y := sunxi_sid.o
  456. -obj-$(CONFIG_NVMEM_UNIPHIER_EFUSE) += nvmem-uniphier-efuse.o
  457. -nvmem-uniphier-efuse-y := uniphier-efuse.o
  458. -obj-$(CONFIG_NVMEM_VF610_OCOTP) += nvmem-vf610-ocotp.o
  459. -nvmem-vf610-ocotp-y := vf610-ocotp.o
  460. -obj-$(CONFIG_NVMEM_MESON_EFUSE) += nvmem_meson_efuse.o
  461. -nvmem_meson_efuse-y := meson-efuse.o
  462. -obj-$(CONFIG_NVMEM_MESON_MX_EFUSE) += nvmem_meson_mx_efuse.o
  463. -nvmem_meson_mx_efuse-y := meson-mx-efuse.o
  464. -obj-$(CONFIG_NVMEM_SNVS_LPGPR) += nvmem_snvs_lpgpr.o
  465. -nvmem_snvs_lpgpr-y := snvs_lpgpr.o
  466. -obj-$(CONFIG_NVMEM_RAVE_SP_EEPROM) += nvmem-rave-sp-eeprom.o
  467. -nvmem-rave-sp-eeprom-y := rave-sp-eeprom.o
  468. +nvmem-rockchip-otp-y := rockchip-otp.o
  469. obj-$(CONFIG_NVMEM_SC27XX_EFUSE) += nvmem-sc27xx-efuse.o
  470. -nvmem-sc27xx-efuse-y := sc27xx-efuse.o
  471. -obj-$(CONFIG_NVMEM_ZYNQMP) += nvmem_zynqmp_nvmem.o
  472. -nvmem_zynqmp_nvmem-y := zynqmp_nvmem.o
  473. -obj-$(CONFIG_NVMEM_SPRD_EFUSE) += nvmem_sprd_efuse.o
  474. -nvmem_sprd_efuse-y := sprd-efuse.o
  475. -obj-$(CONFIG_NVMEM_RMEM) += nvmem-rmem.o
  476. -nvmem-rmem-y := rmem.o
  477. -obj-$(CONFIG_NVMEM_BRCM_NVRAM) += nvmem_brcm_nvram.o
  478. -nvmem_brcm_nvram-y := brcm_nvram.o
  479. -obj-$(CONFIG_NVMEM_LAYERSCAPE_SFP) += nvmem-layerscape-sfp.o
  480. -nvmem-layerscape-sfp-y := layerscape-sfp.o
  481. +nvmem-sc27xx-efuse-y := sc27xx-efuse.o
  482. +obj-$(CONFIG_NVMEM_SNVS_LPGPR) += nvmem_snvs_lpgpr.o
  483. +nvmem_snvs_lpgpr-y := snvs_lpgpr.o
  484. +obj-$(CONFIG_NVMEM_SPMI_SDAM) += nvmem_qcom-spmi-sdam.o
  485. +nvmem_qcom-spmi-sdam-y += qcom-spmi-sdam.o
  486. +obj-$(CONFIG_NVMEM_SPRD_EFUSE) += nvmem_sprd_efuse.o
  487. +nvmem_sprd_efuse-y := sprd-efuse.o
  488. +obj-$(CONFIG_NVMEM_STM32_ROMEM) += nvmem_stm32_romem.o
  489. +nvmem_stm32_romem-y := stm32-romem.o
  490. obj-$(CONFIG_NVMEM_SUNPLUS_OCOTP) += nvmem_sunplus_ocotp.o
  491. -nvmem_sunplus_ocotp-y := sunplus-ocotp.o
  492. -obj-$(CONFIG_NVMEM_APPLE_EFUSES) += nvmem-apple-efuses.o
  493. -nvmem-apple-efuses-y := apple-efuses.o
  494. -obj-$(CONFIG_NVMEM_MICROCHIP_OTPC) += nvmem-microchip-otpc.o
  495. -nvmem-microchip-otpc-y := microchip-otpc.o
  496. -obj-$(CONFIG_NVMEM_U_BOOT_ENV) += nvmem_u-boot-env.o
  497. -nvmem_u-boot-env-y := u-boot-env.o
  498. +nvmem_sunplus_ocotp-y := sunplus-ocotp.o
  499. +obj-$(CONFIG_NVMEM_SUNXI_SID) += nvmem_sunxi_sid.o
  500. +nvmem_sunxi_sid-y := sunxi_sid.o
  501. +obj-$(CONFIG_NVMEM_U_BOOT_ENV) += nvmem_u-boot-env.o
  502. +nvmem_u-boot-env-y := u-boot-env.o
  503. +obj-$(CONFIG_NVMEM_UNIPHIER_EFUSE) += nvmem-uniphier-efuse.o
  504. +nvmem-uniphier-efuse-y := uniphier-efuse.o
  505. +obj-$(CONFIG_NVMEM_VF610_OCOTP) += nvmem-vf610-ocotp.o
  506. +nvmem-vf610-ocotp-y := vf610-ocotp.o
  507. +obj-$(CONFIG_NVMEM_ZYNQMP) += nvmem_zynqmp_nvmem.o
  508. +nvmem_zynqmp_nvmem-y := zynqmp_nvmem.o