coreboot-kgpe-d16/src/lib
Aaron Durbin dfdea2aa40 lib/cbmem: provide optional cbmem top initialization hook
Provide a hook to allow an optional one-time cbmem_top() initialization.
The new function, cbmem_top_init(), is called on the first expected
initialization of cbmem based on the Kconfig options LATE_CBMEM_INIT
and EARLY_CBMEM_INIT.

Change-Id: I89edd2d11f226217c8e2aaca829b4f375a2cff28
Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Signed-off-by: John Zhao <john.zhao@intel.com>
Reviewed-on: https://review.coreboot.org/20847
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Furquan Shaikh <furquan@google.com>
2017-08-04 04:29:57 +00:00
..
gnat Fix files with multiple newlines at the end. 2017-07-24 15:08:08 +00:00
b64_decode.c src/lib: Add "int" following "unsigned" 2017-03-09 17:24:17 +01:00
boot_device.c lib/boot_device: add RW boot device construct 2016-08-19 03:07:05 +02:00
bootblock.c Port cmos.default handling to C environment bootblock 2017-07-26 19:30:01 +00:00
bootmem.c lib/bootmem: allow architecture specific bootmem ranges 2016-04-21 20:46:45 +02:00
bootmode.c bootmode: Get rid of CONFIG_BOOTMODE_STRAPS 2016-07-28 00:36:22 +02:00
cbfs.c src/lib: add IS_ENABLED() around Kconfig symbol references 2017-07-06 00:19:37 +00:00
cbmem_common.c src/lib: Wrap lines at 80 columns 2017-03-13 17:21:02 +01:00
cbmem_console.c Rename __attribute__((packed)) --> __packed 2017-07-13 19:45:59 +00:00
cbmem_stage_cache.c
compute_ip_checksum.c src/lib: Wrap lines at 80 columns 2017-03-13 17:21:02 +01:00
coreboot_table.c src/lib: add IS_ENABLED() around Kconfig symbol references 2017-07-06 00:19:37 +00:00
debug.c src/lib: Add "int" following "unsigned" 2017-03-09 17:24:17 +01:00
delay.c src/lib: Add space before ( 2017-03-09 17:30:21 +01:00
edid.c lib/edid: Split out fill_lb_framebuffer() 2017-05-30 18:32:44 +02:00
edid_fill_fb.c lib/edid: Split out fill_lb_framebuffer() 2017-05-30 18:32:44 +02:00
ext_stage_cache.c soc/intel/apollolake: Implement stage cache to improve resume time 2016-10-07 18:18:14 +02:00
fallback_boot.c Kconfig: Add choice of framebuffer mode 2017-06-04 18:47:19 +02:00
fmap.c lib/fmap: provide RW region device support 2016-08-19 18:17:04 +02:00
gcc.c src/lib: Move asmlinkage before type 2017-03-13 17:21:26 +01:00
gcov-glue.c src/lib: add IS_ENABLED() around Kconfig symbol references 2017-07-06 00:19:37 +00:00
gcov-io.c src/lib: Use tabs instead of spaces 2017-03-13 15:46:02 +01:00
gcov-io.h Rename __attribute__((packed)) --> __packed 2017-07-13 19:45:59 +00:00
gcov-iov.h
generic_dump_spd.c src/lib: Add space before ( 2017-03-09 17:30:21 +01:00
generic_sdram.c src/lib: add IS_ENABLED() around Kconfig symbol references 2017-07-06 00:19:37 +00:00
gpio.c src/lib: Add space before ( 2017-03-09 17:30:21 +01:00
halt.c src/lib: Fix brace positions 2017-03-13 17:21:16 +01:00
hardwaremain.c src/lib: add IS_ENABLED() around Kconfig symbol references 2017-07-06 00:19:37 +00:00
hexdump.c lib/hexdump: Refactor to skip lines with all ones as well 2016-01-22 14:10:28 +01:00
hexstrtobin.c hexstrtobin: Add a library function to decode ASCII hex into binary 2016-05-21 05:58:51 +02:00
hw-time-timer.adb Hook up libhwbase in ramstage 2016-11-29 23:45:40 +01:00
imd.c Rename __attribute__((packed)) --> __packed 2017-07-13 19:45:59 +00:00
imd_cbmem.c lib/cbmem: provide optional cbmem top initialization hook 2017-08-04 04:29:57 +00:00
jpeg.c src/lib: Fix checkpatch warning: no spaces at the start of a line 2017-07-25 14:26:07 +00:00
jpeg.h src/lib: Wrap lines at 80 columns 2017-03-13 17:21:02 +01:00
Kconfig lib/edid: Split out fill_lb_framebuffer() 2017-05-30 18:32:44 +02:00
libgcc.c
libgcov.c Rename __attribute__((packed)) --> __packed 2017-07-13 19:45:59 +00:00
lzma.c src/lib: Wrap lines at 80 columns 2017-03-13 17:21:02 +01:00
lzmadecode.c src/lib: Remove semicolon from end of macro 2017-03-13 21:24:26 +01:00
lzmadecode.h src/lib: Wrap lines at 80 columns 2017-03-13 17:21:02 +01:00
Makefile.inc Add support for Undefined Behavior Sanitizer 2017-06-14 19:56:59 +02:00
malloc.c src/lib: add IS_ENABLED() around Kconfig symbol references 2017-07-06 00:19:37 +00:00
memchr.c
memcmp.c src/lib: Add space before ( 2017-03-09 17:30:21 +01:00
memcpy.c
memmove.c src/lib: Add space before ( 2017-03-09 17:30:21 +01:00
memrange.c src/lib: Use tabs instead of spaces 2017-03-13 15:46:02 +01:00
memset.c
nhlt.c lib/nhlt: add support for setting the oem_revision 2016-12-01 08:17:42 +01:00
primitive_memtest.c src/lib: Add space before ( 2017-03-09 17:30:21 +01:00
prog_loaders.c src/lib: Remove unnecessary code 2017-03-13 21:23:58 +01:00
prog_ops.c Rename __attribute__((packed)) --> __packed 2017-07-13 19:45:59 +00:00
program.ld lib/program.ld: Guard .id section placement 2017-07-30 00:06:20 +00:00
ramtest.c src/lib: add IS_ENABLED() around Kconfig symbol references 2017-07-06 00:19:37 +00:00
reg_script.c src/lib: add IS_ENABLED() around Kconfig symbol references 2017-07-06 00:19:37 +00:00
region_file.c lib: add region file support 2016-12-08 16:10:28 +01:00
reset.c Consolidate reset API, add generic reset_prepare mechanism 2017-06-13 20:53:09 +02:00
rmodule.c src/lib: Use tabs instead of spaces 2017-03-13 15:46:02 +01:00
rmodule.ld
romstage_handoff.c lib: put romstage_handoff implementation in own compilation unit 2016-12-01 08:16:47 +01:00
romstage_stack.c intel post-car: Increase stacktop alignment 2016-11-18 20:59:12 +01:00
rtc.c lib: Add real-time-clock functions 2016-06-24 20:22:05 +02:00
selfboot.c src: change coreboot to lowercase 2017-06-07 12:09:15 +02:00
spd_bin.c lib/spd_bin: Use proper I2C addresses 2017-06-29 15:41:02 +00:00
stack.c src/lib: Wrap lines at 80 columns 2017-03-13 17:21:02 +01:00
thread.c src/lib: Wrap lines at 80 columns 2017-03-13 17:21:02 +01:00
timer.c src/lib: Clean up general issues found by checkpatch.pl 2017-03-15 05:05:04 +01:00
timer_queue.c src/lib: Fix spacing 2017-03-13 17:16:08 +01:00
timestamp.c timestamp: Apply factor to recorded stamps 2017-07-27 06:55:03 +00:00
tlcl.c src/lib: Clean up general issues found by checkpatch.pl 2017-03-15 05:05:04 +01:00
tlcl_internal.h src/lib: Fix brace positions 2017-03-13 17:21:16 +01:00
tlcl_structures.h src/lib: Wrap lines at 80 columns 2017-03-13 17:21:02 +01:00
tpm2_marshaling.c drivers/i2c/tpm: use iobuf library for marshaling commands 2017-04-24 19:07:07 +02:00
tpm2_marshaling.h drivers/i2c/tpm: use iobuf library for marshaling commands 2017-04-24 19:07:07 +02:00
tpm2_tlcl.c cr50: process uninitialized values gracefully 2017-06-21 20:29:11 +00:00
tpm2_tlcl_structures.h Rename __attribute__((packed)) --> __packed 2017-07-13 19:45:59 +00:00
tpm_error_messages.h src/lib: Wrap lines at 80 columns 2017-03-13 17:21:02 +01:00
trace.c src/lib: Fix checkpatch warnings 2016-09-07 22:28:00 +02:00
ubsan.c Add support for Undefined Behavior Sanitizer 2017-06-14 19:56:59 +02:00
version.c lib/version: Correct whitespace alignment 2016-07-15 00:10:50 +02:00
wrdd.c lib: Implement framework for retrieving WiFi regulatory domain 2016-03-08 18:41:33 +01:00