From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefano Babic Date: Thu, 23 Aug 2012 12:31:11 +0200 Subject: [U-Boot] [PATCH 3/5] Add fuse API and commands In-Reply-To: <5034B7B9.2020801@de.bosch.com> References: <1038235395.2398352.1344948755663.JavaMail.root@advansee.com> <5034B7B9.2020801@de.bosch.com> Message-ID: <5036066F.1010700@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 22/08/2012 12:43, Dirk Behme wrote: > On 14.08.2012 14:52, Beno?t Th?baudeau wrote: >> This can be useful for fuse-like hardware, OTP SoC options, etc. > > For i.MX6, I have a port of the OTP support from Freescale's U-Boot to > our mainline U-Boot in the queue [1]. > > As I don't have the overview over the various i.MXxx SoCs and don't > understand much of this patch below: Should this implement the same > functionality like my patch [1] for i.MX6? I have not checked the details. but seeing the code it looks that the procedure to read / write are different. In this case, a further driver is ok. Anyway, you should take a look if your patches can be used on a mxs (MX28) device, because they should be closer. And then I will not like to have a driver for each SOC. Generally, I think we should use the approach of the common command and a specific fuse implementation. Then this API should be used by your patches as well. Best regards, Stefano -- ===================================================================== DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de =====================================================================