Skip to content

bootstd: Fix a handful of doc typos in bootmeth

Mattijs Korpershoek u-boot 2 versions – In review

Get series with b4
b4 am [email protected] change-id 20240603-bootmeth-typos-47c865e70ccf

Versions newest first

  1. v2 Latest2 patches 10 repliesIn review
  2. v11 patch 4 repliesSuperseded

Changes in v2 from the cover letter

- Made into a series
- New patch replaces all bootmethod(s) -> bootmeth(s)
- Link to v1: https://lore.kernel.org/r/[email protected]

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2bootstd: Fix a handful of doc typos in bootmethinclude/bootmeth.h+6 -62 replies
2/2bootstd: Replace bootmethod(s) -> bootmeth(s)board/sandbox/sandbox.env boot/bootmeth-uclass.c include/bootmeth.h +3 more+22 -228 replies

Reviews trailers per patch

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

PatchQuentin SchulzGuillaume La RoqueJulien MassonSimon Glass
1/2R-b R-b R-b
2/2R-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 4 reviewers.

Read the v2 thread

Cover letter [PATCH v2 0/2] bootstd: Fix a handful of doc typos in bootmeth

While working on bootflow, we noticed some wording inconsistencies with bootmeth versus bootmethod.

According to [1], we should use bootmeth(s), not bootmethod(s):

"""
For version 2, a new naming scheme is used as above:

- bootdev is used instead of bootdevice, because 'device' is overused, is everywhere in U-Boot, can be confused with udevice
- bootmeth - because 'method' is too vanilla, appears 1300 times in U-Boot
"""

[1] c.f. https://lore.kernel.org/u-boot/[email protected]/

First patch fixes some trivial typos, second patch replaces all occurences of bootmethod(s) -> bootmeth(s).

---
Changes in v2:
- Made into a series
- New patch replaces all bootmethod(s) -> bootmeth(s)
- Link to v1: https://lore.kernel.org/r/[email protected]

---
Mattijs Korpershoek (2):
bootstd: Fix a handful of doc typos in bootmeth
bootstd: Replace bootmethod(s) -> bootmeth(s)

 board/sandbox/sandbox.env |  2 +-
 boot/bootmeth-uclass.c    |  2 +-
 include/bootmeth.h        | 42 +++++++++++++++++++++---------------------
 include/extlinux.h        |  2 +-
 test/boot/bootflow.c      |  2 +-
 test/boot/bootmeth.c      |  6 +++---
 6 files changed, 28 insertions(+), 28 deletions(-)

---
base-commit: ea722aa5eb33740ae77e8816aeb72b385e621cd0
change-id: 20240603-bootmeth-typos-47c865e70ccf

Best regards,

Signature · 1 line
Mattijs Korpershoek <[email protected]>