summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--arch/arm/mach-k3/common.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/arch/arm/mach-k3/common.c b/arch/arm/mach-k3/common.c
index 77e1ed9419..e4a825365c 100644
--- a/arch/arm/mach-k3/common.c
+++ b/arch/arm/mach-k3/common.c
@@ -628,8 +628,10 @@ int misc_init_r(void)
}
/* Default FIT boot on non-GP devices */
- if (get_device_type() != K3_DEVICE_TYPE_GP)
- env_set("boot_fit", "1");
+ if (get_device_type() != K3_DEVICE_TYPE_GP) {
+ if (!env_get("boot_fit"))
+ env_set("boot_fit", "1");
+ }
return 0;
}