summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/configs/warp7.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/configs/warp7.h b/include/configs/warp7.h
index f185663791..d5f46ead9a 100644
--- a/include/configs/warp7.h
+++ b/include/configs/warp7.h
@@ -41,9 +41,17 @@
#define CONFIG_DFU_ENV_SETTINGS \
"dfu_alt_info=boot raw 0x2 0x400 mmcpart 1\0" \
+/* When booting with FIT specify the node entry containing boot.scr */
+#if defined(CONFIG_FIT)
+#define BOOT_SCR_STRING "source ${bootscriptaddr}:${bootscr_fitimage_name}\0"
+#else
+#define BOOT_SCR_STRING "source ${bootscriptaddr}\0"
+#endif
+
#define CONFIG_EXTRA_ENV_SETTINGS \
CONFIG_DFU_ENV_SETTINGS \
"script=boot.scr\0" \
+ "bootscr_fitimage_name=bootscr\0" \
"script_signed=boot.scr.imx-signed\0" \
"bootscriptaddr=0x83200000\0" \
"image=zImage\0" \