Re: [RFC PATCHv2 1/4] drivers/otp: add initial support for OTP memory

From: Mike Frysinger
Date: Fri Mar 25 2011 - 18:36:52 EST


On Fri, Mar 25, 2011 at 18:27, Jamie Iles wrote:
> On Fri, Mar 25, 2011 at 05:32:54PM -0400, Mike Frysinger wrote:
>> On Fri, Mar 25, 2011 at 06:08, Jamie Iles wrote:
>> > I guess in this framework we could make the OTP look like a single
>> > region of the 0x80 data pages concatenated or provide separate regions
>> > for each group of 0x80 pages but the control and ECC pages aren't
>> > directly accessible by the user.
>>
>> well, in the current driver, i let people dump the ECC. Âfor
>> debugging, i think that's valuable.
>
> Hmm, that does sound potentially useful. ÂIn v3 I've created a single
> partition that excludes the control bits and the ecc. ÂHow about I
> change that for the next spin so there are two partitions where the
> first contains the raw data and the second is all of the ECC lumped
> together. ÂIt may also be useful to have a name attribute for each
> region to make this clear.

this does sound useful. on Blackfin parts, we've already dedicated
specific pages to specific functions. so if there was a name
attribute to each region, i could potentially make each one a region.
-mike

Attachment: otp-map.png
Description: PNG image