]> git.ipfire.org Git - people/ms/u-boot.git/commitdiff
ARM: DRA7: Make FIT boot as default boot on HS devices
authorLokesh Vutla <lokeshvutla@ti.com>
Tue, 29 Nov 2016 06:28:01 +0000 (11:58 +0530)
committerTom Rini <trini@konsulko.com>
Sat, 3 Dec 2016 18:21:08 +0000 (13:21 -0500)
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>
board/ti/dra7xx/evm.c

index 3c168467353f44ce05179dc9047a01ee4de06e43..0490fd545273061603ea3500bac58e0c8b9ae79e 100644 (file)
@@ -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;