the following patch was just integrated into master: commit 972091a6a62387669739608d751c74306c26865e Author: Vladimir Serbinenko phcoder@gmail.com Date: Wed Feb 5 17:00:40 2014 +0100
load_payload: Use 32-bit accesses to speed up decompression.
Flash prefers 32-bit sequential access. On some platforms ROM is not cached due to i.a. MTRR shortage. Moreover ROM caching is not currently enabled by default. With this patch payload decompression is sped up by theoretical factor of 4.
Test on X201, with caching disabled:
Before: 90:load payload 4,470,841 (24,505) 99:selfboot jump 6,073,812 (1,602,971)
After: 90:load payload 4,530,979 (17,728) 99:selfboot jump 5,103,408 (572,429)
Change-Id: Id17e61316dbbf73f4a837bf173f88bf26c01c62b Signed-off-by: Vladimir Serbinenko phcoder@gmail.com
See http://review.coreboot.org/5144 for details.
-gerrit