Skip to contentSkip to conversation

efi_loader: Fix typo in distro script

PATCH In review Alexander Graf 2 participants 2 messages Jun 22, 2016 – Jun 25, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 include/config_distro_bootcmd.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/config_distro_bootcmd.h +1 -1
index 4db6faa..9ecaf38 100644
@@ -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"                                                    \
 	\
Signature · 1 line
1.8.5.6
#1 lore raw
Quoted 8 lines · Alexander Graf

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.

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160624/2f15ec61/attachment.sig>