From 71c1b58e89d8c2025917d46a4b3bc57979f85070 Mon Sep 17 00:00:00 2001 From: Lokesh Vutla Date: Tue, 29 Nov 2016 11:58:01 +0530 Subject: 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 Reviewed-by: Tom Rini --- board/ti/dra7xx/evm.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'board') 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; -- cgit v1.1