coreboot-kgpe-d16/src/lib
Mary Ruthven f82e8ab697 cbfs_spi: enable CBFS access in early romstage
Currently the CBFS mmap cannot be accessed at the beginning of romstage
because it waits until DRAM is initialized. This change first loads CBFS
into SRAM and then switches to using DRAM as the backing once it is
initialized.

BUG=chromium:210230
BRANCH=none
TEST=confirm that the cbfs can be access at the beginning and end of
romstage on different boards.

Change-Id: I9fdaef392349c27ba1c19d4cd07e8ee0ac92dddc
Signed-off-by: Patrick Georgi <pgeorgi@chromium.org>
Original-Commit-Id: ccaaba266386c7d5cc62de63bdca81a0cc7c4d83
Original-Change-Id: Idabfab99765b52069755e1d1aa61bbee39501796
Original-Signed-off-by: Mary Ruthven <mruthven@chromium.org>
Original-Reviewed-on: https://chromium-review.googlesource.com/312577
Original-Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: https://review.coreboot.org/12586
Tested-by: build bot (Jenkins)
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
2015-12-03 14:17:04 +01:00
..
assets.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
b64_decode.c lib: add base64 decoder 2015-04-22 08:50:54 +02:00
boot_device.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
bootblock.c arm/arm64: Generalize bootblock C entry point 2015-11-11 05:08:07 +01:00
bootmem.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
bootmode.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
cbfs.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
cbfs_boot_props.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
cbfs_spi.c cbfs_spi: enable CBFS access in early romstage 2015-12-03 14:17:04 +01:00
cbmem_common.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
cbmem_console.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
cbmem_stage_cache.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
compute_ip_checksum.c lib: Fix spelling 2013-07-10 20:17:51 +02:00
coreboot_table.c vendorcode/google/chromeos: Cache VPD data into CBMEM 2015-11-19 21:37:47 +01:00
debug.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
delay.c
edid.c edid: Don't half parse (and wrongly print) more detailed timings 2015-11-19 21:37:42 +01:00
ext_stage_cache.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
fallback_boot.c drivers/pc80: Rework normal / fallback selector code 2015-11-03 21:55:20 +01:00
fmap.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
gcc.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
gcov-glue.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
gcov-io.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
gcov-io.h tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
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
gpio.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
halt.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
hardwaremain.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
hexdump.c hexdump: Fix output if length is not a multiple of 16 2015-11-21 03:41:53 +01:00
imd.c cbmem: add coreboot table records for each cbmem entry 2015-11-03 00:19:46 +01:00
imd_cbmem.c cbmem: add coreboot table records for each cbmem entry 2015-11-03 00:19:46 +01:00
jpeg.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
jpeg.h tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
libgcc.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
libgcov.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
lzma.c lzma: Return correct amount of decompressed bytes 2015-07-06 09:40:37 +02:00
lzmadecode.c RISCV: get RISCV to build again 2014-12-04 19:17:51 +01:00
lzmadecode.h
Makefile.inc arm64: tegra132: tegra210: Remove old arm64/stage_entry.S 2015-11-17 21:31:20 +01:00
malloc.c Remove leftover smi_get_tseg_base 2015-05-29 07:06:37 +02:00
memchr.c
memcmp.c
memcpy.c
memmove.c
memrange.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
memset.c
mocked_tlcl.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
primitive_memtest.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
prog_loaders.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
prog_ops.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
program.ld tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
ramtest.c misc: Drop print_ implementation from non-romcc boards 2015-01-09 06:12:22 +01:00
reg_script.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
rmodule.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
rmodule.ld rmodule: use program.ld for linking 2015-09-09 19:35:30 +00:00
selfboot.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
stack.c lib/stack: Add stack overrun detection 2015-10-24 05:57:33 +02:00
thread.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
timer.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
timer_queue.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
timestamp.c lib/timestamp.c: only log "Timestamp table full" once 2015-11-24 21:01:25 +01:00
tlcl.c chromeos: vboot2: Add TPM PCR extension support 2015-04-20 17:06:28 +02: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 tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
version.c build.h: remove variable for the builduser, -hostname and -domain 2015-03-09 17:53:16 +01:00