summaryrefslogtreecommitdiff
path: root/arch/arm/mach-k3/common.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-k3/common.c')
-rw-r--r--arch/arm/mach-k3/common.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/arch/arm/mach-k3/common.c b/arch/arm/mach-k3/common.c
index 77e1ed9419..bd4086bb04 100644
--- a/arch/arm/mach-k3/common.c
+++ b/arch/arm/mach-k3/common.c
@@ -627,9 +627,11 @@ 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");
+ /* Default FIT boot on HS-SE devices */
+ if (get_device_type() == K3_DEVICE_TYPE_HS_SE) {
+ if (!env_get("boot_fit"))
+ env_set("boot_fit", "1");
+ }
return 0;
}