bootstd: Tidy up comments on the boothmeth drivers
authorSimon Glass <sjg@chromium.org>
Wed, 17 Jul 2024 08:30:59 +0000 (09:30 +0100)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Fri, 19 Jul 2024 11:57:47 +0000 (13:57 +0200)
Fix a typo in the comment and add one to the EFI driver too.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
Reviewed-by: Mattijs Korpershoek <mkorpershoek@baylibre.com>
boot/bootmeth_efi.c
boot/bootmeth_extlinux.c
boot/bootmeth_script.c

index 5a4c125..56a6e47 100644 (file)
@@ -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,
index 9b55686..fbb05ef 100644 (file)
@@ -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,
index 0e05d28..24da47c 100644 (file)
@@ -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,