commit | fb5cf7f16be725aec7ab0016268b3b4e26460bee | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Fri Feb 27 22:06:36 2015 -0700 |
committer | Simon Glass <sjg@chromium.org> | Thu Apr 23 09:05:53 2015 -0600 |
tree | 755959683c0f163b7911e57d059fe467f585ab9a | |
parent | 0879361fd3bc33eb52bcfb2574a78f1e52a36429 [diff] [blame] |
Move initf_malloc() to a common place To allow this function to be used from SPL, move it to the malloc() code. Signed-off-by: Simon Glass <sjg@chromium.org>
diff --git a/include/malloc.h b/include/malloc.h index 5df6348..f4da9e6 100644 --- a/include/malloc.h +++ b/include/malloc.h
@@ -906,6 +906,9 @@ #endif +/* Set up pre-relocation malloc() ready for use */ +int initf_malloc(void); + /* Public routines */ /* Simple versions which can be used when space is tight */