summaryrefslogtreecommitdiffstats
path: root/kernel/arch/arm/mm/tcm.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/arch/arm/mm/tcm.h')
-rw-r--r--kernel/arch/arm/mm/tcm.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/kernel/arch/arm/mm/tcm.h b/kernel/arch/arm/mm/tcm.h
new file mode 100644
index 000000000..8015ad434
--- /dev/null
+++ b/kernel/arch/arm/mm/tcm.h
@@ -0,0 +1,17 @@
+/*
+ * Copyright (C) 2008-2009 ST-Ericsson AB
+ * License terms: GNU General Public License (GPL) version 2
+ * TCM memory handling for ARM systems
+ *
+ * Author: Linus Walleij <linus.walleij@stericsson.com>
+ * Author: Rickard Andersson <rickard.andersson@stericsson.com>
+ */
+
+#ifdef CONFIG_HAVE_TCM
+void __init tcm_init(void);
+#else
+/* No TCM support, just blank inlines to be optimized out */
+inline void tcm_init(void)
+{
+}
+#endif