coreboot-kgpe-d16/src
Aaron Durbin b3e0202fd4 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>
2015-01-13 21:30:14 +01:00
..
arch ACPI: Add acpi_is_wakeup_s3() for romstage 2015-01-10 13:53:51 +01:00
console misc: Drop print_ implementation from non-romcc boards 2015-01-09 06:12:22 +01:00
cpu ACPI: Add acpi_is_wakeup_s3() for romstage 2015-01-10 13:53:51 +01:00
device src/device: Doxygen fixes 2015-01-12 21:29:38 +01:00
drivers elog: Add ELOG_TYPE_BOOT event using fake boot count if necessary 2015-01-09 07:46:56 +01:00
ec chrome ec: Add ACPI Device for ALS if enabled 2015-01-09 07:43:34 +01:00
include cbfs: add cbfs_read() 2015-01-13 21:30:14 +01:00
lib cbfs: add cbfs_read() 2015-01-13 21:30:14 +01:00
mainboard mainboard/lenovo/x220/gpio.c: Remove unused struct 2015-01-13 02:51:32 +01:00
northbridge ACPI: Add acpi_is_wakeup_s3() for romstage 2015-01-10 13:53:51 +01:00
soc soc/intel/fsp_baytrail/gpio.c: Silence unused variable warning 2015-01-13 02:52:50 +01:00
southbridge southbridge/intel/lynxpoint/me_9.x.c: Avoid unused func warn 2015-01-12 20:16:53 +01:00
superio superio: Drop print_ implementation from non-romcc boards 2015-01-06 20:14:19 +01:00
vendorcode vendorcode/intel: remove DebugDeadLoop() from fsptypes.h 2015-01-13 18:19:08 +01:00
Kconfig Allow RISCV to be compiled with ANY_TOOLCHAIN 2015-01-02 18:44:57 +01:00