Re: [RFC PATCHv2 4/4] drivers/otp: convert bfin otp to generic OTP

Jamie Iles
2011-03-24T20:40:31Z

On Thu, Mar 24, 2011 at 02:52:20PM -0400, Mike Frysinger wrote:
> On Thu, Mar 24, 2011 at 11:21, Jamie Iles wrote:
> > +config BFIN_OTP_WRITE_ENABLE
> > +       bool "Enable writing support of OTP pages"
> > +       depends on BFIN_OTP
> > +       default n
> > +       help
> > +         If you say Y here, you will enable support for writing of the
> > +         OTP pages.  This is dangerous by nature as you can only program
> > +         the pages once, so only enable this option when you actually
> > +         need it so as to not inadvertently clobber data.
>
> if the generic layer is providing write enable access now, is this
> still necessary ? we could have a common OTP Kconfig i think for
> "enable OTP write support".

Sounds like a good idea. I'll integrate this into the next revision.

Jamie