Skip to content

cmd/bdinfo: extract common parts and reuse them

Max Filippov u-boot 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest7 patches 0 repliesNew
  2. v17 patches 0 repliesSuperseded

Changes in v2 from the cover letter

- fix build for architectures w/o CONFIG_NR_DRAM_BANKS and bi_dram in bd_t.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7cmd/bdinfo: extract print_bi_boot_paramscmd/bdinfo.c+13 -73 replies
2/7cmd/bdinfo: extract print_bi_memcmd/bdinfo.c+26 -163 replies
3/7cmd/bdinfo: extract print_bi_dramcmd/bdinfo.c+19 -413 replies
4/7cmd/bdinfo: extract print_bi_flashcmd/bdinfo.c+27 -273 replies
5/7cmd/bdinfo: extract print_eth_ip_addrcmd/bdinfo.c+36 -774 replies
6/7cmd/bdinfo: extract print_baudratecmd/bdinfo.c+25 -143 replies
7/7cmd/bdinfo: extract print_std_bdinfocmd/bdinfo.c+12 -203 replies
7/7cmd/bdinfo: extract print_std_bdinfo+0 -01 reply

Reviews trailers per patch

All 8 patches have a Reviewed-by or Acked-by.

PatchTom RiniSimon GlassJoe Hershberger
1/7R-b R-b
2/7R-b R-b
3/7R-b R-b
4/7R-b R-b
5/7R-b R-b A-b
6/7R-b R-b
7/7R-b R-b
7/7R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v2 thread

Cover letter [U-Boot] [PATCH v2 0/7] cmd/bdinfo: extract common parts and reuse them

Hi,

this series extracts common parts of cmd/bdinfo.c used by various architectures into reusable functions.

Changes v1->v2:
- fix build for architectures w/o CONFIG_NR_DRAM_BANKS and bi_dram in bd_t.

Please review.

Max Filippov (7):
cmd/bdinfo: extract print_bi_boot_params
cmd/bdinfo: extract print_bi_mem
cmd/bdinfo: extract print_bi_dram
cmd/bdinfo: extract print_bi_flash
cmd/bdinfo: extract print_eth_ip_addr
cmd/bdinfo: extract print_baudrate
cmd/bdinfo: extract print_std_bdinfo

 cmd/bdinfo.c | 328 ++++++++++++++++++++++++++---------------------------------
 1 file changed, 142 insertions(+), 186 deletions(-)
Signature · 1 line
2.1.4