]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
board: ls1046a: use default scan_dev_for_boot
authorMian Yousaf Kaukab <ykaukab@suse.de>
Tue, 29 Jan 2019 15:38:38 +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/ls1046a_common.h

index 560ac1d13dd8b997663afc0da2a5bd86316835e1..d9fcd3af5efaf4766c433c59a9b871e4c1360826 100644 (file)
                        "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}; "    \