[PATCH 08/13] bootstd: Tidy up comments on the boothmeth drivers

Heinrich Schuchardt xypron.glpk at gmx.de
Tue Jul 16 01:11:35 CEST 2024


On 7/15/24 12:13, Simon Glass wrote:
> Fix a typo in the comment and add one to the EFI driver too.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>

Reviewed-by: Heinrich Schuchardt <xypron.glpk at gmx.de>

> ---
>
>   boot/bootmeth_efi.c      | 1 +
>   boot/bootmeth_extlinux.c | 2 +-
>   boot/bootmeth_script.c   | 2 +-
>   3 files changed, 3 insertions(+), 2 deletions(-)
>
> diff --git a/boot/bootmeth_efi.c b/boot/bootmeth_efi.c
> index 5a4c125835a..56a6e47f5b2 100644
> --- a/boot/bootmeth_efi.c
> +++ b/boot/bootmeth_efi.c
> @@ -394,6 +394,7 @@ static const struct udevice_id distro_efi_bootmeth_ids[] = {
>   	{ }
>   };
>
> +/* Put a number before 'efi' to provide a default ordering */
>   U_BOOT_DRIVER(bootmeth_4efi) = {
>   	.name		= "bootmeth_efi",
>   	.id		= UCLASS_BOOTMETH,
> diff --git a/boot/bootmeth_extlinux.c b/boot/bootmeth_extlinux.c
> index 9b55686948f..fbb05ef928e 100644
> --- a/boot/bootmeth_extlinux.c
> +++ b/boot/bootmeth_extlinux.c
> @@ -183,7 +183,7 @@ static const struct udevice_id extlinux_bootmeth_ids[] = {
>   	{ }
>   };
>
> -/* Put an number before 'extlinux' to provide a default ordering */
> +/* Put a number before 'extlinux' to provide a default ordering */
>   U_BOOT_DRIVER(bootmeth_1extlinux) = {
>   	.name		= "bootmeth_extlinux",
>   	.id		= UCLASS_BOOTMETH,
> diff --git a/boot/bootmeth_script.c b/boot/bootmeth_script.c
> index 0e05d28d4d9..24da47c7259 100644
> --- a/boot/bootmeth_script.c
> +++ b/boot/bootmeth_script.c
> @@ -250,7 +250,7 @@ static const struct udevice_id script_bootmeth_ids[] = {
>   	{ }
>   };
>
> -/* Put an number before 'script' to provide a default ordering */
> +/* Put a number before 'script' to provide a default ordering */
>   U_BOOT_DRIVER(bootmeth_2script) = {
>   	.name		= "bootmeth_script",
>   	.id		= UCLASS_BOOTMETH,



More information about the U-Boot mailing list