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

Eric Bénard eric at eukrea.com
Fri Nov 7 07:50:13 PST 2014


Hi Otavio,

Le Fri, 7 Nov 2014 13:07:26 -0200,
Otavio Salvador <otavio at ossystems.com.br> a écrit :
> On Fri, Nov 7, 2014 at 1:04 PM, Eric Bénard <eric at eukrea.com> wrote:
> > Maybe adding a otp_unlock entry to the sysfs before allowing write could
> > secure more the feature when running on the evaluation boards so that
> > the user can think twice before writing to the fuses.
> 
> I like Eric's idea of the unlock sysfs entry for this purpose.
> 
FWIW that's how it's done in barebox :
http://git.pengutronix.de/?p=barebox.git;a=blob;f=arch/arm/mach-imx/ocotp.c;h=837500fff8865d64ea2ed0f129cb2a8869e0aa7d;hb=HEAD#l430

http://git.pengutronix.de/?p=barebox.git;a=blob;f=arch/arm/mach-imx/ocotp.c;h=837500fff8865d64ea2ed0f129cb2a8869e0aa7d;hb=HEAD#l294

Eric


More information about the meta-freescale mailing list