From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Roese Date: Mon, 26 Jan 2009 11:23:29 +0100 Subject: [U-Boot] [PATCH 0/2] CFI: increase performance In-Reply-To: <497D8E22.5010709@tqs.de> References: <20081216162453.2866.750.stgit@tq-sewsrv-4.tq-net.de> <200901261100.25763.sr@denx.de> <497D8E22.5010709@tqs.de> Message-ID: <200901261123.29440.sr@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 Hi Jens, On Monday 26 January 2009, Jens Gehrlein wrote: > >> The following patches should increase the performance of the CFI driver, > >> particularly with regard to single word programming mode. > >> > >> I tested it on TQM5200S with NOR-Flash Samsung K8P2815UQB, which has no > >> write buffer. At least no write buffer, that could be programmed using > >> standard commands. > >> > >> Performance increase on this TQM is about factor 2.6 (37 KiB/s -> 95 > >> KiB/s). On the same module with Spansion S29GL128N (with write buffer) > >> it is about factor 1.2 (455 KiB/s -> 585 KiB/s). > >> > >> TQM5200 is a bottom boot module with 2x16 Bit Flash connection. Could > >> someone test the patches on other HW, particularly top boot, other CPU, > >> other flash width, please? > > > > Tested on AMCC Kilauea (PPC405EX, with 1*16bit Spansion S29GL512N. > > The S29GL512N has a write buffer, AFAIK. Thus, U-Boot chooses another > programming algorithm. Possibly, you only tested patch 2 or did you > override buffered programming for your test so that patch 1 was > included? No, I tested both your patches with the unchanged kilauea config to see if you patch broke this (standard) configuration. Nothing bad happened so I applied it to the master branch. Others will surely test it as well when its available in mainline. Best regards, Stefan ===================================================================== DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de =====================================================================