From mboxrd@z Thu Jan 1 00:00:00 1970 From: Albin Tonnerre Date: Fri, 7 Aug 2009 12:40:25 +0200 Subject: [U-Boot] [PATCH 1/2] Add driver for the ST M95xxx SPI EEPROM In-Reply-To: <20090805192443.GC13346@game.jcrosoft.org> References: <20090804194520.GB4638@game.jcrosoft.org> <1249492602-5725-1-git-send-email-albin.tonnerre@free-electrons.com> <20090805192443.GC13346@game.jcrosoft.org> Message-ID: <20090807104025.GC4455@laptop> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Wed, Aug 05, 2009 at 09:24:43PM +0200, Jean-Christophe PLAGNIOL-VILLARD wrote : > On 19:16 Wed 05 Aug , Albin Tonnerre wrote: > > + for (i = 0; i < 1000; i++) { > why 1000? Oh, true. I meant to fix that and replace it with something similar to what atmel_dataflash does, ie using CONFIG_SYS_SPI_WRITE_TOUT. Updated in the patch I re-submitted. Regards, -- Albin Tonnerre, Free Electrons Kernel, drivers and embedded Linux development, consulting, training and support. http://free-electrons.com