summaryrefslogtreecommitdiff
path: root/board/ti/dra7xx
diff options
context:
space:
mode:
authorLokesh Vutla <lokeshvutla@ti.com>2016-11-29 06:28:01 (GMT)
committerTom Rini <trini@konsulko.com>2016-12-03 18:21:08 (GMT)
commit71c1b58e89d8c2025917d46a4b3bc57979f85070 (patch)
tree1cbe37ed1d2311ea93cd839f3fb1c93188f1fb75 /board/ti/dra7xx
parent1e93cc8473e4fe018aececc8ed3bf8fc2b3ff561 (diff)
downloadu-boot-71c1b58e89d8c2025917d46a4b3bc57979f85070.tar.xz
ARM: DRA7: Make FIT boot as default boot on HS devices
Verification has to be done before booting any images on HS devices. So default the boot to FIT on HS devices. Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'board/ti/dra7xx')
-rw-r--r--board/ti/dra7xx/evm.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/board/ti/dra7xx/evm.c b/board/ti/dra7xx/evm.c
index 3c16846..0490fd5 100644
--- a/board/ti/dra7xx/evm.c
+++ b/board/ti/dra7xx/evm.c
@@ -426,6 +426,13 @@ int board_late_init(void)
set_board_info_env(name);
+ /*
+ * Default FIT boot on HS devices. Non FIT images are not allowed
+ * on HS devices.
+ */
+ if (get_device_type() == HS_DEVICE)
+ setenv("boot_fit", "1");
+
omap_die_id_serial();
#endif
return 0;