diff mbox

[U-Boot] MCCMON6: defconfig: Add tftp_nor_dtb command for NOR DTB update

Message ID 1490621926-3037-1-git-send-email-lukma@denx.de
State Accepted
Commit 5b8299e320233bcc792fdd685cab934e6e927f59
Delegated to: Stefano Babic
Headers show

Commit Message

Lukasz Majewski March 27, 2017, 1:38 p.m. UTC
Signed-off-by: Lukasz Majewski <lukma@denx.de>
---
 include/configs/mccmon6.h | 8 ++++++++
 1 file changed, 8 insertions(+)
diff mbox

Patch

diff --git a/include/configs/mccmon6.h b/include/configs/mccmon6.h
index 8c72455..46ca32e 100644
--- a/include/configs/mccmon6.h
+++ b/include/configs/mccmon6.h
@@ -270,6 +270,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 " \