coreboot-kgpe-d16/src/include
Aaron Durbin 12d45b2f8a cbfs: expose init_backing_media()
I broke cbfs loading with commit 358901. As multiple
functions are being reused one needs to ensure there is
always a cbfs media object allocated on the stack and
initialized. Ya for no common writable globals.

TEST=Ran qemu-armv7. CBFS loading works again.

Change-Id: Ibd047af7dcd8575e6203651471079fc2042da282
Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: http://review.coreboot.org/8973
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Duncan Laurie <dlaurie@google.com>
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Tested-by: Aaron Durbin <adurbin@google.com>
Tested-by: build bot (Jenkins)
Tested-by: Raptor Engineering Automated Test Stand <noreply@raptorengineeringinc.com>
2015-03-24 22:48:51 +01:00
..
boot Publish the board ID value in coreboot table, when configured 2015-03-23 17:20:13 +01:00
console console: Fix broken early_print.h include guards 2015-03-09 22:21:31 +01:00
cpu x86 SMM: Replace weak prototypes with weak function stub 2015-03-11 18:15:22 +01:00
device PCIe: Add L1 Sub-State support. 2015-03-23 13:11:15 +01:00
pc80 drivers/pc80/mc146818rtc: Reduce superfluous preprocessor use 2015-02-06 23:56:04 +01:00
smp atomic.h: Fix doxygen errors 2015-01-04 20:03:28 +01:00
superio superio/common/conf_mode.c: Introduce 'new' enter/exit keys for SIO's 2014-11-01 21:27:50 +01:00
tpm_lite vboot2: read secdata and nvdata 2015-03-23 19:51:47 +01:00
antirollback.h vboot2: factory-initialize kernel space in tpm 2015-03-24 15:19:54 +01:00
assert.h misc: Drop print_ implementation from non-romcc boards 2015-01-09 06:12:22 +01:00
bcd.h rtc: Add an RTC API, and implement it for x86. 2014-12-30 19:28:27 +01:00
boardid.h Use a common boardid.h instead of per board copies 2015-03-13 23:01:54 +01:00
bootmem.h coreboot: introduce notion of bootmem for memory map at boot 2014-03-03 21:47:27 +01:00
bootmode.h chromeos: Unconditionally clear the EC recovery request 2014-12-30 23:30:52 +01:00
bootstate.h bootstate: use structure pointers for scheduling callbacks 2015-03-18 16:41:43 +01:00
cbfs.h cbfs: expose init_backing_media() 2015-03-24 22:48:51 +01:00
cbfs_core.h cbfs: add cbfs_read() 2015-01-13 21:30:14 +01:00
cbmem.h FSP & CBMEM: Fix broken cbmem CAR transition. 2015-02-06 00:53:13 +01:00
delay.h Get rid of HAVE_INIT_TIMER config option 2014-04-26 13:25:28 +02:00
edid.h edid: remove float use 2014-12-16 21:31:35 +01:00
elog.h nyan*: Add an empty elog functions for the !CONFIG_ELOG case 2014-12-30 21:28:50 +01:00
endian.h Extend CBFS to support arbitrary ROM source media. 2013-01-30 17:58:32 +01:00
fallback.h Make set_boot_successful depend on PC80_SYSTEM 2012-11-30 21:33:35 +01:00
gpiolib.h Generalize revision number calculation function 2015-03-23 17:20:04 +01:00
halt.h Introduce halt() 2014-11-30 12:20:05 +01:00
inttypes.h x86: provide more C standard environment 2013-03-20 04:20:25 +01:00
ip_checksum.h Drop prototype guarding for romcc 2013-05-10 00:06:46 +02:00
kconfig.h Add config_enabled() from Linux 2012-05-08 00:36:09 +02:00
lib.h Primitive memory test 2015-01-09 16:50:55 +01:00
memrange.h coreboot memrange: Two changes for zero size or empty memrange 2015-03-04 19:55:19 +01:00
option.h option: Add arch-agnostic get_option() 2014-03-04 15:23:10 +01:00
program_loading.h loaders: add run_romstage() function to bootblock 2015-03-20 19:27:47 +01:00
ramstage_cache.h ramstage_cache: allow ramstage usage add valid helper 2014-05-10 06:31:45 +02:00
reg_script.h reg_script: Fix bug in IO macros 2014-10-01 17:26:26 +02:00
reset.h vboot2: implement select_firmware for pre-romstage verification 2015-01-27 01:43:01 +01:00
rmodule-defs.h rmodules: use rmodtool to create rmodules 2014-03-20 23:55:55 +01:00
rmodule.h CBMEM: Always use DYNAMIC_CBMEM 2015-01-27 22:54:32 +01:00
romstage_handoff.h coreboot: infrastructure for different ramstage loaders 2014-02-15 18:39:29 +01:00
rtc.h drivers/pc80/mc146818rtc: Assume we always have ALTCENTURY 2014-12-30 22:10:41 +01:00
rules.h build rules: Identify build stage with simple variables 2014-04-18 16:40:32 +02:00
sdram_mode.h GPLv2 notice: Unify all files to just use one space in »MA 02110-1301« 2013-03-01 10:16:08 +01:00
smbios.h intel/gma: consolidate vbt code 2014-09-13 14:27:03 +02:00
spd.h spd.h: Add all known SPD_MEMORY_TYPE definitions. 2013-06-03 22:35:21 +02:00
spd_cache.h gizmosphere/gizmo: Move support of SPD data in CBFS 2014-07-05 11:41:52 +02:00
spd_ddr2.h GPLv2 notice: Unify all files to just use one space in »MA 02110-1301« 2013-03-01 10:16:08 +01:00
spi-generic.h spi: Eliminate the spi_cs_activate and spi_cs_deactivate functions. 2014-12-09 20:32:18 +01:00
spi_flash.h Move container_of() macro to stddef.h 2015-01-14 21:23:29 +01:00
stddef.h Add and consistently use wrapper macro for romstage static variables 2015-03-09 22:42:28 +01:00
stdlib.h stdlib: Add IS_ALIGNED macro 2015-03-20 10:01:22 +01:00
string.h Replace includes of build.h with version.h 2014-11-20 07:28:37 +01:00
swab.h include: Fix spelling 2013-07-11 22:36:19 +02:00
thread.h Possible thread stack implementation. 2014-08-07 23:55:15 +02:00
timer.h timer: add stopwatch construct 2015-03-21 17:00:17 +01:00
timestamp.h timestamps: Switch from tsc_t to uint64_t 2015-01-05 22:21:49 +01:00
tpm.h tpm: Clean up I2C TPM driver 2014-09-10 19:37:49 +02:00
trace.h GPLv2 notice: Unify all files to just use one space in »MA 02110-1301« 2013-03-01 10:16:08 +01:00
types.h include/types.h: Provide BIT() macro 2015-02-06 19:25:57 +01:00
vbe.h intel/gma: Clarify code and use dedicated init for Google Peppy 2014-08-25 22:36:03 +02:00
version.h build.h: remove variable for the builduser, -hostname and -domain 2015-03-09 17:53:16 +01:00
watchdog.h watchdog.h: Fix compile time error on disabling watchdog handling 2013-03-12 12:06:43 +01:00