summaryrefslogtreecommitdiff
path: root/include/plat/common/common_def.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/plat/common/common_def.h')
-rw-r--r--include/plat/common/common_def.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/plat/common/common_def.h b/include/plat/common/common_def.h
index 8f50622f..65f31e7f 100644
--- a/include/plat/common/common_def.h
+++ b/include/plat/common/common_def.h
@@ -137,4 +137,14 @@
#define BL1_RO_DATA_END 0
#endif /* SEPARATE_CODE_AND_RODATA */
+/*
+ * The next 2 constants identify the extents of the coherent memory region.
+ * These addresses are used by the MMU setup code and therefore they must be
+ * page-aligned. It is the responsibility of the linker script to ensure that
+ * __COHERENT_RAM_START__ and __COHERENT_RAM_END__ linker symbols refer to
+ * page-aligned addresses.
+ */
+#define BL_COHERENT_RAM_BASE (unsigned long)(&__COHERENT_RAM_START__)
+#define BL_COHERENT_RAM_END (unsigned long)(&__COHERENT_RAM_END__)
+
#endif /* __COMMON_DEF_H__ */