| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
|
|
|
|
|
|
|
| |
- Remove trailing newline
- use void *fn instead of void* fn
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
remove unused function declarations and definitions:
- vallocc is #if 0 in source code
- pvalloc is defined but not used
- cfree is defined but not used
- malloc_usable_size is unused
- mallopt is not defined
- mallinfo is not defined
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
|
|
|
|
|
|
|
| |
These functions are needed independently of the specific
malloc implementation, so move them out.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
|
|
|
|
|
|
|
|
| |
Use a function prototype style as used in all other u-boot-v2 sources, too.
Also remove C++ support. We do not use C++ in this project.
Signed-off-by: Juergen Beisert <jbe@pengutronix.de>
|
|
|
|
|
|
|
| |
Done in preparation to provide this documentation for doxygen.
Signed-off-by: Juergen Beisert <jbe@pengutronix.de>
|
|
|
|
|
|
|
|
|
| |
This feature is provided, to support more than u-boot-v2. But its more
confusing than helpful. Remove it and do it straight forward like all other
sources in this tree, too.
Signed-off-by: Juergen Beisert <jbe@pengutronix.de>
|
|
|
|
|
|
|
| |
We are in the *NIX world, so keep a 'void' as is.
Signed-off-by: Juergen Beisert <jbe@pengutronix.de>
|
|
|
|
|
|
|
|
|
|
|
| |
Include the board config first to be able to configure the memory management
in the documented way. If not used, the defaults are used.
On the other hand, there is no need to pollute the other source files with
these local management settings. So, move them from the header into the
C source file.
Signed-off-by: Juergen Beisert <jbe@pengutronix.de>
|
|
|
|
|
|
|
|
| |
Remove unused code to get a better understanding what really is happen in the
source.
Signed-off-by: Juergen Beisert <jbe@pengutronix.de>
|
|
|
|
|
|
|
| |
The 'size_t' declaration is needed for the function prototypes.
Signed-off-by: Juergen Beisert <jbe@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
|
| |
|
|
|
|
| |
unifdef HAVE_USR_INCLUDE_MALLOC_H
|
|
|
|
| |
unifdef HAVE_MMAP
|
|
|
|
| |
remove all #if 0 and #if 1
|
|
|
|
|
|
|
|
|
| |
- remove trailing white space, trailing empty lines, C++ comments, etc.
- split cmd_boot.c (separate cmd_bdinfo.c and cmd_load.c)
* Patches by Kenneth Johansson, 25 Jun 2003:
- major rework of command structure
(work done mostly by Michal Cendrowski and Joakim Kristiansen)
|
|
|