coreboot/src/lib
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
..
loaders loaders: add run_romstage() function to bootblock 2015-03-20 19:27:47 +01:00
bootmem.c
bootmode.c
cbfs.c cbfs: expose init_backing_media() 2015-03-24 22:48:51 +01:00
cbfs_core.c cbfs: expose init_backing_media() 2015-03-24 22:48:51 +01:00
cbfs_core.h lib/cbfs: Use linker symbols over .c include in cbfs.c 2014-11-19 00:13:26 +01:00
cbfs_spi.c Provide a common CBFS wrapper for SPI storage 2014-12-30 19:29:47 +01:00
cbmem_common.c coreboot: fix munged license text 2015-03-09 02:32:19 +01:00
cbmem_console.c CBMEM: Support DYNAMIC_CBMEM with LATE_CBMEM_INIT 2015-01-27 22:50:14 +01:00
clog2.c
compute_ip_checksum.c
coreboot_table.c vboot2: translate shared data to hand off to depthcharge 2015-03-23 19:53:09 +01:00
debug.c misc: Drop print_ implementation from non-romcc boards 2015-01-09 06:12:22 +01:00
delay.c
dynamic_cbmem.c bootstate: use structure pointers for scheduling callbacks 2015-03-18 16:41:43 +01:00
edid.c drivers/xgi/z9s: Port Linux framebuffer initialization to coreboot 2015-02-05 17:37:05 +01:00
fallback_boot.c lib: Add Kconfig option to enable/disable auto fallback control 2015-03-17 04:22:23 +01:00
gcc.c
gcov-glue.c bootstate: use structure pointers for scheduling callbacks 2015-03-18 16:41:43 +01:00
gcov-io.c
gcov-io.h
gcov-iov.h
generic_dump_spd.c misc: Drop print_ implementation from non-romcc boards 2015-01-09 06:12:22 +01:00
generic_sdram.c misc: Drop print_ implementation from non-romcc boards 2015-01-09 06:12:22 +01:00
halt.c Introduce halt() 2014-11-30 12:20:05 +01:00
hardwaremain.c ramstage: remove rela_time use 2015-03-21 17:00:34 +01:00
hexdump.c
jpeg.c
jpeg.h
libgcov.c
lzma.c Add and consistently use wrapper macro for romstage static variables 2015-03-09 22:42:28 +01:00
lzmadecode.c RISCV: get RISCV to build again 2014-12-04 19:17:51 +01:00
lzmadecode.h
Makefile.inc vboot2: read secdata and nvdata 2015-03-23 19:51:47 +01:00
malloc.c lib/malloc.c: Remove pre-proc guard around include 2014-11-11 12:33:01 +01:00
memchr.c
memcmp.c
memcpy.c
memmove.c
memrange.c coreboot memrange: Two changes for zero size or empty memrange 2015-03-04 19:55:19 +01:00
memset.c
primitive_memtest.c Primitive memory test 2015-01-09 16:50:55 +01:00
ramstage_cache.c RELOCATABLE_RAMSTAGE: Fix weak symbols with ramstage_cache 2014-12-28 19:56:58 +01:00
ramtest.c misc: Drop print_ implementation from non-romcc boards 2015-01-09 06:12:22 +01:00
reg_script.c x86: Change MMIO addr in readN(addr)/writeN(addr, val) to pointer 2015-02-15 08:50:22 +01:00
rmodule.c CBMEM: Always use DYNAMIC_CBMEM 2015-01-27 22:54:32 +01:00
rmodule.ld bootstate: use structure pointers for scheduling callbacks 2015-03-18 16:41:43 +01:00
selfboot.c loaders: add program_loading.h header file 2015-03-20 19:25:29 +01:00
stack.c
thread.c
timer_queue.c
timestamp.c timestamps: Switch from tsc_t to uint64_t 2015-01-05 22:21:49 +01:00
tlcl.c vboot2: read secdata and nvdata 2015-03-23 19:51:47 +01:00
tlcl_internal.h vboot2: read secdata and nvdata 2015-03-23 19:51:47 +01:00
tlcl_structures.h vboot2: copy tlcl from vboot_reference as a preparation for vboot2 integration 2015-01-27 01:43:57 +01:00
tpm_error_messages.h TPM: Fix whitespace 2015-02-06 00:25:59 +01:00
trace.c
tristate_gpios.c Generalize revision number calculation function 2015-03-23 17:20:04 +01:00
version.c build.h: remove variable for the builduser, -hostname and -domain 2015-03-09 17:53:16 +01:00