From 5b8299e320233bcc792fdd685cab934e6e927f59 Mon Sep 17 00:00:00 2001
From: Lukasz Majewski <lukma@denx.de>
Date: Mon, 27 Mar 2017 15:38:46 +0200
Subject: [PATCH] MCCMON6: defconfig: Add tftp_nor_dtb command for NOR DTB
 update

Signed-off-by: Lukasz Majewski <lukma@denx.de>
---
 include/configs/mccmon6.h | 8 ++++++++
 1 file changed, 8 insertions(+)

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 " \
-- 
2.39.5