summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-bcm/kona.h
diff options
context:
space:
mode:
authorMarkus Mayer <markus.mayer@linaro.org>2014-02-25 14:17:43 -0800
committerMatt Porter <mporter@linaro.org>2014-03-06 03:17:59 -0500
commit8b1c342629ecf7c2c52600dbe626d74cffc8d6cc (patch)
tree8127124f28d8b4bea739c64d06c613bef9df3fd5 /arch/arm/mach-bcm/kona.h
parent9c6423aa7e32c74f7992c0428d8456373a5c48a8 (diff)
downloadop-kernel-dev-8b1c342629ecf7c2c52600dbe626d74cffc8d6cc.zip
op-kernel-dev-8b1c342629ecf7c2c52600dbe626d74cffc8d6cc.tar.gz
ARM: bcm281xx: Move kona_l2_cache_init() so it can be shared
In preparation for future SoCs, move kona_l2_cache_init() from board specific board_bcm281xx.c to shared kona.c, so multiple SoC families can make use of it. Also change the return type to "void", since we never look at the return code anyway. Signed-off-by: Markus Mayer <markus.mayer@linaro.org> Signed-off-by: Matt Porter <mporter@linaro.org>
Diffstat (limited to 'arch/arm/mach-bcm/kona.h')
-rw-r--r--arch/arm/mach-bcm/kona.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/mach-bcm/kona.h b/arch/arm/mach-bcm/kona.h
index 291eca3..f42aef8 100644
--- a/arch/arm/mach-bcm/kona.h
+++ b/arch/arm/mach-bcm/kona.h
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2013 Broadcom Corporation
+ * 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
@@ -13,5 +13,6 @@
#include <linux/reboot.h>
+void __init kona_l2_cache_init(void);
void bcm_kona_setup_restart(void);
void bcm_kona_restart(enum reboot_mode mode, const char *cmd);
OpenPOWER on IntegriCloud