blob: a3797b4aac79fe9ec2948e98c9c363a27beeb39c (
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
|
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
endif
|