]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
board: ls2080ardb: use default scan_dev_for_boot
authorMian Yousaf Kaukab <ykaukab@suse.de>
Tue, 29 Jan 2019 15:38:35 +0000 (16:38 +0100)
committerPrabhakar Kushwaha <prabhakar.kushwaha@nxp.com>
Sun, 3 Mar 2019 15:26:00 +0000 (20:56 +0530)
Default environment variable is more complete. Also scans for efi
binaries for example.

Signed-off-by: Mian Yousaf Kaukab <ykaukab@suse.de>
Reviewed-by: Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com>
include/configs/ls2080ardb.h

index d3d759533d561fb16ef27524cee6cc05e645ab89..7308d72e5ddf1592bd4a8faec19f6e914ff2a0ad 100644 (file)
@@ -429,12 +429,6 @@ unsigned long get_board_sys_clk(void);
                                "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}; "    \
@@ -498,12 +492,6 @@ unsigned long get_board_sys_clk(void);
                                "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}; "    \