Tidy up the 'bd' command.
Get series with b4
b4 am 20200625221625.GA21223@bill-the-catVersions newest first
- v2 Latest0 of 39 patches 0 repliesNew
Patches in v2 No applies recorded yet
None of the 39 patches the cover letter announces are in this archive.
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH v2 00/39] Tidy up the 'bd' command.
Quoted 61 lines · Simon Glass
The code for the 'bd' command never got the 'generic board' treatment many years ago when
global_dataandbd_infowere converted. As a result it still has a lot of arch-specific duplication of generic code.This series aims to make as much code in this file generic as possible, so that it is easy to add new info on all architectures.
For the three architectures that actually need additional code (ARM, PPC and m68k) this is moved into arch-specific files.
With this series,
bdinfo.cdrops from nearly 500 lines to just over 100.It also makes x86 report the frame buffer address properly (the original goal of my effort).
Changes in v2:
- Add a new patch to drop the 'bd' command for tbs2910
- Fix up inadvertent merge of PowerPC/ARM/m68k/arc patches
- Fix up inadvertent merge of PowerPC/ARM/m68k/arc patches
- Fix up inadvertent merge of PowerPC/ARM/m68k/arc patches
- Fix up inadvertent merge of PowerPC/ARM/m68k/arc patches
- Drop__maybe_unusedonprint_lnum()too
- Move__maybe_unusedonprint_lnum()to the early patch
- Update commit message with an extra motivation
- Squash in the next patch to inlineprint_eths()
- LeaveMULTI_DTB_FITin the generic file as it is not really ARM-specific
- Move ARM'sbi_arch_numberover to ARM-specific code as well
- Update the commit message to explain the address moreSimon Glass (39):
tbs2910: Drop the 'bd' command
bdinfo: nds32: Use genericbd_info
bdinfo: riscv: Use genericbd_info
bdinfo: m68k: Dropbd_info->bi_ipbfreq
bdinfo: xtensa: Create a genericdo_bdinfofor xtensa
bdinfo: mips: Use the generic bd command
bdinfo: nios2: Use the generic bd command
bdinfo: microblaze: Use the generic bd command
bdinfo: sh: Use the generic bd command
bdinfo: x86: Use the generic bd command
bdinfo: sandbox: Use the generic bd command
bdinfo: nds32: Use the generic bd command
bdinfo: riscv: Use the generic bd command
bdinfo: powerpc: Use the generic bd command
bdinfo: m68k: Use the generic bd command
bdinfo: arm: Use the generic bd command
bdinfo: arc: Use the generic bd command
bdinfo: Drop the option to not use the generic 'bd' command
bdinfo: Drop unused__maybe_unused
bdinfo: microblaze: sh: nios2: Drop arch-specific flash info
bdinfo: Drop unnecessary inline on functions
bdinfo: Dropprint_std_bdinfo()
bdinfo: ppc: Drop arch-specificprint_baudrate()
bdinfo: sh: arc: Drop arch-specificprint_bi_mem()
bdinfo: Dropprint_bi_boot_params()
bdinfo: Dropprint_bi_flash()
bdinfo: Dropprint_cpu_word_size()
bdinfo: net: ppc: Dropbi_enet1addrand other similar info
bdinfo: net: ppc: Drop prints forCONFIG_HAS_ETHn
bdinfo: net: Drop legacy ethernet bdinfo
bdinfo: net: Inlineprint_eth_ip_addr()
Quoted 8 lines
bdinfo: Export some basic printing functions
bdinfo: arm: Move ARM-specific info into its own file
bdinfo: ppc: Move PPC-specific info into its own file
bdinfo: m68k: Move m68k-specific info into its own file
bdinfo: m68k: ppc: Move arch-specific code from bdinfo
bdinfo: Update the file comments
bdinfo: dm: Updatefb_basewhen using driver model
bdinfo: x86: vesa: Updatefb_baseto the correct value
For the series, trivially updated for struct cmd_tbl and a few whitespace corrections since this was posted, applied to u-boot/next, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 659 bytes Desc: not available URL: <https://lists.denx.de/pipermail/u-boot/attachments/20200625/1c4187b5/attachment.sig>