From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?utf-8?Q?Beno=C3=AEt_Th=C3=A9baudeau?= Date: Thu, 4 Apr 2013 21:48:13 +0200 (CEST) Subject: [U-Boot] [PATCH v3 3/7] Add fuse API and commands In-Reply-To: <591915556.930388.1364333319357.JavaMail.root@advansee.com> References: <1364333096-3698-1-git-send-email-benoit.thebaudeau@advansee.com> <1364333096-3698-3-git-send-email-benoit.thebaudeau@advansee.com> <591915556.930388.1364333319357.JavaMail.root@advansee.com> Message-ID: <1710110327.1173864.1365104893878.JavaMail.root@advansee.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Tuesday, March 26, 2013 10:28:39 PM, Beno?t Th?baudeau wrote: > On Tuesday, March 26, 2013 10:24:52 PM, Beno?t Th?baudeau wrote: > > This can be useful for fuse-like hardware, OTP SoC options, etc. > > > > Signed-off-by: Beno?t Th?baudeau > > --- > > Changes in v3: > > - Rebase against latest u-boot-imx/master. > > - Update copyright years. > > - Rename the "ovride" command to "override" as it is nicer to read. > > - For obvious safety reasons, ask the user to confirm each fuse > > programming > > operation, unless the '-y' command line option was given, which can be > > used > > in scripts. > > - Rename "row" to "word" since it is less confusing and it is vocabulary > > common > > to iim and ocotp in the reference manuals. > > - Add doc/README.fuse. > > > > Changes in v2: > > - Rebase against latest master. > > > > README | 1 + > > common/Makefile | 1 + > > common/cmd_fuse.c | 214 > > ++++++++++++++++++++++++++++++++++++++++++++++ > > doc/README.fuse | 73 ++++++++++++++++ > > include/config_cmd_all.h | 1 + > > include/fuse.h | 49 +++++++++++ > > 6 files changed, 339 insertions(+) > > create mode 100644 common/cmd_fuse.c > > create mode 100644 doc/README.fuse > > create mode 100644 include/fuse.h > > FYI, I have started to work on the OCOTP stuff too with this API. I attach > the > corresponding README that I made. > > I will resume my work on this subject in about two weeks. This will be either > a > v4 or a new series, depending on what the v3 became in the meantime. Forget this v3. I will drop the bit interface in v4. It is redundant and not very useful, except to reduce the human error factor when playing with a single fuse, and people are supposed to know what they're doing, so... Best regards, Beno?t