[PATCH v4 2/4] boot: Move obtaining the label into a common file

Simon Glass sjg at chromium.org
Fri Oct 10 12:35:54 CEST 2025


Hi Tom,

On Thu, 9 Oct 2025 at 18:24, Tom Rini <trini at konsulko.com> wrote:
>
> On Thu, Oct 09, 2025 at 03:29:53AM -0600, Simon Glass wrote:
>
> > The 'bootflow list' command supports looking at the EFI device-path when
> > available. Move this piece into a common function so it can be used
> > elsewhere.
>
> The point of this was to enable the show_bootflow->bootflow_show chnage,
> so should be dropped.

OK.

>
> > Use 'usb' instead of 'usb_mass_storage' for usb so that it fits in the
> > column space.
> >
> > This updates the output from 'bootflow list'.
>
> And this is unrelated and should be its own patch. Wikipedia says USB
> MSC or UMS are the common short forms for USB Mass Storage devices, and
> we should use one of them to have the output be more precise (since we
> support USB networking devices for example).

Ok I can move it into its own patch.

Are you wanting this to say 'ums' instead of 'usb' ? Will anyone know
what that means?

Re the second point, at least in U-Boot a USB Ethernet device shows as
'ethernet', i.e. the interface doesn't matter. We don't have logic to
look a level deeper, at present.

Regards,
Simon


More information about the U-Boot mailing list