summaryrefslogtreecommitdiff
path: root/include/configs/mccmon6.h
diff options
context:
space:
mode:
authorLukasz Majewski <lukma@denx.de>2017-03-27 15:38:46 +0200
committerStefano Babic <sbabic@denx.de>2017-04-12 17:48:45 +0200
commit5b8299e320233bcc792fdd685cab934e6e927f59 (patch)
treec4e13092640e916b00bed01b6b407467d1baa578 /include/configs/mccmon6.h
parent2a4058c24061f66ac17f8bff10656a35a91ff66b (diff)
MCCMON6: defconfig: Add tftp_nor_dtb command for NOR DTB update
Signed-off-by: Lukasz Majewski <lukma@denx.de>
Diffstat (limited to 'include/configs/mccmon6.h')
-rw-r--r--include/configs/mccmon6.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/configs/mccmon6.h b/include/configs/mccmon6.h
index 7bda977c97..9e5c29f92f 100644
--- a/include/configs/mccmon6.h
+++ b/include/configs/mccmon6.h
@@ -265,6 +265,14 @@
"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 " \