[U-Boot] [PATCH] distro: add more efi dtb prefixes

Guillaume GARDET guillaume.gardet at free.fr
Thu Jun 14 20:46:07 UTC 2018


As used on some distro, such as openSUSE.
Signed-off-by: Guillaume GARDET <guillaume.gardet at free.fr>

Cc: Tom Rini <trini at konsulko.com>
---
 include/config_distro_bootcmd.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/include/config_distro_bootcmd.h b/include/config_distro_bootcmd.h
index d672e8ebe6..ad4c7a78f1 100644
--- a/include/config_distro_bootcmd.h
+++ b/include/config_distro_bootcmd.h
@@ -141,7 +141,8 @@
 		"load ${devtype} ${devnum}:${distro_bootpart} "           \
 			"${fdt_addr_r} ${prefix}${efi_fdtfile}\0"         \
 	\
-	"efi_dtb_prefixes=/ /dtb/ /dtb/current/\0"                        \
+	"efi_dtb_prefixes=/ /dtb/ /dtb/current/ "                         \
+		"/boot/ /boot/dtb/ /boot/dtb/current/\0"                  \
 	"scan_dev_for_efi="                                               \
 		"setenv efi_fdtfile ${fdtfile}; "                         \
 		BOOTENV_EFI_SET_FDTFILE_FALLBACK                          \
-- 
2.17.1



More information about the U-Boot mailing list