board: ls1043a: use default scan_dev_for_boot
authorMian Yousaf Kaukab <ykaukab@suse.de>
Tue, 29 Jan 2019 15:38:41 +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: Ashish Kumar <Ashish.Kumar@nxp.com>
Reviewed-by: Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com>
include/configs/ls1043a_common.h

index 73b048b3e9893a24c534729e4baf60f0307166df..f7e7877414f657a65d8cc2bd9c73fce77cfa5eac 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}; "    \