[PATCH] ls1028a: fix EFI boot
Mian Yousaf Kaukab
ykaukab at suse.de
Tue Jul 21 16:33:54 CEST 2020
scan_dev_for_efi is supposed to be called from scan_dev_for_boot.
However this call is missing for ls1028ardb and ls1028aqds boards. As
a result EFI boot doesn’t work. Fix this issue by adding
scan_dev_for_efi call.
Signed-off-by: Mian Yousaf Kaukab <ykaukab at suse.de>
---
include/configs/ls1028aqds.h | 1 +
include/configs/ls1028ardb.h | 1 +
2 files changed, 2 insertions(+)
diff --git a/include/configs/ls1028aqds.h b/include/configs/ls1028aqds.h
index 7bb740f48e36..3d622002ebca 100644
--- a/include/configs/ls1028aqds.h
+++ b/include/configs/ls1028aqds.h
@@ -135,6 +135,7 @@
"for prefix in ${boot_prefixes}; do " \
"run scan_dev_for_scripts; " \
"done;" \
+ SCAN_DEV_FOR_EFI \
"\0" \
"boot_a_script=" \
"load ${devtype} ${devnum}:${distro_bootpart} " \
diff --git a/include/configs/ls1028ardb.h b/include/configs/ls1028ardb.h
index 07450113269c..0064c1dcc01a 100644
--- a/include/configs/ls1028ardb.h
+++ b/include/configs/ls1028ardb.h
@@ -118,6 +118,7 @@
"for prefix in ${boot_prefixes}; do " \
"run scan_dev_for_scripts; " \
"done;" \
+ SCAN_DEV_FOR_EFI \
"\0" \
"boot_a_script=" \
"load ${devtype} ${devnum}:${distro_bootpart} " \
--
2.26.2
More information about the U-Boot
mailing list