[RFC PATCH 0/4] lmb: Tweaks as discussed

Simon Glass sjg at chromium.org
Tue Jul 30 16:40:31 CEST 2024


This series adds a few tweaks to Sugosh's lmb series to show:
- save/restore of test stage
- putting lmb in a struct
- small code-size improvement


Simon Glass (4):
  lmb: Put internal details in a struct
  lmb: Tighten up the code in lmb_add_region_flags()
  lmb: Split init into two functions
  lmb: Ensure that tests don't change lmb state

 common/board_r.c  |   4 +-
 include/lmb.h     |  53 +++++++------
 lib/lmb.c         | 193 +++++++++++++++++++---------------------------
 test/cmd/bdinfo.c |   8 +-
 test/lmb_ut.c     |  54 +++++++++----
 5 files changed, 154 insertions(+), 158 deletions(-)

-- 
2.34.1



More information about the U-Boot mailing list