[U-Boot] [PATCH 3/5] ARM: DRA7: Make FIT boot as default boot on HS devices

Lokesh Vutla lokeshvutla at ti.com
Tue Nov 29 07:28:01 CET 2016


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 at ti.com>
---
 board/ti/dra7xx/evm.c | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/board/ti/dra7xx/evm.c b/board/ti/dra7xx/evm.c
index 6d352e6..f932ae9 100644
--- a/board/ti/dra7xx/evm.c
+++ b/board/ti/dra7xx/evm.c
@@ -530,6 +530,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;
-- 
2.10.1



More information about the U-Boot mailing list