]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
apalis_imx6: remove legacy sdboot wrapper
authorIgor Opaniuk <igor.opaniuk@toradex.com>
Fri, 11 Oct 2019 09:57:06 +0000 (12:57 +0300)
committerStefano Babic <sbabic@denx.de>
Sun, 13 Oct 2019 20:49:12 +0000 (22:49 +0200)
Remove legacy sdboot wrapper as distroboot can be used instead.

Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
include/configs/apalis_imx6.h

index 5139b01ab3a87f5026dc649284038c3fe95c389b..a5f9a96732fd5ea4fa510f5515739d9fb87d5346 100644 (file)
        "nfsdtbload=setenv dtbparam; tftp ${fdt_addr_r} ${fdt_file} " \
                "&& setenv dtbparam \" - ${fdt_addr_r}\" && true\0"
 
-#define SD_BOOTCMD \
-       "set_sdargs=setenv sdargs ip=off root=PARTUUID=${uuid} ro,noatime " \
-               "rootfstype=ext4 rootwait\0" \
-       "sdboot=run setup; run sdfinduuid; run set_sdargs; " \
-               "setenv bootargs ${defargs} ${sdargs} ${setupargs} " \
-               "${vidargs}; echo Booting from SD card; " \
-               "run sddtbload; load mmc ${sddev}:${sdbootpart} " \
-               "${kernel_addr_r} ${boot_file} && run fdt_fixup && " \
-               "bootz ${kernel_addr_r} ${dtbparam}\0" \
-       "sdbootpart=1\0" \
-       "sddev=1\0" \
-       "sddtbload=setenv dtbparam; load mmc ${sddev}:${sdbootpart} " \
-               "${fdt_addr_r} " \
-               "${fdt_file} && setenv dtbparam \" - " \
-               "${fdt_addr_r}\" && true\0" \
-       "sdfinduuid=part uuid mmc ${sddev}:${sdrootpart} uuid\0" \
-       "sdrootpart=2\0"
-
 #ifndef CONFIG_TDX_APALIS_IMX6_V1_0
 #define FDT_FILE "imx6q-apalis-eval.dtb"
 #define FDT_FILE_V1_0 "imx6q-apalis_v1_0-eval.dtb"
        "fdt_fixup=;\0" \
        MEM_LAYOUT_ENV_SETTINGS \
        NFS_BOOTCMD \
-       SD_BOOTCMD \
        "setethupdate=if env exists ethaddr; then; else setenv ethaddr " \
                "00:14:2d:00:00:00; fi; tftpboot ${loadaddr} " \
                "flash_eth.img && source ${loadaddr}\0" \