summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Graf <agraf@suse.de>2016-06-23 01:15:38 +0200
committerTom Rini <trini@konsulko.com>2016-06-24 17:24:41 -0400
commitfba5f93c71902079f096549e886e4774334bc7ca (patch)
tree7e9034e5c14fff865f782cc3e229c242c81c283b
parenta4d799939fdb08ce4d7464578734316cdd0bf452 (diff)
efi_loader: Fix typo in distro script
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>
-rw-r--r--include/config_distro_bootcmd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/config_distro_bootcmd.h b/include/config_distro_bootcmd.h
index 4db6faa7bb..9ecaf38a33 100644
--- a/include/config_distro_bootcmd.h
+++ b/include/config_distro_bootcmd.h
@@ -120,7 +120,7 @@
"${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" \
\