summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-imx/Kconfig
diff options
context:
space:
mode:
authorStefan Christ <s.christ@phytec.de>2015-07-14 13:55:14 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2015-07-20 07:39:07 +0200
commita385f657e941c90f0d9f5e46a46f9f53a952dfb1 (patch)
tree9e1e3147c0213fb9a3697307480add61c12a5ee3 /arch/arm/mach-imx/Kconfig
parentaa2bbd2d572ce7771e9dafffd3ce1a36a6ab2fc8 (diff)
downloadbarebox-a385f657e941c90f0d9f5e46a46f9f53a952dfb1.tar.gz
barebox-a385f657e941c90f0d9f5e46a46f9f53a952dfb1.tar.xz
ARM: i.MX6: clarify usage of /dev/imx-ocotp
Explain the relationship between the OCOTP addresses from the i.MX6 Reference Manual and the file offset in '/dev/imx-ocotp'. Signed-off-by: Stefan Christ <s.christ@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-imx/Kconfig')
-rw-r--r--arch/arm/mach-imx/Kconfig6
1 files changed, 4 insertions, 2 deletions
diff --git a/arch/arm/mach-imx/Kconfig b/arch/arm/mach-imx/Kconfig
index f8f6004630..147c411266 100644
--- a/arch/arm/mach-imx/Kconfig
+++ b/arch/arm/mach-imx/Kconfig
@@ -676,8 +676,10 @@ config IMX_OCOTP_WRITE
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 offset 0x22 * 4):
+ 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