[U-Boot] [PATCH] MCCMON6: defconfig: Add tftp_nor_dtb command for NOR DTB update
Lukasz Majewski
lukma at denx.de
Mon Mar 27 13:38:46 UTC 2017
Signed-off-by: Lukasz Majewski <lukma at 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 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 " \
--
2.1.4
More information about the U-Boot
mailing list