aboutsummaryrefslogtreecommitdiff
path: root/boot
diff options
context:
space:
mode:
authorBin Meng2023-08-03 17:30:05 +0800
committerHeinrich Schuchardt2023-08-15 18:21:17 +0200
commit6072703dc9ac52c644fd6d1a80ee16f91bbd0313 (patch)
tree30dd311bd3d828118dba754f5ffe0b9c41d52874 /boot
parent5aae021c30940a57862c1ea6a3cf8eeb88ca2c1c (diff)
bootmeth: efi: Make distro_efi_boot() static
As it is only called in bootmeth_efi.c Signed-off-by: Bin Meng <bmeng@tinylab.org> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Diffstat (limited to 'boot')
-rw-r--r--boot/bootmeth_efi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/boot/bootmeth_efi.c b/boot/bootmeth_efi.c
index 1c9f2b1e2fe..ae936c8daa1 100644
--- a/boot/bootmeth_efi.c
+++ b/boot/bootmeth_efi.c
@@ -409,7 +409,7 @@ static int distro_efi_read_bootflow(struct udevice *dev, struct bootflow *bflow)
return 0;
}
-int distro_efi_boot(struct udevice *dev, struct bootflow *bflow)
+static int distro_efi_boot(struct udevice *dev, struct bootflow *bflow)
{
ulong kernel, fdt;
char cmd[50];