diff options
author | Lee Leahy <leroy.p.leahy@intel.com> | 2017-04-03 07:38:20 -0700 |
---|---|---|
committer | Lee Leahy <leroy.p.leahy@intel.com> | 2017-04-25 00:52:03 +0200 |
commit | bb70c40f2ef5b8a02f6c0490751cb732ed25fa3d (patch) | |
tree | 69f4f76df9d14513407688e2463251b474e4ae5d /src/Kconfig | |
parent | c77259c4e5e02fcf829afe9bf437b70dbddcbf3c (diff) |
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 <leroy.p.leahy@intel.com>
Reviewed-on: https://review.coreboot.org/19207
Tested-by: build bot (Jenkins)
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'src/Kconfig')
-rw-r--r-- | src/Kconfig | 4 |
1 files changed, 4 insertions, 0 deletions
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 |