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 <s...@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!
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot

Reply via email to