[U-Boot] [PATCH v2 01/10] malloc_simple: Add logging of allocations

sjg at google.com sjg at google.com
Thu Nov 29 17:39:28 UTC 2018


It is sometimes useful to see what memory is being allocated early during
boot. Add logging to support this, using a new LOGC_ALLOC category.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

Changes in v2:
- Rebase to master
- Correct definition of log() when logging is disabled

 common/malloc_simple.c | 58 +++++++++++++++++++++++++++---------------
 include/log.h          |  2 +-
 include/malloc.h       |  1 +
 3 files changed, 39 insertions(+), 22 deletions(-)

Applied to u-boot-dm/master, thanks!


More information about the U-Boot mailing list