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 removing custom
definition of scan_dev_for_boot and use the default definition
instead.

Signed-off-by: Mian Yousaf Kaukab <ykau...@suse.de>
---
Change-log:
 v2: -Rename. was: ls1028a: fix EFI boot
      
https://patchwork.ozlabs.org/project/uboot/patch/20200721143354.14382-1-ykau...@suse.de/
     -Remove custom definition of scan_dev_for_boot

 include/configs/ls1028aqds.h | 7 -------
 include/configs/ls1028ardb.h | 7 -------
 2 files changed, 14 deletions(-)

diff --git a/include/configs/ls1028aqds.h b/include/configs/ls1028aqds.h
index 7bb740f48e36..8ab943cc640a 100644
--- a/include/configs/ls1028aqds.h
+++ b/include/configs/ls1028aqds.h
@@ -129,13 +129,6 @@
                        "run scan_dev_for_boot; " \
                  "fi; " \
                "done\0" \
-       "scan_dev_for_boot=" \
-               "echo Scanning ${devtype} " \
-                               "${devnum}:${distro_bootpart}...; " \
-               "for prefix in ${boot_prefixes}; do " \
-                       "run scan_dev_for_scripts; " \
-               "done;" \
-               "\0" \
        "boot_a_script=" \
                "load ${devtype} ${devnum}:${distro_bootpart} " \
                        "${scriptaddr} ${prefix}${script}; " \
diff --git a/include/configs/ls1028ardb.h b/include/configs/ls1028ardb.h
index 07450113269c..3c9358ca4b7a 100644
--- a/include/configs/ls1028ardb.h
+++ b/include/configs/ls1028ardb.h
@@ -112,13 +112,6 @@
                        "run scan_dev_for_boot; "            \
                  "fi; "                                   \
                "done\0"                                   \
-       "scan_dev_for_boot="                              \
-               "echo Scanning ${devtype} "               \
-                               "${devnum}:${distro_bootpart}...; "  \
-               "for prefix in ${boot_prefixes}; do "     \
-                       "run scan_dev_for_scripts; "      \
-               "done;"                                   \
-               "\0"                                      \
        "boot_a_script="                                  \
                "load ${devtype} ${devnum}:${distro_bootpart} "  \
                        "${scriptaddr} ${prefix}${script}; "    \
-- 
2.26.2

Reply via email to