the following patch was just integrated into master: commit b312b7f4660d6e32d08659ebb5fe0d3bb5635916 Author: Aaron Durbin adurbin@chromium.org Date: Fri Jun 27 15:06:02 2014 -0500
cbfs: add cbfs_locate_file()
cbfs_locate_file() can be used to locate the data within the cbfs file. Based on the offset and length of the file it can then be read into any address without bringing the contents into another buffer (platforms without memory-mapped access to entire contents of cbfs at once).
BUG=chrome-os-partner:29922 BRANCH=None TEST=Built and booted rush into romstage (stage load still works).
Original-Change-Id: I2932f66478c74511ec1c876b09794d9a22a526b3 Original-Signed-off-by: Aaron Durbin adurbin@chromium.org Original-Reviewed-on: https://chromium-review.googlesource.com/206000 Original-Reviewed-by: Furquan Shaikh furquan@chromium.org (cherry picked from commit 56c958facd379ca0eeebe1b689e3b80d5e692699) Signed-off-by: Marc Jones marc.jones@se-eng.com
Change-Id: I0c4964132af615a069258c0eb37153bd84fbbfae Reviewed-on: http://review.coreboot.org/8180 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel paulepanter@users.sourceforge.net Reviewed-by: Furquan Shaikh furquan@google.com
See http://review.coreboot.org/8180 for details.
-gerrit