summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeng Fan <peng.fan@nxp.com>2017-11-10 12:52:49 +0800
committerYe Li <ye.li@nxp.com>2018-04-27 06:14:52 -0700
commitbbe998bf141d839796f7bedda3ea68071293d26b (patch)
tree924b06dc160dd29bd3d89075f806bc4c064925d1
parentbda0f36309e7752bf6c78d71473cc5cf7f8f58c1 (diff)
MLK-16753-3 imx: reserve the high 32M
To i.MX6/7, the high 32M is reserved for OP-TEE case. Signed-off-by: Peng Fan <peng.fan@nxp.com> (cherry picked from commit 8c18f98f8fad688c15627655ff9e724dd300767b)
-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 c2fbbcacde..eecc336286 100644
--- a/include/configs/mx6_common.h
+++ b/include/configs/mx6_common.h
@@ -84,4 +84,7 @@
#endif
#endif
+#ifdef CONFIG_IMX_OPTEE
+#define CONFIG_SYS_MEM_TOP_HIDE SZ_32M
+#endif
#endif
diff --git a/include/configs/mx7_common.h b/include/configs/mx7_common.h
index 90cd9a1092..6d187543a9 100644
--- a/include/configs/mx7_common.h
+++ b/include/configs/mx7_common.h
@@ -63,4 +63,7 @@
#define CONFIG_CSF_SIZE 0x4000
#endif
+#ifdef CONFIG_IMX_OPTEE
+#define CONFIG_SYS_MEM_TOP_HIDE SZ_32M
+#endif
#endif
diff --git a/include/configs/mx7ulp_evk.h b/include/configs/mx7ulp_evk.h
index dce65cd3ea..ee025898d9 100644
--- a/include/configs/mx7ulp_evk.h
+++ b/include/configs/mx7ulp_evk.h
@@ -227,4 +227,7 @@
#define CONFIG_OF_SYSTEM_SETUP
+#ifdef CONFIG_IMX_OPTEE
+#define CONFIG_SYS_MEM_TOP_HIDE SZ_32M
+#endif
#endif /* __CONFIG_H */