board: lx2160a: use default scan_dev_for_boot
authorMian Yousaf Kaukab <ykaukab@suse.de>
Thu, 23 May 2019 08:57:34 +0000 (10:57 +0200)
committerPrabhakar Kushwaha <prabhakar.kushwaha@nxp.com>
Wed, 19 Jun 2019 07:24:57 +0000 (12:54 +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/lx2160a_common.h

index eb0b1766aa717b7e9f813f730d70de0fd99eaced..711b434baff27a909ba48fa95a0907a2a618aa73 100644 (file)
@@ -246,12 +246,6 @@ unsigned long get_board_ddr_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}; "    \