[coreboot] FILO: read time of LPC flash
peter at stuge.se
Thu Mar 13 12:51:14 CET 2008
On Thu, Mar 13, 2008 at 04:00:12PM +0500, Nikolay Petukhov wrote:
> For large amounts of speed reading memory flash limited to memcpy()
> function. The FILO also use memcpy() for reading memory flash.
> This patch add macro READ_OVER_MEMCPY in FILO Config and some code
> to blockdev.c. With this patch loading time of kernel and initrd
> (1.9MB) redused by 1.5sec.
I did this optimization of memcpy() for coreboot v3, have a look at:
and maybe copy it into FILO?
It uses unsigned long for copying which was considered the best type
since it's the native register size and handles any leftovers.
More information about the coreboot