summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/configs/mx6_common.h5
-rw-r--r--include/configs/mx7_common.h6
-rw-r--r--include/configs/mx7ulp_evk.h5
3 files changed, 16 insertions, 0 deletions
diff --git a/include/configs/mx6_common.h b/include/configs/mx6_common.h
index d2fff267c9a..fea1b7f8314 100644
--- a/include/configs/mx6_common.h
+++ b/include/configs/mx6_common.h
@@ -64,4 +64,9 @@
#define CONFIG_SPL_DRIVERS_MISC_SUPPORT
#endif
+#ifdef CONFIG_IMX_OPTEE
+#define TEE_ENV "tee=yes\0"
+#else
+#define TEE_ENV "tee=no\0"
+#endif
#endif
diff --git a/include/configs/mx7_common.h b/include/configs/mx7_common.h
index 3792498eea6..a3a779a8d8b 100644
--- a/include/configs/mx7_common.h
+++ b/include/configs/mx7_common.h
@@ -61,4 +61,10 @@
#endif
#endif
+#ifdef CONFIG_IMX_OPTEE
+#define TEE_ENV "tee=yes\0"
+#else
+#define TEE_ENV "tee=no\0"
+#endif
+
#endif
diff --git a/include/configs/mx7ulp_evk.h b/include/configs/mx7ulp_evk.h
index ce64dcae181..497653f024a 100644
--- a/include/configs/mx7ulp_evk.h
+++ b/include/configs/mx7ulp_evk.h
@@ -161,4 +161,9 @@
/* USB Configs */
#define CONFIG_MXC_USB_PORTSC (PORT_PTS_UTMI | PORT_PTS_PTW)
+#ifdef CONFIG_IMX_OPTEE
+#define TEE_ENV "tee=yes\0"
+#else
+#define TEE_ENV "tee=no\0"
+#endif
#endif /* __CONFIG_H */