From: Lokesh Vutla Date: Tue, 29 Nov 2016 06:28:01 +0000 (+0530) Subject: ARM: DRA7: Make FIT boot as default boot on HS devices X-Git-Tag: v2017.01-rc1~100 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=71c1b58e89d8c2025917d46a4b3bc57979f85070;p=u-boot 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 --- diff --git a/board/ti/dra7xx/evm.c b/board/ti/dra7xx/evm.c index 3c16846735..0490fd5452 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;