projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
malloc_simple: Add Kconfig option for using only malloc_simple in the SPL
[oweals/u-boot.git]
/
include
/
malloc.h
diff --git
a/include/malloc.h
b/include/malloc.h
index f4da9e6dddb67e2ccb78464558caf5aa85f5ce74..f20e4d3d2a6b90a80a1f3957c93e14b121909bfe 100644
(file)
--- a/
include/malloc.h
+++ b/
include/malloc.h
@@
-872,7
+872,7
@@
extern Void_t* sbrk();
#else
-#if
def CONFIG_SYS_MALLOC_SIMPLE
+#if
CONFIG_IS_ENABLED(SYS_MALLOC_SIMPLE)
#define malloc malloc_simple
#define realloc realloc_simple
#define memalign memalign_simple