coreboot/src/cpu/amd
Aaron Durbin 899d13d0df cbfs: new API and better program loading
A new CBFS API is introduced to allow making CBFS access
easier for providing multiple CBFS sources. That is achieved
by decoupling the cbfs source from a CBFS file. A CBFS
source is described by a descriptor. It contains the necessary
properties for walking a CBFS to locate a file. The CBFS
file is then decoupled from the CBFS descriptor in that it's
no longer needed to access the contents of the file.

All of this is accomplished using the regions infrastructure
by repsenting CBFS sources and files as region_devices. Because
region_devices can be chained together forming subregions this
allows one to decouple a CBFS source from a file. This also allows
one to provide CBFS files that came from other sources for
payload and/or stage loading.

The program loading takes advantage of those very properties
by allowing multiple sources for locating a program. Because of
this we can reduce the overhead of loading programs because
it's all done in the common code paths. Only locating the
program is per source.

Change-Id: I339b84fce95f03d1dbb63a0f54a26be5eb07f7c8
Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: http://review.coreboot.org/9134
Tested-by: build bot (Jenkins)
Tested-by: Raptor Engineering Automated Test Stand <noreply@raptorengineeringinc.com>
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
2015-06-02 14:09:31 +02:00
..
agesa AGESA binaryPI: Drop XIP_ROM_BASE 2015-05-27 14:30:33 +02:00
car Remove address from GPLv2 headers 2015-05-21 20:50:25 +02:00
dualcore cpu: Trivial - drop trailing blank lines at EOF 2014-07-08 13:52:43 +02:00
geode_gx2 Remove address from GPLv2 headers 2015-05-21 20:50:25 +02:00
geode_lx Remove address from GPLv2 headers 2015-05-21 20:50:25 +02:00
microcode cbfs: new API and better program loading 2015-06-02 14:09:31 +02:00
model_10xxx Remove address from GPLv2 headers 2015-05-21 20:50:25 +02:00
model_fxx Remove address from GPLv2 headers 2015-05-21 20:50:25 +02:00
mtrr cpu: Fix spelling 2013-07-11 22:36:59 +02:00
pi binaryPI: Hide use of acpi_slp_type 2015-05-29 17:04:52 +02:00
quadcore Remove address from GPLv2 headers 2015-05-21 20:50:25 +02:00
smm Remove address from GPLv2 headers 2015-05-21 20:50:25 +02:00
socket_754 cpu: get rid of socket source code 2015-05-04 22:18:23 +02:00
socket_939 cpu: get rid of socket source code 2015-05-04 22:18:23 +02:00
socket_940 cpu: get rid of socket source code 2015-05-04 22:18:23 +02:00
socket_AM2 cpu: get rid of socket source code 2015-05-04 22:18:23 +02:00
socket_AM2r2 cpu: get rid of socket source code 2015-05-04 22:18:23 +02:00
socket_AM3 cpu: get rid of socket source code 2015-05-04 22:18:23 +02:00
socket_ASB2 cpu: get rid of socket source code 2015-05-04 22:18:23 +02:00
socket_C32 cpu: get rid of socket source code 2015-05-04 22:18:23 +02:00
socket_F cpu: get rid of socket source code 2015-05-04 22:18:23 +02:00
socket_F_1207 cpu: get rid of socket source code 2015-05-04 22:18:23 +02:00
socket_S1G1 cpu: get rid of socket source code 2015-05-04 22:18:23 +02:00
Kconfig Drop SC520 and related boards 2014-12-16 21:18:43 +01:00
Makefile.inc Drop SC520 and related boards 2014-12-16 21:18:43 +01:00