summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-imx
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2015-08-06 12:33:15 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2015-08-06 12:33:15 +0200
commit4ee01d2b469f65d92c6e7759152cd31fbfbb1414 (patch)
tree1d9f9af4fa6d169dfbe916811d6a2df3b2e9cdcd /arch/arm/mach-imx
parentb32e327d3e8be662c8d69db8c64e750a9118345a (diff)
parent4f37af47a8bd14078b6a11485d38bef6ac6bdc86 (diff)
downloadbarebox-4ee01d2b469f65d92c6e7759152cd31fbfbb1414.tar.gz
barebox-4ee01d2b469f65d92c6e7759152cd31fbfbb1414.tar.xz
Merge branch 'for-next/misc'
Diffstat (limited to 'arch/arm/mach-imx')
-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 f64394829d..9afc666b9a 100644
--- a/arch/arm/mach-imx/Kconfig
+++ b/arch/arm/mach-imx/Kconfig
@@ -680,8 +680,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