arm: mach-k3: common: Default to non fitImage boot on HS-FS

Allow non fitImage bootflow on Field Securable (HS-FS) devices in
addition to GP, force fitImage boot only on Security enforced (HS-SE)
devices where signed images are necessary to maintain chain of trust.

Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
Reviewed-by: Kamlesh Gurudasani <kamlesh@ti.com>
This commit is contained in:
Vignesh Raghavendra 2023-04-20 21:42:21 +05:30 committed by Tom Rini
parent 0e889a7c1b
commit fdb051ba3f

View file

@ -641,8 +641,8 @@ int misc_init_r(void)
printf("Failed to probe am65_cpsw_nuss driver\n"); printf("Failed to probe am65_cpsw_nuss driver\n");
} }
/* Default FIT boot on non-GP devices */ /* Default FIT boot on HS-SE devices */
if (get_device_type() != K3_DEVICE_TYPE_GP) if (get_device_type() == K3_DEVICE_TYPE_HS_SE)
env_set("boot_fit", "1"); env_set("boot_fit", "1");
return 0; return 0;