summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeng Fan <peng.fan@nxp.com>2017-12-08 13:12:25 +0800
committerYe Li <ye.li@nxp.com>2018-04-27 06:14:56 -0700
commit829ddc53f60cd56102af35b73c21187de7edb97f (patch)
tree5c015ef7a29ad73376602eda81cc9dc3f2f21fed
parent82a0b53092cdc0b025749f4d8f1cdfcc66e07db7 (diff)
MLK-17123 imx: fix mfgtool bootcmd
Fix mfgtool bootcmd error Signed-off-by: Peng Fan <peng.fan@nxp.com> (cherry picked from commit 2604fd8bdcd0c36d17899b01f370fd4507cea33e)
-rw-r--r--include/configs/mx6_common.h3
-rw-r--r--include/configs/mx7_common.h3
-rw-r--r--include/configs/mx7ulp_evk.h3
3 files changed, 9 insertions, 0 deletions
diff --git a/include/configs/mx6_common.h b/include/configs/mx6_common.h
index eecc336286..c5b9bfc143 100644
--- a/include/configs/mx6_common.h
+++ b/include/configs/mx6_common.h
@@ -86,5 +86,8 @@
#ifdef CONFIG_IMX_OPTEE
#define CONFIG_SYS_MEM_TOP_HIDE SZ_32M
+#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 6d187543a9..a17b8df788 100644
--- a/include/configs/mx7_common.h
+++ b/include/configs/mx7_common.h
@@ -65,5 +65,8 @@
#ifdef CONFIG_IMX_OPTEE
#define CONFIG_SYS_MEM_TOP_HIDE SZ_32M
+#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 c1c627026d..0a98bdfaed 100644
--- a/include/configs/mx7ulp_evk.h
+++ b/include/configs/mx7ulp_evk.h
@@ -247,5 +247,8 @@
#ifdef CONFIG_IMX_OPTEE
#define CONFIG_SYS_MEM_TOP_HIDE SZ_32M
+#define TEE_ENV "tee=yes\0"
+#else
+#define TEE_ENV "tee=no\0"
#endif
#endif /* __CONFIG_H */