summaryrefslogtreecommitdiff
path: root/include/configs/ti_omap4_common.h
diff options
context:
space:
mode:
authorLokesh Vutla <lokeshvutla@ti.com>2016-11-29 11:58:00 +0530
committerTom Rini <trini@konsulko.com>2016-12-03 13:21:08 -0500
commit1e93cc8473e4fe018aececc8ed3bf8fc2b3ff561 (patch)
tree8bbca72f5ead00d6436a2ff60e857e8504b09783 /include/configs/ti_omap4_common.h
parent2a77788439ab08409d449fe08419f3a0e3709a3a (diff)
ti_armv7_common: env: Add support for loading FIT images
FIT is a new image format which is a Tree like structure and gives more flexibility in handling of various images. Mainly used for unification of multiple images in a single blob and provide security information for each image. U-Boot already has support for loading such images, so adding the environment support to load FIT image on all TI platforms. Reviewed-by: Andrew F. Davis <afd@ti.com> Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'include/configs/ti_omap4_common.h')
-rw-r--r--include/configs/ti_omap4_common.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/configs/ti_omap4_common.h b/include/configs/ti_omap4_common.h
index ce9d3e8883..8e0f9eb964 100644
--- a/include/configs/ti_omap4_common.h
+++ b/include/configs/ti_omap4_common.h
@@ -98,6 +98,9 @@
func(DHCP, dhcp, na)
#define CONFIG_BOOTCOMMAND \
+ "if test ${boot_fit} -eq 1; then " \
+ "run update_to_fit;" \
+ "fi;" \
"run findfdt; " \
"run envboot; " \
"run distro_bootcmd"
@@ -107,6 +110,7 @@
#define CONFIG_EXTRA_ENV_SETTINGS \
DEFAULT_LINUX_BOOT_ENV \
DEFAULT_MMC_TI_ARGS \
+ DEFAULT_FIT_TI_ARGS \
"console=ttyO2,115200n8\0" \
"fdtfile=undefined\0" \
"bootpart=0:2\0" \