mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-08 19:11:53 +00:00
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>
This commit is contained in:
parent
0879361fd3
commit
fb5cf7f16b
3 changed files with 15 additions and 11 deletions
|
@ -906,6 +906,9 @@ void *realloc_simple(void *ptr, size_t size);
|
|||
|
||||
#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 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue