summaryrefslogtreecommitdiffstats
path: root/drivers/nvmem/Kconfig
blob: 38b6f424192efde8dbf4e913ccdef0b5884c3f5d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
menuconfig NVMEM
	bool "NVMEM Support"
	help
	  Support for NVMEM(Non Volatile Memory) devices like EEPROM, EFUSES...

	  This framework is designed to provide a generic interface to NVMEM

	  If unsure, say no.

if NVMEM

config NVMEM_SNVS_LPGPR
	tristate "Freescale SNVS LPGPR support"
	select MFD_SYSCON
	help
	  If you say yes here you get NVMEM support for the Freescale SNVS
	  Low Power Generic Purpose Register (LPGPR).

config IMX_OCOTP
	tristate "i.MX6 On Chip OTP controller"
	depends on ARCH_IMX6 || ARCH_VF610 || ARCH_IMX8MQ
	depends on OFDEVICE
	help
	  This adds support for the i.MX6 On-Chip OTP controller. Currently the
	  only supported functionality is reading the MAC address and assigning
	  it to an ethernet device.

config IMX_OCOTP_WRITE
	bool
	prompt "Enable write support of i.MX6 CPUs OTP fuses"
	depends on IMX_OCOTP
	help
	  This adds write support to IMX6 On-Chip OTP registers. Example of set
	  MAC to 12:34:56:78:9A:BC (2 words with address 0x22 (OCOTP_MAC0) and
	  address 0x23 (OCOTP_MAC1)). To calculate the file offset multiply
	  the value of the address by 4.
	    mw -l -d /dev/imx-ocotp 0x8C 0x00001234
	    mw -l -d /dev/imx-ocotp 0x88 0x56789ABC

config RAVE_SP_EEPROM
	tristate "Rave SP EEPROM Support"
	depends on RAVE_SP_CORE
	help
	  Say y here to enable Rave SP EEPROM support.

endif