arm: mach-k3: common: Set boot_fit on non-GP devices

This matches what we did for pre-K3 devices. This allows us to build
boot commands that can check for our device type at runtime.

Signed-off-by: Andrew Davis <afd@ti.com>
This commit is contained in:
Andrew Davis authored and Tom Rini committed 2022-10-18 13:40:40 -04:00
1 parent 28ba10074b
commit fc95f83ec9
1 file changed
+4
+4
View File
@@ -606,5 +606,9 @@ int misc_init_r(void)
printf("Failed to probe am65_cpsw_nuss driver\n");
}
/* Default FIT boot on non-GP devices */
if (get_device_type() != K3_DEVICE_TYPE_GP)
env_set("boot_fit", "1");
return 0;
}