summaryrefslogtreecommitdiff
path: root/src/drivers/emulation
diff options
context:
space:
mode:
authorAaron Durbin <adurbin@chromium.org>2014-06-27 15:28:39 -0500
committerMarc Jones <marc.jones@se-eng.com>2015-01-13 21:30:14 +0100
commitb3e0202fd45f415b4e92ad824e28d79fb9b33abf (patch)
treefd9001311ae44e430319341a6949e197c6f10238 /src/drivers/emulation
parentb312b7f4660d6e32d08659ebb5fe0d3bb5635916 (diff)
cbfs: add cbfs_read()
Allow for reading from cbfs media without having a handle to a non-CBFS_DEFAULT_MEDIA cbfs_media. In conjunction with cbfs_locate_file() one can locate and cbfs_read() a file without bringing the entire file through a potentially temporary buffer (non-memory-mappable cbfs media platforms). BUG=chrome-os-partner:29922 BRANCH=None TEST=Built. Original-Change-Id: Ib5d965334bce1267650fc23c9e9f496675cf8450 Original-Signed-off-by: Aaron Durbin <adurbin@chromium.org> Original-Reviewed-on: https://chromium-review.googlesource.com/205991 Original-Reviewed-by: Furquan Shaikh <furquan@chromium.org> (cherry picked from commit 85200f28863e5ea8888322f5787dc6de9a2999f0) Signed-off-by: Marc Jones <marc.jones@se-eng.com> Change-Id: I25e3221beefd0155305ad63da6be9f47e756f7d0 Reviewed-on: http://review.coreboot.org/8181 Tested-by: build bot (Jenkins) Reviewed-by: Furquan Shaikh <furquan@google.com>
Diffstat (limited to 'src/drivers/emulation')
0 files changed, 0 insertions, 0 deletions