From: Kim Phillips Date: Tue, 6 Apr 2010 19:40:50 -0500 Subject: [U-Boot] [PATCH] POST: Added ECC memory test for mpc83xx. In-Reply-To: References: <1270219748-4930-1-git-send-email-michael.zaidman@gmail.com> Message-ID: <20100406194050.f4606e7a.kim.phillips@freescale.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 Tue, 6 Apr 2010 18:29:08 +0300 Michael Zaidman wrote: > >> Rewriting code to use accessors API added 56 bytes or 14 opcodes. It > >> doubled the routine's execution time. The routine is called in the > >> loop per each ecc word, that significantly increased execution time of > >> the ECC POST test and consequently board startup time. > > > > If this is really a problem, you can modify the code to perform the > > writes without the I/O accessors, and then terminate the block with a > > sync. > > I thought that is what I actually do in this patch... > > > You should add a comment explaining why you're not using I/O > > accessors. > > Ok, I will add the explanation. use raw i/o accessors please. oh, and don't forget to sign off your work Thanks, Kim