]> git.ipfire.org Git - people/ms/u-boot.git/commitdiff
ARM: uniphier: do not erase when updating U-Boot image in eMMC device
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Tue, 7 Jun 2016 12:03:46 +0000 (21:03 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Wed, 8 Jun 2016 23:19:00 +0000 (08:19 +0900)
Unlike NAND, eMMC can be re-written without erasing.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
include/configs/uniphier.h

index 058ccd8d8e03585f796c73f9fe119156b38846ec..c826b200ba4915551a7c0aedad1826f8d048b412 100644 (file)
                "tftpboot $tmp_addr u-boot.bin\0"               \
        "emmcupdate=mmcsetn &&"                                 \
                "mmc partconf $mmc_first_dev 0 1 1 &&"          \
-               "mmc erase 0 800 &&"                            \
                "tftpboot u-boot-spl.bin &&"                    \
                "mmc write $loadaddr 0 80 &&"                   \
                "tftpboot u-boot.bin &&"                        \