From bb70c40f2ef5b8a02f6c0490751cb732ed25fa3d Mon Sep 17 00:00:00 2001 From: Lee Leahy Date: Mon, 3 Apr 2017 07:38:20 -0700 Subject: 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: Ib2eb2ca143b0538bdd1863e628af4c1948bc0f8c Signed-off-by: Lee Leahy Reviewed-on: https://review.coreboot.org/19207 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer --- src/Kconfig | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/Kconfig') diff --git a/src/Kconfig b/src/Kconfig index a37c26137e..49f8672ff2 100644 --- a/src/Kconfig +++ b/src/Kconfig @@ -18,6 +18,10 @@ mainmenu "coreboot configuration" menu "General setup" +config COREBOOT_BUILD + bool + default y + config LOCALVERSION string "Local version string" help -- cgit v1.2.3