[PATCH v2 07/11] efi_loader: move string helpers to efi_app_common

Simon Glass sjg at chromium.org
Thu Jun 25 10:53:05 CEST 2026


On 2026-06-21T08:19:04, Heinrich Schuchardt
<heinrich.schuchardt at canonical.com> wrote:
> efi_loader: move string helpers to efi_app_common
>
> Move the shared string-processing helper to efi_app_common:
>
> * skip_whitespace() - advance past leading whitespace
>
> Remove the now-duplicate static definition from dtbdump, initrddump,
> smbiosdump and dbginfodump.
>
> Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt at canonical.com>
>
> lib/efi_loader/dbginfodump.c    | 13 -------------
>  lib/efi_loader/dtbdump.c        | 13 -------------
>  lib/efi_loader/efi_app_common.c |  7 +++++++
>  lib/efi_loader/efi_app_common.h |  8 ++++++++
>  lib/efi_loader/initrddump.c     | 13 -------------
>  lib/efi_loader/smbiosdump.c     | 13 -------------
>  6 files changed, 15 insertions(+), 52 deletions(-)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list