MLK-17123 imx: add tee environment variable
authorYe Li <ye.li@nxp.com>
Thu, 9 May 2019 08:53:50 +0000 (01:53 -0700)
committerYe Li <ye.li@nxp.com>
Fri, 24 May 2019 11:28:48 +0000 (04:28 -0700)
Add tee environment variable to fix mfgtool/uuu bootcmd error

Signed-off-by: Peng Fan <peng.fan@nxp.com>
(cherry picked from commit 2604fd8bdcd0c36d17899b01f370fd4507cea33e)

Signed-off-by: Ye Li <ye.li@nxp.com>
(cherry picked from commit e8f86c28bdb867a2d020a02140722661ebbae467)

include/configs/mx6_common.h
include/configs/mx7_common.h
include/configs/mx7ulp_evk.h

index fc8388f..5431c07 100644 (file)
@@ -72,4 +72,9 @@
 #endif
 #endif
 
+#ifdef CONFIG_IMX_OPTEE
+#define TEE_ENV "tee=yes\0"
+#else
+#define TEE_ENV "tee=no\0"
+#endif
 #endif
index b598ac1..2068e38 100644 (file)
 #define CONFIG_SPL_DRIVERS_MISC_SUPPORT
 #endif
 #endif
+
+#ifdef CONFIG_IMX_OPTEE
+#define TEE_ENV "tee=yes\0"
+#else
+#define TEE_ENV "tee=no\0"
 #endif
 #endif
index 0caa77c..a5225e9 100644 (file)
 
 #define CONFIG_OF_SYSTEM_SETUP
 
+#ifdef CONFIG_IMX_OPTEE
+#define TEE_ENV "tee=yes\0"
+#else
+#define TEE_ENV "tee=no\0"
+#endif
 #endif /* __CONFIG_H */