summaryrefslogtreecommitdiff
path: root/arch/arm/mach-bcm/kona_l2_cache.h
diff options
context:
space:
mode:
authorAlex Elder <elder@linaro.org>2014-04-22 01:53:11 +0400
committerMatt Porter <mporter@linaro.org>2014-04-25 16:51:38 +0400
commiteeda4cb92ee0fb63a5917738e107b0bc8168079e (patch)
treed672efde52524122bf0b3a6b278e8d0935ff42cb /arch/arm/mach-bcm/kona_l2_cache.h
parented24f446ab82e3f39c4a45357186ca76368301e4 (diff)
downloadlinux-eeda4cb92ee0fb63a5917738e107b0bc8168079e.tar.xz
ARM: bcm: rename "kona.h" and "kona.c"
These source files contain only level-2 cache initialization code, so rename them to make that fact more obvious. Signed-off-by: Alex Elder <elder@linaro.org> Reviewed-by: Tim Kryger <tim.kryger@linaro.org> Reviewed-by: Markus Mayer <markus.mayer@linaro.org> Reviewed-by: Matt Porter <mporter@linaro.org> Signed-off-by: Matt Porter <mporter@linaro.org>
Diffstat (limited to 'arch/arm/mach-bcm/kona_l2_cache.h')
-rw-r--r--arch/arm/mach-bcm/kona_l2_cache.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/arch/arm/mach-bcm/kona_l2_cache.h b/arch/arm/mach-bcm/kona_l2_cache.h
new file mode 100644
index 000000000000..46f84a95ab1c
--- /dev/null
+++ b/arch/arm/mach-bcm/kona_l2_cache.h
@@ -0,0 +1,18 @@
+/*
+ * Copyright (C) 2012-2014 Broadcom Corporation
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License as
+ * published by the Free Software Foundation version 2.
+ *
+ * This program is distributed "as is" WITHOUT ANY WARRANTY of any
+ * kind, whether express or implied; without even the implied warranty
+ * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ */
+
+#ifdef CONFIG_ARCH_BCM_MOBILE_L2_CACHE
+void kona_l2_cache_init(void);
+#else
+#define kona_l2_cache_init() ((void)0)
+#endif