coreboot-kgpe-d16/src/lib
Aaron Durbin 1e9a914207 arch/x86,lib: make cbmem console work in postcar stage
Implement postcar stage cbmem console support. The postcar stage
is more like ramstage in that RAM is already up. Therefore, in
order to make the cbmem console reinit flow work one needs the cbmem
init hook infrastructure in place and the cbmem recovery called.
This call is added to x86/postcar.c to achieve that. Additionally,
one needs to provide postcar stage cbmem init hook callbacks for
the cbmem console library to use. A few other places need to
become postcar stage aware so that the code paths are taken.
Lastly, since postcar is backed by ram indicate that to the
cbmem backing store.

BUG=chrome-os-partner:57513

Change-Id: I51db65d8502c456b08f291fd1b59f6ea72059dfd
Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: https://review.coreboot.org/16619
Tested-by: build bot (Jenkins)
Reviewed-by: Furquan Shaikh <furquan@google.com>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
2016-09-19 17:02:17 +02:00
..
gnat Add minimal GNAT run time system (RTS) 2016-09-19 11:14:49 +02:00
b64_decode.c
boot_device.c lib/boot_device: add RW boot device construct 2016-08-19 03:07:05 +02:00
bootblock.c
bootmem.c
bootmode.c bootmode: Get rid of CONFIG_BOOTMODE_STRAPS 2016-07-28 00:36:22 +02:00
cbfs.c cbfs: Add "struct" file type and associated helpers 2016-08-27 01:16:22 +02:00
cbmem_common.c
cbmem_console.c arch/x86,lib: make cbmem console work in postcar stage 2016-09-19 17:02:17 +02:00
cbmem_stage_cache.c
compute_ip_checksum.c
coreboot_table.c drivers/spi: ensure SPI flash is boot device for coreboot tables 2016-08-19 18:14:20 +02:00
debug.c
delay.c
edid.c edid: Fix a function signature 2016-09-08 23:19:06 +02:00
ext_stage_cache.c
fallback_boot.c
fmap.c lib/fmap: provide RW region device support 2016-08-19 18:17:04 +02:00
gcc.c
gcov-glue.c
gcov-io.c
gcov-io.h
gcov-iov.h
generic_dump_spd.c
generic_sdram.c
gpio.c lib/gpio: add pullup & pulldown gpio_base2_value() variants 2016-07-07 20:44:36 +02:00
halt.c
hardwaremain.c
hexdump.c
hexstrtobin.c
imd.c
imd_cbmem.c arch/x86,lib: make cbmem console work in postcar stage 2016-09-19 17:02:17 +02:00
jpeg.c
jpeg.h
libgcc.c
libgcov.c
lzma.c lib: remove ulzma() 2016-07-01 23:55:16 +02:00
lzmadecode.c
lzmadecode.h
Makefile.inc arch/x86,lib: make cbmem console work in postcar stage 2016-09-19 17:02:17 +02:00
malloc.c
memchr.c
memcmp.c
memcpy.c
memmove.c
memrange.c
memset.c
mocked_tlcl.c
nhlt.c lib/nhlt: add helper functions for adding endpoints 2016-06-29 23:13:54 +02:00
primitive_memtest.c
prog_loaders.c region: Add writeat and eraseat support 2016-06-24 20:48:12 +02:00
prog_ops.c
program.ld arch/x86,lib: make cbmem console work in postcar stage 2016-09-19 17:02:17 +02:00
ramtest.c
reg_script.c
rmodule.c
rmodule.ld
romstage_stack.c intel post-car: Consolidate choose_top_of_stack() 2016-07-10 11:16:07 +02:00
rtc.c lib: Add real-time-clock functions 2016-06-24 20:22:05 +02:00
selfboot.c src/lib: Capitalize ROM, RAM, NVRAM and CPU 2016-07-31 19:30:54 +02:00
stack.c
thread.c src/lib: Capitalize ROM, RAM, NVRAM and CPU 2016-07-31 19:30:54 +02:00
timer.c
timer_queue.c
timestamp.c memlayout: Ensure TIMESTAMP() region is big enough to avoid BUG() 2016-08-23 21:33:29 +02:00
tlcl.c
tlcl_internal.h
tlcl_structures.h
tpm2_marshaling.c tpm2: Fix tlcl and marshaling code for CAR usage 2016-09-06 22:51:13 +02:00
tpm2_marshaling.h tpm2: avoid comparison between signed and unsigned ints 2016-07-13 23:58:32 +02:00
tpm2_tlcl.c tpm2: Fix tlcl and marshaling code for CAR usage 2016-09-06 22:51:13 +02:00
tpm2_tlcl_structures.h tpm2: implement and use pcr_extend command 2016-07-14 00:00:30 +02:00
tpm_error_messages.h src/lib: Fix checkpatch warnings 2016-09-07 22:28:00 +02:00
trace.c src/lib: Fix checkpatch warnings 2016-09-07 22:28:00 +02:00
version.c lib/version: Correct whitespace alignment 2016-07-15 00:10:50 +02:00
wrdd.c