]> git.sur5r.net Git - u-boot/commitdiff
MCCMON6: defconfig: Add tftp_nor_dtb command for NOR DTB update
authorLukasz Majewski <lukma@denx.de>
Mon, 27 Mar 2017 13:38:46 +0000 (15:38 +0200)
committerStefano Babic <sbabic@denx.de>
Wed, 12 Apr 2017 15:48:45 +0000 (17:48 +0200)
Signed-off-by: Lukasz Majewski <lukma@denx.de>
include/configs/mccmon6.h

index 7bda977c972f01ce931eaa088b88a1a2ebd5f0e5..9e5c29f92f2cf33273f7b57a77b3cce8c1310f78 100644 (file)
                "if tftpboot ${nor_img_addr} ${nor_img_file}; then " \
                    "run nor_update;" \
                "fi\0" \
+       "tftp_nor_dtb="\
+               "echo 'Update mccmon6 NOR DTB via TFTP'; " \
+               "setenv nor_img_file imx6q-mccmon6.dtb; " \
+               "setenv nor_img_size 0x20000; " \
+               "setenv nor_bank_start 0x09980000; " \
+               "if tftpboot ${nor_img_addr} ${nor_img_file}; then " \
+                   "run nor_update;" \
+               "fi\0" \
        "tftp_nor_img="\
                "echo 'Update mccmon6 NOR image via TFTP'; " \
                "if tftpboot ${nor_img_addr} ${nor_img_file}; then " \