Skip to content

arm: imx: fsl_otp: make fuses (OTP memory) read-only

Alexander Holler yocto-meta-freescale 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest1 patch 24 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1arm: imx: fsl_otp: make fuses (OTP memory) read-onlydrivers/char/fsl_otp.c+1 -564 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/1] arm: imx: fsl_otp: make fuses (OTP memory) read-only

Hello.

Jon Nettleton made me aware that there is a driver which makes it very easy to write to the OTP from userspace.

And I have to admit that I was mildly shocked.

Because OTP stands for One Time Programmable, it means the write functionality of that driver can be used only once per HW and if that is done wrong, the HW might be one of those famous electronic bricks afterwards.

So I've quickly written a patch which makes this driver to a friendly citizen instead of an heavily armed cowboy.

I really, really think this patch should be attached to all trees which are including fsl_otp.c. It applies without any error to imx_3.10.17_1.0.1_ga, imx_3.10.31_1.1.0_beta, linux-linaro-lsk-v3.14-mx6 and likely any other tree which includes that driver.

Regards,

Alexander Holler