diff options
Diffstat (limited to 'include/configs/warp7.h')
-rw-r--r-- | include/configs/warp7.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/configs/warp7.h b/include/configs/warp7.h index 8ceaa0c6c60..f5449b0c792 100644 --- a/include/configs/warp7.h +++ b/include/configs/warp7.h @@ -27,9 +27,17 @@ #define CONFIG_DFU_ENV_SETTINGS \ "dfu_alt_info=boot raw 0x2 0x1000 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" \ "image=zImage\0" \ "console=ttymxc0\0" \ |