coreboot/src/commonlib
Lee Leahy 5bc6365069 UPSTREAM: include: Add xmalloc, xzmalloc and dma routines
Add a Kconfig value to indicate coreboot builds.

Add prototypes and definitions for:
* dma_coherent
* dma_malloc
* xmalloc
* xzmalloc

Move prototype for memset into stdlib.h from string.h to eliminate build
breaks.

TEST=Build and test on Galileo Gen2

Change-Id: I43d69466a55f18f179b56bd9cd9d5ff8ea058ad8
Signed-off-by: Patrick Georgi <pgeorgi@chromium.org>
Original-Commit-Id: bb70c40f2e
Original-Change-Id: Ib2eb2ca143b0538bdd1863e628af4c1948bc0f8c
Original-Signed-off-by: Lee Leahy <leroy.p.leahy@intel.com>
Original-Reviewed-on: https://review.coreboot.org/19207
Original-Tested-by: build bot (Jenkins)
Original-Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Reviewed-on: https://chromium-review.googlesource.com/486774
2017-04-26 09:21:02 -07:00
..
include/commonlib UPSTREAM: include: Add xmalloc, xzmalloc and dma routines 2017-04-26 09:21:02 -07:00
cbfs.c UPSTREAM: commonlib: cbfs: Add CBFS attribute support 2016-09-01 19:52:43 -07:00
configstring.c UPSTREAM: buildsystem: Drop explicit (k)config.h includes 2016-12-09 03:29:54 -08:00
fsp_relocate.c UPSTREAM: commonlib: Fix issues with { } and else 2017-03-11 17:04:37 -08:00
iobuf.c UPSTREAM: commonlib: add input and output buffer helpers 2017-04-26 09:20:53 -07:00
lz4.c.inc cbfs: Add LZ4 in-place decompression support for pre-RAM stages 2016-02-22 21:38:37 +01:00
lz4_wrapper.c UPSTREAM: commonlib: Wrap lines at 80 columns 2017-03-14 07:25:36 -07:00
Makefile.inc UPSTREAM: commonlib: add input and output buffer helpers 2017-04-26 09:20:53 -07:00
mem_pool.c commonlib: Prepare code to be included in cbfstool builds. 2016-01-06 01:11:32 +01:00
region.c UPSTREAM: commonlib: Remove space after * 2017-03-11 17:04:37 -08:00