efi_loader: Fix typo in distro script
authorAlexander Graf <agraf@suse.de>
Wed, 22 Jun 2016 23:15:38 +0000 (01:15 +0200)
committerTom Rini <trini@konsulko.com>
Fri, 24 Jun 2016 21:24:41 +0000 (17:24 -0400)
The distro script is supposed to use the internal fdt as fallback if we
find no viable other option. However, we're missing a space key to actually
make that work.

Add the space, so we can successfully load an EFI blob even when there is
no device tree provided on the target device.

Signed-off-by: Alexander Graf <agraf@suse.de>
include/config_distro_bootcmd.h

index 4db6faa7bb8038535f6ceda1409a545966df5f14..9ecaf38a3300c3efd68e3f00f353b91c4dbe14f2 100644 (file)
                        "${kernel_addr_r} efi/boot/"BOOTEFI_NAME"; "      \
                "if fdt addr ${fdt_addr_r}; then "                        \
                        "bootefi ${kernel_addr_r} ${fdt_addr_r};"         \
-               "else"                                                    \
+               "else "                                                    \
                        "bootefi ${kernel_addr_r} ${fdtcontroladdr};"     \
                "fi\0"                                                    \
        \